CN106550438A - Limit method and system, the mobile device of periodic wakeup - Google Patents

Limit method and system, the mobile device of periodic wakeup Download PDF

Info

Publication number
CN106550438A
CN106550438A CN201510606434.0A CN201510606434A CN106550438A CN 106550438 A CN106550438 A CN 106550438A CN 201510606434 A CN201510606434 A CN 201510606434A CN 106550438 A CN106550438 A CN 106550438A
Authority
CN
China
Prior art keywords
network connection
state
application
wake
instruction
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.)
Granted
Application number
CN201510606434.0A
Other languages
Chinese (zh)
Other versions
CN106550438B (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

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

Landscapes

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

Abstract

The present invention provides a kind of method and system for limiting periodic wakeup, mobile device.According to methods described, the destination application of heartbeat data is transmitted in the system identification based on regularly wake-up instruction by the network connection unit;The network connection state of the network connection unit is monitored, during the network connection state is off-state, forbids electronic equipment described in recognized destination application periodic wakeup.The present invention solves the problems, such as that heartbeat type communication cannot adaptive network connection status, effectively consumption of the system to electric power during reduction suspension state.

Description

Limit method and system, the mobile device of periodic wakeup
Technical field
The present invention relates to field of mobile equipment, more particularly to a kind of method and system for limiting periodic wakeup, shifting Dynamic equipment.
Background technology
As communication technology is increasingly mature with chip technology, global mobile communication growth momentum is powerful, numeral Change and globalization has become irreversible trend, electronic equipment has become indispensable during we live A part.As various networked application programs can be installed in electronic equipment, people can be by running this A little application programs are enjoying Internet resources.At the same time, each application program is grown in order to be set up with service end Connection, is regularly communicated with service end.Such communication is commonly known as heart beating.
However, for electronic equipment, for particularly a kind of mobile device for fully relying on battery to power, Before heartbeat type communications, it is necessary to wake up electronic equipment, this causes electronic equipment in a dormant state Must wake up from resting state, the hardware cell for heartbeat type communication provides power supply.Network cannot connected In the case of, regardless of whether in a dormant state, heartbeat type communication itself is all insignificant.This also causes Electronic equipment consumes power during suspension state, unnecessarily so that original standby time is just precarious can For the mobile device of danger, even more make the matter worse.
The content of the invention
Various embodiments of the present invention provide a kind of method and system for limiting periodic wakeup, mobile device, for solving Certainly in prior art heartbeat type communication cannot Automatic adjusument, and then transition consume electric energy problem.
The embodiment of the present invention is employed the following technical solutions:
First aspect, there is provided a kind of method of restriction periodic wakeup, for the electronics including network connection unit Equipment, including:Recognize and heartbeat data is transmitted by the network connection unit based on regularly wake-up instruction Destination application;The network connection state of the network connection unit is monitored, in the network connection state During for off-state, forbid electronic equipment described in recognized destination application periodic wakeup.
Preferably, the network connection state of the monitoring network connection unit, in the network connection state be During off-state, the mode of electronic equipment described in recognized destination application periodic wakeup is forbidden to include: The network connection state of monitoring network connection unit, and monitor whether the electronic equipment enters resting state; If it is determined that the network connection state is off-state, or it is currently resting state and the network connection State is off-state, then forbid electronic equipment described in recognized destination application periodic wakeup.
Preferably, it is described that heartbeat data is transmitted by the network connection unit based on regularly wake-up instruction The mode of destination application includes:Whether monitoring application program periodically send wake-up instruction, and by described The output routed port of the network connection unit heartbeat data for sending/receiving corresponding with input routed port;If so, Then determine that the application program is destination application;If it is not, then not determining.
Preferably, it is described that heartbeat data is transmitted by the network connection unit based on regularly wake-up instruction The mode of destination application includes:Based on the default week for waking up each application transfer heartbeat data Phase and the corresponding relation of each application program, regularly send described wake-up to corresponding application programs and instruct;Monitoring Receive whether the application program for waking up instruction transmits heartbeat data by the network connection unit;If so, Destination application is marked as then;If it is not, then refusing labelling.
Preferably, the cycle and each application program for waking up each application transfer heartbeat data is right The set-up mode that should be related to includes:The wake-up period provided when being performed based on each application program and application program Information, sets up in the prompting manager in the electronic equipment for waking up each application transfer beats According to cycle and each application program corresponding relation.
Preferably, whether the monitoring reception application program for waking up instruction is being performed by the network connection Before the step of unit transmission heartbeat data, also include:Monitor whether the corresponding relation occurs change, when When the wake-up instruction is sent to the application program after change, perform the application that monitoring receives the wake-up instruction The step of whether program transmits heartbeat data by the network connection unit.
Preferably, it is described during network connection state is off-state, forbid recognized intended application journey Described in sequence periodic wakeup, the mode of electronic equipment includes:When monitor the network connection state switch to disconnect shape During state, forbid the wake-up instruction being sent to each destination application, or forbid each target to answer Described wake-up is sent with program to instruct;Until when monitoring that the network connection state switchs to connection status, pressing Corresponding wake-up instruction is performed according to the cycle of each destination application.
Second aspect, there is provided a kind of system of restriction periodic wakeup, for the electronics including network connection unit Equipment, including:Identification module, for identification based on regularly wake-up instruction by the network connection unit The destination application of transmission heartbeat data;Module is limited, for monitoring the network of the network connection unit Connection status, during the network connection state is off-state, forbids recognized destination application Electronic equipment described in periodic wakeup.
Preferably, it is described to limit the network connection state that module is additionally operable to monitoring network connection unit, Yi Jijian Survey whether the electronic equipment enters resting state;If it is determined that the network connection state is off-state, or It is off-state that person is currently resting state and the network connection state, then forbid the recognized target should With electronic equipment described in program periodic wakeup.
Preferably, the identification module includes:First identification submodule, is negative for monitoring application program Phase send wake-up instruction, and the output routed port by the network connection unit and input routed port pair The heartbeat data that should be sent/receive;If, it is determined that the application program is destination application;If it is not, Then not determine.
Preferably, the identification module includes:Wake up instruction sending submodule, for based on it is default for The cycle of each application transfer heartbeat data and the corresponding relation of each application program are waken up, regularly to corresponding Application program sends described wake-up and instructs;Second identification submodule, receives the wake-up instruction for monitoring Whether application program transmits heartbeat data by the network connection unit;If so, then it is marked as target Application program;If it is not, then refusing labelling.
Preferably, what is provided when the wake-up instructs sending submodule for performing based on each application program calls out Awake cycle and application information, set up in the prompting manager in the electronic equipment and respectively should for waking up With cycle and the corresponding relation of each application program of program transportation heartbeat data.
Preferably, the second identification submodule is additionally operable to monitor whether the corresponding relation occurs change, when When sending the wake-up instruction to the application program after change, monitoring receives the application program for waking up and instructing Whether heartbeat data is transmitted by the network connection unit.
Preferably, the restriction module is for when monitoring that the network connection state switchs to off-state, Forbid the wake-up instruction being sent to each destination application, or forbid each destination application Send described wake-up to instruct;Until when monitoring that the network connection state switchs to connection status, according to each institute The cycle for stating destination application performs corresponding wake-up instruction.
The third aspect, also provides a kind of mobile device, including:As above arbitrary described restriction periodic wakeup System.
As described above, the method and system of the restriction periodic wakeup of the present invention, mobile device, have with following Beneficial effect:When suspension state is monitored, each application program is forbidden to wake up to network transmission heartbeat data, solution Heartbeat type of having determined communication cannot adaptive network connection status problem, system during effectively reducing suspension state Consumption to electric power;In addition, during resting state, forbidding waking up each destination application, shifting can be kept away The resting state of dynamic equipment is waken up instruction and upsets, and in the case of without network, extends resting state continued Duration, and then extend stand-by time;Further, instruction, transmission heartbeat data are regularly waken up by monitoring Each port determining destination application, be prevented from during suspension, indivedual application programs voluntarily send Heartbeat data and cause unnecessary power consumption;Further, preset for waking up each application transfer beats According to cycle and each application program corresponding relation, be easy to recognize transmission heartbeat data destination application, Effectively improve the speed of detection destination application;Additionally, only for the application journey after changing in corresponding relation Sequence is identified, and is prevented from repeating to recognize brought system burden.
Description of the drawings
For the technical scheme being illustrated more clearly that in the embodiment of the present invention, the embodiment of the present invention will be retouched below Needed for stating, accompanying drawing to be used is briefly described, it should be apparent that, drawings in the following description are only Some embodiments of the present invention, for those of ordinary skill in the art, are not paying creative work Under the premise of, content and these accompanying drawings that can also be according to embodiments of the present invention obtain other accompanying drawings.
Fig. 1 is the method flow diagram of one embodiment of the method for the restriction periodic wakeup of the present invention.
Fig. 2 is the method flow diagram of another embodiment of the method for the restriction periodic wakeup of the present invention.
Fig. 3 is the block diagram of one embodiment of the system of the restriction periodic wakeup of the present invention.
Specific embodiment
For make present invention solves the technical problem that, the technical scheme that adopts and the technique effect that reaches it is clearer, The technical scheme of the embodiment of the present invention is described in further detail below in conjunction with accompanying drawing, it is clear that retouched The embodiment stated is only a part of embodiment of the invention, rather than the embodiment of whole.Based in the present invention Embodiment, the every other reality obtained under the premise of creative work is not made by those skilled in the art Example is applied, the scope of protection of the invention is belonged to.
As shown in figure 1, the present invention provides a kind of method for limiting periodic wakeup.Methods described is mainly by limiting System processed is performing.The restriction system includes the software and hardware installed in electronic equipment.Wherein, institute Stating electronic equipment includes:Network connection unit, the processing unit for performing software program, display unit Deng.The even electronic equipment can also be included:With base station carry out the basic businesses such as voice, note from Processing unit.Software in the electronic equipment includes:Operating system and operation on an operating system each Application program.The operating system is included but is not limited to:Android operation system etc..The electronic equipment bag Include but be not limited to:Mobile phone, panel computer etc. rely on battery powered equipment.
Here, the network connection unit is included but is not limited to:Wifi communication modules, based on mobile data Communication module of network etc..The network connection unit also includes:Input routed port and output route end Mouthful.
In step sl, the restriction system is instructed by the network connection unit based on regularly wake-up The destination application of transmission heartbeat data.
Specifically, the mode of the transmission heartbeat data supported according to operating system is different, step S1 Including:Step S11;Or including step S12, S13 and S14.(being unillustrated)
In step s 11, the restriction system monitoring application program whether send wake-up instruction, and by institute The output routed port and input routed port for stating network connection unit periodically corresponds to the beats for sending/receiving According to;If, it is determined that the application program is destination application;If it is not, then not determining.
Specifically, if the application program A1 on the electronic equipment needs to set up length with remote service end Connection, then the heart beating part start by set date processing unit in the application program A1 and send wake-up instruction, with Indicate that the hardware in the network connection unit is in running order;Then, the processing unit is according to application The logic setting of heart beating part in program A1, sends heartbeat data or by defeated by exporting routed port Enter routed port and receive the heartbeat data from service end.The restriction system is monitored in the processing unit Corresponding port, is instructed with intercepting and capturing described wake-up;Then, the output routed port and input route end are monitored It is mouthful whether corresponding send/receive heartbeat data, if, it is determined that sending the application program for waking up instruction is Destination application, otherwise, then disregards.Wherein, usually data length is less for the heartbeat data Data, and/or the data with characteristic format, therefore, the restriction system is by the preset duration monitored Data length is less than preset byte and/or meets the data of characteristic format regards as heartbeat data.
For the ease of managing the wake operation of each application program, after each application program is mounted, system is limited described Registered in system, the wake-up period that systematic unity manages each application program is limited by described:I.e. described restriction System is set up for the cycle for waking up each application transfer heartbeat data and each application journey according to log-on message The corresponding relation of sequence.The corresponding relation can be chain sheet form.
In step s 12, the restriction system is based on default for waking up each application transfer beats According to cycle and each application program corresponding relation, regularly to corresponding application programs send wake up instruction.
Specifically, the restriction system is from when succeeding in registration, being application program that each succeeds in registration Open up the timing of wake-up period.When timing completes a wake-up period, the restriction system is to corresponding Application program issue wake-up instruction, and execution step S14.
Preferably, in the electronic equipment comprising remind manager (in Android operation system AlarmManager).Wake-up period and application that the restriction system is provided when being performed based on each application program Program information, it is described remind manager in set up for waking up cycle of each application transfer heartbeat data With the corresponding relation of each application program.
For example, when application program A2 starts for the first time to be performed, the application program A2 reminds pipe to described Reason device sends log-on message, and the restriction system receives the registration using the interface for reminding manager Information, and the corresponding relation of wake-up period therein and application program A2 is increased to into the prompting manager In.
It is further preferable that the operating time in order to effectively reduce the restriction system, the restriction system can With execution step S13:Monitor whether the corresponding relation occurs change, if so, then when answering after change When sending wake-up instruction with program, execution step S14, if it is not, then refusing execution step S14.
It is in step S14, described to limit whether the system monitoring correspondence application program for waking up instruction leads to Cross the network connection unit transmission heartbeat data;If so, then in the corresponding relation by its marker bit mesh Mark application program;If it is not, then refusing labelling.
Here, the restriction system can increase by a marker bit in the corresponding relation at each application program, It is 1 by the application program mark for meeting destination application, other application program default labels are 0.
Limit whether the system monitoring correspondence application program for waking up instruction leads to it should be noted that described Cross network connection unit transmission heartbeat data mode it is identical with the monitoring mode in abovementioned steps S11 or It is similar, will not be described in detail herein.
In step s 2, the network connection state for limiting network connection unit described in system monitoring, During the network connection state is off-state, forbid described in recognized destination application periodic wakeup Electronic equipment.
Specifically, the restriction system also monitors the net while destination application is recognized The network connection state of network connection unit.For example, the restriction system is by reading the network connection unit State interface monitoring its network connection state.And for example, the restriction system passes through periodically to the network Connection unit sends ping instructions and obtains response message etc. and carrys out monitoring network connection status.
Preferably, the restriction system is while the network connection state of the network connection unit is monitored, Also monitor whether the electronic equipment enters resting state.As shown in Figure 2.Wherein, the resting state is Refer in the real-time data memory of all operations to hard disk, and all unnecessary hardware are closed in the hope of power saving.
When monitoring the network connection state for off-state, or it is currently resting state and the net When network connection status is off-state, forbid electronic equipment described in recognized destination application periodic wakeup. Until it is described restriction system monitoring to the network connection state switch to connection status when, according to each target The cycle of application program performs corresponding wake-up and instructs.
Here, the restriction system mainly forbids electronics described in recognized destination application periodic wakeup Equipment center jumps the part of data transfer.Therefore, the restriction system forbids recognized destination application fixed Phase wakes up the mode of the electronic equipment to be included:
1) forbid each destination application to send described wake-up to instruct.For example, wrap in the restriction system Containing the controlled earthed switch being arranged between the processing unit and network connection unit, when monitoring that network connects Connect state for off-state when, then close the controlled earthed switch so that what each destination application sent calls out Awake instruction ignore;Until when monitoring that the network connection state switchs to connection status, disconnecting the controlled ground connection Switch, so that the wake-up that sends of each destination application timing is instructed.
2) forbid sending the wake-up instruction to each destination application.For example, the restriction system will Suspension state is sent to prompting manager, and the prompting manager no longer timing is sent out to each destination application Go out described wake-up to instruct, connection status is sent to the prompting manager by the restriction system.It is described Remind manager based on the connection status again according to the corresponding relation timing to each destination application Wake-up instruction.
As shown in figure 3, the present invention provides a kind of system for limiting periodic wakeup.The restriction system includes Installed in the software and hardware of electronic equipment.Wherein, the electronic equipment includes:Network connection unit, For performing processing unit, display unit of software program etc..The even electronic equipment can also be included: With base station carry out the basic businesses such as voice, note from processing unit.Software kit in the electronic equipment Include:Operating system and operation each application program on an operating system.The operating system includes but does not limit In:Android operation system etc..The electronic equipment is included but is not limited to:Mobile phone, panel computer etc. are relied on Battery powered mobile device.
Here, the network connection unit is included but is not limited to:Wifi communication modules, based on mobile data Communication module of network etc..The network connection unit also includes:Input routed port and output route end Mouthful.
The restriction system 1 includes:Identification module 11, restriction module 12.
The identification module 11 is used to transmit the heart by the network connection unit based on regularly wake-up instruction The destination application of jumping figure evidence.
Specifically, the mode of the transmission heartbeat data supported according to operating system is different, the identification mould Block 11 includes:First identification submodule;Or including:Wake up instruction sending submodule and the second identification Module.(being unillustrated)
The first identification submodule be used to monitoring application program whether send wake-up instruction, and by the net The output routed port and input routed port of network connection unit periodically corresponds to the heartbeat data for sending/receiving;If It is, it is determined that the application program is destination application;If it is not, then not determining.
Specifically, if the application program A1 on the electronic equipment needs to set up length with remote service end Connection, then the heart beating part start by set date processing unit in the application program A1 and send wake-up instruction, with Indicate that the hardware in the network connection unit is in running order;Then, the processing unit is according to application The logic setting of heart beating part in program A1, sends heartbeat data or by defeated by exporting routed port Enter routed port and receive the heartbeat data from service end.It is single that the first identification submodule monitors the process Corresponding port in unit, is instructed with intercepting and capturing described wake-up;Then, the output routed port and input are monitored Whether routed port is corresponding to send/reception heartbeat data, if, it is determined that send the application for waking up instruction Program is destination application, otherwise, is then disregarded.Wherein, usually data are long for the heartbeat data Less data, and/or the data with characteristic format are spent, therefore, the first identification submodule will be monitored Preset duration in data length be less than preset byte and/or meet the data of characteristic format and regard as beats According to.
For the ease of managing the wake operation of each application program, in the identification mould after each application program is mounted Registered in block 11, the wake-up period of each application program is managed collectively by the identification module 11:That is institute Identification module 11 is stated according to log-on message, set up for wake up each application transfer heartbeat data cycle and The corresponding relation of each application program.The corresponding relation can be chain sheet form.
The instruction sending submodule that wakes up is used for based on default for waking up each application transfer beats According to cycle and each application program corresponding relation, regularly to corresponding application programs send wake up instruction.
Specifically, the instruction sending submodule that wakes up is from when succeeding in registration, being that each succeeds in registration Application program open up the timing of wake-up period.When timing completes a wake-up period, the wake-up Instruction sending submodule issues wake-up instruction to corresponding application program, and performs the second identification submodule Block.
Preferably, in the electronic equipment comprising remind manager (in Android operation system AlarmManager).It is described that the wake-up provided when instruction sending submodule is performed based on each application program is provided Cycle and application information, set up for waking up each application transfer heart beating in the prompting manager The cycle of data and the corresponding relation of each application program.
For example, when application program A2 starts for the first time to be performed, the application program A2 reminds pipe to described Reason device sends log-on message, and the wake-up instruction sending submodule is connect using the interface for reminding manager The log-on message is received, and the corresponding relation of wake-up period therein and application program A2 is increased to into described carrying In awake manager.
It is further preferable that in order to effectively reduce the operating time for waking up instruction sending submodule, it is described Wake up instruction sending submodule to be additionally operable to monitor whether the corresponding relation occurs change, if so, then when to change Application program after more is sent when waking up instruction, is performed second and is recognized submodule, if it is not, then not performing the Two identification submodules.
Whether the second identification submodule is used to monitor the correspondence application program for waking up instruction by institute State network connection unit transmission heartbeat data;If so, then should by its marker bit target in the corresponding relation Use program;If it is not, then refusing labelling.
Here, the second identification submodule can increase by one in the corresponding relation marking at each application program Note position, is 1 by the application program mark for meeting destination application, other application program default labels For 0.
It should be noted that the second identification submodule monitoring correspondence is described to wake up the application program for instructing Whether prison in submodule is recognized with aforementioned first by way of the network connection unit transmits heartbeat data Survey mode is same or similar, will not be described in detail herein.
The module 12 that limits is used to monitor the network connection state of the network connection unit, in the network During connection status is off-state, forbid electronic equipment described in recognized destination application periodic wakeup.
Specifically, the identification module 11 recognize the destination application while, the restriction mould Block 12 also monitors the network connection state of the network connection unit.For example, the restriction module 12 passes through Read the state interface of the network connection unit to monitor its network connection state.And for example, the restriction mould Block 12 is by periodically sending ping instructions to the network connection unit and obtains response message etc. come monitoring network Connection status.
Preferably, the module 12 that limits is in the same of the network connection state for monitoring the network connection unit When, also monitor whether to enter resting state.Wherein, the resting state is referred to the real-time number of all operations According to storage on hard disk, and all unnecessary hardware are closed in the hope of power saving.
When monitoring the network connection state for off-state, or it is currently resting state and the net When network connection status is off-state, forbid electronic equipment described in recognized destination application periodic wakeup. Until when the restriction module 12 monitors that the network connection state switchs to connection status, according to each mesh The cycle of mark application program performs corresponding wake-up and instructs.
Here, the restriction module 12 mainly forbids electricity described in recognized destination application periodic wakeup Sub- equipment center jumps the part of data transfer.Therefore, the restriction module 12 forbids recognized intended application journey Described in sequence periodic wakeup, the mode of electronic equipment includes:
1) forbid each destination application to send described wake-up to instruct.For example, the restriction module 12 In comprising being arranged on controlled earthed switch between the processing unit and network connection unit, when monitoring net When network connection status is off-state, then the controlled earthed switch is closed so that each destination application sends Wake-up instruction ignore;Until when monitoring that the network connection state switchs to connection status, disconnecting this controlled Earthed switch, so that the wake-up that sends of each destination application timing is instructed.
2) forbid sending the wake-up instruction to each destination application.For example, the restriction module 12 Suspension state is sent to into prompting manager, the prompting manager no longer timing to each destination application Send described wake-up to instruct, connection status is sent to the prompting manager by the restriction module 12. The prompting manager is based on the connection status again according to the corresponding relation timing to each intended application The wake-up instruction of program.
In sum, the method and system of restriction periodic wakeup of the invention, mobile device, are monitoring to break During net state, each application program is forbidden to wake up to network transmission heartbeat data, solving heartbeat type communication cannot The problem of adaptive network connection status, consumption of the system to electric power during effectively reducing suspension state.So, The present invention effectively overcomes various shortcoming of the prior art and has high industrial utilization.
The principle and its effect of above-described embodiment only illustrative present invention, it is of the invention not for limiting. Any person skilled in the art all can enter to above-described embodiment under the spirit and the scope without prejudice to the present invention Row modifications and changes.Therefore, such as those of ordinary skill in the art without departing from institute of the present invention All equivalent modifications completed under the spirit and technological thought of announcement or change, should be by the right of the present invention Requirement is covered.

Claims (15)

1. a kind of method for limiting periodic wakeup, for the electronic equipment including network connection unit, its feature exists In, including:
Recognize based on the intended application for regularly waking up instruction by network connection unit transmission heartbeat data Program;
The network connection state of the network connection unit is monitored, is off-state in the network connection state Period, forbid electronic equipment described in recognized destination application periodic wakeup.
2. it is according to claim 1 limit periodic wakeup method, it is characterised in that the monitoring network The network connection state of connection unit, during the network connection state is off-state, forbids being recognized Destination application periodic wakeup described in the mode of electronic equipment include:
The network connection state of monitoring network connection unit, and monitor whether the electronic equipment enters dormancy State;
If it is determined that the network connection state is off-state, or it is currently resting state and the network Connection status is off-state, then forbid electronic equipment described in recognized destination application periodic wakeup.
3. it is according to claim 1 limit periodic wakeup method, it is characterised in that it is described based on regular Wake-up instruction the network connection unit transmit heartbeat data destination application by way of include:
Whether monitoring application program periodically sends wake-up instruction, and the output road by the network connection unit By the port heartbeat data for sending/receiving corresponding with input routed port;
If, it is determined that the application program is destination application;
If it is not, then not determining.
4. it is according to claim 1 and 2 limit periodic wakeup method, it is characterised in that it is described to be based on Instruction bag by way of the destination application that the network connection unit transmits heartbeat data is waken up regularly Include:
Based on the default cycle for waking up each application transfer heartbeat data and the correspondence of each application program Relation, regularly sends described wake-up to corresponding application programs and instructs;
Monitoring receives whether the application program for waking up instruction transmits beats by the network connection unit According to;
If so, then it is marked as destination application;
If it is not, then refusing labelling.
5. the method for limiting periodic wakeup according to claim 4, it is characterised in that described for waking up The set-up mode of the cycle of each application transfer heartbeat data and the corresponding relation of each application program includes:
The wake-up period provided when being performed based on each application program and application information, are set in the electronics Set up for the cycle for waking up each application transfer heartbeat data and each application journey in prompting manager in standby The corresponding relation of sequence.
6. it is according to claim 4 limit periodic wakeup method, it is characterised in that perform monitoring connect Receive the application program for waking up instruction whether the step of by network connection unit transmission heartbeat data it Before, also include:
Monitor whether the corresponding relation occurs change, refer to when application program after change sends the wake-up When making, perform monitoring and receive whether the application program for waking up instruction is transmitted by the network connection unit The step of heartbeat data.
7. it is according to claim 1 limit periodic wakeup method, it is characterised in that it is described network connect State is connect, during off-state, to forbid electronic equipment described in recognized destination application periodic wakeup Mode includes:
When monitoring that the network connection state switchs to off-state, forbid to each destination application Send described wake-up to instruct, or forbid each destination application to send the wake-up instruction;Until prison When measuring the network connection state and switching to connection status, perform according to the cycle of each destination application It is corresponding to wake up instruction.
8. a kind of system for limiting periodic wakeup, for the electronic equipment including network connection unit, its feature exists In, including:
Identification module, transmits heart beating by the network connection unit based on regularly wake-up instruction for identification The destination application of data;
Module is limited, for monitoring the network connection state of the network connection unit, in the network connection During state is off-state, forbid electronic equipment described in recognized destination application periodic wakeup.
9. it is according to claim 8 limit periodic wakeup system, it is characterised in that the restriction module The network connection state of monitoring network connection unit is additionally operable to, and monitors whether to enter resting state;If really The fixed network connection state is off-state, or is currently resting state and the network connection state For off-state, then forbid electronic equipment described in recognized destination application periodic wakeup.
10. it is according to claim 8 limit periodic wakeup system, it is characterised in that the identification module Including:
Whether the first identification submodule, periodically send wake-up instruction for monitoring application program, and by described The output routed port of the network connection unit heartbeat data for sending/receiving corresponding with input routed port;If It is, it is determined that the application program is destination application;If it is not, then not determining.
The system of 11. restriction periodic wakeups according to claim 8 or claim 9, it is characterised in that the identification Module includes:
Instruction sending submodule is waken up, it is default for waking up each application transfer heartbeat data for being based on Cycle and each application program corresponding relation, regularly to corresponding application programs send it is described wake up instruction;
For monitoring, second identification submodule, receives whether the application program for waking up instruction passes through the net Network connection unit transmits heartbeat data;If so, then it is marked as destination application;If it is not, then refusing Labelling.
12. systems for limiting periodic wakeup according to claim 11, it is characterised in that the wake-up refers to The wake-up period provided when making sending submodule for performing based on each application program and application information, In the electronic equipment remind manager in set up for waking up week of each application transfer heartbeat data Phase and the corresponding relation of each application program.
13. systems for limiting periodic wakeup according to claim 11, it is characterised in that described second knows Small pin for the case module is additionally operable to monitor whether the corresponding relation occurs change, when application program after change sends During the wake-up instruction, whether monitoring receives the application program for instructing that wakes up by the network connection list Unit's transmission heartbeat data.
14. systems for limiting periodic wakeup according to claim 8, it is characterised in that the restriction module For when monitoring that the network connection state switchs to off-state, forbidding to each destination application Send described wake-up to instruct, or forbid each destination application to send the wake-up instruction;Until prison When measuring the network connection state and switching to connection status, perform according to the cycle of each destination application It is corresponding to wake up instruction.
15. a kind of mobile devices, it is characterised in that include:Restriction as described in arbitrary in claim 8-14 is fixed The system that phase wakes up.
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 true CN106550438A (en) 2017-03-29
CN106550438B 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)

Cited By (6)

* 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
CN110896197A (en) * 2019-11-25 2020-03-20 广东电网有限责任公司 Transformer substation cable trench online monitoring method and system based on Internet of things technology
CN113473231A (en) * 2020-03-31 2021-10-01 海信视像科技股份有限公司 Television starting method and device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120167118A1 (en) * 2010-12-27 2012-06-28 Microsoft Corporation Power management via coordination and selective operation of timer-related tasks
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

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120167118A1 (en) * 2010-12-27 2012-06-28 Microsoft Corporation Power management via coordination and selective operation of timer-related tasks
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

Cited By (7)

* 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
CN110896197A (en) * 2019-11-25 2020-03-20 广东电网有限责任公司 Transformer substation cable trench online monitoring method and system based on Internet of things technology
CN113473231A (en) * 2020-03-31 2021-10-01 海信视像科技股份有限公司 Television starting method and device
CN113473231B (en) * 2020-03-31 2023-08-08 海信视像科技股份有限公司 Television starting method and device

Also Published As

Publication number Publication date
CN106550438B (en) 2020-06-16

Similar Documents

Publication Publication Date Title
CN106550438A (en) Limit method and system, the mobile device of periodic wakeup
CN107249221B (en) Method for assisting base station to perform UE RRC state transition by reporting information by UE, user terminal and base station
TWI676368B (en) Information transmission and channel monitoring processing method and device
WO2017185867A1 (en) Method for service transmission and terminal
RU2739290C1 (en) Method of multiaddress unidirectional channel control and terminal device
CN102681649B (en) Device and method for prolonging battery endurance abilities of all kinds of intelligent equipment
CN108777862B (en) Bluetooth transmission method, Bluetooth controller and Bluetooth device
US10375756B2 (en) Method of controlling operation of a communication device, transceiver operating accordingly, and computer program
CN110493855A (en) Communication mode control method, device, storage medium and terminal
CN104345861B (en) Data processing method and device as well as electronic equipment
CN108289030B (en) Base station fault identification processing method and device
CN107809789B (en) Communication method, communication device, access point and station of wireless local area network
WO2020227846A1 (en) Wake-up signal monitoring indication
CN103634885A (en) Identification card and operation method thereof
CN106598193A (en) Power consumption control method and apparatus
US8825917B2 (en) Method, system and device for enabling USB data card with USB flash drive function to hibernate
CN108663699A (en) GNSS intelligent electric-saving devices, positioning system and method
WO2014024175A2 (en) Managing timers
CN113784232B (en) Low-power-consumption communication method of intelligent water meter based on LoRa
CN112888050B (en) Equipment energy saving method and device and computer storage medium
CN106063336A (en) Transmission system including first and second bridge devices
CN106998508B (en) ONU (optical network unit) state transition method and ONU
RU2786001C1 (en) Wake-up signal monitoring indication
CN102647344B (en) Message sending method in embedded and distributed system
CN103313277B (en) WSN terminal node and low-power consumption intercepting method based on ZigBee thereof

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