CN109981888B - Wake-up timer control method, terminal and computer readable storage medium - Google Patents

Wake-up timer control method, terminal and computer readable storage medium Download PDF

Info

Publication number
CN109981888B
CN109981888B CN201910138597.9A CN201910138597A CN109981888B CN 109981888 B CN109981888 B CN 109981888B CN 201910138597 A CN201910138597 A CN 201910138597A CN 109981888 B CN109981888 B CN 109981888B
Authority
CN
China
Prior art keywords
timer
application program
time
delay timer
wake
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
CN201910138597.9A
Other languages
Chinese (zh)
Other versions
CN109981888A (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.)
Nubia Technology Co Ltd
Original Assignee
Nubia 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 Nubia Technology Co Ltd filed Critical Nubia Technology Co Ltd
Priority to CN201910138597.9A priority Critical patent/CN109981888B/en
Publication of CN109981888A publication Critical patent/CN109981888A/en
Application granted granted Critical
Publication of CN109981888B publication Critical patent/CN109981888B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B1/00Details of transmission systems, not covered by a single one of groups H04B3/00 - H04B13/00; Details of transmission systems not characterised by the medium used for transmission
    • H04B1/38Transceivers, i.e. devices in which transmitter and receiver form a structural unit and in which at least one part is used for functions of transmitting and receiving
    • H04B1/3827Portable transceivers
    • H04B1/385Transceivers carried on the body, e.g. in helmets
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72451User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to schedules, e.g. using calendar applications
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72463User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions to restrict the functionality of the device
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/02Power saving arrangements
    • H04W52/0209Power saving arrangements in terminal devices
    • H04W52/0225Power saving arrangements in terminal devices using monitoring of external events, e.g. the presence of a signal
    • H04W52/0248Power saving arrangements in terminal devices using monitoring of external events, e.g. the presence of a signal dependent on the time of the day, e.g. according to expected transmission activity
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B1/00Details of transmission systems, not covered by a single one of groups H04B3/00 - H04B13/00; Details of transmission systems not characterised by the medium used for transmission
    • H04B1/38Transceivers, i.e. devices in which transmitter and receiver form a structural unit and in which at least one part is used for functions of transmitting and receiving
    • H04B1/3827Portable transceivers
    • H04B1/385Transceivers carried on the body, e.g. in helmets
    • H04B2001/3861Transceivers carried on the body, e.g. in helmets carried in a hand or on fingers
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Human Computer Interaction (AREA)
  • Telephone Function (AREA)

Abstract

The application relates to a wake-up timer control method, a terminal and a computer readable storage medium, wherein the method comprises the following steps: when the first awakening timer of the first application program counts time, detecting whether the first application program is switched to a background or not; if the first application program is switched to the background, starting a first delay timer to start timing; and if the timing time of the first delay timer is up, waking up the first application program and other second application programs which are switched to the background within the timing time of the first delay timer. According to the application program awakening method and device, when the application program is switched to the background, the application program is not immediately awakened when the timing time of the first awakening timer is up, the system awakening times are reduced, power consumption is reduced, the endurance time is prolonged, and the application program is convenient to use by a user.

Description

Wake-up timer control method, terminal and computer readable storage medium
Technical Field
The present application relates to the field of wearable devices, and in particular, to a wake-up timer control method, a terminal, and a computer-readable storage medium.
Background
A wearable device is a portable device that is worn directly on the body or integrated into the clothing or accessories of the user. Wearable equipment is not only a hardware equipment, realizes powerful function through software support and data interaction, high in the clouds interaction more, and wearable equipment will bring very big transition to our life, perception.
However, the wearable device has a relatively small battery capacity due to the hardware such as the volume. In the existing timer (Alarm) management and control scheme, the system and the application are awakened immediately when the timer times, so that the power consumption of the wearable equipment is abnormally high, the endurance time is shortened, and the use of a user is influenced.
Disclosure of Invention
In order to solve the technical problem or at least partially solve the technical problem, the present application provides a wake-up timer control method, a terminal, and a computer-readable storage medium.
In a first aspect, the present application provides a wake-up timer control method, which is applied to a wearable device, and the method includes:
when the first awakening timer of the first application program counts time, detecting whether the first application program is switched to a background or not;
if the first application program is switched to the background, starting a first delay timer to start timing;
and if the timing time of the first delay timer is up, waking up the first application program and other second application programs which are switched to the background within the timing time of the first delay timer.
Optionally, the method further comprises:
and if the first application program is switched to a background, caching the first awakening timer.
Optionally, the method further comprises:
and if the timing time of the first delay timer is up, awakening the cached first awakening timer, and further awakening the first application program.
Optionally, the waking the cached first wake-up timer, and further waking up the first application further includes:
the first awakening timer generates a timed time-up notification;
sending the timing time notice to the first application program to wake up the first application program.
Optionally, the method further comprises:
when the second wakeup timer of the second application program times out, detecting whether the second application program is switched to a background;
if the second application program is switched to the background, starting a second delay timer to start timing;
if the second delay timer times, judging whether a first interval between a second moment when the second delay timer times and a first moment when the first delay timer times is smaller than the timing time of the first delay timer;
and if the first interval is smaller than the timing time of the first delay timer and the first time is earlier than the second time, waking up the second application program at the first time.
Optionally, the method further comprises:
and canceling the timing work of the second delay timer.
Optionally, calculating a first interval between the time when the second delay timer times out and the time when the first delay timer times out includes:
the time when the second delay timer times out is differed from the time when the first delay timer times out to obtain a difference value;
and taking an absolute value of the difference value to obtain the first interval.
Optionally, the method further comprises:
and if the first interval is greater than the timing time of the first delay timer, awakening the second application program at the second moment and other third application programs switched to the background within the timing time of the second delay timer.
In a second aspect, the present application provides a terminal, including:
a memory, a processor, and a computer program stored on the memory and executable on the processor;
the computer program, when executed by the processor, implements the steps of the method according to any of the first aspects.
In a third aspect, the present application provides a computer-readable storage medium, on which a wake-up timer control method program is stored, which when executed by a processor implements the steps of a wake-up timer control method according to any one of the first aspect.
Compared with the prior art, the technical scheme provided by the embodiment of the application has the following advantages:
according to the method provided by the embodiment of the application, when the first wakeup timer of a first application program times out, whether the first application program is switched to a background is detected, and if the first application program is switched to the background, a first delay timer is started to start timing; if the first delay timer reaches the set time, the first application program and other second application programs switched to the background within the set time of the first delay timer can be awakened.
According to the application program awakening method and device, when the application program is switched to the background, the application program is not immediately awakened when the timing time of the first awakening timer is up, the system awakening times are reduced, power consumption is reduced, the endurance time is prolonged, and the application program is convenient to use by a user.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and together with the description, serve to explain the principles of the invention.
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious for those skilled in the art that other drawings can be obtained according to the drawings without inventive exercise.
Fig. 1 is a schematic view of a wearable device provided in various embodiments of the present application;
fig. 2 is another schematic diagram of a wearable device provided in various embodiments of the present application;
fig. 3 is a schematic hardware structure diagram of a wearable device according to various embodiments of the present application;
fig. 4 is a flowchart of a wake-up timer control method according to an embodiment of the present disclosure.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
In the following description, suffixes such as "module", "component", or "unit" used to denote elements are used only for facilitating the explanation of the present invention, and have no specific meaning in itself. Thus, "module", "component" or "unit" may be used mixedly.
The terminal may be implemented in various forms. For example, the terminal described in the present invention may include a mobile terminal such as a wearable device, a smart band, a mobile phone, a tablet computer, a notebook computer, a palmtop computer, a Personal Digital Assistant (PDA), a Portable Media Player (PMP), a navigation device, and a pedometer. With the continuous development of screen technologies and the appearance of screen forms such as flexible screens and folding screens, the mobile terminal can also be used as a wearable device.
The following description will be given by way of example of a mobile terminal, and it will be understood by those skilled in the art that the construction according to the embodiment of the present invention can be applied to a fixed type terminal, in addition to elements particularly used for mobile purposes.
Please refer to fig. 1 and fig. 2, which are schematic structural diagrams of a wearable device provided in an embodiment of the present application, including a wearable device 100, and refer to fig. 3, which is a schematic structural diagram of a hardware of a wearable device for implementing various embodiments of the present invention, where the wearable device 100 may include: RF (Radio Frequency) unit 101, WiFi module 102, audio output unit 103, a/V (audio/video) input unit 104, sensor 105, display unit 106, user input unit 107, interface unit 108, memory 109, processor 110, and power supply 111. Those skilled in the art will appreciate that the wearable device structure shown in fig. 3 does not constitute a limitation of the wearable device, and that the wearable device may include more or fewer components than shown, or combine certain components, or a different arrangement of components.
The following describes the various components of the wearable device in detail with reference to fig. 3:
the radio frequency unit 101 may be configured to receive and transmit signals during information transmission and reception or during a call, and specifically, receive downlink information of a base station and then process the downlink information to the processor 110; in addition, the uplink data is transmitted to the base station. Typically, 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 wireless communication. The wireless communication may use any communication standard or protocol, including but not limited to GSM (Global System for Mobile communications), GPRS (General Packet Radio Service), CDMA2000(Code Division Multiple Access 2000), WCDMA (Wideband Code Division Multiple Access), TD-SCDMA (Time Division-Synchronous Code Division Multiple Access), FDD-LTE (Frequency Division duplex Long Term Evolution), and TDD-LTE (Time Division duplex Long Term Evolution).
WiFi belongs to short-distance wireless transmission technology, and the wearable device can help a user to send and receive e-mails, browse webpages, access streaming media and the like through the WiFi module 102, and provides wireless broadband Internet access for the user. Although fig. 3 shows the WiFi module 102, it is understood that it does not belong to the essential constitution of the wearable device, and may be omitted entirely as needed within the scope not changing the essence of the invention.
The audio output unit 103 may convert audio data received by the radio frequency unit 101 or the WiFi module 102 or stored in the memory 109 into an audio signal and output as sound when the wearable device 100 is in a call signal reception mode, a talk mode, a recording mode, a voice recognition mode, a broadcast reception mode, or the like. Also, the audio output unit 103 may also provide audio output related to a specific function performed by the wearable device 100 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 103 may include a speaker, a buzzer, and the like.
The a/V input unit 104 is used to receive audio or video signals. The a/V input Unit 104 may include a Graphics Processing Unit (GPU) 1041 and a microphone 1042, the Graphics processor 1041 Processing image data of still pictures or video obtained by an image capturing device (e.g., a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 106. The image frames processed by the graphic processor 1041 may be stored in the memory 109 (or other storage medium) or transmitted via the radio frequency unit 101 or the WiFi module 102. The microphone 1042 may receive sounds (audio data) via the microphone 1042 in a phone call mode, a recording mode, a voice recognition mode, or the like, and may be capable of processing such sounds into audio data. The processed audio (voice) data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 101 in case of a phone call mode. The microphone 1042 may implement various types of noise cancellation (or suppression) algorithms to cancel (or suppress) noise or interference generated in the course of receiving and transmitting audio signals.
The wearable device 100 also includes at least one sensor 105, such as light sensors, motion sensors, and other sensors. Specifically, the light sensor includes an ambient light sensor that can adjust the brightness of the display panel 1061 according to the brightness of ambient light, and a proximity sensor that can turn off the display panel 1061 and/or the backlight when the wearable device 100 is moved to the ear. As one of the motion sensors, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally, three axes), can detect the magnitude and direction of gravity when stationary, and can be used for applications of recognizing the posture of a mobile phone (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer and tapping), and the like; as for other sensors such as a fingerprint sensor, a pressure sensor, an iris sensor, a molecular sensor, a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor, which can be configured on the mobile phone, further description is omitted here.
The display unit 106 is used to display information input by a 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.
The user input unit 107 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the wearable device. Specifically, the user input unit 107 may include a touch panel 1071 and other input devices 1072. The touch panel 1071, also referred to as a touch screen, may collect a touch operation performed by a user on or near the touch panel 1071 (e.g., an operation performed by the user on or near the touch panel 1071 using a finger, a stylus, or any other suitable object or accessory), and drive a corresponding connection device according to a predetermined program. The touch panel 1071 may include two parts of a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 110, and can receive and execute commands sent by the processor 110. In addition, the touch panel 1071 may be implemented in various types, such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. In addition to the touch panel 1071, the user input unit 107 may include other input devices 1072. In particular, other input devices 1072 may include, but are not limited to, one or more of a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like, and are not limited to these specific examples.
Further, the touch panel 1071 may cover the display panel 1061, and when the touch panel 1071 detects a touch operation thereon or nearby, the touch panel 1071 transmits the touch operation to the processor 110 to determine the type of the touch event, and then the processor 110 provides a corresponding visual output on the display panel 1061 according to the type of the touch event. Although in fig. 3, the touch panel 1071 and the display panel 1061 are two independent components to implement the input and output functions of the wearable device, in some embodiments, the touch panel 1071 and the display panel 1061 may be integrated to implement the input and output functions of the wearable device, and is not limited herein.
The interface unit 108 serves as an interface through which at least one external device is connected to the wearable apparatus 100. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 108 may be used to receive input (e.g., data information, power, etc.) from an external device and transmit the received input to one or more elements within the wearable apparatus 100 or may be used to transmit data between the wearable apparatus 100 and the external device.
The memory 109 may be used to store software programs as well as various data. The memory 109 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, the memory 109 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The processor 110 is a control center of the wearable device, connects various parts of the entire wearable device by various interfaces and lines, and performs various functions of the wearable device and processes data by running or executing software programs and/or modules stored in the memory 109 and calling up data stored in the memory 109, thereby performing overall monitoring of the wearable device. Processor 110 may include one or more processing units; preferably, the processor 110 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 110.
The wearable device 100 may further include a power source 111 (such as a battery) for supplying power to various components, and preferably, the power source 111 may be logically connected to the processor 110 through a power management system, so as to implement functions of managing charging, discharging, and power consumption through the power management system.
Although not shown in fig. 3, the wearable device 100 may further include a bluetooth module or the like, which is not described herein.
Based on the wearable mobile terminal hardware structure, the invention provides various embodiments of the method.
In an embodiment of the present application, there is provided a wake-up timer control method, which may be applied to a wearable device, as shown in fig. 4, and includes:
step S101, when a first awakening timer of a first application program times out, detecting whether the first application program is switched to a background;
caching the first wake-up timer after the first application program is switched to a background.
If the first application program is switched to the background, step S102, starting a first delay timer to start timing;
step S103, if the timing time of the first delay timer is up, waking up the first application program and other second application programs switched to the background within the timing time of the first delay timer.
And if the timing time of the first delay timer is up, awakening the cached first awakening timer, and further awakening the first application program.
Waking up the cached first wake-up timer, and further waking up the first application program, for example, the first wake-up timer may be first controlled to generate a time-up notification; and then sending the timing time notice to the first application program so as to wake up the first application program.
According to the embodiment of the application, when the timing time of a first wakeup timer of a first application program is up, whether the first application program is switched to a background is detected, and if the first application program is switched to the background, a first delay timer is started to start timing; if the first delay timer reaches the set time, the first application program and other second application programs switched to the background within the set time of the first delay timer can be awakened.
According to the application program awakening method and device, when the application program is switched to the background, the application program is not immediately awakened when the timing time of the first awakening timer is up, the system awakening times are reduced, power consumption is reduced, the endurance time is prolonged, and the application program is convenient to use by a user.
In yet another embodiment of the present application, the method further comprises:
when the second wakeup timer of the second application program times out, detecting whether the second application program is switched to a background;
if the second application program is switched to the background, starting a second delay timer to start timing;
if the second delay timer times, judging whether a first interval between a second moment when the second delay timer times and a first moment when the first delay timer times is smaller than the timing time of the first delay timer;
in this step, the time when the second delay timer times out may be first differed from the time when the first delay timer times out to obtain a difference value; and then taking an absolute value of the difference value to obtain the first interval, and further calculating the first interval between the time when the second delay timer times and the time when the first delay timer times.
If the first interval is smaller than the timing time of the first delay timer and the first time is earlier than the second time, waking up the second application program at the first time;
and canceling the timing work of the second delay timer.
And if the first interval is greater than the timing time of the first delay timer, awakening the second application program at the second moment and other third application programs switched to the background within the timing time of the second delay timer.
In another embodiment of the present application, there is also provided a terminal, including:
a memory, a processor, and a computer program stored on the memory and executable on the processor;
which when executed by said processor performs the steps of the method according to the method embodiments.
In yet another embodiment of the present application, there is also provided a computer readable storage medium having stored thereon a wake-up timer control method program, which when executed by a processor, implements the steps of a wake-up timer control method according to the method embodiment.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
While the present invention has been described with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, which are illustrative and not restrictive, and it will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the invention as defined in the appended claims.

Claims (10)

1. A wake-up timer control method is applied to a wearable device, and comprises the following steps:
when the first awakening timer of the first application program counts time, detecting whether the first application program is switched to a background or not;
if the first application program is switched to the background, starting a first delay timer to start timing;
if the first application program and other second application programs switched to the background within the timing time of the first delay timer are awakened if the timing time of the first delay timer is up, a first interval between a second time when the second delay timer corresponding to the second application program times and a first time when the first delay timer times is up is smaller than the timing time of the first delay timer, and the first time is earlier than the second time.
2. The wake-up timer control method according to claim 1, further comprising:
and if the first application program is switched to a background, caching the first awakening timer.
3. The wake-up timer control method according to claim 2, further comprising:
and if the timing time of the first delay timer is up, awakening the cached first awakening timer, and further awakening the first application program.
4. The method according to claim 3, wherein waking the first wake-up timer from the cache further comprises:
the first awakening timer generates a timed time-up notification;
sending the timing time notice to the first application program to wake up the first application program.
5. The wake-up timer control method according to claim 1, further comprising:
when the second wakeup timer of the second application program times out, detecting whether the second application program is switched to a background;
if the second application program is switched to the background, starting a second delay timer to start timing;
if the second delay timer times, judging whether a first interval between a second moment when the second delay timer times and a first moment when the first delay timer times is smaller than the timing time of the first delay timer;
and if the first interval is smaller than the timing time of the first delay timer and the first time is earlier than the second time, waking up the second application program at the first time.
6. The wake-up timer control method according to claim 5, further comprising:
and canceling the timing work of the second delay timer.
7. The wake-up timer control method according to claim 5, wherein calculating the first interval between the time when the second delay timer times out and the time when the first delay timer times out comprises:
the time when the second delay timer times out is differed from the time when the first delay timer times out to obtain a difference value;
and taking an absolute value of the difference value to obtain the first interval.
8. The wake-up timer control method according to claim 5, further comprising:
and if the first interval is greater than the timing time of the first delay timer, awakening the second application program at the second moment and other third application programs switched to the background within the timing time of the second delay timer.
9. A terminal, characterized in that the terminal comprises:
a memory, a processor, and a computer program stored on the memory and executable on the processor;
the computer program, when executed by the processor, implementing the steps of the method of any one of claims 1 to 8.
10. A computer-readable storage medium, on which a wake-up timer control method program is stored, which when executed by a processor implements the steps of a wake-up timer control method according to any one of claims 1 to 8.
CN201910138597.9A 2019-02-25 2019-02-25 Wake-up timer control method, terminal and computer readable storage medium Active CN109981888B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910138597.9A CN109981888B (en) 2019-02-25 2019-02-25 Wake-up timer control method, terminal and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910138597.9A CN109981888B (en) 2019-02-25 2019-02-25 Wake-up timer control method, terminal and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN109981888A CN109981888A (en) 2019-07-05
CN109981888B true CN109981888B (en) 2020-12-29

Family

ID=67077251

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910138597.9A Active CN109981888B (en) 2019-02-25 2019-02-25 Wake-up timer control method, terminal and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN109981888B (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103472904A (en) * 2013-08-30 2013-12-25 广东欧珀移动通信有限公司 Method and device for intelligently adjusting multiple timers
EP2725869A1 (en) * 2012-10-24 2014-04-30 BlackBerry Limited System and method for reducing power consumption based on data activity sensitive timers
CN105573460A (en) * 2014-10-10 2016-05-11 中兴通讯股份有限公司 Application program wakeup time adjusting method and device
CN105824391A (en) * 2015-11-26 2016-08-03 南京步步高通信科技有限公司 Timer awakening control method and electronic equipment
CN106484075A (en) * 2016-10-12 2017-03-08 北京元心科技有限公司 Method and device for adjusting application program wake-up time
CN106886450A (en) * 2015-12-16 2017-06-23 阿里巴巴集团控股有限公司 Method for scheduling task and system
CN107809793A (en) * 2012-08-31 2018-03-16 华为终端(东莞)有限公司 The wake-up control method and device of intelligent terminal

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105955444A (en) * 2016-04-25 2016-09-21 深圳市万普拉斯科技有限公司 Aligned wakeup method and apparatus
CN107066327B (en) * 2017-04-24 2021-07-23 努比亚技术有限公司 Timing task processing method, mobile terminal and computer readable storage medium

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107809793A (en) * 2012-08-31 2018-03-16 华为终端(东莞)有限公司 The wake-up control method and device of intelligent terminal
EP2725869A1 (en) * 2012-10-24 2014-04-30 BlackBerry Limited System and method for reducing power consumption based on data activity sensitive timers
CN103472904A (en) * 2013-08-30 2013-12-25 广东欧珀移动通信有限公司 Method and device for intelligently adjusting multiple timers
CN105573460A (en) * 2014-10-10 2016-05-11 中兴通讯股份有限公司 Application program wakeup time adjusting method and device
CN105824391A (en) * 2015-11-26 2016-08-03 南京步步高通信科技有限公司 Timer awakening control method and electronic equipment
CN106886450A (en) * 2015-12-16 2017-06-23 阿里巴巴集团控股有限公司 Method for scheduling task and system
CN106484075A (en) * 2016-10-12 2017-03-08 北京元心科技有限公司 Method and device for adjusting application program wake-up time

Also Published As

Publication number Publication date
CN109981888A (en) 2019-07-05

Similar Documents

Publication Publication Date Title
WO2019196707A1 (en) Mobile terminal control method and mobile terminal
WO2019120087A1 (en) Processing method for reducing power consumption and mobile terminal
CN107734614B (en) Wi-Fi antenna control method, mobile terminal and computer readable storage medium
CN109901695B (en) Screen power-saving display method, mobile terminal and computer-readable storage medium
CN108322599B (en) Network access method and mobile terminal
CN108073458B (en) Memory recovery method, mobile terminal and computer-readable storage medium
CN107734170B (en) Notification message processing method, mobile terminal and wearable device
CN108196776B (en) Terminal screen splitting method, terminal and computer readable storage medium
US20220046502A1 (en) Handover method and terminal
CN109739394B (en) SAR value processing method and mobile terminal
CN108055392B (en) Display area adjusting method, mobile terminal and computer readable storage medium
CN108681413B (en) Control method of display module and mobile terminal
CN113163460A (en) Service processing method, terminal and network equipment
US20220182941A1 (en) Terminal device control method and terminal device
CN109995391B (en) Picture display method, intelligent wearable terminal and computer readable storage medium
CN107424393B (en) Mobile terminal searching method, mobile terminal and storage medium
CN109947617B (en) Method, terminal and readable storage medium for monitoring display content of application interface
CN109391739B (en) Mobile terminal and communication method
CN109799937B (en) Input control method, input control equipment and computer readable storage medium
CN107770811B (en) Data processing method, mobile terminal and computer readable storage medium
CN107562305B (en) Method for setting dynamic icon, terminal and computer readable storage medium
CN111124098A (en) Intelligent power saving method and device for terminal and readable storage medium
CN116033530A (en) Dynamic configuration method and device for price tag power consumption and computer readable storage medium
CN109981888B (en) Wake-up timer control method, terminal and computer readable storage medium
CN113485663A (en) Screen projection method, equipment, system and 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