WO2020042760A1 - Control method for mobile terminal and mobile terminal - Google Patents

Control method for mobile terminal and mobile terminal Download PDF

Info

Publication number
WO2020042760A1
WO2020042760A1 PCT/CN2019/094915 CN2019094915W WO2020042760A1 WO 2020042760 A1 WO2020042760 A1 WO 2020042760A1 CN 2019094915 W CN2019094915 W CN 2019094915W WO 2020042760 A1 WO2020042760 A1 WO 2020042760A1
Authority
WO
WIPO (PCT)
Prior art keywords
mobile terminal
unlocking
mode
power consumption
option
Prior art date
Application number
PCT/CN2019/094915
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 WO2020042760A1 publication Critical patent/WO2020042760A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/32Means for saving power
    • G06F1/3203Power management, i.e. event-based initiation of a power-saving mode
    • G06F1/3206Monitoring of events, devices or parameters that trigger a change in power modality
    • G06F1/3212Monitoring battery levels, e.g. power saving mode being initiated when battery voltage goes below a certain level
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/32Means for saving power
    • G06F1/3203Power management, i.e. event-based initiation of a power-saving mode
    • G06F1/3234Power saving characterised by the action undertaken
    • G06F1/329Power saving characterised by the action undertaken by task scheduling
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/30Authentication, i.e. establishing the identity or authorisation of security principals
    • G06F21/31User authentication

Definitions

  • Embodiments of the present invention relate to the field of communications technologies, and in particular, to a method for controlling a mobile terminal and a mobile terminal.
  • the battery is the sole power source, which has a great impact on the normal use of the mobile phone.
  • the power of the mobile phone battery is very limited, resulting in a generally short continuous use time of the mobile phone. In this way, when the battery power approaches the lower limit threshold, the standby time of the mobile terminal will be shorter, so the user may not be able to operate the mobile phone normally.
  • Embodiments of the present invention provide a mobile terminal control method and a mobile terminal, so as to solve the problem of how to improve the use time of the mobile terminal on the premise of meeting user requirements.
  • an embodiment of the present invention provides a method for controlling a mobile terminal.
  • the method includes:
  • the remaining power of the mobile terminal is less than or equal to the first threshold, obtaining a first power consumption, where the first power consumption is the power consumption unlocked by applying the first unlocking method to the mobile terminal;
  • the first unlocking mode is switched to the target unlocking mode, and the mobile terminal uses the target unlocking mode to unlock and consume less power than the second threshold.
  • an embodiment of the present invention provides a mobile terminal.
  • the mobile terminal includes: an obtaining module and a switching module;
  • the acquiring module is configured to acquire a first power consumption when the remaining power of the mobile terminal is less than or equal to a first threshold, and the first power consumption is the power consumption unlocked by applying the first unlocking method to the mobile terminal;
  • the switching module is configured to switch the first unlocking mode to a target unlocking mode when the first power consumption obtained by the obtaining module is greater than or equal to a second threshold, and the mobile terminal applies a function unlocked by the target unlocking mode.
  • the power consumption is less than the second threshold.
  • an embodiment of the present invention provides a mobile terminal, including a processor, a memory, and a computer program stored on the memory and executable on the processor.
  • the computer program is executed by the processor, the computer program is implemented as described in the first section. Steps of a method of controlling a mobile terminal in one aspect.
  • an embodiment of the present invention provides a computer-readable storage medium on which a computer program is stored.
  • the computer program is executed by a processor, the method for controlling a mobile terminal in the first aspect is implemented. step.
  • the mobile terminal when the remaining power of the mobile terminal is less than or equal to the first threshold, the mobile terminal obtains the first power consumption, and the first power consumption is the power consumption that the mobile terminal unlocks by applying the first unlocking method;
  • the first power consumption is greater than or equal to the second threshold, the first unlocking mode is switched to the target unlocking mode, and the mobile terminal uses the target unlocking mode to unlock and consume less power than the second threshold.
  • FIG. 1 is a schematic structural diagram of an Android operating system according to an embodiment of the present invention.
  • FIG. 2 is a first flowchart of a method for controlling a mobile terminal according to an embodiment of the present invention
  • FIG. 3 is a second flowchart of a method for controlling a mobile terminal according to an embodiment of the present invention.
  • FIG. 4 is a third flowchart of a method for controlling a mobile terminal according to an embodiment of the present invention.
  • FIG. 5 is a schematic diagram of an interface of a control method for a mobile terminal according to an embodiment of the present invention.
  • FIG. 6 is a second schematic diagram of an interface of a control method for a mobile terminal according to an embodiment of the present invention.
  • FIG. 7 is a fourth flowchart of a method for controlling a mobile terminal according to an embodiment of the present invention.
  • FIG. 8 is a schematic structural diagram of a mobile terminal according to an embodiment of the present invention.
  • FIG. 9 is a second schematic structural diagram of a mobile terminal according to an embodiment of the present invention.
  • FIG. 10 is a hardware schematic diagram of a mobile terminal according to an embodiment of the present invention.
  • first,” “second,” “third,” and “fourth” in the specification and claims of this application are used to distinguish different objects, rather than to describe a specific order of the objects.
  • first threshold value, the second threshold value, the third threshold value, and the fourth threshold value are used to distinguish different threshold values, rather than to describe a specific order of the threshold values.
  • words such as “exemplary” or “for example” are used as examples, illustrations or illustrations. Any embodiment or design described as “exemplary” or “for example” in the embodiments of the present invention should not be construed as more preferred or more advantageous than other embodiments or designs. Rather, the use of the words “exemplary” or “for example” is intended to present the relevant concept in a concrete manner.
  • multiple means two or more than two, for example, multiple processing units refer to two or more processing units; multiple elements Refers to two or more elements, etc.
  • An embodiment of the present invention provides a method for controlling a mobile terminal.
  • the mobile terminal obtains a first power consumption, where the first power consumption is the first unlocking applied by the mobile terminal.
  • Power consumption of mode unlocking if the first power consumption is greater than or equal to the second threshold, switching the first unlocking mode to the target unlocking mode, and the mobile terminal applying the target unlocking mode to unlock the power consumption is less than the second Threshold.
  • an Android operating system is used as an example to introduce a software environment applied to a control method of a mobile terminal according to an embodiment of the present invention.
  • FIG. 1 it is a schematic architecture diagram of a possible Android operating system provided by an embodiment of the present invention.
  • the architecture of the Android operating system includes 4 layers, respectively: an application program layer, an application framework layer, a system runtime layer, and a kernel layer (specifically, it can be a Linux kernel layer).
  • the application layer includes various applications (including system applications and third-party applications) in the Android operating system.
  • the application framework layer is the framework of the application, and developers can develop some applications based on the application framework layer while complying with the development principles of the application framework.
  • the system runtime library layer includes a library (also called a system library) and an Android operating system operating environment.
  • the library mainly provides various resources needed by the Android operating system.
  • the Android operating system operating environment is used to provide a software environment for the Android operating system.
  • the kernel layer is the operating system layer of the Android operating system and belongs to the lowest layer of the Android operating system software layer.
  • the kernel layer is based on the Linux kernel and provides core system services and hardware-related drivers for the Android operating system.
  • a developer can develop a software program that implements the control method of the mobile terminal provided by the embodiment of the present invention based on the system architecture of the Android operating system shown in FIG.
  • the control method of the mobile terminal may be based on the Android operating system shown in FIG. 1. That is, the processor or terminal can implement the mobile terminal control method provided by the embodiment of the present invention by running the software program in an Android operating system.
  • the mobile terminal in the embodiment of the present invention may be a mobile phone, a tablet computer, a notebook computer, a palmtop computer, a car terminal, a wearable device, an ultra-mobile personal computer (UMPC), a netbook, or a personal digital assistant. assistant, PDA, etc.)
  • UMPC ultra-mobile personal computer
  • PDA personal digital assistant
  • the embodiments of the present invention are not specifically limited.
  • the execution subject of the control method of the mobile terminal provided by the embodiment of the present invention may be the above-mentioned mobile terminal, or a functional module and / or a functional entity capable of implementing the method in the mobile terminal, which may be specifically determined according to actual use requirements.
  • the embodiment of the present invention is not limited.
  • the mobile terminal is taken as an example to describe the control method of the mobile terminal provided by the embodiment of the present invention.
  • an embodiment of the present invention provides a method for controlling a mobile terminal.
  • the method may include steps 201 to 203 described below.
  • Step 201 In a case where the remaining power of the mobile terminal is less than or equal to the first threshold, the mobile terminal obtains a first power consumption, and the first power consumption is the power consumption of the mobile terminal unlocked by applying the first unlocking method.
  • the remaining power of the mobile terminal generally refers to the current power of the battery of the mobile terminal.
  • the first threshold value is greater than 0 and less than or equal to 1, and generally ranges from 10% to 20%. For example, in the embodiment of the present invention, the first threshold value is 15%.
  • the first threshold is usually set by the mobile terminal before it leaves the factory, or may be obtained in real time during the use of the mobile terminal according to actual needs, which is not limited in the embodiment of the present invention.
  • the first unlocking method may be 3D face unlocking, 2D face unlocking, fingerprint unlocking, password unlocking, or gesture unlocking, which are not limited in the embodiment of the present invention.
  • 3D face recognition mainly uses 3D cameras and infrared lights to obtain depth information.
  • the technology used is mainly structured light and time of flight (TOF).
  • 2D face recognition mainly uses RGB cameras.
  • the unlocking function is concerned, compared with 2D face, fingerprint unlock, password unlock, or gesture unlock, 3D face unlock has a lot of power consumption.
  • the power consumption of the mobile terminal applying the first unlocking mode is the power consumption of the mobile terminal using the first unlocking mode to unlock the screen.
  • the mobile terminal may use the average value of the power consumption counted by the history of the mobile terminal unlocked using the first unlocking method as the first power consumption; or may use the history of a large number of mobile terminal statistics counted by the mobile Internet shared data platform using the first
  • the average value of the power consumption unlocked by the unlocking method is used as the first power consumption; the first power consumption may also be obtained according to other methods, which is not limited in the embodiment of the present invention.
  • Step 202 The mobile terminal determines whether the first power consumption is greater than or equal to a second threshold.
  • the second threshold may be preset in the mobile terminal in advance, or may be acquired in real time, which is not limited in the embodiment of the present invention.
  • the size of the second threshold may be set according to actual conditions, and is not limited in the embodiment of the present invention.
  • the mobile terminal After the mobile terminal obtains the first power consumption, it determines whether the first power consumption is greater than or equal to the second threshold. If the first power consumption is less than the second threshold, it means that the first power consumption does not exceed the set second threshold, and the mobile terminal may Continue to use the first unlock method to unlock; if the first power consumption is greater than or equal to the second threshold value, it means that the first power consumption exceeds the set second threshold value, and the mobile terminal needs to be replaced with the target unlocking method whose power consumption is less than the second threshold value.
  • the first unlocking method is the unlocking method for unlocking the screen of the mobile terminal, that is, the following step 203 is performed.
  • Step 203 The mobile terminal switches the first unlocking mode to a target unlocking mode.
  • the power consumption of the mobile terminal applying the target unlocking mode to unlock is less than the second threshold.
  • the mobile terminal switches the first unlocking mode to a target unlocking mode, and the mobile terminal uses the target unlocking mode to unlock and consume less power than the second threshold.
  • the target unlocking method may be 3D face unlocking, 2D face unlocking, fingerprint unlocking, password unlocking, or gesture unlocking.
  • the power consumption is less than the mobile terminal using the first unlocking method.
  • the first unlocking method may be 3D face unlocking
  • the target unlocking method may be 2D face unlocking
  • the first unlocking method (TOF) and the target unlocking method (structured light) may both be 3D face unlocking, but the power consumption of the technology applied by the first unlocking method is greater than that of the technology applied by the target unlocking method. the amount.
  • the target unlocking method can reduce power consumption in terms of 3D image acquisition and 3D face recognition algorithms.
  • the mobile terminal When the user triggers the mobile terminal to be unlocked, the mobile terminal is unlocked using the target unlocking method.
  • An embodiment of the present invention provides a method for controlling a mobile terminal.
  • the mobile terminal obtains a first power consumption, where the first power consumption is the first for the mobile terminal application.
  • the power consumption of unlocking by the unlocking method; when the first power consumption is greater than or equal to the second threshold, switching the first unlocking method to the target unlocking method, and the mobile terminal applying the target unlocking method to unlock the power consumption is less than the first Two thresholds.
  • the method for controlling a mobile terminal may further include the following step 204; this step 203 specifically passes the following step 203a achieve.
  • Step 204 The mobile terminal obtains a working mode of the mobile terminal.
  • the working mode of the mobile terminal includes a first working mode and a second working mode.
  • the power consumption of the mobile terminal working in the first working mode is less than that of the mobile terminal working in the second working mode. Power consumption.
  • the first working mode is a low-battery working mode.
  • the mobile terminal displays a first prompt message, the first prompt information is used to indicate the remaining power of the mobile terminal, and Whether the battery is too low to enter the low battery operation mode.
  • the mobile terminal usually only retains some basic communication functions, such as a call function and a short message function.
  • the second working mode is a normal working mode, that is, the mobile terminal can use any function in the mobile terminal (usually when the mobile terminal has sufficient power, the remaining power is greater than the second threshold).
  • the mobile terminal may further include other working modes, which are specifically set according to user requirements, which are not described in the embodiment of the present invention.
  • the working mode of the mobile terminal is the first working mode, perform the following step 203a, otherwise no processing is performed (continue to work in the original working mode and continue to use the first unlocking method to unlock), or perform the corresponding action according to the preset method (For example, the following steps 205 to 207 are performed.)
  • the embodiment of the present invention is not limited.
  • Step 203a If the working mode of the mobile terminal is the first working mode, the mobile terminal switches the first unlocking mode to the target unlocking mode.
  • the mobile terminal determines that the working mode of the mobile terminal is the first working mode, the mobile terminal switches the first unlocking mode to the target unlocking mode.
  • the working mode of the mobile terminal is the first working mode, which indicates that the user has confirmed that the user needs to save power, so the mobile terminal can directly switch the first unlocking mode to the target unlocking mode.
  • the mobile terminal control method provided in the embodiment of the present invention switches the first unlocking mode to the second unlocking mode in combination with the needs of the user. Compared with the method of directly switching the first unlocking mode to the second unlocking mode regardless of the user's working mode, it is more in line with user needs and can improve the user experience.
  • the method for controlling a mobile terminal may further include steps 205 to 207 described below.
  • Step 205 The mobile terminal displays prompt information, where the prompt information includes a first option and a second option.
  • the first option is used to indicate that the unlocking mode is not switched
  • the second option is used to indicate the second unlocking mode, where the power consumption of the second unlocking mode is less than the second threshold.
  • the prompt message may include a prompt similar to "Please confirm whether to switch the unlocking method, and if you switch the unlocking method, please confirm the target unlocking method", which is set according to the actual situation.
  • the first option may be related prompts such as “No”, “do not switch”, and each second option may be related prompts of “xx unlocking method”.
  • the mobile terminal unlocks the power with different unlocking methods.
  • the prompt information may further include a third option, which is used to indicate a third unlocking mode, and the power consumption of the third unlocking mode is less than the second threshold.
  • the second unlocking method is different from the third unlocking method.
  • the power consumption of the mobile terminal applying the second unlocking method and the mobile terminal unlocking using the third unlocking method may be the same or different.
  • the prompt information may further include a fourth option, a fifth option, and the like indicating other unlocking methods, which are not limited in the embodiment of the present invention. In this way, the user can select the target unlocking method that the user commonly uses in combination with his preferences.
  • the first unlocking method is 3D face unlocking
  • the prompt information includes the prompts “Please confirm whether to switch the unlocking method?” And “If switching the unlocking method, please confirm the target unlocking method?” , As well as the first option (No), the second option (2D face unlock), and the third option (Unlock password). If the user selects the first option, the mobile terminal does not switch the unlocking mode; if the user selects the second option, the 2D face unlocking is the target unlocking mode; if the user selects the third option, the password unlocking is the target unlocking mode.
  • the prompt information is also used to indicate that the mobile terminal applies the target unlocking method to unlock after switching the unlocking method.
  • the prompt information may also include a prompt similar to "After the unlock mode is switched, the mobile terminal applies the target unlock mode to unlock” to eliminate the user's worry about "the mobile terminal cannot be unlocked after the mobile terminal switches the unlock mode.”
  • the second option is also used to indicate the power consumption of the mobile terminal to be unlocked by applying the second unlocking method
  • the third option is also used to indicate the power consumption of the mobile terminal to be unlocked by applying the third unlocking method.
  • the unlocking method with the lowest power consumption can be determined as the target unlocking method according to the different power consumption of different unlocking methods displayed in the prompt information.
  • the first unlocking method is 3D face unlocking
  • the prompt information includes “After switching the unlocking method, the mobile terminal applies the target unlocking method to unlock”, “Please confirm the user to switch the unlocking method?” , "If you switch the unlocking method, please confirm the target unlocking method?” And the first option (No), the second option (2D face unlock and power consumption a), and the third option (secret unlock and power consumption b) ).
  • Step 206 The mobile terminal receives a first input of the second option by the user.
  • the first input may be a user's click operation on the second option in the prompt information, or a user's sliding operation on the second option in the prompt information, or it may be a user's click on the second option in the prompt information.
  • Other feasible operations may be specifically determined according to actual use requirements, which are not limited in the embodiment of the present invention.
  • the above-mentioned click operation may be a click operation, a double-click operation, an arbitrary number of click operations, and the like.
  • the above sliding operation may be a sliding operation in any direction, such as sliding up, sliding down, sliding to the left, or sliding to the right.
  • the user selects the required unlocking method as the target unlocking method according to his own needs.
  • Step 207 In response to the first input, determine the second unlocking mode as a target unlocking mode.
  • the first input is a user's click operation on the second option
  • the target unlocking method is 2D face unlocking
  • the power consumption is a.
  • steps 205 to 207 may also occur when the mobile terminal determines that the working mode of the mobile terminal is the second working mode.
  • the method for controlling a mobile terminal provided by the foregoing embodiment of the present invention enables the mobile terminal to determine whether to switch the unlocking mode and the target unlocking mode according to the user's needs through interaction between the user and the mobile terminal, which can improve the user experience.
  • the method for controlling a mobile terminal may further include steps 208 to 210 described below.
  • Step 208 When the mobile terminal is in a lock screen state, the mobile terminal receives a second input from the user, and the second input is used to trigger the mobile terminal to display an unlock verification interface.
  • the type of the second input may be at least one of a touch screen input, a gravity input, and a key input.
  • the touch screen input may be a user's long-press input, slide input, or click input on the touch screen of the mobile terminal;
  • the gravity input may be input by the user shaking the mobile terminal in a specific direction or shaking the mobile terminal a specific number of times; keys
  • the input may be a single-click input, a double-click input, a long-press input, or a combination of key inputs of a user on a mobile terminal key.
  • the mobile terminal When the user needs to unlock the mobile terminal, the mobile terminal is caused to display the unlock verification interface through the second input.
  • Step 209 In response to the second input, the mobile terminal obtains the remaining power of the mobile terminal.
  • the mobile terminal obtains the remaining power of the mobile terminal.
  • An unlocking method of the mobile terminal is determined according to the relationship between the remaining power and the first threshold.
  • Step 210 The mobile terminal determines whether the remaining power of the mobile terminal is less than or equal to a first threshold.
  • step 201 is performed; if the mobile terminal determines that the remaining power of the mobile terminal is greater than the first threshold, the mobile terminal applies the first unlocking method to unlock the screen of the mobile terminal.
  • the method for controlling a mobile terminal provided in the foregoing embodiment of the present invention is to confirm whether the mobile terminal switches the unlocking mode when the user triggers the unlocking of the mobile terminal. If the user has not triggered the unlocking of the mobile terminal, the foregoing switching and unlocking mode may not be performed This process can save power and prolong the use time of the mobile terminal.
  • an embodiment of the present invention provides a mobile terminal 120.
  • the mobile terminal 120 includes: an obtaining module 121 and a switching module 122;
  • the obtaining module 121 is configured to obtain a first power consumption when the remaining power of the mobile terminal is less than or equal to a first threshold, where the first power consumption is the power consumption unlocked by applying the first unlocking method to the mobile terminal;
  • the switching module 122 is configured to switch the first unlocking mode to a target unlocking mode when the first power consumption obtained by the obtaining module 121 is greater than or equal to a second threshold, and the mobile terminal applies the target unlocking mode to unlock Is less than the second threshold.
  • the obtaining module 121 is specifically configured to obtain the working mode of the mobile terminal before switching the first unlocking mode to the target unlocking mode.
  • the working mode of the mobile terminal includes a first working mode and a second working mode.
  • Working mode within the same duration, the power consumption of the mobile terminal working in the first working mode is less than the power consumption of the mobile terminal working in the second working mode; the switching module 122 is specifically used if the mobile terminal Is the first working mode, the first unlocking mode is switched to the target unlocking mode.
  • the mobile terminal 120 further includes: a display module 123, a receiving module 124, and a determining module 125;
  • the display module 123 is configured to switch the first unlocking mode to Before the target unlock mode, a prompt message is displayed, the prompt information includes a first option and a second option, the first option is used to indicate that the unlock mode is not switched, the second option is used to indicate the second unlock mode, and the second unlock mode
  • the power consumption is less than the second threshold;
  • the receiving module 124 is configured to receive a user's first input of the second option displayed by the display module;
  • the determining module 125 is configured to respond to the first option received by the receiving module Enter, and determine the second unlocking mode as the target unlocking mode.
  • the prompt information further includes a third option, the third option is used to indicate a third unlocking method, and the power consumption of the third unlocking method is less than the second threshold; the second option is further used to indicate the mobile terminal The power consumption unlocked by applying the second unlocking method, and the third option is also used to instruct the mobile terminal to apply the power consumption unlocked by the third unlocking method; the prompt information is also used to indicate that the mobile terminal application is switched after the unlocking method is switched The target unlock method is unlocked.
  • the terminal device 120 further includes: a receiving module 124; the receiving module 124 is configured to receive a second input of the user when the mobile terminal is in a lock screen state, and the second input is used to trigger the mobile
  • the terminal displays an unlock verification interface; the obtaining module 121 is further configured to obtain the remaining power of the mobile terminal in response to the second input received by the receiving module 124.
  • the mobile terminal provided by the embodiment of the present invention can implement each process shown in any one of the method embodiments shown in FIG. 2 to FIG. 7. To avoid repetition, details are not described herein again.
  • An embodiment of the present invention provides a mobile terminal.
  • the mobile terminal obtains a first power consumption, and the first power consumption is unlocked by applying the first unlocking method to the mobile terminal. If the first power consumption is greater than or equal to the second threshold, switching the first unlocking mode to the target unlocking mode, and the mobile terminal applying the target unlocking mode to unlock the power consumption is less than the second threshold.
  • the first unlocking method with a large power consumption currently used by the mobile terminal is replaced with a target unlocking method with a low power consumption, so that the unlocking of the mobile terminal can be achieved without affecting the mobile terminal.
  • the use time of the mobile terminal is prolonged, and the problem of improving the use time of the mobile terminal under the premise of meeting user needs is solved.
  • FIG. 10 is a schematic diagram of a hardware structure of a mobile terminal that implements various embodiments of the present invention.
  • the mobile terminal 100 includes, but is not limited to, a radio frequency unit 101, a network module 102, an audio output unit 103, an input unit 104, a sensor 105, a display unit 106, a user input unit 107, an interface unit 108, and a memory 109 , Processor 110, and power supply 111.
  • the structure of the mobile terminal shown in FIG. 10 does not constitute a limitation on the mobile terminal, and the mobile terminal may include more or fewer components than shown in the figure, or combine some components, or different components. Layout.
  • the mobile terminal includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palmtop computer, a vehicle-mounted mobile terminal, a wearable device, and a pedometer.
  • the processor 110 is configured to obtain a first power consumption when the remaining power of the mobile terminal is less than or equal to a first threshold, where the first power consumption is the power consumption unlocked by applying the first unlocking method to the mobile terminal; When the first power consumption is greater than or equal to the second threshold, the first unlocking mode is switched to the target unlocking mode, and the mobile terminal uses the target unlocking mode to unlock and consume less power than the second threshold.
  • the mobile terminal when the remaining power of the mobile terminal is less than or equal to a first threshold, the mobile terminal obtains a first power consumption, and the first power consumption is a function of the mobile terminal unlocking by applying the first unlocking method. If the first power consumption is greater than or equal to the second threshold, switching the first unlocking mode to the target unlocking mode, and the mobile terminal applying the target unlocking mode to unlock the power consumption is less than the second threshold.
  • the radio frequency unit 101 may be used to receive and send signals during the transmission and reception of information or during a call. Specifically, the downlink data from the base station is received and processed by the processor 110; The uplink data is sent to the base station.
  • the radio frequency unit 101 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like.
  • the radio frequency unit 101 can also communicate with a network and other devices through a wireless communication system.
  • the mobile terminal provides users with wireless broadband Internet access through the network module 102, such as helping users to send and receive email, browse web pages, and access streaming media.
  • the audio output unit 103 may convert audio data received by the radio frequency unit 101 or the network module 102 or stored in the memory 109 into audio signals and output them as sound. Moreover, the audio output unit 103 may also provide audio output (for example, a call signal receiving sound, a message receiving sound, etc.) related to a specific function performed by the mobile terminal 100.
  • the audio output unit 103 includes a speaker, a buzzer, a receiver, and the like.
  • the input unit 104 is used for receiving audio or video signals.
  • the input unit 104 may include a graphics processing unit (GPU) 1041 and a microphone 1042.
  • the graphics processor 1041 pairs images of still pictures or videos obtained by an image capture device (such as a camera) in a video capture mode or an image capture mode. Data is processed.
  • the processed image frames may be displayed on the display unit 106.
  • the image frames processed by the graphics processor 1041 may be stored in the memory 109 (or other storage medium) or transmitted via the radio frequency unit 101 or the network module 102.
  • the microphone 1042 can receive sound, and can process such sound into audio data.
  • the processed audio data can be converted into a format that can be transmitted to a mobile communication base station via the radio frequency unit 101 in the case of a telephone call mode and output.
  • the mobile terminal 100 further includes at least one sensor 105, such as a light sensor, a motion sensor, and other sensors.
  • the light sensor includes an ambient light sensor and a proximity sensor, wherein the ambient light sensor can adjust the brightness of the display panel 1061 according to the brightness of the ambient light, and the proximity sensor can close the display panel 1061 and the display panel 1061 when the mobile terminal 100 moves to the ear. / Or backlight.
  • the accelerometer sensor can detect the magnitude of acceleration in various directions (generally three axes), and can detect the magnitude and direction of gravity when it is stationary, which can be used to identify mobile terminal attitudes (such as horizontal and vertical screen switching, related games , Magnetometer attitude calibration), vibration recognition related functions (such as pedometer, tap), etc .; sensor 105 can also include fingerprint sensor, pressure sensor, iris sensor, molecular sensor, gyroscope, barometer, hygrometer, thermometer, Infrared sensors, etc. are not repeated here.
  • the display unit 106 is configured to display information input by the user or information provided to the user.
  • the display unit 106 may include a display panel 1061, and the display panel 1061 may be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), or the like.
  • LCD liquid crystal display
  • OLED organic light-emitting diode
  • the user input unit 107 may be used to receive inputted numeric or character information, and generate key signal inputs related to user settings and function control of the mobile terminal.
  • the user input unit 107 includes a touch panel 1071 and other input devices 1072.
  • Touch panel 1071 also known as touch screen, can collect user's touch operations on or near it (such as the user using a finger, stylus, etc. any suitable object or accessory on touch panel 1071 or near touch panel 1071 operating).
  • the touch panel 1071 may include two parts, a touch detection device and a touch controller.
  • the touch detection device detects the user's touch position, and detects the signal caused by the touch operation, and transmits the signal to the touch controller; the touch controller receives touch information from the touch detection device, converts it into contact coordinates, and sends
  • the processor 110 receives and executes a command sent by the processor 110.
  • the touch panel 1071 may be implemented using various types such as resistive, capacitive, infrared, and surface acoustic wave.
  • the user input unit 107 may also include other input devices 1072.
  • other input devices 1072 may include, but are not limited to, a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not repeated here.
  • the touch panel 1071 may be overlaid on the display panel 1061.
  • the touch panel 1071 detects a touch operation on or near the touch panel 1071, the touch panel 1071 transmits the touch operation to the processor 110 to determine the type of the touch event.
  • the type of event provides a corresponding visual output on the display panel 1061.
  • the touch panel 1071 and the display panel 1061 are implemented as two independent components to implement the input and output functions of the mobile terminal, in some embodiments, the touch panel 1071 and the display panel 1061 may be integrated. The implementation of the input and output functions of the mobile terminal is not specifically limited here.
  • the interface unit 108 is an interface through which an external device is connected to the mobile terminal 100.
  • the external device may include a wired or wireless headset port, an external power (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device with an identification module, and audio input / output (I / O) port, video I / O port, headphone port, and more.
  • the interface unit 108 may be used to receive an input (e.g., data information, power, etc.) from an external device and transmit the received input to one or more elements within the mobile terminal 100 or may be used to connect the mobile terminal 100 and an external device. Transfer data between devices.
  • the memory 109 may be used to store software programs and various data.
  • the memory 109 may mainly include a storage program area and a storage data area, where the storage program area may store an operating system, at least one application required by a function (such as a sound playback function, an image playback function, etc.), etc .; the storage data area may store data according to Data (such as audio data, phone book, etc.) created by the use of mobile phones.
  • the memory 109 may include a high-speed random access memory, and may further include a non-volatile memory, such as at least one magnetic disk storage device, a flash memory device, or other volatile solid-state storage devices.
  • the processor 110 is a control center of the mobile terminal, and uses various interfaces and lines to connect various parts of the entire mobile terminal.
  • the processor 110 runs or executes software programs and / or modules stored in the memory 109, and calls data stored in the memory 109. , Perform various functions of the mobile terminal and process data, so as to monitor the mobile terminal as a whole.
  • the processor 110 may include one or more processing units; optionally, the processor 110 may integrate an application processor and a modem processor, wherein the application processor mainly processes an operating system, a user interface, and an application program, etc.
  • the tuning processor mainly handles wireless communication. It can be understood that the foregoing modem processor may not be integrated into the processor 110.
  • the mobile terminal 100 may further include a power source 111 (such as a battery) for supplying power to various components.
  • a power source 111 such as a battery
  • the power source 111 may be logically connected to the processor 110 through a power management system, thereby implementing management of charging, discharging, and power consumption through the power management system. Management and other functions.
  • the mobile terminal 100 includes some functional modules that are not shown, and details are not described herein again.
  • an embodiment of the present invention further provides a mobile terminal, which may include the processor 110, the memory 109, and the computer program stored in the memory 109 and executable on the processor 110 as shown in FIG. 10,
  • a mobile terminal which may include the processor 110, the memory 109, and the computer program stored in the memory 109 and executable on the processor 110 as shown in FIG. 10,
  • the computer program is executed by the processor 110, each process of the control method of the mobile terminal shown in any one of the method embodiments shown in FIG. 2 to FIG. 7 is implemented, and the same technical effect can be achieved. More details.
  • An embodiment of the present invention further provides a computer-readable storage medium.
  • a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the method shown in any one of the foregoing method embodiments shown in FIG. 2 to FIG.
  • Each process of the control method of the mobile terminal can achieve the same technical effect. To avoid repetition, details are not repeated here.
  • the computer-readable storage medium is, for example, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk.

Abstract

Embodiments of the present invention disclose a control method for a mobile terminal and a mobile terminal. The method comprises: in the case that the remaining power of the mobile terminal is less than or equal to a first threshold, obtaining first power consumption, the first power consumption being power consumption when the mobile terminal uses a first unlocking mode for unlocking; and in the case that the first power consumption is greater than or equal to a second threshold, switching from the first unlocking mode to a target unlocking mode, power consumption when the mobile terminal uses the target unlocking mode for unlocking being less than the second threshold.

Description

移动终端的控制方法及移动终端Control method of mobile terminal and mobile terminal
本申请要求于2018年8月28日提交中国国家知识产权局、申请号为201810990938.0、申请名称为“一种移动终端的控制方法及移动终端”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of a Chinese patent application filed on August 28, 2018 with the State Intellectual Property Office of China, application number 201810990938.0, and application name "A Control Method of a Mobile Terminal and Mobile Terminal", the entire contents of which are incorporated by reference Incorporated in this application.
技术领域Technical field
本发明实施例涉及通信技术领域,尤其涉及一种移动终端的控制方法及移动终端。Embodiments of the present invention relate to the field of communications technologies, and in particular, to a method for controlling a mobile terminal and a mobile terminal.
背景技术Background technique
目前,随着移动通信技术的迅速发展,用户不仅对移动终端的功能、可靠性与可操作性有很高的要求,而且对移动终端的人性化设计的要求也越来越高。例如,用户对移动终端的电池的使用时间的要求越来越高。At present, with the rapid development of mobile communication technology, users not only have high requirements for the functions, reliability and operability of mobile terminals, but also have higher and higher requirements for the humanized design of mobile terminals. For example, users are increasingly demanding the battery life of mobile terminals.
以移动终端是手机为例,日常使用过程中,在未连接充电器情况下,电池作为唯一电源,对手机的正常使用有着很大的影响。然而,受制于电池技术发展的瓶颈,手机电池的电量十分有限,导致手机持续使用时间普遍较短。如此,当电池的电量抵近下限阈值时,移动终端的待机时间会更短,因此可能导致用户无法正常操作手机。Taking the mobile terminal as a mobile phone as an example, during daily use, when the charger is not connected, the battery is the sole power source, which has a great impact on the normal use of the mobile phone. However, due to the bottleneck of the development of battery technology, the power of the mobile phone battery is very limited, resulting in a generally short continuous use time of the mobile phone. In this way, when the battery power approaches the lower limit threshold, the standby time of the mobile terminal will be shorter, so the user may not be able to operate the mobile phone normally.
发明内容Summary of the Invention
本发明实施例提供一种移动终端的控制方法及移动终端,以解决在满足用户需求的前提下,如何提高移动终端的使用时间的问题。Embodiments of the present invention provide a mobile terminal control method and a mobile terminal, so as to solve the problem of how to improve the use time of the mobile terminal on the premise of meeting user requirements.
为了解决上述技术问题,本申请是这样实现的:In order to solve the above technical problems, this application is implemented as follows:
第一方面,本发明实施例提供了一种移动终端的控制方法,该方法包括:According to a first aspect, an embodiment of the present invention provides a method for controlling a mobile terminal. The method includes:
在移动终端的剩余电量小于或等于第一阈值的情况下,获取第一功耗,该第一功耗为该移动终端应用第一解锁方式解锁的功耗;When the remaining power of the mobile terminal is less than or equal to the first threshold, obtaining a first power consumption, where the first power consumption is the power consumption unlocked by applying the first unlocking method to the mobile terminal;
在该第一功耗大于或等于第二阈值的情况下,将该第一解锁方式切换为目标解锁方式,该移动终端应用该目标解锁方式解锁的功耗小于该第二阈值。When the first power consumption is greater than or equal to the second threshold, the first unlocking mode is switched to the target unlocking mode, and the mobile terminal uses the target unlocking mode to unlock and consume less power than the second threshold.
第二方面,本发明实施例提供了一种移动终端,该移动终端包括:获取模块和切换模块;In a second aspect, an embodiment of the present invention provides a mobile terminal. The mobile terminal includes: an obtaining module and a switching module;
该获取模块,用于在移动终端的剩余电量小于或等于第一阈值的情况下,获取第一功耗,该第一功耗为该移动终端应用第一解锁方式解锁的功耗;The acquiring module is configured to acquire a first power consumption when the remaining power of the mobile terminal is less than or equal to a first threshold, and the first power consumption is the power consumption unlocked by applying the first unlocking method to the mobile terminal;
该切换模块,用于在该获取模块获取的该第一功耗大于或等于第二阈值的情况下,将该第一解锁方式切换为目标解锁方式,该移动终端应用该目标解锁方式解锁的功耗小于该第二阈值。The switching module is configured to switch the first unlocking mode to a target unlocking mode when the first power consumption obtained by the obtaining module is greater than or equal to a second threshold, and the mobile terminal applies a function unlocked by the target unlocking mode. The power consumption is less than the second threshold.
第三方面,本发明实施例提供了一种移动终端,包括处理器、存储器及存储在该存储器上并可在该处理器上运行的计算机程序,该计算机程序被该处理器执行时实现如第一方面中的移动终端的控制方法的步骤。According to a third aspect, an embodiment of the present invention provides a mobile terminal, including a processor, a memory, and a computer program stored on the memory and executable on the processor. When the computer program is executed by the processor, the computer program is implemented as described in the first section. Steps of a method of controlling a mobile terminal in one aspect.
第四方面,本发明实施例提供了一种计算机可读存储介质,该计算机可读存储介质上存储计算机程序,该计算机程序被处理器执行时实现如第一方面中的移动终端的控制方法的步骤。According to a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, the method for controlling a mobile terminal in the first aspect is implemented. step.
在本发明实施例中,在移动终端的剩余电量小于或等于第一阈值的情况下,移动终端获取第一功耗,该第一功耗为该移动终端应用第一解锁方式解锁的功耗;在该第一功耗大于或等于第二阈值的情况下,将该第一解锁方式切换为目标解锁方式,该移动终端应用该目标解锁方式解锁的功耗小于该第二阈值。通过该方案,当移动终端的电量较低时,将移动终端当前使用的功耗较大的第一解锁方式,替换为功耗较小的目标解锁方式,从而可以实现在不影响移动终端的解锁功能的前提下,延长移动终端的使用时间,进而在满足用户需求的前提下,提高了移动终端的使用时间。In the embodiment of the present invention, when the remaining power of the mobile terminal is less than or equal to the first threshold, the mobile terminal obtains the first power consumption, and the first power consumption is the power consumption that the mobile terminal unlocks by applying the first unlocking method; When the first power consumption is greater than or equal to the second threshold, the first unlocking mode is switched to the target unlocking mode, and the mobile terminal uses the target unlocking mode to unlock and consume less power than the second threshold. With this solution, when the power of the mobile terminal is low, the first unlocking method with a large power consumption currently used by the mobile terminal is replaced with a target unlocking method with a low power consumption, so that the unlocking of the mobile terminal can be achieved without affecting the mobile terminal. Under the premise of functions, the use time of the mobile terminal is prolonged, and further, the use time of the mobile terminal is improved under the premise of meeting user needs.
附图说明BRIEF DESCRIPTION OF THE DRAWINGS
图1为本发明实施例提供的一种安卓操作系统的架构示意图;FIG. 1 is a schematic structural diagram of an Android operating system according to an embodiment of the present invention; FIG.
图2为本发明实施例提供的移动终端的控制方法的流程图之一;2 is a first flowchart of a method for controlling a mobile terminal according to an embodiment of the present invention;
图3为本发明实施例提供的移动终端的控制方法的流程图之二;3 is a second flowchart of a method for controlling a mobile terminal according to an embodiment of the present invention;
图4为本发明实施例提供的移动终端的控制方法的流程图之三;4 is a third flowchart of a method for controlling a mobile terminal according to an embodiment of the present invention;
图5为本发明实施例提供的移动终端的控制方法的界面的示意图之一;5 is a schematic diagram of an interface of a control method for a mobile terminal according to an embodiment of the present invention;
图6为本发明实施例提供的移动终端的控制方法的界面的示意图之二;6 is a second schematic diagram of an interface of a control method for a mobile terminal according to an embodiment of the present invention;
图7为本发明实施例提供的移动终端的控制方法的流程图之四;7 is a fourth flowchart of a method for controlling a mobile terminal according to an embodiment of the present invention;
图8为本发明实施例提供的移动终端的结构示意图之一;FIG. 8 is a schematic structural diagram of a mobile terminal according to an embodiment of the present invention; FIG.
图9为本发明实施例提供的移动终端的结构示意图之二;9 is a second schematic structural diagram of a mobile terminal according to an embodiment of the present invention;
图10为本发明实施例提供的移动终端的硬件示意图。FIG. 10 is a hardware schematic diagram of a mobile terminal according to an embodiment of the present invention.
具体实施方式detailed description
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。In the following, the technical solutions in the embodiments of the present invention will be clearly and completely described with reference to the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the present invention, but not all of them. Based on the embodiments of the present invention, all other embodiments obtained by a person of ordinary skill in the art without creative efforts shall fall within the protection scope of the present application.
本申请的说明书和权利要求书中的术语“第一”、“第二”、“第三”和“第四”等是用于区别不同的对象,而不是用于描述对象的特定顺序。例如,第一阈值、第二阈值、第三阈值和第四阈值等是用于区别不同的阈值,而不是用于描述阈值的特定顺序。The terms "first," "second," "third," and "fourth" in the specification and claims of this application are used to distinguish different objects, rather than to describe a specific order of the objects. For example, the first threshold value, the second threshold value, the third threshold value, and the fourth threshold value are used to distinguish different threshold values, rather than to describe a specific order of the threshold values.
在本发明实施例中,“示例性的”或者“例如”等词用于表示作例子、例证或说明。本发明实施例中被描述为“示例性的”或者“例如”的任何实施例或设计方案不应被解释为比其它实施例或设计方案更优选或更具优势。确切而言,使用“示例性的”或者“例如”等词旨在以具体方式呈现相关概念。In the embodiments of the present invention, words such as “exemplary” or “for example” are used as examples, illustrations or illustrations. Any embodiment or design described as "exemplary" or "for example" in the embodiments of the present invention should not be construed as more preferred or more advantageous than other embodiments or designs. Rather, the use of the words "exemplary" or "for example" is intended to present the relevant concept in a concrete manner.
在本发明实施例的描述中,除非另有说明,“多个”的含义是指两个或者两个以上,例如,多个处理单元是指两个或者两个以上的处理单元;多个元件是指两个或者两个以上的元件等。In the description of the embodiments of the present invention, unless otherwise stated, the meaning of “multiple” means two or more than two, for example, multiple processing units refer to two or more processing units; multiple elements Refers to two or more elements, etc.
本发明实施例提供一种移动终端的控制方法,在移动终端的剩余电量小于或等于第一阈值的情况下,移动终端获取第一功耗,该第一功耗为该移动终端应用第一解锁方式解锁的功耗;在该第一功耗大于或等于第二阈值的情况下,将该第一解锁方式切换为目标解锁方式,该移动终端应用该目标解锁方式解锁的功耗小于该第二阈值。通过该方案,当移动终端的电量较低时,将移动终端当前使用的功耗较大的第一解锁方式,替换为功耗较小的目标解锁方式,从而可以实现在不影响移动终端的解锁功能的 前提下,延长移动终端的使用时间,进而解决了在满足用户需求的前提下,提高移动终端的使用时间的问题。An embodiment of the present invention provides a method for controlling a mobile terminal. When the remaining power of the mobile terminal is less than or equal to a first threshold, the mobile terminal obtains a first power consumption, where the first power consumption is the first unlocking applied by the mobile terminal. Power consumption of mode unlocking; if the first power consumption is greater than or equal to the second threshold, switching the first unlocking mode to the target unlocking mode, and the mobile terminal applying the target unlocking mode to unlock the power consumption is less than the second Threshold. With this solution, when the power of the mobile terminal is low, the first unlocking method with a large power consumption currently used by the mobile terminal is replaced with a target unlocking method with a low power consumption, so that the unlocking of the mobile terminal can be achieved without affecting the mobile terminal. Under the premise of functions, the use time of the mobile terminal is prolonged, and the problem of improving the use time of the mobile terminal under the premise of meeting user needs is solved.
下面以安卓操作系统为例,介绍一下本发明实施例提供的移动终端的控制方法所应用的软件环境。In the following, an Android operating system is used as an example to introduce a software environment applied to a control method of a mobile terminal according to an embodiment of the present invention.
如图1所示,为本发明实施例提供的一种可能的安卓操作系统的架构示意图。在图1中,安卓操作系统的架构包括4层,分别为:应用程序层、应用程序框架层、系统运行库层和内核层(具体可以为Linux内核层)。As shown in FIG. 1, it is a schematic architecture diagram of a possible Android operating system provided by an embodiment of the present invention. In FIG. 1, the architecture of the Android operating system includes 4 layers, respectively: an application program layer, an application framework layer, a system runtime layer, and a kernel layer (specifically, it can be a Linux kernel layer).
其中,应用程序层包括安卓操作系统中的各个应用程序(包括系统应用程序和第三方应用程序)。The application layer includes various applications (including system applications and third-party applications) in the Android operating system.
应用程序框架层是应用程序的框架,开发人员可以在遵守应用程序的框架的开发原则的情况下,基于应用程序框架层开发一些应用程序。The application framework layer is the framework of the application, and developers can develop some applications based on the application framework layer while complying with the development principles of the application framework.
系统运行库层包括库(也称为系统库)和安卓操作系统运行环境。库主要为安卓操作系统提供其所需的各类资源。安卓操作系统运行环境用于为安卓操作系统提供软件环境。The system runtime library layer includes a library (also called a system library) and an Android operating system operating environment. The library mainly provides various resources needed by the Android operating system. The Android operating system operating environment is used to provide a software environment for the Android operating system.
内核层是安卓操作系统的操作系统层,属于安卓操作系统软件层次的最底层。内核层基于Linux内核为安卓操作系统提供核心系统服务和与硬件相关的驱动程序。The kernel layer is the operating system layer of the Android operating system and belongs to the lowest layer of the Android operating system software layer. The kernel layer is based on the Linux kernel and provides core system services and hardware-related drivers for the Android operating system.
以安卓操作系统为例,本发明实施例中,开发人员可以基于上述如图1所示的安卓操作系统的系统架构,开发实现本发明实施例提供的移动终端的控制方法的软件程序,从而使得该移动终端的控制方法可以基于如图1所示的安卓操作系统运行。即处理器或者终端可以通过在安卓操作系统中运行该软件程序实现本发明实施例提供的移动终端的控制方法。Taking the Android operating system as an example, in the embodiment of the present invention, a developer can develop a software program that implements the control method of the mobile terminal provided by the embodiment of the present invention based on the system architecture of the Android operating system shown in FIG. The control method of the mobile terminal may be based on the Android operating system shown in FIG. 1. That is, the processor or terminal can implement the mobile terminal control method provided by the embodiment of the present invention by running the software program in an Android operating system.
本发明实施例中的移动终端可以为手机、平板电脑、笔记本电脑、掌上电脑、车载终端、可穿戴设备、超级移动个人计算机(ultra-mobile personal computer,UMPC)、上网本或者个人数字助理(personal digital assistant,PDA)等,本发明实施例不作具体限定。The mobile terminal in the embodiment of the present invention may be a mobile phone, a tablet computer, a notebook computer, a palmtop computer, a car terminal, a wearable device, an ultra-mobile personal computer (UMPC), a netbook, or a personal digital assistant. assistant, PDA, etc.) The embodiments of the present invention are not specifically limited.
本发明实施例提供的移动终端的控制方法的执行主体可以为上述的移动终端,也可以为该移动终端中能够实现该方法的功能模块和/或功能实体,具体的可以根据实际使用需求确定,本发明实施例不作限定。下面以移动终端为例,对本发明实施例提供的移动终端的控制方法进行示例性的说明。The execution subject of the control method of the mobile terminal provided by the embodiment of the present invention may be the above-mentioned mobile terminal, or a functional module and / or a functional entity capable of implementing the method in the mobile terminal, which may be specifically determined according to actual use requirements. The embodiment of the present invention is not limited. The mobile terminal is taken as an example to describe the control method of the mobile terminal provided by the embodiment of the present invention.
参考图2所示,本发明实施例提供了一种移动终端的控制方法,该方法可以包括下述的步骤201-步骤203。Referring to FIG. 2, an embodiment of the present invention provides a method for controlling a mobile terminal. The method may include steps 201 to 203 described below.
步骤201、在移动终端的剩余电量小于或等于第一阈值的情况下,移动终端获取第一功耗,该第一功耗为该移动终端应用第一解锁方式解锁的功耗。Step 201: In a case where the remaining power of the mobile terminal is less than or equal to the first threshold, the mobile terminal obtains a first power consumption, and the first power consumption is the power consumption of the mobile terminal unlocked by applying the first unlocking method.
移动终端的剩余电量通常是指移动终端的电池的当前电量。第一阈值大于0且小于或等于1,通常在10%~20%之间取值,示例性的,本发明实施例中第一阈值为15%。第一阈值通常为移动终端在出厂前设置好的,也可以为在移动终端的使用过程中,根据实际需要,实时获取的,本发明实施例不作限定。The remaining power of the mobile terminal generally refers to the current power of the battery of the mobile terminal. The first threshold value is greater than 0 and less than or equal to 1, and generally ranges from 10% to 20%. For example, in the embodiment of the present invention, the first threshold value is 15%. The first threshold is usually set by the mobile terminal before it leaves the factory, or may be obtained in real time during the use of the mobile terminal according to actual needs, which is not limited in the embodiment of the present invention.
第一解锁方式可以是3D人脸解锁、2D人脸解锁、指纹解锁、密令解锁或者手势解锁等,本发明实施例不作限定。The first unlocking method may be 3D face unlocking, 2D face unlocking, fingerprint unlocking, password unlocking, or gesture unlocking, which are not limited in the embodiment of the present invention.
目前,3D人脸识别主要为3D摄像头及红外灯获取深度信息,采用的技术主要为结构光、飞行时间技术(Time Of Flight,简称TOF);2D人脸识别主要用到RGB摄像头。就解锁功能来看,3D人脸解锁相对2D人脸、指纹解锁、密令解锁或者手势解锁等解锁方式来说,功耗增加了很多。具体的每种解锁方式应用的技术可以参考现有相关技术,此处不予赘述。At present, 3D face recognition mainly uses 3D cameras and infrared lights to obtain depth information. The technology used is mainly structured light and time of flight (TOF). 2D face recognition mainly uses RGB cameras. As far as the unlocking function is concerned, compared with 2D face, fingerprint unlock, password unlock, or gesture unlock, 3D face unlock has a lot of power consumption. For specific technologies applied to each unlocking method, reference may be made to existing related technologies, and details are not described herein.
移动终端应用第一解锁方式解锁的功耗即移动终端使用第一解锁方式解锁屏幕的过程的耗电量。The power consumption of the mobile terminal applying the first unlocking mode is the power consumption of the mobile terminal using the first unlocking mode to unlock the screen.
示例性的,移动终端可以将统计的该移动终端历史使用第一解锁方式解锁的功耗的平均值,作为第一功耗;也可以将移动互联网共享数据平台统计的大量移动终端历史使用第一解锁方式解锁的功耗的平均值,作为第一功耗;也可以是根据其他的方法获得第一功耗,本发明实施例不作限定。Exemplarily, the mobile terminal may use the average value of the power consumption counted by the history of the mobile terminal unlocked using the first unlocking method as the first power consumption; or may use the history of a large number of mobile terminal statistics counted by the mobile Internet shared data platform using the first The average value of the power consumption unlocked by the unlocking method is used as the first power consumption; the first power consumption may also be obtained according to other methods, which is not limited in the embodiment of the present invention.
步骤202、移动终端判断第一功耗是否大于或等于第二阈值。Step 202: The mobile terminal determines whether the first power consumption is greater than or equal to a second threshold.
第二阈值可以是移动终端中提前预设好的,也可以是实时获取的,本发明实施例不作限定。第二阈值的大小可以根据实际情况设定,本发明实施例不作限定。The second threshold may be preset in the mobile terminal in advance, or may be acquired in real time, which is not limited in the embodiment of the present invention. The size of the second threshold may be set according to actual conditions, and is not limited in the embodiment of the present invention.
移动终端获取第一功耗之后,判断第一功耗是否大于或等于第二阈值,若第一功耗小于第二阈值,则说明第一功耗没有超过设定的第二阈值,移动终端可以继续使用第一解锁方式解锁;若第一功耗大于或等于第二阈值,则说明第一功耗超过了设定的第二阈值,移动终端需用功耗小于第二阈值的目标解锁方式替换第一解锁方式,作为移动终端解锁屏幕的解锁方式,即执行下述步骤203。After the mobile terminal obtains the first power consumption, it determines whether the first power consumption is greater than or equal to the second threshold. If the first power consumption is less than the second threshold, it means that the first power consumption does not exceed the set second threshold, and the mobile terminal may Continue to use the first unlock method to unlock; if the first power consumption is greater than or equal to the second threshold value, it means that the first power consumption exceeds the set second threshold value, and the mobile terminal needs to be replaced with the target unlocking method whose power consumption is less than the second threshold value. The first unlocking method is the unlocking method for unlocking the screen of the mobile terminal, that is, the following step 203 is performed.
步骤203、移动终端将该第一解锁方式切换为目标解锁方式,该移动终端应用该目标解锁方式解锁的功耗小于该第二阈值。Step 203: The mobile terminal switches the first unlocking mode to a target unlocking mode. The power consumption of the mobile terminal applying the target unlocking mode to unlock is less than the second threshold.
在该第一功耗大于或等于第二阈值的情况下,移动终端将该第一解锁方式切换为目标解锁方式,该移动终端应用该目标解锁方式解锁的功耗小于该第二阈值。In a case where the first power consumption is greater than or equal to a second threshold, the mobile terminal switches the first unlocking mode to a target unlocking mode, and the mobile terminal uses the target unlocking mode to unlock and consume less power than the second threshold.
目标解锁方式可以是3D人脸解锁、2D人脸解锁、指纹解锁、密令解锁或者手势解锁等,当移动终端使用目标解锁方式的功耗小于移动终端使用第一解锁方式的功耗。The target unlocking method may be 3D face unlocking, 2D face unlocking, fingerprint unlocking, password unlocking, or gesture unlocking. When the mobile terminal uses the target unlocking method, the power consumption is less than the mobile terminal using the first unlocking method.
示例性的,第一解锁方式可以是3D人脸解锁,目标解锁方式可以是2D人脸解锁。Exemplarily, the first unlocking method may be 3D face unlocking, and the target unlocking method may be 2D face unlocking.
示例性的,第一解锁方式(TOF)和目标解锁方式(结构光)可以都是3D人脸解锁,但是第一解锁方式应用的技术的耗电量要大于目标解锁方式应用的技术的耗电量。例如,相比第一解锁方式,目标解锁方式可以在3D图像获取、3D人脸识别算法等方面降低功耗。Exemplarily, the first unlocking method (TOF) and the target unlocking method (structured light) may both be 3D face unlocking, but the power consumption of the technology applied by the first unlocking method is greater than that of the technology applied by the target unlocking method. the amount. For example, compared to the first unlocking method, the target unlocking method can reduce power consumption in terms of 3D image acquisition and 3D face recognition algorithms.
当用户触发移动终端解锁时,移动终端使用目标解锁方式解锁。When the user triggers the mobile terminal to be unlocked, the mobile terminal is unlocked using the target unlocking method.
本发明实施例提供了一种移动终端的控制方法,在移动终端的剩余电量小于或等于第一阈值的情况下,移动终端获取第一功耗,该第一功耗为该移动终端应用第一解锁方式解锁的功耗;在该第一功耗大于或等于第二阈值的情况下,将该第一解锁方式切换为目标解锁方式,该移动终端应用该目标解锁方式解锁的功耗小于该第二阈值。通过该方案,当移动终端的电量较低时,将移动终端当前使用的功耗较大的第一解锁方式,替换为功耗较小的目标解锁方式,从而可以实现在不影响移动终端的解锁功能的前提下,延长移动终端的使用时间,进而解决了在满足用户需求的前提下,提高移动终端的使用时间的问题。An embodiment of the present invention provides a method for controlling a mobile terminal. When the remaining power of the mobile terminal is less than or equal to a first threshold, the mobile terminal obtains a first power consumption, where the first power consumption is the first for the mobile terminal application. The power consumption of unlocking by the unlocking method; when the first power consumption is greater than or equal to the second threshold, switching the first unlocking method to the target unlocking method, and the mobile terminal applying the target unlocking method to unlock the power consumption is less than the first Two thresholds. With this solution, when the power of the mobile terminal is low, the first unlocking method with a large power consumption currently used by the mobile terminal is replaced with a target unlocking method with a low power consumption, so that the unlocking of the mobile terminal can be achieved without affecting the mobile terminal. Under the premise of functions, the use time of the mobile terminal is prolonged, and the problem of improving the use time of the mobile terminal under the premise of meeting user needs is solved.
示例性的,结合图2,如图3所示,在步骤203之前,本发明实施例提供的移动终端的控制方法还可以包括下述的步骤204;该步骤203具体的通过下述的步骤203a实现。For example, in conjunction with FIG. 2 and FIG. 3, before step 203, the method for controlling a mobile terminal provided by an embodiment of the present invention may further include the following step 204; this step 203 specifically passes the following step 203a achieve.
步骤204、移动终端获取该移动终端的工作模式。Step 204: The mobile terminal obtains a working mode of the mobile terminal.
该移动终端的工作模式包括:第一工作模式和第二工作模式,在相同时长内,该移动终端在该第一工作模式下工作的功耗小于该移动终端在该第二工作模式下工作的功耗。The working mode of the mobile terminal includes a first working mode and a second working mode. In the same time period, the power consumption of the mobile terminal working in the first working mode is less than that of the mobile terminal working in the second working mode. Power consumption.
第一工作模式为低电量工作模式,通常在移动终端的剩余电量小于或等于第一阈值的时,移动终端会显示第一提示信息,该第一提示信息用于指示移动终端的剩余电量,以及电量过低是否进入低电量工作模式。在低电量工作模式下,移动终端通常只保留一些基本通讯功能,例如通话功能,短信功能等。The first working mode is a low-battery working mode. Generally, when the remaining power of the mobile terminal is less than or equal to the first threshold, the mobile terminal displays a first prompt message, the first prompt information is used to indicate the remaining power of the mobile terminal, and Whether the battery is too low to enter the low battery operation mode. In the low-battery operating mode, the mobile terminal usually only retains some basic communication functions, such as a call function and a short message function.
第二工作模式为正常工作模式,即移动终端可以使用移动终端中具有的任意功能(通常为移动终端的电量充足时,剩余电量大于第二阈值)。The second working mode is a normal working mode, that is, the mobile terminal can use any function in the mobile terminal (usually when the mobile terminal has sufficient power, the remaining power is greater than the second threshold).
移动终端还可以包括其他的工作模式,具体根据用户需求设定,本发明实施例不予赘述。The mobile terminal may further include other working modes, which are specifically set according to user requirements, which are not described in the embodiment of the present invention.
若移动终端的工作模式为第一工作模式,则执行下述的步骤203a,否则不作处理(继续原工作模式工作,继续使用第一解锁方式解锁),或者,按照预设的方式执行对应的动作(例如,执行下述的步骤205-步骤207),本发明实施例不作限定。If the working mode of the mobile terminal is the first working mode, perform the following step 203a, otherwise no processing is performed (continue to work in the original working mode and continue to use the first unlocking method to unlock), or perform the corresponding action according to the preset method (For example, the following steps 205 to 207 are performed.) The embodiment of the present invention is not limited.
步骤203a、若该移动终端的工作模式为第一工作模式,则移动终端将该第一解锁方式切换为目标解锁方式。 Step 203a: If the working mode of the mobile terminal is the first working mode, the mobile terminal switches the first unlocking mode to the target unlocking mode.
在移动终端确定该移动终端的工作模式为第一工作模式时,移动终端将该第一解锁方式切换为目标解锁方式。When the mobile terminal determines that the working mode of the mobile terminal is the first working mode, the mobile terminal switches the first unlocking mode to the target unlocking mode.
该移动终端的工作模式为第一工作模式,说明用户已确认要省电,因此移动终端可以直接将该第一解锁方式切换为目标解锁方式。The working mode of the mobile terminal is the first working mode, which indicates that the user has confirmed that the user needs to save power, so the mobile terminal can directly switch the first unlocking mode to the target unlocking mode.
具体描述可以参考对上述步骤203的相关描述,此处不再赘述。For specific description, reference may be made to the related description of the foregoing step 203, and details are not described herein again.
由于通常在用户确认的情况下,移动终端才进入第一工作模式,因此本发明实施例提供的移动终端的控制方法,在结合用户需求的前提下,将第一解锁方式切换为第二解锁方式,相比不管用户工作模式,直接将第一解锁方式切换为第二解锁方式的方法,更符合用户需求,可以提高用户体验。Because the mobile terminal usually enters the first working mode only when the user confirms it, the mobile terminal control method provided in the embodiment of the present invention switches the first unlocking mode to the second unlocking mode in combination with the needs of the user. Compared with the method of directly switching the first unlocking mode to the second unlocking mode regardless of the user's working mode, it is more in line with user needs and can improve the user experience.
示例性的,结合图2,如图4所示,在步骤203之前,本发明实施例提供的移动终端的控制方法还可以包括下述的步骤205-步骤207。For example, in conjunction with FIG. 2 and FIG. 4, before step 203, the method for controlling a mobile terminal provided by an embodiment of the present invention may further include steps 205 to 207 described below.
步骤205、移动终端显示提示信息,该提示信息包括第一选项和第二选项。Step 205: The mobile terminal displays prompt information, where the prompt information includes a first option and a second option.
该第一选项用于指示不切换解锁方式,该第二选项用于指示第二解锁方式,该第二解锁方式的功耗小于该第二阈值。The first option is used to indicate that the unlocking mode is not switched, and the second option is used to indicate the second unlocking mode, where the power consumption of the second unlocking mode is less than the second threshold.
提示信息中可以包括类似“请用户确认是否切换解锁方式,若切换解锁方式,请确认目标解锁方式”的提示语,具体根据实际情况设定。第一选项可以是“否”、“不切换”等相关的提示语,每个第二选项可以是“xx解锁方式”的相关提示语,移动终端使用不同的解锁方式解锁的功耗不同。The prompt message may include a prompt similar to "Please confirm whether to switch the unlocking method, and if you switch the unlocking method, please confirm the target unlocking method", which is set according to the actual situation. The first option may be related prompts such as “No”, “do not switch”, and each second option may be related prompts of “xx unlocking method”. The mobile terminal unlocks the power with different unlocking methods.
该提示信息还可以包括第三选项,该第三选项用于指示第三解锁方式,该第三解 锁方式的功耗小于该第二阈值。第二解锁方式和第三解锁方式不同,该移动终端应用该第二解锁方式解锁的功耗与移动终端应用该第三解锁方式解锁的功耗可以相同,也可以不同。对第二解锁方式和第三解锁方式的描述可以参考上述对第一解锁方式的相关描述,此处不予赘述。The prompt information may further include a third option, which is used to indicate a third unlocking mode, and the power consumption of the third unlocking mode is less than the second threshold. The second unlocking method is different from the third unlocking method. The power consumption of the mobile terminal applying the second unlocking method and the mobile terminal unlocking using the third unlocking method may be the same or different. For the description of the second unlocking method and the third unlocking method, reference may be made to the foregoing description of the first unlocking method, and details are not described herein.
该提示信息还可以包括指示其他解锁方式的第四选项、第五选项等,本发明实施例不作限定。这样用户可以结合自己的喜好,选择用户常用的目标解锁方式。The prompt information may further include a fourth option, a fifth option, and the like indicating other unlocking methods, which are not limited in the embodiment of the present invention. In this way, the user can select the target unlocking method that the user commonly uses in combination with his preferences.
示例性的,如图5所示,第一解锁方式为3D人脸解锁,提示信息包括“请用户确认是否切换解锁方式?”,“若切换解锁方式,请确认目标解锁方式?”的提示语,以及第一选项(否)、第二选项(2D人脸解锁)和第三选项(密令解锁)。若用户选择第一选项,则移动终端不切换解锁方式;若用户选择第二选项,则2D人脸解锁为目标解锁方式;若用户选择第三选项,则密码解锁为目标解锁方式。Exemplarily, as shown in FIG. 5, the first unlocking method is 3D face unlocking, and the prompt information includes the prompts “Please confirm whether to switch the unlocking method?” And “If switching the unlocking method, please confirm the target unlocking method?” , As well as the first option (No), the second option (2D face unlock), and the third option (Unlock password). If the user selects the first option, the mobile terminal does not switch the unlocking mode; if the user selects the second option, the 2D face unlocking is the target unlocking mode; if the user selects the third option, the password unlocking is the target unlocking mode.
该提示信息还用于指示切换解锁方式后,该移动终端应用该目标解锁方式解锁。The prompt information is also used to indicate that the mobile terminal applies the target unlocking method to unlock after switching the unlocking method.
提示信息还可以包括类似“切换解锁方式后,该移动终端应用该目标解锁方式解锁”的提示语,以消除用户对“移动终端切换解锁方式后,使移动终端无法解锁”的担心。The prompt information may also include a prompt similar to "After the unlock mode is switched, the mobile terminal applies the target unlock mode to unlock" to eliminate the user's worry about "the mobile terminal cannot be unlocked after the mobile terminal switches the unlock mode."
该第二选项还用于指示该移动终端应用该第二解锁方式解锁的功耗,以及该第三选项还用于指示该移动终端应用该第三解锁方式解锁的功耗。The second option is also used to indicate the power consumption of the mobile terminal to be unlocked by applying the second unlocking method, and the third option is also used to indicate the power consumption of the mobile terminal to be unlocked by applying the third unlocking method.
这样可以给用户更直观的感受,用户可以结合自己需求选择对应功耗的解锁方式。例如用户需要选择功耗最低的解锁方式,则可以根据提示信息显示的不同解锁方式的不同功耗,确定功耗最低的解锁方式作为目标解锁方式。This can give users a more intuitive experience, and users can choose the unlocking method corresponding to power consumption according to their needs. For example, if the user needs to select the unlocking method with the lowest power consumption, the unlocking method with the lowest power consumption can be determined as the target unlocking method according to the different power consumption of different unlocking methods displayed in the prompt information.
示例性的,如图6所示,第一解锁方式为3D人脸解锁,提示信息包括“切换解锁方式后,该移动终端应用该目标解锁方式解锁”、“请用户确认是否切换解锁方式?”,“若切换解锁方式,请确认目标解锁方式?”的提示语,以及第一选项(否)、第二选项(2D人脸解锁和功耗a)和第三选项(密令解锁和功耗b)。Exemplarily, as shown in FIG. 6, the first unlocking method is 3D face unlocking, and the prompt information includes “After switching the unlocking method, the mobile terminal applies the target unlocking method to unlock”, “Please confirm the user to switch the unlocking method?” , "If you switch the unlocking method, please confirm the target unlocking method?" And the first option (No), the second option (2D face unlock and power consumption a), and the third option (secret unlock and power consumption b) ).
步骤206、移动终端接收用户对该第二选项的第一输入。Step 206: The mobile terminal receives a first input of the second option by the user.
第一输入可以为用户在提示信息中的第二选项上的点击操作,也可以为用户在提示信息中的第二选项上的滑动操作,也可以为用户在提示信息中的第二选项上的其他可行性操作,具体的可以根据实际使用需求确定,本发明实施例不作限定。The first input may be a user's click operation on the second option in the prompt information, or a user's sliding operation on the second option in the prompt information, or it may be a user's click on the second option in the prompt information. Other feasible operations may be specifically determined according to actual use requirements, which are not limited in the embodiment of the present invention.
示例性的,上述点击操作可以为单击操作,双击操作、任意次数的点击操作等。上述滑动操作可以为向任意方向的滑动操作,例如向上滑动、向下滑动、向左滑动或者向右滑动等。Exemplarily, the above-mentioned click operation may be a click operation, a double-click operation, an arbitrary number of click operations, and the like. The above sliding operation may be a sliding operation in any direction, such as sliding up, sliding down, sliding to the left, or sliding to the right.
用户根据自身需求,选择其需要的解锁方式作为目标解锁方式。The user selects the required unlocking method as the target unlocking method according to his own needs.
步骤207、响应于该第一输入,将该第二解锁方式确定为目标解锁方式。Step 207: In response to the first input, determine the second unlocking mode as a target unlocking mode.
示例性的,如图6所示,第一输入为用户在第二选项上的点击操作,则目标解锁方式为2D人脸解锁,功耗为a。Exemplarily, as shown in FIG. 6, the first input is a user's click operation on the second option, the target unlocking method is 2D face unlocking, and the power consumption is a.
需要说明的是:上述步骤205-步骤207也可以发生在移动终端确定移动终端的工作模式为第二工作模式的情况下。It should be noted that the above steps 205 to 207 may also occur when the mobile terminal determines that the working mode of the mobile terminal is the second working mode.
上述本发明实施例提供的移动终端的控制方法,通过用户与移动终端之间的交互,使移动终端根据用户的需求确定是否切换解锁方式,以及目标解锁方式,可以提高用户体验。The method for controlling a mobile terminal provided by the foregoing embodiment of the present invention enables the mobile terminal to determine whether to switch the unlocking mode and the target unlocking mode according to the user's needs through interaction between the user and the mobile terminal, which can improve the user experience.
示例性的,结合图4,如图7所示,在步骤201之前,本发明实施例提供的移动终端的控制方法还可以包括下述的步骤208-步骤210。For example, in conjunction with FIG. 4 and FIG. 7, before step 201, the method for controlling a mobile terminal provided by an embodiment of the present invention may further include steps 208 to 210 described below.
步骤208、在该移动终端处于锁屏状态的情况下,移动终端接收用户的第二输入,该第二输入用于触发移动终端显示解锁验证界面。Step 208: When the mobile terminal is in a lock screen state, the mobile terminal receives a second input from the user, and the second input is used to trigger the mobile terminal to display an unlock verification interface.
本发明实施例中,第二输入的类型可以为触屏输入、重力输入以及按键输入等中的至少一种。例如,触屏输入可以为用户对移动终端的触控屏的长按输入、滑动输入或者点击输入等输入;重力输入可以为用户在特定方向晃动移动终端或者对移动终端晃动特定次数等输入;按键输入可以为用户对移动终端按键的单击输入、双击输入、长按输入或者组合按键输入等输入。In the embodiment of the present invention, the type of the second input may be at least one of a touch screen input, a gravity input, and a key input. For example, the touch screen input may be a user's long-press input, slide input, or click input on the touch screen of the mobile terminal; the gravity input may be input by the user shaking the mobile terminal in a specific direction or shaking the mobile terminal a specific number of times; keys The input may be a single-click input, a double-click input, a long-press input, or a combination of key inputs of a user on a mobile terminal key.
当用户需要解锁移动终端时,通过第二输入,使移动终端显示解锁验证界面。When the user needs to unlock the mobile terminal, the mobile terminal is caused to display the unlock verification interface through the second input.
步骤209、响应于该第二输入,移动终端获取该移动终端的剩余电量。Step 209: In response to the second input, the mobile terminal obtains the remaining power of the mobile terminal.
响应于该第二输入,移动终端获取该移动终端的剩余电量。并根据剩余电量与第一阈值的关系,确定移动终端的解锁方式。In response to the second input, the mobile terminal obtains the remaining power of the mobile terminal. An unlocking method of the mobile terminal is determined according to the relationship between the remaining power and the first threshold.
步骤210、移动终端判断移动终端的剩余电量是否小于或等于第一阈值。Step 210: The mobile terminal determines whether the remaining power of the mobile terminal is less than or equal to a first threshold.
若移动终端判断移动终端的剩余电量小于或等于第一阈值,则执行上述步骤201;若移动终端判断移动终端的剩余电量大于第一阈值,则移动终端应用第一解锁方式解锁移动终端的屏幕。If the mobile terminal determines that the remaining power of the mobile terminal is less than or equal to the first threshold, step 201 is performed; if the mobile terminal determines that the remaining power of the mobile terminal is greater than the first threshold, the mobile terminal applies the first unlocking method to unlock the screen of the mobile terminal.
上述本发明实施例提供的移动终端的控制方法,是在用户触发移动终端解锁的情况下,确认移动终端是否切换解锁方式,若用户一直未触发移动终端解锁,则可以不执行上述的切换解锁方式的过程,这样可以节约电量,延长移动终端的使用时间。The method for controlling a mobile terminal provided in the foregoing embodiment of the present invention is to confirm whether the mobile terminal switches the unlocking mode when the user triggers the unlocking of the mobile terminal. If the user has not triggered the unlocking of the mobile terminal, the foregoing switching and unlocking mode may not be performed This process can save power and prolong the use time of the mobile terminal.
如图8所示,本发明实施例提供一种移动终端120,该移动终端120包括:获取模块121和切换模块122;As shown in FIG. 8, an embodiment of the present invention provides a mobile terminal 120. The mobile terminal 120 includes: an obtaining module 121 and a switching module 122;
该获取模块121,用于在移动终端的剩余电量小于或等于第一阈值的情况下,获取第一功耗,该第一功耗为该移动终端应用第一解锁方式解锁的功耗;The obtaining module 121 is configured to obtain a first power consumption when the remaining power of the mobile terminal is less than or equal to a first threshold, where the first power consumption is the power consumption unlocked by applying the first unlocking method to the mobile terminal;
该切换模块122,用于在该获取模块121获取的该第一功耗大于或等于第二阈值的情况下,将该第一解锁方式切换为目标解锁方式,该移动终端应用该目标解锁方式解锁的功耗小于该第二阈值。The switching module 122 is configured to switch the first unlocking mode to a target unlocking mode when the first power consumption obtained by the obtaining module 121 is greater than or equal to a second threshold, and the mobile terminal applies the target unlocking mode to unlock Is less than the second threshold.
可选的,该获取模块121,具体用于在该将该第一解锁方式切换为目标解锁方式之前,获取该移动终端的工作模式,该移动终端的工作模式包括:第一工作模式和第二工作模式,在相同时长内,该移动终端在该第一工作模式下工作的功耗小于该移动终端在该第二工作模式下工作的功耗;该切换模块122,具体用于若该移动终端的工作模式为第一工作模式,则将该第一解锁方式切换为目标解锁方式。Optionally, the obtaining module 121 is specifically configured to obtain the working mode of the mobile terminal before switching the first unlocking mode to the target unlocking mode. The working mode of the mobile terminal includes a first working mode and a second working mode. Working mode: within the same duration, the power consumption of the mobile terminal working in the first working mode is less than the power consumption of the mobile terminal working in the second working mode; the switching module 122 is specifically used if the mobile terminal Is the first working mode, the first unlocking mode is switched to the target unlocking mode.
可选的,结合图8,如图9所示,该移动终端120还包括:显示模块123、接收模块124和确定模块125;该显示模块123,用于在该将该第一解锁方式切换为目标解锁方式之前,显示提示信息,该提示信息包括第一选项和第二选项,该第一选项用于指示不切换解锁方式,该第二选项用于指示第二解锁方式,该第二解锁方式的功耗小于该第二阈值;该接收模块124,用于接收用户对该显示模块显示的该第二选项的第一输入;该确定模块125,用于响应于该接收模块接收的该第一输入,将该第二解锁方式确定为目标解锁方式。Optionally, in combination with FIG. 8, as shown in FIG. 9, the mobile terminal 120 further includes: a display module 123, a receiving module 124, and a determining module 125; the display module 123 is configured to switch the first unlocking mode to Before the target unlock mode, a prompt message is displayed, the prompt information includes a first option and a second option, the first option is used to indicate that the unlock mode is not switched, the second option is used to indicate the second unlock mode, and the second unlock mode The power consumption is less than the second threshold; the receiving module 124 is configured to receive a user's first input of the second option displayed by the display module; the determining module 125 is configured to respond to the first option received by the receiving module Enter, and determine the second unlocking mode as the target unlocking mode.
可选的,该提示信息还包括第三选项,该第三选项用于指示第三解锁方式,该第三解锁方式的功耗小于该第二阈值;该第二选项还用于指示该移动终端应用该第二解锁方式解锁的功耗,以及该第三选项还用于指示该移动终端应用该第三解锁方式解锁的功耗;该提示信息还用于指示切换解锁方式后,该移动终端应用该目标解锁方式解锁。Optionally, the prompt information further includes a third option, the third option is used to indicate a third unlocking method, and the power consumption of the third unlocking method is less than the second threshold; the second option is further used to indicate the mobile terminal The power consumption unlocked by applying the second unlocking method, and the third option is also used to instruct the mobile terminal to apply the power consumption unlocked by the third unlocking method; the prompt information is also used to indicate that the mobile terminal application is switched after the unlocking method is switched The target unlock method is unlocked.
可选的,该终端设备120还包括:接收模块124;该接收模块124,用于在该移动终端处于锁屏状态的情况下,接收用户的第二输入,该第二输入用于触发该移动终端显示解锁验证界面;该获取模块121,还用于响应于该接收模块124接收的该第二输入,获取该移动终端的剩余电量。Optionally, the terminal device 120 further includes: a receiving module 124; the receiving module 124 is configured to receive a second input of the user when the mobile terminal is in a lock screen state, and the second input is used to trigger the mobile The terminal displays an unlock verification interface; the obtaining module 121 is further configured to obtain the remaining power of the mobile terminal in response to the second input received by the receiving module 124.
本发明实施例提供的移动终端能够实现上述方法实施例中图2至图7任意之一所示的各个过程,为避免重复,此处不再赘述。The mobile terminal provided by the embodiment of the present invention can implement each process shown in any one of the method embodiments shown in FIG. 2 to FIG. 7. To avoid repetition, details are not described herein again.
本发明实施例提供了一种移动终端,在移动终端的剩余电量小于或等于第一阈值的情况下,移动终端获取第一功耗,该第一功耗为该移动终端应用第一解锁方式解锁的功耗;在该第一功耗大于或等于第二阈值的情况下,将该第一解锁方式切换为目标解锁方式,该移动终端应用该目标解锁方式解锁的功耗小于该第二阈值。通过该方案,当移动终端的电量较低时,将移动终端当前使用的功耗较大的第一解锁方式,替换为功耗较小的目标解锁方式,从而可以实现在不影响移动终端的解锁功能的前提下,延长移动终端的使用时间,进而解决了在满足用户需求的前提下,提高移动终端的使用时间的问题。An embodiment of the present invention provides a mobile terminal. When the remaining power of the mobile terminal is less than or equal to a first threshold, the mobile terminal obtains a first power consumption, and the first power consumption is unlocked by applying the first unlocking method to the mobile terminal. If the first power consumption is greater than or equal to the second threshold, switching the first unlocking mode to the target unlocking mode, and the mobile terminal applying the target unlocking mode to unlock the power consumption is less than the second threshold. With this solution, when the power of the mobile terminal is low, the first unlocking method with a large power consumption currently used by the mobile terminal is replaced with a target unlocking method with a low power consumption, so that the unlocking of the mobile terminal can be achieved without affecting the mobile terminal. Under the premise of functions, the use time of the mobile terminal is prolonged, and the problem of improving the use time of the mobile terminal under the premise of meeting user needs is solved.
图10为实现本发明各个实施例的一种移动终端的硬件结构示意图。如图10所示,该移动终端100包括但不限于:射频单元101、网络模块102、音频输出单元103、输入单元104、传感器105、显示单元106、用户输入单元107、接口单元108、存储器109、处理器110、以及电源111等部件。本领域技术人员可以理解,图10中示出的移动终端结构并不构成对移动终端的限定,移动终端可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。在本发明实施例中,移动终端包括但不限于手机、平板电脑、笔记本电脑、掌上电脑、车载移动终端、可穿戴设备、以及计步器等。FIG. 10 is a schematic diagram of a hardware structure of a mobile terminal that implements various embodiments of the present invention. As shown in FIG. 10, the mobile terminal 100 includes, but is not limited to, a radio frequency unit 101, a network module 102, an audio output unit 103, an input unit 104, a sensor 105, a display unit 106, a user input unit 107, an interface unit 108, and a memory 109 , Processor 110, and power supply 111. Those skilled in the art may understand that the structure of the mobile terminal shown in FIG. 10 does not constitute a limitation on the mobile terminal, and the mobile terminal may include more or fewer components than shown in the figure, or combine some components, or different components. Layout. In the embodiment of the present invention, the mobile terminal includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palmtop computer, a vehicle-mounted mobile terminal, a wearable device, and a pedometer.
其中,处理器110,用于在移动终端的剩余电量小于或等于第一阈值的情况下,获取第一功耗,该第一功耗为该移动终端应用第一解锁方式解锁的功耗;在该第一功耗大于或等于第二阈值的情况下,将该第一解锁方式切换为目标解锁方式,该移动终端应用该目标解锁方式解锁的功耗小于该第二阈值。The processor 110 is configured to obtain a first power consumption when the remaining power of the mobile terminal is less than or equal to a first threshold, where the first power consumption is the power consumption unlocked by applying the first unlocking method to the mobile terminal; When the first power consumption is greater than or equal to the second threshold, the first unlocking mode is switched to the target unlocking mode, and the mobile terminal uses the target unlocking mode to unlock and consume less power than the second threshold.
本发明实施例提供的移动终端,在移动终端的剩余电量小于或等于第一阈值的情况下,移动终端获取第一功耗,该第一功耗为该移动终端应用第一解锁方式解锁的功耗;在该第一功耗大于或等于第二阈值的情况下,将该第一解锁方式切换为目标解锁方式,该移动终端应用该目标解锁方式解锁的功耗小于该第二阈值。通过该方案,当移动终端的电量较低时,将移动终端当前使用的功耗较大的第一解锁方式,替换为功耗较小的目标解锁方式,从而可以实现在不影响移动终端的解锁功能的前提下,延长移动终端的使用时间,进而解决了在满足用户需求的前提下,提高移动终端的使用时间的问题。In the mobile terminal provided by the embodiment of the present invention, when the remaining power of the mobile terminal is less than or equal to a first threshold, the mobile terminal obtains a first power consumption, and the first power consumption is a function of the mobile terminal unlocking by applying the first unlocking method. If the first power consumption is greater than or equal to the second threshold, switching the first unlocking mode to the target unlocking mode, and the mobile terminal applying the target unlocking mode to unlock the power consumption is less than the second threshold. With this solution, when the power of the mobile terminal is low, the first unlocking method with a large power consumption currently used by the mobile terminal is replaced with a target unlocking method with a low power consumption, so that the unlocking of the mobile terminal can be achieved without affecting the mobile terminal. Under the premise of functions, the use time of the mobile terminal is prolonged, and the problem of improving the use time of the mobile terminal under the premise of meeting user needs is solved.
应理解的是,本发明实施例中,射频单元101可用于收发信息或通话过程中,信号的接收和发送,具体的,将来自基站的下行数据接收后,给处理器110处理;另外,将上行的数据发送给基站。通常,射频单元101包括但不限于天线、至少一个放大器、收发信机、耦合器、低噪声放大器、双工器等。此外,射频单元101还可以通过无线通信系统与网络和其他设备通信。It should be understood that, in the embodiment of the present invention, the radio frequency unit 101 may be used to receive and send signals during the transmission and reception of information or during a call. Specifically, the downlink data from the base station is received and processed by the processor 110; The uplink data is sent to the base station. Generally, the radio frequency unit 101 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio frequency unit 101 can also communicate with a network and other devices through a wireless communication system.
移动终端通过网络模块102为用户提供了无线的宽带互联网访问,如帮助用户收发电子邮件、浏览网页和访问流式媒体等。The mobile terminal provides users with wireless broadband Internet access through the network module 102, such as helping users to send and receive email, browse web pages, and access streaming media.
音频输出单元103可以将射频单元101或网络模块102接收的或者在存储器109中存储的音频数据转换成音频信号并且输出为声音。而且,音频输出单元103还可以提供与移动终端100执行的特定功能相关的音频输出(例如,呼叫信号接收声音、消息接收声音等等)。音频输出单元103包括扬声器、蜂鸣器以及受话器等。The audio output unit 103 may convert audio data received by the radio frequency unit 101 or the network module 102 or stored in the memory 109 into audio signals and output them as sound. Moreover, the audio output unit 103 may also provide audio output (for example, a call signal receiving sound, a message receiving sound, etc.) related to a specific function performed by the mobile terminal 100. The audio output unit 103 includes a speaker, a buzzer, a receiver, and the like.
输入单元104用于接收音频或视频信号。输入单元104可以包括图形处理器(Graphics Processing Unit,GPU)1041和麦克风1042,图形处理器1041对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静态图片或视频的图像数据进行处理。处理后的图像帧可以显示在显示单元106上。经图形处理器1041处理后的图像帧可以存储在存储器109(或其它存储介质)中或者经由射频单元101或网络模块102进行发送。麦克风1042可以接收声音,并且能够将这样的声音处理为音频数据。处理后的音频数据可以在电话通话模式的情况下转换为可经由射频单元101发送到移动通信基站的格式输出。The input unit 104 is used for receiving audio or video signals. The input unit 104 may include a graphics processing unit (GPU) 1041 and a microphone 1042. The graphics processor 1041 pairs images of still pictures or videos obtained by an image capture device (such as a camera) in a video capture mode or an image capture mode. Data is processed. The processed image frames may be displayed on the display unit 106. The image frames processed by the graphics processor 1041 may be stored in the memory 109 (or other storage medium) or transmitted via the radio frequency unit 101 or the network module 102. The microphone 1042 can receive sound, and can process such sound into audio data. The processed audio data can be converted into a format that can be transmitted to a mobile communication base station via the radio frequency unit 101 in the case of a telephone call mode and output.
移动终端100还包括至少一种传感器105,比如光传感器、运动传感器以及其他传感器。具体地,光传感器包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节显示面板1061的亮度,接近传感器可在移动终端100移动到耳边时,关闭显示面板1061和/或背光。作为运动传感器的一种,加速计传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别移动终端姿态(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等;传感器105还可以包括指纹传感器、压力传感器、虹膜传感器、分子传感器、陀螺仪、气压计、湿度计、温度计、红外线传感器等,在此不再赘述。The mobile terminal 100 further includes at least one sensor 105, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor and a proximity sensor, wherein the ambient light sensor can adjust the brightness of the display panel 1061 according to the brightness of the ambient light, and the proximity sensor can close the display panel 1061 and the display panel 1061 when the mobile terminal 100 moves to the ear. / Or backlight. As a type of motion sensor, the accelerometer sensor can detect the magnitude of acceleration in various directions (generally three axes), and can detect the magnitude and direction of gravity when it is stationary, which can be used to identify mobile terminal attitudes (such as horizontal and vertical screen switching, related games , Magnetometer attitude calibration), vibration recognition related functions (such as pedometer, tap), etc .; sensor 105 can also include fingerprint sensor, pressure sensor, iris sensor, molecular sensor, gyroscope, barometer, hygrometer, thermometer, Infrared sensors, etc. are not repeated here.
显示单元106用于显示由用户输入的信息或提供给用户的信息。显示单元106可包括显示面板1061,可以采用液晶显示器(Liquid Crystal Display,LCD)、有机发光二极管(Organic Light-Emitting Diode,OLED)等形式来配置显示面板1061。The display unit 106 is configured to display information input by the user or information provided to the user. The display unit 106 may include a display panel 1061, and the display panel 1061 may be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), or the like.
用户输入单元107可用于接收输入的数字或字符信息,以及产生与移动终端的用户设置以及功能控制有关的键信号输入。具体地,用户输入单元107包括触控面板1071以及其他输入设备1072。触控面板1071,也称为触摸屏,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触控面板1071上或在触控面板1071附近的操作)。触控面板1071可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给处理器110,接收处理器110发来的命令并加以执行。此外,可以采 用电阻式、电容式、红外线以及表面声波等多种类型实现触控面板1071。除了触控面板1071,用户输入单元107还可以包括其他输入设备1072。具体地,其他输入设备1072可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。The user input unit 107 may be used to receive inputted numeric or character information, and generate key signal inputs related to user settings and function control of the mobile terminal. Specifically, the user input unit 107 includes a touch panel 1071 and other input devices 1072. Touch panel 1071, also known as touch screen, can collect user's touch operations on or near it (such as the user using a finger, stylus, etc. any suitable object or accessory on touch panel 1071 or near touch panel 1071 operating). The touch panel 1071 may include two parts, a touch detection device and a touch controller. Among them, the touch detection device detects the user's touch position, and detects the signal caused by the touch operation, and transmits the signal to the touch controller; the touch controller receives touch information from the touch detection device, converts it into contact coordinates, and sends The processor 110 receives and executes a command sent by the processor 110. In addition, the touch panel 1071 may be implemented using various types such as resistive, capacitive, infrared, and surface acoustic wave. In addition to the touch panel 1071, the user input unit 107 may also include other input devices 1072. Specifically, other input devices 1072 may include, but are not limited to, a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not repeated here.
进一步的,触控面板1071可覆盖在显示面板1061上,当触控面板1071检测到在其上或附近的触摸操作后,传送给处理器110以确定触摸事件的类型,随后处理器110根据触摸事件的类型在显示面板1061上提供相应的视觉输出。虽然在图10中,触控面板1071与显示面板1061是作为两个独立的部件来实现移动终端的输入和输出功能,但是在某些实施例中,可以将触控面板1071与显示面板1061集成而实现移动终端的输入和输出功能,具体此处不做限定。Further, the touch panel 1071 may be overlaid on the display panel 1061. When the touch panel 1071 detects a touch operation on or near the touch panel 1071, the touch panel 1071 transmits the touch operation to the processor 110 to determine the type of the touch event. The type of event provides a corresponding visual output on the display panel 1061. Although in FIG. 10, the touch panel 1071 and the display panel 1061 are implemented as two independent components to implement the input and output functions of the mobile terminal, in some embodiments, the touch panel 1071 and the display panel 1061 may be integrated. The implementation of the input and output functions of the mobile terminal is not specifically limited here.
接口单元108为外部装置与移动终端100连接的接口。例如,外部装置可以包括有线或无线头戴式耳机端口、外部电源(或电池充电器)端口、有线或无线数据端口、存储卡端口、用于连接具有识别模块的装置的端口、音频输入/输出(I/O)端口、视频I/O端口、耳机端口等等。接口单元108可以用于接收来自外部装置的输入(例如,数据信息、电力等等)并且将接收到的输入传输到移动终端100内的一个或多个元件或者可以用于在移动终端100和外部装置之间传输数据。The interface unit 108 is an interface through which an external device is connected to the mobile terminal 100. For example, the external device may include a wired or wireless headset port, an external power (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device with an identification module, and audio input / output (I / O) port, video I / O port, headphone port, and more. The interface unit 108 may be used to receive an input (e.g., data information, power, etc.) from an external device and transmit the received input to one or more elements within the mobile terminal 100 or may be used to connect the mobile terminal 100 and an external device. Transfer data between devices.
存储器109可用于存储软件程序以及各种数据。存储器109可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能、图像播放功能等)等;存储数据区可存储根据手机的使用所创建的数据(比如音频数据、电话本等)等。此外,存储器109可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。The memory 109 may be used to store software programs and various data. The memory 109 may mainly include a storage program area and a storage data area, where the storage program area may store an operating system, at least one application required by a function (such as a sound playback function, an image playback function, etc.), etc .; the storage data area may store data according to Data (such as audio data, phone book, etc.) created by the use of mobile phones. In addition, the memory 109 may include a high-speed random access memory, and may further include a non-volatile memory, such as at least one magnetic disk storage device, a flash memory device, or other volatile solid-state storage devices.
处理器110是移动终端的控制中心,利用各种接口和线路连接整个移动终端的各个部分,通过运行或执行存储在存储器109内的软件程序和/或模块,以及调用存储在存储器109内的数据,执行移动终端的各种功能和处理数据,从而对移动终端进行整体监控。处理器110可包括一个或多个处理单元;可选的,处理器110可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器110中。The processor 110 is a control center of the mobile terminal, and uses various interfaces and lines to connect various parts of the entire mobile terminal. The processor 110 runs or executes software programs and / or modules stored in the memory 109, and calls data stored in the memory 109. , Perform various functions of the mobile terminal and process data, so as to monitor the mobile terminal as a whole. The processor 110 may include one or more processing units; optionally, the processor 110 may integrate an application processor and a modem processor, wherein the application processor mainly processes an operating system, a user interface, and an application program, etc. The tuning processor mainly handles wireless communication. It can be understood that the foregoing modem processor may not be integrated into the processor 110.
移动终端100还可以包括给各个部件供电的电源111(比如电池),可选的,电源111可以通过电源管理系统与处理器110逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。The mobile terminal 100 may further include a power source 111 (such as a battery) for supplying power to various components. Optionally, the power source 111 may be logically connected to the processor 110 through a power management system, thereby implementing management of charging, discharging, and power consumption through the power management system. Management and other functions.
另外,移动终端100包括一些未示出的功能模块,在此不再赘述。In addition, the mobile terminal 100 includes some functional modules that are not shown, and details are not described herein again.
可选的,本发明实施例还提供一种移动终端,可以包括上述如图10所示的处理器110,存储器109,以及存储在存储器109上并可在该处理器110上运行的计算机程序,该计算机程序被处理器110执行时实现上述方法实施例中图2至图7任意之一所示的移动终端的控制方法的各个过程,且能达到相同的技术效果,为避免重复,此处不再赘述。Optionally, an embodiment of the present invention further provides a mobile terminal, which may include the processor 110, the memory 109, and the computer program stored in the memory 109 and executable on the processor 110 as shown in FIG. 10, When the computer program is executed by the processor 110, each process of the control method of the mobile terminal shown in any one of the method embodiments shown in FIG. 2 to FIG. 7 is implemented, and the same technical effect can be achieved. More details.
本发明实施例还提供一种计算机可读存储介质,计算机可读存储介质上存储有计 算机程序,该计算机程序被处理器执行时实现上述方法实施例中图2至图7任意之一所示的移动终端的控制方法的各个过程,且能达到相同的技术效果,为避免重复,此处不再赘述。其中,所述的计算机可读存储介质,如只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等。An embodiment of the present invention further provides a computer-readable storage medium. A computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the method shown in any one of the foregoing method embodiments shown in FIG. 2 to FIG. Each process of the control method of the mobile terminal can achieve the same technical effect. To avoid repetition, details are not repeated here. The computer-readable storage medium is, for example, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk.
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。It should be noted that, in this article, the terms "including", "including" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, It also includes other elements not explicitly listed, or elements inherent to such a process, method, article, or device. Without more restrictions, an element limited by the sentence "including a ..." does not exclude that there are other identical elements in the process, method, article, or device that includes the element.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台移动终端(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本申请各个实施例所述的方法。Through the description of the above embodiments, those skilled in the art can clearly understand that the methods in the above embodiments can be implemented by means of software plus a necessary universal hardware platform, and of course, also by hardware, but in many cases the former is better. Implementation. Based on such an understanding, the technical solution of this application that is essentially or contributes to the existing technology can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, magnetic disk, The optical disc) includes several instructions for causing a mobile terminal (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to execute the methods described in the embodiments of the present application.
上面结合附图对本申请的实施例进行了描述,但是本申请并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本申请的启示下,在不脱离本申请宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本申请的保护之内。The embodiments of the present application have been described above with reference to the accompanying drawings, but the present application is not limited to the specific implementations described above, and the specific implementations described above are only schematic and not restrictive. Those of ordinary skill in the art at Under the enlightenment of this application, many forms can be made without departing from the scope of the present application and the scope of protection of the claims, which all fall into the protection of this application.

Claims (12)

  1. 一种移动终端的控制方法,所述方法包括:A control method of a mobile terminal, the method includes:
    在移动终端的剩余电量小于或等于第一阈值的情况下,获取第一功耗,所述第一功耗为所述移动终端应用第一解锁方式解锁的功耗;When the remaining power of the mobile terminal is less than or equal to the first threshold, obtaining a first power consumption, where the first power consumption is the power consumption unlocked by applying the first unlocking method to the mobile terminal;
    在所述第一功耗大于或等于第二阈值的情况下,将所述第一解锁方式切换为目标解锁方式,所述移动终端应用所述目标解锁方式解锁的功耗小于所述第二阈值。When the first power consumption is greater than or equal to a second threshold, switching the first unlocking mode to a target unlocking mode, and the mobile terminal applying the target unlocking mode to unlock the power consumption is less than the second threshold .
  2. 根据权利要求1所述的方法,其中,所述将所述第一解锁方式切换为目标解锁方式之前,还包括:The method according to claim 1, wherein before the switching the first unlocking mode to a target unlocking mode, further comprising:
    获取所述移动终端的工作模式,所述移动终端的工作模式包括:第一工作模式和第二工作模式,在相同时长内,所述移动终端在所述第一工作模式下工作的功耗小于所述移动终端在所述第二工作模式下工作的功耗;Obtain the working mode of the mobile terminal. The working mode of the mobile terminal includes a first working mode and a second working mode. Within the same time period, the power consumption of the mobile terminal working in the first working mode is less than Power consumption of the mobile terminal working in the second working mode;
    将所述第一解锁方式切换为目标解锁方式,包括:Switching the first unlocking mode to a target unlocking mode includes:
    若所述移动终端的工作模式为第一工作模式,则将所述第一解锁方式切换为目标解锁方式。If the working mode of the mobile terminal is a first working mode, the first unlocking mode is switched to a target unlocking mode.
  3. 根据权利要求1所述的方法,其中,所述将所述第一解锁方式切换为目标解锁方式之前,还包括:The method according to claim 1, wherein before the switching the first unlocking mode to a target unlocking mode, further comprising:
    显示提示信息,所述提示信息包括第一选项和第二选项,所述第一选项用于指示不切换解锁方式,所述第二选项用于指示第二解锁方式,所述第二解锁方式的功耗小于所述第二阈值;Display prompt information, the prompt information includes a first option and a second option, the first option is used to indicate that the unlocking method is not switched, the second option is used to indicate the second unlock method, and the second unlock method Power consumption is less than the second threshold;
    接收用户对所述第二选项的第一输入;Receiving a first input from a user to the second option;
    响应于所述第一输入,将所述第二解锁方式确定为所述目标解锁方式。In response to the first input, the second unlocking mode is determined as the target unlocking mode.
  4. 根据权利要求3所述的方法,其中,所述提示信息还包括第三选项,所述第三选项用于指示第三解锁方式,所述第三解锁方式的功耗小于所述第二阈值;The method according to claim 3, wherein the prompt information further includes a third option, the third option is used to indicate a third unlocking method, and the power consumption of the third unlocking method is less than the second threshold;
    所述第二选项还用于指示所述移动终端应用所述第二解锁方式解锁的功耗,以及所述第三选项还用于指示所述移动终端应用所述第三解锁方式解锁的功耗;The second option is further used to indicate the power consumption of the mobile terminal to be unlocked by applying the second unlocking method, and the third option is also used to indicate the power consumption of the mobile terminal to be unlocked by applying the third unlocking method ;
    所述提示信息还用于指示切换解锁方式后,所述移动终端应用所述目标解锁方式解锁。The prompt information is also used to instruct the mobile terminal to apply the target unlocking method to unlock after switching the unlocking method.
  5. 根据权利要求1-4任一项所述的方法,其中,所述方法还包括:The method according to any one of claims 1-4, wherein the method further comprises:
    在所述移动终端处于锁屏状态的情况下,接收用户的第二输入,所述第二输入用于触发所述移动终端显示解锁验证界面;Receiving a second input from the user when the mobile terminal is in a lock screen state, the second input is used to trigger the mobile terminal to display an unlock verification interface;
    响应于所述第二输入,获取所述移动终端的剩余电量。Responsive to the second input, acquiring the remaining power of the mobile terminal.
  6. 一种移动终端,所述移动终端包括:获取模块和切换模块;A mobile terminal includes: an acquisition module and a switching module;
    所述获取模块,用于在移动终端的剩余电量小于或等于第一阈值的情况下,获取第一功耗,所述第一功耗为所述移动终端应用第一解锁方式解锁的功耗;The obtaining module is configured to obtain a first power consumption when the remaining power of the mobile terminal is less than or equal to a first threshold, where the first power consumption is the power consumption unlocked by applying the first unlocking method to the mobile terminal;
    所述切换模块,用于在所述获取模块获取的所述第一功耗大于或等于第二阈值的情况下,将所述第一解锁方式切换为目标解锁方式,所述移动终端应用所述目标解锁方式解锁的功耗小于所述第二阈值。The switching module is configured to switch the first unlocking mode to a target unlocking mode when the first power consumption obtained by the obtaining module is greater than or equal to a second threshold, and the mobile terminal applies the The power consumption of the target unlocking method is less than the second threshold.
  7. 根据权利要求6所述的移动终端,其中,The mobile terminal according to claim 6, wherein:
    所述获取模块,具体用于在所述将所述第一解锁方式切换为目标解锁方式之前, 获取所述移动终端的工作模式,所述移动终端的工作模式包括:第一工作模式和第二工作模式,在相同时长内,所述移动终端在所述第一工作模式下工作的功耗小于所述移动终端在所述第二工作模式下工作的功耗;The obtaining module is specifically configured to obtain a working mode of the mobile terminal before the switching from the first unlocking mode to the target unlocking mode. The working mode of the mobile terminal includes a first working mode and a second working mode. Working mode, within the same duration, the power consumption of the mobile terminal working in the first working mode is less than the power consumption of the mobile terminal working in the second working mode;
    所述切换模块,具体用于若所述移动终端的工作模式为第一工作模式,则将所述第一解锁方式切换为目标解锁方式。The switching module is specifically configured to switch the first unlocking mode to a target unlocking mode if a working mode of the mobile terminal is a first working mode.
  8. 根据权利要求6所述的移动终端,其中,所述移动终端还包括:显示模块、接收模块和确定模块;The mobile terminal according to claim 6, wherein the mobile terminal further comprises: a display module, a receiving module, and a determining module;
    所述显示模块,用于在所述将所述第一解锁方式切换为目标解锁方式之前,显示提示信息,所述提示信息包括第一选项和第二选项,所述第一选项用于指示不切换解锁方式,所述第二选项用于指示第二解锁方式,所述第二解锁方式的功耗小于所述第二阈值;The display module is configured to display prompt information before the first unlock mode is switched to the target unlock mode, the prompt information includes a first option and a second option, and the first option is used to indicate whether Switching the unlocking mode, the second option is used to indicate a second unlocking mode, and the power consumption of the second unlocking mode is less than the second threshold;
    所述接收模块,用于接收用户对所述显示模块显示的所述第二选项的第一输入;The receiving module is configured to receive a user's first input of the second option displayed by the display module;
    所述确定模块,用于响应于所述接收模块接收的所述第一输入,将所述第二解锁方式确定为所述目标解锁方式。The determining module is configured to determine the second unlocking mode as the target unlocking mode in response to the first input received by the receiving module.
  9. 根据权利要求8所述的移动终端,其中,所述提示信息还包括第三选项,所述第三选项用于指示第三解锁方式,所述第三解锁方式的功耗小于所述第二阈值;The mobile terminal according to claim 8, wherein the prompt information further includes a third option, the third option is used to indicate a third unlocking method, and the power consumption of the third unlocking method is less than the second threshold ;
    所述第二选项还用于指示所述移动终端应用所述第二解锁方式解锁的功耗,以及所述第三选项还用于指示所述移动终端应用所述第三解锁方式解锁的功耗;The second option is further used to indicate the power consumption of the mobile terminal to be unlocked by applying the second unlocking method, and the third option is also used to indicate the power consumption of the mobile terminal to be unlocked by applying the third unlocking method ;
    所述提示信息还用于指示切换解锁方式后,所述移动终端应用所述目标解锁方式解锁。The prompt information is also used to instruct the mobile terminal to apply the target unlocking method to unlock after switching the unlocking method.
  10. 根据权利要求6或7所述的移动终端,其中,所述终端设备还包括:接收模块;The mobile terminal according to claim 6 or 7, wherein the terminal device further comprises: a receiving module;
    所述接收模块,用于在所述移动终端处于锁屏状态的情况下,接收用户的第二输入,所述第二输入用于触发所述移动终端显示解锁验证界面;The receiving module is configured to receive a second input from a user when the mobile terminal is in a lock screen state, and the second input is used to trigger the mobile terminal to display an unlock verification interface;
    所述获取模块,还用于响应于所述接收模块接收的所述第二输入,获取所述移动终端的剩余电量。The obtaining module is further configured to obtain the remaining power of the mobile terminal in response to the second input received by the receiving module.
  11. 一种移动终端,包括处理器、存储器及存储在所述存储器上并可在所述处理器上运行的计算机程序,所述计算机程序被所述处理器执行时实现如权利要求1至5中任一项所述的移动终端的控制方法的步骤。A mobile terminal includes a processor, a memory, and a computer program stored on the memory and executable on the processor. When the computer program is executed by the processor, any one of claims 1 to 5 is implemented. Steps of the method for controlling a mobile terminal according to one item.
  12. 一种计算机可读存储介质,所述计算机可读存储介质上存储计算机程序,所述计算机程序被处理器执行时实现如权利要求1至5中任一项所述的移动终端的控制方法的步骤。A computer-readable storage medium on which a computer program is stored, and when the computer program is executed by a processor, implements the steps of the method for controlling a mobile terminal according to any one of claims 1 to 5. .
PCT/CN2019/094915 2018-08-28 2019-07-05 Control method for mobile terminal and mobile terminal WO2020042760A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201810990938.0A CN109343691A (en) 2018-08-28 2018-08-28 A kind of control method and mobile terminal of mobile terminal
CN201810990938.0 2018-08-28

Publications (1)

Publication Number Publication Date
WO2020042760A1 true WO2020042760A1 (en) 2020-03-05

Family

ID=65291736

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/094915 WO2020042760A1 (en) 2018-08-28 2019-07-05 Control method for mobile terminal and mobile terminal

Country Status (2)

Country Link
CN (1) CN109343691A (en)
WO (1) WO2020042760A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109343691A (en) * 2018-08-28 2019-02-15 维沃移动通信有限公司 A kind of control method and mobile terminal of mobile terminal

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105912919A (en) * 2016-06-17 2016-08-31 广东欧珀移动通信有限公司 Fingerprint unlocking method and terminal
CN107357412A (en) * 2017-07-18 2017-11-17 广东欧珀移动通信有限公司 Solve lock control method and Related product
CN107423598A (en) * 2017-03-23 2017-12-01 广东欧珀移动通信有限公司 One kind solution lock control method and mobile terminal
CN108241426A (en) * 2016-12-26 2018-07-03 北京小米移动软件有限公司 Unlocked by fingerprint method and device
CN109343691A (en) * 2018-08-28 2019-02-15 维沃移动通信有限公司 A kind of control method and mobile terminal of mobile terminal

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7251737B2 (en) * 2003-10-31 2007-07-31 Sandbridge Technologies, Inc. Convergence device with dynamic program throttling that replaces noncritical programs with alternate capacity programs based on power indicator
US9727124B2 (en) * 2011-04-19 2017-08-08 Apple Inc. Power saving application update in a portable electronic device
CN103927018B (en) * 2014-04-28 2017-03-29 联想(北京)有限公司 Control method, device and electronic equipment
CN107145214A (en) * 2017-04-28 2017-09-08 努比亚技术有限公司 The method and mobile terminal of application program power consumption management
CN107889203A (en) * 2017-11-27 2018-04-06 珠海市魅族科技有限公司 A kind of electricity saving method, device, computer installation and computer-readable recording medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105912919A (en) * 2016-06-17 2016-08-31 广东欧珀移动通信有限公司 Fingerprint unlocking method and terminal
CN108241426A (en) * 2016-12-26 2018-07-03 北京小米移动软件有限公司 Unlocked by fingerprint method and device
CN107423598A (en) * 2017-03-23 2017-12-01 广东欧珀移动通信有限公司 One kind solution lock control method and mobile terminal
CN107357412A (en) * 2017-07-18 2017-11-17 广东欧珀移动通信有限公司 Solve lock control method and Related product
CN109343691A (en) * 2018-08-28 2019-02-15 维沃移动通信有限公司 A kind of control method and mobile terminal of mobile terminal

Also Published As

Publication number Publication date
CN109343691A (en) 2019-02-15

Similar Documents

Publication Publication Date Title
WO2019196707A1 (en) Mobile terminal control method and mobile terminal
WO2020042785A1 (en) Application display method and mobile terminal
WO2021082741A1 (en) Display method and electronic device
WO2021129762A1 (en) Application sharing method, electronic device and computer-readable storage medium
WO2019120087A1 (en) Processing method for reducing power consumption and mobile terminal
US20200257433A1 (en) Display method and mobile terminal
WO2020011074A1 (en) Screen lock method and electronic device
WO2019196691A1 (en) Keyboard interface display method and mobile terminal
CN110445924B (en) Network task execution method and terminal equipment
WO2021083256A1 (en) Touch-control response method and electronic device
CN110109604B (en) Application interface display method and mobile terminal
WO2021057290A1 (en) Information control method and electronic device
WO2020057258A1 (en) Information processing method and terminal
WO2020216329A1 (en) Handover method and terminal
WO2019228296A1 (en) Display processing method and terminal device
WO2021121265A1 (en) Camera starting method and electronic device
CN108681427B (en) Access right control method and terminal equipment
WO2021057712A1 (en) Proximity detection method and terminal device
CN110865745A (en) Screen capturing method and terminal equipment
WO2021164716A1 (en) Display method and electronic device
WO2021169917A1 (en) Power adjustment method and electronic device
CN108762606B (en) Screen unlocking method and terminal equipment
WO2021082772A1 (en) Screenshot method and electronic device
WO2021031717A1 (en) Screen capturing method and terminal device
WO2020151490A1 (en) Application control method and terminal 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: 19854540

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

Country of ref document: EP

Kind code of ref document: A1