CN111246549A - Method and device for providing node dormancy and wakeup time - Google Patents

Method and device for providing node dormancy and wakeup time Download PDF

Info

Publication number
CN111246549A
CN111246549A CN201811445276.5A CN201811445276A CN111246549A CN 111246549 A CN111246549 A CN 111246549A CN 201811445276 A CN201811445276 A CN 201811445276A CN 111246549 A CN111246549 A CN 111246549A
Authority
CN
China
Prior art keywords
node
time
awakening
whiteboard
state
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201811445276.5A
Other languages
Chinese (zh)
Other versions
CN111246549B (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.)
Aisino Corp
Original Assignee
Aisino Corp
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 Aisino Corp filed Critical Aisino Corp
Priority to CN201811445276.5A priority Critical patent/CN111246549B/en
Publication of CN111246549A publication Critical patent/CN111246549A/en
Application granted granted Critical
Publication of CN111246549B publication Critical patent/CN111246549B/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
    • H04W52/0216Power saving arrangements in terminal devices managed by the network, e.g. network or access point is master and terminal is slave using a pre-established activity schedule, e.g. traffic indication frame
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/02Power saving arrangements
    • H04W52/0209Power saving arrangements in terminal devices
    • H04W52/0225Power saving arrangements in terminal devices using monitoring of external events, e.g. the presence of a signal
    • H04W52/0248Power saving arrangements in terminal devices using monitoring of external events, e.g. the presence of a signal dependent on the time of the day, e.g. according to expected transmission activity
    • 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)

Abstract

The invention discloses a method and a device for providing node dormancy and awakening time, wherein the node dormancy method comprises the following steps: if the first node in the awakening state has data to be sent, judging whether a second node receiving the data is in a dormant state; if so, inquiring the first awakening time of the second node from the whiteboard node; the first node sends information of second awakening time for awakening the first node to the whiteboard node and enters a dormant state, wherein the second awakening time is the same as the first awakening time; therefore, the requirement of frequent communication in the wireless sensor ad hoc network can be well met, the energy consumption of network nodes is reduced, and the energy-saving effect is further improved.

Description

Method and device for providing node dormancy and wakeup time
Technical Field
The present invention relates to the field of wireless communications, and in particular, to a method and an apparatus for providing node dormancy and wake-up time.
Background
The wireless sensor ad hoc network is a network formed by network nodes through self negotiation of the network nodes, wherein the network nodes are a series of network nodes carrying various sensors for sensing external environment factors. Based on the method for establishing the ad hoc network, a fixed connection mode and a corresponding connection point are not needed, and a fixed communication connection collection point and a node propagated by a route are also not needed, so that the ad hoc network of the wireless sensor is more and more popular. However, the wireless sensor ad hoc network also has a great limitation, namely, the energy consumption of the network node is great due to the fact that the battery endurance of the network node is limited and the network node is troublesome to replace.
In the prior art, a sleep-wake-up mechanism is generally adopted for energy saving, that is, a network node enters a sleep energy-saving state when not executing a task and is woken up to enter a working energy-consuming state when executing the task; there is also a power saving method for coordinating the wake-up time between the network nodes by setting the sleep cycle of the network nodes, but this method needs a special trigger mechanism to wake up the sleeping network nodes, and the energy consumed in the network with frequent communication is more.
Therefore, regarding the wireless sensor ad hoc network, the node dormancy mode in the prior art has a poor energy saving effect, and cannot meet the requirement of frequent communication in the wireless sensor ad hoc network.
Disclosure of Invention
The embodiment of the invention provides a method and a device for providing node dormancy and awakening time, which are used for solving the problems that the energy-saving effect achieved by a node dormancy mode in the prior art is poor and the requirement of frequent communication in a wireless sensor ad hoc network cannot be met.
The embodiment of the invention provides a node dormancy method, which comprises the following steps:
if the first node in the awakening state has data to be sent, judging whether a second node receiving the data is in a dormant state;
if so, inquiring the first awakening time of the second node from the whiteboard node;
and the first node sends information of second awakening time for awakening the first node to the whiteboard node and enters a dormant state, wherein the second awakening time is the same as the first awakening time.
Further, the method further comprises:
and if the second node is not in the dormant state, sending the data to the second node.
Further, the method further comprises:
if the first node does not receive data before entering the sleep state and does not send data, judging whether the product of the last sleep time length and the set multiple does not reach the set sleep time length threshold value;
if not, before the first node enters the sleep state, the first node sends information of third wake-up time for waking up the first node to the whiteboard node, and enters the sleep state, wherein the third wake-up time is determined according to a set multiple of sleep duration corresponding to the first node entering the sleep state last time, and the multiple is a numerical value larger than 1.
Further, the method further comprises:
before entering the sleep state, the first node sends information of a fourth awakening time for awakening the first node to the whiteboard node, and enters the sleep state, wherein the fourth awakening time is determined according to a set decimal of a corresponding sleep duration when the first node enters the sleep state last time, and the decimal is a numerical value smaller than 1 and larger than zero.
The embodiment of the invention provides a method for providing wake-up time, which comprises the following steps:
the method comprises the steps that a white board node receives a query request for querying the awakening time of a second node, wherein the query request is sent by a first node, and the first node has data to be sent to the second node;
and sending the information of the first awakening time corresponding to the second node to the first node according to the saved awakening time of each node.
Further, the method further comprises:
judging whether each other node connected with the node enters a dormant state or not;
if so, searching the awakening time of the third node with the earliest awakening time, taking the awakening time as the awakening time of the third node, and entering a sleep state.
An embodiment of the present invention provides a node hibernation apparatus, including:
the first judgment module is used for judging whether a second node receiving the data is in a dormant state or not if the second node is in an awakening state and the data to be sent exists;
the query module is used for querying the whiteboard node for the first awakening time of the second node if the first awakening time of the second node is the first awakening time;
and the first dormancy module is used for sending information of second awakening time for awakening the whiteboard node to the whiteboard node and entering a dormant state, wherein the second awakening time is the same as the first awakening time.
Further, the apparatus further comprises:
a sending module, configured to send the data to the second node if the second node is not in a dormant state.
Further, the apparatus further comprises:
the second dormancy module is used for judging whether the product of the last dormancy time length and the set multiple does not reach the set dormancy time length threshold value or not if the data is not received and not sent before entering the dormancy state; if not, before the first node enters the sleep state, sending information of a third awakening time for awakening the first node to the whiteboard node, and entering the sleep state, wherein the third awakening time is determined according to a set multiple of the corresponding sleep time when the first node enters the sleep state last time, and the multiple is a numerical value larger than 1.
Further, the apparatus further comprises:
and the third dormancy module is used for sending information of fourth awakening time for awakening the first node to the whiteboard node before entering the dormancy state, and entering the dormancy state, wherein the fourth awakening time is determined according to a set decimal of corresponding dormancy duration when the first node enters the dormancy state last time, and the decimal is a numerical value which is smaller than 1 and larger than zero.
The embodiment of the invention provides a device for providing wake-up time, which comprises:
a receiving module, configured to receive a query request for querying a wake-up time of a second node, where the query request is sent by a first node, where the first node has data to be sent to the second node;
and the providing module is used for sending the information of the first awakening time corresponding to the second node to the first node according to the saved awakening time of each node.
Further, the apparatus further comprises:
the second judgment module is used for judging whether each other node connected with the second judgment module enters a dormant state or not;
and the fourth sleep module is used for searching the awakening time of the third node with the earliest awakening time if the first node is in the sleep state, taking the awakening time as the awakening time of the third node and entering the sleep state.
The embodiment of the invention provides a method and a device for providing node dormancy and awakening time, wherein the node dormancy method comprises the following steps: if the first node in the awakening state has data to be sent, judging whether a second node receiving the data is in a dormant state; if so, inquiring the first awakening time of the second node from the whiteboard node; and the first node sends information of second awakening time for awakening the first node to the whiteboard node and enters a dormant state, wherein the second awakening time is the same as the first awakening time.
In the embodiment of the invention, if a second node receiving data to be sent in a first node is in a dormant state, the first node inquires a first awakening time of the second node from a white board node and adjusts a second awakening time for awakening the first node to be the same as the first awakening time and then enters the dormant state; therefore, the energy consumption of the network node is effectively reduced, and the node only needs to inquire the wakeup time of other nodes to the whiteboard node, so that the requirement of frequent communication in the wireless sensor ad hoc network can be well met, and the energy-saving effect is further improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a flowchart of a node dormancy method according to embodiment 1 of the present invention;
fig. 2 is a flowchart of a method for providing wake-up time according to embodiment 4 of the present invention;
fig. 3 is a schematic structural diagram of a node hibernation apparatus according to embodiment 6 of the present invention;
fig. 4 is a schematic structural diagram of a wake-up time providing apparatus according to embodiment 7 of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the attached drawings, and it should be understood that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Example 1:
fig. 1 is a flowchart of a method for node dormancy according to an embodiment of the present invention, where the method includes:
s101, if the first node in the awakening state has data to be sent, judging whether a second node receiving the data is in a dormant state or not.
The first node and the second node are any two network nodes in the wireless sensor ad hoc network, which are responsible for sensing network environment change and network information transmission, and can be understood as service nodes. For any node in the network, if the node is in the awake state and has data to be sent, a second node that receives the data of the node is known, and in order to ensure that the data can be successfully received, the node may determine whether the second node is in the sleep state, and a specific method for determining whether the second node is in the sleep state is the prior art, and is not described herein again.
And S102, if so, inquiring the first awakening time of the second node from the whiteboard node.
The whiteboard nodes are network nodes which are responsible for coordinating the awakening time between the service nodes expecting to communicate around the whiteboard nodes in the wireless sensor ad hoc network, the service nodes can inform the whiteboard nodes responsible for coordinating the awakening time of the whiteboard nodes before entering a dormant state, and at the moment, the whiteboard nodes can record the awakening time of the service nodes, so that the follow-up inquiry of other service nodes is facilitated.
Specifically, one whiteboard node may be responsible for coordinating a plurality of service nodes, and the same service node is coordinated by only one whiteboard node.
Therefore, when the first node judges that the second node is in the dormant state, the second node cannot receive the data at present, and can receive the data only when the second node is in the wakeup state. Specifically, the first node sends an inquiry request for inquiring the wakeup time of the second node to the whiteboard node, and after receiving the inquiry request, the whiteboard node inquires the first wakeup time of the second node according to the saved wakeup time of each node, and sends information carrying the first wakeup time to the first node.
S103, the first node sends information of second awakening time for awakening the first node to the whiteboard node and enters a dormant state, wherein the second awakening time is the same as the first awakening time.
When the second node is in a dormant state, the first node needs to wait for the second node to wake up and then sends the data to the second node, in order to reduce the energy consumption of the first node, the first node can enter the dormant state, and in order to improve the communication efficiency between the first node and the second node, the first node and the second node can wake up simultaneously, so that the first node and the second node which is woken up earliest can be woken up simultaneously, the data to be sent can be sent to the second node which is in the woken up state after the first node is woken up, and the energy consumption of the whole network is greatly reduced.
Meanwhile, in order to facilitate other service nodes to inquire the awakening time, the first node sends the information of the second awakening time to the whiteboard node and enters a dormant state. The specific information of the second wake-up time may include identification information of the first node, the second wake-up time, and other information.
S104: and if the second node is not in the dormant state, sending the data to the second node.
If the second node is not in the dormant state, it indicates that the second node is in the awake state, and may receive data sent by other network nodes, and may take corresponding operations according to the data.
Therefore, the first node sends the data to be sent to the second node, so that the second node can perform subsequent operations according to the data.
In the embodiment of the invention, if a second node receiving data to be sent in a first node is in a dormant state, the first node inquires a first awakening time of the second node from a white board node and adjusts a second awakening time for awakening the first node to be the same as the first awakening time and then enters the dormant state; therefore, the energy consumption of the network node is effectively reduced, and the node only needs to inquire the wakeup time of other nodes to the whiteboard node, so that the requirement of frequent communication in the wireless sensor ad hoc network can be well met, and the energy-saving effect is further improved.
Example 2:
for further energy saving, on the basis of the above embodiment, the method further includes:
if the first node does not receive data before entering the sleep state and does not send data, judging whether the product of the last sleep time length and the set multiple does not reach the set sleep time length threshold value;
if not, before the first node enters the sleep state, the first node sends information of third wake-up time for waking up the first node to the whiteboard node, and enters the sleep state, wherein the third wake-up time is determined according to a set multiple of sleep duration corresponding to the first node entering the sleep state last time, and the multiple is a numerical value larger than 1.
In order to further save energy, the first node may automatically adjust the sleep duration according to actual conditions. For example, if the first node does not receive data or send data while in the awake state, the sleep duration of the first node may be extended appropriately. Specifically, whether the product of the last sleep duration and the set multiple does not reach the set sleep duration threshold or not can be judged firstly, then corresponding operation is carried out according to the judgment result, specifically, if the product of the last sleep duration and the set multiple does not reach the set sleep duration threshold, the sleep duration of the sleep duration can be automatically prolonged, the sleep duration can be adjusted according to the actual situation, specifically, the product can be the set multiple of the last sleep duration, the multiple is a numerical value larger than 1, and preferably 2 times of the corresponding sleep duration when the sleep duration enters the sleep state last time; other set time is also possible, but the adjusted sleep duration does not exceed the preset maximum sleep duration value. The maximum sleep duration value is also set according to actual conditions.
And if the product of the last dormancy time length and the set multiple reaches a set dormancy time length threshold value, the first node determines the third awakening time of the dormancy according to the last dormancy time length, sends the information of the third awakening time to the white board node, and enters a dormancy state.
At this time, the first node sets a third wake-up time for self wake-up according to the adjusted dormancy duration, and sends information of the third wake-up time to the whiteboard node before entering the dormancy state. The specific information of the third wake-up time may include identification information of the first node, the third wake-up time, and other information.
In the embodiment of the invention, if the first node does not receive data before entering the sleep state and does not send data, the first node sends information of third awakening time for awakening the first node to the white board node and enters the sleep state, wherein the third awakening time is determined according to the set multiple of the corresponding sleep time when the first node enters the sleep state last time, and the multiple is a numerical value larger than 1; therefore, the first node can better automatically adjust the self wake-up time, and further energy-saving effect is achieved.
Example 3:
to further save energy, on the basis of the above embodiments, the method further comprises:
before entering the sleep state, the first node sends information of a fourth awakening time for awakening the first node to the whiteboard node, and enters the sleep state, wherein the fourth awakening time is determined according to a set decimal of a corresponding sleep duration when the first node enters the sleep state last time, and the decimal is a numerical value smaller than 1 and larger than zero.
In order to further adjust the sleep time of the node, when the first node is in the wake-up state and has a data sending requirement or a data receiving requirement, the first node may consider that the latest data is updated frequently, and may automatically shorten the sleep time of the first node, where the sleep time may be adjusted according to an actual situation, and may be a set fraction of the last sleep time, where the fraction is a value smaller than 1 and greater than zero, and preferably is half of the corresponding sleep time when the first node enters the sleep state; other set time is also possible, but the adjusted sleep duration does not exceed the preset minimum sleep duration value. The minimum sleep duration value is also set according to actual conditions.
Meanwhile, the first node sets a fourth awakening time for self awakening according to the adjusted dormancy duration, and sends information of the fourth awakening time to the whiteboard node before entering the dormancy state. The specific information of the fourth wake-up time may include identification information of the first node, the fourth wake-up time, and other information.
In the embodiment of the invention, the first node sends the information of the fourth awakening time for awakening the first node to the whiteboard node and enters the dormant state, wherein the fourth awakening time is determined according to the set decimal of the corresponding dormant time when the first node enters the dormant state last time, and the decimal is a numerical value which is less than 1 and greater than zero, so that the awakening time of the first node can be further adjusted, and further energy saving is realized.
Example 4:
on the basis of the foregoing embodiments, fig. 2 is a flowchart of a method for providing wake-up time according to an embodiment of the present invention, where the method includes:
s201: the method comprises the steps that a whiteboard node receives a query request which is sent by a first node and used for querying the awakening time of a second node, wherein the first node has data to be sent to the second node.
When the service node inquires the whiteboard node about the awakening time of a second node communicated with the service node, the second node is in a dormant state and cannot receive data. At this time, the whiteboard node receives a query request for querying the wakeup time of the second node sent by the service node, so as to perform subsequent steps according to the request.
S202: and sending the information of the first awakening time corresponding to the second node to the first node according to the saved awakening time of each node.
As can be seen from the description of the foregoing embodiments, one whiteboard node may be responsible for coordinating a plurality of service nodes, and specifically, the whiteboard node may receive wakeup time information sent to itself by the service node responsible for coordination, where the wakeup time information is generated and sent by the service nodes before entering a sleep state; in order to facilitate subsequent query of other service nodes, the whiteboard node records and stores the received wake-up time information, and specifically, the whiteboard node correspondingly stores the wake-up time according to the identification information of each service node. After receiving the query request sent by the first node, the whiteboard node queries the stored wake-up time of each node, and then sends the queried information of the first wake-up time corresponding to the second node to the first node.
In the process, the whiteboard node does not bear business operations which are responsible for the business nodes such as the sensing environment and the communication, so that the service cycle of the whiteboard node is prolonged.
In the embodiment of the invention, the query request for querying the wakeup time of the second node sent by the first node is received, wherein the first node has data to be sent to the second node, and the information of the first wakeup time corresponding to the second node is sent to the first node according to the saved wakeup time of each node, so that the whiteboard node regulates the communication between the first node and the second node, the requirement of frequent communication in the wireless sensor ad hoc network can be well met, the energy consumption of the network node is reduced, and the energy-saving effect is further improved.
Example 5:
on the basis of the above embodiment, in order to further improve the energy saving effect, the method further includes:
the whiteboard node judges whether each other node connected with the whiteboard node enters a dormant state;
if so, searching the awakening time of the third node with the earliest awakening time, taking the awakening time as the awakening time of the third node, and entering a sleep state.
In the whole wireless sensor ad hoc network, not only can the service node reduce the power consumption of the service node through a dormant mode, and the effective life cycle of the service node is improved, but also the white board node can reduce the power consumption of the white board node through a dormant mode, so that the effective life cycle of the white board node is improved, and further the effective life cycle of the whole wireless sensor ad hoc network is improved, and the energy-saving effect is further improved.
In order to guarantee the communication efficiency between the service nodes and prolong the life cycle of the service nodes, the whiteboard nodes need to set the wakeup time of the whiteboard nodes according to actual conditions, specifically, before the whiteboard nodes are in the sleep state, whether each other node connected with the whiteboard nodes enters the sleep state needs to be judged, if not, the whiteboard nodes may inquire corresponding information to the whiteboard nodes, the whiteboard nodes do not enter the sleep state, if so, the whiteboard nodes do not inquire information to the whiteboard nodes at the current moment, and the wakeup time of a third node with the earliest wakeup time is searched through the wakeup time table of each node stored by the whiteboard nodes. Then the whiteboard node sets the own dormancy time length according to the awakening time, the dormancy time length plus the awakening time of the third node cannot be later at the current moment, optimally, the awakening time is directly used as the own awakening time, and the whiteboard node enters a dormancy state.
Based on the characteristics of the wireless sensor ad hoc network, when the whiteboard nodes fail, the whiteboard nodes do not need to be supplemented on the failure positions in an alternative one-to-one correspondence manner, and only one corresponding node needs to be supplemented at a random position in the failure node cluster.
By combining the embodiments, the embodiment of the invention not only can meet the energy-saving requirement of the wireless sensor ad hoc network, but also can automatically adapt to the requirement of frequent communication change under various conditions, and can reduce the energy loss of each network node, thereby greatly improving the life cycle of the whole network; and the failed nodes can be repaired conveniently and quickly, so that the maintenance cost of the network is reduced.
In the embodiment of the invention, the whiteboard node judges whether each other node connected with the whiteboard node enters a dormant state; if the awakening time of the third node is the earliest, the awakening time of the third node with the earliest awakening time is searched, and the awakening time is used as the awakening time of the third node and enters a dormant state, so that the energy-saving effect can be further improved, and the effective life cycle of the whole wireless sensor ad hoc network is further improved.
Example 6:
based on the foregoing embodiments, fig. 3 is a schematic structural diagram of a node hibernation apparatus according to an embodiment of the present invention, where the apparatus includes:
a first determining module 301, configured to determine whether a second node receiving data is in a dormant state if the second node is in an awake state and data to be sent exists;
a query module 302, configured to query the whiteboard node for the first wake-up time of the second node if the first wake-up time is positive;
the first sleep module 303 is configured to send information of a second wake-up time for waking up the whiteboard node to the whiteboard node and enter a sleep state, where the second wake-up time is the same as the first wake-up time.
Further, the apparatus further comprises:
a sending module, configured to send the data to the second node if the second node is not in a dormant state.
Further, the apparatus further comprises:
the second dormancy module is used for judging whether the product of the last dormancy time length and the set multiple does not reach the set dormancy time length threshold value or not if the data is not received and not sent before entering the dormancy state; if not, before the first node enters the sleep state, sending information of a third awakening time for awakening the first node to the whiteboard node, and entering the sleep state, wherein the third awakening time is determined according to a set multiple of the corresponding sleep time when the first node enters the sleep state last time, and the multiple is a numerical value larger than 1.
Further, the apparatus further comprises:
and the third dormancy module is used for sending information of fourth awakening time for awakening the first node to the whiteboard node before entering the dormancy state, and entering the dormancy state, wherein the fourth awakening time is determined according to a set decimal of corresponding dormancy duration when the first node enters the dormancy state last time, and the decimal is a numerical value which is smaller than 1 and larger than zero.
Because the querying module 302 in the embodiment of the present invention is configured to query the whiteboard node for the first wake-up time of the second node if the second node receiving the data to be sent is in the dormant state, the first dormant module 303 is configured to send information of a second wake-up time for waking up itself to the whiteboard node and enter the dormant state, where the second wake-up time is the same as the first wake-up time for querying the whiteboard node for the second node; therefore, the energy consumption of the network node is effectively reduced, and the node only needs to inquire the wakeup time of other nodes to the whiteboard node, so that the requirement of frequent communication in the wireless sensor ad hoc network can be well met, and the energy-saving effect is further improved.
Example 7:
based on the above embodiments, fig. 4 is a schematic structural diagram of an apparatus for providing wake-up time according to an embodiment of the present invention, where the apparatus includes:
a receiving module 401, configured to receive a query request for querying a wake-up time of a second node, where the first node has data to be sent to the second node;
a providing module 402, configured to send information of the first wake-up time corresponding to the second node to the first node according to the saved wake-up time of each node.
Further, the apparatus further comprises:
the second judgment module is used for judging whether each other node connected with the second judgment module enters a dormant state or not;
and the fourth sleep module is used for searching the awakening time of the third node with the earliest awakening time if the first node is in the sleep state, taking the awakening time as the awakening time of the third node and entering the sleep state.
In the embodiment of the present invention, the receiving module 401 is configured to receive a query request for querying a wakeup time of a second node, where the query request is sent by a first node, where the first node has data to be sent to the second node; the providing module 402 is configured to send information of the earliest first wake-up time corresponding to the second node to the first node according to the saved wake-up time of each node, so that the device can adjust communication between the first node and the second node, can well meet a requirement of frequent communication in a wireless sensor ad hoc network, and simultaneously reduces energy consumption of network nodes, thereby improving an energy saving effect.
For the system/apparatus embodiments, since they are substantially similar to the method embodiments, the description is relatively simple, and reference may be made to some descriptions of the method embodiments for relevant points.
It is to be noted that, in this document, relational terms such as first and second, and the like are used solely to distinguish one entity or operation from another entity or operation without necessarily requiring or implying any actual such relationship or order between such entities or operations.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely application embodiment, or an embodiment combining application and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While preferred embodiments of the present invention have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all such alterations and modifications as fall within the scope of the invention.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present invention without departing from the spirit and scope of the invention. Thus, it is intended that the present invention cover the modifications and variations of this invention provided they come within the scope of the appended claims and their equivalents.

Claims (12)

1. A node dormancy method, the method comprising:
if the first node in the awakening state has data to be sent, judging whether a second node receiving the data is in a dormant state;
if so, inquiring the first awakening time of the second node from the whiteboard node;
and the first node sends information of second awakening time for awakening the first node to the whiteboard node and enters a dormant state, wherein the second awakening time is the same as the first awakening time.
2. The method of claim 1, wherein the method further comprises:
and if the second node is not in the dormant state, sending the data to the second node.
3. The method of claim 1, wherein the method further comprises:
if the first node does not receive data before entering the sleep state and does not send data, judging whether the product of the last sleep time length and the set multiple does not reach the set sleep time length threshold value;
if not, before the first node enters the sleep state, the first node sends information of third wake-up time for waking up the first node to the whiteboard node, and enters the sleep state, wherein the third wake-up time is determined according to a set multiple of sleep duration corresponding to the first node entering the sleep state last time, and the multiple is a numerical value larger than 1.
4. The method of claim 1, wherein the method further comprises:
before entering the sleep state, the first node sends information of a fourth awakening time for awakening the first node to the whiteboard node, and enters the sleep state, wherein the fourth awakening time is determined according to a set decimal of a corresponding sleep duration when the first node enters the sleep state last time, and the decimal is a numerical value smaller than 1 and larger than zero.
5. A wake up time providing method, the method comprising:
the method comprises the steps that a white board node receives a query request for querying the awakening time of a second node, wherein the query request is sent by a first node, and the first node has data to be sent to the second node;
and sending the information of the first awakening time corresponding to the second node to the first node according to the saved awakening time of each node.
6. The method of claim 5, wherein the method further comprises:
the whiteboard node judges whether each other node connected with the whiteboard node enters a dormant state;
if so, searching the awakening time of the third node with the earliest awakening time, taking the awakening time as the awakening time of the third node, and entering a sleep state.
7. An apparatus for node dormancy, the apparatus comprising:
the first judgment module is used for judging whether a second node receiving the data is in a dormant state or not if the second node is in an awakening state and the data to be sent exists;
the query module is used for querying the whiteboard node for the first awakening time of the second node if the first awakening time of the second node is the first awakening time;
and the first dormancy module is used for sending information of second awakening time for awakening the whiteboard node to the whiteboard node and entering a dormant state, wherein the second awakening time is the same as the first awakening time.
8. The apparatus of claim 7, wherein the apparatus further comprises:
a sending module, configured to send the data to the second node if the second node is not in a dormant state.
9. The apparatus of claim 7, wherein the apparatus further comprises:
the second dormancy module is used for judging whether the product of the last dormancy time length and the set multiple does not reach the set dormancy time length threshold value or not if the data is not received and not sent before entering the dormancy state; if not, before the first node enters the sleep state, sending information of a third awakening time for awakening the first node to the whiteboard node, and entering the sleep state, wherein the third awakening time is determined according to a set multiple of the corresponding sleep time when the first node enters the sleep state last time, and the multiple is a numerical value larger than 1.
10. The apparatus of claim 7, wherein the apparatus further comprises:
and the third dormancy module is used for sending information of fourth awakening time for awakening the first node to the whiteboard node before entering the dormancy state, and entering the dormancy state, wherein the fourth awakening time is determined according to a set decimal of corresponding dormancy duration when the first node enters the dormancy state last time, and the decimal is a numerical value which is smaller than 1 and larger than zero.
11. An apparatus for providing wake-up time, the apparatus comprising:
a receiving module, configured to receive a query request for querying a wake-up time of a second node, where the query request is sent by a first node, where the first node has data to be sent to the second node;
and the providing module is used for sending the information of the first awakening time corresponding to the second node to the first node according to the saved awakening time of each node.
12. The apparatus of claim 11, wherein the apparatus further comprises:
the second judgment module is used for judging whether each other node connected with the second judgment module enters a dormant state or not;
and the fourth sleep module is used for searching the awakening time of the third node with the earliest awakening time if the first node is in the sleep state, taking the awakening time as the awakening time of the third node and entering the sleep state.
CN201811445276.5A 2018-11-29 2018-11-29 Method and device for providing node dormancy and wakeup time Active CN111246549B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811445276.5A CN111246549B (en) 2018-11-29 2018-11-29 Method and device for providing node dormancy and wakeup time

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811445276.5A CN111246549B (en) 2018-11-29 2018-11-29 Method and device for providing node dormancy and wakeup time

Publications (2)

Publication Number Publication Date
CN111246549A true CN111246549A (en) 2020-06-05
CN111246549B CN111246549B (en) 2023-01-24

Family

ID=70879328

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811445276.5A Active CN111246549B (en) 2018-11-29 2018-11-29 Method and device for providing node dormancy and wakeup time

Country Status (1)

Country Link
CN (1) CN111246549B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113993194A (en) * 2020-12-06 2022-01-28 技象科技(浙江)有限公司 Method, device, equipment and storage medium for networking according to wake-up time
WO2023179731A1 (en) * 2022-03-25 2023-09-28 华为技术有限公司 Sleep/wake-up method and electronic device

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050117530A1 (en) * 2003-11-06 2005-06-02 Lucent Technologies Inc. Clustering based load adaptive sleeping protocol for ad hoc networks
US20100097969A1 (en) * 2006-12-15 2010-04-22 Wim De Kimpe Low-power wireless multi-hop networks
WO2014047901A1 (en) * 2012-09-28 2014-04-03 France Telecom Energy saving method for a radio access node
CN104301122A (en) * 2014-09-24 2015-01-21 奇瑞汽车股份有限公司 Method and device for node rousing
CN106937369A (en) * 2015-12-31 2017-07-07 深圳友讯达科技股份有限公司 Low power consumption node synchronized wake-up method, node and system
CN106982460A (en) * 2017-03-30 2017-07-25 西安电子科技大学 Chunk data distribution method based on priority in dutycycle wireless sensor network
CN108260099A (en) * 2017-12-25 2018-07-06 中国矿业大学 The media access control method of underwater magnetic induction wireless sensor network

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050117530A1 (en) * 2003-11-06 2005-06-02 Lucent Technologies Inc. Clustering based load adaptive sleeping protocol for ad hoc networks
US20100097969A1 (en) * 2006-12-15 2010-04-22 Wim De Kimpe Low-power wireless multi-hop networks
WO2014047901A1 (en) * 2012-09-28 2014-04-03 France Telecom Energy saving method for a radio access node
CN104301122A (en) * 2014-09-24 2015-01-21 奇瑞汽车股份有限公司 Method and device for node rousing
CN106937369A (en) * 2015-12-31 2017-07-07 深圳友讯达科技股份有限公司 Low power consumption node synchronized wake-up method, node and system
CN106982460A (en) * 2017-03-30 2017-07-25 西安电子科技大学 Chunk data distribution method based on priority in dutycycle wireless sensor network
CN108260099A (en) * 2017-12-25 2018-07-06 中国矿业大学 The media access control method of underwater magnetic induction wireless sensor network

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113993194A (en) * 2020-12-06 2022-01-28 技象科技(浙江)有限公司 Method, device, equipment and storage medium for networking according to wake-up time
WO2023179731A1 (en) * 2022-03-25 2023-09-28 华为技术有限公司 Sleep/wake-up method and electronic device

Also Published As

Publication number Publication date
CN111246549B (en) 2023-01-24

Similar Documents

Publication Publication Date Title
EP2618612B1 (en) Energy-saving management method, system for wireless sensor network and remote management server
CN110830267A (en) State control method and device of network node and gateway
CN103647839B (en) Internet of Things multitask resource allocation methods and system
US9069601B2 (en) Method and apparatus for controlling task execution
CN101087220A (en) Dormancy monitoring method for MAC layer of wireless sensor network
CN101562349A (en) Method and system of energy-saving control for modular UPS
WO2016115956A1 (en) Scheduling method and scheduling device for business system based on cloud computing
CN108777862B (en) Bluetooth transmission method, Bluetooth controller and Bluetooth device
CN111246549B (en) Method and device for providing node dormancy and wakeup time
CN105636183A (en) Energy-saving dormancy awakening method based on ZigBee technology
CN104754704A (en) Method for controlling terminal to hibernate and terminal
WO2023103549A1 (en) Wireless communication method and related apparatus
CN106598193B (en) Power consumption control method and device
CN104703259A (en) Low-power-consumption sensor node hibernation method and system
CN204856542U (en) Active radio -frequency card and system with passive awakeing up and dormancy function
CN104954148A (en) Control method and device of node equipment and router
CN102681650A (en) Power supply control energy-saving method and corresponding storage system thereof
CN115589628A (en) Method and device for reducing equipment power consumption and electronic equipment
CN114327023A (en) Energy-saving method and system for Kubernetes cluster, computer medium and electronic equipment
CN108430098B (en) Wireless communication terminal and power saving method thereof
WO2020238326A1 (en) Method and device for adjusting performance state of processor, uefi, and storage medium
CN103809727A (en) Power-saving processing method and system for mobile terminal, and mobile terminal
CN112765212A (en) Data processing method and device for transfer equipment
CN109600764B (en) Awakening and sleeping control method and system
CN112527905B (en) Multi-node block chain Internet of things data fusion method for pumping unit

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