WO2016131246A1 - Method and apparatus for controlling terminal - Google Patents

Method and apparatus for controlling terminal Download PDF

Info

Publication number
WO2016131246A1
WO2016131246A1 PCT/CN2015/089199 CN2015089199W WO2016131246A1 WO 2016131246 A1 WO2016131246 A1 WO 2016131246A1 CN 2015089199 W CN2015089199 W CN 2015089199W WO 2016131246 A1 WO2016131246 A1 WO 2016131246A1
Authority
WO
WIPO (PCT)
Prior art keywords
terminal
system time
shutdown
area
shutdown threshold
Prior art date
Application number
PCT/CN2015/089199
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 WO2016131246A1 publication Critical patent/WO2016131246A1/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

Definitions

  • the present invention relates to the field of communications, and in particular to a method and apparatus for controlling a terminal.
  • the related art uses the terminal to judge the low power shutdown, usually by a voltage constant as a threshold (different terminal setting values may be different, usually between 3.5-3.8V), when the terminal obtains the reported
  • a voltage constant as a threshold different terminal setting values may be different, usually between 3.5-3.8V
  • the shutdown voltage cannot be adjusted by human or setting strategy. If different shutdown voltages are set for different scenarios, it needs to be reset, it is impossible to allocate power according to a specific strategy, or the mobile phone will be lost after the mobile phone is lost. The voltage is increased so that the other party cannot use it.
  • the embodiment of the invention provides a method and a device for controlling a terminal, so as to at least solve the problem that the operation of the general segment for the low-power shutdown is relatively simple and cannot meet the user demand.
  • a method for controlling a terminal includes: receiving a policy for configuring a terminal shutdown threshold, wherein the policy is used to indicate that a different area in which the terminal is located has The shutdown threshold corresponding to the area where the terminal is located, or the shutdown threshold corresponding to the terminal time at different system time of the terminal; when the area where the terminal is located changes or the system time of the terminal changes, the acquisition is performed. Determining the battery power of the terminal in the current area or the current system time; determining whether the battery power is less than or equal to the shutdown threshold corresponding to the current location or current system time of the terminal, and triggering when the determination result is yes The terminal performs a shutdown operation.
  • acquiring the battery power of the terminal in the current area or the current system time includes: determining the current Whether the area where the terminal is located is within the specified one or more area segments; when the determination result is yes, the battery power of the terminal when the current location or the current system time is obtained.
  • acquiring the battery power of the terminal in the current region or the current system time includes: determining the location Whether the system time of the terminal is within the one or more time periods; when the determination result is yes, the battery power of the terminal when the current location or the current system time is obtained.
  • the method further includes: setting the shutdown threshold to 0 when the determination result is no.
  • the method further includes: after triggering the terminal to perform the booting operation, receiving a specified operation of the user for reducing the shutdown threshold, wherein the specifying operation includes : Press and hold the combination button composed of a plurality of buttons of the terminal, and press and hold the designated button of the terminal to reach a predetermined time.
  • an apparatus for controlling a terminal comprising: a first receiving module, configured to receive a policy for configuring a terminal shutdown threshold, wherein the policy is used to indicate at the terminal
  • the different area that is located has a shutdown threshold corresponding to the area where the terminal is located, or has a shutdown threshold corresponding to the terminal time at different system time of the terminal;
  • the acquisition module is set to be in the area where the terminal is located And when the system time of the terminal changes, the battery power of the terminal in the current region or the current system time is acquired; and the control module is configured to determine whether the battery power is less than or equal to the current location of the terminal.
  • the shutdown threshold corresponding to the area or the current system time when the determination result is yes, triggering the terminal to perform a shutdown operation.
  • the acquiring module includes: a first determining unit, configured to determine an area where the current terminal is located Whether it is within the specified one or more area segments; the first obtaining unit is configured to acquire the battery power of the terminal when the current location or the current system time is when the determination result is yes.
  • the acquiring module includes: a second determining unit, configured to determine whether the current system time of the terminal is During the one or more time periods; the second obtaining unit is configured to acquire the battery power of the terminal when the current location or the current system time is when the determination result is YES.
  • the device further includes: a setting module, configured to set the shutdown threshold to 0 when the determination result is no.
  • the device further includes: a second receiving module, configured to receive a specified operation of the user to reduce the shutdown threshold after the terminal is triggered to perform a power-on operation,
  • the specifying operation comprises: pressing and holding a combination button composed of a plurality of keys of the terminal, and pressing a designated button of the terminal to reach a predetermined time.
  • the receiving the threshold for setting the terminal shutdown threshold is used to indicate that the different area where the terminal is located has a shutdown threshold corresponding to the area where the terminal is located, or has a corresponding time of the terminal at different system time of the terminal.
  • the terminal When the determination result is yes, the terminal is triggered to perform the shutdown operation, and when the determination result is no, the terminal continues to be in the power-on state; as shown in the embodiment, the location of the terminal is Transformation and system time The change between the corresponding shutdown thresholds is solved, and the problem that the total section of the related technology is relatively simple for the low-power shutdown and cannot meet the user's demand is solved, and the effect of improving the user experience is achieved.
  • FIG. 1 is a flow chart of a method of controlling a terminal according to an embodiment of the present invention
  • FIG. 2 is a structural block diagram of an apparatus for controlling a terminal according to an embodiment of the present invention
  • FIG. 3 is a block diagram 1 of an optional structure of an apparatus for controlling a terminal according to an embodiment of the present invention
  • FIG. 4 is a block diagram 2 of an optional structure of an apparatus for controlling a terminal according to an embodiment of the present invention
  • FIG. 5 is a block diagram 3 of an optional structure of an apparatus for controlling a terminal according to an embodiment of the present invention.
  • FIG. 6 is a schematic diagram of an apparatus for a power control terminal according to an alternative embodiment of the present invention.
  • FIG. 7 is a schematic diagram of a manner of setting a power control method according to an alternative embodiment of the present invention.
  • FIG. 8 is a flow chart of a forced boot process method in accordance with an alternate embodiment of the present invention.
  • FIG. 1 is a flowchart of a method for controlling a terminal according to an embodiment of the present invention. As shown in FIG. 1, the process includes the following steps:
  • Step S102 Receive a policy for configuring a terminal shutdown threshold, where the policy is used to indicate that the different area where the terminal is located has a shutdown threshold corresponding to the area where the terminal is located, or has a corresponding time of the terminal at different system time of the terminal.
  • Shutdown threshold a policy for configuring a terminal shutdown threshold, where the policy is used to indicate that the different area where the terminal is located has a shutdown threshold corresponding to the area where the terminal is located, or has a corresponding time of the terminal at different system time of the terminal.
  • Step S104 When the area where the terminal is located changes or the system time of the terminal changes, the battery power of the terminal when the current location or the current system time is obtained is acquired;
  • Step S106 Determine whether the battery power is less than or equal to the shutdown threshold corresponding to the current location or current system time of the terminal. When the determination result is yes, the terminal is triggered to perform a shutdown operation.
  • the indication for receiving the terminal shutdown threshold is received.
  • a shutdown threshold corresponding to the area where the terminal is located or a policy having a shutdown threshold corresponding to the terminal time at different system time of the terminal, when the area where the terminal is located changes or the system time of the terminal changes
  • Obtaining the battery power of the terminal in the current area or the current system time determining whether the current battery power is less than or equal to the shutdown threshold corresponding to the current location or current system time of the terminal, and when the determination result is yes, triggering the terminal to execute
  • the shutdown operation is performed, and when the judgment result is no, the terminal continues to be in the power-on state; it can be seen that in the embodiment, the value of the corresponding shutdown threshold is adjusted by the transformation of the area where the terminal is located and the change of the system time, and the related technology is solved.
  • the operation of the middle section is relatively simple for the operation of low power shutdown, which can not meet the needs of users, and achieves
  • the manner of the foregoing steps S102 to S106 in the embodiment may be: when the user has some special requirements, and the usage of the power needs to be allocated according to a specific area or time, for example, after a long travel, it is desirable to forcibly reserve 10 % of the battery is used during the return journey.
  • the shutdown threshold is 10% of the total battery capacity according to the setting in the tourist location, or set within the travel time range, such as from 9:00 am to 5:00 pm.
  • the shutdown threshold is 10% of the total battery power, which triggers the shutdown operation of the terminal within the range of the tourist location or within the range of 9:00 am to 5:00 pm.
  • the area in which the terminal corresponding to the shutdown threshold involved in the embodiment is the specified one or more area segments, or the system time of the terminal corresponding to the shutdown threshold is one or more specified time periods, that is, Said that in the one or more area segments has a corresponding shutdown threshold, and outside the area, the terminal may not need to be set by the shutdown threshold, the same is true for the system time, the user can
  • the corresponding shutdown threshold is set in a certain period of time, that is, whether the user can set the shutdown threshold according to the needs of the unused scenario, and the control system does not rely on the shutdown threshold to control the automatic shutdown of the terminal, which is more suitable. User needs.
  • the method for obtaining the battery power of the terminal in the current region or the current system time in step S104 according to the one or more region segments specified in the foregoing, or one or more time segments, may be adopted.
  • Step S11 determining whether the area where the current terminal is located is within the specified one or more area segments, or whether the system time of the terminal is within one or more time periods;
  • Step S12 When the judgment result is YES, the battery power of the terminal when the current location or the current system time is obtained is acquired.
  • step S11 and step S12 only in a certain one or more area segments, or whether the system time of the terminal is in one or more time periods, the terminal is in the current area or current system time.
  • the battery level at the time is compared with the corresponding shutdown threshold by the battery level.
  • the terminal sets the shutdown threshold value to 0, that is, in the case of not being one or When multiple system segments, or when the system time of the terminal is within one or more time periods, the terminal will not shut down due to the shutdown threshold.
  • the method of the embodiment may further include: after the triggering terminal performs the power-on operation, receiving a specified operation of the user for reducing the shutdown threshold, where The specified operation includes: pressing and holding a combination of a plurality of buttons of the terminal, and pressing a designated button of the terminal to reach a predetermined time.
  • the specified operation includes: pressing and holding a combination of a plurality of buttons of the terminal, and pressing a designated button of the terminal to reach a predetermined time.
  • the specified operation is adopted to reduce the specified operation of the shutdown threshold, and the reduced amount of users can be set as needed, such as reducing to the current
  • the shutdown threshold is half
  • the specified operation may be a combination of a plurality of buttons of the terminal, pressing a designated button of the terminal to reach a predetermined time, such as continuing to press and hold the power button for 5 seconds after the power is turned on, or, on the volume
  • the key + power button is turned on.
  • the specified operation is not limited to the above operation, and may be other operations such as inserting a headset.
  • the method according to the above embodiment can be implemented by means of software plus a necessary general hardware platform, 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, may be embodied in the form of a software product stored in a storage medium (such as ROM/RAM, disk,
  • the optical disc includes a number of instructions for causing a terminal device (which may be a cell phone, a computer, a server, or a network device, etc.) to perform the methods of various embodiments of the present invention.
  • a device for controlling a terminal is provided, which is used to implement the foregoing embodiments and preferred embodiments, and details are not described herein.
  • the term "module” may implement a combination of software and/or hardware of a predetermined function.
  • the apparatus described in the following embodiments is preferably implemented in software, hardware, or a combination of software and hardware, is also possible and contemplated.
  • the apparatus includes: a first receiving module 22 configured to receive a policy for configuring a terminal shutdown threshold, where a policy is used for Indicates that the different areas in which the terminal is located have a shutdown threshold corresponding to the area where the terminal is located, or have a shutdown threshold corresponding to the terminal time at different system time of the terminal; the obtaining module 24 is coupled with the first receiving module 22, and is set to Obtaining the battery power of the terminal in the current region or the current system time when the location of the terminal is changed or the system time of the terminal is changed; the control module 26 is coupled to the acquisition module 24 and configured to determine whether the battery power is less than or equal to The shutdown threshold corresponding to the current location or current system time of the terminal, when the determination result is yes, triggers the terminal to perform a shutdown operation.
  • the area where the terminal corresponding to the shutdown threshold is located is the specified one or more area segments, or the system time of the terminal corresponding to the shutdown threshold is one or more specified time periods.
  • FIG. 3 is a block diagram of an optional structure of an apparatus for controlling a terminal according to an embodiment of the present invention. As shown in FIG. 3, when an area corresponding to a shutdown threshold is in a specified one or more area segments, the acquiring module is used. The first determining unit 32 is configured to determine whether the area where the current terminal is located is within the specified one or more area segments.
  • the first obtaining unit 34 is coupled to the determining unit 32 and is set to be Obtaining the battery power of the terminal in the current region or the current system time; or, when the system time of the terminal is in one or more time periods, the obtaining module 24 includes: a second determining unit 36, configured to Determining whether the system time of the current terminal is in one or more time periods; the second obtaining unit 38 is coupled to the second determining unit, and is configured to acquire the current location or current system time of the terminal when the determination result is yes. The battery level at the time.
  • the apparatus further includes: a setting module 42 coupled to the acquiring module 24, and configured to be Set the shutdown threshold to 0.
  • FIG. 5 is a block diagram 3 of an optional structure of an apparatus for controlling a terminal according to an embodiment of the present invention, as shown in FIG.
  • the device further includes: a second receiving module 52 coupled to the control module 26, configured to receive a specified operation of the user for reducing the shutdown threshold after the triggering terminal performs the booting operation, wherein the specifying operation includes : Press and hold the combination button composed of multiple buttons of the terminal, and press and hold the specified button of the terminal to reach the predetermined time.
  • the optional embodiment provides a method for controlling a power supply terminal, and the technical solution includes:
  • the battery level of the low-power shutdown of the mobile terminal (corresponding to the shutdown threshold in the above embodiment) is determined to be related to the area or time.
  • the battery level value of the shutdown battery is changed according to a predetermined policy, where the area is Obtained by the location service of the mobile terminal, and the time is obtained from the mobile network side.
  • the predetermined policy refers to: setting, on the mobile terminal, the network side or other trusted mobile terminal: how much the mobile terminal's shutdown battery level value is modified in a specified area and/or a specified time. After the condition is reached, an event is sent to the battery service module of the mobile terminal, prompting to use the set shutdown battery level value, and after receiving the event, the battery service module determines whether the current battery level value reaches the shutdown condition according to the modified shutdown battery level value. If the shutdown condition is reached, it will be shut down directly. When the condition cannot be reached due to the position change or the time change, an event is sent to the battery service module of the mobile terminal, prompting to use the original shutdown battery level value, that is, 0.
  • the power can be turned on in a specific way (such as a combination of buttons or other inputs during the boot process), and temporarily changed by the boot program setting during the boot process.
  • the mapping relationship between the battery level value and the voltage causes the same voltage reporting level value to be greater than the set shutdown level value, so that the terminal is temporarily turned on before the voltage reaches the shutdown level value again.
  • the apparatus includes: a positioning service module, a time management module, a battery management module, and a shutdown policy management module, wherein the shutdown policy The management module can obtain the shutdown policy input from the local, web side or trusted terminal.
  • the shutdown strategy includes: 1. the area and/or time interval to which the shutdown policy applies; 2. the shutdown power level value set by the shutdown policy.
  • the shutdown policy management module After the shutdown policy input is obtained, the shutdown policy management module obtains the current location and time from the location service and the time management module according to a specific time interval, and compares with the set shutdown policy, if the comparison result matches the previous one. If the success becomes a match, enter the new power-off level value into the battery management module, replacing the original 0%. On the other hand, if the comparison result becomes unsuccessful from the success, the battery module is notified to restore the original power level 0% shutdown setting.
  • FIG. 7 is a schematic diagram of a setting manner of a power control method according to an alternative embodiment of the present invention.
  • a user may perform setting of a low power shutdown policy of the present invention on a PC end, a trusted mobile terminal, or the terminal.
  • the low-power shutdown policy of the other party can be set by means of special short messages, emails, messages, and direct application layer signaling.
  • the set terminal and the setter need to perform a certain authentication process, such as password authentication, phone number authentication, and the like.
  • the above settings and the authentication method are both prior art, and since the correlation with the trunk of the present invention is small, I won't go into details here.
  • FIG. 8 is a flowchart of a method for forcibly starting a power according to an alternative embodiment of the present invention. As shown in FIG. 8, the steps of the method include:
  • Step S802 receiving a power-on command, the power source and the system are started;
  • Step S804 determining whether the power-on command is a preset forced power-on command, when the determination result is yes, step S806 is performed, and if the determination result is no, step S808 is performed;
  • Step S806 Modify the corresponding value relationship between the voltage and the power level in the boot program, so that the same voltage corresponds to a higher level value, and then step S808;
  • Step S808 Obtaining battery information from the driver
  • Step S810 Obtain location and time information, and obtain a current shutdown voltage level according to this;
  • Step S812 It is determined whether the current voltage level reaches the preset shutdown voltage. If the determination result is yes, step S814 is performed, and if the determination result is no, step S810 is performed.
  • Step S814 Performing a low voltage shutdown.
  • the user when the user shuts down according to a predetermined rule, the user needs to temporarily open the mobile phone. If the power is turned on normally (that is, the preset forced power-on command is not used), after the power is turned on, the shutdown policy module will still send a message to the battery management service module, indicating that the power-off level set in the policy is still used. The battery management service module will immediately shut down after receiving it, so that the user cannot use it;
  • the command can be set by the user himself, for example, after the booting, continue to press and hold the power button for 5 seconds, the volume up button + the power button is turned on, and the headphone state is inserted.
  • Boot, etc. after booting up, in the process of starting the boot program, immediately modify the corresponding relationship between voltage and power level in the boot program, temporarily make the same voltage correspond to a higher battery level, so that the upper layer obtains the voltage level, although it is turned off.
  • the policy has not changed, but the result of the judgment is that it is not lower than the shutdown voltage, and the terminal is still available until it reaches the shutdown voltage level again.
  • the user can adjust the shutdown voltage of the lost terminal to 100% in all areas or full time period through the network or other terminal that has set the trusted mobile phone, so that the new one
  • the user will restart the computer as soon as it is turned on, and the terminal cannot be used unless the version is re-flashed.
  • the mobile phone by forcibly breaking the preset rules. I hope to achieve automatic shutdown in some specific areas, such as customized mobile phones of some companies. I hope that once the employees enter certain areas, the mobile phones will be automatically shut down. In the use of the solution of the present invention, the area set by the company is prefabricated to be 100% low-power shutdown.
  • each of the above modules may be implemented by software or hardware.
  • the foregoing may be implemented by, but not limited to, the foregoing modules are all located in the same processor; or, the modules are located in multiple In the processor.
  • Embodiments of the present invention also provide a storage medium.
  • the foregoing storage medium may be configured to store program code for performing the following steps:
  • Step S1 Receive a policy for configuring a terminal shutdown threshold, where the policy is used to indicate that a different area in which the terminal is located has a shutdown threshold corresponding to the area where the terminal is located, or has a corresponding time in the different system time of the terminal.
  • Shutdown threshold a policy for configuring a terminal shutdown threshold, where the policy is used to indicate that a different area in which the terminal is located has a shutdown threshold corresponding to the area where the terminal is located, or has a corresponding time in the different system time of the terminal.
  • Step S2 acquiring the battery power of the terminal when the terminal is located or when the system time of the terminal changes, acquiring the current location of the terminal or the current system time;
  • Step S3 determining whether the battery power is less than or equal to the shutdown threshold corresponding to the current location or the current system time of the terminal, and when the determination result is yes, triggering the terminal to perform the shutdown operation.
  • the specific examples in this embodiment may refer to the examples described in the foregoing embodiments and the optional embodiments, and details are not described herein again.
  • modules or steps of the present invention described above can be implemented by a general-purpose computing device that can be centralized on a single computing device or distributed across a network of multiple computing devices. Alternatively, they may be implemented by program code executable by the computing device such that they may be stored in the storage device by the computing device and, in some cases, may be different from the order herein.
  • the steps shown or described are performed, or they are separately fabricated into individual integrated circuit modules, or a plurality of modules or steps thereof are fabricated as a single integrated circuit module.
  • the invention is not limited to any specific combination of hardware and software.
  • the shutdown threshold for indicating that the terminal is in the different area in which the terminal is located is received, or the shutdown threshold corresponding to the terminal time is received at different system time of the terminal.
  • the battery power of the terminal in the current region or the current system time is obtained, and it is determined whether the current battery power is less than or equal to the current location or current location of the terminal.
  • the shutdown threshold corresponding to the system time when the judgment result is yes, the triggering terminal performs the shutdown operation, and when the determination result is no, the terminal continues to be in the power-on state; it can be seen that in the embodiment, the transformation of the region in which the terminal is located is The change of the system time adjusts the value of the corresponding shutdown threshold, which solves the problem that the general section of the related technology has a single operation for the low-power shutdown, and cannot meet the user's demand, thereby achieving the effect of improving the user experience.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Telephone Function (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

Provided are a method and apparatus for controlling a terminal. The method comprises: receiving a policy used for configuring the shutdown threshold value of the terminal, wherein the policy is used for indicating that shutdown threshold values corresponding to areas where the terminals are located are provided in different areas where the terminals are located, or shutdown threshold values corresponding to terminal time are provided at different system time of the terminals; when an area where a terminal is located changes or the system time of the terminal changes, acquiring the battery capacity of the terminal in an area where the terminal is located currently or at current system time; judging whether the battery capacity is smaller than or equal to the shutdown threshold value corresponding to the area where the terminal is located currently or at the current system time; and if the judging result is yes, triggering the terminal to execute a shutdown operation. By means of the present invention, the problem in the relevant art that a user requirement cannot be satisfied because an operation of a total segment on a low electricity shutdown is relatively single is solved, thereby achieving the effect of improving user experience.

Description

控制终端的方法及装置Method and device for controlling terminal 技术领域Technical field
本发明涉及通信领域,具体而言,涉及一种控制终端的方法及装置。The present invention relates to the field of communications, and in particular to a method and apparatus for controlling a terminal.
背景技术Background technique
目前智能手机的电量问题越来越突出,出远门的时候,人们常常会带一个充电宝以保证在电池本身电量不足时能够随时充电。但在一些场景下,如长时间户外旅行时,有充电宝也无法保证手机能够一直续航下去。因此有必要设定一种方式,让用户能够设置电量使用策略,从而在某种情况下或某个区域只能使用一部分电量,强制留下部分电量在另外的情况或区域使用。另外,如果用户不慎丢失了自己的手机,并且暂时无望找回时,也会希望别人无法开机使用自己的手机,如果此时能够远程设置该手机的开关机电压,使手机无法开机,也对用户终端上的信息保密具有一定的辅助作用。At present, the power problem of smart phones is becoming more and more prominent. When going out, people often bring a charging treasure to ensure that they can be charged at any time when the battery itself is low. However, in some scenarios, such as long-term outdoor travel, there is no guarantee that the mobile phone can continue to sail. Therefore, it is necessary to set a way for the user to set the power usage policy so that in some cases or only a part of the power can be used in a certain area, forcing a part of the power to be used in another situation or area. In addition, if the user accidentally loses his mobile phone and does not expect to retrieve it temporarily, he or she will hope that others will not be able to use his mobile phone. If the power of the mobile phone can be remotely set at this time, the mobile phone cannot be turned on. The confidentiality of information on the user terminal has certain auxiliary functions.
针对上述问题,相关技术中采用了终端对于低电关机的判断,通常是由一个电压常数作为阈值(不同终端设置值可能会不同,通常在3.5-3.8V之间),当终端获取到上报的电压低于该关机电压时,则启动关机过程。该关机电压无法人为或设定策略来调节,如果针对不同的场景设定不同的关机电压,都需要重新设定,无法实现根据特定策略分配电量,或在手机丢失后,人为将丢失手机的关机电压提高,使对方无法开机使用。In response to the above problems, the related art uses the terminal to judge the low power shutdown, usually by a voltage constant as a threshold (different terminal setting values may be different, usually between 3.5-3.8V), when the terminal obtains the reported When the voltage is lower than the shutdown voltage, the shutdown process is initiated. The shutdown voltage cannot be adjusted by human or setting strategy. If different shutdown voltages are set for different scenarios, it needs to be reset, it is impossible to allocate power according to a specific strategy, or the mobile phone will be lost after the mobile phone is lost. The voltage is increased so that the other party cannot use it.
针对相关技术中总段对于低电关机的操作比较单一,无法满足用户需求的问题,目前尚未存在有效的解决方案。For the related art, the operation of the low-power shutdown is relatively simple, and the problem of the user's demand cannot be met. Currently, there is no effective solution.
发明内容Summary of the invention
本发明实施例提供了一种控制终端的方法及装置,以至少解决相关技术中总段对于低电关机的操作比较单一,无法满足用户需求的问题。The embodiment of the invention provides a method and a device for controlling a terminal, so as to at least solve the problem that the operation of the general segment for the low-power shutdown is relatively simple and cannot meet the user demand.
根据本发明实施例的一个方面,提供了一种控制终端的方法,包括:接收用于配置终端关机阈值的策略,其中,所述策略用于指示在所述终端所处的不同区域具有与所述终端所处区域对应的关机阈值,或在所述终端的不同系统时间具有与所述终端时间对应的关机阈值;在所述终端所处区域变换或所述终端的系统时间变化时,获取所述终端在当前所处区域或当前系统时间时的电池电量;判断所述电池电量是否小于或等于所述终端在当前所处区域或当前系统时间对应的关机阈值,在判断结果为是时,触发所述终端执行关机操作。According to an aspect of the embodiments of the present invention, a method for controlling a terminal includes: receiving a policy for configuring a terminal shutdown threshold, wherein the policy is used to indicate that a different area in which the terminal is located has The shutdown threshold corresponding to the area where the terminal is located, or the shutdown threshold corresponding to the terminal time at different system time of the terminal; when the area where the terminal is located changes or the system time of the terminal changes, the acquisition is performed. Determining the battery power of the terminal in the current area or the current system time; determining whether the battery power is less than or equal to the shutdown threshold corresponding to the current location or current system time of the terminal, and triggering when the determination result is yes The terminal performs a shutdown operation.
可选地,在与所述关机阈值对应的所述终端所处区域为指定的一个或多个区域段时,获取所述终端在当前所处区域或当前系统时间时的电池电量包括:判断当前所述终端所处的区域是否在所述指定的一个或多个区域段内;在判断结果为是时,获取所述终端在当前所处区域或当前系统时间时的电池电量。 Optionally, when the area where the terminal corresponding to the shutdown threshold is in the specified one or more area segments, acquiring the battery power of the terminal in the current area or the current system time includes: determining the current Whether the area where the terminal is located is within the specified one or more area segments; when the determination result is yes, the battery power of the terminal when the current location or the current system time is obtained.
可选地,在与所述关机阈值对应的所述终端的系统时间为指定的一个或多个时间段时,获取所述终端在当前所处区域或当前系统时间时的电池电量包括:判断所述终端的系统时间是否在所述一个或多个时间段内;在判断结果为是时,获取所述终端在当前所处区域或当前系统时间时的电池电量。Optionally, when the system time of the terminal corresponding to the shutdown threshold is one or more specified time periods, acquiring the battery power of the terminal in the current region or the current system time includes: determining the location Whether the system time of the terminal is within the one or more time periods; when the determination result is yes, the battery power of the terminal when the current location or the current system time is obtained.
可选地,所述方法还包括:在判断结果为否时,设置所述关机阈值为0。Optionally, the method further includes: setting the shutdown threshold to 0 when the determination result is no.
可选地,在触发所述终端执行关机操作之后,所述方法还包括:在触发所述终端执行开机操作后,接收用户用于减少所述关机阈值的指定操作,其中,所述指定操作包括:按住所述终端的多个按键组成的组合按键、按住所述终端的指定按键到达预定时间。Optionally, after the triggering the terminal to perform the shutdown operation, the method further includes: after triggering the terminal to perform the booting operation, receiving a specified operation of the user for reducing the shutdown threshold, wherein the specifying operation includes : Press and hold the combination button composed of a plurality of buttons of the terminal, and press and hold the designated button of the terminal to reach a predetermined time.
根据本发明实施例的再一个方面,提供了一种控制终端的装置,包括:第一接收模块,设置为接收用于配置终端关机阈值的策略,其中,所述策略用于指示在所述终端所处的不同区域具有与所述终端所处区域对应的关机阈值,或在所述终端的不同系统时间具有与所述终端时间对应的关机阈值;获取模块,设置为在所述终端所处区域变换或所述终端的系统时间变化时,获取所述终端在当前所处区域或当前系统时间时的电池电量;控制模块,设置为判断所述电池电量是否小于或等于所述终端在当前所处区域或当前系统时间对应的关机阈值,在判断结果为是时,触发所述终端执行关机操作。According to still another aspect of the embodiments of the present invention, there is provided an apparatus for controlling a terminal, comprising: a first receiving module, configured to receive a policy for configuring a terminal shutdown threshold, wherein the policy is used to indicate at the terminal The different area that is located has a shutdown threshold corresponding to the area where the terminal is located, or has a shutdown threshold corresponding to the terminal time at different system time of the terminal; the acquisition module is set to be in the area where the terminal is located And when the system time of the terminal changes, the battery power of the terminal in the current region or the current system time is acquired; and the control module is configured to determine whether the battery power is less than or equal to the current location of the terminal. The shutdown threshold corresponding to the area or the current system time, when the determination result is yes, triggering the terminal to perform a shutdown operation.
可选地,在与所述关机阈值对应的所述终端所处区域为指定的一个或多个区域段时所述获取模块包括:第一判断单元,设置为判断当前所述终端所处的区域是否在所述指定的一个或多个区域段内;第一获取单元,设置为在判断结果为是时,获取所述终端在当前所处区域或当前系统时间时的电池电量。Optionally, when the area where the terminal is located corresponding to the shutdown threshold is a specified one or more area segments, the acquiring module includes: a first determining unit, configured to determine an area where the current terminal is located Whether it is within the specified one or more area segments; the first obtaining unit is configured to acquire the battery power of the terminal when the current location or the current system time is when the determination result is yes.
可选地,在所述关机阈值对应的所述终端的系统时间为指定的一个或多个时间段时,所述获取模块包括:第二判断单元,设置为判断当前所述终端的系统时间是否在所述一个或多个时间段内;第二获取单元,设置为在判断结果为是时,获取所述终端在当前所处区域或当前系统时间时的电池电量。Optionally, when the system time of the terminal corresponding to the shutdown threshold is a specified one or more time periods, the acquiring module includes: a second determining unit, configured to determine whether the current system time of the terminal is During the one or more time periods; the second obtaining unit is configured to acquire the battery power of the terminal when the current location or the current system time is when the determination result is YES.
可选地,所述装置还包括:设置模块,设置为在判断结果为否时,设置所述关机阈值为0。Optionally, the device further includes: a setting module, configured to set the shutdown threshold to 0 when the determination result is no.
可选地,在触发所述终端执行关机操作之后,所述装置还包括:第二接收模块,设置为在触发所述终端执行开机操作后,接收用户用于减少所述关机阈值的指定操作,其中,所述指定操作包括:按住所述终端的多个按键组成的组合按键、按住所述终端的指定按键到达预定时间。Optionally, after the triggering the terminal to perform the shutdown operation, the device further includes: a second receiving module, configured to receive a specified operation of the user to reduce the shutdown threshold after the terminal is triggered to perform a power-on operation, Wherein, the specifying operation comprises: pressing and holding a combination button composed of a plurality of keys of the terminal, and pressing a designated button of the terminal to reach a predetermined time.
通过本发明实施例,采用在接收用于配置终端关机阈值的用于指示在终端所处的不同区域具有与终端所处区域对应的关机阈值,或在终端的不同系统时间具有与终端时间对应的关机阈值的策略之后,在终端所处区域变换或终端的系统时间变化时,获取终端在当前所处区域或当前系统时间时的电池电量,判断当前电池电量是否小于或等于终端在当前所处区域或当前系统时间对应的关机阈值,在判断结果为是时,触发终端执行关机操作,而在判断结果为否时,该终端继续处于开机状态;可见,在本实施例中通过终端所处区域的变换与系统时 间的变化调整相应的关机阈值的取值,解决了相关技术中总段对于低电关机的操作比较单一,无法满足用户需求的问题,达到了提高用户体验的效果。According to the embodiment of the present invention, the receiving the threshold for setting the terminal shutdown threshold is used to indicate that the different area where the terminal is located has a shutdown threshold corresponding to the area where the terminal is located, or has a corresponding time of the terminal at different system time of the terminal. After the policy of shutting down the threshold, when the area where the terminal is located changes or the system time of the terminal changes, the battery power of the terminal in the current area or the current system time is obtained, and it is determined whether the current battery power is less than or equal to the current location of the terminal. Or the shutdown threshold corresponding to the current system time. When the determination result is yes, the terminal is triggered to perform the shutdown operation, and when the determination result is no, the terminal continues to be in the power-on state; as shown in the embodiment, the location of the terminal is Transformation and system time The change between the corresponding shutdown thresholds is solved, and the problem that the total section of the related technology is relatively simple for the low-power shutdown and cannot meet the user's demand is solved, and the effect of improving the user experience is achieved.
附图说明DRAWINGS
此处所说明的附图用来提供对本发明的进一步理解,构成本申请的一部分,本发明的示意性实施例及其说明用于解释本发明,并不构成对本发明的不当限定。在附图中:The drawings described herein are intended to provide a further understanding of the invention, and are intended to be a part of the invention. In the drawing:
图1是根据本发明实施例的控制终端的方法流程图;1 is a flow chart of a method of controlling a terminal according to an embodiment of the present invention;
图2是根据本发明实施例的控制终端的装置的结构框图;2 is a structural block diagram of an apparatus for controlling a terminal according to an embodiment of the present invention;
图3是根据本发明实施例的控制终端的装置的可选结构框图一;3 is a block diagram 1 of an optional structure of an apparatus for controlling a terminal according to an embodiment of the present invention;
图4是根据本发明实施例的控制终端的装置的可选结构框图二;4 is a block diagram 2 of an optional structure of an apparatus for controlling a terminal according to an embodiment of the present invention;
图5是根据本发明实施例的控制终端的装置的可选结构框图三;FIG. 5 is a block diagram 3 of an optional structure of an apparatus for controlling a terminal according to an embodiment of the present invention; FIG.
图6是根据本发明可选实施例的电量控制终端的装置的示意图;6 is a schematic diagram of an apparatus for a power control terminal according to an alternative embodiment of the present invention;
图7是根据本发明可选实施例的电量控制方法设置方式的示意图;7 is a schematic diagram of a manner of setting a power control method according to an alternative embodiment of the present invention;
图8是根据本发明可选实施例的强制开机处理方法的流程图。8 is a flow chart of a forced boot process method in accordance with an alternate embodiment of the present invention.
具体实施方式detailed description
下文中将参考附图并结合实施例来详细说明本发明。需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互组合。The invention will be described in detail below with reference to the drawings in conjunction with the embodiments. It should be noted that the embodiments in the present application and the features in the embodiments may be combined with each other without conflict.
需要说明的是,本发明的说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。It is to be understood that the terms "first", "second" and the like in the specification and claims of the present invention are used to distinguish similar objects, and are not necessarily used to describe a particular order or order.
在本实施例中提供了一种控制终端的方法,图1是根据本发明实施例的控制终端的方法流程图,如图1所示,该流程包括如下步骤:A method for controlling a terminal is provided in this embodiment. FIG. 1 is a flowchart of a method for controlling a terminal according to an embodiment of the present invention. As shown in FIG. 1, the process includes the following steps:
步骤S102:接收用于配置终端关机阈值的策略,其中,该策略用于指示在终端所处的不同区域具有与终端所处区域对应的关机阈值,或在终端的不同系统时间具有与终端时间对应的关机阈值;Step S102: Receive a policy for configuring a terminal shutdown threshold, where the policy is used to indicate that the different area where the terminal is located has a shutdown threshold corresponding to the area where the terminal is located, or has a corresponding time of the terminal at different system time of the terminal. Shutdown threshold;
步骤S104:在终端所处区域变换或终端的系统时间变化时,获取终端在当前所处区域或当前系统时间时的电池电量;Step S104: When the area where the terminal is located changes or the system time of the terminal changes, the battery power of the terminal when the current location or the current system time is obtained is acquired;
步骤S106:判断电池电量是否小于或等于终端在当前所处区域或当前系统时间对应的关机阈值,在判断结果为是时,触发终端执行关机操作。Step S106: Determine whether the battery power is less than or equal to the shutdown threshold corresponding to the current location or current system time of the terminal. When the determination result is yes, the terminal is triggered to perform a shutdown operation.
通过本实施例中的上述步骤S102至步骤S106,在接收用于配置终端关机阈值的用于指示 在终端所处的不同区域具有与终端所处区域对应的关机阈值,或在终端的不同系统时间具有与终端时间对应的关机阈值的策略之后,在终端所处区域变换或终端的系统时间变化时,获取终端在当前所处区域或当前系统时间时的电池电量,判断当前电池电量是否小于或等于终端在当前所处区域或当前系统时间对应的关机阈值,在判断结果为是时,触发终端执行关机操作,而在判断结果为否时,该终端继续处于开机状态;可见,在本实施例中通过终端所处区域的变换与系统时间的变化调整相应的关机阈值的取值,解决了相关技术中总段对于低电关机的操作比较单一,无法满足用户需求的问题,达到了提高用户体验的效果。Through the above steps S102 to S106 in this embodiment, the indication for receiving the terminal shutdown threshold is received. In a different area where the terminal is located, there is a shutdown threshold corresponding to the area where the terminal is located, or a policy having a shutdown threshold corresponding to the terminal time at different system time of the terminal, when the area where the terminal is located changes or the system time of the terminal changes Obtaining the battery power of the terminal in the current area or the current system time, determining whether the current battery power is less than or equal to the shutdown threshold corresponding to the current location or current system time of the terminal, and when the determination result is yes, triggering the terminal to execute The shutdown operation is performed, and when the judgment result is no, the terminal continues to be in the power-on state; it can be seen that in the embodiment, the value of the corresponding shutdown threshold is adjusted by the transformation of the area where the terminal is located and the change of the system time, and the related technology is solved. The operation of the middle section is relatively simple for the operation of low power shutdown, which can not meet the needs of users, and achieves the effect of improving the user experience.
在应用场景中本实施例中上述步骤S102至步骤S106的方式可以是:当用户有一些特殊需求,需要根据特定的区域或者时间来分配电量的使用时,如长时间旅行后,希望强制保留10%的电量在返程时使用,根据设置在旅游地点范围内该关机阈值为电池总电量的10%,或设置在旅游的时间范围内,如上午九点到下午五点这段时间内,设置该关机阈值为电池总电量的10%,这在旅游地点范围内或上午九点到下午五点范围内,电量为10%时,触发终端的关机操作。In the application scenario, the manner of the foregoing steps S102 to S106 in the embodiment may be: when the user has some special requirements, and the usage of the power needs to be allocated according to a specific area or time, for example, after a long travel, it is desirable to forcibly reserve 10 % of the battery is used during the return journey. The shutdown threshold is 10% of the total battery capacity according to the setting in the tourist location, or set within the travel time range, such as from 9:00 am to 5:00 pm. The shutdown threshold is 10% of the total battery power, which triggers the shutdown operation of the terminal within the range of the tourist location or within the range of 9:00 am to 5:00 pm.
对于本实施例中涉及到的与关机阈值对应的终端所处区域为指定的一个或多个区域段,或,与关机阈值对应的终端的系统时间为指定的一个或多个时间段,也就是说,在该一个或多个区域段内的是具有相对应的关机阈值,而在该区域之外终端可以不用被设置由关机阈值的,同理对于系统时间也是一样的,用户可以根据需要在某一段或多段时间内设置相应的关机阈值,即用户可以根据不用的场景的需要是否设置该关机阈值,并不如相关技术中仅仅依靠关机阈值这一因素来控制终端自动的关机,更加贴合了用户的需求。The area in which the terminal corresponding to the shutdown threshold involved in the embodiment is the specified one or more area segments, or the system time of the terminal corresponding to the shutdown threshold is one or more specified time periods, that is, Said that in the one or more area segments has a corresponding shutdown threshold, and outside the area, the terminal may not need to be set by the shutdown threshold, the same is true for the system time, the user can The corresponding shutdown threshold is set in a certain period of time, that is, whether the user can set the shutdown threshold according to the needs of the unused scenario, and the control system does not rely on the shutdown threshold to control the automatic shutdown of the terminal, which is more suitable. User needs.
基于上述指定的一个或多个区域段,或,一个或多个时间段,对于本实施例步骤S104中涉及到的获取终端在当前所处区域或当前系统时间时的电池电量的方式,可以通过如下方式来实现:The method for obtaining the battery power of the terminal in the current region or the current system time in step S104 according to the one or more region segments specified in the foregoing, or one or more time segments, may be adopted. The following way to achieve:
步骤S11:判断当前终端所处的区域是否在指定的一个或多个区域段内,或终端的系统时间是否在一个或多个时间段内;Step S11: determining whether the area where the current terminal is located is within the specified one or more area segments, or whether the system time of the terminal is within one or more time periods;
步骤S12:在判断结果为是时,获取终端在当前所处区域或当前系统时间时的电池电量。Step S12: When the judgment result is YES, the battery power of the terminal when the current location or the current system time is obtained is acquired.
可见,通过步骤S11和步骤S12,只有在定的一个或多个区域段内,或终端的系统时间是否在一个或多个时间段内,才会去获取终端在当前所处区域或当前系统时间时的电池电量,进而通过该电池电量与对应的关机阈值进行比较。而在不是定的一个或多个区域段内,或终端的系统时间是否在一个或多个时间段内时,该终端会设置关机阈值的取值为0,也就是说在不是定的一个或多个区域段内,或终端的系统时间是否在一个或多个时间段内时,终端不会因为关机阈值而关机。It can be seen that, through step S11 and step S12, only in a certain one or more area segments, or whether the system time of the terminal is in one or more time periods, the terminal is in the current area or current system time. The battery level at the time is compared with the corresponding shutdown threshold by the battery level. In the case of one or more area segments that are not fixed, or whether the system time of the terminal is within one or more time periods, the terminal sets the shutdown threshold value to 0, that is, in the case of not being one or When multiple system segments, or when the system time of the terminal is within one or more time periods, the terminal will not shut down due to the shutdown threshold.
在本实施例的另一个可选实施方式中在触发终端执行关机操作之后,本实施例的方法还可以包括:在触发终端执行开机操作后,接收用户用于减少关机阈值的指定操作,其中,指定操作包括:按住终端的多个按键组成的组合按键、按住终端的指定按键到达预定时间。也就是说,用户如果仅仅是执行简单的开机操作,依然是启动不了终端的,因为此时终端的电 池电量是和关机阈值相等的,进而触发终端的执行关机操作,因此,在本实施例中采用了指定操作来减少关机阈值的指定操作,该减少量用户可以根据需要进行设置,如减少到当前关机阈值的一半,而该指定操作可以是按住终端的多个按键组成的组合按键、按住终端的指定按键到达预定时间,如在开机启动后继续长按电源键5秒,或,音量上键+电源键开机,当然该指定操作并不仅仅限于上述操作,还可以是其他操作,如插入耳机。In another optional implementation manner of the embodiment, after the triggering terminal performs the shutdown operation, the method of the embodiment may further include: after the triggering terminal performs the power-on operation, receiving a specified operation of the user for reducing the shutdown threshold, where The specified operation includes: pressing and holding a combination of a plurality of buttons of the terminal, and pressing a designated button of the terminal to reach a predetermined time. In other words, if the user simply performs a simple boot operation, the terminal cannot be started, because the terminal is powered at this time. The pool power is equal to the shutdown threshold, which in turn triggers the terminal to perform the shutdown operation. Therefore, in the embodiment, the specified operation is adopted to reduce the specified operation of the shutdown threshold, and the reduced amount of users can be set as needed, such as reducing to the current The shutdown threshold is half, and the specified operation may be a combination of a plurality of buttons of the terminal, pressing a designated button of the terminal to reach a predetermined time, such as continuing to press and hold the power button for 5 seconds after the power is turned on, or, on the volume The key + power button is turned on. Of course, the specified operation is not limited to the above operation, and may be other operations such as inserting a headset.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到根据上述实施例的方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端设备(可以是手机,计算机,服务器,或者网络设备等)执行本发明各个实施例的方法。Through the description of the above embodiments, those skilled in the art can clearly understand that the method according to the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course, by hardware, but in many cases, the former is A better implementation. Based on such understanding, the technical solution of the present invention, which is essential or contributes to the prior art, may be embodied in the form of a software product stored in a storage medium (such as ROM/RAM, disk, The optical disc includes a number of instructions for causing a terminal device (which may be a cell phone, a computer, a server, or a network device, etc.) to perform the methods of various embodiments of the present invention.
在本实施例中还提供了一种控制终端的装置,该装置用于实现上述实施例及优选实施方式,已经进行过说明的不再赘述。如以下所使用的,术语“模块”可以实现预定功能的软件和/或硬件的组合。尽管以下实施例所描述的装置较佳地以软件来实现,但是硬件,或者软件和硬件的组合的实现也是可能并被构想的。In the embodiment, a device for controlling a terminal is provided, which is used to implement the foregoing embodiments and preferred embodiments, and details are not described herein. As used below, the term "module" may implement a combination of software and/or hardware of a predetermined function. Although the apparatus described in the following embodiments is preferably implemented in software, hardware, or a combination of software and hardware, is also possible and contemplated.
图2是根据本发明实施例的控制终端的装置的结构框图,如图2所示,该装置包括:第一接收模块22,设置为接收用于配置终端关机阈值的策略,其中,策略用于指示在终端所处的不同区域具有与终端所处区域对应的关机阈值,或在终端的不同系统时间具有与终端时间对应的关机阈值;获取模块24,与第一接收模块22耦合连接,设置为在终端所处区域变换或终端的系统时间变化时,获取终端在当前所处区域或当前系统时间时的电池电量;控制模块26,与获取模块24耦合连接,设置为判断电池电量是否小于或等于终端在当前所处区域或当前系统时间对应的关机阈值,在判断结果为是时,触发终端执行关机操作。2 is a structural block diagram of an apparatus for controlling a terminal according to an embodiment of the present invention. As shown in FIG. 2, the apparatus includes: a first receiving module 22 configured to receive a policy for configuring a terminal shutdown threshold, where a policy is used for Indicates that the different areas in which the terminal is located have a shutdown threshold corresponding to the area where the terminal is located, or have a shutdown threshold corresponding to the terminal time at different system time of the terminal; the obtaining module 24 is coupled with the first receiving module 22, and is set to Obtaining the battery power of the terminal in the current region or the current system time when the location of the terminal is changed or the system time of the terminal is changed; the control module 26 is coupled to the acquisition module 24 and configured to determine whether the battery power is less than or equal to The shutdown threshold corresponding to the current location or current system time of the terminal, when the determination result is yes, triggers the terminal to perform a shutdown operation.
可选地,与关机阈值对应的终端所处区域为指定的一个或多个区域段,或,与关机阈值对应的终端的系统时间为指定的一个或多个时间段。Optionally, the area where the terminal corresponding to the shutdown threshold is located is the specified one or more area segments, or the system time of the terminal corresponding to the shutdown threshold is one or more specified time periods.
图3是根据本发明实施例的控制终端的装置的可选结构框图一,如图3所示,在与关机阈值对应的终端所处区域为指定的一个或多个区域段时,该获取模块24包括:第一判断单元32,设置为判断当前终端所处的区域是否在指定的一个或多个区域段内;第一获取单元34,与判断单元32耦合连接,设置为在判断结果为是时,获取终端在当前所处区域或当前系统时间时的电池电量;或,在终端的系统时间是否在一个或多个时间段内时,该获取模块24包括:第二判断单元36,设置为判断当前终端的系统时间是否在一个或多个时间段内;第二获取单元38,与第二判断单元耦合连接,设置为在判断结果为是时,获取终端在当前所处区域或当前系统时间时的电池电量。3 is a block diagram of an optional structure of an apparatus for controlling a terminal according to an embodiment of the present invention. As shown in FIG. 3, when an area corresponding to a shutdown threshold is in a specified one or more area segments, the acquiring module is used. The first determining unit 32 is configured to determine whether the area where the current terminal is located is within the specified one or more area segments. The first obtaining unit 34 is coupled to the determining unit 32 and is set to be Obtaining the battery power of the terminal in the current region or the current system time; or, when the system time of the terminal is in one or more time periods, the obtaining module 24 includes: a second determining unit 36, configured to Determining whether the system time of the current terminal is in one or more time periods; the second obtaining unit 38 is coupled to the second determining unit, and is configured to acquire the current location or current system time of the terminal when the determination result is yes. The battery level at the time.
图4是根据本发明实施例的控制终端的装置的可选结构框图二,如图4所示,装置还包括:设置模块42,与获取模块24耦合连接,设置为在判断结果为否时,设置关机阈值为0。4 is a block diagram of an optional structure of an apparatus for controlling a terminal according to an embodiment of the present invention. As shown in FIG. 4, the apparatus further includes: a setting module 42 coupled to the acquiring module 24, and configured to be Set the shutdown threshold to 0.
图5是根据本发明实施例的控制终端的装置的可选结构框图三,如图5所示,在触发终 端执行关机操作之后,该装置还包括:第二接收模块52,与控制模块26耦合连接,设置为在触发终端执行开机操作后,接收用户用于减少关机阈值的指定操作,其中,指定操作包括:按住终端的多个按键组成的组合按键、按住终端的指定按键到达预定时间。FIG. 5 is a block diagram 3 of an optional structure of an apparatus for controlling a terminal according to an embodiment of the present invention, as shown in FIG. After the shutdown operation is performed, the device further includes: a second receiving module 52 coupled to the control module 26, configured to receive a specified operation of the user for reducing the shutdown threshold after the triggering terminal performs the booting operation, wherein the specifying operation includes : Press and hold the combination button composed of multiple buttons of the terminal, and press and hold the specified button of the terminal to reach the predetermined time.
下面结合本发明的可选实施例对本发明进行举例说明;The invention is exemplified below in conjunction with an alternative embodiment of the invention;
本可选实施例提供了一种电量控制终端的方法,该技术方案的方式包括:The optional embodiment provides a method for controlling a power supply terminal, and the technical solution includes:
移动终端低电关机的电池level(对应于上述实施例中的关机阈值)判断与所在区域或时间有关,当所在区域或时间不同时,关机电池level值随之按照预定策略改变,其中,所在区域由移动终端的定位服务获取,时间则从移动网络侧获取当前标准时间。The battery level of the low-power shutdown of the mobile terminal (corresponding to the shutdown threshold in the above embodiment) is determined to be related to the area or time. When the area or time is different, the battery level value of the shutdown battery is changed according to a predetermined policy, where the area is Obtained by the location service of the mobile terminal, and the time is obtained from the mobile network side.
该预定策略是指:在移动终端上,网络侧或其它可信任移动终端上设置:在规定的区域和/或规定的时间内,移动终端的关机电池level值修改为多少。在达到条件后,向移动终端的电池服务模块发送事件,提示使用设定的关机电池level值,电池服务模块收到事件后根据修改后的关机电池level值来判断当前电池level值是否达到关机条件,如果达到关机条件则直接关机。在由于位置更改或时间变更,造成不能达到条件时,向移动终端的电池服务模块发送事件,提示使用原有关机电池level值,即0。The predetermined policy refers to: setting, on the mobile terminal, the network side or other trusted mobile terminal: how much the mobile terminal's shutdown battery level value is modified in a specified area and/or a specified time. After the condition is reached, an event is sent to the battery service module of the mobile terminal, prompting to use the set shutdown battery level value, and after receiving the event, the battery service module determines whether the current battery level value reaches the shutdown condition according to the modified shutdown battery level value. If the shutdown condition is reached, it will be shut down directly. When the condition cannot be reached due to the position change or the time change, an event is sent to the battery service module of the mobile terminal, prompting to use the original shutdown battery level value, that is, 0.
此外,如果用户需要在已经设定规则导致无法开机的情况下强行开机,可通过特定方式(如组合按键或在开机过程中加入其它输入)开机,在开机过程中通过引导程序设定来暂时改变电池level值与电压之间的映射关系,使同样的电压上报的level值大于设定的关机level值,从而使终端在电压再次达到关机level值之前暂时处于可开机状态。In addition, if the user needs to force the power on when the rules have been set, the power can be turned on in a specific way (such as a combination of buttons or other inputs during the boot process), and temporarily changed by the boot program setting during the boot process. The mapping relationship between the battery level value and the voltage causes the same voltage reporting level value to be greater than the set shutdown level value, so that the terminal is temporarily turned on before the voltage reaches the shutdown level value again.
下面结合附图对本可选实施例的方案进行详细的说明;The solution of the optional embodiment will be described in detail below with reference to the accompanying drawings;
图6是根据本发明可选实施例的电量控制终端的装置的示意图,如图6所示,该装置包括:定位服务模块、时间管理模块、电池管理模块以及关机策略管理模块,其中,关机策略管理模块可以从本机,web侧或可信任终端上获取关机策略输入。6 is a schematic diagram of an apparatus for controlling a power control terminal according to an alternative embodiment of the present invention. As shown in FIG. 6, the apparatus includes: a positioning service module, a time management module, a battery management module, and a shutdown policy management module, wherein the shutdown policy The management module can obtain the shutdown policy input from the local, web side or trusted terminal.
该关机策略包括:1.该关机策略所适用的区域和/或时间区间;2.该关机策略设定的关机电量level值。The shutdown strategy includes: 1. the area and/or time interval to which the shutdown policy applies; 2. the shutdown power level value set by the shutdown policy.
其中,获得关机策略输入后,关机策略管理模块按照特定时间间隔从定位服务和时间管理模块获取当前的位置和时间,并与设定的关机策略进行比对,如果比对结果匹配由之前的不成功变成了匹配成功则向电池管理模块输入新的关机电量level值,替代原有的0%。反之如果比对结果从成功变成了不成功,则通知电池模块恢复原有电量level 0%关机的设定。After the shutdown policy input is obtained, the shutdown policy management module obtains the current location and time from the location service and the time management module according to a specific time interval, and compares with the set shutdown policy, if the comparison result matches the previous one. If the success becomes a match, enter the new power-off level value into the battery management module, replacing the original 0%. On the other hand, if the comparison result becomes unsuccessful from the success, the battery module is notified to restore the original power level 0% shutdown setting.
图7是根据本发明可选实施例的电量控制方法设置方式的示意图,如图7所示,用户可以在pc端,可信任移动终端,或本终端上进行本发明的低电关机策略的设置,其中,在可信任移动终端上,可以通过特殊短信、邮件、消息以及直接传递应用层信令的方式来设置对方的低电关机策略。同时,被设置终端与设置方需要进行一定的鉴权过程,可选方式如密码鉴权,电话号码鉴权等。以上设置与鉴权方式均为已有技术,由于与本发明主干相关性不大, 这里不再赘述。FIG. 7 is a schematic diagram of a setting manner of a power control method according to an alternative embodiment of the present invention. As shown in FIG. 7, a user may perform setting of a low power shutdown policy of the present invention on a PC end, a trusted mobile terminal, or the terminal. In the trusted mobile terminal, the low-power shutdown policy of the other party can be set by means of special short messages, emails, messages, and direct application layer signaling. At the same time, the set terminal and the setter need to perform a certain authentication process, such as password authentication, phone number authentication, and the like. The above settings and the authentication method are both prior art, and since the correlation with the trunk of the present invention is small, I won't go into details here.
此外,用户在一些特殊情况下,可能需要打破自己预设的规则而正常开机使用手机。此时应该有一些用户自己才知道的方式来完成该操作。图8是根据本发明可选实施例的强制开机处理方法的流程图,如图8所示,该方法的步骤包括:In addition, in some special cases, users may need to break their own preset rules and use the phone normally. At this point, there should be some way for the user to know it. FIG. 8 is a flowchart of a method for forcibly starting a power according to an alternative embodiment of the present invention. As shown in FIG. 8, the steps of the method include:
步骤S802:收到开机命令,电源和系统启动;Step S802: receiving a power-on command, the power source and the system are started;
步骤S804:判断开机命令是否为预设的强制开机命令,在判断结果为是时,执行步骤S806,在判断结果为否时,执行步骤S808;Step S804: determining whether the power-on command is a preset forced power-on command, when the determination result is yes, step S806 is performed, and if the determination result is no, step S808 is performed;
步骤S806:在引导程序中修改电压与电量level的对应值关系,使同样电压对应更高的level值,之后执行步骤S808;Step S806: Modify the corresponding value relationship between the voltage and the power level in the boot program, so that the same voltage corresponds to a higher level value, and then step S808;
步骤S808:从驱动获取电池信息;Step S808: Obtaining battery information from the driver;
步骤S810:获取位置和时间信息,并据此获取当前的关机电压level;Step S810: Obtain location and time information, and obtain a current shutdown voltage level according to this;
步骤S812:判断当前电压level是否达到预设关机电压,在判断结果为是时,执行步骤S814,在判断结果为否时,执行步骤S810。Step S812: It is determined whether the current voltage level reaches the preset shutdown voltage. If the determination result is yes, step S814 is performed, and if the determination result is no, step S810 is performed.
步骤S814:执行低电压关机。Step S814: Performing a low voltage shutdown.
对于上述步骤S802至步骤S814,当用户在终端按照预定规则关机后,需要临时打开手机使用时。如果正常开机(即没有使用预设的强制开机命令),则开机后,关机策略模块仍然会向电池管理服务模块发送消息,表明目前仍然使用策略中设置的关机电量level。电池管理服务模块收到后会立即重新关机,这样用户无法使用;For the above steps S802 to S814, when the user shuts down according to a predetermined rule, the user needs to temporarily open the mobile phone. If the power is turned on normally (that is, the preset forced power-on command is not used), after the power is turned on, the shutdown policy module will still send a message to the battery management service module, indicating that the power-off level set in the policy is still used. The battery management service module will immediately shut down after receiving it, so that the user cannot use it;
而当用户使用预设的强制开机命令开机时(为了保证安全性,该命令可以由用户自己设置,例如在开机启动后继续长按电源键5秒,音量上键+电源键开机,插入耳机状态开机等),开机后,在启动引导程序的过程中,立即在引导程序中修改电压和电量level的对应关系,暂时使同样的电压对应更高的电池level,使上层获取电压level之后,虽然关机策略未改变,但得出的判断结果是未低于关机电压,终端在再次达到关机电压level之前仍处于可用状态。When the user uses the preset forced power-on command to boot (in order to ensure security, the command can be set by the user himself, for example, after the booting, continue to press and hold the power button for 5 seconds, the volume up button + the power button is turned on, and the headphone state is inserted. Boot, etc.), after booting up, in the process of starting the boot program, immediately modify the corresponding relationship between voltage and power level in the boot program, temporarily make the same voltage correspond to a higher battery level, so that the upper layer obtains the voltage level, although it is turned off. The policy has not changed, but the result of the judgment is that it is not lower than the shutdown voltage, and the terminal is still available until it reaches the shutdown voltage level again.
由上述本可选实施例的方式可知,本可选实施例具有如下有益效果:It can be seen from the manner of the foregoing optional embodiment that the optional embodiment has the following beneficial effects:
(1)在用户的终端确认丢失无法找回后,用户可以自行通过网络或其它已经设置了信任手机的终端,将丢失终端的关机电压在所有区域或全时间段调整为100%,这样新的使用者只要开机就会重新关机,终端除非重刷版本否则无法使用。(1) After the user's terminal confirms that the loss cannot be retrieved, the user can adjust the shutdown voltage of the lost terminal to 100% in all areas or full time period through the network or other terminal that has set the trusted mobile phone, so that the new one The user will restart the computer as soon as it is turned on, and the terminal cannot be used unless the version is re-flashed.
(2)客观上达到了保护用户数据隐私的目的。当用户有一些特殊需求,需要根据特定的区域或者时间来分配电量的使用时,如长时间旅行后,希望强制保留10%的电量在返程时使用。能够通过本发明的方法进行设置和电量的分配。(2) Objectively achieve the purpose of protecting the privacy of user data. When the user has some special needs, it is necessary to allocate the power according to the specific area or time. For example, after a long trip, it is desirable to force 10% of the power to be used in the return journey. The setting and the distribution of the electric quantity can be performed by the method of the present invention.
(3)在一些时刻也能够通过强制打破预设规则使用手机。希望在一些特定区域实现自动关机,例如某些公司的定制手机,希望员工一旦进入某些区域,手机全部自动关机,此时可 以使用本发明方案,将本公司设定的区域预制为100%电量低电关机。(3) At some point in time, it is also possible to use the mobile phone by forcibly breaking the preset rules. I hope to achieve automatic shutdown in some specific areas, such as customized mobile phones of some companies. I hope that once the employees enter certain areas, the mobile phones will be automatically shut down. In the use of the solution of the present invention, the area set by the company is prefabricated to be 100% low-power shutdown.
需要说明的是,上述各个模块是可以通过软件或硬件来实现的,对于后者,可以通过以下方式实现,但不限于此:上述模块均位于同一处理器中;或者,上述模块分别位于多个处理器中。It should be noted that each of the above modules may be implemented by software or hardware. For the latter, the foregoing may be implemented by, but not limited to, the foregoing modules are all located in the same processor; or, the modules are located in multiple In the processor.
本发明的实施例还提供了一种存储介质。可选地,在本实施例中,上述存储介质可以被设置为存储用于执行以下步骤的程序代码:Embodiments of the present invention also provide a storage medium. Optionally, in the embodiment, the foregoing storage medium may be configured to store program code for performing the following steps:
步骤S1:接收用于配置终端关机阈值的策略,其中,该策略用于指示在终端所处的不同区域具有与终端所处区域对应的关机阈值,或在终端的不同系统时间具有与终端时间对应的关机阈值;Step S1: Receive a policy for configuring a terminal shutdown threshold, where the policy is used to indicate that a different area in which the terminal is located has a shutdown threshold corresponding to the area where the terminal is located, or has a corresponding time in the different system time of the terminal. Shutdown threshold;
步骤S2:在终端所处区域变换或终端的系统时间变化时,获取终端在当前所处区域或当前系统时间时的电池电量;Step S2: acquiring the battery power of the terminal when the terminal is located or when the system time of the terminal changes, acquiring the current location of the terminal or the current system time;
步骤S3:判断电池电量是否小于或等于终端在当前所处区域或当前系统时间对应的关机阈值,在判断结果为是时,触发终端执行关机操作。可选地,本实施例中的具体示例可以参考上述实施例及可选实施方式中所描述的示例,本实施例在此不再赘述。Step S3: determining whether the battery power is less than or equal to the shutdown threshold corresponding to the current location or the current system time of the terminal, and when the determination result is yes, triggering the terminal to perform the shutdown operation. For example, the specific examples in this embodiment may refer to the examples described in the foregoing embodiments and the optional embodiments, and details are not described herein again.
显然,本领域的技术人员应该明白,上述的本发明的各模块或各步骤可以用通用的计算装置来实现,它们可以集中在单个的计算装置上,或者分布在多个计算装置所组成的网络上,可选地,它们可以用计算装置可执行的程序代码来实现,从而,可以将它们存储在存储装置中由计算装置来执行,并且在某些情况下,可以以不同于此处的顺序执行所示出或描述的步骤,或者将它们分别制作成各个集成电路模块,或者将它们中的多个模块或步骤制作成单个集成电路模块来实现。这样,本发明不限制于任何特定的硬件和软件结合。It will be apparent to those skilled in the art that the various modules or steps of the present invention described above can be implemented by a general-purpose computing device that can be centralized on a single computing device or distributed across a network of multiple computing devices. Alternatively, they may be implemented by program code executable by the computing device such that they may be stored in the storage device by the computing device and, in some cases, may be different from the order herein. The steps shown or described are performed, or they are separately fabricated into individual integrated circuit modules, or a plurality of modules or steps thereof are fabricated as a single integrated circuit module. Thus, the invention is not limited to any specific combination of hardware and software.
以上所述仅为本发明的优选实施例而已,并不用于限制本发明,对于本领域的技术人员来说,本发明可以有各种更改和变化。凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。The above description is only the preferred embodiment of the present invention, and is not intended to limit the present invention, and various modifications and changes can be made to the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and scope of the present invention are intended to be included within the scope of the present invention.
工业实用性Industrial applicability
通过本发明,采用在接收用于配置终端关机阈值的用于指示在终端所处的不同区域具有与终端所处区域对应的关机阈值,或在终端的不同系统时间具有与终端时间对应的关机阈值的策略之后,在终端所处区域变换或终端的系统时间变化时,获取终端在当前所处区域或当前系统时间时的电池电量,判断当前电池电量是否小于或等于终端在当前所处区域或当前系统时间对应的关机阈值,在判断结果为是时,触发终端执行关机操作,而在判断结果为否时,该终端继续处于开机状态;可见,在本实施例中通过终端所处区域的变换与系统时间的变化调整相应的关机阈值的取值,解决了相关技术中总段对于低电关机的操作比较单一,无法满足用户需求的问题,达到了提高用户体验的效果。 According to the present invention, the shutdown threshold for indicating that the terminal is in the different area in which the terminal is located is received, or the shutdown threshold corresponding to the terminal time is received at different system time of the terminal. After the policy of the terminal changes or the system time of the terminal changes, the battery power of the terminal in the current region or the current system time is obtained, and it is determined whether the current battery power is less than or equal to the current location or current location of the terminal. The shutdown threshold corresponding to the system time, when the judgment result is yes, the triggering terminal performs the shutdown operation, and when the determination result is no, the terminal continues to be in the power-on state; it can be seen that in the embodiment, the transformation of the region in which the terminal is located is The change of the system time adjusts the value of the corresponding shutdown threshold, which solves the problem that the general section of the related technology has a single operation for the low-power shutdown, and cannot meet the user's demand, thereby achieving the effect of improving the user experience.

Claims (10)

  1. 一种控制终端的方法,包括:A method of controlling a terminal, comprising:
    接收用于配置终端关机阈值的策略,其中,所述策略用于指示在所述终端所处的不同区域具有与所述终端所处区域对应的关机阈值,或在所述终端的不同系统时间具有与所述终端时间对应的关机阈值;Receiving a policy for configuring a terminal shutdown threshold, wherein the policy is used to indicate that a different area where the terminal is located has a shutdown threshold corresponding to an area where the terminal is located, or has a different system time of the terminal a shutdown threshold corresponding to the terminal time;
    在所述终端所处区域变换或所述终端的系统时间变化时,获取所述终端在当前所处区域或当前系统时间时的电池电量;Obtaining a battery power of the terminal when the terminal is located or when the system time of the terminal changes, acquiring the battery power of the terminal in the current region or the current system time;
    判断所述电池电量是否小于或等于所述终端在当前所处区域或当前系统时间对应的关机阈值,在判断结果为是时,触发所述终端执行关机操作。Determining whether the battery power is less than or equal to a shutdown threshold corresponding to the current location or current system time of the terminal, and when the determination result is yes, triggering the terminal to perform a shutdown operation.
  2. 根据权利要求1所述的方法,其中,在与所述关机阈值对应的所述终端所处区域为指定的一个或多个区域段时,获取所述终端在当前所处区域或当前系统时间时的电池电量包括:The method according to claim 1, wherein when the area where the terminal corresponding to the shutdown threshold is located is a designated one or more area segments, when the current location or current system time of the terminal is acquired Battery power includes:
    判断当前所述终端所处的区域是否在所述指定的一个或多个区域段内;Determining whether an area in which the terminal is currently located is within the specified one or more area segments;
    在判断结果为是时,获取所述终端在当前所处区域或当前系统时间时的电池电量。When the judgment result is YES, the battery power of the terminal when the current location or the current system time is obtained is acquired.
  3. 根据权利要求1所述的方法,其中,在与所述关机阈值对应的所述终端的系统时间为指定的一个或多个时间段时,获取所述终端在当前所处区域或当前系统时间时的电池电量包括:The method according to claim 1, wherein when the system time of the terminal corresponding to the shutdown threshold is one or more specified time periods, when the current location or current system time of the terminal is acquired Battery power includes:
    判断所述终端的系统时间是否在所述一个或多个时间段内;Determining whether the system time of the terminal is within the one or more time periods;
    在判断结果为是时,获取所述终端在当前所处区域或当前系统时间时的电池电量。When the judgment result is YES, the battery power of the terminal when the current location or the current system time is obtained is acquired.
  4. 根据权利要求2或3所述的方法,其中,所述方法还包括:The method of claim 2 or 3, wherein the method further comprises:
    在判断结果为否时,设置所述关机阈值为0。When the judgment result is no, the shutdown threshold is set to 0.
  5. 根据权利要求1所述的方法,其中,在触发所述终端执行关机操作之后,所述方法还包括:The method of claim 1, wherein after the triggering the terminal to perform a shutdown operation, the method further comprises:
    在触发所述终端执行开机操作后,接收用户用于减少所述关机阈值的指定操作,其中,所述指定操作包括:按住所述终端的多个按键组成的组合按键、按住所述终端的指定按键到达预定时间。After triggering the terminal to perform a booting operation, receiving a specified operation of the user for reducing the shutdown threshold, wherein the specifying operation comprises: pressing and holding a combination button composed of a plurality of keys of the terminal, and pressing and holding the terminal designation The button reaches the scheduled time.
  6. 一种控制终端的装置,包括:A device for controlling a terminal, comprising:
    第一接收模块,设置为接收用于配置终端关机阈值的策略,其中,所述策略用于指示在所述终端所处的不同区域具有与所述终端所处区域对应的关机阈值,或在所述终端的不同系统时间具有与所述终端时间对应的关机阈值;a first receiving module, configured to receive a policy for configuring a terminal shutdown threshold, where the policy is used to indicate that a different area where the terminal is located has a shutdown threshold corresponding to an area where the terminal is located, or The different system time of the terminal has a shutdown threshold corresponding to the terminal time;
    获取模块,设置为在所述终端所处区域变换或所述终端的系统时间变化时,获取所 述终端在当前所处区域或当前系统时间时的电池电量;Obtaining a module, configured to acquire a location when the area where the terminal is located is changed or the system time of the terminal changes The battery power of the terminal in the current area or current system time;
    控制模块,设置为判断所述电池电量是否小于或等于所述终端在当前所处区域或当前系统时间对应的关机阈值,在判断结果为是时,触发所述终端执行关机操作。The control module is configured to determine whether the battery power is less than or equal to a shutdown threshold corresponding to the current location or the current system time of the terminal, and when the determination result is yes, trigger the terminal to perform a shutdown operation.
  7. 根据权利要求6所述的装置,其中,在与所述关机阈值对应的所述终端所处区域为指定的一个或多个区域段时,所述获取模块包括:The apparatus according to claim 6, wherein when the area where the terminal corresponding to the shutdown threshold is located is a specified one or more area segments, the obtaining module comprises:
    第一判断单元,设置为判断当前所述终端所处的区域是否在所述指定的一个或多个区域段内;a first determining unit, configured to determine whether an area where the terminal is currently located is within the specified one or more area segments;
    第一获取单元,设置为在判断结果为是时,获取所述终端在当前所处区域或当前系统时间时的电池电量。The first obtaining unit is configured to acquire, when the determination result is yes, the battery power of the terminal when the current location or the current system time.
  8. 根据权利要求6所述的装置,其中,在所述关机阈值对应的所述终端的系统时间为指定的一个或多个时间段时,所述获取模块包括:The apparatus according to claim 6, wherein, when the system time of the terminal corresponding to the shutdown threshold is one or more specified time periods, the obtaining module comprises:
    第二判断单元,设置为判断当前所述终端的系统时间是否在所述一个或多个时间段内;a second determining unit, configured to determine whether the current system time of the terminal is within the one or more time periods;
    第二获取单元,设置为在判断结果为是时,获取所述终端在当前所处区域或当前系统时间时的电池电量。The second obtaining unit is configured to acquire, when the determination result is yes, the battery power of the terminal when the current location or the current system time.
  9. 根据权利要求7或8所述的装置,其中,所述装置还包括:The device according to claim 7 or 8, wherein the device further comprises:
    设置模块,设置为在判断结果为否时,设置所述关机阈值为0。Set the module to set the shutdown threshold to 0 when the judgment result is no.
  10. 根据权利要求6所述的装置,其中,在触发所述终端执行关机操作之后,所述装置还包括:The device according to claim 6, wherein after the triggering the terminal to perform a shutdown operation, the device further comprises:
    第二接收模块,设置为在触发所述终端执行开机操作后,接收用户用于减少所述关机阈值的指定操作,其中,所述指定操作包括:按住所述终端的多个按键组成的组合按键、按住所述终端的指定按键到达预定时间。 a second receiving module, configured to: after triggering the terminal to perform a power-on operation, receive a specified operation of the user for reducing the shutdown threshold, where the specifying operation includes: pressing a combination button composed of multiple buttons of the terminal Press and hold the specified button of the terminal to reach the predetermined time.
PCT/CN2015/089199 2015-07-24 2015-09-08 Method and apparatus for controlling terminal WO2016131246A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510443854.1A CN106371537A (en) 2015-07-24 2015-07-24 Terminal control method and apparatus
CN201510443854.1 2015-07-24

Publications (1)

Publication Number Publication Date
WO2016131246A1 true WO2016131246A1 (en) 2016-08-25

Family

ID=56689256

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2015/089199 WO2016131246A1 (en) 2015-07-24 2015-09-08 Method and apparatus for controlling terminal

Country Status (2)

Country Link
CN (1) CN106371537A (en)
WO (1) WO2016131246A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113721146A (en) * 2020-05-12 2021-11-30 华为技术有限公司 Automatic shutdown method, device, terminal and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101378138A (en) * 2008-09-28 2009-03-04 深圳华为通信技术有限公司 Method for improving battery use efficiency and equipment using battery to supply power
CN103345167A (en) * 2013-06-14 2013-10-09 东莞宇龙通信科技有限公司 Method and device for closing down intelligent control electronic equipment
CN103858070A (en) * 2013-10-25 2014-06-11 华为终端有限公司 Power-off threshold voltage adjustment method, starting up method and electronic equipment using same
US20150033049A1 (en) * 2012-03-09 2015-01-29 Zte Corporation Method, device and mobile terminal for information backup

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7797636B2 (en) * 2005-08-19 2010-09-14 Joseph Carter System and method for administering pluggable user interactive system applications
CN101330696A (en) * 2008-07-29 2008-12-24 中兴通讯股份有限公司 Method and apparatus for managing terminal equipment battery electric quantity
CN101621584B (en) * 2009-07-27 2013-05-08 中兴通讯股份有限公司 Using method of remaining battery power and performing device thereof
CN101860789A (en) * 2010-05-07 2010-10-13 惠州Tcl移动通信有限公司 Method for automatically shutting down mobile communication terminal in pointed place and mobile communication terminal
CN101841602A (en) * 2010-05-10 2010-09-22 袁程 Time-interval strategy control method for mobile phone and mobile phone
CN102467214A (en) * 2010-11-05 2012-05-23 英业达股份有限公司 Power management method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101378138A (en) * 2008-09-28 2009-03-04 深圳华为通信技术有限公司 Method for improving battery use efficiency and equipment using battery to supply power
US20150033049A1 (en) * 2012-03-09 2015-01-29 Zte Corporation Method, device and mobile terminal for information backup
CN103345167A (en) * 2013-06-14 2013-10-09 东莞宇龙通信科技有限公司 Method and device for closing down intelligent control electronic equipment
CN103858070A (en) * 2013-10-25 2014-06-11 华为终端有限公司 Power-off threshold voltage adjustment method, starting up method and electronic equipment using same

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113721146A (en) * 2020-05-12 2021-11-30 华为技术有限公司 Automatic shutdown method, device, terminal and storage medium
CN113721146B (en) * 2020-05-12 2023-04-07 华为技术有限公司 Automatic shutdown method, device, terminal and storage medium

Also Published As

Publication number Publication date
CN106371537A (en) 2017-02-01

Similar Documents

Publication Publication Date Title
US9880157B2 (en) Apparatus and methods for suppressing user-alerting actions
US20220368642A1 (en) Data traffic management method and apparatus
US9742868B2 (en) Method, device and system for processing instant messaging information and setting terminal priority
US10080194B2 (en) Method, device, and computer-readable storage medium for awaking electronic equipment
WO2016029578A1 (en) Dual-system electronic apparatus and terminal
US20170177406A1 (en) Methods for managing a service or application for a smart device and a smart device utilizing the same
JP2017529808A (en) Control method for mobile terminal antenna and mobile terminal
US11895364B2 (en) Bluetooth connection method and television
CN104991803A (en) System and method for managing and controlling self-startup of android application under specific conditions
CN111163388B (en) Management method and device for charging path of Bluetooth headset and readable storage medium
WO2017206301A1 (en) Information notification method and device
CN110554762A (en) Method and terminal for controlling application program
CN106022108B (en) A kind of synchronization management method and terminal device
WO2018082270A1 (en) Energy control method and control apparatus for power consumption system
EP3249570A1 (en) Method and device for providing prompt indicating loss of terminal
CN104699510A (en) Application program starting method, application program starting device and terminal
WO2016179900A1 (en) Routing device, power saving method and apparatus therefor, and storage medium
CN103297600A (en) Mobile terminal and method for automatically rebooting system of mobile terminal
WO2016131246A1 (en) Method and apparatus for controlling terminal
KR20120014958A (en) Emergency terminal and method for providing relief service using thereof
CN110795740B (en) Starting method and related device
WO2023098055A1 (en) Low-power-consumption mode starting method and apparatus, storage medium, and electronic apparatus
CN106020426A (en) Releasing method and device for awakening locks
CN105786534B (en) Information acquisition method and device
WO2018103374A1 (en) Control method and device

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

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

Country of ref document: EP

Kind code of ref document: A1