WO2015176283A1 - 一种电子设备启动方法及装置 - Google Patents

一种电子设备启动方法及装置 Download PDF

Info

Publication number
WO2015176283A1
WO2015176283A1 PCT/CN2014/078141 CN2014078141W WO2015176283A1 WO 2015176283 A1 WO2015176283 A1 WO 2015176283A1 CN 2014078141 W CN2014078141 W CN 2014078141W WO 2015176283 A1 WO2015176283 A1 WO 2015176283A1
Authority
WO
WIPO (PCT)
Prior art keywords
voltage value
preset
value
shutdown
shutdown voltage
Prior art date
Application number
PCT/CN2014/078141
Other languages
English (en)
French (fr)
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 华为技术有限公司
Priority to PCT/CN2014/078141 priority Critical patent/WO2015176283A1/zh
Publication of WO2015176283A1 publication Critical patent/WO2015176283A1/zh

Links

Classifications

    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/725Cordless telephones

Definitions

  • the present invention relates to the field of electronic device technologies, and in particular, to an electronic device starting method and device. Background technique
  • the device When a user operates a portable electronic device, it is often encountered that the device is forced to automatically shut down due to the low remaining battery power at some critical moments. For example, when a user is making a call using a mobile phone, the mobile phone is forced to automatically shut down because the remaining battery power is too low. In this scenario, if the user lacks charging facilities or other replaceable backup batteries, the user will not be able to deal with some urgent problems in time.
  • the present invention provides an electronic device startup method and device, which solves the problem in the prior art that once the electronic device has been automatically shut down because the remaining battery power is too low, the user will not be able to restart the electronic device that has been powered off again. , resulting in the inability to deal with some emergencies in a timely manner.
  • the specific scheme is as follows:
  • the application provides an electronic device A startup method, the method includes:
  • the value of the shutdown voltage is modified to a preset second shutdown voltage value, and the second shutdown voltage value is less than The first shutdown voltage value is greater than or equal to the preset overdischarge voltage value.
  • the method before the measuring the current voltage value of the battery, the method further includes: acquiring an emergency start command;
  • the method further includes: determining whether the duration of the emergency startup command reaches a preset time period;
  • the modifying the value of the shutdown voltage to a preset second shutdown voltage value specifically includes: The current voltage value is greater than a preset over-discharge voltage value and less than a preset first shutdown voltage value, and when the duration of the emergency start command reaches a preset time period, the value of the shutdown voltage is modified to a preset The second shutdown voltage value.
  • the method before the modifying the value of the shutdown voltage to a preset second shutdown voltage value, the method further includes:
  • the second shutdown voltage value modified to preset includes:
  • the duration of the emergency start command reaches a preset time period, and the cumulative number of the modified times is less than a preset
  • the upper limit value is used to modify the value of the shutdown voltage to a preset second shutdown voltage value.
  • the method further includes: setting the current startup mode to An emergency start mode to cause the electronic device to enter an emergency start mode;
  • the method further includes: displaying only an icon corresponding to an available function in the emergency startup mode in an interface after the booting.
  • the method further includes: setting, in the interface after the booting, an icon corresponding to an available function in the emergency startup mode as an active state icon.
  • the method further includes: setting a value of the shutdown voltage when the current voltage value is greater than or equal to the preset first shutdown voltage value The preset first shutdown voltage value.
  • the method further includes: when the current voltage value is less than or equal to the preset over-discharge voltage value, the electronic device is not activated.
  • the application provides an electronic device starting device, where the device includes:
  • a measuring unit that measures a current voltage value of the battery
  • the first determining unit is configured to determine whether the current voltage value is greater than a preset over-discharge voltage value and less than a preset first shutdown voltage value, and the first shutdown voltage value is a shutdown voltage value in a normal startup mode ;
  • a modifying unit configured to: if the current voltage value is greater than a preset over-discharge voltage value and less than a preset first shutdown voltage value, modify a value of the shutdown voltage to a preset second shutdown voltage value, where The second shutdown voltage value is less than the first shutdown voltage value and greater than or equal to the preset overdischarge voltage value.
  • the device further includes: an acquiring unit, configured to acquire an emergency start command before the current voltage value of the battery is measured; and a second determining unit, configured to: Determining whether the duration of the emergency start command reaches a preset time period before modifying the value of the shutdown voltage to a preset second shutdown voltage value;
  • the device is shut down
  • the value of the voltage is modified to a preset second shutdown voltage value.
  • the device further includes: a third determining unit, configured to: before the value of the shutdown voltage is changed to a preset second shutdown voltage value, Determining whether the cumulative number of the modifications is less than a preset upper limit value;
  • the modifying unit is specifically configured to: if the current voltage value is greater than a preset over-discharge voltage value and less than a preset first power-off voltage value, when the duration of the emergency start command reaches a preset time period, and the cumulative number of the modified times is less than a preset upper limit value, the value of the power-off voltage is modified to a preset The second shutdown voltage value.
  • the device further includes: a first executing unit, configured to: after the value of the shutdown voltage is changed to a preset second shutdown voltage value, Setting the current startup mode to an emergency startup mode to cause the electronic device to enter an emergency startup mode;
  • the device further includes: a second executing unit, configured to display only an icon corresponding to the available function in the emergency startup mode on the interface after the booting in.
  • the device further includes: a third executing unit, configured to: in the interface after the booting, an icon corresponding to an available function in the emergency startup mode, Set to the active state icon.
  • the device further includes: a first setting unit, when the current voltage value is greater than or equal to the preset first power-off voltage value, The value of the shutdown voltage is set to the preset first shutdown voltage value.
  • the device further includes: a second setting unit, when the current voltage value is less than or equal to the preset over-discharge voltage value, The electronic device is activated.
  • the electronic device starting method and device of the present application by measuring the current voltage value of the battery, if the current voltage value is greater than a preset over-discharge voltage value and less than a preset first shutdown voltage value, The value of the shutdown voltage is modified to a preset second shutdown voltage value, and the second shutdown voltage value is less than the first shutdown voltage value and greater than or equal to the preset over-discharge voltage value, by using the above method and
  • the device can reduce the value of the shutdown voltage when the electronic device has automatically shut down because the remaining battery power is too low, so that the user restarts the electronic device that has been turned off again, so as to timely handle some emergency situations.
  • Embodiment 1 is a flowchart of Embodiment 1 of an electronic device startup method according to the present application;
  • Embodiment 2 is a flowchart of Embodiment 2 of an electronic device startup method according to the present application;
  • Embodiment 3 is a flowchart of Embodiment 3 of an electronic device startup method according to the present application.
  • Embodiment 4 is a flowchart of Embodiment 4 of an electronic device startup method according to the present application.
  • FIG. 5 is a schematic diagram of an interface of the electronic device starting device according to the first embodiment of the present invention.
  • Embodiment 7 is a flowchart of Embodiment 2 of an electronic device starting device of the present application.
  • Embodiment 8 is a flowchart of Embodiment 3 of an electronic device starting device of the present application.
  • Embodiment 9 is a flowchart of Embodiment 4 of an electronic device starting device of the present application.
  • FIG. 10 is a structural diagram of an electronic device of the present application. detailed description
  • the present application discloses an electronic device startup method and device.
  • the shutdown voltage is The value of the method is modified to a preset second power-off voltage value, and the second power-off voltage value is less than the first power-off voltage value and greater than or equal to the preset over-discharge voltage value.
  • the electronic device has automatically shut down because the remaining battery power is too low, the value of the shutdown voltage is turned down, so that the user restarts the electronic device that has been turned off again, so as to timely handle some emergency situations.
  • FIG. 1 is a schematic diagram of a specific process of Embodiment 1 of an electronic device startup method according to the present application. As shown in FIG. 1, the method may include:
  • step S102 Determine whether the current voltage value is greater than a preset over-discharge voltage value and less than a preset first shutdown voltage value, when the current voltage value is greater than a preset over-discharge voltage value and less than a preset first shutdown At the voltage value, step S103 is performed.
  • the over-discharge voltage value is a voltage when the battery voltage is put to a predetermined value
  • the first shutdown voltage value refers to a battery voltage value when the existing electronic device is turned off
  • the over-discharge voltage The value and the first shutdown voltage value are all preset in an internal program of the electronic device. Under normal circumstances, in order to ensure the service life of the electronic device battery, the first shutdown voltage value is set higher than the overdischarge voltage value.
  • the preset over-discharge voltage value and the first shutdown voltage value may be different depending on the battery used, and the present embodiment does not impose any limitation.
  • S103 Modify the value of the shutdown voltage to a preset second shutdown voltage value.
  • the electronic device has two startup modes, that is, normal.
  • the startup mode and the emergency startup mode wherein the normal startup mode is a mode in which the battery voltage of the electronic device is greater than the first shutdown voltage.
  • the shutdown voltage value is the first shutdown voltage value
  • the emergency startup mode is in the electronic mode. a mode in which the battery voltage of the device is lower than the first power-off voltage.
  • the power-off voltage value is a second power-off voltage value
  • the second power-off voltage value is preset in an internal program of the electronic device, and Less than the first shutdown voltage value and greater than or equal to the preset over-discharge voltage value.
  • the value can be preset to be equal to the overdischarge voltage value. Therefore, when the current voltage value is less than the preset first shutdown voltage value, the value of the shutdown voltage is modified to a preset second shutdown voltage value, and the electronic device enters an emergency startup mode, when the current voltage is When the value is greater than or equal to the preset first shutdown voltage value, the value of the shutdown voltage is set to the preset first shutdown voltage value, and the electronic device enters the normal startup mode.
  • the embodiment discloses an electronic device startup method.
  • the value of the shutdown voltage is modified.
  • a preset second shutdown voltage value so that the electronic device enters an emergency startup mode
  • the first shutdown voltage value is a value of a shutdown voltage in a normal startup mode
  • the second shutdown voltage value is a shutdown voltage a value in the emergency start mode
  • the second shutdown voltage value is less than the first shutdown voltage value and greater than or equal to the preset over-discharge voltage value
  • FIG. 2 is a schematic diagram of a specific process of Embodiment 2 of an electronic device startup method according to the present application. As shown in Figure 2, the method can include:
  • the emergency start command may be generated by the user by triggering a specific button on the electronic device.
  • the existing button for controlling the power on of the electronic device such as a Power button
  • the embodiment may adopt a combination.
  • the form of a button by triggering a combination of a plurality of existing function buttons on the electronic device, such as any combination of three buttons of Power, Volume Down, and Volume Up.
  • a dedicated function button can also be added to the electronic device as a button for controlling the emergency start of the electronic device, and when the user triggers the button, the emergency start command can be generated. Therefore, in the embodiment, no limitation is imposed on how the emergency start command is generated.
  • S201 Measure the current voltage value of the battery.
  • the current voltage value of the battery is measured in response to the emergency start command.
  • step S202 Determine whether the current voltage value is greater than a preset over-discharge voltage value and less than a preset first shutdown voltage value, when the current voltage value is greater than a preset over-discharge voltage value and less than a preset first shutdown At the voltage value, step S203 is performed.
  • This step is similar to the step S102 in the method embodiment 1, and is not described in detail in this embodiment. For details, refer to the related description in the method embodiment 1.
  • step S203 Determine whether the duration of the emergency start command reaches a preset time period. When the duration of the emergency start command reaches a preset time period, step S204 is performed.
  • the step of determining whether the duration of the emergency start command reaches a preset time period is a continuous process, that is, after receiving the emergency start command, it begins to judge its duration, when the command In the case of uninterrupted, the subsequent steps are executed only when the duration reaches the preset time period. If the emergency start command is interrupted during the judgment process, the action of determining the duration is stopped, and corresponding steps are performed. It will not continue to execute.
  • the value of the duration of the emergency start command is not limited in this embodiment.
  • S204 Modify the value of the shutdown voltage to a preset second shutdown voltage value.
  • This step is similar to the step S103 in the method embodiment 1, and is not described in detail in this embodiment. For details, refer to the related description in the method embodiment 1.
  • FIG. 3 is a schematic flowchart of a third embodiment of an electronic device startup method according to the present application. As shown in Figure 3, the method can include:
  • This step is similar to the step S200 in the method embodiment 2, and is not described in detail in this embodiment. For details, refer to the related description in the method embodiment 2.
  • S301 Measure the current voltage value of the battery. After obtaining the emergency start command, the current voltage value of the battery is measured in response to the emergency start command.
  • step S302 Determine whether the current voltage value is greater than a preset over-discharge voltage value and less than a preset first shutdown voltage value, when the current voltage value is greater than a preset over-discharge voltage value and less than a preset first shutdown At the voltage value, step S303 is performed.
  • This step is similar to the step S102 in the method embodiment 1, and is not described in detail in this embodiment. For details, refer to the related description in the method embodiment 1.
  • step S303 Determine whether the duration of the emergency start command reaches a preset time period. When the duration of the emergency start command reaches a preset time period, step S304 is performed.
  • This step is similar to the step S203 in the method embodiment 2, and is not described in detail in this embodiment. For details, refer to the related description in the method embodiment 2.
  • step S304 Determine whether the cumulative number of times the electronic device modifies the shutdown voltage value is less than a preset upper limit value. When the cumulative number of times the electronic device modifies the shutdown voltage value is less than the preset upper limit value, step S305 is performed.
  • the power-off voltage value of the electronic device is modified multiple times, the battery life of the electronic device is affected. Therefore, the power-off voltage value can be modified only a limited time during the entire life cycle of the electronic device, that is, only Can support users to deal with some emergencies. Therefore, whenever the shutdown voltage value of the electronic device is modified once, the electronic device enters the emergency startup mode once, and the cumulative number of the modified shutdown voltage value is incremented by one, and the cumulative number of times the electronic device modifies the shutdown voltage value is equal to the preset. At the upper limit, the electronic device will no longer be activated.
  • S305 Modify the value of the shutdown voltage to a preset second shutdown voltage value.
  • This step is similar to the step S103 in the method embodiment 1, and is not described in detail in this embodiment. For details, refer to the related description in the method embodiment 1.
  • FIG. 4 is a schematic flowchart of a fourth embodiment of an electronic device startup method according to the present application. As shown in FIG. 4, the method may include: S400: Obtain an emergency start command.
  • This step is similar to the step S200 in the method embodiment 2, and is not described in detail in this embodiment. For details, refer to the related description in the method embodiment 2.
  • the current voltage value of the battery is measured in response to the emergency start command.
  • Step S402 Determine whether the current voltage value is greater than a preset over-discharge voltage value and less than a preset first shutdown voltage value, when the current voltage value is greater than a preset over-discharge voltage value and less than a preset first shutdown In the case of the voltage value, step S403 is performed. When the current voltage value is less than the preset over-discharge voltage value, step S408 is performed, and when the current voltage value is greater than or equal to the preset first power-off voltage value, performing Step S409.
  • step S403 determining whether the duration of the emergency start command reaches a preset time period. When the duration of the emergency start command reaches a preset time period, step S404 is performed, when the duration of the emergency start command does not reach the preset When the time period is set, step S408 is performed.
  • step S404 determining whether the cumulative number of times the electronic device modifies the shutdown voltage value is less than a preset upper limit value. When the cumulative number of times the electronic device modifies the shutdown voltage value is less than a preset upper limit value, step S405 is performed. When the cumulative number of times the electronic device modifies the shutdown voltage value is equal to the preset upper limit value, step S408 is performed.
  • S405 Modify the value of the shutdown voltage to a preset second shutdown voltage value.
  • S406 Set the current startup mode to the emergency startup mode, and turn off other functions besides the functions available in the preset emergency startup mode.
  • the emergency start mode only some functions of the electronic device can be used, and other functions are turned off to reduce the power consumption of the electronic device.
  • a mobile phone when the mobile phone is activated in an emergency, it can be set to use only the short message and call function of the mobile phone.
  • the interface contains a dial and a virtual button to enter the SMS editing mode.
  • the icon corresponding to all functions is displayed in the interface after booting, and will be in the emergency
  • the icon corresponding to the available function in the startup mode is set to the active state icon, and the icon corresponding to other functions than the available functions in the emergency startup mode is set as the inactive state icon.
  • S408 The current startup mode is not set, so that the electronic device is not activated.
  • S409 Set the value of the shutdown voltage to the preset first shutdown voltage value, and set the current startup mode to the normal startup mode, so that the electronic device enters the normal startup mode.
  • the functions other than the functions available in the emergency start mode set in advance are turned off, and the power consumption of the electronic device can be further reduced, and the use time of the electronic device can be increased.
  • the boot interface only icons corresponding to the available functions in the emergency start mode are displayed in the boot interface, or icons corresponding to all functions are displayed in the boot interface, and the boot interface is An icon corresponding to the available function in the emergency start mode is set as an active state icon, and an icon corresponding to a function other than the available function in the emergency start mode is set as an inactive icon, which can prevent the user from being
  • the application of other electrical energy consuming electronic devices can further extend the duration of use of the electronic device.
  • FIG. 6 is a schematic diagram of a specific structure of an embodiment 1 of an electronic device starting device according to the present application.
  • the device can include:
  • the measuring unit 11 measures the current voltage value of the battery.
  • the first determining unit 12 is configured to determine whether the current voltage value is greater than a preset over-discharge voltage value and less than a preset first shutdown voltage value, and the first shutdown voltage value is a shutdown voltage in a normal startup mode. value.
  • the modifying unit 13 is configured to: if the current voltage value is greater than a preset over-discharge voltage value and less than a preset first shutdown voltage value, modify a value of the shutdown voltage to a preset second shutdown voltage value, The second shutdown voltage value is less than the first shutdown voltage value and greater than or equal to the preset overdischarge voltage value.
  • FIG. 7 is a schematic structural diagram of Embodiment 2 of an electronic device starting device according to the present application. As shown in Figure 7, the device can To include:
  • the obtaining unit 20 is configured to obtain an emergency start command before the current voltage value of the battery is measured.
  • Measuring unit 21 measuring a current voltage value of the battery
  • the first determining unit 22 is configured to determine whether the current voltage value is greater than a preset over-discharge voltage value and less than a preset first shutdown voltage value, and the first shutdown voltage value is a shutdown voltage in a normal startup mode. value.
  • the second determining unit 23 is configured to determine whether the duration of the emergency start command reaches a preset time period before modifying the value of the power-off voltage to a preset second power-off voltage value.
  • the modifying unit 24 if the current voltage value is greater than the preset over-discharge voltage value and less than the preset first shutdown voltage value, and the duration of the emergency start command reaches a preset time period, the shutdown voltage is taken The value is modified to a preset second shutdown voltage value.
  • the first setting unit 25 is configured to set a value of the shutdown voltage to the preset first shutdown voltage value when the current voltage value is greater than or equal to the preset first shutdown voltage value, and The current boot mode is set to the normal boot mode to bring the electronic device into the normal boot mode.
  • FIG. 8 is a schematic structural diagram of Embodiment 3 of an electronic device starting device according to the present application. As shown in Figure 8, the device can include:
  • the obtaining unit 30 is configured to obtain an emergency start command before the current voltage value of the battery is measured.
  • Measuring unit 31 measuring a current voltage value of the battery
  • the first determining unit 32 is configured to determine whether the current voltage value is greater than a preset over-discharge voltage value and less than a preset first shutdown voltage value, and the first shutdown voltage value is a shutdown voltage in a normal startup mode. value.
  • the second determining unit 33 is configured to determine whether the duration of the emergency start command reaches a preset time period before modifying the value of the shutdown voltage to the preset second power-off voltage value.
  • a third determining unit 34 configured to: when the duration of the emergency start command reaches a preset time After the segment, it is determined whether the cumulative number of times the electronic device modifies the shutdown voltage value is less than a preset upper limit value.
  • the modifying unit 35 is specifically configured to: if the cumulative number of times the electronic device modifies the shutdown voltage value is less than a preset upper limit value, modify the value of the shutdown voltage to a preset second shutdown voltage value, and the current startup mode Set to emergency start mode to put the electronic device into emergency start mode.
  • the first setting unit 36 is configured to set a value of the shutdown voltage to the preset first shutdown voltage value when the current voltage value is greater than or equal to the preset first shutdown voltage value, and The current boot mode is set to the normal boot mode to bring the electronic device into the normal boot mode.
  • the second setting unit 37 is configured to not set the current startup mode when the current voltage value is less than or equal to the preset over-discharge voltage value, so as to not activate the electronic device.
  • FIG. 9 is a schematic structural diagram of Embodiment 4 of an electronic device starting device according to the present application. As shown in Figure 9, the device can include:
  • the obtaining unit 40 is configured to obtain an emergency start command before the current voltage value of the battery is measured.
  • Measuring unit 41 measuring a current voltage value of the battery
  • the first determining unit 42 is configured to determine whether the current voltage value is greater than a preset over-discharge voltage value and less than a preset first shutdown voltage value, and the first shutdown voltage value is a shutdown voltage in a normal startup mode. value.
  • the second determining unit 43 is configured to determine whether the duration of the emergency start command reaches a preset time period before modifying the value of the shutdown voltage to the preset second power-off voltage value.
  • the third determining unit 44 is configured to determine, after the duration of the emergency start command reaches a preset time period, whether the cumulative number of times the electronic device modifies the shutdown voltage value is less than a preset upper limit value.
  • the modifying unit 45 is specifically configured to: if the cumulative number of times the electronic device modifies the shutdown voltage value is less than a preset upper limit value, modify the value of the shutdown voltage to a preset second shutdown voltage value, and the current startup mode Set to emergency start mode to put the electronic device into emergency start mode.
  • the first executing unit 46 is configured to set the current startup mode to an emergency startup mode after the value of the shutdown voltage is modified to a preset second shutdown voltage value, so that the electronic device enters an emergency startup mode. When the electronic device enters the emergency start mode, the functions other than the functions available in the emergency start mode set in advance are turned off.
  • the second executing unit 47 is configured to display only the icon corresponding to the available functions in the emergency start mode in the interface after the booting.
  • a third executing unit 48 configured to set, in the interface after the booting, an icon corresponding to an available function in the emergency startup mode as an active state icon, and the function other than the available function in the emergency startup mode The icon corresponding to other functions is set to the inactive icon.
  • the first setting unit 49 is configured to set a value of the shutdown voltage to the preset first shutdown voltage value when the current voltage value is greater than or equal to the preset first shutdown voltage value, and The current boot mode is set to the normal boot mode to bring the electronic device into the normal boot mode.
  • the second setting unit 50 is configured to not set the current startup mode when the current voltage value is less than or equal to the preset over-discharge voltage value, so as to not activate the electronic device.
  • the embodiment of the present application further provides an electronic device, which may be a notebook computer, a tablet computer, a mobile phone, a digital camera, a video camera, a portable DVD, a PAD, an MP3, an MP4, a GPS.
  • the electronic device can implement the method provided by the embodiment corresponding to FIG. 1 to FIG. 4 above.
  • the electronic device 700 includes:
  • the receiver 710, the processor 720, and the memory 730 complete communication with each other via the bus 740.
  • the receiver 710 is configured to receive an emergency start command.
  • the processor 720 is configured to execute the program 732.
  • program 732 can include program code, the program code including an electronic device enable command.
  • the processor 720 may be a central processing unit CPU, or an application specific integrated circuit (ASIC), or one or more integrated circuits configured to implement the embodiments of the present application.
  • ASIC application specific integrated circuit
  • the memory 730 is configured to store the program 732.
  • Memory 730 may include high speed RAM memory and may also include non-volatile memory, such as at least one disk storage.
  • the processor 720 calls the program 732 in the memory 730 via the communication bus 740 to implement the above method in conjunction with the receiver 710 or the like.
  • the various embodiments in the specification are described in a progressive manner, and each embodiment focuses on differences from other embodiments, and the same similar parts between the various embodiments may be referred to each other.
  • the description is relatively simple, and the relevant part can be referred to the method part.
  • the steps of a method or algorithm described in connection with the embodiments disclosed herein can be implemented directly in hardware, a software module executed by a processor, or a combination of both.
  • the software module can be placed in random access memory (RAM), memory, read only memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, removable disk, CD-ROM, or technical field. Any other form of storage medium known.

Landscapes

  • Engineering & Computer Science (AREA)
  • Power Engineering (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Charge And Discharge Circuits For Batteries Or The Like (AREA)

Abstract

一种电子设备启动方法及装置。所述方法包括:通过测量电池的当前电压值,如果当前电压值大于预设的过放电压值且小于预设的第一关机电压值,将关机电压的取值修改为预设的第二关机电压值,所述第二关机电压值小于所述第一关机电压值并大于或等于所述预设的过放电压值。采用上述方法或装置,能够在电子设备因为电池的剩余电量过低已经自动关机时,调小关机电压的值,从而使得用户再次重新启动已经关机的电子设备,以便及时处理一些紧急情况。

Description

一种电子设备启动方法及装置
技术领域
本发明涉及电子设备技术领域, 尤其涉及一种电子设备启动方法及装置。 背景技术
随着全球经济的快速发展,人们生活水平的不断提高,人们经常使用的便 携式的电子设备也越来越多。 如, 笔记本电脑、 平板电脑、 手机、 数码相机、 摄像机、 便携式 DVD、 PAD, MP3、 MP4、 GPS等。 与传统的电子设备不同, 这些便携式的电子设备主要是借助于电池所提供的电量进行工作,但是, 由于 电池仅能提供有限的电量, 因此,便携式的电子设备的工作时间也就会受到相 应的限制。
当用户操作便携式的电子设备时,会经常遇到在一些关键时刻设备由于电 池的剩余电量过低而被迫自动关机的场景。例如, 当用户正在利用手机打电话 时, 由于电池的剩余电量过低而使手机被迫自动关机。 在这种场景下, 如果用 户身边缺乏充电设施或者其他可替换的备用电池,就会导致用户无法及时处理 一些紧急问题。
在现有技术中,大部分电子设备在低电量的状态下所釆取的措施是关闭某 些工作模块(如 LCD背光灯), 这样, 通过更加省电的方式来进一步延长电子 设备的工作时间。 但是, 即使釆用上述方式, 也仅仅是保证电子设备在低电量 的状态下工作时间被延长,而一但电子设备因为电池的剩余电量过低已经自动 关机时, 用户将无法再次重新启动已经关机的电子设备, 因此, 用户仍然无法 及时处理一些紧急情况。 发明内容
有鉴于此,本发明提供一种电子设备启动方法及装置,以解决现有技术中, 一但电子设备因为电池的剩余电量过低已经自动关机时,用户将无法再次重新 启动已经关机的电子设备, 导致无法及时处理一些紧急情况的问题。其具体方 案如下:
根据本申请的第一方面的第一种可能的实现方式,本申请提供一种电子设 备启动方法,, 所述方法包括:
测量电池的当前电压值;
判断所述当前电压值是否大于预设的过放电压值且小于预设的第一关机 电压值, 所述第一关机电压值为在正常启动模式下的关机电压值;
如果所述当前电压值大于预设的过放电压值且小于预设的第一关机电压 值,将关机电压的取值修改为预设的第二关机电压值, 所述第二关机电压值小 于所述第一关机电压值并大于或等于所述预设的过放电压值。
根据本申请的第一方面的第二种可能的实现方式,在所述测量电池的当前 电压值之前, 所述方法还包括, 获取紧急启动命令;
在所述将关机电压的取值修改为预设的第二关机电压值之前,所述方法还 包括, 判断所述紧急启动命令的持续时间是否达到预设时间段;
则所述如果所述当前电压值大于预设的过放电压值且小于预设的第一关 机电压值, 所述将关机电压的取值修改为预设的第二关机电压值具体包括, 如果所述当前电压值大于预设的过放电压值且小于预设的第一关机电压 值,且所述紧急启动命令的持续时间达到预设时间段时,将关机电压的取值修 改为预设的第二关机电压值。
根据本申请的第一方面的第三种可能的实现方式,在所述将关机电压的取 值修改为预设的第二关机电压值之前, 所述方法还包括:
判断所述修改的累计次数是否小于预先设置的上限值;
则所述如果所述当前电压值大于预设的过放电压值且小于预设的第一关 机电压值, 且所述紧急启动命令的持续时间达到预设时间段时,将关机电压的 取值修改为预设的第二关机电压值具体包括:
如果所述当前电压值大于预设的过放电压值且小于预设的第一关机电压 值, 所述紧急启动命令的持续时间达到预设时间段时,且所述修改的累计次数 小于预先设置的上限值, 则将关机电压的取值修改为预设的第二关机电压值。
根据本申请的第一方面的第四种可能的实现方式,在所述将关机电压的取 值修改为预设的第二关机电压值之后, 所述方法还包括, 将当前的启动模式设 置为紧急启动模式, 以便使所述电子设备进入紧急启动模式;
当所述电子设备进入紧急启动模式时,关闭除预先设置的紧急启动模式下 的可用功能之外的其他功能。 根据本申请的第一方面的第五种可能的实现方式, 所述方法还包括: 只将 与所述紧急启动模式下的可用功能对应的图标显示在开机后的界面中。
根据本申请的第一方面的第六种可能的实现方式, 所述方法还包括: 将开机后的界面中, 在所述紧急启动模式下的可用功能对应的图标,设置 为激活态图标。
根据本申请的第一方面的第五种可能的实现方式, 所述方法还包括: 当所 述当前电压值大于或等于所述预设的第一关机电压值时,将关机电压的取值设 置为所述预设的第一关机电压值。
根据本申请的第一方面的第五种可能的实现方式, 所述方法还包括: 当所 述当前电压值小于或等于所述预设的过放电压值时, 不启动所述电子设备。
根据本申请的第二方面的第一种可能的实现方式,本申请提供一种电子设 备启动装置, 所述装置包括:
测量单元, 测量电池的当前电压值;
第一判断单元,用于判断所述当前电压值是否大于预设的过放电压值且小 于预设的第一关机电压值,所述第一关机电压值为在正常启动模式下的关机电 压值;
修改单元,用于如果所述当前电压值大于预设的过放电压值且小于预设的 第一关机电压值,将关机电压的取值修改为预设的第二关机电压值, 所述第二 关机电压值小于所述第一关机电压值并大于或等于所述预设的过放电压值。
根据本申请的第二方面的第二种可能的实现方式, 所述装置还包括: 获取单元, 用于在所述测量电池的当前电压值之前, 获取紧急启动命令; 第二判断单元,用于在将关机电压的取值修改为预设的第二关机电压值之 前, 判断所述紧急启动命令的持续时间是否达到预设时间段;
则修改单元,具体用于如果所述当前电压值大于预设的过放电压值且小于 预设的第一关机电压值, 且所述紧急启动命令的持续时间达到预设时间段时, 将关机电压的取值修改为预设的第二关机电压值。
根据本申请的第二方面的第三种可能的实现方式, 所述装置还包括: 第三判断单元,用于在所述将关机电压的取值修改为预设的第二关机电压 值之前, 判断所述修改的累计次数是否小于预先设置的上限值;
则所述修改单元,具体用于如果当前电压值大于预设的过放电压值且小于 预设的第一关机电压值, 所述紧急启动命令的持续时间达到预设时间段时,且 所述修改的累计次数小于预先设置的上限值,则将关机电压的取值修改为预设 的第二关机电压值。
根据本申请的第二方面的第四种可能的实现方式, 所述装置还包括: 第一执行单元,用于在所述将关机电压的取值修改为预设的第二关机电压 值之后,将当前的启动模式设置为紧急启动模式, 以便使所述电子设备进入紧 急启动模式;
当所述电子设备进入紧急启动模式时,关闭除预先设置的紧急启动模式下 的可用功能之外的其他功能。
根据本申请的第二方面的第五种可能的实现方式, 所述装置还包括: 第二执行单元,用于只将与所述紧急启动模式下的可用功能对应的图标显 示在开机后的界面中。
根据本申请的第二方面的第六种可能的实现方式, 所述装置还包括: 第三执行单元, 用于将开机后的界面中,在所述紧急启动模式下的可用功 能对应的图标, 设置为激活态图标。
根据本申请的第二方面的第七种可能的实现方式, 所述装置还包括: 第一设置单元,用于当所述当前电压值大于或等于所述预设的第一关机电 压值时, 将关机电压的取值设置为所述预设的第一关机电压值。
根据本申请的第二方面的第八种可能的实现方式, 所述装置还包括: 第二设置单元,用于当所述当前电压值小于或等于所述预设的过放电压值 时, 不启动所述电子设备。 从上述的技术方案可以看出, 本申请的电子设备启动方法及装置, 通过测 量电池的当前电压值,如果当前电压值大于预设的过放电压值且小于预设的第 一关机电压值,将关机电压的取值修改为预设的第二关机电压值, 所述第二关 机电压值小于所述第一关机电压值并大于或等于所述预设的过放电压值,通过 上述方法及装置, 能够在电子设备因为电池的剩余电量过低已经自动关机时, 调小关机电压的值,从而使得用户再次重新启动已经关机的电子设备, 以便及 时处理一些紧急情况。 附图说明
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施 例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地, 下面描述 中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付 出创造性劳动的前提下, 还可以根据这些附图获得其他的附图。
图 1为本申请的电子设备启动方法实施例 1的流程图;
图 2为本申请的电子设备启动方法实施例 2的流程图;
图 3为本申请的电子设备启动方法实施例 3的流程图;
图 4为本申请的电子设备启动方法实施例 4的流程图;
图 5为本申请的一种紧急启动模式下手机开机后的界面示意图; 图 6为本申请的电子设备启动装置实施例 1的流程图;
图 7为本申请的电子设备启动装置实施例 2的流程图;
图 8为本申请的电子设备启动装置实施例 3的流程图;
图 9为本申请的电子设备启动装置实施例 4的流程图;
图 10为本申请的电子设备的结构图。 具体实施方式
为使得本发明的发明目的、 特征、 优点能够更加的明显和易懂, 下面将结 合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、 完整地描 述, 显然, 下面所描述的实施例仅仅是本发明一部分实施例, 而非全部的实施 例。基于本发明中的实施例, 本领域普通技术人员在没有做出创造性劳动前提 下所获得的所有其它实施例, 都属于本发明保护的范围。
本发明的说明书和权利要求书及上述附图中的术语 "第一"、 "第二"、 "第 三" "第四" 等 (如果存在)是用于区别类似的对象, 而不必用于描述特定的 顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换, 以便这里 描述的本发明的实施例例如能够以除了在这里图示或描述的那些以外的顺序 实施。 此外, 术语 "包括" 和 "具有" 以及他们的任何变形, 意图在于覆盖不 排他的包含, 例如, 包含了一系列步骤或单元的过程、 方法、 ***、 产品或设 备不必限于清楚地列出的那些步骤或单元,而是可包括没有清楚地列出的或对 于这些过程、 方法、 产品或设备固有的其它步骤或单元。 由背景技术可知,现有技术中, 一旦电子设备因为电池的剩余电量过低已 经自动关机时, 用户将无法再次重新启动已经关机的电子设备, 导致无法及时 处理一些紧急情况。
为此, 本申请公开了一种电子设备启动方法及装置,通过测量电池的当前 电压值, 如果当前电压值大于预设的过放电压值且小于预设的第一关机电压 值,将关机电压的取值修改为预设的第二关机电压值, 所述第二关机电压值小 于所述第一关机电压值并大于或等于所述预设的过放电压值,通过上述方法及 装置, 能够在电子设备因为电池的剩余电量过低已经自动关机时, 调小关机电 压的值,从而使得用户再次重新启动已经关机的电子设备, 以便及时处理一些 紧急情况。
有关于上述电子设备启动方法的具体流程以及上述电子设备启动装置的 具体结构将通过以下实施例进行详细说明。 请参阅图 1 , 图 1为本申请的一种电子设备启动方法实施例 1的具体流程 示意图。 如图 1所示, 该方法可以包括:
S101 : 测量电池的当前电压值。
S102:判断所述当前电压值是否大于预设的过放电压值且小于预设的第一 关机电压值,当所述当前电压值大于预设的过放电压值且小于预设的第一关机 电压值时, 执行步骤 S 103。
需要说明的是, 所述过放电压值为电池电压放到规定的值时的电压, 所述 第一关机电压值指的是现有的电子设备关机时其电池电压值,所述过放电压值 以及所述第一关机电压值都是在电子设备的内部程序中预先设置好的。一般情 况下, 为了保证电子设备电池的使用寿命,将第一关机电压值设置的高于过放 电压值。
进一步需要说明的是, 针对不同的电子设备, 由于所用电池的不同, 其预 设的过放电压值以及第一关机电压值也可以不同,对此, 本实施例不做任何限 制。
S 103: 将关机电压的取值修改为预设的第二关机电压值。
需要说明的是, 在本实施例中, 电子设备是具有两种启动模式的, 即正常 启动模式和紧急启动模式, 其中,正常启动模式即在电子设备的电池电压大于 第一关机电压的情况下开机的模式, 此时, 关机电压值为第一关机电压值, 紧 急启动模式即在电子设备的电池电压小于第一关机电压的情况下开机的模式, 此时, 关机电压值为第二关机电压值, 所述第二关机电压值是在电子设备的内 部程序中预先设置好的,其小于所述第一关机电压值并大于或等于所述预设的 过放电压值。 为保证电子设备紧急启动后的使用时间达到最长, 该值可预设为 与过放电压值相等。 因此, 当所述当前电压值小于所述预设的第一关机电压值 时,将关机电压的取值修改为预设的第二关机电压值, 电子设备进入紧急启动 模式, 当所述当前电压值大于或等于所述预设的第一关机电压值时,将关机电 压的取值设置为所述预设的第一关机电压值, 电子设备进入正常启动模式。
本实施例公开了一种电子设备启动方法,通过测量电池的当前电压值,如 果当前电压值大于预设的过放电压值且小于预设的第一关机电压值,将关机电 压的取值修改为预设的第二关机电压值,以便使所述电子设备进入紧急启动模 式, 所述第一关机电压值为关机电压在正常启动模式下的值, 所述第二关机电 压值为关机电压在紧急启动模式下的值,且所述第二关机电压值小于所述第一 关机电压值并大于或等于所述预设的过放电压值,通过上述方法, 能够在电子 设备因为电池的剩余电量过低已经自动关机时, 调小关机电压的值,从而使得 用户再次重新启动已经关机的电子设备, 以便及时处理一些紧急情况。 为了更好的理解本发明实施例中的技术方案, 请参阅图 2, 图 2为本申请 的一种电子设备启动方法实施例 2的具体流程示意图。如图 2所示, 该方法可 以包括:
S200: 获取紧急启动命令。
需要说明的是,所述紧急启动命令可以由用户通过触发电子设备上的特定 按键而产生, 为了区别于现有的用于控制电子设备开机的按键(比如 Power 键), 本实施例可以采用组合按键的形式, 通过触发电子设备上多个已有的功 能按键所构成的组合键, 比如 Power、 Volume Down、 Volume Up这三个按键 的任意组合。 另外, 也可以在电子设备上增加一个专用功能按键作为用于控制 电子设备紧急启动的按键, 当用户触发该按键的时候, 即可产生所述紧急启动 命令。 因此, 对于紧急启动命令如何产生, 本实施例不做任何限制。 S201 : 测量电池的当前电压值。
在获取紧急启动命令之后, 响应于所述紧急启动命令, 测量电池的当前电 压值。
S202:判断所述当前电压值是否大于预设的过放电压值且小于预设的第一 关机电压值,当所述当前电压值大于预设的过放电压值且小于预设的第一关机 电压值时, 执行步骤 S203。
该步骤与方法实施例 1中的步骤 S102为相似步骤, 本实施例不再赘述, 具体请参见方法实施例 1中的相关描述。
S203: 判断所述紧急启动命令的持续时间是否达到预设时间段, 当所述紧 急启动命令的持续时间达到预设时间段时, 执行步骤 S204。
需要说明的是,判断所述紧急启动命令的持续时间是否达到预设时间段的 步骤是一个持续的过程, 也就是说, 在收到紧急启动命令后, 就开始判断其持 续时间, 当该命令未中断的情况下, 只有当其持续时间达到预设时间段时, 才 执行后续步骤, 如果在判断过程中, 所述紧急启动命令中断, 则停止上述判断 持续时间的动作, 相应的, 后续步骤也不再继续执行。
进一步需要说明的是,本实施例中并不对上述紧急启动命令的持续时间的 取值进行限定。
S204: 将关机电压的取值修改为预设的第二关机电压值。
该步骤与方法实施例 1中的步骤 S103为相似步骤, 本实施例不再赘述, 具体请参见方法实施例 1中的相关描述。
在本实施例中,增加了判断紧急启动命令的持续时间的步骤, 能够避免由 于用户误操作导致电子设备进入紧急启动模式。 为了更好的理解本发明实施例中的技术方案, 请参阅图 3 , 图 3为本申请 的一种电子设备启动方法实施例 3的具体流程示意图。如图 3所示, 该方法可 以包括:
S300: 获取紧急启动命令。
该步骤与方法实施例 2中的步骤 S200为相似步骤, 本实施例不再赘述, 具体请参见方法实施例 2中的相关描述。
S301 : 测量电池的当前电压值。 在获取紧急启动命令之后, 响应于所述紧急启动命令, 测量电池的当前电 压值。
S302:判断所述当前电压值是否大于预设的过放电压值且小于预设的第一 关机电压值,当所述当前电压值大于预设的过放电压值且小于预设的第一关机 电压值时, 执行步骤 S303。
该步骤与方法实施例 1中的步骤 S102为相似步骤, 本实施例不再赘述, 具体请参见方法实施例 1中的相关描述。
S303 : 判断所述紧急启动命令的持续时间是否达到预设时间段, 当所述紧 急启动命令的持续时间达到预设时间段时, 执行步骤 S304。
该步骤与方法实施例 2中的步骤 S203为相似步骤, 本实施例不再赘述, 具体请参见方法实施例 2中的相关描述。
S304:判断所述电子设备修改关机电压值的累计次数是否小于预先设置的 上限值, 当所述电子设备修改关机电压值的累计次数小于预先设置的上限值 时, 执行步骤 S305。
需要说明的是, 由于多次修改电子设备的关机电压值,会影响电子设备的 电池寿命, 因此, 在电子设备的整个生命周期中, 只能有限次地对其关机电压 值进行修改, 即仅能支持用户处理一些紧急情况。 因此, 每当修改一次电子设 备的关机电压值, 电子设备就进入紧急启动模式一次, 就会将修改关机电压值 的累计次数加一,当所述电子设备修改关机电压值的累计次数等于预先设置的 上限值时, 则将不再启动所述电子设备。
S305: 将关机电压的取值修改为预设的第二关机电压值。
该步骤与方法实施例 1中的步骤 S103为相似步骤, 本实施例不再赘述, 具体请参见方法实施例 1中的相关描述。
在本实施例中 ,增加了判断所述电子设备修改关机电压值的累计次数是否 小于或等于预先设置的上限值的步骤,能够避免无限制使电子设备进入紧急启 动模式降低电子设备的电池的使用寿命。 为了更好的理解本发明实施例中的技术方案, 请参阅图 4 , 图 4为本申请 的一种电子设备启动方法实施例 4的具体流程示意图。如图 4所示, 该方法可 以包括: S400: 获取紧急启动命令。
该步骤与方法实施例 2中的步骤 S200为相似步骤, 本实施例不再赘述, 具体请参见方法实施例 2中的相关描述。
S401 : 测量电池的当前电压值。
在获取紧急启动命令之后, 响应于所述紧急启动命令, 测量电池的当前电 压值。
S402:判断所述当前电压值是否大于预设的过放电压值且小于预设的第一 关机电压值,当所述当前电压值大于预设的过放电压值且小于预设的第一关机 电压值时, 执行步骤 S403 , 当所述当前电压值小于预设的过放电压值时, 执 行步骤 S408 , 当所述当前电压值大于或等于所述预设的第一关机电压值时, 执行步骤 S409。
S403 : 判断所述紧急启动命令的持续时间是否达到预设时间段, 当所述紧 急启动命令的持续时间达到预设时间段时, 执行步骤 S404 , 当所述紧急启动 命令的持续时间未达到预设时间段时, 执行步骤 S408。
S404:判断所述电子设备修改关机电压值的累计次数是否小于预先设置的 上限值, 当所述电子设备修改关机电压值的累计次数小于预先设置的上限值 时, 执行步骤 S405 , 当所述电子设备修改关机电压值的累计次数等于预先设 置的上限值时, 执行步骤 S408。
S405: 将关机电压的取值修改为预设的第二关机电压值。
S406: 将当前的启动模式设置为紧急启动模式, 关闭除预先设置的紧急启 动模式下的可用功能之外的其他功能。
需要说明的是, 在紧急启动模式下, 只能使用电子设备的部分功能, 其他 功能关闭以减小电子设备的耗电量。 以手机为例, 当手机紧急启动时, 可以设 置只能使用手机的短信和通话功能。
S407: 加载开机后的界面。
在本步骤中,可以只将与所述紧急启动模式下的可用功能对应的图标显示 在开机后的界面中; 以手机为例, 请参阅附图 5 , 为一种处于紧急启动模式下 的手机的开机后的界面,在该界面上值包含一个拨号盘以及一个进入短信编辑 模式的虚拟按键。
或者,将与所有功能对应的图标显示在开机后的界面中, 并将在所述紧急 启动模式下的可用功能对应的图标设置为激活态图标,将与除所述紧急启动模 式下的可用功能之外的其他功能对应的图标设置为非激活态图标。
S408: 不设置当前的启动模式, 以便不启动所述电子设备。
S409: 将关机电压的取值设置为所述预设的第一关机电压值,并将当前的 启动模式设置为正常启动模式, 以便使所述电子设备进入正常启动模式。
在本实施例中, 当电子设备紧急启动之后, 关闭除预先设置的紧急启动模 式下的可用功能之外的其他功能, 能够进一步降低电子设备的功耗,增加电子 设备的使用时长。 并且在加载开机界面的时候, 只将与所述紧急启动模式下的 可用功能对应的图标显示在开机界面中, 或者,将与所有功能对应的图标显示 在开机界面中,并将所述开机界面中与所述紧急启动模式下的可用功能对应的 图标设置为激活态图标,将与除所述紧急启动模式下的可用功能之外的其他功 能对应的图标设置为非激活态图标,能够防止用户启动其他消耗电子设备的电 能的应用, 能够进一步延长电子设备的使用时长。 另外, 本申请实施例还提供了一种电子设备启动装置, 下面将通过以下实 施例进行详细说明。 请参阅图 6, 图 6为本申请的一种电子设备启动装置实施例 1的具体结构 示意图。 如图 6所示, 该装置可以包括:
测量单元 11 , 测量电池的当前电压值。
第一判断单元 12, 用于判断所述当前电压值是否大于预设的过放电压值 且小于预设的第一关机电压值,所述第一关机电压值为在正常启动模式下的关 机电压值。
修改单元 13 , 用于如果所述当前电压值大于预设的过放电压值且小于预 设的第一关机电压值,将关机电压的取值修改为预设的第二关机电压值, 所述 第二关机电压值小于所述第一关机电压值并大于或等于所述预设的过放电压 值。 为了更好的理解本发明实施例中的技术方案, 请参阅图 7 , 图 7为本申请 的一种电子设备启动装置实施例 2的具体结构示意图。如图 7所示, 该装置可 以包括:
获取单元 20, 用于在所述测量电池的当前电压值之前, 获取紧急启动命 令。
测量单元 21 , 测量电池的当前电压值;
第一判断单元 22, 用于判断所述当前电压值是否大于预设的过放电压值 且小于预设的第一关机电压值,所述第一关机电压值为在正常启动模式下的关 机电压值。
第二判断单元 23 , 用于在将关机电压的取值修改为预设的第二关机电压 值之前, 判断所述紧急启动命令的持续时间是否达到预设时间段。
修改单元 24, 如果所述当前电压值大于预设的过放电压值且小于预设的 第一关机电压值,且所述紧急启动命令的持续时间达到预设时间段时,将关机 电压的取值修改为预设的第二关机电压值。
第一设置单元 25 , 用于当所述当前电压值大于或等于所述预设的第一关 机电压值时,将关机电压的取值设置为所述预设的第一关机电压值, 并将当前 的启动模式设置为正常启动模式, 以便使所述电子设备进入正常启动模式。
第二设置单元 26, 用于当所述当前电压值小于或等于所述预设的过放电 压值时, 不设置当前的启动模式, 以便不启动所述电子设备。 为了更好的理解本发明实施例中的技术方案, 请参阅图 8, 图 8为本申请 的一种电子设备启动装置实施例 3的具体结构示意图。如图 8所示, 该装置可 以包括:
获取单元 30, 用于在所述测量电池的当前电压值之前, 获取紧急启动命 令。
测量单元 31 , 测量电池的当前电压值;
第一判断单元 32, 用于判断所述当前电压值是否大于预设的过放电压值 且小于预设的第一关机电压值,所述第一关机电压值为在正常启动模式下的关 机电压值。
第二判断单元 33 , 用于在将关机电压的取值修改为预设的第二关机电压 值之前, 判断所述紧急启动命令的持续时间是否达到预设时间段。
第三判断单元 34, 用于在当所述紧急启动命令的持续时间达到预设时间 段之后,判断所述电子设备修改关机电压值的累计次数是否小于预先设置的上 限值。
修改单元 35 , 具体用于如果所述电子设备修改关机电压值的累计次数小 于预先设置的上限值,将关机电压的取值修改为预设的第二关机电压值, 并将 当前的启动模式设置为紧急启动模式, 以便使所述电子设备进入紧急启动模 式。
第一设置单元 36 , 用于当所述当前电压值大于或等于所述预设的第一关 机电压值时,将关机电压的取值设置为所述预设的第一关机电压值, 并将当前 的启动模式设置为正常启动模式, 以便使所述电子设备进入正常启动模式。
第二设置单元 37 , 用于当所述当前电压值小于或等于所述预设的过放电 压值时, 不设置当前的启动模式, 以便不启动所述电子设备。 为了更好的理解本发明实施例中的技术方案, 请参阅图 9 , 图 9为本申请 的一种电子设备启动装置实施例 4的具体结构示意图。如图 9所示, 该装置可 以包括:
获取单元 40 , 用于在所述测量电池的当前电压值之前, 获取紧急启动命 令。
测量单元 41 , 测量电池的当前电压值;
第一判断单元 42 , 用于判断所述当前电压值是否大于预设的过放电压值 且小于预设的第一关机电压值,所述第一关机电压值为在正常启动模式下的关 机电压值。
第二判断单元 43 , 用于在将关机电压的取值修改为预设的第二关机电压 值之前, 判断所述紧急启动命令的持续时间是否达到预设时间段。
第三判断单元 44 , 用于在当所述紧急启动命令的持续时间达到预设时间 段之后,判断所述电子设备修改关机电压值的累计次数是否小于预先设置的上 限值。
修改单元 45 , 具体用于如果所述电子设备修改关机电压值的累计次数小 于预先设置的上限值,将关机电压的取值修改为预设的第二关机电压值, 并将 当前的启动模式设置为紧急启动模式, 以便使所述电子设备进入紧急启动模 式。 第一执行单元 46, 用于在所述将关机电压的取值修改为预设的第二关机 电压值之后,将当前的启动模式设置为紧急启动模式, 以便使所述电子设备进 入紧急启动模式, 当所述电子设备进入紧急启动模式时, 关闭除预先设置的紧 急启动模式下的可用功能之外的其他功能。
第二执行单元 47 , 用于只将与所述紧急启动模式下的可用功能对应的图 标显示在开机后的界面中。
第三执行单元 48, 用于将开机后的界面中, 在所述紧急启动模式下的可 用功能对应的图标,设置为激活态图标,将与除所述紧急启动模式下的可用功 能之外的其他功能对应的图标设置为非激活态图标。
第一设置单元 49, 用于当所述当前电压值大于或等于所述预设的第一关 机电压值时,将关机电压的取值设置为所述预设的第一关机电压值, 并将当前 的启动模式设置为正常启动模式, 以便使所述电子设备进入正常启动模式。
第二设置单元 50, 用于当所述当前电压值小于或等于所述预设的过放电 压值时, 不设置当前的启动模式, 以便不启动所述电子设备。
需要说明的是,有关装置实施例 1~4中各个单元的具体功能实现已在方法 实施例 1~4中进行详细说明,装置实施例部分不再赘述,具体请参见方法实施 例中的相关描述。 另夕卜,本申请实施例还提供了一种电子设备,电子设备可能是笔记本电脑、 平板电脑、 手机、 数码相机、 摄像机、 便携式 DVD、 PAD, MP3、 MP4、 GPS 图 10为本申请的电子设备的结构图。 该电子设备能够实现上述图 1-图 4 对应的实施例所提供的方法, 如图 10所示, 电子设备 700包括:
接收器 710、 处理器(processor ) 720, 存储器( memory ) 730, 总线 740。 接收器 710、 处理器(processor ) 720 , 存储器 730通过总线 740完成相互 间的通信。
接收器 710, 用于接收紧急启动命令。
处理器 720, 用于执行程序 732。
具体地,程序 732可以包括程序代码, 所述程序代码包括电子设备启动指 令。 处理器 720 可能是一个中央处理器 CPU, 或者是特定集成电路 ASIC ( Application Specific Integrated Circuit ),或者是被配置成实施本申请实施例的 一个或多个集成电路。
存储器 730, 用于存放程序 732。 存储器 730可能包含高速 RAM存储器, 也可能还包括非易失性存储器( non-volatile memory ), 例如至少一个磁盘存储 器。处理器 720通过通信总线 740调用存储器 730中的程序 732以配合接收器 710等实现上述方法。 本说明书中各个实施例釆用递进的方式描述,每个实施例重点说明的都是 与其他实施例的不同之处,各个实施例之间相同相似部分互相参见即可。对于 实施例公开的装置而言, 由于其与实施例公开的方法相对应, 所以描述的比较 简单, 相关之处参见方法部分说明即可。
专业人员还可以进一步意识到,结合本文中所公开的实施例描述的各示例 的单元及算法步骤,能够以电子硬件或者电子硬件与计算机软件相结合的方式 来实现。 为了清楚地说明部分硬件和软件的可互换性,在上述说明中已经按照 功能一般性地描述了各示例的组成及步骤。这些功能究竟以硬件还是软硬件结 合的方式来执行,取决于技术方案的特定应用和设计约束条件。 专业技术人员 可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不 应认为超出本发明的范围。
结合本文中所公开的实施例描述的方法或算法的步骤可以直接用硬件、处 理器执行的软件模块, 或者二者的结合来实施。软件模块可以置于随机存储器 ( RAM ),内存、只读存储器(ROM )、电可编程 ROM、电可擦除可编程 ROM、 寄存器、 硬盘、 可移动磁盘、 CD-ROM、 或技术领域内所公知的任意其它形式 的存储介质中。
对所公开的实施例的上述说明,使本领域专业技术人员能够实现或使用本 发明。 对这些实施例的多种修改对本领域的专业技术人员来说将是显而易见 的, 本文中所定义的一般原理可以在不脱离本发明的精神或范围的情况下,在 其它实施例中实现。 因此, 本发明将不会被限制于本文所示的这些实施例, 而 是要符合与本文所公开的原理和新颖特点相一致的最宽的范围。

Claims

权 利 要 求
1、 一种电子设备启动方法, 其特征在于, 所述方法包括:
测量电池的当前电压值;
判断所述当前电压值是否大于预设的过放电压值且小于预设的第一关机 电压值, 所述第一关机电压值为在正常启动模式下的关机电压值;
如果所述当前电压值大于预设的过放电压值且小于预设的第一关机电压 值,将关机电压的取值修改为预设的第二关机电压值, 所述第二关机电压值小 于所述第一关机电压值并大于或等于所述预设的过放电压值。
2、 根据权利要求 1所述的方法, 其特征在于,
在所述测量电池的当前电压值之前,所述方法还包括,获取紧急启动命令; 在所述将关机电压的取值修改为预设的第二关机电压值之前,所述方法还 包括, 判断所述紧急启动命令的持续时间是否达到预设时间段;
则所述如果所述当前电压值大于预设的过放电压值且小于预设的第一关 机电压值, 所述将关机电压的取值修改为预设的第二关机电压值具体包括, 如果所述当前电压值大于预设的过放电压值且小于预设的第一关机电压 值,且所述紧急启动命令的持续时间达到预设时间段时,将关机电压的取值修 改为预设的第二关机电压值。
3、 根据权利要 2所述的方法, 其特征在于,
在所述将关机电压的取值修改为预设的第二关机电压值之前,所述方法还 包括:
判断所述修改的累计次数是否小于预先设置的上限值;
则所述如果所述当前电压值大于预设的过放电压值且小于预设的第一关 机电压值, 且所述紧急启动命令的持续时间达到预设时间段时,将关机电压的 取值修改为预设的第二关机电压值具体包括:
如果所述当前电压值大于预设的过放电压值且小于预设的第一关机电压 值, 所述紧急启动命令的持续时间达到预设时间段时,且所述修改的累计次数 小于预先设置的上限值, 则将关机电压的取值修改为预设的第二关机电压值。
4、 根据权利要求 1~3中任意一项所述的方法, 其特征在于,
在所述将关机电压的取值修改为预设的第二关机电压值之后,所述方法还 包括,将当前的启动模式设置为紧急启动模式, 以便使所述电子设备进入紧急 启动模式;
当所述电子设备进入紧急启动模式时,关闭除预先设置的紧急启动模式下 的可用功能之外的其他功能。
5、 根据权利要求 4所述的方法, 其特征在于, 所述方法还包括: 只将与所述紧急启动模式下的可用功能对应的图标显示在开机后的界面 中。
6、 根据权利要求 4所述的方法, 其特征在于, 所述方法还包括: 将开机后的界面中, 在所述紧急启动模式下的可用功能对应的图标,设置 为激活态图标。
7、 根据权利要求 1所述的方法, 其特征在于, 所述方法还包括: 当所述当前电压值大于或等于所述预设的第一关机电压值时,将关机电压 的取值设置为所述预设的第一关机电压值。
8、 根据权利要求 1所述的方法, 其特征在于, 所述方法还包括: 当所述当前电压值小于或等于所述预设的过放电压值时,不启动所述电子 设备。
9、 一种电子设备启动装置, 其特征在于, 所述装置包括:
测量单元, 测量电池的当前电压值;
第一判断单元,用于判断所述当前电压值是否大于预设的过放电压值且小 于预设的第一关机电压值,所述第一关机电压值为在正常启动模式下的关机电 压值;
修改单元,用于如果所述当前电压值大于预设的过放电压值且小于预设的 第一关机电压值,将关机电压的取值修改为预设的第二关机电压值, 所述第二 关机电压值小于所述第一关机电压值并大于或等于所述预设的过放电压值。
10、 根据权利要求 9所述的装置, 其特征在于, 所述装置还包括: 获取单元, 用于在所述测量电池的当前电压值之前, 获取紧急启动命令; 第二判断单元,用于在将关机电压的取值修改为预设的第二关机电压值之 前, 判断所述紧急启动命令的持续时间是否达到预设时间段;
则修改单元,具体用于如果所述当前电压值大于预设的过放电压值且小于 预设的第一关机电压值, 且所述紧急启动命令的持续时间达到预设时间段时, 将关机电压的取值修改为预设的第二关机电压值。
11、 根据权利要求 10所述的装置, 其特征在于, 所述装置还包括: 第三判断单元,用于在所述将关机电压的取值修改为预设的第二关机电压 值之前, 判断所述修改的累计次数是否小于预先设置的上限值;
则所述修改单元,具体用于如果当前电压值大于预设的过放电压值且小于 预设的第一关机电压值, 所述紧急启动命令的持续时间达到预设时间段时,且 所述修改的累计次数小于预先设置的上限值,则将关机电压的取值修改为预设 的第二关机电压值。
12、 根据权利要求 9~11中任意一项所述的装置, 其特征在于, 所述装置 还包括:
第一执行单元,用于在所述将关机电压的取值修改为预设的第二关机电压 值之后,将当前的启动模式设置为紧急启动模式, 以便使所述电子设备进入紧 急启动模式;
当所述电子设备进入紧急启动模式时,关闭除预先设置的紧急启动模式下 的可用功能之外的其他功能。
13、 根据权利要求 12所述的装置, 其特征在于, 所述装置还包括: 第二执行单元,用于只将与所述紧急启动模式下的可用功能对应的图标显 示在开机后的界面中。
14、 根据权利要求 12所述的装置, 其特征在于, 所述装置还包括: 第三执行单元, 用于将开机后的界面中,在所述紧急启动模式下的可用功 能对应的图标, 设置为激活态图标。
15、 根据权利要求 9所述的装置, 其特征在于, 所述装置还包括: 第一设置单元,用于当所述当前电压值大于或等于所述预设的第一关机电 压值时, 将关机电压的取值设置为所述预设的第一关机电压值。
16、 根据权利要求 9所述的装置, 其特征在于, 所述装置还包括: 第二设置单元,用于当所述当前电压值小于或等于所述预设的过放电压值 时, 不启动所述电子设备。
PCT/CN2014/078141 2014-05-22 2014-05-22 一种电子设备启动方法及装置 WO2015176283A1 (zh)

Priority Applications (1)

Application Number Priority Date Filing Date Title
PCT/CN2014/078141 WO2015176283A1 (zh) 2014-05-22 2014-05-22 一种电子设备启动方法及装置

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2014/078141 WO2015176283A1 (zh) 2014-05-22 2014-05-22 一种电子设备启动方法及装置

Publications (1)

Publication Number Publication Date
WO2015176283A1 true WO2015176283A1 (zh) 2015-11-26

Family

ID=54553236

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2014/078141 WO2015176283A1 (zh) 2014-05-22 2014-05-22 一种电子设备启动方法及装置

Country Status (1)

Country Link
WO (1) WO2015176283A1 (zh)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116707052A (zh) * 2022-10-31 2023-09-05 荣耀终端有限公司 一种关机方法及电子设备
WO2024077560A1 (zh) * 2022-10-13 2024-04-18 海能达通信股份有限公司 终端控制方法、终端及计算机可读存储介质

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1996242A (zh) * 2006-01-05 2007-07-11 英业达股份有限公司 用于低电量开机的***及方法
CN101127993A (zh) * 2007-09-25 2008-02-20 中兴通讯股份有限公司 移动终端电池电量的使用方法
CN101330696A (zh) * 2008-07-29 2008-12-24 中兴通讯股份有限公司 终端设备电池电量管理方法及装置
CN101621584A (zh) * 2009-07-27 2010-01-06 中兴通讯股份有限公司 剩余电池电量使用方法及执行其的装置
CN103683340A (zh) * 2012-08-31 2014-03-26 广州三星通信技术研究有限公司 使用电池作为电源的装置的电源管理设备及方法

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1996242A (zh) * 2006-01-05 2007-07-11 英业达股份有限公司 用于低电量开机的***及方法
CN101127993A (zh) * 2007-09-25 2008-02-20 中兴通讯股份有限公司 移动终端电池电量的使用方法
CN101330696A (zh) * 2008-07-29 2008-12-24 中兴通讯股份有限公司 终端设备电池电量管理方法及装置
CN101621584A (zh) * 2009-07-27 2010-01-06 中兴通讯股份有限公司 剩余电池电量使用方法及执行其的装置
CN103683340A (zh) * 2012-08-31 2014-03-26 广州三星通信技术研究有限公司 使用电池作为电源的装置的电源管理设备及方法

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2024077560A1 (zh) * 2022-10-13 2024-04-18 海能达通信股份有限公司 终端控制方法、终端及计算机可读存储介质
CN116707052A (zh) * 2022-10-31 2023-09-05 荣耀终端有限公司 一种关机方法及电子设备

Similar Documents

Publication Publication Date Title
JP6017395B2 (ja) サスペンドの延期
KR101613638B1 (ko) 오동작을 방지하는 방법, 장치, 기기, 프로그램 및 기록매체
WO2013123863A1 (zh) 一种休眠方法、唤醒方法和移动终端设备
WO2012149738A1 (zh) 移动终端电源管理方法和装置
JPWO2007122787A1 (ja) 充電システム、充電制御プログラムおよび携帯端末
TW201516648A (zh) 移動裝置低電量開機控制方法及系統
WO2017022169A1 (ja) バッテリ制御装置、電子機器、バッテリパック及びバッテリ制御方法
WO2015058410A1 (zh) 一种关机门限电压的调节方法、开机方法及其电子设备
CN103034547B (zh) 基于电池的电子设备运行方法及电子设备
CN100561434C (zh) 一种手持设备的Windows处理***
EP3546961A1 (en) Battery leakage current detection method, device and circuit
WO2013131320A1 (zh) 信息备份方法及装置、移动终端
US20140040649A1 (en) Charging Method and an Electronic Apparatus Using Thereof
WO2015124052A1 (zh) 信息查询方法及终端
WO2009149612A1 (zh) 电子显示装置的背光控制方法
JP5504247B2 (ja) 電子機器およびタイマ時刻設定方法
KR102125507B1 (ko) 배터리 충전을 위한 방법 및 그 전자 장치
WO2015176283A1 (zh) 一种电子设备启动方法及装置
CN104461604A (zh) 一种信息处理的方法及一种电子设备
CN104348140B (zh) 一种低电量提醒的方法及电子设备
CN107908273B (zh) 应用管理方法、装置、存储介质及电子设备
WO2014176893A1 (zh) 移动终端的关机方法及装置
WO2012023073A1 (en) Initiating forced shutdown of a device
CN105653002B (zh) 电池电量的显示方法、装置和电子设备
JP2014168327A (ja) 電子機器、充電制御方法、及びプログラム

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

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

Country of ref document: EP

Kind code of ref document: A1