CN103761338A - Information inquiring method and terminal - Google Patents
Information inquiring method and terminal Download PDFInfo
- Publication number
- CN103761338A CN103761338A CN201410056805.8A CN201410056805A CN103761338A CN 103761338 A CN103761338 A CN 103761338A CN 201410056805 A CN201410056805 A CN 201410056805A CN 103761338 A CN103761338 A CN 103761338A
- Authority
- CN
- China
- Prior art keywords
- terminal
- electric weight
- described terminal
- low electric
- key message
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/07—Responding to the occurrence of a fault, e.g. fault tolerance
- G06F11/14—Error detection or correction of the data by redundancy in operation
- G06F11/1402—Saving, restoring, recovering or retrying
- G06F11/1415—Saving, restoring, recovering or retrying at system level
- G06F11/1441—Resetting or repowering
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/07—Responding to the occurrence of a fault, e.g. fault tolerance
- G06F11/14—Error detection or correction of the data by redundancy in operation
- G06F11/1402—Saving, restoring, recovering or retrying
- G06F11/1415—Saving, restoring, recovering or retrying at system level
- G06F11/1417—Boot up procedures
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/21—Design, administration or maintenance of databases
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/24—Querying
- G06F16/245—Query processing
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Databases & Information Systems (AREA)
- Data Mining & Analysis (AREA)
- Quality & Reliability (AREA)
- Computational Linguistics (AREA)
- Telephone Function (AREA)
Abstract
The invention relates to an information inquiring method and a terminal. The information inquiring method comprises the steps that the terminal backups key information to a backup partition of the terminal; after the terminal receives a starting-up instruction and when the terminal meets preset conditions, the terminal begins a recovery mode; the terminal reads the key information in the backup partition in the recovery mode and displays the key information. The information inquiring method and the terminal can support starring up for information inquiry when the electricity quantity of a battery of the terminal is low, and meet the starting up requirement in emergency circumstances.
Description
Technical field
The present invention relates to terminal technology field, relate in particular to a kind of information query method and terminal.
Background technology
At present, on the portable terminal devices such as smart mobile phone, generally adopt large scale, high-resolution display screen and higher CPU frequency, make thus the power consumption of terminal device increase.The power problems of terminal device becomes the key issue that the terminal devices such as the current smart mobile phone of constraint are used.
User can record some key messages by terminal device, as contact person's information, note, p.m.entry etc.Due to the power problems of terminal device, user usually meets and faces terminal device and exhaust by force the situation of shutdown because of battery electric quantity.If now user has urgent need, need some key messages of start inquiry, as household, friend or colleague's telephone directory or note etc., and current terminal device generally cannot be supported normal boot-strap after shutdown by force low because of electric weight, make thus user cannot inquire the key message needing.
Summary of the invention
The invention provides a kind of information query method and terminal, can be in the case of the battery electric quantity of terminal be low, support start Query Information, to solve start demand in emergency circumstances.
First aspect present invention provides a kind of information query method, and described method comprises:
Terminal backups to key message the backup subregion of described terminal;
Described terminal receives after start-up command, in described terminal, meets when pre-conditioned, and described terminal enters recovery pattern;
Described terminal reads the described key message in described backup subregion in described recovery pattern, and shows described key message.
In conjunction with first aspect, in the possible embodiment of the first of first aspect, described terminal backups to key message the backup subregion of described terminal, specifically comprises:
In described terminal, in normal boot-strap state, described terminal backups to described backup subregion by described key message; Or
At the battery dump energy of described terminal, during lower than the first threshold value, described terminal backups to described backup subregion by described key message.
In conjunction with the possible embodiment of the first of first aspect or first aspect, in the possible embodiment of the second of first aspect, described pre-conditionedly specifically comprise:
The battery dump energy of described terminal is lower than the second threshold value; Or
Described terminal is provided with low electric weight shutdown sign, and described low electric weight shutdown sign is former because electric weight deficiency for representing the shutdown of described terminal last time.
In conjunction with the possible embodiment of the first of first aspect or first aspect, in the third possible embodiment of first aspect, described pre-conditionedly specifically comprise:
The battery dump energy of described terminal is lower than the second threshold value, and the low electric weight start count value of described terminal is greater than 0; Or
Described terminal is provided with low electric weight shutdown sign, and the low electric weight start count value of described terminal is greater than 0, and described low electric weight shutdown sign is former because electric weight deficiency for representing the shutdown of described terminal last time;
Described low electric weight start count value is the number of times that described terminal is allowed to start under low electric weight.
In conjunction with the second or the third possible embodiment of first aspect, in the 4th kind of possible embodiment of first aspect, if described terminal is provided with low electric weight shutdown sign, described method also comprises:
Described terminal, after overcharging, when the battery dump energy of described terminal is during higher than the 3rd threshold value, is removed described low electric weight shutdown sign.
In conjunction with the third possible embodiment of first aspect, in the 5th kind of possible embodiment of first aspect, described method also comprises:
After described terminal enters recovery pattern, described low electric weight start count value is subtracted to 1;
Described terminal, after overcharging, when the battery dump energy of described terminal is during higher than the 3rd threshold value, resets the low electric weight start count value that is greater than 0.
In conjunction with arbitrary possible embodiment in five kinds of the first to the of first aspect or first aspect, in the 6th kind of possible embodiment of first aspect, described key message comprises: telephone directory, note or user-defined information.
Second aspect, the present invention also provides a kind of terminal, and described terminal comprises: backup units, receiving element, processing unit and reading unit;
Described backup units is for backuping to key message the backup subregion of described terminal;
Described receiving element is used for receiving start-up command;
Described processing unit is for receiving after described start-up command at described receiving element, detect described terminal whether meet pre-conditioned, and detecting that described terminal meets when pre-conditioned, enters recovery pattern;
Described reading unit is used for when described terminal enters described recovery pattern, reading the described key message of described backup subregion, and shows described key message.
In conjunction with second aspect, in the possible embodiment of the first of second aspect, described backup units specifically in described terminal in normal boot-strap state, described key message is backuped to described backup subregion;
Or described backup units is specifically for during lower than the first threshold value, backuping to described backup subregion by described key message at the battery dump energy of described terminal.
In conjunction with the possible embodiment of the first of second aspect or second aspect, in the possible embodiment of the second of second aspect, described pre-conditionedly specifically comprise:
The battery dump energy of described terminal is lower than the second threshold value; Or
Described terminal is provided with low electric weight shutdown sign, and described low electric weight shutdown sign is former because electric weight deficiency for representing the shutdown of described terminal last time.
In conjunction with the possible embodiment of the first of second aspect or second aspect, in the third possible embodiment of second aspect, described pre-conditionedly specifically comprise:
The battery dump energy of described terminal is lower than the second threshold value, and the low electric weight start count value of described terminal is greater than 0; Or
Described terminal is provided with low electric weight shutdown sign, and the low electric weight start count value of described terminal is greater than 0, and described low electric weight shutdown sign is former because electric weight deficiency for representing the shutdown of described terminal last time;
Described low electric weight start count value is the number of times that described terminal is allowed to start under low electric weight.
In conjunction with the second or the third possible embodiment of second aspect, in the 4th kind of possible embodiment of second aspect, if described terminal is provided with low electric weight shutdown sign, described processing unit also in described terminal after overcharging, when the battery dump energy of described terminal is during higher than the 3rd threshold value, remove described low electric weight shutdown sign.
In conjunction with the third possible embodiment of second aspect, in the 5th kind of possible embodiment of second aspect, described processing unit, also for after described terminal enters recovery pattern, subtracts 1 by described low electric weight start count value;
Described processing unit also for described terminal after overcharging, when the battery dump energy of described terminal is during higher than the 3rd threshold value, reset the low electric weight start count value that is greater than 0.
In conjunction with arbitrary possible embodiment in five kinds of the first to the of second aspect or second aspect, in the 6th kind of possible embodiment of second aspect, described key message comprises: telephone directory, note or user-defined information.
Information query method provided by the invention and terminal, in advance key message is backuped to backup subregion, for example, when meeting pre-conditioned (low electric weight) start, enter recovery pattern, and from backup subregion, read key message under recovery pattern, again this key message is shown to user, make user can under recovery pattern, inquire the key message of backup subregion, realized thus terminal and can, in low electric weight situation start, solve start demand in emergency circumstances.
Accompanying drawing explanation
In order to be illustrated more clearly in the technical scheme in the embodiment of the present invention, below the accompanying drawing of required use during embodiment is described is briefly described, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skills, do not paying under the prerequisite of creative work, can also obtain according to these accompanying drawings other accompanying drawing.
A kind of information query method process flow diagram that Fig. 1 provides for the embodiment of the present invention;
Fig. 2 is the another kind of information query method process flow diagram that the embodiment of the present invention provides;
The schematic diagram that Fig. 3 shows for a kind of file partition that the embodiment of the present invention provides;
The structural representation of a kind of terminal that Fig. 4 provides for the embodiment of the present invention;
The structural representation of the another kind of terminal that Fig. 5 provides for the embodiment of the present invention.
Embodiment
For making goal of the invention of the present invention, feature, advantage can be more obvious and understandable, below in conjunction with the accompanying drawing in the embodiment of the present invention, technical scheme in the embodiment of the present invention is described, obviously, described embodiment is only the present invention's part embodiment, but not whole embodiment.Based on the embodiment in the present invention, those of ordinary skills, not making the every other embodiment obtaining under creative work prerequisite, belong to the scope of protection of the invention.
The information query method that the embodiment of the present invention provides and terminal, be applicable to the battery powered terminal device of all kinds of employings, as terminal devices such as mobile phone, panel computer (PAD), personal assistants (PDA).The embodiment of the present invention, take Android operating system as example, can similarly be expanded according to this for the situation of other operating systems, in the embodiment of the present invention, does not enumerate.
Fig. 1 is a kind of information query method process flow diagram that the embodiment of the present invention provides, and as shown in Figure 1, described information query method comprises:
S101, terminal backup to key message the backup subregion of described terminal.
This step specifically can comprise two kinds of situations:
The first: in normal boot-strap state, described terminal backups to described backup subregion by described key message in terminal.
Terminal can backup to key message backup subregion termly, or, also can, receiving after user's manual backup instruction, key message be backuped to backup subregion.
The second: during lower than the first threshold value, described terminal backups to described backup subregion by described key message at the battery dump energy of described terminal.
When the battery dump energy of terminal is during lower than default threshold value, terminal may be shut down by force, and in order to make follow-uply to check key message, terminal can, before there is shutdown by force, backup to described key message described backup subregion automatically.
Wherein, in the embodiment of the present invention, battery dump energy also can be weighed with battery residual voltage, for example: terminal can during lower than default threshold value, backup to described backup subregion by described key message at remaining battery voltage.
The first threshold value can preset according to actual needs, for example, can be set to 2%; That is to say, when the battery dump energy of terminal is lower than 2% time, terminal backups to backup subregion by key message.When judging battery electric quantity with battery residual voltage, for example, threshold value can be preset as to 3.3V; That is to say, when the remaining battery voltage of terminal is during lower than 3.3V, terminal backups to backup subregion by key message.
Described key message can comprise the key messages such as telephone directory, note, can be also user-defined other information.
S102, described terminal receive after start-up command, in described terminal, meet when pre-conditioned, and described terminal enters recovery (recovery) pattern.
Described pre-conditionedly specifically can comprise: the battery dump energy of described terminal is lower than the second threshold value.Wherein, the second threshold value can be set according to actual needs, can be less than or equal to the first threshold value.Terminal is after receiving start-up command, if judge battery dump energy lower than default threshold value, terminal can enter recovery pattern.
Or, described pre-conditionedly specifically can comprise: described terminal is provided with described low electric weight shutdown sign.When described terminal occurs to shut down by force because battery electric quantity is low, terminal can also arrange low electric weight shutdown sign, and described low electric weight shutdown sign is former because electric weight deficiency for representing the shutdown of described terminal last time.Terminal, after receiving start-up command, is provided with low electric weight shutdown sign if detect, terminal can enter recovery pattern.
S103, described terminal read the described key message in described backup subregion in described recovery pattern, and show described key message.
When user presses power key start, terminal receives start-up command, and then whether terminal judges meets pre-conditioned, if, enter recovery pattern, backup subregion is mounted to the visible catalogue under described recovery pattern simultaneously, as/lost+found/fs_backup.Like this, user can inquire needed key message under visible catalogue.
Further, if described terminal is provided with low electric weight shutdown sign, described method can also comprise: described terminal, after overcharging, when the battery electric quantity of described terminal is during higher than the 3rd threshold value, is removed described low electric weight shutdown sign.The 3rd threshold value also can be set according to actual needs.Terminal, when start, if low electric weight shutdown sign detected, can enter recovery pattern and start shooting; After terminal is shut down because electric weight is low, if start before through overcharging, can normally start shooting.Thus, in order to guarantee that terminal, can normal boot-strap after overcharging, can remove in terminal low electric weight shutdown sign after overcharging in the present embodiment, when terminal can't detect low electric weight shutdown sign during in start, just can normal boot-strap.
Optionally, in order to protect the battery of terminal, the battery of avoiding terminal occurred to put and the situation that causes battery to damage, and described terminal can also arrange low electric weight start count value.Low electric weight start count value is the number of times that described terminal is allowed to start under low electric weight, and this low electric weight start number of times is to be greater than 0 integer, for example, and 2 times or 3 inferior.After described terminal enters recovery pattern, described low electric weight start count value subtracts 1.Now, described pre-conditionedly also comprise: described low electric weight start count value is greater than 0.That is, described pre-conditionedly specifically can comprise: the battery dump energy of described terminal is lower than the second threshold value, and the low electric weight start count value of described terminal is greater than 0; Or described terminal is provided with low electric weight shutdown sign, and the low electric weight start count value of described terminal is greater than 0.
Correspondingly, described method also comprises: described terminal, after overcharging, when the battery dump energy of described terminal is during higher than the 3rd threshold value, can reset the described low electric weight start count value that is greater than 0, for example 2 times or 3 times.
Fig. 2 is the another kind of information query method process flow diagram that the embodiment of the present invention provides, and as shown in Figure 2, described information query method can comprise:
When S201, terminal are activated start, judge that whether the battery dump energy of terminal is not enough, if so, carry out S202, if not, normal boot-strap.
Wherein, judge whether deficiency can have various ways for the battery dump energy of terminal.A kind of mode can be: a default electric weight threshold value (for example 2%), then the battery dump energy of the terminal detecting and default electric weight threshold value are compared, if battery dump energy is less than or equal to default electric weight threshold value, judge the battery dump energy deficiency of terminal.Another kind of mode can be: a default voltage threshold (for example 3.3V), then the remaining battery voltage of the terminal detecting and default voltage threshold are compared, if remaining battery voltage is less than or equal to default voltage threshold, judge the battery dump energy deficiency of terminal.Or the third mode can be: when terminal detects the former of last shutdown because electric weight deficiency, and shut down current terminal during by charging from the last time, terminal can be judged current battery dump energy deficiency.
It should be noted that, corresponding with above-mentioned the third mode, terminal can be when shutting down because electric weight is not enough by force, and low electric weight shutdown sign is set; If the battery of terminal is charged afterwards, eliminate this low electric weight shutdown sign; Thus, if terminal has detected low electric weight shutdown sign after start, the former because electric weight deficiency of last time shutdown that terminal is described, and do not charged from the last time current terminal of shutting down.If the battery of terminal detachably gets off and charges, can select first two mode to judge battery dump energy.
Whether S202, the low electric weight start of terminal judges count value are greater than 0, if so, perform step S203, if not, shutdown, flow process finishes.
When low electric weight start count value is greater than 0, represent that terminal is current to be also allowed to low electric weight start; When low electric weight start count value equals 0, expression terminal had been carried out repeatedly start under the state of low electric weight, and start number of times has reached the upper limit arranging, and can not carry out low electric weight start again.
It should be noted that, in another embodiment, can not comprise S202, in S201, if judge the battery dump energy deficiency of terminal, can directly carry out S203.
S203, terminal enter recovery (recovery) pattern, and carry backup subregion, then carries out S204.
Terminal enters recovery pattern, fs_backup subregion is mounted to visible catalogue under recovery pattern simultaneously: as/lost+found/fs_backup.
S204, terminal are read the key message of backup from backup subregion, and this key message is presented on screen, for user, check, then carry out S205.
Terminal enters visible catalogue under recovery pattern, enters/lost+found/fs_backup, then the key messages such as telephone directory and note can be imported to the text of a similar notepad (Notepad), and user can be leafed through and inquire about.
It should be noted that, terminal can back up key message in several ways.
First kind of way: terminal, under normal operating condition, can, according to user's manual backup request, be carried out the backup of key message; , for example: in " storage arranges " of user interface " setting ", add a menu " key message backup ", when user manually selects " key message backup ", terminal receives user's manual backup request, then carries out the backup of key message.
The second way: terminal, can be according to configuration in advance under normal operating condition, regularly automated back-up key message.
The third mode: terminal is automated back-up key message under low state of charge.When terminal detects battery dump energy lower than default the first threshold value, automatically trigger the backup of carrying out key message.
When carrying out key message backup, can increase the Password Management of access Backup Data, guarantee user's key message safety.
S205, under recovery pattern, receive after shutdown command, terminal subtracts 1 by low electric weight start count value, then shutdown.
Recovery pattern provides shutdown command, and terminal can receive the shutdown command that user sends.It should be noted that, terminal can, when receiving shutdown command, subtract 1 by the number of times of low electric weight start, also can in S202, judge low electric weight start count value and be greater than at 0 o'clock, just the number of times of low electric weight start is subtracted to 1.Same, terminal also can, carrying out in the process of S205 or S203, arrange low electric weight shutdown sign.Low electric weight shutdown sign and low electric weight start count value can be saved in specific region (for example high-pass platform is kept at the Misc subregion of Android system).
In subsequent process, when mobile phone is increased to certain thresholding when above through charge capacity, the low electric weight of the resetting count value of starting shooting, the initial value of for example this count value is 3, this count value is reset to 3; If be provided with low electric weight shutdown flag before, remove low electric weight shutdown flag.
Fig. 3 is the schematic diagram of a kind of file partition table, and as shown in Figure 3, this file partition can comprise: system data subregion (system), user data subregion (userdata), backup subregion (fs_backup) etc.Before key message being backuped in terminal to backup subregion, can be first carry backup subregion, and by partition map under particular category, as/data/fs_backup; And then back up.In terminal, enter recovery pattern, and read the key message of backup under this pattern before, also can back up subregion by first carry, then read the key message of backup.
The information query method that the embodiment of the present invention provides, can be used for the local key message of low electric weight start inquiry mobile phone, by a newly-increased backup subregion, preserve key message, utilize Misc subregion simultaneously and expand recovery pattern and realize, thereby can be in the case of the battery electric quantity of terminal low (electric weight exhausts), support telephone directory and short message content that this subregion of start access queries had backed up, solved start demand in emergency circumstances, greatly degree improves the experience of user under low electric weight.
Fig. 4 is the structural representation of a kind of terminal of providing of the embodiment of the present invention, and as shown in Figure 4, the terminal that the embodiment of the present invention provides comprises: backup units 301, receiving element 302, processing unit 303 and reading unit 304.
Specifically can comprise two kinds of situations:
The first: backup units 301 specifically in described terminal in normal boot-strap state, described key message is backuped to described backup subregion.
The second: backup units 301 is specifically for during lower than the first threshold value, backuping to described backup subregion by described key message at the battery dump energy of described terminal.
When the battery dump energy of terminal is during lower than default threshold value, terminal may be shut down by force, and in order to make follow-uply to check key message, backup units 301 can, before there is shutdown by force, backup to described key message described backup subregion automatically.
Wherein, in the embodiment of the present invention, battery dump energy also can be weighed with battery residual voltage, for example: terminal can during lower than default threshold value, backup to described backup subregion by described key message at remaining battery voltage.
The first threshold value can preset according to actual needs, for example, can be set to 2%; That is to say, when the battery dump energy of terminal is lower than 2% time, backup units 301 backups to backup subregion by key message.When judging battery electric quantity with battery residual voltage, for example, threshold value can be preset as to 3.3V; That is to say, when the remaining battery voltage of terminal is during lower than 3.3V, backup units 301 backups to backup subregion by key message.
As shown in Figure 3, this file partition comprises: system data subregion (system), user data subregion (userdata), backup subregion (fs_backup) etc.Before key message being backuped in terminal to backup subregion, can be first carry backup subregion, and by partition map under particular category, as/data/fs_backup; And then back up.In terminal, enter recovery pattern, and read the key message of backup under this pattern before, also can back up subregion by first carry, then read the key message of backup.
Described key message can comprise: telephone directory, note or user-defined information.
Receiving element 302 is for receiving start-up command.
Pre-conditionedly specifically can comprise: the battery dump energy of described terminal is lower than the second threshold value.
Wherein, the second threshold value can be set according to actual needs, can be less than or equal to the first threshold value.After receiving element 302 receives described start-up command, if processing unit 303 is judged battery dump energy lower than default threshold value, can enter recovery pattern.
Or, described pre-conditionedly specifically can comprise: described terminal is provided with described low electric weight shutdown sign.When described terminal occurs to shut down by force because battery electric quantity is low, terminal can also arrange low electric weight shutdown sign, and described low electric weight shutdown sign is former because electric weight deficiency for representing the shutdown of described terminal last time.After receiving element 302 receives described start-up command, if detecting, processing unit 303 is provided with low electric weight shutdown sign, can enter recovery pattern.
Reading unit 304 is for read the described key message of described backup subregion when described terminal enters described recovery pattern, and shows described key message.
When user presses power key start, receiving element 302 receives start-up command, and processing unit 303 judges whether to meet pre-conditioned, if, enter recovery pattern, reading unit 304 is mounted to the visible catalogue under described recovery pattern by backup subregion, as/lost+found/fs_backup.Like this, user can inquire needed key message under visible catalogue.
Further, if described terminal is provided with low electric weight shutdown sign, processing unit 303 can also be used in described terminal after overcharging, and when the battery dump energy of described terminal is during higher than the 3rd threshold value, removes described low electric weight shutdown sign.The 3rd threshold value also can be set according to actual needs.Processing unit 303, when start, if low electric weight shutdown sign detected, can enter recovery pattern and start shooting; After terminal is shut down because electric weight is low, if start before through overcharging, can normally start shooting.Thus, in order to guarantee that terminal, can normal boot-strap after overcharging, can remove in terminal low electric weight shutdown sign after overcharging in the present embodiment, when terminal can't detect low electric weight shutdown sign during in start, just can normal boot-strap.
Optionally, in order to protect the battery of terminal, the battery of avoiding terminal occurred to put and the situation that causes battery to damage, and described terminal can also arrange low electric weight start count value.Low electric weight start count value is the number of times that described terminal is allowed to start under low electric weight, and this low electric weight start number of times is to be greater than 0 integer, for example, and 2 times or 3 inferior.Processing unit 303, also for after described terminal enters recovery pattern, subtracts 1 by described low electric weight start count value.Now, described pre-conditionedly specifically can comprise: the battery dump energy of described terminal is lower than the second threshold value, and the low electric weight start count value of described terminal is greater than 0; Or described terminal is provided with low electric weight shutdown sign, and the low electric weight start count value of described terminal is greater than 0.
Correspondingly, processing unit 303 also for described terminal after overcharging, when the battery dump energy of described terminal is during higher than default the 3rd threshold value, can reset the low electric weight start count value that is greater than 0, for example 2 times or 3 times.
The terminal that the embodiment of the present invention provides, for Fig. 1 or the method providing embodiment illustrated in fig. 2 are provided, the principle of work that this terminal is concrete and workflow can referring to Fig. 1 or embodiment illustrated in fig. 2 in description.
The terminal that the embodiment of the present invention provides, can be used for the local key message of low electric weight start inquiry mobile phone, by a newly-increased backup subregion, preserve key message, utilize Misc subregion simultaneously and expand recovery pattern and realize, thereby can be in the case of the battery electric quantity of terminal low (electric weight exhausts), support telephone directory and short message content that this subregion of start access queries had backed up, solved start demand in emergency circumstances.
Fig. 5 is the structural representation of the another kind of terminal that provides of the embodiment of the present invention, and as shown in Figure 5, terminal 400 comprises: processor 401 and storer 403.
Described key message can comprise the key messages such as telephone directory, note, can be also user-defined information.
Specifically can comprise two kinds of situations:
The first: processor 401 specifically in terminal 400 in normal boot-strap state, by described key message backup to backup subregion 4031.Processor 401 can backup to key message backup subregion termly, or, also can, receiving after user's manual backup instruction, key message be backuped to backup subregion.
The second: processor 401, specifically for when the battery dump energy of terminal 400 is during lower than the first threshold value, backups to backup subregion 4031 by described key message.
When the battery dump energy of terminal 400 is during lower than default threshold value, terminal may be shut down by force, in order to make follow-uply to check key message, processor 401 can, before there is shutdown by force, backup to described key message described backup subregion automatically.
Wherein, in the embodiment of the present invention, battery dump energy also can be weighed with battery residual voltage, for example: processor 401 can during lower than default threshold value, backup to described backup subregion by described key message at remaining battery voltage.
The first threshold value can preset according to actual needs, for example, can be 2%; That is to say, when the battery dump energy of terminal 400 is lower than 2% time, processor 401 backups to backup subregion by key message.When judging battery electric quantity with battery residual voltage, for example, threshold value can be preset as to 3.3V; That is to say, when the remaining battery voltage of terminal 400 is during lower than 3.3V, processor 401 backups to backup subregion by key message.
Described pre-conditionedly specifically can comprise: the battery dump energy of terminal 400 is lower than the second threshold value.
Wherein, the second threshold value can be set according to actual needs, can be less than or equal to the first threshold value.Terminal 400, after receiving start-up command, if processor 401 is judged battery dump energy lower than default threshold value, can enter recovery pattern.
Or, described pre-conditionedly specifically can comprise: described terminal 400 is provided with described low electric weight shutdown sign.When described terminal 400 occurs to shut down by force because battery electric quantity is low, terminal 400 can also arrange low electric weight shutdown sign, and described low electric weight shutdown sign is former because electric weight deficiency for representing the shutdown of described terminal last time.Terminal 400, after receiving start-up command, is provided with low electric weight shutdown sign if processor 401 detects, can enter recovery pattern.
When user presses power key start, when processor 401 receives start-up command, processor 401 judges whether to meet pre-conditioned, if, enter recovery pattern, backup subregion is mounted to the visible catalogue under described recovery pattern simultaneously, as/lost+found/fs_backup.Like this, user can inquire needed key message under visible catalogue.
Further, if described terminal is provided with low electric weight shutdown sign, correspondingly, processor 401 can also be used in terminal 400 after overcharging, and when the battery dump energy of terminal 400 is during higher than the 3rd threshold value, removes described low electric weight shutdown sign.The 3rd threshold value also can be set according to actual needs.Terminal 400, when start, if processor 401 has detected low electric weight shutdown sign, can enter recovery pattern and start shooting; After terminal 400 is shut down because electric weight is low, if start before through overcharging, can normally start shooting.Thus, in order to guarantee that terminal 400, can normal boot-strap after overcharging, can remove low electric weight shutdown sign in terminal 400 in the present embodiment after overcharging, when terminal 400 can't detect low electric weight shutdown sign during in start, just can normal boot-strap.
Optionally, in order to protect the battery of terminal, the battery of avoiding terminal occurred to put and the situation that causes battery to damage, and terminal 400 can also arrange low electric weight start count value.Low electric weight start count value is the number of times that described terminal is allowed to start under low electric weight, and this low electric weight start number of times is to be greater than 0 integer, for example, and 2 times or 3 inferior.Processor 401, also for after terminal 400 enters recovery pattern, subtracts 1 by described low electric weight start count value.Now, described pre-conditionedly specifically can comprise: the battery dump energy of described terminal is lower than the second threshold value, and the low electric weight start count value of described terminal is greater than 0; Or described terminal is provided with low electric weight shutdown sign, and the low electric weight start count value of described terminal is greater than 0.
Correspondingly, processor 401 also in terminal 400 after overcharging, when the battery dump energy of terminal 400 is during higher than the 3rd threshold value, can reset the low electric weight start count value that is greater than 0, for example 2 times or 3 times.
The terminal that the embodiment of the present invention provides, for Fig. 1 or the method providing embodiment illustrated in fig. 2 are provided, the principle of work that this terminal is concrete and workflow can referring to Fig. 1 or embodiment illustrated in fig. 2 in description.
Information query method provided by the invention and terminal, can be used for the local key message of low electric weight start inquiry mobile phone, by a newly-increased backup subregion, preserve key message, when low electric weight start, enter recovery pattern, thereby can be in the case of the battery electric quantity of terminal low (electric weight exhausts), support telephone directory and short message content that this subregion of start access queries had backed up, solved start demand in emergency circumstances, greatly degree improves the experience of user under low electric weight.
Those skilled in the art should further recognize, unit and the algorithm steps of each example of describing in conjunction with embodiment disclosed herein, can realize with electronic hardware, computer software or the combination of the two, for the interchangeability of hardware and software is clearly described, composition and the step of each example described according to function in the above description in general manner.These functions are carried out with hardware or software mode actually, depend on application-specific and the design constraint of technical scheme.Those skilled in the art can realize described function with distinct methods to each specifically should being used for, but this realization should not thought and exceeds scope of the present invention.
The software module that the method for describing in conjunction with embodiment disclosed herein or the step of algorithm can use hardware, processor to carry out, or the combination of the two is implemented.Software module can be placed in the storage medium of any other form known in random access memory (RAM), internal memory, ROM (read-only memory) (ROM), electrically programmable ROM, electrically erasable ROM, register, hard disk, moveable magnetic disc, CD-ROM or technical field.
Above-described embodiment; object of the present invention, technical scheme and beneficial effect are further described; institute is understood that; the foregoing is only the specific embodiment of the present invention; the protection domain being not intended to limit the present invention; within the spirit and principles in the present invention all, any modification of making, be equal to replacement, improvement etc., within all should being included in protection scope of the present invention.
Claims (14)
1. an information query method, is characterized in that, described method comprises:
Terminal backups to key message the backup subregion of described terminal;
Described terminal receives after start-up command, in described terminal, meets when pre-conditioned, and described terminal enters recovery pattern;
Described terminal reads the described key message in described backup subregion in described recovery pattern, and shows described key message.
2. method according to claim 1, is characterized in that, described terminal backups to key message the backup subregion of described terminal, specifically comprises:
In described terminal, in normal boot-strap state, described terminal backups to described backup subregion by described key message; Or
At the battery dump energy of described terminal, during lower than the first threshold value, described terminal backups to described backup subregion by described key message.
3. method according to claim 1 and 2, is characterized in that, described pre-conditionedly specifically comprise:
The battery dump energy of described terminal is lower than the second threshold value; Or
Described terminal is provided with low electric weight shutdown sign, and described low electric weight shutdown sign is former because electric weight deficiency for representing the shutdown of described terminal last time.
4. method according to claim 1 and 2, is characterized in that, described pre-conditionedly specifically comprise:
The battery dump energy of described terminal is lower than the second threshold value, and the low electric weight start count value of described terminal is greater than 0; Or
Described terminal is provided with low electric weight shutdown sign, and the low electric weight start count value of described terminal is greater than 0, and described low electric weight shutdown sign is former because electric weight deficiency for representing the shutdown of described terminal last time;
Described low electric weight start count value is the number of times that described terminal is allowed to start under low electric weight.
5. according to the method described in claim 3 or 4, it is characterized in that, if described terminal is provided with low electric weight shutdown sign, described method also comprises:
Described terminal, after overcharging, when the battery dump energy of described terminal is during higher than the 3rd threshold value, is removed described low electric weight shutdown sign.
6. method according to claim 4, is characterized in that, described method also comprises:
After described terminal enters recovery pattern, described low electric weight start count value is subtracted to 1;
Described terminal, after overcharging, when the battery dump energy of described terminal is during higher than the 3rd threshold value, resets the low electric weight start count value that is greater than 0.
7. according to the arbitrary described method of claim 1-6, it is characterized in that, described key message comprises: telephone directory, note or user-defined information.
8. a terminal, is characterized in that, described terminal comprises: backup units, receiving element, processing unit and reading unit;
Described backup units is for backuping to key message the backup subregion of described terminal;
Described receiving element is used for receiving start-up command;
Described processing unit is for receiving after described start-up command at described receiving element, detect described terminal whether meet pre-conditioned, and detecting that described terminal meets when pre-conditioned, enters recovery pattern;
Described reading unit is used for when described terminal enters described recovery pattern, reading the described key message of described backup subregion, and shows described key message.
9. terminal according to claim 8, is characterized in that:
Described backup units specifically in described terminal in normal boot-strap state, described key message is backuped to described backup subregion;
Or described backup units is specifically for during lower than the first threshold value, backuping to described backup subregion by described key message at the battery dump energy of described terminal.
10. terminal according to claim 8 or claim 9, is characterized in that, described pre-conditionedly specifically comprise:
The battery dump energy of described terminal is lower than the second threshold value; Or
Described terminal is provided with low electric weight shutdown sign, and described low electric weight shutdown sign is former because electric weight deficiency for representing the shutdown of described terminal last time.
11. terminals according to claim 8 or claim 9, is characterized in that, described pre-conditionedly specifically comprise:
The battery dump energy of described terminal is lower than the second threshold value, and the low electric weight start count value of described terminal is greater than 0; Or
Described terminal is provided with low electric weight shutdown sign, and the low electric weight start count value of described terminal is greater than 0, and described low electric weight shutdown sign is former because electric weight deficiency for representing the shutdown of described terminal last time;
Described low electric weight start count value is the number of times that described terminal is allowed to start under low electric weight.
12. according to the terminal described in claim 10 or 11, it is characterized in that, if described terminal is provided with low electric weight shutdown sign, described processing unit also in described terminal after overcharging, when the battery dump energy of described terminal is during higher than the 3rd threshold value, remove described low electric weight shutdown sign.
13. terminals according to claim 11, is characterized in that, described processing unit, also for after described terminal enters recovery pattern, subtracts 1 by described low electric weight start count value;
Described processing unit also for described terminal after overcharging, when the battery dump energy of described terminal is during higher than the 3rd threshold value, reset the low electric weight start count value that is greater than 0.
14. according to Claim 8-13 arbitrary described terminals, is characterized in that, described key message comprises: telephone directory, note or user-defined information.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410056805.8A CN103761338A (en) | 2014-02-19 | 2014-02-19 | Information inquiring method and terminal |
PCT/CN2015/071972 WO2015124052A1 (en) | 2014-02-19 | 2015-01-30 | Information query method and terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410056805.8A CN103761338A (en) | 2014-02-19 | 2014-02-19 | Information inquiring method and terminal |
Publications (1)
Publication Number | Publication Date |
---|---|
CN103761338A true CN103761338A (en) | 2014-04-30 |
Family
ID=50528574
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410056805.8A Pending CN103761338A (en) | 2014-02-19 | 2014-02-19 | Information inquiring method and terminal |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN103761338A (en) |
WO (1) | WO2015124052A1 (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2015124052A1 (en) * | 2014-02-19 | 2015-08-27 | 华为终端有限公司 | Information query method and terminal |
CN105100400A (en) * | 2015-05-22 | 2015-11-25 | 努比亚技术有限公司 | Information backup method and device |
WO2017045419A1 (en) * | 2015-09-18 | 2017-03-23 | 中兴通讯股份有限公司 | Method and apparatus for controlling the powering-on of terminal |
CN109471666A (en) * | 2018-11-02 | 2019-03-15 | 北京小米移动软件有限公司 | Charge starting processing method, equipment and storage medium |
CN114281291A (en) * | 2021-12-28 | 2022-04-05 | 海信视像科技股份有限公司 | Display device, control device and low-power prompting method of control device |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110148992B (en) * | 2019-06-25 | 2020-10-09 | 无锡睿勤科技有限公司 | Charging control method, terminal device and storage medium |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101621584B (en) * | 2009-07-27 | 2013-05-08 | 中兴通讯股份有限公司 | Using method of remaining battery power and performing device thereof |
CN102299992A (en) * | 2010-06-23 | 2011-12-28 | 北京中星微电子有限公司 | Terminal as well as method and device for controlling same |
CN102883017B (en) * | 2012-09-03 | 2016-01-06 | 深圳中兴网信科技有限公司 | terminal and terminal management method |
CN103761338A (en) * | 2014-02-19 | 2014-04-30 | 华为终端有限公司 | Information inquiring method and terminal |
-
2014
- 2014-02-19 CN CN201410056805.8A patent/CN103761338A/en active Pending
-
2015
- 2015-01-30 WO PCT/CN2015/071972 patent/WO2015124052A1/en active Application Filing
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2015124052A1 (en) * | 2014-02-19 | 2015-08-27 | 华为终端有限公司 | Information query method and terminal |
CN105100400A (en) * | 2015-05-22 | 2015-11-25 | 努比亚技术有限公司 | Information backup method and device |
WO2017045419A1 (en) * | 2015-09-18 | 2017-03-23 | 中兴通讯股份有限公司 | Method and apparatus for controlling the powering-on of terminal |
CN109471666A (en) * | 2018-11-02 | 2019-03-15 | 北京小米移动软件有限公司 | Charge starting processing method, equipment and storage medium |
CN114281291A (en) * | 2021-12-28 | 2022-04-05 | 海信视像科技股份有限公司 | Display device, control device and low-power prompting method of control device |
Also Published As
Publication number | Publication date |
---|---|
WO2015124052A1 (en) | 2015-08-27 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103761338A (en) | Information inquiring method and terminal | |
CN101764880B (en) | Information backup method and terminal | |
US8847543B2 (en) | Secondary battery charging device and secondary battery charging system | |
CN101826042B (en) | Method of data backup and mobile terminal | |
CN102623768B (en) | Multi-battery charging method and device and handheld mobile terminal | |
MX2013014794A (en) | Mobile device operations with battery optimization. | |
CN101788936B (en) | Snapshot backup and restoration method and device when in running of mobile terminal | |
CN101901175A (en) | Data backup method and electronic terminal | |
CN105511985A (en) | Data backup method and terminal | |
CN106655344B (en) | Charging method and device for mobile terminal | |
CN105759211A (en) | Battery residual electricity quantity value display method and system | |
CN101969502A (en) | Mobile terminal service recovering method and mobile terminal | |
CN104156273A (en) | System exception repair method, system exception repair device and mobile terminal | |
CN104659881A (en) | Charging method and device for mobile terminal | |
CN105224423A (en) | Terminal data backup method and device | |
CN102103508A (en) | Electronic device and startup and shutdown method thereof | |
CN103837835B (en) | A kind of mobile equipment cell container decline degree detecting method and device thereof | |
CN102307257A (en) | Event reminding method in charging process and terminal | |
CN102883017B (en) | terminal and terminal management method | |
CN104348140B (en) | The method and electronic equipment that a kind of low battery is reminded | |
CN103905642B (en) | A kind of method for terminal storing information and device | |
CN101464814A (en) | Embedded system and its implementing method, and embedded equipment | |
CN108232346B (en) | Charging method and device | |
CN103108070A (en) | Telephone book backup system and method thereof | |
CN105700971A (en) | Data backup method and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20140430 |
|
RJ01 | Rejection of invention patent application after publication |