The present disclosure relates to the technical field of data communications, and in particular, to a wireless communication method, a wireless communication system, a node device, and a non-volatile computer-readable storage medium.
With the continuous development of electronic technologies, more and more scenarios applying an Internet of Things technology have emerged. For example, device nodes arranged in an Internet of Things usually use wireless sensors to upload non-real-time industrial data, such as temperature, humidity, and production data. The above solution has the advantages of convenient deployment, no wiring, and low cost.
However, the inventors have realized that in related technologies, in order to reduce power and prolong the service life and lifespan of a battery, regular sleep is generally performed, and collection nodes adopt a certain policy to perform wireless wake-up communication. Usually, a device node wakes up at a certain interval to detect whether any collection node has communication requirements. The wake-up duration should cover two wake-up frames of the collection node to maintain the reliability and stability of the wireless wake-up communication. There will be a significant increase in power consumption of the device node in a wake-up interval relative to power consumption in a dormancy interval, resulting in an increase in average power consumption. This reduces the utilization rate of electric energy, and also increases the costs of using a device node.
One aspect of embodiments of the present disclosure provides a wireless communication method, including:
In some embodiments, a process of sending, by the collection node, the wake-up frame may include:
In some embodiments, the device node performs communication based on the id wake-up frame, which includes:
In some embodiments, the device node performs communication based on the id wake-up frame, which includes:
In some embodiments, the wireless communication method may further include:
In some embodiments, when the device node receives an id wake-up frame, the wireless communication method may further include:
In some embodiments, in response to that the device node enters the receiving state, the wireless communication method may further include:
The embodiments of the present disclosure further provide a wireless communication system, including a device node and a collection node.
The device node is configured to monitor a wake-up frame using a monitoring duration at a first wake-up interval, wherein the wake-up frame is a wake-up frame that is continuously sent by a collection node. The device node is configured to, in response to that the device node has detected the wake-up frame, monitor the wake-up frame using the monitoring duration at a second wake-up interval, wherein the first wake-up interval is greater than the second wake-up interval, and a duration of the wake-up frame is greater than the monitoring duration.
The device node is configured to, in response to that the device node fails to detect the wake-up frame within a preset duration when monitoring the wake-up frame at the second wake-up interval, enter a receiving state, so as to perform wireless communication between the collection node and the device node.
The embodiments of the present disclosure further provide a node device, including:
The embodiments of the present disclosure further provide a non-volatile computer-readable storage medium, wherein the non-volatile computer-readable storage medium stores executable computer-readable instructions; and the executable computer-readable instructions, when executed by one or more processors, implement the operations of the above-mentioned wireless communication method.
In order to describe the embodiments of the disclosure or the technical solutions in the related art more clearly, drawings required to be used in the illustration of the embodiments or the related art will be briefly introduced below. Apparently, the drawings in the illustration below are only some embodiments of the present disclosure. Those having ordinary skill in the art also may obtain other drawings according to the provided drawings without creative work.
The embodiments of the present disclosure provide a wireless communication method, a wireless communication system, a node device, and a non-volatile computer-readable storage medium, which may reduce the power consumption of a device node and prolong the service life of a battery.
In order to make the objectives, technical schemes and advantages of the embodiments of the present disclosure clearer, the technical schemes in the embodiments of the present disclosure will be described clearly and completely below in combination with the drawings in the embodiments of the present disclosure. Apparently, the embodiments described are part of the embodiments of the present disclosure, not all the embodiments. Based on the embodiments in present disclosure, all other embodiments obtained by those having ordinary skill in the art without creative work shall fall within the protection scope of the present disclosure.
Referring to
In the related technologies, in order to reduce the power consumption and prolong the service life and lifespan of a battery, regular dormancy is generally performed, and collection nodes adopt a certain policy to perform wireless wake-up communication. Usually, a device node wakes up at a certain interval to detect whether any collection node has communication requirements. The wake-up duration should cover two wake-up frames of the collection node (as shown in
Therefore, the embodiments of the present disclosure provide a wireless communication method. A wake-up frame of a collection node is monitored by a device node using a monitoring duration at a first wake-up interval; in response to that the wake-up frame has been detected, the device node monitors the wake-up frame at a shorter second wake-up interval; in response to that the device node fails to detect the wake-up frame within a preset duration when monitoring the wake-up frame at the second wake-up interval, it is determined that the device node and the collection node enter a sending/receiving state and may perform wireless communication. As the monitoring duration used is less than a duration of the wake-up frame, the power consumption of wake-up monitoring at each time is reduced to a small value, which may avoid waste of electric energy and reduce the usage cost of the device node.
The wireless communication method provided by the present disclosure will be described below through one embodiment.
Referring to
In this embodiment, the method may include the following operations S101 to S103.
At operation S101, a device node monitors a wake-up frame using a monitoring duration at a first wake-up interval, wherein the wake-up frame is a wake-up frame that is continuously sent by a collection node.
Therefore, in this operation, the device node monitors the wake-up frame using the monitoring duration at the first wake-up interval, wherein the wake-up frame is a wake-up frame that is continuously sent by the collection node, and a duration of the wake-up frame is greater than the monitoring duration.
The device node serves as a responder of the wireless communication, and is configured to make a response to the wireless communication with the collection node and upload device running information. The device node powered by a battery has an extremely high requirement for low power consumption. In this embodiment, the device node is powered by a battery, so it is necessary to control the power consumption.
As the implementation of this operation is before the wireless communication, the device node needs to be in a low-power-consumption state and also needs to keep stably monitoring the collection node. Therefore, the device node may monitor the wake-up frame using the monitoring duration at a longer first wake-up interval, and the wake-up frame is a wake-up frame that is continuously sent by the collection node. Therefore, it may be ensured to successfully detect the wake-up frame at most within the first wake-up interval and then perform a subsequent operation. As the wake-up frame is the wake-up frame that is continuously sent by the collection node, the problem of missing the wake-up frame by the device node is avoided.
Further, the duration of the wake-up frame in this embodiment is much greater than the duration of a wake-up frame in the related art, so as to ensure that the wake-up frame sent to the device node will not be missed. Therefore, the wake-up frame in this embodiment may be referred to as an ultra-long wake-up frame.
At operation S102, in response to that the device node has detected the wake-up frame, the device node monitors the wake-up frame using the monitoring duration at a second wake-up interval, wherein the first wake-up interval is greater than the second wake-up interval, and the duration of the wake-up frame is greater than the monitoring duration.
Based on the operation S101, this operation makes the device node monitor the wake-up frame using the monitoring duration at the second wake-up interval in response to that the device node has detected the wake-up frame, wherein the first wake-up interval is greater than the second wake-up interval, and the duration of the wake-up frame is greater than the monitoring duration.
It may be concluded that, when the device node has detected the wake-up frame, the device node still maintains a monitoring state and shortens the monitoring interval, which means switching from the longer first wake-up interval to the shorter second wake-up interval, so as to timely monitor changes in a state of the collection node for sending wake-up frames.
The first wake-up interval is longer than the second wake-up interval. In some exemplary implementations, the first wake-up interval may be much greater than the second wake-up interval. Alternatively, the first wake-up interval may be a preset multiple of the second wake-up interval. For example, the first wake-up interval may be set to be five seconds, and the second wake-up interval may be set to be one second. In this way, in the process of monitoring at the first wake-up interval, it is only necessary to perform wake-up every five seconds. The monitoring duration after wake-up is shorter than the duration of the wake-up frame, which may greatly reduce the power consumption during wake-up compared to the related art. Further, in the wireless communication process, it is possible to perform monitoring at the shorter second wake-up interval, so as to determine the state of the collection node in a timely manner.
At operation S103, in response to that the device node fails to detect the wake-up frame within a preset duration when monitoring the wake-up frame at the second wake-up interval, the device node enters a receiving state, so as to perform wireless communication between the collection node and the device node.
Based on the operation S102, this operation makes the device node enter the receiving state in response to that the device node fails to detect the wake-up frame within the preset duration when monitoring the wake-up frame at the second wake-up interval, so as to perform wireless communication between the collection node and the device node. In the monitoring process within the second wake-up interval, when the device node fails to detect the wake-up frame within the preset duration, it indicates that the collection node has entered a wireless communication state and needs to perform the wireless communication with the device node. In order to cooperate with the collection node, the device node enters the receiving state and performs the wireless communication with the collection node.
The preset duration may be equal to the second wake-up interval, so that in the next monitoring of the device node, when the device node does not monitor the wake-up frame during wake-up, the device node may enter the receiving state, which may improve the timeliness of state switching and may improve the efficiency of wireless communication.
In some embodiments, the process that the collection node sends the wake-up frame may include the following operations 1 and 2.
At operation 1, the collection node continuously sends the wake-up frame for a set total duration.
At operation 2, the collection node enters a silent state after the sending of the wake-up frame is completed.
Therefore, in this embodiment, the process that the collection node sends the wake-up frame may include the following operations. The collection node continuously sends the wake-up frame according to the set total duration, and the collection node enters the silent state after the sending of the wake-up frame is completed. Generally, in this embodiment, in the scenario where the collection node communicates with the device node, the collection node is close to the device node, which may maintain a reliable and stable communication. Therefore, it can be considered by default that the wake-up frame sent by the collection node and having a total duration greater than the first wake-up interval is able to be normally received by the device node, which may ensure a stable communication between the device node and the collection node. To ensure that the device node may be fully prepared, the total duration shall be set to be slightly longer than the first wake-up interval. For example, when the first wake-up interval is five seconds, the total duration may be seven seconds, eight seconds, or the like.
Further, when the collection node enters the silent state, that is, when the collection node sends information to the device node, it indicates that the collection node currently enters a data sending state, and the device node is required to enter the receiving state.
Correspondingly, the operation of “performing the wireless communication between the collection node and the device node” in this embodiment includes:
In this operation, after staying in the silent state for the preset duration, the collection node may directly send data to the device node without a need for sending an acknowledgment frame or other data. The preset duration may be equal to the second wake-up interval.
Further, the device node performs communication based on the id wake-up frame, which may include:
Therefore, how to perform the communication is mainly described in this exemplary solution. In this exemplary solution, when a control domain of the id wake-up frame is a function frame, the device node sends the corresponding service data to the collection node based on the function frame. The function frame refers to a function frame indicating that the collection node requires the device node to perform some functions, and the device node may directly feed back the corresponding service data based on the function frame.
Further, the device node performs communication based on the id wake-up frame, which may include the following operations 1 and 2.
At operation 1, when a control domain of the id wake-up frame is a wake-up frame, the device node sends an acknowledgment frame to the collection node.
At operation 2, the device node enters the receiving state.
Therefore, how to perform the communication is mainly described in this exemplary solution. In this exemplary solution, when a control domain of the id wake-up frame is a wake-up frame, the device node sends an acknowledgment frame to the collection node, and the device node enters the receiving state. Therefore, in this exemplary solution, the device node may send the corresponding acknowledgment frame based on the wake-up frame, so as to enter the receiving state based on the acknowledgment frame.
Further, based on the above exemplary solutions, this embodiment may further include the following operations.
At operation 1, in response to receiving the acknowledgment frame, the collection node sends a collection frame, so that the device node returns corresponding service data based on the collection frame.
At operation 2, the collection node receives the service data, and replies with an acknowledgment frame.
Therefore, in this exemplary solution, in response to receiving the acknowledgment frame, the collection node sends the collection frame, so that the device node returns corresponding service data based on the collection frame. The collection node receives the service data, and replies with the acknowledgment frame. That is, when receiving the acknowledgment frame, the collection node completes corresponding data interaction based on the acknowledgment frame.
Further, when the device node receives the id wake-up frame, the wireless communication method may further include the following operations 1 and 2.
At operation 1, a power consumption control field is acquired from the id wake-up frame.
At operation 2, power used in a communication process is set based on the power consumption control field.
Therefore, in this exemplary solution, the power for the wireless communication may also be controlled based on the power consumption control field in the wake-up frame. In this exemplary solution, the power consumption control field is acquired from the id wake-up frame, and the power used in the communication process is set based on the power consumption control field. The power consumption control field may be low power consumption, medium power consumption, and high power consumption.
When the device node enters the receiving state, the wireless communication method may further include:
Therefore, this exemplary solution mainly explains how to operate when no data is received. In this exemplary solution, when no data is received within the preset duration, the device node monitors the wake-up frame using the monitoring duration at the first wake-up interval.
In summary, in this embodiment, a wake-up frame of a collection node is monitored by a device node using a monitoring duration at a first wake-up interval; in response to that the wake-up frame has been detected, the device node monitors the wake-up frame at a shorter second wake-up interval; in response to that the device node fails to detect the wake-up frame within a preset duration when monitoring the wake-up frame at the second wake-up interval, it is determined that the device node and the collection node enter a sending/receiving state and may perform wireless communication. As the monitoring duration used is less than a duration of the wake-up frame, the power consumption of wake-up monitoring at each time is reduced to a small value, which may avoid waste of electric energy and reduce the usage cost of the device node.
The wireless communication method provided by the present disclosure will be further described below through one exemplary embodiment.
Referring to
This embodiment changes functions during wake-up, and only monitors signals at each wake-up. Receiving duration during the wake-up does not need to cover two wake-up frames, and the device node only needs to comply with the rules of a collection node in terms of flow. This embodiment significantly shortens the receiving duration during the wake-up. For example, the wake-up duration may be shortened from 43 ms to 3.21 ms, to achieve a main goal of reducing the power consumption. At the same time, some other policies are also used to form a complete collection solution having low power consumption.
In this embodiment, the method may include the following operations 1 to 9.
At operation 1, a device node performs monitoring at a wake-up interval (for example, the device node performs monitoring once at every five seconds) (only wake-up frames are monitored in the present embodiment, while according to the monitoring solution in the related art, the monitoring duration needs to at least cover one collection interval); and when no wake-up frame sent by a collection node has been detected, the device node continues to sleep.
At operation 2, after the device node has detected an ultra-long wake-up frame, the device node shortens the wake-up interval to one second.
At operation 3, when the device node fails to detect the ultra-long wake-up frame within one second, the device node transits to a receiving state and remains silent for one second to wait to receive an id wake-up frame.
At operation 4, when the collection node needs to collect data, the collection node continuously sends the ultra-long wake-up frame, with a total duration that is equal to one wake-up interval (five seconds).
At operation 5, after completing the continuous sending, the collection node remains silent for one second and then sends an id wake-up frame.
At operation 6, after the device node receives the id wake-up frame, the device node parses a control domain, when the control domain is a function frame, the device node directly sends service data and executes operation 9; and when the control domain is a wake-up frame, the device node replies with an acknowledgment frame and transits to the receiving state.
At operation 7, the collection node sends a collection frame after receiving the acknowledgment frame.
At operation 8, the device node replies with service data after receiving the collection frame.
At operation 9, the collection node replies with an acknowledgment frame after receiving the service data. The collection process ends.
With respect to the ultra-long wake-up frame, a wireless module manufacturer will usually provide a frame structure design consisting of a preamble, a synchronization code, and a data field. In this embodiment, when a wake-up frame is used, an address field and bytes in a preamble frame are designed to be the same data, so that the entire wake-up frame has a wake-up function, that is, the ultra-long wake-up frame mentioned in operation 4 (with a duration of about 109 ms) has the wake-up function. For the structure of the ultra-long wake-up frame, please refer to
Further, a power consumption control field may also be added to the structure of the id wake-up frame, and low-power-consumption communication is used by default. For a device node that fails in communication for multiple times, the sending power of the device node may be increased.
Further, a control domain field may also be added to the structure of the id wake-up frame. When the control domain is a specified function, the device node directly replies with service data according to the function, so as to save one round of communication interaction.
In addition, in this embodiment, a communication frequency between the transmitting and receiving nodes may also be specified. An address low byte may be used as a frequency point for division into a plurality of channels. Dividing device nodes into different cellular areas according to the addresses of the device nodes may avoid waking up unrelated devices during communication.
It is obvious that a collaborative mechanism between the transmitting and receiving nodes in this embodiment may significantly reduce the receiving duration when a device node wakes up and reduce the main power consumption. In the ultra-long wake-up frame, the 255-byte preamble, the 1-byte synchronization code, and the 1-byte data field are all set to be 55, so that wake-up frame data sent by the transmitting node is consistent, the wake-up duration is extended to the maximum, and it is convenient to cover the regular wake-up interval of the receiving node. A wireless transceiver chip of Silicon Labs is taken as an example, a duration of an ultra-long wake-up frame time may reach 109.6 ms. In consideration of the user experience and the power consumption, the total continuous sending duration may be designed to be five seconds.
Furthermore, channels are planned according to addresses. Both the transmitting node and the receiving node select corresponding channels for communication based on an agreed address rule, which avoids waking up unrelated devices. A collection node determines sending power of a device node. Flexible customization of policies reduces the power consumption of most device nodes. The id wake-up frame contains control domain, allowing the device node to directly reply with the service data and saving one round of communication interaction.
In summary, in this embodiment, a wake-up frame of a collection node is monitored by a device node using a monitoring duration at a first wake-up interval; in response to that the wake-up frame has been detected, the device node monitors the wake-up frame at a shorter second wake-up interval; in response to that the device node fails to detect the wake-up frame within a preset duration when monitoring the wake-up frame at the second wake-up interval, it is determined that the device node and the collection node enter a sending/receiving state and may perform wireless communication. As the monitoring duration used is less than a duration of the wake-up frame, the power consumption of wake-up monitoring at each time is reduced to a small value, which may avoid waste of electric energy and reduce the usage cost of the device node.
A wireless communication system provided in the embodiments of the present disclosure is introduced below. The wireless communication system described below and the wireless communication method described above may refer to each other.
Referring to
In this embodiment, the system may include:
The device node 100 is configured to monitor a wake-up frame using a monitoring duration at a first wake-up interval, wherein the wake-up frame is a wake-up frame that is continuously sent by the collection node 200; the device node is configured to, in response to that the device node 100 has detected the wake-up frame, monitor the wake-up frame using the monitoring duration at a second wake-up interval, wherein the first wake-up interval is greater than the second wake-up interval, and a duration of the wake-up frame is greater than the monitoring duration; and the device node is configured to, in response to that the device node 100 fails to detect the wake-up frame within a preset duration when monitoring the wake-up frame at the second wake-up interval, enter a receiving state, so as to perform wireless communication between the collection node 200 and the device node 100.
The embodiments of the present disclosure further provide a node device, as shown in
The embodiments of the present disclosure further provide a non-volatile computer-readable storage medium. The non-volatile computer-readable storage medium stores executable computer-readable instructions; and the executable computer-readable instructions, when executed by one or more processors, implement the operations of the wireless communication method in the above embodiments.
All the embodiments in the specification are described in a progressive manner. Contents mainly described in each embodiment are different from those described in other embodiments. Same or similar parts of all the embodiments refer to each other. For the device disclosed in the embodiments, since it corresponds to the method disclosed in the embodiments, the description is relatively simple, and the relevant part may be referred to the description of the method part.
Professionals may further realize that in connection with the units and algorithm operations of all examples described in the embodiments disclosed herein, they may be implemented by electronic hardware, computer software or a combination of electronic hardware and computer software. In order to clearly describe the interchangeability of hardware and software, the constitutions and operations of all the examples have been generally described according to functions in the above illustration. Whether these functions are executed by hardware or software depends on the specific application and design constraints of the technical solution. Professionals and technicians may use different methods for each specific application to realize the described functions, but such implementation should not be considered as being beyond the scope of the present disclosure.
The operations of a method or algorithm described in conjunction with the embodiments disclosed herein may be directly implemented in hardware, a software module executed by one or more processors, or a combination of the hardware and the software module. The software module may be placed in a Random Access Memory (RAM), an internal memory, a Read Only Memory (ROM), an electrically programmable ROM, an electrically erasable programmable ROM, a register, a hard disk, a mobile disk, a CD-ROM, or any storage medium in other forms known to the technical field.
The wireless communication method, the wireless communication system, the node device, and the non-volatile computer-readable storage medium provided in the present disclosure are described in detail above. The principles and implementations of the present disclosure are described herein by using specific examples, and the descriptions of the above embodiments are only used to help understand the method of the present disclosure and the core idea of the method. It should be pointed out that for those skilled in the art, without departing from the principle of the present disclosure, several improvements and modifications may also be made to the present disclosure, and these improvements and modifications also fall within the protection scope of the claims of the present disclosure.
Number | Date | Country | Kind |
---|---|---|---|
202111502750.5 | Dec 2021 | CN | national |
This application is a National Stage Filing of the PCT International Application No. PCT/CN2022/122338 filed on Sep. 28, 2022, which claims priority to China Patent Application No. 202111502750.5, filed on Dec. 10, 2021, both applications of which are hereby incorporated by reference in their entirety.
Filing Document | Filing Date | Country | Kind |
---|---|---|---|
PCT/CN2022/122338 | 9/28/2022 | WO |