CN112637940A - Low-power-consumption equipment dormancy keep-alive system and method - Google Patents

Low-power-consumption equipment dormancy keep-alive system and method Download PDF

Info

Publication number
CN112637940A
CN112637940A CN202011634062.XA CN202011634062A CN112637940A CN 112637940 A CN112637940 A CN 112637940A CN 202011634062 A CN202011634062 A CN 202011634062A CN 112637940 A CN112637940 A CN 112637940A
Authority
CN
China
Prior art keywords
alive
keep
detection
delta
server
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
CN202011634062.XA
Other languages
Chinese (zh)
Other versions
CN112637940B (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.)
Nanjing Youchuan Network Technology Co ltd
Original Assignee
Nanjing Youchuan Network Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nanjing Youchuan Network Technology Co ltd filed Critical Nanjing Youchuan Network Technology Co ltd
Priority to CN202011634062.XA priority Critical patent/CN112637940B/en
Publication of CN112637940A publication Critical patent/CN112637940A/en
Application granted granted Critical
Publication of CN112637940B publication Critical patent/CN112637940B/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/0212Power saving arrangements in terminal devices managed by the network, e.g. network or access point is master and terminal is slave
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/20Manipulation of established connections
    • H04W76/25Maintenance of established connections
    • 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)
  • Mobile Radio Communication Systems (AREA)
  • Power Sources (AREA)

Abstract

The invention discloses a low-power consumption device dormancy keep-alive system and a low-power consumption device dormancy keep-alive method, which belong to the technical field of low power consumption. In the invention, because the average of the bottom current of the current low-power chip is 100-250uA, the power consumption peak value of the transmitted protection data can reach 700mA, the average current of the chip adopting the 30s keep-alive interval is 1.6-2mA, and the average current of the chip adopting the 60s keep-alive interval is 0.8-1.2 mA. By adopting a dynamic detection mechanism, the protection interval can be adjusted to 300s under most conditions, the protection interval under partial environment is 600s, and the average power consumption is 250 plus 500 uA.

Description

Low-power-consumption equipment dormancy keep-alive system and method
Technical Field
The present invention relates to the field of low power consumption technologies, and in particular, to a system and a method for keeping a low power consumption device alive through dormancy.
Background
The low-power-consumption network intelligent device needs to support the function of remote awakening, and the main technical scheme is that the intelligent device and the server are kept alive regularly. Because the NAT aging times configured by different routers are different, a general method is to select a smaller keep-alive interval to ensure compatibility with all routers, and the smaller the keep-alive interval is, the larger the average power consumption is, so that the standby time of the low-power-consumption network intelligent device is shorter.
Therefore, we propose a low power consumption device sleep keep-alive system and method to solve the above problems.
Disclosure of Invention
The invention aims to find the NAT aging time close to the maximum between an intelligent device and a keep-alive server by adopting a dynamic detection mechanism, and adjust the keep-alive interval in real time so as to achieve the average power consumption close to the optimum and improve the standby time of the intelligent device, and provides a low-power-consumption device dormancy keep-alive system and a method.
In order to achieve the purpose, the invention adopts the following technical scheme:
a low-power consumption device dormancy keep-alive system comprises a low-power consumption intelligent device, a keep-alive server and a detection server;
the keep-alive server is used for keeping alive the communication between the low-power-consumption intelligent equipment and the keep-alive server;
the detection server is used for detecting the keep-alive time interval of the low-power consumption intelligent device channel.
A low-power consumption device sleep keep-alive method comprises the following steps:
step one, the device initiates connection with a keep-alive server at a conservative initial keep-alive interval tk, and the keep-alive server responds to a connection request;
step two, the device initiates connection with the detection server by adding an increment delta to the initial keep-alive interval tk, and simultaneously locally starts a timer tk + delta +2 to wait for initiating a detection packet of the detection server;
step three, after receiving the detection request, the detection server delays tk + delta to initiate a detection response packet, and if the equipment receives the detection response packet, the equipment immediately sends a detection confirmation packet;
step four, after the detection server receives the detection confirmation packet, the keep-alive server is informed to update the keep-alive interval of the equipment to be tk + delta;
step five, when the equipment keeps alive next time, the keep-alive server informs the use of a new keep-alive interval;
step six, if the device does not receive the detection response packet after the time out of tk + delta +2 after the step two, the device adjusts delta to delta/2 to reinitiate the detection request, and if the device does not receive the detection response packet after the time out of tk + delta +2, the delta is halved again until the delta is less than 3, and the detection is quitted;
and step seven, if the detection request packet is received before tk + delta is overtime in the step six, repeating the step three.
Preferably, in the fifth step, after receiving the new keep-alive interval, the device adjusts the keep-alive interval and initiates a new probe request, where tk + delta.
The technical scheme provided by the embodiment of the invention can have the following beneficial effects:
compared with the prior art, the invention has the advantages that the average of the bottom current of the current low-power chip is 100-250uA, the power consumption peak value of the transmitted protection data reaches 700mA, the average current of the chip adopting the 30s keep-alive interval is 1.6-2mA, and the average current of the chip adopting the 60s keep-alive interval is 0.8-1.2 mA. By adopting a dynamic detection mechanism, the protection interval can be adjusted to 300s under most conditions, the protection interval under partial environment is 600s, and the average power consumption is 250 plus 500 uA.
Drawings
Fig. 1 is a schematic diagram of a relationship structure of a low power consumption device sleep keep-alive system according to the present invention;
fig. 2 is a schematic flow chart of a sleep keep-alive method for a low-power device according to the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments.
Referring to fig. 1-2, a low-power device sleep keep-alive system includes a low-power intelligent device, a keep-alive server and a detection server;
the keep-alive server is used for keeping alive the communication between the low-power-consumption intelligent equipment and the keep-alive server;
the detection server is used for detecting the keep-alive time interval of the low-power consumption intelligent device channel.
When the detection server performs the keep-alive time interval test, firstly, an interval time is selected, for example, the interval time is 20 seconds, when the interval time is 20 seconds, the detection server sends out a detection response packet to judge whether the low-power-consumption device receives the detection response packet, if the low-power-consumption device receives the detection response packet, the detection response packet is sent immediately, and after the detection response packet is received by the detection server, when the interval time is 20 seconds, the low-power-consumption device channel is in a keep-alive state. At this time, the test interval time can be increased, for example, the test interval time is 25 seconds, when the interval time is 25 seconds, the detection server sends out a detection response packet to determine whether the low-power-consumption device receives the detection response packet, if the low-power-consumption device receives the detection response packet, the detection response packet is sent immediately, and after the detection response packet is received by the detection server, when the interval time is 25 seconds, the low-power-consumption device channel is in a keep-alive state. At this time, the number of seconds of the test interval time may also be continuously increased, for example, the test interval time is 30 seconds, when the interval time is 30 seconds, the probe server sends a probe response packet to determine whether the low-power device receives the probe response packet, if the low-power device does not receive the probe response packet, the probe response packet cannot be sent, and after the probe response packet is not received by the probe server, the keep-alive time of the low-power device channel is kept to 25 seconds. Then, the detection process is exited because the new delta is 2, and the keep-alive interval is 25 seconds.
A low-power consumption device sleep keep-alive method comprises the following steps:
step one, the device initiates connection with a keep-alive server at a conservative initial keep-alive interval tk, and the keep-alive server responds to a connection request;
step two, the device sends a connection with the detection server by adding an increment delta at the initial keep-alive interval tk, and simultaneously locally starts a timer tk + delta +2 to wait for the detection server to initiate a detection packet;
step three, after receiving the detection request, the detection server delays tk + delta to initiate a detection response packet, and if the equipment receives the detection response packet, the equipment immediately sends a detection confirmation packet;
step four, after the detection server receives the detection confirmation packet, the keep-alive server is informed to update the keep-alive interval of the equipment to be tk + delta;
step five, when the equipment keeps alive next time, the keep-alive server informs the use of a new keep-alive interval;
step six, if the device does not receive the detection response packet after the time out of tk + delta +2 after the step two, the device adjusts delta to delta/2 to reinitiate the detection request, and if the device does not receive the detection response packet after the time out of tk + delta +2, the delta is halved again until the delta is less than 3, and the detection is quitted;
and step seven, if the detection request packet is received before tk + delta is overtime in the step six, repeating the step three.
More specifically, in the fifth step, after receiving a new keep-alive interval, the device adjusts the keep-alive interval and initiates a new probe request, where tk + delta.
In the invention, by adopting a mode of dynamically detecting the keep-alive interval, on the premise of ensuring the general adaptability of the equipment, the average sleep power consumption close to the optimal is achieved, the sleep standby time close to the optimal is realized, the standby time is prolonged by 2 to 3 times, and the standby time of the low-power-consumption equipment is improved.
The above description is only for the preferred embodiment of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art should be considered to be within the technical scope of the present invention, and the technical solutions and the inventive concepts thereof according to the present invention should be equivalent or changed within the scope of the present invention.

Claims (3)

1. A low-power consumption equipment dormancy keep-alive system is characterized by comprising low-power consumption intelligent equipment, a keep-alive server and a detection server;
the keep-alive server is used for keeping alive the communication between the low-power-consumption intelligent equipment and the keep-alive server;
the detection server is used for detecting the keep-alive time interval of the low-power consumption intelligent device channel.
2. The low-power consumption device sleep keep-alive method according to claim 1, and the method is characterized by comprising the following steps:
step one, the device initiates connection with a keep-alive server at a conservative initial keep-alive interval tk, and the keep-alive server responds to a connection request;
step two, the device initiates connection with the detection server by adding an increment delta to the initial keep-alive interval tk, and simultaneously locally starts a timer tk + delta +2 to wait for initiating a detection packet of the detection server;
step three, after receiving the detection request, the detection server delays tk + delta to initiate a detection response packet, and if the equipment receives the detection response packet, the equipment immediately sends a detection confirmation packet;
step four, after the detection server receives the detection confirmation packet, the keep-alive server is informed to update the keep-alive interval of the equipment to be tk + delta;
step five, when the equipment keeps alive next time, the keep-alive server informs the use of a new keep-alive interval;
step six, if the device does not receive the detection response packet after the time out of tk + delta +2 after the step two, the device adjusts delta to delta/2 to reinitiate the detection request, and if the device does not receive the detection response packet after the time out of tk + delta +2, the delta is halved again until the delta is less than 3, and the detection is quitted;
and step seven, if the detection request packet is received before tk + delta is overtime in the step six, repeating the step three.
3. A low-power consumption device sleep keep-alive method according to claim 2, wherein in the fifth step, after receiving a new keep-alive interval, the device adjusts the keep-alive interval and initiates a new probe request, and tk ═ tk + delta.
CN202011634062.XA 2020-12-31 2020-12-31 Low-power-consumption equipment dormancy keep-alive system and method Active CN112637940B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011634062.XA CN112637940B (en) 2020-12-31 2020-12-31 Low-power-consumption equipment dormancy keep-alive system and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011634062.XA CN112637940B (en) 2020-12-31 2020-12-31 Low-power-consumption equipment dormancy keep-alive system and method

Publications (2)

Publication Number Publication Date
CN112637940A true CN112637940A (en) 2021-04-09
CN112637940B CN112637940B (en) 2024-03-08

Family

ID=75289921

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011634062.XA Active CN112637940B (en) 2020-12-31 2020-12-31 Low-power-consumption equipment dormancy keep-alive system and method

Country Status (1)

Country Link
CN (1) CN112637940B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115278804A (en) * 2022-06-25 2022-11-01 荣耀终端有限公司 Network selection method and related equipment
WO2023066125A1 (en) * 2021-10-22 2023-04-27 杭州研极微电子有限公司 Method and apparatus for reducing power consumption of communication device in sleep state, and device and medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100325306A1 (en) * 2009-06-23 2010-12-23 Nokia Corporation Method and apparatus for a keep alive probe service
CN104145466A (en) * 2012-02-24 2014-11-12 诺基亚公司 Method and apparatus for dynamic server|client controlled connectivity logic
CN105554151A (en) * 2015-12-29 2016-05-04 联想(北京)有限公司 Keep-alive time determining method and electronic device
WO2017113240A1 (en) * 2015-12-30 2017-07-06 华为技术有限公司 Method, apparatus and system for processing keepalive probe packet
CN108270770A (en) * 2017-12-21 2018-07-10 深圳市力科威尔智能科技有限公司 A kind of low power consuming devices, keep-alive server, information push method and system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100325306A1 (en) * 2009-06-23 2010-12-23 Nokia Corporation Method and apparatus for a keep alive probe service
CN104145466A (en) * 2012-02-24 2014-11-12 诺基亚公司 Method and apparatus for dynamic server|client controlled connectivity logic
CN105554151A (en) * 2015-12-29 2016-05-04 联想(北京)有限公司 Keep-alive time determining method and electronic device
WO2017113240A1 (en) * 2015-12-30 2017-07-06 华为技术有限公司 Method, apparatus and system for processing keepalive probe packet
CN108270770A (en) * 2017-12-21 2018-07-10 深圳市力科威尔智能科技有限公司 A kind of low power consuming devices, keep-alive server, information push method and system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023066125A1 (en) * 2021-10-22 2023-04-27 杭州研极微电子有限公司 Method and apparatus for reducing power consumption of communication device in sleep state, and device and medium
CN115278804A (en) * 2022-06-25 2022-11-01 荣耀终端有限公司 Network selection method and related equipment

Also Published As

Publication number Publication date
CN112637940B (en) 2024-03-08

Similar Documents

Publication Publication Date Title
CN1898900B (en) Supporter, client and corresponding method for power saving in a wireless local area network
JP5301032B2 (en) Method, apparatus and system for controlling access point
Tirronen et al. Machine‐to‐machine communication with long‐term evolution with reduced device energy consumption
CN112637940A (en) Low-power-consumption equipment dormancy keep-alive system and method
CN103079285A (en) Mobile terminal and point-to-point connection retention method
CA2533214A1 (en) System and method for wake on wireless lan
US8971238B2 (en) Method for controlling wireless router and wireless router
CN101500299A (en) User equipment and uplink sending method under discontinuous receiving state
CN110475326A (en) A kind of dynamic discontinuous receiving method, device and system for supporting beam search
CN104427591A (en) Method and dedicated device for reducing terminal power consumption through paging detection
CN107484232A (en) Message method, system, the network equipment and readable storage medium storing program for executing
CN108712773B (en) Parameter setting method, device and base station
JP3708095B2 (en) Wireless communication apparatus and wireless communication method
CN108200554B (en) Narrow-band Internet of things instrument based on PSM and eDRX, communication method and system
CN101534544A (en) Control method for discontinuous reception and device as well as starting point setting method thereof
US20130100827A1 (en) Method for managing mobile radio resources for package receiving enhancement
Pauls et al. Evaluation of efficient modes of operation of GSM/GPRS modules for M2M communications
KR20190129219A (en) Method And Apparatus for Providing Power Saving Optimization
Lingala et al. Energy and delay efficient intelligent release assistant indication scheme for nb-iot
KR101286961B1 (en) Method and system of power saving in stations of wireless communication systems
CN111294896B (en) User terminal, control method thereof, and computer-readable storage medium
CN105101364A (en) Method and terminal for activating fast dormancy
CN101534545A (en) Control method for discontinuous reception and device as well as starting point determining method thereof
WO2010099664A1 (en) Method and device for accessing network
CN101374332B (en) Method for ensuring contact of terminal and base station in dormancy mode

Legal Events

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