WO2018040177A1 - Method and apparatus for rebooting - Google Patents

Method and apparatus for rebooting Download PDF

Info

Publication number
WO2018040177A1
WO2018040177A1 PCT/CN2016/100686 CN2016100686W WO2018040177A1 WO 2018040177 A1 WO2018040177 A1 WO 2018040177A1 CN 2016100686 W CN2016100686 W CN 2016100686W WO 2018040177 A1 WO2018040177 A1 WO 2018040177A1
Authority
WO
WIPO (PCT)
Prior art keywords
preset
terminal
function hardware
battery
user
Prior art date
Application number
PCT/CN2016/100686
Other languages
French (fr)
Chinese (zh)
Inventor
宋玉喜
于洋
马士强
叶林军
Original Assignee
宇龙计算机通信科技(深圳)有限公司
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 宇龙计算机通信科技(深圳)有限公司 filed Critical 宇龙计算机通信科技(深圳)有限公司
Publication of WO2018040177A1 publication Critical patent/WO2018040177A1/en

Links

Images

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
    • 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
    • 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

Definitions

  • the present invention relates to the field of communications technologies, and in particular, to a method and apparatus for rebooting.
  • the battery-powered terminal generally has a low-voltage automatic shutdown function, that is, when the voltage value of the battery in the terminal is lowered to a preset threshold (generally about 3.5V), the terminal will automatically shut down to avoid over-discharge. Damage to the battery.
  • a preset threshold generally about 3.5V
  • the battery still has 5%-10% of the remaining power, but if the user needs to turn it on again to get the information in the terminal or use the application of the terminal, the process of restarting will cause the battery to generate a larger discharge current, so that the battery
  • the voltage value is lower than the preset threshold again, causing the terminal to fail to power on, so that the user cannot use the terminal in an emergency situation (for example, the user needs to view the conference record in the terminal memo or need to make an emergency call).
  • the invention provides a method and a device for restarting, which can solve the problem that a terminal cannot be used by a user after the terminal is automatically turned off after a low battery and cannot be restarted under a low power condition.
  • the present invention provides a method for rebooting, the method being applied to a terminal, the method comprising:
  • the present invention provides a device for rebooting, the device being applied to a terminal, the device comprising:
  • a receiving unit configured to receive a power-on command input by the user
  • a detecting unit configured to detect a voltage value of the battery in the terminal; when the voltage value is lower than or equal to the preset voltage threshold, limiting a preset number of CPU cores to start and lower the frequency of the CPU to a preset a frequency such that a voltage value of the battery is greater than the predetermined voltage threshold;
  • Execution unit set to perform boot operation.
  • the method and device for rebooting detects the voltage value of the battery in the terminal by receiving a power-on command input by the user, and when the voltage value is lower than or equal to the preset voltage threshold, limiting the preset number of CPU cores to start and lower
  • the frequency of the CPU is to a preset frequency, so that the voltage value of the battery is greater than the preset voltage threshold, and then the power-on operation is performed.
  • the process of restarting causes the battery to generate a larger discharge current and the voltage value of the battery.
  • the terminal If the terminal is unable to be turned on again, the terminal cannot be turned on, so that the user cannot use the terminal in an emergency, and the preset number of CPU cores can be started and the CPU frequency can be reduced while the terminal is in a low power state. To the preset frequency, thereby reducing the load of the terminal, thereby causing the battery in the terminal to generate a small discharge current, reducing the energy consumption of the battery, and making the remaining power of the battery sufficient to maintain the restarting process of the terminal.
  • the terminal in the process of restarting is equivalent to entering a simplified booting system. In the simplified booting system, the battery in the terminal does not generate a large discharge current that causes the terminal to be shut down again, and the user can be in an emergency situation. Reboot and use the terminal.
  • FIG. 1 is a schematic flowchart of a method for rebooting according to an embodiment of the present invention
  • FIG. 2 is a schematic flowchart of another method for rebooting according to an embodiment of the present invention.
  • FIG. 3 is a schematic flowchart of another method for rebooting according to an embodiment of the present invention.
  • FIG. 4 is a schematic diagram of a logical structure of a device for rebooting according to an embodiment of the present invention
  • FIG. 5 is a schematic diagram of a logical structure of a terminal according to an embodiment of the present invention.
  • a terminal having a low voltage automatic shutdown function is set at a voltage threshold at the factory.
  • the voltage threshold can be set. It is about 3.5V.
  • the operating voltage of the battery will gradually decrease.
  • the terminal will automatically shut down.
  • the operating voltage of the battery is reduced to a preset voltage threshold, which does not mean that the operating voltage of the battery is zero.
  • the remaining power is 5% of the full battery power. -10%.
  • the voltage of the battery is not only related to the remaining power of the battery, but also related to the discharge current generated by the battery.
  • the discharge current generated by the battery is mainly determined by the load of the terminal where the battery is located. The larger the load, the battery is generated. The greater the discharge current, the greater the voltage drop produced by the voltage of the battery relative to when the terminal in which the battery is located is unloaded.
  • the following is a test data showing the relationship between the voltage of the battery, the voltage of the battery at 500 mA constant current discharge, and the remaining battery power when the terminal where the battery is located is no-load.
  • the terminal will automatically shut down, but in fact, if the terminal is in the no-load state at this time, the corresponding voltage of the battery is 3.68V, corresponding to The remaining power is 5-10%, and the terminal can work for a period of time under a small load to meet the needs of users.
  • the embodiment of the present invention provides a method for rebooting, which is applied to a terminal, and the method includes:
  • Step 101 Receive a power-on instruction input by a user.
  • the boot command may be an operation in which the user touches the screen, presses the power button, or inputs a fingerprint.
  • Step 102 Detect a voltage value of a battery in the terminal.
  • the voltage value of the battery in the terminal is detected to determine whether the voltage value of the battery in the terminal is sufficient to support the normal operation of the terminal.
  • Step 103 When the voltage value is lower than or equal to the preset voltage threshold, limit a preset number of CPU (Central Processing Unit) cores to start and lower the frequency of the CPU to a preset frequency, so that the voltage value of the battery is greater than Preset voltage threshold.
  • CPU Central Processing Unit
  • the preset voltage threshold is a voltage threshold for enabling the terminal to initiate a low voltage automatic shutdown procedure to protect the battery in the terminal.
  • the battery When it is detected that the battery voltage value of the terminal is lower than or equal to the preset voltage threshold, it may be determined that the terminal is in a low battery state at this time, and if the terminal is still in a large load condition, the process of restarting will be
  • the battery generates a large discharge current, so that the voltage value of the battery is below the preset voltage threshold and cannot be restarted, so the preset number of CPU cores can be limited to start and reduce the frequency of the CPU to the preset frequency (CPU frequency refers to The CPU clock frequency) reduces the load on the terminal, which in turn causes the battery in the terminal to generate a small discharge current to reduce the power consumption, so that the remaining battery power is sufficient to maintain the terminal's restart process.
  • CPU frequency refers to The CPU clock frequency
  • limiting the preset number of CPU cores to start and lowering the CPU frequency to the preset frequency only reduces the performance of the terminal, but can ensure that the terminal is restarted, so that the user can reuse the terminal in an emergency.
  • the preset number of CPU cores and the preset frequency can be set by the user according to actual needs and the specific conditions of the terminal.
  • Step 104 Perform a booting operation.
  • step 103 the terminal has the ability to reboot.
  • the method for rebooting detects the voltage value of the battery in the terminal by receiving a power-on command input by the user, and when the voltage value is lower than or equal to the preset voltage threshold, limiting the preset number of CPU cores to start and decrease The frequency of the CPU is to a preset frequency, so that the voltage value of the battery is greater than the preset voltage threshold, and the power-on operation is performed.
  • the process of restarting causes the battery to generate a larger discharge current, so that the voltage value of the battery If the terminal is unable to be turned on again, the terminal cannot be turned on, so that the user cannot use the terminal in an emergency, and the preset number of CPU cores can be started and the CPU frequency can be reduced while the terminal is in a low power state. To the preset frequency, thereby reducing the load of the terminal, thereby causing the battery in the terminal to generate a small discharge current, reducing the energy consumption of the battery, and making the remaining power of the battery sufficient to maintain the restarting process of the terminal.
  • the terminal in the process of restarting is equivalent to entering a simplified booting system. In the simplified booting system, the battery in the terminal does not generate a large discharging current that causes the terminal to be shut down again, and the user can restart in an emergency. And use the terminal.
  • the terminal may be normally turned on without lowering the load of the terminal. After detecting the voltage value of the battery in the terminal in step 102 above, when the voltage value is higher than the preset voltage threshold, the power-on operation is performed.
  • the remaining power of the battery in the terminal does not decrease to the preset voltage threshold, and the terminal can be powered on according to the user's power-on command and enter a normal working state to ensure normal use of the terminal.
  • step 103 In order to further reduce the load condition of the terminal and ensure that the user can use the terminal in an emergency situation, after step 103, limiting the preset number of CPU cores to start and lowering the frequency of the CPU to the preset frequency, the normal working current can be further restricted.
  • step 104 performing a booting operation, including: step 1041 to step 1042.
  • Step 1041 Start the function hardware according to the preset startup permission.
  • the preset startup permission includes: enabling startup and prohibiting startup, and the preset startup permission is a function hardware that allows the startup function to be a working current less than a preset current, and the preset startup permission is a function hardware that is prohibited from being activated. Functional hardware with current.
  • step 1041 and the step 1042 are not limited.
  • the embodiment of the present invention first performs step 1041, and then executes step 1042 as an example.
  • the working current of each hardware in the terminal should be separately detected, and each hardware is determined separately. Whether the working current in normal operation is higher than the preset current, the preset starting permission of the hardware whose working current is higher than the preset current is set to prohibit starting, and the preset starting permission of the hardware whose operating current is lower than the preset current is set to Allow to start.
  • the hardware may be a radio frequency module, a display screen, an audio module, and a power amplifier.
  • the detected current generated by high-definition camera is 800 mA
  • the current generated by standard-definition camera is 600 mA.
  • the generated current is 500 mA, when the user sees the screen brightness is high.
  • the current generated is 300 mA.
  • the current generated is 150 mA.
  • the preset current is 500 mA, when the voltage of the battery is detected to be lower than the preset voltage threshold.
  • the hardware that is allowed to be started is a hardware that supports the user to view the e-book when the screen brightness is high or low, the preset boot permission of the remaining hardware is prohibited from starting.
  • the software application may be game software or video software, address book, memo, and the like.
  • the software application that is prohibited from being started is software with a large working current such as game software.
  • the working current is small, and in an emergency, if the user needs to prepare the address book, the memo, etc., the probability of the software recording the important information is large, the software application that is allowed to be started is the memo class. Software.
  • the function hardware is started according to the preset startup permission, and may be implemented as step 10411 or as a step. 10412 to step 10414.
  • the function of starting the preset start permission is the function hardware that is allowed to start, and the terminal is not shut down due to excessive current, the user can Re-use the terminal to complete the most urgent operations of the user, such as: send a text message, view the call history, address book, view the meeting schedule in the notebook.
  • the prompting instruction is used to prompt the user to select the functional hardware that needs to be prohibited from starting from the function hardware that the preset startup permission is allowed to start.
  • the application that the user needs to use is not necessarily the same.
  • the user needs to make a call, and another time.
  • the terminal After the terminal is powered off, the user needs to view the conference record.
  • the terminal outputs the dialog box or voice prompt.
  • the prompt instruction prompts the user to select the function hardware that needs to be prohibited from starting from the function hardware that the preset startup permission is allowed to start.
  • the selection instruction is used to indicate the function hardware selected by the user to prohibit startup.
  • the preset startup permission is a functional hardware other than the function hardware that is selected by the user and is prohibited from being activated.
  • Embodiments of the present invention further limit the startup of the hardware, software, and applications that are not required by the user, after limiting the preset number of CPU cores to start and lower the frequency of the CPU to the preset frequency, further reducing the re
  • the discharge current generated by the battery in the terminal during the startup process makes full use of the remaining battery capacity to support the user to complete the most important and most urgent operation, and at the same time, reduces the number of times the battery is charged and prolongs the service life of the battery.
  • the embodiment of the present invention provides a device 40 for restarting.
  • the device 40 is applied to a terminal.
  • the device 40 includes a receiving unit 401, a detecting unit 402, and an executing unit 403.
  • the receiving unit 401 is configured to receive a power-on command input by the user.
  • the detecting unit 402 is configured to detect a voltage value of the battery in the terminal; when the voltage value is lower than or equal to the preset voltage threshold, limiting a preset number of CPU cores to start and lower the frequency of the CPU to a preset frequency, to The voltage value of the battery is made greater than a preset voltage threshold.
  • the execution unit 403 is configured to perform a booting operation.
  • the executing unit 403 is further configured to perform a power-on operation when the voltage value is higher than the preset voltage threshold.
  • the executing unit 403 is further configured to start the function hardware according to the preset startup permission, and the preset startup permission includes: enabling and prohibiting the startup, and the preset activation permission is allowed.
  • the function hardware that is started is the function hardware whose working current is less than the preset current, and the function hardware whose preset start permission is prohibited to start is the function hardware whose working current is greater than the preset current.
  • the executing unit 403 is further configured to start the function hardware that the preset startup permission is allowed to start.
  • the executing unit 403 is further configured to output a prompting instruction, where the prompting instruction is used to prompt the user to select a function hardware that is allowed to be started from a preset startup permission to be activated.
  • Function hardware receiving a selection instruction input by a user, the selection instruction is used to indicate a function hardware selected by the user to prohibit startup; and the function of starting the preset activation permission is a function hardware that is prohibited from being activated, except for the function hardware selected by the user. hardware.
  • the executing unit 403 is further configured to start a software application that is preset to be started.
  • the receiving unit receives the power-on command input by the user; the detecting unit detects the voltage value of the battery in the terminal, and limits the preset number of CPUs when the voltage value is lower than or equal to the preset voltage threshold.
  • the core starts and lowers the frequency of the CPU to a preset frequency, so that the voltage value of the battery is greater than a preset voltage threshold; the execution unit performs a power-on operation, and in the prior art, the process of restarting causes the battery to generate a larger discharge current.
  • the voltage value of the battery is again lower than the preset voltage threshold, so that the terminal cannot be turned on, so that the user cannot use the terminal in an emergency situation, and the preset number of CPU cores can be started during the process of the terminal being in a low battery power-on state. And reducing the frequency of the CPU to the preset frequency, thereby reducing the load of the terminal, thereby causing the battery in the terminal to generate a small discharge current, reducing the power consumption of the battery, and making the remaining power of the battery sufficient to maintain the restart of the terminal. process.
  • the terminal in the process of restarting is equivalent to entering a simplified booting system. In the simplified booting system, the battery in the terminal does not generate a large discharging current that causes the terminal to be shut down again, and the user can restart in an emergency. And use the terminal.
  • the embodiment of the present invention further provides a terminal.
  • the terminal 50 is a hardware structure diagram of the apparatus described in FIG.
  • the terminal 50 may include a memory 501, a processor 502, a battery 503, a voltage detecting device 504, and a bus 505.
  • the memory 501 may be a ROM (Read Only Memory), a static storage device, a dynamic storage device, or a RAM (Random Access Memory).
  • the memory 501 can store an operating system and other applications.
  • the program code for implementing the technical solution provided by the embodiment of the present invention is stored in the memory 501 and executed by the processor 502 and the voltage detecting device 504.
  • the processor 502 can be a general-purpose central processing unit (CPU), a microprocessor, an application specific integrated circuit (ASIC), or one or more integrated circuits for executing related programs.
  • CPU central processing unit
  • ASIC application specific integrated circuit
  • Bus 505 can include a path for communicating information between various components of the device, such as memory 501, processor 502, and voltage sensing device 504.
  • FIG. 5 shows only the memory 501, the processor 502, the battery 503, the voltage detecting means 504, and the bus 505.
  • the terminal 50 also includes other devices necessary to achieve normal operation.
  • hardware devices that implement other functions may also be included, depending on the particular needs.
  • the processor 502 in the terminal 50 is configured to receive a power-on command input by the user, and notify the voltage detecting device 504 to perform voltage detection. .
  • the voltage detecting device 504 is configured to detect a voltage value of the battery 503 in the terminal 50;
  • the processor 502 is further configured to: when the voltage value detected by the voltage detecting device 504 is lower than or equal to the preset voltage threshold, limit a preset number of CPU cores to start and lower the frequency of the CPU to a preset frequency, so that The voltage value of the battery 503 is greater than a preset voltage threshold.
  • the processor 502 is further configured to perform a booting operation.
  • the processor 502 is further configured to perform a power-on operation when the voltage value is higher than the preset voltage threshold.
  • the processor 501 is further configured to start the function hardware according to the preset startup permission, where the preset startup permission includes: enabling startup and prohibiting startup, and the preset startup permission is allowed to be started.
  • the function hardware is a function hardware whose working current is less than the preset current, and the function hardware whose preset start permission is prohibited to start is a function hardware whose working current is greater than the preset current.
  • the processor 502 is further configured to start a function hardware that is preset to start permission to be enabled.
  • the processor 502 is further configured to output a prompting instruction, where the prompting instruction is used to prompt the user to select a function hardware that is prohibited from being activated from the function hardware that is allowed to start, and to receive a selection instruction input by the user, and the selection instruction is used to indicate the user.
  • the selected function hardware that is forbidden to start; the default startup permission is the function hardware that is allowed to be activated, except for the function hardware that the user selects to prohibit startup.
  • the processor 502 is further configured to start a software application whose preset permission is allowed to be started.
  • the processor first receives the power-on command input by the user, and then the voltage detecting device detects the voltage value of the battery in the terminal. When the voltage value is lower than or equal to the preset voltage threshold, the processor limits the preset number.
  • the CPU core starts and lowers the frequency of the CPU to a preset frequency, so that the voltage value of the battery is greater than a preset voltage threshold, and then the processor performs a power-on operation.
  • the process of restarting causes the battery to generate a larger battery.
  • the discharge current causes the voltage value of the battery to be lower than the preset voltage threshold again, resulting in the terminal being unable to be turned on, so that the user cannot use the terminal in an emergency situation, and the preset number of the terminal can be limited during the process of restarting the battery at a low power level.
  • the CPU core starts and reduces the frequency of the CPU to a preset frequency, thereby reducing the load of the terminal, thereby causing the battery in the terminal to generate a smaller discharge current, reducing the energy consumption of the battery, and making the remaining battery power sufficient to maintain the terminal.
  • the reboot process The terminal in the process of restarting is equivalent to entering a simplified booting system. In the simplified booting system, the battery in the terminal does not generate a large discharging current that causes the terminal to be shut down again, and the user can restart in an emergency. And use the terminal.
  • the present invention can be implemented by means of software plus necessary general hardware, and of course, by hardware, but in many cases, the former is a better implementation. .
  • the technical solution of the present invention which is essential or contributes to the prior art, can be embodied in the form of a software product stored in a readable storage medium, such as a floppy disk of a computer.
  • a hard disk or optical disk, etc. includes instructions for causing a computer device (which may be a personal computer, server, or network device, etc.) to perform the methods described in various embodiments of the present invention.

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

A method and apparatus for rebooting, wherein same relate to the technical field of communications, and can solve the problem where, after a terminal automatically shuts down due to having low power, a user cannot use the terminal because the terminal cannot be rebooted under the condition of having low power. The method comprises: receiving a booting instruction input by a user (101); detecting a voltage value of a battery in a terminal (102); when the voltage value is lower than or equal to a pre-set voltage threshold value, limiting the booting of a pre-set number of CPU cores and reducing the frequency of a CPU to a pre-set frequency, so that the voltage value of the battery is greater than the pre-set voltage threshold value (103); and executing a booting operation (104). The solution thereof is suitable for use during rebooting.

Description

一种重新开机的方法及装置Method and device for restarting
本申请要求于2016年8月29日提交中国专利局,申请号为201610754522.X、发明名称为“一种重新开机的方法及装置”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。The present application claims priority to Chinese Patent Application No. 201610754522.X, entitled "A Method and Apparatus for Re-booting", filed on August 29, 2016, the entire contents of which are incorporated by reference. In this application.
技术领域Technical field
本发明涉及通信技术领域,尤其涉及一种重新开机的方法及装置。The present invention relates to the field of communications technologies, and in particular, to a method and apparatus for rebooting.
背景技术Background technique
目前,使用电池供电的终端一般都具有低电压自动关机的功能,即当终端中电池的电压值降低到预设阈值(一般为3.5V左右)时,该终端就会自动关机,以避免过放电对电池造成的损害。此时,电池仍然有5%-10%的剩余电量,但如果用户需要再次开机以获取终端中的信息或使用终端的应用时,重新开机的过程会使电池产生更大的放电电流,使电池的电压值再次低于预设阈值,导致终端无法开机,使用户无法在紧急情况下(如:用户需要查看终端备忘录中的会议记录或需要拨打紧急电话)使用终端。At present, the battery-powered terminal generally has a low-voltage automatic shutdown function, that is, when the voltage value of the battery in the terminal is lowered to a preset threshold (generally about 3.5V), the terminal will automatically shut down to avoid over-discharge. Damage to the battery. At this point, the battery still has 5%-10% of the remaining power, but if the user needs to turn it on again to get the information in the terminal or use the application of the terminal, the process of restarting will cause the battery to generate a larger discharge current, so that the battery The voltage value is lower than the preset threshold again, causing the terminal to fail to power on, so that the user cannot use the terminal in an emergency situation (for example, the user needs to view the conference record in the terminal memo or need to make an emergency call).
发明内容Summary of the invention
本发明提供一种重新开机的方法及装置, 可以解决终端在低电量自动关机后,无法在低电量情况下重新开机所导致的用户无法使用终端的问题。The invention provides a method and a device for restarting, which can solve the problem that a terminal cannot be used by a user after the terminal is automatically turned off after a low battery and cannot be restarted under a low power condition.
为达到上述目的,本发明采用如下技术方案:In order to achieve the above object, the present invention adopts the following technical solutions:
第一方面,本发明提供一种重新开机的方法,所述方法应用于终端中,所述方法包括:In a first aspect, the present invention provides a method for rebooting, the method being applied to a terminal, the method comprising:
接收用户输入的开机指令;Receiving a power-on command input by a user;
检测终端中的电池的电压值;Detecting a voltage value of a battery in the terminal;
当所述电压值低于或等于所述预设电压阈值时,限制预设数量的中央处理器CPU核启动并降低CPU的频率至预设频率,以使得所述电池的电压值大于所述预设电压阈值;When the voltage value is lower than or equal to the preset voltage threshold, limiting a preset number of CPU cores to start and lower the frequency of the CPU to a preset frequency, so that the voltage value of the battery is greater than the preset Set a voltage threshold;
执行开机操作。Perform a boot operation.
第二方面,本发明提供一种重新开机的装置,所述装置应用于终端中,所述装置包括:In a second aspect, the present invention provides a device for rebooting, the device being applied to a terminal, the device comprising:
接收单元,设置为接收用户输入的开机指令;a receiving unit, configured to receive a power-on command input by the user;
检测单元,设置为检测终端中的电池的电压值;当所述电压值低于或等于所述预设电压阈值时,限制预设数量的中央处理器CPU核启动并降低CPU的频率至预设频率,以使得所述电池的电压值大于所述预设电压阈值;a detecting unit, configured to detect a voltage value of the battery in the terminal; when the voltage value is lower than or equal to the preset voltage threshold, limiting a preset number of CPU cores to start and lower the frequency of the CPU to a preset a frequency such that a voltage value of the battery is greater than the predetermined voltage threshold;
执行单元,设置为执行开机操作。Execution unit, set to perform boot operation.
本发明提供的重新开机的方法及装置,通过接收用户输入的开机指令检测终端中的电池的电压值,当电压值低于或等于预设电压阈值时,限制预设数量的CPU核启动并降低CPU的频率至预设频率,以使得电池的电压值大于预设电压阈值,随后执行开机操作,与现有技术中,重新开机的过程会使电池产生更大的放电电流,使电池的电压值再次低于预设电压阈值,导致终端无法开机,使用户无法在紧急情况下使用终端相比,在终端处于低电量重新开机的过程中,可以限制预设数量的CPU核启动并降低CPU的频率至预设频率,由此,降低了终端的负载,进而使终端中的电池产生较小的放电电流,降低了电池的能耗,使电池的剩余电量足以维持终端的重新开机过程。处于重新开机过程中的终端相当于进入了一个简化的开机系统,在该简化的开机系统中,终端中的电池不会产生导致该终端重新关机的较大的放电电流,用户可以在紧急情况下重新开机并使用终端。The method and device for rebooting according to the present invention detects the voltage value of the battery in the terminal by receiving a power-on command input by the user, and when the voltage value is lower than or equal to the preset voltage threshold, limiting the preset number of CPU cores to start and lower The frequency of the CPU is to a preset frequency, so that the voltage value of the battery is greater than the preset voltage threshold, and then the power-on operation is performed. In the prior art, the process of restarting causes the battery to generate a larger discharge current and the voltage value of the battery. If the terminal is unable to be turned on again, the terminal cannot be turned on, so that the user cannot use the terminal in an emergency, and the preset number of CPU cores can be started and the CPU frequency can be reduced while the terminal is in a low power state. To the preset frequency, thereby reducing the load of the terminal, thereby causing the battery in the terminal to generate a small discharge current, reducing the energy consumption of the battery, and making the remaining power of the battery sufficient to maintain the restarting process of the terminal. The terminal in the process of restarting is equivalent to entering a simplified booting system. In the simplified booting system, the battery in the terminal does not generate a large discharge current that causes the terminal to be shut down again, and the user can be in an emergency situation. Reboot and use the terminal.
附图说明DRAWINGS
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the embodiments or the description of the prior art will be briefly described below. Obviously, the drawings in the following description are only It is a certain embodiment of the present invention, and other drawings can be obtained from those skilled in the art without any creative work.
图1为本发明实施例提供的一种重新开机的方法的流程示意图;1 is a schematic flowchart of a method for rebooting according to an embodiment of the present invention;
图2为本发明实施例提供的另一种重新开机的方法的流程示意图;2 is a schematic flowchart of another method for rebooting according to an embodiment of the present invention;
图3为本发明实施例提供的另一种重新开机的方法的流程示意图;3 is a schematic flowchart of another method for rebooting according to an embodiment of the present invention;
图4为本发明实施例提供的一种重新开机的装置的逻辑结构示意图;4 is a schematic diagram of a logical structure of a device for rebooting according to an embodiment of the present invention;
图5为本发明实施例提供的一种终端的逻辑结构示意图。FIG. 5 is a schematic diagram of a logical structure of a terminal according to an embodiment of the present invention.
具体实施方式detailed description
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The technical solutions in the embodiments of the present invention are clearly and completely described in the following with reference to the accompanying drawings in the embodiments of the present invention. It is obvious that the described embodiments are only a part of the embodiments of the present invention, but not all embodiments. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without creative efforts are within the scope of the present invention.
为了方便对以下实施例的描述,先对与本发明实施例相关的技术进行说明,具有低电压自动关机功能的终端,在出厂时会被设置一个电压阈值,一般情况下,电压阈值可以被设置为3.5V左右。在使用终端的过程中,电池的工作电压会逐渐降低,当电池的工作电压降低到预设电压阈值时,终端会自动关机。需要说明的是,电池的工作电压降低到预设电压阈值,并不代表电池的工作电压为零,此时,电池中仍然有一部分剩余电量,一般情况下,剩余电量为电池满电量的5%-10%。但是,这些剩余电量可能不足以支持终端重新开机,因为,当用户需要重新使用终端时,如果启动正常的开机流程,则会使终端中的电池产生更大的放电电流,致使终端中电池的电压再次低于或等于预设电压阈值,导致终端再次关机。如果不对终端进行充电,用户则始终无法重新使用该终端中的应用或获取该终端中的信息,给用户造成极大的不便。In order to facilitate the description of the following embodiments, the technology related to the embodiment of the present invention is first described. A terminal having a low voltage automatic shutdown function is set at a voltage threshold at the factory. In general, the voltage threshold can be set. It is about 3.5V. During the use of the terminal, the operating voltage of the battery will gradually decrease. When the operating voltage of the battery drops to a preset voltage threshold, the terminal will automatically shut down. It should be noted that the operating voltage of the battery is reduced to a preset voltage threshold, which does not mean that the operating voltage of the battery is zero. At this time, there is still a part of the remaining power in the battery. Under normal circumstances, the remaining power is 5% of the full battery power. -10%. However, these remaining power may not be sufficient to support the terminal to reboot, because when the user needs to re-use the terminal, if the normal boot process is initiated, the battery in the terminal will generate a larger discharge current, resulting in the voltage of the battery in the terminal. Again lower than or equal to the preset voltage threshold, causing the terminal to shut down again. If the terminal is not charged, the user can never re-use the application in the terminal or obtain the information in the terminal, causing great inconvenience to the user.
而实际上,电池的电压不仅与电池的剩余电量相关,还与电池产生的放电电流相关,电池产生的放电电流主要是由该电池所在的终端的负载决定的,负载越大,该电池产生的放电电流越大,相对于当该电池所在的终端空载时,该电池的电压产生的电压降越大。下面列举了一组电池所在的终端空载时,电池的电压、电池在500mA恒流放电的情况下的电压与电池剩余电量的关系的测试数据。In fact, the voltage of the battery is not only related to the remaining power of the battery, but also related to the discharge current generated by the battery. The discharge current generated by the battery is mainly determined by the load of the terminal where the battery is located. The larger the load, the battery is generated. The greater the discharge current, the greater the voltage drop produced by the voltage of the battery relative to when the terminal in which the battery is located is unloaded. The following is a test data showing the relationship between the voltage of the battery, the voltage of the battery at 500 mA constant current discharge, and the remaining battery power when the terminal where the battery is located is no-load.
电池剩余电量 终端空载时电池的电压 500mA恒流放电电压Battery remaining capacity Battery voltage at terminal no load 500mA constant current discharge voltage
100%--------4.20V--------4.20V100%--------4.20V--------4.20V
90%---------4.06V---------3.97V90%---------4.06V---------3.97V
80%---------3.98V---------3.87V80%---------3.98V---------3.87V
70%---------3.92V---------3.79V70%---------3.92V---------3.79V
60%---------3.87V---------3.73V60%---------3.87V---------3.73V
50%---------3.82V---------3.68V50%---------3.82V---------3.68V
40%---------3.79V---------3.65V40%---------3.79V---------3.65V
30%---------3.77V---------3.62V30%---------3.77V---------3.62V
20%---------3.74V---------3.58V20%---------3.74V---------3.58V
10%---------3.68V---------3.51V10%---------3.68V---------3.51V
5%----------3.45V----------3.42V5%----------3.45V----------3.42V
0%----------3.00V----------3.00V0%----------3.00V----------3.00V
由上述测试数据可以得知,如果终端处于500mA恒流放电的状态,则当电压降到3.79V时,电池被认为还剩余40%的电量,而实际上,电池还剩余70%的电量,当终端重新处于小电流待机状态,即空载状态下,电池的电压会上升到3.92V,此时,对应的电池剩余电量为70%,终端的电池剩余的电量会出现反跳现象。同样地,如果终端仍处于500mA恒流放电状态,并达到电压阈值3.51V时,终端会自动关机,但实际上,若此时终端处于空载状态,则电池对应的电压为3.68V,对应的剩余电量为5-10%,终端可以在小负载的情况下工作一段时间,满足用户的需求。It can be known from the above test data that if the terminal is in a state of constant current discharge of 500 mA, when the voltage drops to 3.79 V, the battery is considered to have 40% of the remaining power, and in fact, the battery still has 70% of the remaining power. The terminal is in the small current standby state again, that is, under no-load condition, the voltage of the battery will rise to 3.92V. At this time, the corresponding remaining battery capacity is 70%, and the remaining battery power of the terminal will rebound. Similarly, if the terminal is still in the 500mA constant current discharge state and reaches the voltage threshold of 3.51V, the terminal will automatically shut down, but in fact, if the terminal is in the no-load state at this time, the corresponding voltage of the battery is 3.68V, corresponding to The remaining power is 5-10%, and the terminal can work for a period of time under a small load to meet the needs of users.
为了解决终端在低电量自动关机后,无法在低电量情况下重新开机导致的用户无法使用终端的问题。本发明实施例提出了一种重新开机的方法,应用于终端中,该方法包括:In order to solve the problem that the terminal cannot be used after the low power is automatically turned off, the user cannot use the terminal after the power is turned off. The embodiment of the present invention provides a method for rebooting, which is applied to a terminal, and the method includes:
步骤101、接收用户输入的开机指令。Step 101: Receive a power-on instruction input by a user.
其中,开机指令可以是用户触摸屏幕、按压开机键或输入指纹的操作。The boot command may be an operation in which the user touches the screen, presses the power button, or inputs a fingerprint.
步骤102、检测终端中的电池的电压值。Step 102: Detect a voltage value of a battery in the terminal.
当接收到用户输入的开机指令时,检测终端中电池的电压值,以确定终端中的电池此时的电压值是否足以支持终端的正常工作。When receiving the power-on command input by the user, the voltage value of the battery in the terminal is detected to determine whether the voltage value of the battery in the terminal is sufficient to support the normal operation of the terminal.
步骤103、当电压值低于或等于预设电压阈值时,限制预设数量的CPU(Central Processing Unit,中央处理器)核启动并降低CPU的频率至预设频率,以使得电池的电压值大于预设电压阈值。Step 103: When the voltage value is lower than or equal to the preset voltage threshold, limit a preset number of CPU (Central Processing Unit) cores to start and lower the frequency of the CPU to a preset frequency, so that the voltage value of the battery is greater than Preset voltage threshold.
其中,预设电压阈值为使终端启动低电压自动关机程序以保护终端中的电池的电压临界值。当检测到终端的电池电压值低于或等于预设电压阈值时,则可以确定此时终端处于低电量状态,此时,如果仍然使终端处于负载较大的情况下,则重新开机的过程会使电池产生较大的放电电流,使电池的电压值处于预设电压阈值之下,无法重新开机,所以可以限制预设数量的CPU核启动并降低CPU的频率至预设频率(CPU的频率指CPU的时钟频率),以降低终端的负载,进而使终端中的电池产生较小的放电电流,以降低能耗,使电池的剩余电量足以维持终端的重新开机过程。The preset voltage threshold is a voltage threshold for enabling the terminal to initiate a low voltage automatic shutdown procedure to protect the battery in the terminal. When it is detected that the battery voltage value of the terminal is lower than or equal to the preset voltage threshold, it may be determined that the terminal is in a low battery state at this time, and if the terminal is still in a large load condition, the process of restarting will be The battery generates a large discharge current, so that the voltage value of the battery is below the preset voltage threshold and cannot be restarted, so the preset number of CPU cores can be limited to start and reduce the frequency of the CPU to the preset frequency (CPU frequency refers to The CPU clock frequency) reduces the load on the terminal, which in turn causes the battery in the terminal to generate a small discharge current to reduce the power consumption, so that the remaining battery power is sufficient to maintain the terminal's restart process.
需要说明的是,限制预设数量的CPU核启动并降低CPU的频率至预设频率只是降低了终端的性能,但却可以保证终端进行重新开机,使用户在紧急情况下可以重新使用终端。并且,预设数量的CPU核以及预设频率均可以由用户根据实际需要以及终端的具体情况进行设置。It should be noted that limiting the preset number of CPU cores to start and lowering the CPU frequency to the preset frequency only reduces the performance of the terminal, but can ensure that the terminal is restarted, so that the user can reuse the terminal in an emergency. Moreover, the preset number of CPU cores and the preset frequency can be set by the user according to actual needs and the specific conditions of the terminal.
步骤104、执行开机操作。Step 104: Perform a booting operation.
可以理解的是,在执行步骤103之后,终端已具备重新开机的能力。It can be understood that after performing step 103, the terminal has the ability to reboot.
本发明实施例提供的重新开机的方法,通过接收用户输入的开机指令检测终端中的电池的电压值,当电压值低于或等于预设电压阈值时,限制预设数量的CPU核启动并降低CPU的频率至预设频率,以使得电池的电压值大于预设电压阈值,并执行开机操作,与现有技术中,重新开机的过程会使电池产生更大的放电电流,使电池的电压值再次低于预设电压阈值,导致终端无法开机,使用户无法在紧急情况下使用终端相比,在终端处于低电量重新开机的过程中,可以限制预设数量的CPU核启动并降低CPU的频率至预设频率,由此,降低了终端的负载,进而使终端中的电池产生较小的放电电流,降低了电池的能耗,使电池的剩余电量足以维持终端的重新开机过程。处于重新开机过程中的终端相当于进入了一个简化的开机系统,在该简化的开机系统中,终端中的电池不会产生导致终端重新关机的较大放电电流,用户可以在紧急情况下重新开机并使用终端。The method for rebooting according to the embodiment of the present invention detects the voltage value of the battery in the terminal by receiving a power-on command input by the user, and when the voltage value is lower than or equal to the preset voltage threshold, limiting the preset number of CPU cores to start and decrease The frequency of the CPU is to a preset frequency, so that the voltage value of the battery is greater than the preset voltage threshold, and the power-on operation is performed. In the prior art, the process of restarting causes the battery to generate a larger discharge current, so that the voltage value of the battery If the terminal is unable to be turned on again, the terminal cannot be turned on, so that the user cannot use the terminal in an emergency, and the preset number of CPU cores can be started and the CPU frequency can be reduced while the terminal is in a low power state. To the preset frequency, thereby reducing the load of the terminal, thereby causing the battery in the terminal to generate a small discharge current, reducing the energy consumption of the battery, and making the remaining power of the battery sufficient to maintain the restarting process of the terminal. The terminal in the process of restarting is equivalent to entering a simplified booting system. In the simplified booting system, the battery in the terminal does not generate a large discharging current that causes the terminal to be shut down again, and the user can restart in an emergency. And use the terminal.
可以理解的是,如果检测到终端中的电池的电压值高于预设电压值,则无需降低终端的负载也能使终端正常开机,所以在本发明实施例提供的另一种实现方式中,在上述步骤102、检测终端中的电池的电压值之后,当电压值高于预设电压阈值时,执行开机操作。It is to be understood that, in another implementation manner provided by the embodiment of the present invention, if the voltage value of the battery in the terminal is detected to be higher than the preset voltage value, the terminal may be normally turned on without lowering the load of the terminal. After detecting the voltage value of the battery in the terminal in step 102 above, when the voltage value is higher than the preset voltage threshold, the power-on operation is performed.
可以理解的是,此时,终端中的电池的剩余电量未降低到预设电压阈值,终端可以根据用户的开机指令开机,进入正常的工作状态,以保证终端的正常使用。It can be understood that, at this time, the remaining power of the battery in the terminal does not decrease to the preset voltage threshold, and the terminal can be powered on according to the user's power-on command and enter a normal working state to ensure normal use of the terminal.
为了进一步降低终端的负载情况,保证用户在紧急情况下可以使用终端,在步骤103、限制预设数量的CPU核启动并降低CPU的频率至预设频率之后,还可以进一步限制正常工作电流较大的负载的启动,基于此,步骤104、执行开机操作,包括:步骤1041至步骤1042。In order to further reduce the load condition of the terminal and ensure that the user can use the terminal in an emergency situation, after step 103, limiting the preset number of CPU cores to start and lowering the frequency of the CPU to the preset frequency, the normal working current can be further restricted. The startup of the load, based on this, step 104, performing a booting operation, including: step 1041 to step 1042.
步骤1041、根据预设启动权限启动功能硬件。Step 1041: Start the function hardware according to the preset startup permission.
其中,预设启动权限包括:允许启动和禁止启动,预设启动权限为允许启动的功能硬件为工作电流小于预设电流的功能硬件,预设启动权限为禁止启动的功能硬件为工作电流大于预设电流的功能硬件。The preset startup permission includes: enabling startup and prohibiting startup, and the preset startup permission is a function hardware that allows the startup function to be a working current less than a preset current, and the preset startup permission is a function hardware that is prohibited from being activated. Functional hardware with current.
需要说明的是,本发明实施例不限制步骤1041和步骤1042的执行顺序,本发明实施例以先执行步骤1041,后执行步骤1042为例进行说明。It should be noted that, in the embodiment of the present invention, the execution sequence of the step 1041 and the step 1042 is not limited. The embodiment of the present invention first performs step 1041, and then executes step 1042 as an example.
需要说明的是,在终端处于出厂设置阶段或在此次重新开机的过程之前,在用户对终端进行设置时,应分别检测终端中每个硬件正常运行时的工作电流,并分别确定每个硬件正常运行时的工作电流是否高于预设电流,将工作电流高于预设电流的硬件的预设启动权限设置为禁止启动,将工作电流低于预设电流的硬件的预设启动权限设置为允许启动。It should be noted that, when the terminal is in the factory setting phase or before the restarting process, when the user sets the terminal, the working current of each hardware in the terminal should be separately detected, and each hardware is determined separately. Whether the working current in normal operation is higher than the preset current, the preset starting permission of the hardware whose working current is higher than the preset current is set to prohibit starting, and the preset starting permission of the hardware whose operating current is lower than the preset current is set to Allow to start.
其中,硬件可以是射频模块、显示屏、音频模块、功率放大器。The hardware may be a radio frequency module, a display screen, an audio module, and a power amplifier.
需要说明的是,当终端中的电池的电量高于预设阈值,即终端处于正常的开机流程中时,预设启动权限为禁止启动的硬件仍然可以启动。It should be noted that, when the power of the battery in the terminal is higher than a preset threshold, that is, when the terminal is in a normal power-on process, the hardware with the preset startup permission being disabled may still be started.
例如:检测到的高清摄像时产生的电流为800 mA、标清摄像时产生的电流为600 mA、当用户使用4G网络数据业务时,产生的电流是500 mA,当用户在屏幕亮度较高时看电子书时,产生的电流是300 mA,当用户在屏幕亮度较低时看电子书时,产生的电流是150mA,假设预设电流为500mA,则当检测到电池的电压低于预设电压阈值时,允许启动的硬件为支持用户在屏幕亮度较高或较低时观看电子书的硬件,上述其余硬件的预设启动权限均为禁止启动。For example, the detected current generated by high-definition camera is 800 mA, and the current generated by standard-definition camera is 600 mA. When the user uses 4G network data service, the generated current is 500 mA, when the user sees the screen brightness is high. In the case of an e-book, the current generated is 300 mA. When the user reads the e-book when the screen brightness is low, the current generated is 150 mA. Assuming that the preset current is 500 mA, when the voltage of the battery is detected to be lower than the preset voltage threshold. When the hardware that is allowed to be started is a hardware that supports the user to view the e-book when the screen brightness is high or low, the preset boot permission of the remaining hardware is prohibited from starting.
1042、启动预设启动权限为允许启动的软件应用。1042. Start the preset startup permission as a software application that is allowed to start.
其中,软件应用可以是游戏软件或视频软件、通讯录、备忘录等。The software application may be game software or video software, address book, memo, and the like.
因游戏软件或视频软件正常工作时会产生较大的工作电流,增加电池的能耗,则禁止启动的软件应用为游戏类软件等工作电流较大的软件。When the game software or video software works normally, it will generate a large working current and increase the energy consumption of the battery. The software application that is prohibited from being started is software with a large working current such as game software.
而通讯录、备忘录等软件正常工作时产生的工作电流较小,且在紧急情况下,用户需要备通讯录、备忘录等记录重要信息的软件的概率较大,则允许启动的软件应用为备忘录类的软件。When the address book, memo and other software work normally, the working current is small, and in an emergency, if the user needs to prepare the address book, the memo, etc., the probability of the software recording the important information is large, the software application that is allowed to be started is the memo class. Software.
可以理解的是,在每一次低电量自动关机后,用户需要立即重新使用终端时,因为用户需要立即使用的应用并不相同,所以,终端可以提示用户选择在此次重新开机之后,用户需要使用那些应用,基于此,在本发明实施例提供的另一种实现方式中,如图3所示,上述步骤1041、根据预设启动权限启动功能硬件,具体可以实现为步骤10411,或者实现为步骤10412至步骤10414。Understandably, after each low-power automatic shutdown, the user needs to re-use the terminal immediately, because the application that the user needs to use immediately is not the same, so the terminal can prompt the user to select the user to use after the reboot. On the basis of the application, in another implementation manner provided by the embodiment of the present invention, as shown in FIG. 3, the foregoing step 1041, the function hardware is started according to the preset startup permission, and may be implemented as step 10411 or as a step. 10412 to step 10414.
10411、启动预设启动权限为允许启动的功能硬件。10411. Start the preset startup permission as the function hardware that is allowed to start.
可以理解的是,因为允许启动的功能硬件正常运行时的工作电流低于预设电流,所以启动预设启动权限为允许启动的功能硬件,不会使终端因电流过大而重新关机,用户可以重新使用终端完成用户最紧急的操作,如:发送短信,查看通话记录、通信录,查看记事本中的会议安排等。It can be understood that, because the working current of the function hardware that is allowed to start normally is lower than the preset current, the function of starting the preset start permission is the function hardware that is allowed to start, and the terminal is not shut down due to excessive current, the user can Re-use the terminal to complete the most urgent operations of the user, such as: send a text message, view the call history, address book, view the meeting schedule in the notebook.
10412、输出提示指令。10412. Output a prompt instruction.
其中,提示指令用于提示用户从预设启动权限为允许启动的功能硬件中选取需禁止启动的功能硬件。The prompting instruction is used to prompt the user to select the functional hardware that needs to be prohibited from starting from the function hardware that the preset startup permission is allowed to start.
需要说明的是,在每一次低电量自动关机后,用户需要立即重新使用终端时,用户需要使用的应用不一定相同,例如:在某一次终端低电量关机后,用户需要拨打电话,在另一次终端低电量关机后,用户需要查看会议记录;则为了保证终端此时的负载处于较小的状态,以支持用户可以在相对较长的时间内使用终端,终端以对话框或语音提示等形式输出提示指令,提示用户从预设启动权限为允许启动的功能硬件中选取需禁止启动的功能硬件。It should be noted that after each low-power automatic shutdown, when the user needs to re-use the terminal immediately, the application that the user needs to use is not necessarily the same. For example, after a low-power shutdown of the terminal, the user needs to make a call, and another time. After the terminal is powered off, the user needs to view the conference record. In order to ensure that the load of the terminal is in a small state, the user can use the terminal for a relatively long period of time. The terminal outputs the dialog box or voice prompt. The prompt instruction prompts the user to select the function hardware that needs to be prohibited from starting from the function hardware that the preset startup permission is allowed to start.
10413、接收用户输入的选择指令。10413. Receive a selection instruction input by a user.
其中,选择指令用于指示用户选取的禁止启动的功能硬件。The selection instruction is used to indicate the function hardware selected by the user to prohibit startup.
10414、启动预设启动权限为允许启动的功能硬件中,除用户选取的禁止启动的功能硬件之外的功能硬件。10414. The preset startup permission is a functional hardware other than the function hardware that is selected by the user and is prohibited from being activated.
需要说明的是,因为其余硬件的预设启动权限均为允许启动,则在用户禁止了某些不需要的功能硬件的启动之后,在执行开机操作的过程中,其余硬件均可以启动。It should be noted that, since the preset boot permissions of the remaining hardware are all allowed to be started, after the user prohibits the startup of some unnecessary functional hardware, the remaining hardware can be started during the booting operation.
本发明的实施例在限制预设数量的CPU核启动并降低CPU的频率至预设频率之后,还限制了工作电流较大的硬件、软件以及不被用户需要的应用的启动,进一步减少了重新开机的过程中终端中的电池产生的放电电流,更加充分地利用了电池的剩余电量,以支持用户完成最重要最紧急的操作,同时,减少了电池的充电次数,延长了电池的使用寿命。Embodiments of the present invention further limit the startup of the hardware, software, and applications that are not required by the user, after limiting the preset number of CPU cores to start and lower the frequency of the CPU to the preset frequency, further reducing the re The discharge current generated by the battery in the terminal during the startup process makes full use of the remaining battery capacity to support the user to complete the most important and most urgent operation, and at the same time, reduces the number of times the battery is charged and prolongs the service life of the battery.
对应于图1所示的方法流程,为了解决终端在低电量自动关机后,无法在低电量情况下重新开机导致的用户无法使用终端的问题。本发明实施例提出了一种重新开机的装置40,该装置40应用于终端中,如图4所示,该装置40包括:接收单元401、检测单元402和执行单元403。Corresponding to the method flow shown in FIG. 1 , in order to solve the problem that the terminal cannot be used after the low power is automatically turned off, the user cannot use the terminal after the power is turned off. The embodiment of the present invention provides a device 40 for restarting. The device 40 is applied to a terminal. As shown in FIG. 4, the device 40 includes a receiving unit 401, a detecting unit 402, and an executing unit 403.
接收单元401,设置为接收用户输入的开机指令。The receiving unit 401 is configured to receive a power-on command input by the user.
检测单元402,设置为检测终端中的电池的电压值;当电压值低于或等于预设电压阈值时,限制预设数量的中央处理器CPU核启动并降低CPU的频率至预设频率,以使得电池的电压值大于预设电压阈值。The detecting unit 402 is configured to detect a voltage value of the battery in the terminal; when the voltage value is lower than or equal to the preset voltage threshold, limiting a preset number of CPU cores to start and lower the frequency of the CPU to a preset frequency, to The voltage value of the battery is made greater than a preset voltage threshold.
执行单元403,设置为执行开机操作。The execution unit 403 is configured to perform a booting operation.
在本发明实施例提出的另一种实现方式中,所述执行单元403,还设置为当电压值高于预设电压阈值时,执行开机操作。In another implementation manner of the embodiment of the present invention, the executing unit 403 is further configured to perform a power-on operation when the voltage value is higher than the preset voltage threshold.
在本发明实施例提出的另一种实现方式中,所述执行单元403,还设置为根据预设启动权限启动功能硬件,预设启动权限包括:允许启动和禁止启动,预设启动权限为允许启动的功能硬件为工作电流小于预设电流的功能硬件,预设启动权限为禁止启动的功能硬件为工作电流大于预设电流的功能硬件。In another implementation manner of the embodiment of the present invention, the executing unit 403 is further configured to start the function hardware according to the preset startup permission, and the preset startup permission includes: enabling and prohibiting the startup, and the preset activation permission is allowed. The function hardware that is started is the function hardware whose working current is less than the preset current, and the function hardware whose preset start permission is prohibited to start is the function hardware whose working current is greater than the preset current.
在本发明实施例提出的另一种实现方式中,所述执行单元403,还设置为启动预设启动权限为允许启动的功能硬件。In another implementation manner of the embodiment of the present invention, the executing unit 403 is further configured to start the function hardware that the preset startup permission is allowed to start.
在本发明实施例提出的另一种实现方式中,所述执行单元403,还设置为输出提示指令,提示指令用于提示用户从预设启动权限为允许启动的功能硬件中选取需禁止启动的功能硬件;接收用户输入的选择指令,选择指令用于指示用户选取的禁止启动的功能硬件;启动预设启动权限为允许启动的功能硬件中,除用户选取的禁止启动的功能硬件之外的功能硬件。In another implementation manner of the embodiment of the present invention, the executing unit 403 is further configured to output a prompting instruction, where the prompting instruction is used to prompt the user to select a function hardware that is allowed to be started from a preset startup permission to be activated. Function hardware; receiving a selection instruction input by a user, the selection instruction is used to indicate a function hardware selected by the user to prohibit startup; and the function of starting the preset activation permission is a function hardware that is prohibited from being activated, except for the function hardware selected by the user. hardware.
在本发明实施例提出的另一种实现方式中,所述执行单元403,还设置为启动预设启动权限为允许启动的软件应用。In another implementation manner of the embodiment of the present invention, the executing unit 403 is further configured to start a software application that is preset to be started.
本发明实施例提供的重新开机的装置,接收单元接收用户输入的开机指令;检测单元检测终端中的电池的电压值,当电压值低于或等于预设电压阈值时,限制预设数量的CPU核启动并降低CPU的频率至预设频率,以使得电池的电压值大于预设电压阈值;执行单元执行开机操作,与现有技术中,重新开机的过程会使电池产生更大的放电电流,使电池的电压值再次低于预设电压阈值,导致终端无法开机,使用户无法在紧急情况下使用终端相比,在终端处于低电量重新开机的过程中,可以限制预设数量的CPU核启动并降低CPU的频率至预设频率,由此,降低了终端的负载,进而使终端中的电池产生较小的放电电流,降低了电池的能耗,使电池的剩余电量足以维持终端的重新开机过程。处于重新开机过程中的终端相当于进入了一个简化的开机系统,在该简化的开机系统中,终端中的电池不会产生导致终端重新关机的较大放电电流,用户可以在紧急情况下重新开机并使用终端。According to the embodiment of the present invention, the receiving unit receives the power-on command input by the user; the detecting unit detects the voltage value of the battery in the terminal, and limits the preset number of CPUs when the voltage value is lower than or equal to the preset voltage threshold. The core starts and lowers the frequency of the CPU to a preset frequency, so that the voltage value of the battery is greater than a preset voltage threshold; the execution unit performs a power-on operation, and in the prior art, the process of restarting causes the battery to generate a larger discharge current. The voltage value of the battery is again lower than the preset voltage threshold, so that the terminal cannot be turned on, so that the user cannot use the terminal in an emergency situation, and the preset number of CPU cores can be started during the process of the terminal being in a low battery power-on state. And reducing the frequency of the CPU to the preset frequency, thereby reducing the load of the terminal, thereby causing the battery in the terminal to generate a small discharge current, reducing the power consumption of the battery, and making the remaining power of the battery sufficient to maintain the restart of the terminal. process. The terminal in the process of restarting is equivalent to entering a simplified booting system. In the simplified booting system, the battery in the terminal does not generate a large discharging current that causes the terminal to be shut down again, and the user can restart in an emergency. And use the terminal.
本发明实施例还提供一种终端,如图5所示,该终端50为图4描述的装置的硬件结构示意图。其中,该终端50可包括:存储器501、处理器502、电池503、电压检测装置504以及总线505。The embodiment of the present invention further provides a terminal. As shown in FIG. 5, the terminal 50 is a hardware structure diagram of the apparatus described in FIG. The terminal 50 may include a memory 501, a processor 502, a battery 503, a voltage detecting device 504, and a bus 505.
存储器501可以是ROM(Read Only Memory,只读存储器),静态存储设备,动态存储设备或者RAM(Random Access Memory,随机存取存储器)。存储器501可以存储操作系统和其他应用程序。在通过软件或者固件来实现本发明实施例提供的技术方案时,用于实现本发明实施例提供的技术方案的程序代码保存在存储器501中,并由处理器502和电压检测装置504来执行。The memory 501 may be a ROM (Read Only Memory), a static storage device, a dynamic storage device, or a RAM (Random Access Memory). The memory 501 can store an operating system and other applications. When the technical solution provided by the embodiment of the present invention is implemented by software or firmware, the program code for implementing the technical solution provided by the embodiment of the present invention is stored in the memory 501 and executed by the processor 502 and the voltage detecting device 504.
处理器502可以采用通用的中央处理器(Central Processing Unit,CPU),微处理器,应用专用集成电路(Application Specific Integrated Circuit,ASIC),或者一个或多个集成电路,用于执行相关程序,以实现本发明实施例所提供的技术方案。The processor 502 can be a general-purpose central processing unit (CPU), a microprocessor, an application specific integrated circuit (ASIC), or one or more integrated circuits for executing related programs. The technical solution provided by the embodiment of the present invention is implemented.
总线505可包括一通路,在装置各个部件(例如存储器501、处理器502以及电压检测装置504)之间传送信息。 Bus 505 can include a path for communicating information between various components of the device, such as memory 501, processor 502, and voltage sensing device 504.
应注意,尽管图5所示的硬件仅仅示出了存储器501、处理器502、电池503、电压检测装置504以及总线505。但是在具体实现过程中,本领域的技术人员应当明白,该终端50还包含实现正常运行所必须的其他器件。同时,根据具体需要,本领域的技术人员应当明白,还可包含实现其他功能的硬件器件。It should be noted that although the hardware shown in FIG. 5 shows only the memory 501, the processor 502, the battery 503, the voltage detecting means 504, and the bus 505. However, in a specific implementation process, those skilled in the art will appreciate that the terminal 50 also includes other devices necessary to achieve normal operation. At the same time, those skilled in the art will appreciate that hardware devices that implement other functions may also be included, depending on the particular needs.
具体的,图5所示的终端50用于实现图4实施例所示的装置时,该终端50中的处理器502,用于接收用户输入的开机指令,并通知电压检测装置504进行电压检测。Specifically, when the terminal 50 shown in FIG. 5 is used to implement the device shown in the embodiment of FIG. 4, the processor 502 in the terminal 50 is configured to receive a power-on command input by the user, and notify the voltage detecting device 504 to perform voltage detection. .
电压检测装置504,用于检测终端50中的电池503的电压值;The voltage detecting device 504 is configured to detect a voltage value of the battery 503 in the terminal 50;
处理器502,还用于当电压检测装置504检测到的电压值低于或等于预设电压阈值时,限制预设数量的中央处理器CPU核启动并降低CPU的频率至预设频率,以使得电池503的电压值大于预设电压阈值。The processor 502 is further configured to: when the voltage value detected by the voltage detecting device 504 is lower than or equal to the preset voltage threshold, limit a preset number of CPU cores to start and lower the frequency of the CPU to a preset frequency, so that The voltage value of the battery 503 is greater than a preset voltage threshold.
处理器502,还用于执行开机操作。The processor 502 is further configured to perform a booting operation.
在本发明实施例提供的另一种实现方式中,处理器502,还用于当电压值高于预设电压阈值时,执行开机操作。In another implementation manner provided by the embodiment of the present invention, the processor 502 is further configured to perform a power-on operation when the voltage value is higher than the preset voltage threshold.
在本发明实施例提供的另一种实现方式中,处理器501,还用于根据预设启动权限启动功能硬件,预设启动权限包括:允许启动和禁止启动,预设启动权限为允许启动的功能硬件为工作电流小于预设电流的功能硬件,预设启动权限为禁止启动的功能硬件为工作电流大于预设电流的功能硬件。In another implementation manner provided by the embodiment of the present invention, the processor 501 is further configured to start the function hardware according to the preset startup permission, where the preset startup permission includes: enabling startup and prohibiting startup, and the preset startup permission is allowed to be started. The function hardware is a function hardware whose working current is less than the preset current, and the function hardware whose preset start permission is prohibited to start is a function hardware whose working current is greater than the preset current.
在本发明实施例提供的另一种实现方式中,处理器502,还用于启动预设启动权限为允许启动的功能硬件。In another implementation manner provided by the embodiment of the present invention, the processor 502 is further configured to start a function hardware that is preset to start permission to be enabled.
处理器502,还用于输出提示指令,提示指令用于提示用户从预设启动权限为允许启动的功能硬件中选取需禁止启动的功能硬件;接收用户输入的选择指令,选择指令用于指示用户选取的禁止启动的功能硬件;启动预设启动权限为允许启动的功能硬件中,除用户选取的禁止启动的功能硬件之外的功能硬件。The processor 502 is further configured to output a prompting instruction, where the prompting instruction is used to prompt the user to select a function hardware that is prohibited from being activated from the function hardware that is allowed to start, and to receive a selection instruction input by the user, and the selection instruction is used to indicate the user. The selected function hardware that is forbidden to start; the default startup permission is the function hardware that is allowed to be activated, except for the function hardware that the user selects to prohibit startup.
在本发明实施例提供的另一种实现方式中,处理器502,还用于启动预设权限为允许启动的软件应用。In another implementation manner provided by the embodiment of the present invention, the processor 502 is further configured to start a software application whose preset permission is allowed to be started.
本发明实施例提供的终端,首先处理器接收用户输入的开机指令,然后电压检测装置检测终端中的电池的电压值,当电压值低于或等于预设电压阈值时,处理器限制预设数量的CPU核启动并降低CPU的频率至预设频率,以使得电池的电压值大于预设电压阈值,随后处理器执行开机操作,与现有技术中,重新开机的过程会使电池产生更大的放电电流,使电池的电压值再次低于预设电压阈值,导致终端无法开机,使用户无法在紧急情况下使用终端相比,在终端处于低电量重新开机的过程中,可以限制预设数量的CPU核启动并降低CPU的频率至预设频率,由此,降低了终端的负载,进而使终端中的电池产生较小的放电电流,降低了电池的能耗,使电池的剩余电量足以维持终端的重新开机过程。处于重新开机过程中的终端相当于进入了一个简化的开机系统,在该简化的开机系统中,终端中的电池不会产生导致终端重新关机的较大放电电流,用户可以在紧急情况下重新开机并使用终端。In the terminal provided by the embodiment of the present invention, the processor first receives the power-on command input by the user, and then the voltage detecting device detects the voltage value of the battery in the terminal. When the voltage value is lower than or equal to the preset voltage threshold, the processor limits the preset number. The CPU core starts and lowers the frequency of the CPU to a preset frequency, so that the voltage value of the battery is greater than a preset voltage threshold, and then the processor performs a power-on operation. In the prior art, the process of restarting causes the battery to generate a larger battery. The discharge current causes the voltage value of the battery to be lower than the preset voltage threshold again, resulting in the terminal being unable to be turned on, so that the user cannot use the terminal in an emergency situation, and the preset number of the terminal can be limited during the process of restarting the battery at a low power level. The CPU core starts and reduces the frequency of the CPU to a preset frequency, thereby reducing the load of the terminal, thereby causing the battery in the terminal to generate a smaller discharge current, reducing the energy consumption of the battery, and making the remaining battery power sufficient to maintain the terminal. The reboot process. The terminal in the process of restarting is equivalent to entering a simplified booting system. In the simplified booting system, the battery in the terminal does not generate a large discharging current that causes the terminal to be shut down again, and the user can restart in an emergency. And use the terminal.
通过以上的实施方式的描述,所属领域的技术人员可以清楚地了解到本发明可借助软件加必需的通用硬件的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在可读取的存储介质中,如计算机的软盘,硬盘或光盘等,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本发明各个实施例所述的方法。Through the description of the above embodiments, those skilled in the art can clearly understand that the present invention can be implemented by means of software plus necessary general hardware, and of course, by hardware, but in many cases, the former is a better implementation. . Based on the understanding, the technical solution of the present invention, which is essential or contributes to the prior art, can be embodied in the form of a software product stored in a readable storage medium, such as a floppy disk of a computer. A hard disk or optical disk, etc., includes instructions for causing a computer device (which may be a personal computer, server, or network device, etc.) to perform the methods described in various embodiments of the present invention.
以上所述,仅为本发明的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本发明的保护范围之内。因此,本发明的保护范围应以所述权利要求的保护范围为准。The above is only a specific embodiment of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily think of changes or substitutions within the technical scope of the present invention. It should be covered by the scope of the present invention. Therefore, the scope of the invention should be determined by the scope of the appended claims.

Claims (10)

  1. 一种重新开机的方法,其特征在于,所述方法应用于终端中,所述方法包括:A method for rebooting, wherein the method is applied to a terminal, the method comprising:
    接收用户输入的开机指令;Receiving a power-on command input by a user;
    检测终端中的电池的电压值;Detecting a voltage value of a battery in the terminal;
    当所述电压值低于或等于所述预设电压阈值时,限制预设数量的中央处理器CPU核启动并降低CPU的频率至预设频率,以使得所述电池的电压值大于所述预设电压阈值;When the voltage value is lower than or equal to the preset voltage threshold, limiting a preset number of CPU cores to start and lower the frequency of the CPU to a preset frequency, so that the voltage value of the battery is greater than the preset Set a voltage threshold;
    执行开机操作。Perform a boot operation.
  2. 根据权利要求1所述的重新开机的方法,其特征在于,在所述检测终端中的电池的电压值之后,所述方法还包括:The method of re-booting according to claim 1, wherein after the detecting the voltage value of the battery in the terminal, the method further comprises:
    当所述电压值高于预设电压阈值时,执行开机操作。When the voltage value is higher than the preset voltage threshold, the power-on operation is performed.
  3. 根据权利要求1所述的重新开机的方法,其特征在于,所述执行开机操作,包括:The method of restarting according to claim 1, wherein the performing the booting operation comprises:
    根据预设启动权限启动功能硬件,所述预设启动权限包括:允许启动和禁止启动,所述预设启动权限为允许启动的功能硬件为工作电流小于预设电流的功能硬件,所述预设启动权限为禁止启动的功能硬件为工作电流大于预设电流的功能硬件。The function hardware is started according to the preset startup permission, and the preset startup permission includes: enabling and disabling the startup, and the preset activation permission is a functional hardware that allows the startup function hardware to be less than the preset current, the preset The function hardware whose startup permission is forbidden to start is the function hardware whose operating current is greater than the preset current.
  4. 根据权利要求3所述的重新开机的方法,其特征在于,所述根据预设启动权限启动功能硬件,包括:The method for restarting the function according to claim 3, wherein the starting the function hardware according to the preset startup permission comprises:
    启动所述预设启动权限为允许启动的功能硬件;或者,Initiating the preset boot permission as a function hardware that allows booting; or
    输出提示指令,所述提示指令用于提示用户从所述预设启动权限为允许启动的功能硬件中选取需禁止启动的功能硬件;And outputting a prompting instruction, where the prompting instruction is used to prompt the user to select, from the function hardware that is allowed to start, the function hardware that is prohibited from being activated;
    接收用户输入的选择指令,所述选择指令用于指示用户选取的禁止启动的功能硬件;Receiving a selection instruction input by the user, where the selection instruction is used to indicate a function hardware selected by the user to prohibit startup;
    启动所述预设启动权限为允许启动的功能硬件中,除所述用户选取的禁止启动的功能硬件之外的功能硬件。The preset boot permission is the function hardware of the function hardware that is allowed to be started, except the function hardware selected by the user and prohibited to be started.
  5. 根据权利要求4所述的重新开机的方法,其特征在于,所述执行开机操作,还包括:The method of rebooting according to claim 4, wherein the performing the booting operation further comprises:
    启动预设启动权限为允许启动的软件应用。Start the default launch permission for the software application that is allowed to start.
  6. 一种重新开机的装置,其特征在于,所述装置应用于终端中,所述装置包括:A device for restarting, characterized in that the device is applied to a terminal, the device comprising:
    接收单元,设置为接收用户输入的开机指令;a receiving unit, configured to receive a power-on command input by the user;
    检测单元,设置为检测终端中的电池的电压值;当所述电压值低于或等于所述预设电压阈值时,限制预设数量的中央处理器CPU核启动并降低CPU的频率至预设频率,以使得所述电池的电压值大于所述预设电压阈值;a detecting unit, configured to detect a voltage value of the battery in the terminal; when the voltage value is lower than or equal to the preset voltage threshold, limiting a preset number of CPU cores to start and lower the frequency of the CPU to a preset a frequency such that a voltage value of the battery is greater than the predetermined voltage threshold;
    执行单元,设置为执行开机操作。Execution unit, set to perform boot operation.
  7. 根据权利要求6所述的重新开机的装置,其特征在于,The device for restarting according to claim 6, wherein
    所述执行单元,还设置为当所述电压值高于预设电压阈值时,执行开机操作。The execution unit is further configured to perform a power-on operation when the voltage value is higher than a preset voltage threshold.
  8. 根据权利要求6所述的重新开机的装置,其特征在于,The device for restarting according to claim 6, wherein
    所述执行单元,还设置为根据预设启动权限启动功能硬件,所述预设启动权限包括:允许启动和禁止启动,所述预设启动权限为允许启动的功能硬件为工作电流小于预设电流的功能硬件,所述预设启动权限为禁止启动的功能硬件为工作电流大于预设电流的功能硬件。The execution unit is further configured to start the function hardware according to the preset startup permission, where the preset startup permission includes: enabling and prohibiting the startup, and the preset activation permission is a function hardware that allows the startup to be less than the preset current. The function hardware, the preset startup permission is a function hardware that prohibits starting, and the function hardware is a function hardware whose working current is greater than a preset current.
  9. 根据权利要求8所述的重新开机的装置,其特征在于,A device for restarting according to claim 8 wherein:
    所述执行单元,还设置为启动所述预设启动权限为允许启动的功能硬件;The execution unit is further configured to start the preset boot permission as a function hardware that is allowed to be started;
    所述执行单元,还设置为输出提示指令,所述提示指令用于提示用户从所述预设启动权限为允许启动的功能硬件中选取需禁止启动的功能硬件;接收用户输入的选择指令,所述选择指令用于指示用户选取的禁止启动的功能硬件;启动所述预设启动权限为允许启动的功能硬件中,除所述用户选取的禁止启动的功能硬件之外的功能硬件。The execution unit is further configured to output a prompting instruction, where the prompting instruction is used to prompt the user to select a function hardware that is prohibited from being activated from the function hardware that is allowed to be started, and to receive a selection instruction input by the user. The selection instruction is used to indicate the function hardware that is selected by the user and is prohibited from being activated; and the function hardware that is activated in the function hardware that is allowed to be started, except for the function hardware that is prohibited from being activated by the user, is activated.
  10. 根据权利要求9所述的重新开机的装置,其特征在于,A device for restarting according to claim 9, wherein:
    所述执行单元,还设置为启动预设启动权限为允许启动的软件应用。The execution unit is further configured to start a preset application permission to be a software application that is allowed to be started.
PCT/CN2016/100686 2016-08-29 2016-09-28 Method and apparatus for rebooting WO2018040177A1 (en)

Applications Claiming Priority (2)

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

Publications (1)

Publication Number Publication Date
WO2018040177A1 true WO2018040177A1 (en) 2018-03-08

Family

ID=57822535

Family Applications (1)

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

Country Status (2)

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

Cited By (1)

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

Families Citing this family (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
CN108388451B (en) * 2018-03-02 2021-08-31 深圳市知赢科技有限公司 Mobile terminal starting method and device and mobile terminal

Citations (5)

* 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
CN102866921A (en) * 2012-08-29 2013-01-09 惠州Tcl移动通信有限公司 Method and system for regulating and controlling multi-core central processing unit (CPU)
CN102883058A (en) * 2012-09-24 2013-01-16 华为终端有限公司 Startup method and terminal
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

Patent Citations (5)

* 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
CN102866921A (en) * 2012-08-29 2013-01-09 惠州Tcl移动通信有限公司 Method and system for regulating and controlling multi-core central processing unit (CPU)
CN102883058A (en) * 2012-09-24 2013-01-16 华为终端有限公司 Startup method and terminal
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 (1)

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

Also Published As

Publication number Publication date
CN106339064A (en) 2017-01-18

Similar Documents

Publication Publication Date Title
CN101673216B (en) Closing application program method and apparatus
WO2017088549A1 (en) Implementation method and system for reserving battery power of smart terminal
JP3445561B2 (en) Computer system
JP3213208B2 (en) Information processing apparatus and control method thereof
US5708820A (en) Network hibernation system for suspending and resuming operation of computer system operable in network environment in event of power failure or period of inactivity
US8887091B2 (en) Information processing apparatus, method, processor, and recording medium for determining whether information stored in a memory is incorrectly updated
WO2013133530A1 (en) Electronic device to restore mbr, method thereof, and computer-readable medium
WO2010041852A2 (en) Method and system for perpetual computing using non-volatile random access memory (nvram)
WO2018040177A1 (en) Method and apparatus for rebooting
WO2014126391A1 (en) Method and apparatus for fast booting of user device
US8195966B2 (en) Electronic device for reducing power consumption during off of computer motherboard
JP2004152304A (en) System and method for holding state data of personal computer in standby state at ac power supply failure
JPH0934577A (en) Information processor and its control method
WO2018040170A1 (en) Charging method and apparatus
JP2001298875A (en) Backup power module, and backup power unit, and computer
WO2019100593A1 (en) Television standby and startup method, television and computer-readable storage medium
WO2013081234A1 (en) Method, recording medium, and electronic device for reducing boot time
EP2843502A1 (en) Information processing device, information processing method, and program
TW201142608A (en) Multiple processors based system and method for controlling PCI-E slots
WO2021175194A1 (en) Method for timed startup of terminal, and terminal
WO2018171570A1 (en) Method for loading driver during terminal startup process and terminal device
WO2019041356A1 (en) Method, apparatus, and computer readable storage medium for handling power loss of terminal
JP4411014B2 (en) Computer and power supply backup method thereof
CN106101406B (en) Shutdown alarm triggering processing method based on mobile terminal and mobile terminal
JP2004159382A (en) Electronic apparatus

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 16914740

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 16914740

Country of ref document: EP

Kind code of ref document: A1