CN110618747B - Method and device for low-power operation of terminal, terminal and storage medium - Google Patents

Method and device for low-power operation of terminal, terminal and storage medium Download PDF

Info

Publication number
CN110618747B
CN110618747B CN201910878234.9A CN201910878234A CN110618747B CN 110618747 B CN110618747 B CN 110618747B CN 201910878234 A CN201910878234 A CN 201910878234A CN 110618747 B CN110618747 B CN 110618747B
Authority
CN
China
Prior art keywords
terminal
low
screen
mode
power mode
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201910878234.9A
Other languages
Chinese (zh)
Other versions
CN110618747A (en
Inventor
方治兵
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing ByteDance Network Technology Co Ltd
Original Assignee
Beijing ByteDance Network Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing ByteDance Network Technology Co Ltd filed Critical Beijing ByteDance Network Technology Co Ltd
Priority to CN201910878234.9A priority Critical patent/CN110618747B/en
Publication of CN110618747A publication Critical patent/CN110618747A/en
Application granted granted Critical
Publication of CN110618747B publication Critical patent/CN110618747B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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/3215Monitoring of peripheral devices
    • G06F1/3218Monitoring of peripheral devices of display devices
    • 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/325Power saving in peripheral device
    • G06F1/3265Power saving in display device

Landscapes

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

Abstract

The disclosure relates to the technical field of computers, and in particular relates to a method and device for low-power operation of a terminal, the terminal and a storage medium. The method for operating the terminal at low power comprises the following steps: monitoring a lifting event of the terminal in a screen closing state, and calling a screen setting interface and a system setting interface to respectively enable the terminal to run a first low-power mode and a second low-power mode when the lifting event is monitored. Therefore, according to the method and the device for triggering the low-power mode, the relevant interface is called after the lifting event is monitored so that the mobile terminal runs in the low-power mode, high power consumption caused by frequent awakening of a system and a screen due to user motion or other behaviors in daily use of the terminal can be avoided, waiting time for triggering the low-power mode is shortened, and therefore the electric quantity of the terminal is saved.

Description

Method and device for low-power operation of terminal, terminal and storage medium
Technical Field
The disclosure relates to the technical field of computers, in particular to a method, a device, a terminal and a storage medium for low-power operation of the terminal.
Background
At present, some mobile terminals have a function of lifting hands and brightening a screen, that is, the mobile terminals monitor posture information of the mobile terminals through motion sensors, judge whether the mobile terminals are lifted by users or not by calculating motion acceleration and inclination angles of the mobile terminals, and light up the screen when the mobile terminals are lifted by the users. Although the function can timely respond to the action of the user to light the screen so as to facilitate the operation of the user, on one hand, the user sometimes lifts the mobile terminal not to perform subsequent operation, and some non-user hand-lifting events also cause the screen to light, so that the function easily causes frequent awakening of the system and lighting of the screen in some cases, and consumes the electric quantity of the terminal. On the other hand, after the screen is lit, the terminal needs to wait for a period of time to enter the low power mode, for example, the Doze mode (Doze mode) provided by the Android platform is powered off and is left for a period of time to be triggered without charging, and therefore, the power of the terminal has to be additionally consumed in the period of time.
Disclosure of Invention
This summary is provided to introduce a selection of concepts in a simplified form that are further described below in the detailed description. This summary is not intended to identify key features or essential features of the claimed subject matter, nor is it intended to be used to limit the scope of the claimed subject matter.
In one aspect, the present disclosure provides a method for low power operation of a terminal, the method including:
monitoring a lifting event of the terminal in a screen closing state;
and when the lift-off event is monitored, calling a screen setting interface and a system setting interface to respectively enable the terminal to operate a first low-power mode and a second low-power mode.
In another aspect, the present disclosure provides an apparatus for low power operation of a terminal, the apparatus including:
the monitoring unit is used for monitoring a lifting event of the terminal in a screen closing state;
and the interface unit is used for calling a screen setting interface and a system setting interface to respectively enable the terminal to operate a first low-power mode and a second low-power mode when the uplift event is monitored.
In another aspect, the present disclosure provides a terminal, including:
at least one memory and at least one processor;
the memory is used for storing program codes, and the processor is used for calling the program codes stored in the memory to execute the method for low-power operation of the terminal.
In another aspect, the present disclosure provides a non-transitory computer storage medium storing program code for performing the method of low power operation of the terminal described above.
The method for operating the terminal at low power comprises the following steps: monitoring a lifting event of the terminal in a screen closing state, and calling a screen setting interface and a system setting interface to respectively enable the terminal to run a first low-power mode and a second low-power mode when the lifting event is monitored. Therefore, according to the method and the device for controlling the mobile terminal to operate in the low power mode, the relevant interface is called after the lifting event is monitored, so that high power consumption caused by frequent awakening of a system and a screen due to user motion or other behaviors in daily use of the terminal can be avoided, waiting time for triggering the low power mode is shortened, and the electric quantity of the terminal is saved.
Drawings
The above and other features, advantages and aspects of various embodiments of the present disclosure will become more apparent by referring to the following detailed description when taken in conjunction with the accompanying drawings. Throughout the drawings, the same or similar reference numbers refer to the same or similar elements. It should be understood that the drawings are schematic and that elements and features are not necessarily drawn to scale.
Fig. 1 is a flowchart of a method for low power operation of a terminal according to an embodiment of the present disclosure;
fig. 2 is a flowchart of a method for low power operation of a terminal according to another embodiment of the present disclosure;
fig. 3 is a schematic structural diagram of an apparatus for low power operation of a terminal according to an embodiment of the present disclosure;
fig. 4 is a schematic structural diagram of a terminal device for implementing an embodiment of the present disclosure.
Detailed Description
Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While certain embodiments of the present disclosure are shown in the drawings, it is to be understood that the present disclosure may be embodied in various forms and should not be construed as limited to the embodiments set forth herein, but rather are provided for a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the disclosure are for illustration purposes only and are not intended to limit the scope of the disclosure.
It should be understood that the steps recited in the apparatus embodiments of the present disclosure may be performed in a different order and/or performed in parallel. Moreover, device embodiments may include additional steps and/or omit performing the illustrated steps. The scope of the present disclosure is not limited in this respect.
The term "include" and variations thereof as used herein are open-ended, i.e., "including but not limited to". The term "based on" is "based, at least in part, on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; the term "some embodiments" means "at least some embodiments". Relevant definitions for other terms will be given in the following description.
It should be noted that the terms "first", "second", and the like in the present disclosure are only used for distinguishing different devices, modules or units, and are not used for limiting the order or interdependence relationship of the functions performed by the devices, modules or units.
It is noted that references to "a", "an", and "the" modifications in this disclosure are intended to be illustrative rather than limiting, and that those skilled in the art will recognize that "one or more" may be used unless the context clearly dictates otherwise.
The names of messages or information exchanged between devices in the embodiments of the present disclosure are for illustrative purposes only, and are not intended to limit the scope of the messages or information.
Fig. 1 shows a flowchart of a method for low power operation of a terminal according to an embodiment of the present disclosure, where the method 100 includes steps S101 to S102:
step S101: and monitoring a lifting event of the terminal in a screen closing state. Among them, the terminal in the embodiments of the present disclosure may include, but is not limited to, mobile terminals such as mobile phones, notebook computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablets), PMPs (portable multimedia players), and the like; the lift-off event refers to an event in which a user lifts off the mobile terminal. In the embodiment of the present disclosure, a lifting event may be monitored by a motion sensor such as a geomagnetic sensor, a gyroscope, an acceleration sensor, and a direction sensor built in the mobile terminal. For example, when the terminal moves, the three-axis rotation angle and the three-axis acceleration of the terminal are obtained through a geomagnetic sensor and an acceleration sensor which are built in the terminal, and when the three-axis rotation angle and the three-axis acceleration meet preset conditions, the terminal can be considered to be lifted up by a user currently.
Step S102: and when the uplift event is monitored, calling a screen setting interface and a system setting interface to respectively enable the terminal to operate a first low-power mode and a second low-power mode. The first low-power mode can enable the screen of the terminal to display the content provided by the system in a low-power state by reducing the screen brightness, the display frame rate or the scanning frequency and the like; the second low power mode may conserve power by restricting access to network or CPU intensive services by portions of the application. For example, the android platform provides a screen Doze mode (Doze mode), the terminal screen is in the screen Doze mode (DISPLAY _ STATE _ Doze), and the power consumption of the screen is lower than that in the bright screen mode (DISPLAY _ STATE _ ON); the Android platform also provides system Doze modes, including a depth Doze mode (Deep Doze) and a Light Doze mode (Light Doze). In the deep Doze mode, some applications cannot perform network access, wake-up lock ignorance, GPS/WLAN cannot scan, alarm clock and syncaddr/jobdispatcher are delayed; in the light Doze mode, some applications cannot make network access and the SyncAdapter/JobShedler is delayed.
Therefore, according to the embodiment of the disclosure, the related interface is called immediately after the lifting event is monitored so that the mobile terminal runs in the low power mode, high power consumption caused by frequently waking up a system and a screen due to user motion or other behaviors in daily use of the terminal can be avoided, and the waiting time for triggering the low power mode is reduced, so that the electric quantity of the terminal is saved.
In some embodiments, the method 100 optionally comprises: and when the terminal runs the first low-power mode and the second low-power mode, calling a screen-off display interface to enable the terminal to run the screen-off display mode. Among them, the AOD (Always on display) means displaying information (such as date and time information) on a partial area of a screen using a backlight function of a display or a self-luminous characteristic, and keeping other areas of the screen in a closed state. Generally, the screen-off display mode needs to be premised on the system and the screen entering the low power consumption mode, and therefore, the related interfaces are called immediately after the lift-off event is monitored so that the mobile terminal runs the low power mode, and then the screen-off display mode can be rapidly entered. Preferably, in the screen-off display mode, the fingerprint input pattern is displayed on a screen of the terminal, so that a user can conveniently perform fingerprint identification to unlock the terminal.
In some embodiments, the method 100 optionally comprises: and after the terminal runs the second low-power mode for the first period, calling a sleep interface to enable the terminal to run a third low-power mode. Wherein power consumption of the terminal to operate the third low power mode is lower than power consumption of the terminal to operate the second low power mode. Optionally, the second low power mode is a Doze mode and the third low power mode is a sleep mode. Wherein the Doze mode includes a depth Doze mode (Deep Doze) and a Light Doze mode (Light Doze). In the deep Doze mode, some applications cannot perform network access, wake-up lock ignorance, GPS/WLAN cannot scan, alarm clock and SyncAdapter/JobSheduler are delayed; in the light Doze mode, some applications cannot make network access and the SyncAdapter/JobShedler is delayed. In the sleep mode, the terminal screen is completely closed, the application program is suspended, and the CPU enters the sleep state. Preferably, the first period of time is 3 to 10 seconds.
In some embodiments, the first low power mode is a screen Doze mode. Wherein, the terminal screen is in a screen Doze mode (DISPLAY _ STATE _ Doze), and the power consumption of the screen is lower than that in a bright screen mode (DISPLAY _ STATE _ ON).
As shown in fig. 2, another embodiment of the present disclosure further provides a method 200, where the method 200 includes steps S201 to S204:
step S201: and obtaining the current three-axis rotation angle and three-axis acceleration of the terminal through a geomagnetic sensor and an acceleration sensor which are arranged in the terminal at a certain frequency in a screen closing state. Wherein the three-axis rotation angle and the three-axis acceleration are rotation angles and accelerations in three directions of the X, Y, Z axis.
Step S202: judging whether the three-axis rotation angle and the three-axis acceleration of the terminal meet preset conditions or not; if yes, go to step S203; if not, the process returns to step S201. The preset condition may be preset thresholds set for the rotation angle and the acceleration in three directions of axis X, Y, Z, and if the three-axis rotation angle and the three-axis acceleration of the terminal both satisfy respective preset thresholds, it is considered that the terminal is currently lifted by the user, that is, the lifting event is monitored.
Step S203: and calling a screen setting interface and a system setting interface through a sleepoDoze interface to respectively enable the terminal to operate a screen Doze mode and a system Doze mode. The sleep-type doze interface is a preset interface for calling a screen setting interface and a system setting interface. The terminal can operate the first low-power mode and the second low-power mode by presetting the sleepoDoze interface.
Step S204: and after the terminal runs the system Doze mode for the first time period, calling a gotosleep interface to enable the terminal to run the sleep mode.
As shown in fig. 3, the apparatus 300 for low power operation of a terminal according to the embodiment of the present disclosure includes a listening unit 301 and an interface unit 302, where:
a monitoring unit 301, configured to monitor a terminal lift event in a screen close state;
an interface unit 302 for calling the screen setting interface and the system setting interface to operate the terminal in the first low power mode and the second low power mode, respectively, when the lift-off event is monitored.
For the embodiments of the apparatus, since they correspond substantially to the method embodiments, reference may be made to the partial description of the method embodiments for relevant points. The above-described apparatus embodiments are merely illustrative, wherein the modules described as separate modules may or may not be separate. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment. One of ordinary skill in the art can understand and implement without inventive effort.
Correspondingly, the present disclosure also provides a terminal, including: at least one memory and at least one processor; the memory is used for storing program codes, and the processor is used for calling the program codes stored in the memory to execute the method for low-power operation of the terminal.
Accordingly, the present disclosure also provides a non-transitory computer storage medium storing program codes for performing the method of low power operation of the terminal. The non-transitory computer storage medium may be a ROM, Random Access Memory (RAM), CD-ROM, magnetic tape, floppy disk, optical data storage device, and the like.
Referring now to fig. 4, shown is a block diagram of a terminal device 600 suitable for use in implementing embodiments of the present disclosure. The terminal device in the embodiments of the present disclosure may include, but is not limited to, a mobile terminal such as a mobile phone, a notebook computer, a digital broadcast receiver, a PDA (personal digital assistant), a PAD (tablet computer), a PMP (portable multimedia player), and the like. The terminal device shown in fig. 4 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present disclosure.
As shown in fig. 4, the terminal device 600 may include a processing means (e.g., a central processing unit, a graphic processor, etc.) 601 that can perform various appropriate actions and processes according to a program stored in a Read Only Memory (ROM)602 or a program loaded from a storage means 606 into a Random Access Memory (RAM) 603. In the RAM 603, various programs and data necessary for the operation of the terminal apparatus 600 are also stored. The processing device 601, the ROM 602, and the RAM 603 are connected to each other via a bus 604. An input/output (I/O) interface 605 is also connected to bus 604.
Generally, the following devices may be connected to the I/O interface 605: input devices 606 including, for example, a touch screen, touch pad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, etc.; output devices 607 including, for example, a Liquid Crystal Display (LCD), a speaker, a vibrator, and the like; storage 606 including, for example, magnetic tape, hard disk, etc.; and a communication device 609. The communication means 609 may allow the terminal device 600 to perform wireless or wired communication with other devices to exchange data. While fig. 4 illustrates a terminal apparatus 600 having various means, it is to be understood that not all illustrated means are required to be implemented or provided. More or fewer devices may alternatively be implemented or provided.
In particular, according to an embodiment of the present disclosure, the processes described above with reference to the flowcharts may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program embodied on a non-transitory computer readable medium, the computer program comprising program code for executing an apparatus illustrated by the flow chart. In such embodiments, the computer program may be downloaded and installed from a network through the communication device 609, or installed from the storage device 606, or installed from the ROM 602. The computer program, when executed by the processing device 601, performs the above-described functions defined in the device of the embodiments of the present disclosure.
It should be noted that the computer readable medium in the present disclosure can be a computer readable signal medium or a computer readable storage medium or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the present disclosure, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In contrast, in the present disclosure, a computer readable signal medium may comprise a propagated data signal with computer readable program code embodied therein, either in baseband or as part of a carrier wave. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: electrical wires, optical cables, RF (radio frequency), etc., or any suitable combination of the foregoing.
In some embodiments, the clients, servers may communicate using any currently known or future developed network Protocol, such as HTTP (HyperText Transfer Protocol), and may interconnect with any form or medium of digital data communication (e.g., a communications network). Examples of communication networks include a local area network ("LAN"), a wide area network ("WAN"), the Internet (e.g., the Internet), and peer-to-peer networks (e.g., ad hoc peer-to-peer networks), as well as any currently known or future developed network.
The computer readable medium may be included in the terminal device; or may exist separately without being assembled into the terminal device.
The computer readable medium carries one or more programs which, when executed by the terminal device, cause the terminal device to: monitoring a lifting event of the terminal in a screen closing state; and when the uplift event is monitored, calling a screen setting interface and a system setting interface to respectively enable the terminal to operate a first low-power mode and a second low-power mode.
Alternatively, the computer readable medium carries one or more programs which, when executed by the terminal device, cause the terminal device to: monitoring a lifting event of the terminal in a screen closing state; and when the uplift event is monitored, calling a screen setting interface and a system setting interface to respectively enable the terminal to operate a first low-power mode and a second low-power mode.
Computer program code for carrying out operations for the present disclosure may be written in any combination of one or more programming languages, including but not limited to an object oriented programming language such as Java, Smalltalk, C + +, and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, apparatuses, and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems that perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The units described in the embodiments of the present disclosure may be implemented by software or hardware. Here, the name of the cell does not constitute a limitation to the cell itself in some cases, and for example, the listening cell may also be described as a "cell listening to a lift event of the terminal in a screen-off state".
The functions described herein above may be performed, at least in part, by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: field Programmable Gate Arrays (FPGAs), Application Specific Integrated Circuits (ASICs), Application Specific Standard Products (ASSPs), systems on a chip (SOCs), Complex Programmable Logic Devices (CPLDs), and the like.
In the context of this disclosure, a machine-readable medium may be a tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. The machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
According to one or more embodiments of the present disclosure, there is provided a method for low power operation of a terminal, the method including: monitoring a lifting event of the terminal in a screen closing state; and when the uplift event is monitored, calling a screen setting interface and a system setting interface to respectively enable the terminal to operate a first low-power mode and a second low-power mode.
According to one or more embodiments of the present disclosure, the method further comprises: and when the terminal runs the first low-power mode and the second low-power mode, calling a screen-off display interface to enable the terminal to run a screen-off display mode.
According to one or more embodiments of the present disclosure, the method further comprises: after the terminal operates the second low-power mode for a first period of time, calling a sleep interface to enable the terminal to operate a third low-power mode; wherein power consumption of the terminal to operate the third low power mode is lower than power consumption of the terminal to operate the second low power mode.
According to one or more embodiments of the present disclosure, the first low power mode is a screen Doze mode.
According to one or more embodiments of the present disclosure, the second low power mode is a system Doze mode and the third low power mode is a sleep mode.
According to one or more embodiments of the present disclosure, the first period of time is 3 to 10 seconds.
According to one or more embodiments of the present disclosure, the screen-out display mode includes: displaying a fingerprint input pattern on a screen of the terminal.
According to one or more embodiments of the present disclosure, there is provided an apparatus for low power operation of a terminal, the apparatus including: the monitoring unit is used for monitoring a lifting event of the terminal in a screen closing state; and the interface unit is used for calling a screen setting interface and a system setting interface to respectively enable the terminal to operate a first low-power mode and a second low-power mode when the uplift event is monitored.
According to one or more embodiments of the present disclosure, the apparatus further comprises: and the screen-off display unit is used for calling a screen-off display interface to enable the terminal to operate a screen-off display mode when the terminal operates the first low-power mode and the second low-power mode.
According to one or more embodiments of the present disclosure, the apparatus further comprises: the sleep unit is used for calling a sleep interface to enable the terminal to run a third low-power mode after the terminal runs the second low-power mode for a first period; wherein power consumption of the terminal to operate the third low power mode is lower than power consumption of the terminal to operate the second low power mode.
According to one or more embodiments of the present disclosure, the first low power mode is a screen Doze mode.
According to one or more embodiments of the present disclosure, the second low power mode is a system Doze mode and the third low power mode is a sleep mode.
According to one or more embodiments of the present disclosure, the first period of time is 3 to 10 seconds.
According to one or more embodiments of the present disclosure, the screen-out display mode includes: displaying a fingerprint input pattern on a screen of the terminal.
According to one or more embodiments of the present disclosure, there is provided a terminal including: at least one memory and at least one processor; the memory is used for storing program codes, and the processor is used for calling the method for operating the program codes stored in the memory at low power of the terminal.
According to one or more embodiments of the present disclosure, there is provided a non-transitory computer storage medium storing program code for performing the above-described method of low power operation of a terminal.
Further, while operations are depicted in a particular order, this should not be understood as requiring that such operations be performed in the particular order shown or in sequential order. Under certain circumstances, multitasking and parallel processing may be advantageous. Likewise, while several specific implementation details are included in the above discussion, these should not be construed as limitations on the scope of the disclosure. Certain features that are described in the context of separate embodiments can also be implemented in combination in a single embodiment. Conversely, various features that are described in the context of a single embodiment can also be implemented in multiple embodiments separately or in any suitable subcombination.
Although the subject matter has been described in language specific to structural features and/or logical acts of devices, it is to be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or acts described above. Rather, the specific features and acts described above are disclosed as example forms of implementing the claims.

Claims (8)

1. A method for low power operation of a terminal, the method comprising:
monitoring a lifting event of the terminal in a screen closing state;
calling a screen setting interface and a system setting interface to respectively enable the terminal to operate a first low-power mode and a second low-power mode when the lifting event is monitored; wherein the first low power mode is a screen Doze mode and the second low power mode is a system Doze mode;
and when the terminal runs the first low-power mode and the second low-power mode, calling a screen-off display interface to enable the terminal to run a screen-off display mode.
2. The method for low power operation of a terminal of claim 1, wherein the method further comprises:
after the terminal operates the second low-power mode for a first period of time, calling a sleep interface to enable the terminal to operate a third low-power mode;
wherein power consumption of the terminal to operate the third low power mode is lower than power consumption of the terminal to operate the second low power mode.
3. The method for low power operation of a terminal according to claim 2, wherein the third low power mode is a sleep mode.
4. The method for low power operation of a terminal of claim 2, wherein the first period of time is 3 to 10 seconds.
5. The method for low power operation of a terminal as claimed in claim 1, wherein said off-screen display mode comprises:
displaying a fingerprint input pattern on a screen of the terminal.
6. An apparatus for low power operation of a terminal, the apparatus comprising:
the monitoring unit is used for monitoring a lifting event of the terminal in a screen closing state;
the interface unit is used for calling a screen setting interface and a system setting interface to respectively enable the terminal to operate a first low-power mode and a second low-power mode when the lifting event is monitored; wherein the first low power mode is a screen Doze mode and the second low power mode is a system Doze mode;
and the screen-off display unit is used for calling a screen-off display interface to enable the terminal to operate a screen-off display mode when the terminal operates the first low-power mode and the second low-power mode.
7. A terminal, characterized in that the terminal comprises:
at least one memory and at least one processor;
wherein the memory is configured to store program code and the processor is configured to call the program code stored in the memory to perform a method of low power operation of a terminal as claimed in any one of claims 1 to 5.
8. A non-transitory computer storage medium storing program code for performing the method of low power operation of the terminal according to any one of claims 1 to 5.
CN201910878234.9A 2019-09-17 2019-09-17 Method and device for low-power operation of terminal, terminal and storage medium Active CN110618747B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910878234.9A CN110618747B (en) 2019-09-17 2019-09-17 Method and device for low-power operation of terminal, terminal and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910878234.9A CN110618747B (en) 2019-09-17 2019-09-17 Method and device for low-power operation of terminal, terminal and storage medium

Publications (2)

Publication Number Publication Date
CN110618747A CN110618747A (en) 2019-12-27
CN110618747B true CN110618747B (en) 2022-06-24

Family

ID=68923434

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910878234.9A Active CN110618747B (en) 2019-09-17 2019-09-17 Method and device for low-power operation of terminal, terminal and storage medium

Country Status (1)

Country Link
CN (1) CN110618747B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116207828B (en) * 2023-04-25 2023-10-03 荣耀终端有限公司 Charging method and electronic equipment

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106598196A (en) * 2016-11-22 2017-04-26 维沃移动通信有限公司 Display method for graph code and mobile terminal

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5764150B2 (en) * 2013-01-16 2015-08-12 レノボ・シンガポール・プライベート・リミテッド Method and computer for transition from power-on state to power-saving state
CN105188115A (en) * 2015-07-31 2015-12-23 广东欧珀移动通信有限公司 Method and device for saving electricity for intelligent terminal
CN105848270B (en) * 2016-06-15 2019-08-06 深圳市万普拉斯科技有限公司 A kind of idle method and mobile terminal
CN106774789A (en) * 2016-11-23 2017-05-31 珠海市魅族科技有限公司 Method for information display and device
CN107831885B (en) * 2017-10-27 2021-03-26 深圳市万普拉斯科技有限公司 Doze mode switching method and device, mobile terminal and readable storage medium

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106598196A (en) * 2016-11-22 2017-04-26 维沃移动通信有限公司 Display method for graph code and mobile terminal

Also Published As

Publication number Publication date
CN110618747A (en) 2019-12-27

Similar Documents

Publication Publication Date Title
US10440652B2 (en) Power management of a mobile communications device
CN108241422B (en) Electronic device and thermal control method based on battery temperature in electronic device
US8706172B2 (en) Energy efficient continuous sensing for communications devices
KR102148948B1 (en) Multi tasking method of electronic apparatus and electronic apparatus thereof
CN111831099B (en) Electronic device
EP2882234B1 (en) Method, apparatus, equipment and system for controlling turn-on and turn-off of wireless network
CN108702421B (en) Electronic device and method for controlling applications and components
CN110018901B (en) Memory recovery method and device, computer equipment and computer readable storage medium
CN112988256B (en) Application starting method and device, storage medium and electronic equipment
US20200396325A1 (en) Application switching method and terminal
KR20160057028A (en) Display driving method, display driver integrated circuit, and an electronic device comprising thoseof
US9788275B2 (en) Method for reducing current consumption and electronic device thereof
US20170365207A1 (en) Temporarily increased refresh rate for a display panel in low power mode
CN113220176B (en) Display method and device based on widget, electronic equipment and readable storage medium
CN109992425B (en) Information processing method, information processing device, computer equipment and computer readable storage medium
CN109803360A (en) WiFi dormancy control method, device, electronic equipment and storage medium
CN110618747B (en) Method and device for low-power operation of terminal, terminal and storage medium
CN105404483A (en) Communication management method and system between electronic device and wearable electronic device
CN107832131B (en) Application program closing method and device, storage medium and electronic equipment
CN111782281B (en) Data processing method, device and computer readable storage medium
CN111404242A (en) Charging method, charging device, storage medium and mobile terminal
CN114816031B (en) Power saving method for terminal equipment, terminal equipment and medium
CN108646909B (en) Information processing method, device, mobile terminal and computer readable storage medium
CN110045811B (en) Application program processing method and device, electronic equipment and computer readable storage medium
CN109992362B (en) Application program processing method and device, electronic equipment and computer readable storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant