CN112637940B - 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
CN112637940B
CN112637940B CN202011634062.XA CN202011634062A CN112637940B CN 112637940 B CN112637940 B CN 112637940B CN 202011634062 A CN202011634062 A CN 202011634062A CN 112637940 B CN112637940 B CN 112637940B
Authority
CN
China
Prior art keywords
keep
alive
detection
server
delta
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
CN202011634062.XA
Other languages
Chinese (zh)
Other versions
CN112637940A (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

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 dormancy keep-alive system and method for low-power-consumption equipment, which belong to the technical field of low power consumption and comprise low-power-consumption intelligent equipment, a keep-alive server and a detection server. In the invention, because the average 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 30s keep-alive interval is 1.6-2mA, and the average current of the 60s keep-alive interval is 0.8-1.2mA. The invention adopts a dynamic detection mechanism to enable the guard interval to be adjusted to 300s under most conditions, the guard interval under partial environments is 600s, and the average power consumption is 250-500 uA.

Description

Low-power-consumption equipment dormancy keep-alive system and method
Technical Field
The invention relates to the technical field of low power consumption, in particular to a sleep keep-alive system and method for low power consumption equipment.
Background
The low-power consumption network intelligent equipment needs to support a remote wake-up function, and the main technical scheme is that the intelligent equipment and a server keep-alive regularly. Because NAT ageing time of different router configurations is different, the common practice 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, thus leading to shorter standby time of the low-power consumption network intelligent device.
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 out the near maximum NAT aging time 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 near optimal average power consumption, and the system and the method for keeping-alive by dormancy of the low-power-consumption device are used for improving the standby time of the intelligent device.
In order to achieve the above purpose, the present invention adopts the following technical scheme:
a low-power consumption equipment dormancy keep-alive system comprises a low-power consumption intelligent equipment, a keep-alive server and a detection server;
the keep-alive server is used for communication between the keep-alive 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 dormancy keep-alive method for low-power-consumption equipment comprises the following steps:
step one, equipment 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 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 detection server immediately sends a detection confirmation packet;
step four, after the detection server receives the detection confirmation packet, notifying the keep-alive server to update the keep-alive interval of the equipment to tk+delta;
step five, when the equipment is kept alive next time, the keep-alive server informs that a new keep-alive interval is used;
step six, if the device does not receive the detection response packet after the time-out of tk+delta+2 in the step two, the device adjusts delta=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 smaller than 3 and the detection is exited;
and step seven, if the step six receives the detection request packet before the tk+delta times out, repeating the step three.
Preferably, after receiving the new keep-alive interval, the device in the fifth step adjusts the keep-alive interval and initiates a new probe request, tk=tk+delta.
The technical scheme provided by the embodiment of the invention can comprise the following beneficial effects:
compared with the prior art, in the invention, because the bottom current of the current low-power chip is 100-250uA on average, the power consumption peak value of the transmitted protection data can reach 700mA, the average current of the 30s keep-alive interval is 1.6-2mA, and the average current of the 60s keep-alive interval is 0.8-1.2mA. The invention adopts a dynamic detection mechanism to enable the guard interval to be adjusted to 300s under most conditions, the guard interval under partial environments is 600s, and the average power consumption is 250-500 uA.
Drawings
FIG. 1 is a schematic diagram of a relationship structure of a sleep keep-alive system of a low-power device according to the present invention;
fig. 2 is a schematic flow chart of a method for preserving the activity of a low-power device according to the present invention.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present invention, but not all embodiments.
1-2, 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 communication between the keep-alive 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 tests the keep-alive time interval, 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, judges whether the low-power-consumption equipment receives the detection response packet, if the low-power-consumption equipment receives the detection response packet, the detection confirmation packet is immediately sent out, and when the interval time is 20 seconds after the detection server receives the detection confirmation packet, the low-power-consumption equipment channel is in a keep-alive state. At this time, for increasing the test interval time, for example, the test interval time is 25 seconds, when the test interval time is 25 seconds, the probe server sends out a probe response packet, judges whether the low-power-consumption device receives the probe response packet, if the low-power-consumption device receives the probe response packet, the low-power-consumption device immediately sends out a probe acknowledgement packet, and when the probe server receives the probe acknowledgement packet, 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 be further increased, for example, the test interval time is 30 seconds, when the test interval time is 30 seconds, the probe server sends out a probe response packet, determines whether the low power device receives the probe response packet, if the low power device does not receive the probe response packet, the low power device cannot send a probe acknowledgement packet, and after the probe server does not receive the probe acknowledgement packet, the keep-alive time of the low power device channel is kept to be 25 seconds. The probing process is then exited with a new delta of 2 and the keep-alive interval is taken to be 25 seconds.
A dormancy keep-alive method for low-power-consumption equipment comprises the following steps:
step one, equipment 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 adds an increment delta to the initial keep-alive interval tk to connect with the detection server, and simultaneously starts a timer tk+delta+2 to wait for the initiation of the 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 detection server immediately sends a detection confirmation packet;
step four, after the detection server receives the detection confirmation packet, notifying the keep-alive server to update the keep-alive interval of the equipment to tk+delta;
step five, when the equipment is kept alive next time, the keep-alive server informs that a new keep-alive interval is used;
step six, if the device does not receive the detection response packet after the time-out of tk+delta+2 in the step two, the device adjusts delta=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 smaller than 3 and the detection is exited;
and step seven, if the step six receives the detection request packet before the tk+delta times out, repeating the step three.
More specifically, after receiving the new keep-alive interval, the device in the fifth step adjusts the keep-alive interval and initiates a new probe request, tk=tk+delta.
According to the invention, by adopting a dynamic detection keep-alive interval mode, 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 foregoing is only a preferred embodiment of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art, who is within the scope of the present invention, should make equivalent substitutions or modifications according to the technical scheme of the present invention and the inventive concept thereof, and should be covered by the scope of the present invention.

Claims (2)

1. The dormancy keep-alive method for the low-power-consumption equipment is characterized by comprising the following steps of:
step one, using low-power consumption intelligent equipment, a keep-alive server and detection server equipment; the keep-alive server is used for communication between the keep-alive 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 equipment channel;
initiating a connection with a keep-alive server at a conservative initial keep-alive interval tk, the keep-alive server responding to the 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 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 detection server immediately sends a detection confirmation packet;
step four, after the detection server receives the detection confirmation packet, notifying the keep-alive server to update the keep-alive interval of the equipment to tk+delta;
step five, when the equipment is kept alive next time, the keep-alive server informs that a new keep-alive interval is used;
step six, if the device does not receive the detection response packet after the time-out of tk+delta+2 in the step two, the device adjusts delta=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 smaller than 3 and the detection is exited;
and step seven, if the step six receives the detection request packet before the tk+delta times out, repeating the step three.
2. The method according to claim 1, wherein after the device receives the new keep-alive interval in the fifth step, the device adjusts the keep-alive interval and initiates a new probe request, 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 CN112637940A (en) 2021-04-09
CN112637940B true 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)

Families Citing this family (2)

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

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8065419B2 (en) * 2009-06-23 2011-11-22 Core Wireless Licensing S.A.R.L. Method and apparatus for a keep alive probe service

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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

Also Published As

Publication number Publication date
CN112637940A (en) 2021-04-09

Similar Documents

Publication Publication Date Title
CN112637940B (en) Low-power-consumption equipment dormancy keep-alive system and method
US20210235292A1 (en) User equipment and method thereof
US10051565B2 (en) Wake-up for measurements during DRX cycles
EP2432270A1 (en) Method, device and system for controlling access point
CN103532684B (en) 3GPP (the 3rd generation partnership project)-based MTC (machine type communication) terminal energy-saving method through self-adaptive mixed DRX (discontinuous reception) mechanism
US8971238B2 (en) Method for controlling wireless router and wireless router
EP3869874B1 (en) Information transmission method and communication apparatus
CN106332159A (en) WIFI abnormity automatic reconnection device, system and method
CN101686551A (en) Communication control method based on priority management and device
US20130303147A1 (en) Method and device for controlling base station power
CN103036659A (en) Method and system for recovering from DRX timing de-synchronization in LTE-active
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
CN103118387B (en) A kind of thin AP redundancy connection control method of active-standby mode
CN101534544A (en) Control method for discontinuous reception and device as well as starting point setting method thereof
CN110475321B (en) Power-saving optimization method and device for wireless local area network (AP)
CN106572524A (en) Wireless AP energy saving method and device thereof
EP3873166A1 (en) Method executed by user equipment and user equipment
CN111600785A (en) M-BUS intelligent water meter low-power-consumption communication method
CN111263337A (en) Internet of things terminal discontinuous receiving method based on service time delay
Lingala et al. Energy and delay efficient intelligent release assistant indication scheme for nb-iot
WO2023005481A1 (en) Communication method for lifting hook inclination angle measurement apparatus and lifting hook inclination angle measurement apparatus
CN113347591B (en) LoRa gateway, control method and field engineering structure monitoring system
KR20110069643A (en) Apparatus and system of power saving in stations of wireless communication systems
CN111294895B (en) User terminal, control method thereof, and computer-readable storage medium

Legal Events

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