CN106550438B - Method and system for limiting regular awakening and mobile device - Google Patents

Method and system for limiting regular awakening and mobile device Download PDF

Info

Publication number
CN106550438B
CN106550438B CN201510606434.0A CN201510606434A CN106550438B CN 106550438 B CN106550438 B CN 106550438B CN 201510606434 A CN201510606434 A CN 201510606434A CN 106550438 B CN106550438 B CN 106550438B
Authority
CN
China
Prior art keywords
application program
network connection
awakening
target application
state
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
CN201510606434.0A
Other languages
Chinese (zh)
Other versions
CN106550438A (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.)
Leadcore Technology Co Ltd
Datang Semiconductor Design Co Ltd
Original Assignee
Leadcore Technology Co Ltd
Datang Semiconductor Design 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 Leadcore Technology Co Ltd, Datang Semiconductor Design Co Ltd filed Critical Leadcore Technology Co Ltd
Priority to CN201510606434.0A priority Critical patent/CN106550438B/en
Publication of CN106550438A publication Critical patent/CN106550438A/en
Application granted granted Critical
Publication of CN106550438B publication Critical patent/CN106550438B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • 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
    • 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

Abstract

The invention provides a method and a system for limiting regular awakening and mobile equipment. According to the method, the system identifies a target application program which transmits heartbeat data through the network connection unit based on a regular wake-up instruction; monitoring the network connection state of the network connection unit, and prohibiting the identified target application program from waking up the electronic equipment regularly when the network connection state is a disconnected state. The invention solves the problem that the heartbeat type communication can not adapt to the network connection state, and effectively reduces the consumption of the system to the power during the network disconnection state.

Description

Method and system for limiting regular awakening and mobile device
Technical Field
The present invention relates to the field of mobile devices, and in particular, to a method and a system for restricting periodic wake-up, and a mobile device.
Background
With the increasing maturity of communication technology and chip technology, global mobile communication development is strong, digitization and globalization have become irreversible trends, and electronic devices have become an indispensable part of our lives. Since various networking applications can be installed in the electronic device, people can enjoy network resources by running the applications. Meanwhile, each application program periodically communicates with the server so as to establish a long connection with the server. Such communication is commonly referred to as a heartbeat.
However, for an electronic device, especially a mobile device that is completely powered by a battery, before the transmission of the heartbeat communication, the electronic device must be woken up, which causes the electronic device in the sleep state to wake up from the sleep state to power the hardware unit of the heartbeat communication. In the case of a network failure, the heartbeat communication itself is meaningless whether or not in a dormant state. The method also leads the electronic equipment to unnecessarily consume power during the network disconnection state, leads the standby time duration to be lofted to the dangerous mobile equipment and further to the snowy frost adding.
Disclosure of Invention
Embodiments of the present invention provide a method and a system for restricting periodic wakeup, and a mobile device, so as to solve the problem that in the prior art, heartbeat-type communication cannot be adaptively adjusted, and further, electric energy is consumed in a transition manner.
The embodiment of the invention adopts the following technical scheme:
in a first aspect, a method for limiting periodic wake-up is provided, for an electronic device comprising a network connection unit, comprising: identifying a target application program that transmits heartbeat data through the network connection unit based on a periodic wake-up instruction; monitoring the network connection state of the network connection unit, and prohibiting the identified target application program from waking up the electronic equipment regularly when the network connection state is a disconnected state.
Preferably, the monitoring the network connection state of the network connection unit, and the inhibiting the identified target application program from waking up the electronic device periodically during the network connection state is a disconnected state includes: monitoring the network connection state of a network connection unit, and monitoring whether the electronic equipment enters a dormant state; and if the network connection state is determined to be the disconnection state or the current dormancy state and the network connection state is the disconnection state, prohibiting the identified target application program from awakening the electronic equipment regularly.
Preferably, the manner of the target application program transmitting the heartbeat data through the network connection unit based on the regular wake-up instruction includes: monitoring whether an application program sends a wake-up command regularly or not, and correspondingly sending/receiving heartbeat data through an output routing port and an input routing port of the network connection unit; if so, determining the application program as a target application program; if not, no determination is made.
Preferably, the manner of the target application program transmitting the heartbeat data through the network connection unit based on the regular wake-up instruction includes: based on a preset period for awakening each application program to transmit heartbeat data and the corresponding relation of each application program, periodically sending the awakening instruction to the corresponding application program; monitoring whether the application program receiving the awakening instruction transmits heartbeat data through the network connection unit or not; if yes, marking the target application program; if not, no marking is performed.
Preferably, the setting mode of the period for waking up each application program to transmit heartbeat data and the corresponding relationship between each application program includes: and establishing a corresponding relation between a period for waking up each application program to transmit heartbeat data and each application program in a reminding manager in the electronic equipment based on the wake-up period and the application program information provided when each application program is executed.
Preferably, before the step of monitoring whether the application program receiving the wake-up command transmits heartbeat data through the network connection unit is executed, the method further includes: and monitoring whether the corresponding relation is changed or not, and when the awakening instruction is sent to the changed application program, executing a step of monitoring whether the application program receiving the awakening instruction transmits heartbeat data through the network connection unit or not.
Preferably, the manner for prohibiting the identified target application from waking up the electronic device periodically during the network connection state is the disconnection state includes: when the network connection state is monitored to be converted into the disconnection state, forbidding sending of the awakening instruction to each target application program, or forbidding sending of the awakening instruction by each target application program; and executing corresponding awakening instructions according to the period of each target application program until the network connection state is monitored to be converted into the connection state.
In a second aspect, a system for limiting periodic wake-up is provided for an electronic device including a network connection unit, comprising: the identification module is used for identifying a target application program which transmits heartbeat data through the network connection unit based on a regular awakening instruction; and the limiting module is used for monitoring the network connection state of the network connection unit and forbidding the identified target application program to wake up the electronic equipment regularly when the network connection state is in a disconnection state.
Preferably, the limiting module is further configured to monitor a network connection state of the network connection unit, and monitor whether the electronic device enters a sleep state; and if the network connection state is determined to be the disconnection state or the current dormancy state and the network connection state is the disconnection state, prohibiting the identified target application program from awakening the electronic equipment regularly.
Preferably, the identification module comprises: the first identification submodule is used for monitoring whether an application program sends a wake-up instruction regularly or not and sending/receiving heartbeat data correspondingly through an output routing port and an input routing port of the network connection unit; if so, determining the application program as a target application program; if not, no determination is made.
Preferably, the identification module comprises: the awakening instruction sending submodule is used for sending the awakening instruction to the corresponding application program periodically based on the preset period for awakening each application program to transmit heartbeat data and the corresponding relation of each application program; the second identification submodule is used for monitoring whether the application program receiving the awakening instruction transmits heartbeat data through the network connection unit or not; if yes, marking the target application program; if not, no marking is performed.
Preferably, the wake-up instruction sending submodule is configured to establish, in a reminder manager in the electronic device, a correspondence between a period for waking up each application program to transmit heartbeat data and each application program, based on a wake-up period and application program information provided when each application program is executed.
Preferably, the second identification sub-module is further configured to monitor whether the corresponding relationship is changed, and when the wake-up instruction is sent to the changed application program, monitor whether the application program receiving the wake-up instruction transmits heartbeat data through the network connection unit.
Preferably, the limiting module is configured to prohibit sending the wake-up instruction to each of the target application programs or prohibit sending the wake-up instruction by each of the target application programs when it is monitored that the network connection state is converted into the disconnection state; and executing corresponding awakening instructions according to the period of each target application program until the network connection state is monitored to be converted into the connection state.
In a third aspect, there is also provided a mobile device, including: a system for limiting periodic wake-up as described in any of the above.
As described above, the method, system and mobile device for restricting periodic wake-up according to the present invention have the following advantages: when the network disconnection state is monitored, the application programs are forbidden to wake up and transmit heartbeat data to the network, the problem that heartbeat type communication cannot adapt to the network connection state is solved, and the consumption of a system to electric power during the network disconnection state is effectively reduced; in addition, during the dormant state, the target application programs are forbidden to be awakened, the dormant state of the mobile equipment can be prevented from being disturbed by an awakening instruction, and the duration of the dormant state is prolonged under the condition of no network, so that the standby time is prolonged; in addition, the target application program is determined by monitoring the regular wake-up command and each port for transmitting heartbeat data, so that the situation that the individual application program sends the heartbeat data by self to cause redundant power consumption during the network disconnection period can be prevented; in addition, the period for awakening each application program to transmit heartbeat data and the corresponding relation of each application program are preset, so that the target application program for transmitting the heartbeat data can be identified conveniently, and the speed for detecting the target application program is effectively improved; further, only the application program after the change in the correspondence relationship is identified, and the system load due to the duplicate identification can be prevented.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings used in the description of the embodiments of the present invention will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the contents of the embodiments of the present invention and the drawings without creative efforts.
FIG. 1 is a method flow diagram of one embodiment of a method of limiting periodic wakeups of the present invention.
Fig. 2 is a method flow diagram of yet another embodiment of a method of limiting periodic wakeups of the present invention.
Fig. 3 is a block diagram of the architecture of one embodiment of the system for limiting periodic wakeups of the present invention.
Detailed Description
In order to make the technical problems solved, technical solutions adopted and technical effects achieved by the present invention clearer, the technical solutions of the embodiments of the present invention will be described in further detail below with reference to the accompanying drawings, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
As shown in fig. 1, the present invention provides a method for limiting periodic wakeups. The method is primarily performed by a restriction system. The restriction system includes software and hardware installed in the electronic device. Wherein the electronic device comprises: a network connection unit, a processing unit for executing software programs, a display unit, etc. Even the electronic device may further include: and the slave processing unit is used for carrying out basic services such as voice, short messages and the like with the base station. The software in the electronic device includes: an operating system and applications running on the operating system. The operating systems include, but are not limited to: android operating systems, and the like. The electronic devices include, but are not limited to: mobile phones, tablet computers, and the like rely on battery powered devices.
Here, the network connection unit includes, but is not limited to: a wifi communication module, a mobile data network based communication module, etc. The network connection unit further includes: an input routing port and an output routing port.
In step S1, the limitation system transmits the target application of heartbeat data through the network connection unit based on a periodic wake-up command.
Specifically, according to a different manner of sending heartbeat data supported by the operating system, the step S1 includes: step S11; or includes steps S12, S13, and S14. (none are shown in the drawings)
In step S11, the limitation system monitors whether the application program issues a wake-up command and periodically and correspondingly issues/receives heartbeat data through the output routing port and the input routing port of the network connection unit; if so, determining the application program as a target application program; if not, no determination is made.
Specifically, if an application program a1 installed on the electronic device needs to establish a long connection with a remote server, a heartbeat part in the application program a1 starts a processing unit at regular time and sends a wake-up instruction to indicate that hardware in the network connection unit is in a working state; next, the processing unit sends the heartbeat data through the output routing port or receives the heartbeat data from the server through the input routing port according to the logic setting of the heartbeat section of the application a 1. The limiting system monitors a corresponding port in the processing unit to intercept the awakening instruction; and then, monitoring whether the output routing port and the input routing port correspondingly send/receive heartbeat data, if so, determining that the application program sending the awakening instruction is a target application program, and otherwise, not processing. The heartbeat data is usually data with a small data length and/or data with a characteristic format, so the limiting system regards the data with the data length smaller than the preset bytes and/or the data conforming to the characteristic format in the monitored preset duration as the heartbeat data.
In order to facilitate management of the wake-up operation of each application program, each application program is registered in the restriction system after being installed, and the restriction system uniformly manages the wake-up cycle of each application program: namely, the limiting system establishes a corresponding relation between a period for awakening each application program to transmit heartbeat data and each application program according to the registration information. The correspondence may be in the form of a linked list.
In step S12, the limiting system periodically sends a wake-up command to each application program based on a preset period for waking up each application program to transmit heartbeat data and a corresponding relationship between each application program.
Specifically, the restriction system starts when the registration is successful, opening up a timer of wakeup periods for each successfully registered application. Each time when the timer completes one wake-up cycle, the limitation system issues a wake-up command to the corresponding application program, and step S14 is executed.
Preferably, the electronic device includes a reminder manager (e.g., alarmmmanager in android operating system). The limiting system establishes a corresponding relation between a period for waking up each application program to transmit heartbeat data and each application program in the reminding manager based on the wake-up period and the application program information provided when each application program is executed.
For example, when the application a2 is first started, the application a2 sends registration information to the reminder manager, and the restriction system receives the registration information using the interface of the reminder manager and adds the corresponding relationship between the wake-up period and the application a2 to the reminder manager.
More preferably, in order to effectively reduce the operation time of the limiting system, the limiting system may perform step S13: and monitoring whether the corresponding relation is changed, if so, executing the step S14 when sending a wake-up command to the changed application program, and if not, not executing the step S14.
In step S14, the limitation system monitors whether the application corresponding to the wake-up command transmits heartbeat data through the network connection unit; if yes, marking the corresponding relation with a target application program; if not, no marking is performed.
Here, the restriction system may add a flag bit at each application in the correspondence, and flag the application that matches the target application as 1, and the other applications as 0 by default.
It should be noted that the manner in which the limitation system monitors whether the application program corresponding to the wake-up command transmits the heartbeat data through the network connection unit is the same as or similar to the manner in which the heartbeat data is monitored in the step S11, and therefore, the detailed description thereof is omitted.
In step S2, the restriction system monitors the network connection status of the network connection unit, and prohibits the identified target application from waking up the electronic device periodically while the network connection status is in a disconnected status.
Specifically, the restriction system also monitors the network connection status of the network connection unit while identifying the target application. For example, the restriction system monitors the network connection status of the network connection unit by reading its status interface. As another example, the restriction system monitors the network connection status by periodically sending ping instructions and acquiring response information to the network connection unit.
Preferably, the restriction system monitors whether the electronic device enters a sleep state while monitoring the network connection state of the network connection unit. As shown in fig. 2. The sleep state refers to storing all running real-time data on a hard disk and turning off all unnecessary hardware for power saving.
And when the network connection state is monitored to be a disconnection state or the network connection state is monitored to be a dormancy state currently and the network connection state is the disconnection state, prohibiting the identified target application program from waking up the electronic equipment regularly. And executing corresponding awakening instructions according to the period of each target application program until the limiting system monitors that the network connection state is converted into the connection state.
Here, the restriction system is primarily to prohibit the identified target application from periodically waking up a portion of the heartbeat data transmission in the electronic device. Thus, the manner in which the restriction system inhibits the identified target application from periodically waking the electronic device includes:
1) and forbidding each target application program to send the awakening instruction. For example, the limiting system includes a controlled grounding switch disposed between the processing unit and the network connection unit, and when the network connection state is detected to be an open state, the controlled grounding switch is closed, so that the wake-up instruction sent by each target application program is invalid; and disconnecting the controlled grounding switch until the network connection state is monitored to be converted into the connection state, so that each target application program can send out a wake-up command at regular time.
2) And forbidding sending the wake-up instruction to each target application program. For example, the restriction system sends a disconnected state to the alert manager, the alert manager no longer issues the wake command to each target application at regular times, and the restriction system sends a connected state to the alert manager. And the reminding manager is used for regularly waking up the target application programs according to the corresponding relation again based on the connection state.
As shown in fig. 3, the present invention provides a system for limiting periodic wakeups. The restriction system includes software and hardware installed in the electronic device. Wherein the electronic device comprises: a network connection unit, a processing unit for executing software programs, a display unit, etc. Even the electronic device may further include: and the slave processing unit is used for carrying out basic services such as voice, short messages and the like with the base station. The software in the electronic device includes: an operating system and applications running on the operating system. The operating systems include, but are not limited to: android operating systems, and the like. The electronic devices include, but are not limited to: mobile devices such as mobile phones and tablet computers which rely on battery power.
Here, the network connection unit includes, but is not limited to: a wifi communication module, a mobile data network based communication module, etc. The network connection unit further includes: an input routing port and an output routing port.
The restraining system 1 comprises: an identification module 11 and a limiting module 12.
The identification module 11 is configured to transmit the target application of the heartbeat data through the network connection unit based on a regular wake-up instruction.
Specifically, according to different ways of sending heartbeat data supported by an operating system, the identification module 11 includes: a first identification submodule; or comprises the following steps: a wake-up instruction sending submodule and a second identification submodule. (none are shown in the drawings)
The first identification submodule is used for monitoring whether an application program sends a wake-up instruction or not and periodically and correspondingly sending/receiving heartbeat data through an output routing port and an input routing port of the network connection unit; if so, determining the application program as a target application program; if not, no determination is made.
Specifically, if an application program a1 installed on the electronic device needs to establish a long connection with a remote server, a heartbeat part in the application program a1 starts a processing unit at regular time and sends a wake-up instruction to indicate that hardware in the network connection unit is in a working state; next, the processing unit sends the heartbeat data through the output routing port or receives the heartbeat data from the server through the input routing port according to the logic setting of the heartbeat section of the application a 1. The first identification submodule monitors a corresponding port in the processing unit to intercept the awakening instruction; and then, monitoring whether the output routing port and the input routing port correspondingly send/receive heartbeat data, if so, determining that the application program sending the awakening instruction is a target application program, and otherwise, not processing. The heartbeat data is generally data with a small data length and/or data with a characteristic format, so that the first identification submodule recognizes the data with the data length smaller than a preset byte and/or the data conforming to the characteristic format in the monitored preset duration as the heartbeat data.
In order to facilitate management of the wake-up operation of each application program, each application program is installed and then registered in the identification module 11, and the identification module 11 uniformly manages the wake-up cycle of each application program: namely, the identification module 11 establishes a corresponding relationship between a period for waking up each application program to transmit heartbeat data and each application program according to the registration information. The correspondence may be in the form of a linked list.
The awakening instruction sending submodule is used for sending awakening instructions to corresponding application programs periodically based on a preset period for awakening each application program to transmit heartbeat data and the corresponding relation of each application program.
Specifically, the wake-up instruction sending submodule starts from the time of successful registration, and develops a timing of a wake-up period for each successfully registered application program. And when timing finishes one awakening period, the awakening instruction sending submodule sends an awakening instruction to a corresponding application program and executes the second identification submodule.
Preferably, the electronic device includes a reminder manager (e.g., alarmmmanager in android operating system). The awakening instruction sending submodule establishes a corresponding relation between a period for awakening each application program to transmit heartbeat data and each application program in the reminding manager based on the awakening period and the application program information provided when each application program is executed.
For example, when the application a2 is first started, the application a2 sends registration information to the reminder manager, and the wake-up command sending submodule receives the registration information and adds the wake-up period and the correspondence between the application a2 to the reminder manager, using the interface of the reminder manager.
More preferably, in order to effectively reduce the working time of the wake-up instruction sending submodule, the wake-up instruction sending submodule is further configured to monitor whether the corresponding relationship is changed, if so, the second identification submodule is executed when the wake-up instruction is sent to the changed application program, and if not, the second identification submodule is not executed.
The second identification submodule is used for monitoring whether the application program corresponding to the awakening instruction transmits heartbeat data through the network connection unit; if yes, marking the corresponding relation with a target application program; if not, no marking is performed.
Here, the second identification submodule may add a flag bit to each application in the correspondence, flag the application that matches the target application as 1, and flag other applications as 0 by default.
It should be noted that, the manner of monitoring, by the second identification sub-module, whether the application program corresponding to the wake-up instruction transmits the heartbeat data through the network connection unit is the same as or similar to the manner of monitoring by the first identification sub-module, and details thereof are not described herein.
The limiting module 12 is configured to monitor a network connection status of the network connection unit, and prohibit the identified target application from periodically waking up the electronic device when the network connection status is a disconnected status.
Specifically, the identification module 11 identifies the target application program, and the restriction module 12 monitors the network connection state of the network connection unit. For example, the restriction module 12 monitors the network connection status of the network connection unit by reading its status interface. As another example, the restriction module 12 monitors the network connection status by periodically sending ping commands and obtaining response information to the network connection units.
Preferably, the limiting module 12 monitors whether to enter a sleep state while monitoring the network connection state of the network connection unit. The sleep state refers to storing all running real-time data on a hard disk and turning off all unnecessary hardware for power saving.
And when the network connection state is monitored to be a disconnection state or the network connection state is monitored to be a dormancy state currently and the network connection state is the disconnection state, prohibiting the identified target application program from waking up the electronic equipment regularly. And executing a corresponding wake-up instruction according to the period of each target application program until the limiting module 12 monitors that the network connection state is converted into the connection state.
Here, the restriction module 12 is mainly used to prohibit the identified target application from periodically waking up the part of the electronic device where the heartbeat data is transmitted. Therefore, the way in which the restriction module 12 inhibits the identified target application from periodically waking up the electronic device includes:
1) and forbidding each target application program to send the awakening instruction. For example, the limiting module 12 includes a controlled grounding switch disposed between the processing unit and the network connection unit, and when it is detected that the network connection state is an open state, the controlled grounding switch is closed, so that the wake-up instruction sent by each target application program is invalid; and disconnecting the controlled grounding switch until the network connection state is monitored to be converted into the connection state, so that each target application program can send out a wake-up command at regular time.
2) And forbidding sending the wake-up instruction to each target application program. For example, the limit module 12 sends the offline status to the alert manager, the alert manager no longer sends the wake command to the target applications at regular intervals, and the limit module 12 squeaks the connection status to the alert manager. And the reminding manager is used for regularly waking up the target application programs according to the corresponding relation again based on the connection state.
In summary, according to the method, the system, and the mobile device for restricting periodic wake-up of the present invention, when the network disconnection state is monitored, the wake-up of each application program to transmit heartbeat data to the network is prohibited, so that the problem that the heartbeat-type communication cannot adapt to the network connection state is solved, and the power consumption of the system during the network disconnection state is effectively reduced. Therefore, the invention effectively overcomes various defects in the prior art and has high industrial utilization value.
The foregoing embodiments are merely illustrative of the principles and utilities of the present invention and are not intended to limit the invention. Any person skilled in the art can modify or change the above-mentioned embodiments without departing from the spirit and scope of the present invention. Accordingly, it is intended that all equivalent modifications or changes which can be made by those skilled in the art without departing from the spirit and technical spirit of the present invention be covered by the claims of the present invention.

Claims (7)

1. A method of limiting periodic wake-up for an electronic device including a network connection unit, comprising:
identifying a target application program that transmits heartbeat data through the network connection unit based on a periodic wake-up instruction;
monitoring the network connection state of the network connection unit, and prohibiting the identified target application program from awakening the electronic equipment regularly when the network connection state is in a disconnection state;
the monitoring of the network connection state of the network connection unit, and the prohibiting the identified target application program from waking up the electronic device periodically during the period that the network connection state is the disconnection state, include: monitoring the network connection state of a network connection unit, and monitoring whether the electronic equipment enters a dormant state;
if the network connection state is determined to be the disconnection state or the current dormancy state and the network connection state is the disconnection state, prohibiting the identified target application program from awakening the electronic equipment regularly;
the manner of prohibiting the identified target application from periodically waking up the electronic device includes: forbidding each target application program to send the awakening instruction and/or forbidding each target application program to send the awakening instruction;
the mode of the target application program for transmitting the heartbeat data through the network connection unit based on the regular wake-up instruction comprises the following steps:
monitoring whether an application program sends a wake-up command regularly or not, and correspondingly sending/receiving heartbeat data through an output routing port and an input routing port of the network connection unit;
if so, determining the application program as a target application program;
if not, then not determining;
and/or the mode of the target application program for transmitting the heartbeat data through the network connection unit based on the regular wake-up instruction comprises the following steps:
based on a preset period for awakening each application program to transmit heartbeat data and the corresponding relation of each application program, periodically sending the awakening instruction to the corresponding application program;
monitoring whether the application program receiving the awakening instruction transmits heartbeat data through the network connection unit or not;
if yes, marking the target application program;
if not, not marking;
before the step of monitoring whether the application program receiving the wake-up command transmits heartbeat data through the network connection unit is executed, the method further includes:
and monitoring whether the corresponding relation is changed or not, and when the awakening instruction is sent to the changed application program, executing a step of monitoring whether the application program receiving the awakening instruction transmits heartbeat data through the network connection unit or not.
2. The method for limiting periodic awakening according to claim 1, wherein the setting mode of the period for awakening each application program to transmit heartbeat data and the corresponding relationship between each application program comprises:
and establishing a corresponding relation between a period for waking up each application program to transmit heartbeat data and each application program in a reminding manager in the electronic equipment based on the wake-up period and the application program information provided when each application program is executed.
3. The method of claim 1, wherein the manner of inhibiting the identified target application from periodically waking the electronic device during the network connection state being the disconnected state comprises:
when the network connection state is monitored to be converted into the disconnection state, forbidding sending of the awakening instruction to each target application program, or forbidding sending of the awakening instruction by each target application program; and executing corresponding awakening instructions according to the period of each target application program until the network connection state is monitored to be converted into the connection state.
4. A system for limiting periodic wake-up for an electronic device including a network connection unit, comprising:
the identification module is used for identifying a target application program which transmits heartbeat data through the network connection unit based on a regular awakening instruction;
the limiting module is used for monitoring the network connection state of the network connection unit and forbidding the identified target application program to wake up the electronic equipment regularly when the network connection state is in a disconnection state;
the limiting module is also used for monitoring the network connection state of the network connection unit and monitoring whether the network connection unit enters a dormant state; if the network connection state is determined to be the disconnection state or the current dormancy state and the network connection state is the disconnection state, prohibiting the identified target application program from awakening the electronic equipment regularly;
the manner of prohibiting the identified target application from periodically waking up the electronic device includes: forbidding each target application program to send the awakening instruction and/or forbidding each target application program to send the awakening instruction;
the identification module comprises:
the first identification submodule is used for monitoring whether an application program sends a wake-up instruction regularly or not and sending/receiving heartbeat data correspondingly through an output routing port and an input routing port of the network connection unit; if so, determining the application program as a target application program; if not, then no determination is made
And/or, the identification module comprises:
the awakening instruction sending submodule is used for sending the awakening instruction to the corresponding application program periodically based on the preset period for awakening each application program to transmit heartbeat data and the corresponding relation of each application program;
the second identification submodule is used for monitoring whether the application program receiving the awakening instruction transmits heartbeat data through the network connection unit or not; if yes, marking the target application program; if not, not marking;
and the second identification submodule is also used for monitoring whether the corresponding relation is changed or not, and monitoring whether the application program receiving the awakening instruction transmits heartbeat data through the network connection unit or not when the awakening instruction is sent to the changed application program.
5. The system for limiting periodic awakening according to claim 4, wherein the awakening instruction sending submodule is configured to establish, in the reminder manager in the electronic device, a correspondence between a period for awakening each application program to transmit heartbeat data and each application program, based on the awakening period and the application program information provided when each application program is executed.
6. The system for limiting periodic awakening according to claim 4, wherein the limiting module is configured to prohibit sending the awakening command to each of the target applications or prohibit sending the awakening command to each of the target applications when the network connection status is monitored to be changed into the disconnected status; and executing corresponding awakening instructions according to the period of each target application program until the network connection state is monitored to be converted into the connection state.
7. A mobile device, comprising: a system for limiting periodic wake-up as claimed in any one of claims 4 to 6.
CN201510606434.0A 2015-09-22 2015-09-22 Method and system for limiting regular awakening and mobile device Active CN106550438B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510606434.0A CN106550438B (en) 2015-09-22 2015-09-22 Method and system for limiting regular awakening and mobile device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510606434.0A CN106550438B (en) 2015-09-22 2015-09-22 Method and system for limiting regular awakening and mobile device

Publications (2)

Publication Number Publication Date
CN106550438A CN106550438A (en) 2017-03-29
CN106550438B true CN106550438B (en) 2020-06-16

Family

ID=58364818

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510606434.0A Active CN106550438B (en) 2015-09-22 2015-09-22 Method and system for limiting regular awakening and mobile device

Country Status (1)

Country Link
CN (1) CN106550438B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106941533A (en) * 2017-04-07 2017-07-11 北京奇虎科技有限公司 It is a kind of to reduce method, device and the mobile terminal of power consumption
CN106973429A (en) * 2017-04-07 2017-07-21 北京奇虎科技有限公司 It is a kind of to reduce the method, device and mobile terminal of power consumption
CN107182110A (en) * 2017-04-07 2017-09-19 北京安云世纪科技有限公司 It is a kind of to reduce the method, device and mobile terminal of power consumption
CN107360618A (en) * 2017-04-12 2017-11-17 芯光飞股份有限公司 communication system and internet of things system
CN113473231B (en) * 2020-03-31 2023-08-08 海信视像科技股份有限公司 Television starting method and device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103118188A (en) * 2013-01-25 2013-05-22 华为终端有限公司 Application heartbeat cycle adjusting method and device, and terminal
CN104244381A (en) * 2013-06-17 2014-12-24 华为终端有限公司 Method, device and terminal device for awakening control
CN104284326A (en) * 2014-10-31 2015-01-14 北京元心科技有限公司 Mobile terminal power saving method, system, application processor and wireless module

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103270466B (en) * 2010-12-27 2016-08-10 微软技术许可有限责任公司 Via timer related tasks being coordinated and selectively operated power management

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103118188A (en) * 2013-01-25 2013-05-22 华为终端有限公司 Application heartbeat cycle adjusting method and device, and terminal
CN104244381A (en) * 2013-06-17 2014-12-24 华为终端有限公司 Method, device and terminal device for awakening control
CN104284326A (en) * 2014-10-31 2015-01-14 北京元心科技有限公司 Mobile terminal power saving method, system, application processor and wireless module

Also Published As

Publication number Publication date
CN106550438A (en) 2017-03-29

Similar Documents

Publication Publication Date Title
CN106550438B (en) Method and system for limiting regular awakening and mobile device
US8989096B2 (en) Application-aware radio power saving
CN110058889B (en) Application awakening method and device
CN103402027B (en) Mobile terminal and method for putting same into sleeping state
US8234510B2 (en) System and method for energy savings through emulation of wake on LAN in energy efficient ethernet
CN106102141B (en) A kind of processing method and processing device based on packet
CN106358273B (en) Low-power consumption communication device
US7571332B2 (en) Reducing power consumed by a computer system during a hibernation or an off state by remotely waking up the computer system
EP3190771B1 (en) Method and device for managing instant communication application program, and mobile terminal thereof
US20130103961A1 (en) Providing Wakeup Logic To Awaken An Electronic Device From A Lower Power Mode
US20130055271A1 (en) Apparatus and method for controlling polling
CN105739668A (en) Power management method and power management system of notebook computers
CN110691399B (en) Internet of things terminal, awakening method and device thereof and storage medium
CN112398661B (en) Equipment dormancy processing method and device, ioT equipment and storage medium
BR112014006677B1 (en) Method for controlling the operation of a communication device, properly operating transceiver, and computer readable medium
US20220116868A1 (en) Electronic device, method, medium and apparatus for managing extender nodes
US11564162B2 (en) Access point wake up
CN104737596A (en) Putting a piece of equipment connected to a multi-link network on standby
CN110990066B (en) Sleep awakening method of communication terminal
WO2015158161A1 (en) Sleep control method, apparatus and system for virtual desktop
CN104954148B (en) Control method, device and the router of node device
CN105357387A (en) Method, apparatus and system for wakening terminal
CN112888050B (en) Equipment energy saving method and device and computer storage medium
US11832177B2 (en) Transmission system comprising first and second bridge devices
CN111935803A (en) Equipment awakening method and device based on ZigBee communication protocol

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
EE01 Entry into force of recordation of patent licensing contract

Application publication date: 20170329

Assignee: Shanghai Li Ke Semiconductor Technology Co., Ltd.

Assignor: Leadcore Technology Co., Ltd.

Contract record no.: 2018990000159

Denomination of invention: Method and system for limiting periodic wake-up, and mobile device

License type: Common License

Record date: 20180615

EE01 Entry into force of recordation of patent licensing contract
GR01 Patent grant
GR01 Patent grant