CN106339064A - Method and device for rebooting - Google Patents

Method and device for rebooting Download PDF

Info

Publication number
CN106339064A
CN106339064A CN201610754522.XA CN201610754522A CN106339064A CN 106339064 A CN106339064 A CN 106339064A CN 201610754522 A CN201610754522 A CN 201610754522A CN 106339064 A CN106339064 A CN 106339064A
Authority
CN
China
Prior art keywords
terminal
starting
battery
voltage
authority
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
Application number
CN201610754522.XA
Other languages
Chinese (zh)
Inventor
宋玉喜
于洋
马士强
叶林军
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Yulong Computer Telecommunication Scientific Shenzhen Co Ltd
Original Assignee
Yulong Computer Telecommunication Scientific Shenzhen Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Yulong Computer Telecommunication Scientific Shenzhen Co Ltd filed Critical Yulong Computer Telecommunication Scientific Shenzhen Co Ltd
Priority to CN201610754522.XA priority Critical patent/CN106339064A/en
Priority to PCT/CN2016/100686 priority patent/WO2018040177A1/en
Publication of CN106339064A publication Critical patent/CN106339064A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/32Means for saving power
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/32Means for saving power
    • G06F1/3203Power management, i.e. event-based initiation of a power-saving mode
    • G06F1/3206Monitoring of events, devices or parameters that trigger a change in power modality
    • G06F1/3212Monitoring battery levels, e.g. power saving mode being initiated when battery voltage goes below a certain level
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/32Means for saving power
    • G06F1/3203Power management, i.e. event-based initiation of a power-saving mode
    • G06F1/3234Power saving characterised by the action undertaken
    • G06F1/3243Power saving in microcontroller unit

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Telephone Function (AREA)

Abstract

The invention discloses a method and a device for rebooting, and relates to the technical field of communications, aiming at solving the problem that after a terminal automatically shuts down due to low power, a user cannot use the terminal since the terminal cannot be rebooted under the condition of lower power. The method comprises the steps of receiving a booting command input by the user; detecting a voltage value of a battery in the terminal; when the voltage value is lower than or equal to a preset voltage threshold value, limiting the booting of a preset number of central processing unit (CPU) cores, and reducing the frequency of a CPU to a preset frequency, so as to enable the voltage value of the battery to be greater than the preset voltage threshold; executing booting operation. The scheme provided by the invention is applicable to the time of rebooting.

Description

A kind of method and device turning back on
Technical field
The present invention relates to communication technical field, more particularly, to a kind of method and device turning back on.
Background technology
At present, typically all there is the function of low-voltage auto-off using battery powered terminal, that is, when battery in terminal Magnitude of voltage when being reduced to predetermined threshold value (generally 3.5v about), this terminal will automatic shutdown, to avoid overdischarge to electricity The infringement that pond is caused.Now, battery still has the dump energy of 5%-10%, but if user needs to start shooting to obtain end again During the application of the information in end or using terminal, the process turning back on can make battery produce bigger discharge current, makes battery Magnitude of voltage again below predetermined threshold value, lead to terminal cannot be started up, make the user cannot in case of emergency (such as: user's needs Check the minutes in terminal memorandum or need placement of emergency calls) using terminal.
Content of the invention
The present invention provides a kind of method and device turning back on, and can solve terminal after low battery automatic shutdown, no Method turn back in the case of low battery led to user cannot using terminal problem.
For reaching above-mentioned purpose, the present invention adopts the following technical scheme that
In a first aspect, the present invention provides a kind of method turning back on, methods described is applied in terminal, methods described bag Include:
The start-up command of receiving user's input;
The magnitude of voltage of the battery in detection terminal;
When described magnitude of voltage is less than or equal to described predetermined voltage threshold, limit the central processing unit cpu of predetermined number Core starts and reduces the frequency of cpu to predeterminated frequency, so that the magnitude of voltage of described battery is more than described predetermined voltage threshold;
Execution power-on operation.
Second aspect, the present invention provides a kind of device turning back on, and described device is applied in terminal, described device bag Include:
Receiving unit, for the start-up command of receiving user's input;
Detector unit, for the magnitude of voltage of the battery in detection terminal;When described magnitude of voltage is less than or equal to described presetting During voltage threshold, the central processing unit cpu core limiting predetermined number starts and reduces the frequency of cpu to predeterminated frequency, so that The magnitude of voltage of described battery is more than described predetermined voltage threshold;
Performance element, for executing power-on operation.
The method and device turning back on that the present invention provides, by the start-up command detection terminal of receiving user's input Battery magnitude of voltage, when magnitude of voltage be less than or equal to predetermined voltage threshold when, limit predetermined number cpu core start and reduce The frequency of cpu is to predeterminated frequency, so that the magnitude of voltage of battery is more than predetermined voltage threshold, subsequently executes power-on operation, with now There is the process in technology, turning back on that battery can be made to produce bigger discharge current, the magnitude of voltage making battery is again below default Voltage threshold, leads to terminal cannot be started up, and so that user cannot in case of emergency using terminal be compared, is in low battery in terminal During turning back on, the cpu core that can limit predetermined number starts and reduces the frequency of cpu to predeterminated frequency, thus, fall The low load of terminal, and then make the battery in terminal produce less discharge current, reduce the energy consumption of battery, make battery What dump energy be enough to maintain terminal turns back on process.It is in the terminal during turning back on and is equivalent to and enter a letter The boot system changed, in the boot system of this simplification, the battery in terminal will not produce and lead to this terminal again to be shut down relatively Big discharge current, user can in case of emergency turn back on and using terminal.
Brief description
In order to be illustrated more clearly that the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing Have technology description in required use accompanying drawing be briefly described it should be apparent that, drawings in the following description be only this Some embodiments of invention, for those of ordinary skill in the art, on the premise of not paying creative work, acceptable Other accompanying drawings are obtained according to these accompanying drawings.
Fig. 1 is a kind of schematic flow sheet of method turning back on provided in an embodiment of the present invention;
Fig. 2 is the schematic flow sheet of the method that another kind provided in an embodiment of the present invention turns back on;
Fig. 3 is the schematic flow sheet of the method that another kind provided in an embodiment of the present invention turns back on;
Fig. 4 is a kind of logical construction schematic diagram of device turning back on provided in an embodiment of the present invention;
Fig. 5 is a kind of logical construction schematic diagram of terminal provided in an embodiment of the present invention.
Specific embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Site preparation description is it is clear that described embodiment is only a part of embodiment of the present invention, rather than whole embodiments.It is based on Embodiment in the present invention, it is every other that those of ordinary skill in the art are obtained under the premise of not making creative work Embodiment, broadly falls into the scope of protection of the invention.
For convenience to the following description, first the technology related to the embodiment of the present invention is illustrated, have The terminal of low-voltage auto-off function, can be set a voltage threshold, generally, voltage threshold is permissible when dispatching from the factory It is arranged to 3.5v.During using terminal, the running voltage of battery can be gradually lowered, when the running voltage of battery When being reduced to predetermined voltage threshold, terminal can automatic shutdown.It should be noted that the running voltage of battery is reduced to predeterminated voltage Threshold value, the running voltage not representing battery is zero, now, and still some dump energy in battery, generally, remain Remaining electricity is the 5%-10% of battery Full Charge Capacity.But, these dump energies may be not enough to support that terminal turns back on, because For when user needs to reuse terminal, if starting normal starting procedure, the battery in terminal being made to produce bigger Discharge current, cause the voltage of battery in terminal again below or be equal to predetermined voltage threshold, lead to terminal to be shut down again.As Fruit is not charged to terminal, and user then cannot reuse the application in this terminal all the time or obtain information in this terminal, Cause the user is greatly inconvenient.
And the discharge current phase in fact, the voltage of battery is not only related to the dump energy of battery, also with battery generation Close, the load decision of the terminal that the discharge current that battery produces mainly is located by this battery, load is bigger, and this battery produces Discharge current bigger, bigger with respect to the voltage drop that when the terminal airspace that this battery is located, the voltage of this battery produces.Under When face lists the terminal airspace that a Battery pack is located, the voltage of battery, the battery voltage in the case of 500ma constant-current discharge Test data with the relation of battery dump energy.
The voltage 500ma constant-current discharge voltage of battery during battery dump energy terminal airspace
100%--------4.20v--------4.20v
90%---------4.06v---------3.97v
80%---------3.98v---------3.87v
70%---------3.92v---------3.79v
60%---------3.87v---------3.73v
50%---------3.82v---------3.68v
40%---------3.79v---------3.65v
30%---------3.77v---------3.62v
20%---------3.74v---------3.58v
10%---------3.68v---------3.51v
5%----------3.45v----------3.42v
0%----------3.00v----------3.00v
If by above-mentioned test data it is known that terminal is in the state of 500ma constant-current discharge, when voltage drops to During 3.79v, battery is considered there remains 40% electricity, and in fact, battery there remains 70% electricity, when terminal is located again In small current holding state, that is, under Light Condition, the voltage of battery can rise to 3.92v, now, corresponding battery dump energy For 70%, the electricity of the remaining battery of terminal occurs rebound phenomenon.Similarly, if terminal is still in 500ma constant-current discharge State, and when reaching voltage threshold 3.51v, terminal can automatic shutdown, if but in fact, now terminal be in Light Condition, The corresponding voltage of battery is 3.68v, and corresponding dump energy is 5-10%, and terminal can work one section in the case of little load Time, meet the demand of user.
Turn back on the user leading in order to solve terminal no after low battery automatic shutdown it is impossible in the case of low battery The problem of method using terminal.The embodiment of the present invention proposes a kind of method turning back on, and is applied in terminal, as shown in figure 1, The method includes:
Step 101, the start-up command of receiving user's input.
Wherein, start-up command can be the operation of user's Touch screen, pressing key or input fingerprint.
The magnitude of voltage of the battery in step 102, detection terminal.
When receiving the start-up command of user input, the magnitude of voltage of battery in detection terminal, to determine the electricity in terminal Whether pond magnitude of voltage now is enough to support the normal work of terminal.
Step 103, when magnitude of voltage be less than or equal to predetermined voltage threshold when, limit predetermined number cpu (central Processing unit, central processing unit) core starts and reduces the frequency of cpu to predeterminated frequency, so that the magnitude of voltage of battery More than predetermined voltage threshold.
Wherein, predetermined voltage threshold is to make terminal start low-voltage auto-off program to protect the electricity of the battery in terminal Pressure marginal value.When battery voltage value terminal is detected is less than or equal to predetermined voltage threshold, then can determine now terminal Be in low battery state, now, if still make terminal be in load larger in the case of, the process turning back on can make electricity Pond produces larger discharge current, so that the magnitude of voltage of battery is under predetermined voltage threshold it is impossible to turn back on it is possible to The cpu core limiting predetermined number starts and reduces the frequency of cpu to predeterminated frequency (frequency of cpu refers to the clock frequency of cpu), with Reduce the load of terminal, and then make the battery in terminal produce less discharge current, with reducing energy consumption, make the remaining electricity of battery Amount turns back on process enough to maintain terminal.
It should be noted that the frequency that the cpu core limiting predetermined number starts and reduce cpu simply reduces to predeterminated frequency The performance of terminal, but can ensure that terminal is turned back on, make the user in case of emergency can reuse terminal. And, the cpu core of predetermined number and predeterminated frequency all can according to actual needs and the concrete condition of terminal be entered by user Row setting.
Step 104, execution power-on operation.
It is understood that after execution step 103, terminal has possessed the ability turning back on.
The method turning back on provided in an embodiment of the present invention, by the start-up command detection terminal of receiving user's input Battery magnitude of voltage, when magnitude of voltage be less than or equal to predetermined voltage threshold when, limit predetermined number cpu core start and reduce The frequency of cpu, to predeterminated frequency, so that the magnitude of voltage of battery is more than predetermined voltage threshold, and executes power-on operation, and existing In technology, the process turning back on can make battery produce bigger discharge current, and the magnitude of voltage making battery is again below default electricity Pressure threshold value, leads to terminal cannot be started up, so that user cannot in case of emergency using terminal be compared, be in low battery weight in terminal During new start, the cpu core that can limit predetermined number starts and reduces the frequency of cpu to predeterminated frequency, thus, reduces The load of terminal, and then make the battery in terminal produce less discharge current, reduce the energy consumption of battery, make the surplus of battery What remaining electricity be enough to maintain terminal turns back on process.It is in the terminal during turning back on and is equivalent to and enter a simplification Boot system, in the boot system of this simplification, the battery in terminal will not produce lead to that terminal shuts down again larger and put Electric current, user can in case of emergency turn back on and using terminal.
If it is understood that the magnitude of voltage battery in terminal is detected is higher than preset voltage value, need not reduce The load of terminal also can make terminal normal boot-strap, so in another kind implementation provided in an embodiment of the present invention, above-mentioned After the magnitude of voltage of the battery in step 102, detection terminal, when magnitude of voltage is higher than predetermined voltage threshold, execute power-on operation.
It is understood that now, the dump energy of the battery in terminal is not reduced to predetermined voltage threshold, and terminal is permissible According to the start-up command start of user, enter normal working condition, to ensure the normal use of terminal.
In order to reduce the loading condition of terminal further it is ensured that user in case of emergency can be with using terminal, in step 103rd, the cpu core limiting predetermined number starts and reduces the frequency of cpu to after predeterminated frequency, can also limit normal further The startup of the larger load of operating current, based on this, as shown in Fig. 2 step 104, execution power-on operation, comprising: step 1041 To step 1042.
Step 1041, basis are default to start authority startup function hardware.
Wherein, preset startup authority to include: allow to start and No starting, preset and start the function that authority is that permission starts Hardware is less than the functional hardware of predetermined current for operating current, presets and starts the functional hardware that authority is No starting for work electricity Stream is more than the functional hardware of predetermined current.
It should be noted that the execution sequence of the embodiment of the present invention not conditioning step 1041 and step 1042, the present invention is real Apply example to first carry out step 1041, illustrate as a example rear execution step 1042.
It should be noted that terminal be in the Default Value stage or the process that turns back at this before, in user When terminal is configured, operating current when each hardware normally runs in detection terminal should be distinguished, and determine each respectively Whether operating current when hardware normally runs is higher than predetermined current, and the default of hardware that operating current is higher than predetermined current is opened Dynamic priority assignation is No starting, and default startup priority assignation operating current being less than the hardware of predetermined current is to allow to open Dynamic.
Wherein, hardware can be radio-frequency module, display screen, audio-frequency module, power amplifier.
It should be noted that when the electricity of the battery in terminal is higher than predetermined threshold value, that is, terminal is in normal start stream When in journey, the default authority that starts still can start for the hardware of No starting.
For example: the electric current producing during the high-definition camera detecting is 800ma, SD shooting when the electric current that produces be 600ma, When user uses 4g network data service, the electric current of generation is 500ma, when user sees e-book when screen intensity is higher When, the electric current of generation is 300ma, when user sees e-book when screen intensity is relatively low, the electric current of generation be 150ma it is assumed that Predetermined current is 500ma, then when voltage battery is detected is less than predetermined voltage threshold it is allowed to the hardware starting is to support to use The hardware of e-book is watched at family when screen intensity is higher or lower, and the default startup authority of remaining hardware above-mentioned is forbids opening Dynamic.
1042nd, starting the default authority that starts is the software application allowing to start.
Wherein, software application can be Games Software or video software, address list, memorandum etc..
Larger operating current can be produced during because of Games Software or video software normal work, increase the energy consumption of battery, then The software application of No starting is the larger softwares of operating current such as game class software.
And the operating current that produces during the software normal work such as address list, memorandum is less, and in case of emergency, user Need the probability of the software of the standby record important information such as address list, memorandum larger, then allow the software application starting to be memorandum The software of record class.
It is understood that after low battery automatic shutdown each time, when user needs to reuse terminal immediately, because User needs use immediately applying and differing, so, terminal can point out user to select, after this turns back on, to use Family needs to apply using those, based on this, in another kind implementation provided in an embodiment of the present invention, as shown in figure 3, above-mentioned Step 1041, basis are default to start authority startup function hardware, specifically can be implemented as step 10411, or is embodied as step 10412 to step 10414.
10411st, starting the default authority that starts is the functional hardware allowing to start.
It is understood that because operating current when allowing the functional hardware starting normally to run is less than predetermined current, So starting the default authority that starts is the functional hardware allowing to start, terminal will not be made again to shut down because electric current is excessive, user Terminal can be reused and complete user's operation the most urgent, such as: send note, check message registration, address list, check account Meeting schedule in this etc..
10412nd, hint instructions are exported.
Wherein, hint instructions are used for pointing out user to be to allow to choose the functional hardware starting to need to prohibit from the default authority that starts The functional hardware only starting.
It should be noted that after low battery automatic shutdown each time, when user needs to reuse terminal immediately, user Need the application using not necessarily identical, for example: after certain terminal low battery shutdown, user needs to call, another After terminal low battery shutdown, user needs to check minutes;Then less in order to ensure that terminal load now is in State, with support user can within the relatively long time using terminal, terminal is defeated with forms such as dialog box or voice messages Go out hint instructions, point out user to be to allow selection the functional hardware starting to need the function of No starting hard from the default authority that starts Part.
10413rd, the selection instruction of receiving user's input.
Wherein, selection instruction is used for the functional hardware of the No starting that instruction user is chosen.
10414th, starting the default authority that starts is in the functional hardware allow startup, except the work(of the No starting that user chooses Functional hardware outside energy hardware.
It should be noted that because the default startup authority of remaining hardware is permission and starts, then prohibiting certain in user A bit after the startup of unwanted functional hardware, during execution power-on operation, remaining hardware all can start.
Embodiments of the invention the cpu core limiting predetermined number start and reduce the frequency of cpu to predeterminated frequency after, Also limit the startup of the larger hardware of operating current, software and the application not needed by user, further reduce again The discharge current that battery in terminal during start produces, more fully make use of the dump energy of battery, to support User completes most important operation the most urgent, decreases the charging times of battery meanwhile, extends the service life of battery.
Corresponding to the method flow shown in Fig. 1, in order to solve terminal after low battery automatic shutdown it is impossible in low battery feelings Turn back under condition the user leading to cannot using terminal problem.The embodiment of the present invention proposes a kind of device turning back on 40, this device 40 is applied in terminal, as shown in figure 4, this device 40 includes: receiving unit 401, detector unit 402 and execution Unit 403.
Receiving unit 401, for the start-up command of receiving user's input.
Detector unit 402, for the magnitude of voltage of the battery in detection terminal;When magnitude of voltage is less than or equal to predeterminated voltage threshold During value, the central processing unit cpu core limiting predetermined number starts and reduces the frequency of cpu to predeterminated frequency, so that battery Magnitude of voltage is more than predetermined voltage threshold.
Performance element 403, for executing power-on operation.
In another kind of implementation that the embodiment of the present invention proposes, performance element 403, it is higher than pre- for being additionally operable to when magnitude of voltage If during voltage threshold, execute power-on operation.
In another kind of implementation that the embodiment of the present invention proposes, performance element 403, it is additionally operable to start power according to default Limit startup function hardware, the default authority that starts includes: allows to start and No starting, the default authority that starts is the work(allowing to start Energy hardware is less than the functional hardware of predetermined current for operating current, presets and starts the functional hardware that authority is No starting for work Electric current is more than the functional hardware of predetermined current.
In another kind of implementation that the embodiment of the present invention proposes, performance element 403, it is additionally operable to start default startup power It is limited to the functional hardware allowing to start.
In another kind of implementation that the embodiment of the present invention proposes, performance element 403, it is additionally operable to export hint instructions, Hint instructions are used for pointing out user to be to allow to choose the functional hardware starting to need the function of No starting from the default authority that starts Hardware;The selection instruction of receiving user's input, selection instruction is used for the functional hardware of the No starting that instruction user is chosen;Start The default authority that starts is in the functional hardware allow startup, and the function in addition to the functional hardware of the No starting that user chooses is hard Part.
In another kind of implementation that the embodiment of the present invention proposes, performance element 403, it is additionally operable to start default startup power It is limited to the software application allowing to start.
The device turning back on provided in an embodiment of the present invention, the start-up command of receiving unit receiving user's input;Detection The magnitude of voltage of the battery in unit detection terminal, when magnitude of voltage is less than or equal to predetermined voltage threshold, limits predetermined number Cpu core starts and reduces the frequency of cpu to predeterminated frequency, so that the magnitude of voltage of battery is more than predetermined voltage threshold;Execute list In unit execution power-on operation, with prior art, the process turning back on can make battery produce bigger discharge current, makes battery Magnitude of voltage, again below predetermined voltage threshold, leads to terminal cannot be started up, and makes the user cannot in case of emergency using terminal phase Than being in during low battery turns back in terminal, the cpu core that can limit predetermined number starts and reduces the frequency of cpu Rate, to predeterminated frequency, thus, reduces the load of terminal, and then makes the battery in terminal produce less discharge current, reduces The energy consumption of battery, makes what the dump energy of battery be enough to maintain terminal to turn back on process.It is in during turning back on Terminal is equivalent to the boot system entering a simplification, and in the boot system of this simplification, the battery in terminal will not produce Lead to the larger discharge current that terminal is shut down again, user can in case of emergency turn back on and using terminal.
The embodiment of the present invention also provides a kind of terminal, as shown in figure 5, the hardware knot of the device that describes for Fig. 4 of this terminal 50 Structure schematic diagram.Wherein, this terminal 50 may include: memorizer 501, processor 502, battery 503, voltage check device 504 and Bus 505.
Memorizer 501 can be rom (read only memory, read only memory), static storage device, dynamic memory Equipment or ram (random access memory, random access memory).Memorizer 501 can with storage program area and Other application programs.When by software or firmware to realize technical scheme provided in an embodiment of the present invention, for realizing this The program code of the technical scheme that inventive embodiments provide is saved in memorizer 501, and by processor 502 and voltage detecting dress Put 504 to execute.
Processor 502 can be using general central processing unit (central processing unit, cpu), microprocessor Device, application specific integrated circuit (application specific integrated circuit, asic), or one or Multiple integrated circuits, for executing relative program, to realize the technical scheme that the embodiment of the present invention is provided.
Bus 505 may include a path, in device all parts (such as memorizer 501, processor 502 and voltage inspection Survey device 504) between transmit information.
Although it should be noted that the hardware shown in Fig. 5 illustrate only memorizer 501, processor 502, battery 503, voltage inspection Survey device 504 and bus 505.But during implementing, it should be apparent to a person skilled in the art that this terminal 50 is also Comprise to realize normally running other devices necessary.Meanwhile, according to specific needs, it should be apparent to a person skilled in the art that Also can comprise to realize the hardware device of other functions.
Specifically, when the terminal 50 shown in Fig. 5 is used for realizing the device shown in Fig. 4 embodiment, the process in this terminal 50 Device 502, for the start-up command of receiving user's input, and notifies voltage check device 504 to carry out voltage detecting.
Voltage check device 504, for the magnitude of voltage of the battery 503 in detection terminal 50;
Processor 502, is additionally operable to the magnitude of voltage when voltage check device 504 detects and is less than or equal to predetermined voltage threshold When, the central processing unit cpu core limiting predetermined number starts and reduces the frequency of cpu to predeterminated frequency, so that battery 503 Magnitude of voltage is more than predetermined voltage threshold.
Processor 502, is additionally operable to execute power-on operation.
In another kind implementation provided in an embodiment of the present invention, processor 502, it is higher than default for being additionally operable to when magnitude of voltage During voltage threshold, execute power-on operation.
In another kind implementation provided in an embodiment of the present invention, processor 501, it is additionally operable to start authority according to default Startup function hardware, the default authority that starts includes: allows to start and No starting, the default authority that starts is the function of allowing to start Hardware is less than the functional hardware of predetermined current for operating current, presets and starts the functional hardware that authority is No starting for work electricity Stream is more than the functional hardware of predetermined current.
In another kind implementation provided in an embodiment of the present invention, processor 502, it is additionally operable to start default startup authority For allowing the functional hardware starting.
Processor 502, is additionally operable to export hint instructions, and hint instructions are used for pointing out user to be to allow from default startup authority Choosing in the functional hardware starting needs the functional hardware of No starting;The selection instruction of receiving user's input, selection instruction is used for The functional hardware of the No starting that instruction user is chosen;Starting the default authority that starts is in the functional hardware allow startup, except use Functional hardware outside the functional hardware of No starting that family is chosen.
In another kind implementation provided in an embodiment of the present invention, processor 502, it is fair for being additionally operable to start default access Permitted the software application starting.
Terminal provided in an embodiment of the present invention, the first start-up command of processor receiving user's input, then voltage detecting The magnitude of voltage of the battery in device detection terminal, when magnitude of voltage is less than or equal to predetermined voltage threshold, processor limits default The cpu core of quantity starts and reduces the frequency of cpu to predeterminated frequency, so that the magnitude of voltage of battery is more than predetermined voltage threshold, Subsequently computing device power-on operation, in prior art, the process turning back on can make battery produce bigger discharge current, The magnitude of voltage making battery, again below predetermined voltage threshold, leads to terminal cannot be started up, and so that user cannot be in case of emergency made Compared with terminal, be in during low battery turns back in terminal, the cpu core that can limit predetermined number starts and reduces The frequency of cpu, to predeterminated frequency, thus, reduces the load of terminal, and then makes the battery in terminal produce less electric discharge electricity Stream, reduces the energy consumption of battery, makes what the dump energy of battery be enough to maintain terminal to turn back on process.It is in and turned back on Terminal in journey is equivalent to the boot system entering a simplification, and in the boot system of this simplification, the battery in terminal is not The larger discharge current leading to terminal again to be shut down can be produced, user can in case of emergency turn back on and using terminal.
Through the above description of the embodiments, those skilled in the art can be understood that the present invention can borrow Help software to add the mode of necessary common hardware to realize naturally it is also possible to pass through hardware, but the former is more preferably in many cases Embodiment.Based on such understanding, the portion that technical scheme substantially contributes to prior art in other words Divide and can be embodied in the form of software product, this computer software product is stored in the storage medium that can read, such as count The floppy disk of calculation machine, hard disk or CD etc., including some instructions with so that computer equipment (can be personal computer, Server, or the network equipment etc.) method described in execution each embodiment of the present invention.
The above, the only specific embodiment of the present invention, but protection scope of the present invention is not limited thereto, and any Those familiar with the art the invention discloses technical scope in, change or replacement can be readily occurred in, all should contain Cover within protection scope of the present invention.Therefore, protection scope of the present invention should be defined by described scope of the claims.

Claims (10)

1. it is characterised in that methods described is applied in terminal, methods described includes a kind of method turning back on:
The start-up command of receiving user's input;
The magnitude of voltage of the battery in detection terminal;
When described magnitude of voltage is less than or equal to described predetermined voltage threshold, the central processing unit cpu core limiting predetermined number opens The frequency moving and reducing cpu is to predeterminated frequency, so that the magnitude of voltage of described battery is more than described predetermined voltage threshold;
Execution power-on operation.
2. the method turning back on according to claim 1 is it is characterised in that the electricity of battery in described detection terminal After pressure value, methods described also includes:
When described magnitude of voltage is higher than predetermined voltage threshold, execute power-on operation.
3. the method turning back on according to claim 1 is it is characterised in that described execution power-on operation, comprising:
According to default startup authority startup function hardware, described default startup authority includes: allow to start and No starting, described The default authority that starts is the functional hardware allowing the functional hardware starting to be less than predetermined current for operating current, described default startup Authority be No starting functional hardware be operating current more than predetermined current functional hardware.
4. the method turning back on according to claim 3 starts authority startup work(it is characterised in that described basis is preset Energy hardware, comprising:
Starting the described default authority that starts is the functional hardware allowing to start;Or,
Output hint instructions, described hint instructions are used for pointing out user to be to allow the function of starting hard from the described default authority that starts Choosing in part needs the functional hardware of No starting;
The selection instruction of receiving user's input, described selection instruction is used for the functional hardware of the No starting that instruction user is chosen;
Starting the described default authority that starts is in the functional hardware allow startup, except the function of the No starting that described user chooses Functional hardware outside hardware.
5. the method turning back on according to claim 4, it is characterised in that described execution power-on operation, also includes:
Starting the default authority that starts is the software application allowing to start.
6. it is characterised in that described device is applied in terminal, described device includes a kind of device turning back on:
Receiving unit, for the start-up command of receiving user's input;
Detector unit, for the magnitude of voltage of the battery in detection terminal;When described magnitude of voltage is less than or equal to described predeterminated voltage During threshold value, the central processing unit cpu core limiting predetermined number starts and reduces the frequency of cpu to predeterminated frequency, so that described The magnitude of voltage of battery is more than described predetermined voltage threshold;
Performance element, for executing power-on operation.
7. the device turning back on according to claim 6 it is characterised in that
Described performance element, is additionally operable to, when described magnitude of voltage is higher than predetermined voltage threshold, execute power-on operation.
8. the device turning back on according to claim 6 it is characterised in that
Described performance element, is additionally operable to start authority startup function hardware according to default, described default startup authority includes: allows Start and No starting, the described default authority that starts is the work(allowing the functional hardware starting to be less than predetermined current for operating current Can hardware, described default start authority be No starting functional hardware be operating current more than predetermined current functional hardware.
9. the device turning back on according to claim 8 it is characterised in that
Described performance element, being additionally operable to start the described default authority that starts is the functional hardware allowing to start;
Described performance element, is additionally operable to export hint instructions, and described hint instructions are used for pointing out user to weigh from described default startup It is limited to allow to choose in the functional hardware starting need the functional hardware of No starting;The selection instruction of receiving user's input, described Selection instruction is used for the functional hardware of the No starting that instruction user is chosen;Starting the described default authority that starts is to allow to start Functional hardware in functional hardware, in addition to the functional hardware of the No starting that described user chooses.
10. the device turning back on according to claim 9 it is characterised in that
Described performance element, being additionally operable to start the default authority that starts is the software application allowing to start.
CN201610754522.XA 2016-08-29 2016-08-29 Method and device for rebooting Pending CN106339064A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201610754522.XA CN106339064A (en) 2016-08-29 2016-08-29 Method and device for rebooting
PCT/CN2016/100686 WO2018040177A1 (en) 2016-08-29 2016-09-28 Method and apparatus for rebooting

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610754522.XA CN106339064A (en) 2016-08-29 2016-08-29 Method and device for rebooting

Publications (1)

Publication Number Publication Date
CN106339064A true CN106339064A (en) 2017-01-18

Family

ID=57822535

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610754522.XA Pending CN106339064A (en) 2016-08-29 2016-08-29 Method and device for rebooting

Country Status (2)

Country Link
CN (1) CN106339064A (en)
WO (1) WO2018040177A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107102631A (en) * 2017-04-10 2017-08-29 成都因纳维特科技有限公司 A kind of system and method for controlling vehicle mounted guidance terminal cpu frequency and running number
CN108388451A (en) * 2018-03-02 2018-08-10 奇酷互联网络科技(深圳)有限公司 Method for starting up mobile terminal, device and mobile terminal

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112345823B (en) * 2020-10-20 2024-06-18 深圳市新国都支付技术有限公司 Power consumption testing method, device, system and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1996242A (en) * 2006-01-05 2007-07-11 英业达股份有限公司 Booting system in low-power mode and method therefor
CN103777730A (en) * 2012-10-19 2014-05-07 纬创资通股份有限公司 Power management circuit and method thereof
CN105137831A (en) * 2015-08-04 2015-12-09 小米科技有限责任公司 Power-saving mode starting method and device

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102866921B (en) * 2012-08-29 2016-05-11 惠州Tcl移动通信有限公司 A kind of regulate and control method of multi-core CPU and system
CN102883058A (en) * 2012-09-24 2013-01-16 华为终端有限公司 Startup method and terminal

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1996242A (en) * 2006-01-05 2007-07-11 英业达股份有限公司 Booting system in low-power mode and method therefor
CN103777730A (en) * 2012-10-19 2014-05-07 纬创资通股份有限公司 Power management circuit and method thereof
CN105137831A (en) * 2015-08-04 2015-12-09 小米科技有限责任公司 Power-saving mode starting method and device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107102631A (en) * 2017-04-10 2017-08-29 成都因纳维特科技有限公司 A kind of system and method for controlling vehicle mounted guidance terminal cpu frequency and running number
CN108388451A (en) * 2018-03-02 2018-08-10 奇酷互联网络科技(深圳)有限公司 Method for starting up mobile terminal, device and mobile terminal

Also Published As

Publication number Publication date
WO2018040177A1 (en) 2018-03-08

Similar Documents

Publication Publication Date Title
CN103425506B (en) Closedown method and starting-up method and communication terminal
CN101783427B (en) Intelligent charging method and intelligent charging device of terminal
CN101304568B (en) Apparatus and method for charging mobile terminal
US20110154007A1 (en) Low energy boot options for devices
CN106339064A (en) Method and device for rebooting
US8244312B2 (en) Battery management for optimizing battery and service life
CN105262155A (en) Charging method and device
CN103314339A (en) Booting a mobile electronic device with a low battery based on a dynamic boot threshold
CN103902359A (en) Android based system memory optimizing and application scheduling method and system
CN104519190A (en) Mobile apparatus low-electric-quantity power-on control method and system
CN106455016A (en) Method for controlling mobile terminal, and mobile terminal
CN104765396A (en) Mobile terminal based shutdown voltage dynamic adjusting method and system
CN106959844A (en) A kind of low method and device for establishing machine processing by cable
CN107562448A (en) terminal initialization method and device
CN103701168B (en) The charging management method and charging management system of lithium battery
CN103837835B (en) A kind of mobile equipment cell container decline degree detecting method and device thereof
EP3148038B1 (en) Charging control method and apparatus, terminal and computer storage medium
CN106095055A (en) The method for closing of a kind of application program and device
CN109256825B (en) Charging method and electronic device
CN108899954A (en) Battery power-off method and device for airborne intelligent equipment and airborne intelligent equipment
US8481186B2 (en) Battery management for optimizing battery and service life
US8030899B2 (en) Battery management for optimizing battery and service life
CN110581642B (en) Converter soft start circuit and method
CN106774761A (en) A kind of electric supply installation and its method of supplying power to, server
CN110768305B (en) Method, device and equipment for coordinating standby resources and storage medium

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: 20170118

RJ01 Rejection of invention patent application after publication