[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

CN113811018A - Mesh network communication method and device, electronic equipment and storage medium - Google Patents

Mesh network communication method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN113811018A
CN113811018A CN202111061488.5A CN202111061488A CN113811018A CN 113811018 A CN113811018 A CN 113811018A CN 202111061488 A CN202111061488 A CN 202111061488A CN 113811018 A CN113811018 A CN 113811018A
Authority
CN
China
Prior art keywords
sensor node
communication
broadcast
saving mode
mesh network
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.)
Withdrawn
Application number
CN202111061488.5A
Other languages
Chinese (zh)
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.)
Guangdong Bozhilin Robot Co Ltd
Original Assignee
Guangdong Bozhilin Robot 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 Guangdong Bozhilin Robot Co Ltd filed Critical Guangdong Bozhilin Robot Co Ltd
Priority to CN202111061488.5A priority Critical patent/CN113811018A/en
Publication of CN113811018A publication Critical patent/CN113811018A/en
Withdrawn legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/40Connection management for selective distribution or broadcast
    • 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 application discloses a Mesh network communication method, a device, electronic equipment and a storage medium, and relates to the technical field of communication, wherein when a first sensor node is in an energy-saving mode with lower power consumption, a first inquiry broadcast is transmitted to actively inquire equipment of a Mesh network; the first communication equipment responds to the first inquiry broadcast to reply the first response broadcast after receiving the first inquiry broadcast so as to express the communication requirement of the first communication equipment; after receiving the first response broadcast, the first sensor node is switched to a communication mode with higher power consumption for communication, the scanning time of the first sensor node in the energy-saving mode is shorter than that of the first sensor node in the communication mode, the first sensor node is in the energy-saving mode with low power consumption, and the communication mode with high power consumption is switched only when the first communication equipment has a communication requirement, so that the overall power consumption of the Mesh network is reduced.

Description

Mesh network communication method and device, electronic equipment and storage medium
Technical Field
The present application relates to the field of communications technologies, and in particular, to a Mesh network communication method and apparatus, an electronic device, and a storage medium.
Background
The Mesh belongs to a low-power-consumption Bluetooth ad hoc network protocol, and the Mesh network has lower power consumption in a wireless ad hoc network scheme. The Mesh network has a large number of applications in sensor networks because of its low power consumption. When the number of the sensors is large, the number of the sensor nodes involved in the Mesh network after networking is large, and the Mesh network is also large. When the Mesh network works, the energy consumption of the whole network is high.
Disclosure of Invention
In view of the above problems, the present application provides a Mesh network communication method, device, electronic device, and storage medium, which can solve the above problems.
In a first aspect, an embodiment of the present application provides a Mesh network communication method, which is applied to a first sensor node, and the method includes: transmitting a first query broadcast when the first sensor node is in a power-saving mode; and when a first response broadcast replied by the first communication equipment in response to the first inquiry broadcast is scanned, switching the energy-saving mode to a communication mode, wherein the scanning time of the first sensor node in the energy-saving mode is shorter than the scanning time of the first sensor node in the communication mode.
Optionally, after the power saving mode is switched to the communication mode when the first acknowledgment broadcast is received, the method further includes: receiving a communication message sent by the first communication equipment; and forwarding the communication message sent by the first communication equipment to second communication equipment so as to realize communication between the first communication equipment and the second communication equipment.
Optionally, when the first communication device is a second sensor node and the second communication device is a gateway, the forwarding the communication message sent by the first communication device to the second communication device includes: and forwarding the first measurement message measured by the second sensor node to the gateway, so that the second sensor node can actively report the first measurement message to the gateway.
Optionally, when the second communication device is a second sensor node, before the receiving the communication message sent by the first communication device, the method further includes: scanning for a second query broadcast sent by the second sensor node, wherein the second query broadcast is sent by the second sensor node in a power-saving mode; responding to the second inquiry broadcast, replying a second response broadcast, so that the second sensor node is switched to the communication mode from the energy-saving mode when receiving the second response broadcast, and the second sensor node is in the communication mode capable of normally receiving and sending information.
Optionally, when the first communication device is a gateway, after the energy-saving mode is switched to the communication mode when the first response broadcast is received, the method further includes: receiving a measurement instruction sent by the gateway; forwarding a measurement instruction sent by the gateway to the second sensor node; and receiving a second measurement message fed back by the second sensor node in response to the measurement instruction, and forwarding the second measurement message to the gateway to realize information interaction between the gateway and the second sensor node.
Optionally, after the first communication device switches from the power saving mode to the communication mode when scanning the first reply broadcast of the first communication device in response to the first inquiry broadcast reply, the method further includes: acquiring the network condition of the Mesh network, and acquiring a preset time period corresponding to the network condition; if the communication message is not monitored in the preset time period, the communication mode is switched to the energy-saving mode, so that the energy consumption of the first sensor node is reduced, and the integral cruising ability of the Mesh network is improved.
Optionally, the acquiring a network condition of the Mesh network and acquiring a preset time period corresponding to the network condition, where the method further includes: when the network condition meets a preset network condition, acquiring a first preset time period corresponding to the network condition; or when the network condition does not meet the preset network condition, acquiring a second preset time period corresponding to the network condition, wherein the first preset time period is longer than the second preset time period, and configuring different preset time lengths for different network conditions so as to match Mesh networks of different network conditions.
In a second aspect, an embodiment of the present application provides a Mesh network communication method, which is applied to a Mesh network, where the Mesh network includes a first sensor node and a first communication device, and the method includes: transmitting a first query broadcast when the first sensor node is in a power-saving mode; the first communication equipment responds to the first inquiry broadcast and replies a first response broadcast; when the first sensor node scans the first response broadcast, the energy-saving mode is switched to a communication mode, wherein the scanning duration of the first sensor node in the energy-saving mode is shorter than the scanning duration of the first sensor node in the communication mode.
In a third aspect, an embodiment of the present application provides a Mesh network communication device, which is applied to a first sensor node, and the Mesh network communication device includes: a first transmitting module for transmitting a first query broadcast when the first sensor node is in an energy-saving mode; and the first switching module is used for switching the energy-saving mode to the communication mode when scanning a first response broadcast replied by the first communication equipment in response to the first inquiry broadcast, wherein the scanning time of the first sensor node in the energy-saving mode is shorter than that of the first sensor node in the communication mode.
In a fourth aspect, an embodiment of the present application provides a Mesh network communication device, which is applied to a Mesh network, where the Mesh network includes a first sensor node and a first communication device, and the device includes: a second transmitting module for transmitting a first query broadcast when the first sensor node is in an energy-saving mode; a reply module, configured to reply to the first reply broadcast by the first communication device in response to the first query broadcast; and the second switching module is used for switching the energy-saving mode to the communication mode when the first sensor node scans the first response broadcast, wherein the scanning time of the first sensor node in the energy-saving mode is shorter than that of the first sensor node in the communication mode.
In a fifth aspect, an embodiment of the present application provides an electronic device, including: one or more processors; a memory; one or more applications, wherein the one or more applications are stored in the memory and configured to be executed by the one or more processors, the one or more applications configured to perform the above-described method.
In a sixth aspect, the present application provides a computer-readable storage medium, where a program code is stored in the computer-readable storage medium, and the program code can be called by a processor to execute the above method.
According to the Mesh network communication method, the device, the electronic equipment and the storage medium, when the first sensor node is in the energy-saving mode with lower power consumption, the first inquiry broadcast is transmitted, and the equipment of the Mesh network is actively inquired; the first communication equipment responds to the first inquiry broadcast to reply the first response broadcast after receiving the first inquiry broadcast so as to express the communication requirement of the first communication equipment; after receiving the first response broadcast, the first sensor node is switched to a communication mode with higher power consumption for communication, the scanning time of the first sensor node in the energy-saving mode is shorter than that of the first sensor node in the communication mode, the first sensor node is in the energy-saving mode with low power consumption, and the communication mode with high power consumption is switched only when the first communication equipment has a communication requirement, so that the overall power consumption of the Mesh network is reduced.
These and other aspects of the present application will be more readily apparent from the following description of the embodiments.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
FIG. 1 illustrates a power consumption diagram of a power saving mode provided by an embodiment of the present application;
FIG. 2 is a power consumption diagram illustrating a communication mode provided by an embodiment of the present application;
fig. 3 is a schematic diagram of a Mesh network according to an embodiment of the present application;
fig. 4 is a schematic flow chart illustrating a Mesh network communication method according to an embodiment of the present application;
fig. 5 is a schematic flow chart illustrating a Mesh network communication method according to another embodiment of the present application;
fig. 6 is a schematic flow chart illustrating a Mesh network communication method according to another embodiment of the present application;
fig. 7 is a schematic flow chart illustrating a Mesh network communication method according to still another embodiment of the present application;
fig. 8 is a schematic flow chart illustrating a Mesh network communication method according to another embodiment of the present application;
fig. 9 is a schematic flow chart illustrating a Mesh network communication method according to another embodiment of the present application;
fig. 10 is a schematic flow chart illustrating a Mesh network communication method according to another embodiment of the present application;
fig. 11 is a schematic flow chart illustrating a Mesh network communication method according to another embodiment of the present application;
fig. 12 is a block diagram of a Mesh network communication device according to an embodiment of the present application;
fig. 13 is a block diagram of a Mesh network communication device according to an embodiment of the present application;
fig. 14 is a block diagram of an electronic device for executing a Mesh network communication method according to an embodiment of the present application;
fig. 15 illustrates a storage unit according to an embodiment of the present application, configured to store or carry program codes for implementing a Mesh network communication method according to an embodiment of the present application.
Detailed Description
In order to make the technical solutions better understood by those skilled in the art, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application.
The Mesh belongs to a low-power-consumption Bluetooth ad hoc network protocol, and the Mesh network has lower power consumption in a wireless ad hoc network scheme. The Mesh network has a large number of applications in sensor networks because of its low power consumption. When the number of the sensors is large, the number of the sensor nodes involved in the Mesh network after networking is large, and the Mesh network is also large. When the Mesh network works, the energy consumption of the whole network is high. Generally, in order to reduce the power consumption of the Mesh network, nodes in the Mesh network are divided into low-power-consumption nodes, friend nodes and the like, wherein the low-power-consumption nodes establish a friendship with the friend nodes, and the friend nodes serve as transmission media of low-power-consumption sensors. The low power consumption node can enter a low power consumption mode, and the friend node connected with the low power consumption node cannot enter the low power consumption mode.
Through careful research, the inventor finds that the low-power-consumption mode of the current low-power-consumption node is not suitable for all nodes in the Mesh network, so that the overall power consumption of the Mesh network is still high. In the Mesh network of the sensors, all the sensors are powered by batteries, each sensor serves as a node in the Mesh network, the roles of all the nodes are the same, friend nodes cannot be arranged, and the expansion of the full-battery-powered sensor network is limited.
In view of the above technical problems, the inventors discovered and proposed a Mesh network communication method, device, electronic device, and storage medium through long-term research, where a first sensor node is mostly in an energy-saving mode with low power consumption, and when the first sensor node is in the energy-saving mode with low power consumption, a first inquiry broadcast is transmitted to actively inquire the devices of the Mesh network; the first communication equipment responds to the first inquiry broadcast to reply the first response broadcast after receiving the first inquiry broadcast so as to express the communication requirement of the first communication equipment; after receiving the first response broadcast, the first sensor node switches to a communication mode with higher power consumption for communication, the scanning time of the first sensor node in the energy-saving mode is shorter than that of the first sensor node in the communication mode, the first sensor node is in the energy-saving mode with low power consumption, and the communication mode with high power consumption is switched only when the first communication equipment has a communication requirement, so that the overall power consumption of the Mesh network is reduced, wherein a specific Mesh network communication method is specifically described in the subsequent embodiments.
In the application, a plurality of sensor devices are arranged in a scene to be monitored, and the plurality of sensor devices are all used for measuring information in the scene to be monitored. For example, the scene to be detected may be in the home or office building of the user, etc. The plurality of sensor devices may be temperature sensors, proximity switch sensors, infrared sensors, etc. disposed in a home or office building. The multiple sensor devices in the scene to be monitored serve as multiple sensor nodes of the Mesh network, the multiple sensor nodes and the gateway jointly form the Mesh network, and optionally, the devices (including the sensor nodes and the gateway) in the Mesh network can be connected through Bluetooth (BLE for short).
The sensor node comprises a power supply battery, a controller, a sensor and a communication module, and the controller is connected with the sensor and the communication module respectively. Optionally, the communication module may be a BLE module. The power supply battery provides power supply for the controller, the sensor and the communication module in the sensor node. The sensor detects information in a scene to be monitored, and the controller controls the communication module to send acquired information to other equipment. In a Mesh network, all sensor nodes are idle most of the time, and less time is used for transmitting information, for example, information may be transmitted once a week. If the sensor node is idle, the Mesh network has no communication requirement, and the communication module of the sensor node always works normally (is started), which causes the electric energy waste of the power supply battery. In order to improve the cruising ability of the sensor node, the working mode of the sensor node is set to be an energy-saving mode and a communication mode.
When the sensor node is in the energy-saving mode, the sensor node works according to a working period, and in one working period, the sensor node sequentially comprises a broadcasting stage, a scanning stage and a sleeping stage according to the time sequence. In the broadcasting stage, the communication module works, and the controller controls the communication module to transmit inquiry broadcasting; in the scanning stage, the communication module works; and in the dormant stage, the communication module does not work. The power consumption of the communication module when the sensor node is in one working cycle of the energy saving mode is shown in fig. 1, for example, in the T (time) -I (power consumption) diagram of fig. 1, within a certain working cycle (0-T3), in a broadcast phase (which may be 1.2ms) of 0-T1, the power consumption of the communication module is I2 (for example, 8.3 mA); then entering a scanning phase (which may be 50ms) from T1 to T2, the power consumption of the communication module is I1 (for example, 7.8mA), and in a sleep phase (which may be 10s) from T2 to T3, the power consumption of the communication module is close to 0 (actually, 1.3umA), wherein the power consumption I2 in the broadcasting phase is greater than the power consumption I1 in the scanning phase, and the power consumption I1 in the scanning phase is greater than the power consumption in the sleep phase.
When the sensor node is in the communication mode, the communication module of the sensor node always scans, please refer to fig. 2, and the power consumption of the communication module is I1. It should be noted that, when the communication module is transmitting and receiving information, the power consumption for transmitting and receiving information is greater than the power consumption I1. Therefore, when the sensor node is in the communication mode, the power consumption is at least I1. Compared with the communication mode, the energy-saving mode can save the power consumption by 99.5% within the same time length.
The gateway comprises a power supply module, a controller and a communication module. Optionally, the communication module may be a BLE module. The power supply module is connected to a power grid, converts the voltage of the power grid into power supply voltage, and supplies power to the controller and the communication module through the power supply voltage. The gateway is supplied with power through a power grid, so that the electric energy is sufficient, the problem of endurance does not need to be considered, and the gateway needs to receive and process information of a plurality of devices, so that the working mode of the gateway is a communication mode.
The Mesh network comprises a first sensor node, a first communication device and a second communication device. The working modes of the first sensor node comprise an energy-saving mode and a communication mode, the two working modes can be switched, the first sensor node works in the energy-saving mode most of the time, and when the first sensor node is in the energy-saving mode, the power consumption is low. When the Mesh network has a communication requirement, the first sensor node is switched to a communication mode, and when the first sensor node works in the communication mode, the first sensor node is used for transmitting information between the first communication equipment and the second communication equipment.
Fig. 3 shows a schematic diagram of a Mesh network provided in an embodiment of the present application, please refer to fig. 3, where the Mesh network includes: gateway G1, sensor node B21, sensor node B22, sensor node B23, sensor node B24, sensor node B25, sensor node B26, sensor node B27, and sensor node B28. The sensor nodes B21 through B28 are located throughout the scene to be monitored, and may be proximity switch sensors located on each room door lock on a floor, for example. And the plurality of sensor nodes directly or indirectly report the collected information to the gateway G1. For example, when a sensor node B23 in communication mode is to communicate with a gateway G1, the first sensor nodes may be sensor node B21 and sensor node B22, with information between sensor node B23 and gateway G1 being forwarded by sensor node B21 and sensor node B22.
In the Mesh network, the number of the sensor nodes is not limited to 8 in fig. 1, and may be a larger number, for example, 50, 60, and the like.
Fig. 4 is a schematic flow chart of a Mesh network communication method according to an embodiment of the present application, in which a first sensor node is in a low power consumption energy saving mode, and only when a first communication device has a communication requirement, the first sensor node is switched to a high power consumption communication mode, so that the overall power consumption of the Mesh network is reduced. In an embodiment, the Mesh network communication method is applied to the first sensor, the Mesh network communication device 100 shown in fig. 12, the Mesh network communication device 200 shown in fig. 13, and the electronic device 300 of the Mesh network communication device 100 or the Mesh network communication device 200 shown in fig. 14. The embodiment will explain a specific process of the embodiment by taking an example that the Mesh network communication method is applied to the first sensor node of the Mesh network. As will be described in detail with reference to the flow shown in fig. 2, the Mesh network further includes a first communication device, and the Mesh network communication method may specifically include the following steps:
step S110, when the first sensor node is in the energy saving mode, transmitting a first query broadcast.
The first sensor node belongs to the Mesh network, and therefore, the working modes of the first sensor node comprise an energy-saving mode and a communication mode. In order to reduce energy consumption, the first sensor node is in an energy-saving mode most of the time, the first sensor transmits a first inquiry broadcast to the surroundings when in a broadcast phase of 0-T1 shown in FIG. 1, actively inquires whether a device with a communication demand exists in the Mesh network, and the first inquiry broadcast can be scanned by the device around the first sensor node and in a non-sleep phase of the communication mode or the energy-saving mode. With reference to fig. 3, when the first sensor node is sensor node B21, the first query broadcast transmitted by sensor node B21 may be scanned by gateway G1, sensor node B22, sensor node B28.
The first sensor node may be any sensor node in the Mesh network. For example, the Mesh network further includes a second communication device, when a message needs to be transmitted between the first communication device and the second communication device, the first communication device and the second communication device cannot directly communicate due to the limitation of the transmission distance of the communication module in the device, and the first sensor node may be a relay station for transmitting the message between the first communication device and the second communication device, and thus the first sensor node may be any sensor node for communicating a communication link between the first communication device and the second communication device. In particular, when the second communication device is identical to the first sensor node, i.e. the first communication device communicates directly with the first sensor node.
In one embodiment, the number of first sensor nodes may be one. As one way, when the second communication device is the same as the first sensor node, the communication module of the first communication device and the communication module of the first sensor node have stronger communication capability, and the first communication device can directly communicate with the first sensor node, for example, the first communication device may be the gateway G1 in fig. 3, the first sensor node may be the sensor node B23 in fig. 3, the gateway G1 and the sensor node B23 may directly communicate, and the two may transmit information with each other. Alternatively, the first communication device and the first sensor node may be in close proximity, and continuing with the example of fig. 3, the first sensor node is sensor node B28, the first communication device is gateway G1, and sensor node B28 and gateway G1 may communicate directly. As another mode, when the second communication device and the first sensor node are different devices, and the first communication device and the second communication device are in communication, because the distance between the two devices is relatively long or the communication capabilities of the communication modules of the two devices are limited, the message of communication between the first communication device and the second communication device is forwarded through the first sensor, and with reference to fig. 3, when the first communication device is the gateway G1 and the second communication device is the sensor node B24, the first sensor node is the sensor node B22, and the message of communication between the gateway G1 and the sensor node B24 is forwarded through the sensor node B22.
In another embodiment, the number of the first sensor nodes may be multiple, and when the first communication device and the second communication device are in communication, because the distance between the two devices is relatively long and the communication capabilities of the communication modules of the two devices are limited, the multiple first sensors are selected as transfer stations for the communication between the two devices. As described with reference to fig. 3, if the communication distance of each device in the Mesh network is only one hop, that is, each device can only directly communicate with the adjacent device, when the first communication device is the gateway G1 and the second communication device is the sensor node B24, the selected first sensor nodes are the sensor node B21, the sensor node B22, and the sensor node B23, and the communication message between the gateway G1 and the sensor node B24 is forwarded through the sensor node B21, the sensor node B22, and the sensor node B23.
Optionally, when the first communication device has a communication demand, all the sensor nodes may also be awakened.
Step S120, when a first response broadcast replied by the first communication device in response to the first inquiry broadcast is scanned, switching the energy saving mode to a communication mode, where a scanning duration of the first sensor node in the energy saving mode is shorter than a scanning duration of the first sensor node in the communication mode.
When a first interrogation broadcast is scanned by a device around the first sensor that is in a non-sleep phase of a communication mode or a power saving mode, there is no need to reply to the first interrogation broadcast if the device has no communication requirements. When the first inquiry broadcast is scanned by the device with the communication requirement, the device is used as a first communication device, and the first communication device replies to the first response broadcast when receiving the first inquiry broadcast, it can be understood that the first communication device transmits the communication requirement of the first sensor node itself in the form of the first response broadcast. When the first sensor node receives the first response broadcast, the controller in the first sensor node controls the communication module in the first sensor node to be switched from the energy-saving mode to the communication mode.
In one embodiment, the switching of the operation mode is realized by adjusting a protocol in which the first sensor node operates, and in particular, when the first sensor node is in the energy saving mode, the protocol in which the first sensor node operates is a gatt (generic Attribute profile) protocol. When the first sensor node is in a communication mode, a working protocol of the first sensor node is a networking specification provided by a Bluetooth official Group (SIG for short), and when the controller switches the protocol, the working protocol of the first sensor node is switched from a GATT protocol to the SIG specification.
In another embodiment, the switching of the operation mode is realized by adjusting a parameter, and specifically, the controller adjusts the scanning duration of the communication module by adjusting a duration control parameter, so that the sleep phases T2-T3 shown in fig. 1 become 0.
Optionally, the working cycles of different first sensor nodes may be different, and the broadcast phase, the scanning phase, and the sleep phase corresponding to each working cycle are also different, but the switching manners are similar and are not described herein again.
According to the Mesh network communication method, the device, the electronic equipment and the storage medium, when the first sensor node is in the energy-saving mode with lower power consumption, the first inquiry broadcast is transmitted, and the equipment of the Mesh network is actively inquired; the first communication equipment responds to the first inquiry broadcast to reply the first response broadcast after receiving the first inquiry broadcast so as to express the communication requirement of the first communication equipment; after receiving the first response broadcast, the first sensor node is switched to a communication mode with higher power consumption for communication, the scanning time of the first sensor node in the energy-saving mode is shorter than that of the first sensor node in the communication mode, the first sensor node is in the energy-saving mode with low power consumption, and the communication mode with high power consumption is switched only when the first communication equipment has a communication requirement, so that the overall power consumption of the Mesh network is reduced. Moreover, if the first communication device actively queries, since the first communication device cannot know when the first sensor node is in the non-sleep stage, the first communication device needs to transmit the query broadcast all the time, until the first sensor node is in the non-sleep stage along with the lapse of time, the query broadcast transmitted by the first communication device cannot be scanned, and as can be seen from fig. 1, when the query broadcast is transmitted, the energy consumption is high, and if the message replied by the first sensor node is not received all the time, the query broadcast transmitted all the time by the first communication device consumes a large amount of energy, which results in poor overall cruising ability of the Mesh network. In this embodiment, the first sensor node actively queries, the first sensor node can acquire the time when the first sensor node is in the non-dormant state, and when the first query broadcast is sent out, because the first sensor node is in the non-dormant state, as long as the first communication device replies the first reply broadcast, the first sensor node can timely receive the first reply broadcast, so that the energy consumption of the Mesh network is further saved, and the cruising ability of the Mesh network is improved.
On the basis of the foregoing embodiments, the present embodiment provides a Mesh network communication method, where a first communication device and a second communication device establish a communication link through a first sensor node, so as to implement message interaction between the first communication device and the second communication device. Fig. 5 is a schematic flow chart of a Mesh network communication method according to another embodiment of the present application, and referring to fig. 5, the Mesh network communication method may specifically include the following steps:
step S210, when the first sensor node is in the energy saving mode, transmitting a first query broadcast.
Step S220, when a first response broadcast replied by the first communication device in response to the first inquiry broadcast is scanned, switching the energy saving mode to the communication mode, where a scanning duration of the first sensor node in the energy saving mode is shorter than a scanning duration of the first sensor node in the communication mode.
For the detailed description of steps S210 to S220, refer to steps S110 to S210, which are not described herein again.
And step S230, receiving the communication message sent by the first communication equipment.
When the first sensor node is in a communication mode, the communication module inside the first sensor node works all the time, and when the first communication equipment sends a communication message, the communication module receives the communication message sent by the first communication equipment.
Step S240, forwarding the communication message sent by the first communication device to a second communication device.
The first sensor node may forward the communication message of the first communication device to the second communication device, or forward the communication message replied by the second communication device to the first communication device.
In this embodiment, because of the limitation of the transmission distance of the communication module in the device, the first communication device and the second communication device cannot communicate directly, the first sensor node may serve as a transfer station for transferring messages between the first communication device and the second communication device, and the first sensor node forwards the communication messages between the first communication device and the second communication device, thereby ensuring normal communication between the first communication device and the second communication device.
Optionally, when the first communication device is a second sensor node and the second communication device is a gateway, the second sensor node is originally in an energy-saving mode, and when the second sensor has a communication requirement, for example, when a controller in the second sensor node periodically controls a corresponding communication module to report a detection message acquired by the sensor, the second sensor node considers that there is a communication requirement, or when the sensor in the second sensor node acquires a preset detection message, the energy-saving mode is automatically switched to the communication mode to actively report first measurement information, where fig. 6 shows a flowchart of a Mesh network communication method provided in another embodiment of the present application, referring to fig. 6, the Mesh network communication method may specifically include the following steps:
step S310, when the first sensor node is in the energy-saving mode, a first inquiry broadcast is transmitted.
Step S320, when a first response broadcast replied by the first communication device in response to the first inquiry broadcast is scanned, switching the energy saving mode to the communication mode, where a scanning duration of the first sensor node in the energy saving mode is shorter than a scanning duration of the first sensor node in the communication mode.
For the detailed description of steps S310 to S320, please refer to steps S110 to S210, which are not described herein again.
Step S330, receiving a communication message sent by the first communication device.
For details of step S330, please refer to step S230, which is not described herein.
Step S340, forwarding the first measurement message measured by the second sensor node to the gateway.
A first measurement message measured by the second sensor node is sent to the first sensor node, which forwards the first measurement message to the gateway. For example, when the sensor in the second sensor node is a temperature sensor, the first measurement message may be a temperature during a collection period reported periodically, e.g., a temperature during a day of collection. For another example, when the sensor in the second sensor node is a sensor mounted on a switch of a lamp, the first measurement message may be a message to turn on or off the switch.
In the Mesh network communication method provided by this embodiment, because of the limitation of the transmission distance of the communication module in the device, the second sensor node and the gateway cannot directly communicate with each other, the first sensor node may serve as a transfer station for transferring messages between the second sensor node and the gateway, and the first sensor node forwards the communication messages between the second sensor node and the gateway, so as to realize active reporting of the measurement messages of the second sensor node.
Optionally, when the second communication device is a second sensor node and the first communication device is a gateway, fig. 7 shows a schematic flow chart of a Mesh network communication method according to still another embodiment of the present application, please refer to fig. 7, where the Mesh network communication method may specifically include the following steps:
step S410, when the first sensor node is in the energy saving mode, transmitting a first query broadcast.
Step S420, when a first response broadcast replied by the first communication device in response to the first inquiry broadcast is scanned, switching the energy saving mode to the communication mode, where a scanning duration of the first sensor node in the energy saving mode is shorter than a scanning duration of the first sensor node in the communication mode.
Optionally, the gateway is connected to a cloud, and the cloud instructs the gateway to obtain a second measurement message of the second sensor node.
For the detailed description of steps S410 to S420, refer to steps S110 to S210, which are not described herein again.
Step S430, scanning a second query broadcast sent by the second sensor node, where the second query broadcast is sent by the second sensor node in an energy saving mode.
Because the first communication device and the second communication device cannot directly communicate due to the limitation of the transmission distance of the communication module in the device, the gateway cannot receive the second inquiry broadcast transmitted by the second sensor node, and therefore, the second sensor node is still in the energy-saving mode. When the second sensor node is in the broadcast stage of the energy-saving mode, a second inquiry broadcast is transmitted to the periphery, the first sensor node which is close to the second sensor node is switched to the communication mode, the communication module of the first sensor node is always in the scanning state, and therefore the second inquiry broadcast can be received by the first sensor node.
Step S440, responding to the second query broadcast, and replying a second response broadcast, so that the second sensor node is switched from the energy-saving mode to the communication mode when receiving the second response broadcast.
The first sensor node responds to the second inquiry broadcast and replies a second response broadcast, and the second sensor node is switched to the communication mode from the energy-saving mode when receiving the second response broadcast, namely, the communication module of the second sensor node is in a normal working state and can receive and transmit information at any time.
And step S450, receiving the measurement instruction sent by the gateway.
And the first sensor node receives the measurement instruction sent by the gateway. The measurement instruction can be sent to the gateway by a cloud end connected with the gateway, or sent to the gateway by user equipment connected with the gateway, or periodically triggered according to the setting of a user on the gateway.
Step S460, forwarding the measurement instruction sent by the gateway to the second sensor node.
When the number of the first sensor nodes is one, the first sensor nodes directly forward the measurement instruction to the second sensor nodes. When the number of the second sensor nodes is multiple, the gateway sends the measurement instruction to the first sensor node closest to the gateway, and then sends the measurement instruction to other adjacent first sensor nodes one by one according to the position relation of the first sensor nodes connected in sequence until the last first sensor node sends the measurement instruction to the second sensor nodes.
Step S470, receiving a second measurement message fed back by the second sensor node in response to the measurement instruction, and forwarding the second measurement message to the gateway.
And the second sensor node feeds back a second measurement message according to the indication of the measurement instruction. For example, the measurement instruction instructs the second sensor node to feed back and feed back the second measurement message in the target time period; for another example, the measurement instruction instructs the second sensor to measure and feedback the current second measurement message.
In the Mesh network communication method provided by this embodiment, because of the limitation of the transmission distance of the communication module in the device, the gateway cannot directly acquire the second measurement message from the second sensor node, the first sensor node may serve as a transfer station for transferring messages between the gateway and the second sensor node, and the communication message between the gateway and the second sensor node is forwarded by the first sensor node, so that the gateway acquires the second measurement message of the second sensor node.
In this embodiment, on the basis of the foregoing embodiment, a Mesh network communication method is provided, in order to improve the entire cruising ability of a Mesh network, when no message is transmitted in the Mesh network, a first sensor node is switched from a communication state to a sleep state, fig. 8 shows a schematic flow diagram of a Mesh network communication method according to another embodiment of the present application, and please refer to fig. 8, the Mesh network communication method may specifically include the following steps:
step S510, when the first sensor node is in the energy saving mode, transmitting a first query broadcast.
Step S520, when a first response broadcast replied by the first communication device in response to the first inquiry broadcast is scanned, switching the energy saving mode to the communication mode, where a scanning duration of the first sensor node in the energy saving mode is shorter than a scanning duration of the first sensor node in the communication mode.
For the detailed description of steps S510 to S520, refer to steps S110 to S210, which are not described herein again.
Step S530, collecting the network condition of the Mesh network, and acquiring a preset time period corresponding to the network condition.
The network condition may include network performance, the amount of data transmitted in the network, network bandwidth, etc. Acquiring a preset network condition, wherein the preset network condition represents that the network is busy, for example, the quantity of transmission data in the network is large; or the preset network condition represents that the network performance is better, for example, the network bandwidth is larger. When the network condition meets a preset network condition, the current network condition is busy, message transmission in the network can last for a period of time, a longer preset time period needs to be obtained, or the network performance is better, enough network resources are provided for the Mesh network to work for a period of time, a first preset time period corresponding to the network condition is obtained, a longer first preset time period is obtained, the sensor node of the Mesh network can be recovered to an energy-saving mode for a little time, and the normal transmission of the Mesh network is ensured; or when the network condition does not satisfy the preset network condition, it indicates that the current network condition is not busy, or the network performance is poor to obtain a shorter first preset time period, so that the sensor node of the Mesh network can be restored to an energy-saving mode as soon as possible, the network load is reduced, and a second preset time period corresponding to the network condition is obtained, wherein the first preset time period is longer than the second preset time period, for example, the first preset time period is 4 seconds, and the second preset time period is 3 seconds.
Optionally, the preset time period may also be set by the user.
If the communication message is still monitored in the preset time period, the information transmission in the Mesh network is still continued, and the first sensor node is continuously in a communication mode.
And step S540, if the communication message is not monitored in the preset time period, switching the communication mode to the energy-saving mode.
If the communication message is not monitored in the preset time period, the message transmission in the Mesh network is finished, and the communication mode is switched to the energy-saving mode with low energy consumption. For example, the preset time period may be 3 minutes.
It should be noted that, when there is no message transmission in the Mesh network within a preset time period, it is indicated that the message transmission in the Mesh network is already finished, and all sensor nodes of the Mesh network need to be switched to the energy saving mode. For example, the second sensor node is switched from the communication mode to the energy-saving mode.
In the Mesh network communication method provided by this embodiment, when the first sensor node does not monitor the communication message within the preset time period, it indicates that the message transmission has ended, and the communication mode is switched to the energy-saving mode with low energy consumption, so that the energy consumption of the first sensor node is reduced, and the overall cruising ability of the Mesh network is improved.
Optionally, fig. 9 shows a schematic flow diagram of a Mesh network communication method according to another embodiment of the present application, please refer to fig. 9, where the Mesh network communication method is applied to a Mesh network, the Mesh network includes a first sensor node and a first communication device, and the method may specifically include the following steps:
step S610, when the first sensor node is in the energy saving mode, transmitting a first query broadcast.
Step S620, the first communication device responds to the first inquiry broadcast and replies to a first response broadcast.
Step S630, when the first sensor node scans the first response broadcast, switching the energy saving mode to a communication mode, where a scanning duration of the first sensor node in the energy saving mode is shorter than a scanning duration of the first sensor node in the communication mode.
For detailed description of steps S610 to S630, refer to steps S110 to S210, which are not described herein again.
Optionally, fig. 10 shows a schematic flow diagram of a Mesh network communication method according to another embodiment of the present application, please refer to fig. 10, where the Mesh network communication method is applied to a Mesh network, the Mesh network includes a first sensor node, a second sensor node and a gateway, and the method specifically includes the following steps:
step S701, the first sensor node transmits a first query broadcast.
Step S702, the gateway responds to the first inquiry broadcast and replies to the first response broadcast.
Step S703, when the first sensor node scans the first response broadcast, the energy saving mode is switched to the communication mode.
Step S704, the second sensor node transmits a second query broadcast.
Step S705, the first sensor node replies a second response broadcast in response to the second query broadcast.
And step S706, when the second sensor node scans the second response broadcast, the energy-saving mode is switched to the communication mode.
And step S707, the gateway sends a measurement instruction to the first sensor node.
Step S708, the first sensor node sends a measurement instruction to the second sensor node.
And step S709, the second sensor node responds to the measurement instruction and collects a second measurement message.
Step S710, the second sensor node sends a second measurement message to the first sensor node.
Step S711, the first sensor node sends a second measurement message to the gateway.
For detailed description of steps S701 to S711, please refer to steps S410 to S470, which are not described herein again.
Fig. 11 is a schematic flow diagram of a Mesh network communication method according to another embodiment of the present application, please refer to fig. 10, where the Mesh network communication method is applied to a Mesh network, the Mesh network includes a first sensor node, a second sensor node, and a gateway, and the method specifically includes the following steps:
and step S801, when the second sensor node has a message sending requirement, switching from the energy-saving mode to the communication mode.
Step S802, the first sensor node transmits a first query broadcast.
Step S803, the second sensor node responds to the first query broadcast and replies to the first response broadcast.
Step S804, when the first sensor node scans the first response broadcast, the energy saving mode is switched to the communication mode.
Step S805, the second sensor node sends the first measurement message to the first sensor node.
Step S806, the first sensor node sends the first measurement message to the gateway.
For the detailed description of steps S801 to S806, please refer to steps S310 to S340, which are not described herein again.
To implement the above method embodiments, this embodiment provides a Mesh network communication device, which is applied to a first sensor node, where a gateway device is connected to multiple nodes, fig. 12 shows a block diagram of the Mesh network communication device provided in this embodiment of the present application, and referring to fig. 12, a Mesh network communication device 100 includes: a first transmission module 110 and a first switching module 120.
A first transmitting module 110, configured to transmit a first query broadcast when the first sensor node is in a power-saving mode;
a first switching module 120, configured to switch the energy saving mode to the communication mode when a first response broadcast replied by the first communication device in response to the first query broadcast is scanned, where a scanning duration of the first sensor node in the energy saving mode is shorter than a scanning duration of the first sensor node in the communication mode.
Optionally, the Mesh network communication device 100 further includes: the communication message forwarding module is used for forwarding the communication message.
The communication message sending module is used for receiving a communication message sent by first communication equipment;
and the communication message forwarding module is used for forwarding the communication message sent by the first communication equipment to second communication equipment.
Optionally, when the first communication device is a second sensor node and the second communication device is a gateway, the communication message forwarding module includes: and a communication message forwarding submodule.
And the communication message forwarding submodule is used for forwarding the first measurement message measured by the second sensor node to the gateway.
Optionally, when the second communication device is a second sensor node, the Mesh network communication apparatus 100 further includes: the device comprises a scanning module and a reply module.
A scanning module, configured to scan a second query broadcast sent by the second sensor node, where the second query broadcast is sent by the second sensor node in an energy-saving mode;
and the replying module is used for replying a second response broadcast in response to the second inquiry broadcast so that the energy-saving mode is switched to the communication mode when the second sensor node receives the second response broadcast.
Optionally, when the first communication device is a gateway, the Mesh network communication apparatus 100 further includes: the device comprises a measurement instruction sending module, an instruction forwarding module and a measurement instruction feedback module.
The measurement instruction sending module is used for receiving the measurement instruction sent by the gateway;
the instruction forwarding module is used for forwarding the measurement instruction sent by the gateway to the second sensor node;
and the measurement instruction feedback module is used for receiving a second measurement message fed back by the second sensor node in response to the measurement instruction and forwarding the second measurement message to the gateway.
Optionally, the Mesh network communication device 100 further includes: a network status acquisition module and a third switching module.
The network condition acquisition module is used for acquiring the network condition of the Mesh network and acquiring a preset time period corresponding to the network condition;
and the third switching module is used for switching the communication mode into the energy-saving mode if the communication message is not monitored in the preset time period.
Optionally, the network condition obtaining module includes: the first preset time acquisition module or the second preset time acquisition submodule.
The first preset time acquisition module is used for acquiring a first preset time period corresponding to the network condition when the network condition meets a preset network condition;
and the second preset time acquisition submodule is used for acquiring a second preset time period corresponding to the network condition when the network condition does not meet the preset network condition, wherein the first preset time period is longer than the second preset time period.
Optionally, fig. 13 is a block diagram of a Mesh network communication device according to an embodiment of the present application, and referring to fig. 13, the Mesh network communication device is applied to a Mesh network, where the Mesh network includes a first sensor node and a first communication device, and the Mesh network communication device 200 includes: .
A second transmitting module 210, configured to transmit a first query broadcast when the first sensor node is in a power saving mode;
a reply module 220, configured to reply to the first reply broadcast by the first communication device in response to the first query broadcast;
a second switching module 230, configured to switch the energy saving mode to a communication mode when the first sensor node scans the first response broadcast, where a scanning duration of the first sensor node in the energy saving mode is shorter than a scanning duration of the first sensor node in the communication mode.
It can be clearly understood by those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described apparatuses and modules may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the several embodiments provided in the present application, the coupling between the modules may be electrical, mechanical or other type of coupling.
In addition, functional modules in the embodiments of the present application may be integrated into one processing module, or each of the modules may exist alone physically, or two or more modules are integrated into one module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode.
Fig. 14 is a block diagram of an electronic device for executing a Mesh network communication method according to an embodiment of the present application, and please refer to fig. 14, which shows a block diagram of an electronic device 300 according to an embodiment of the present application. The electronic device 300 may be a smart phone, a tablet computer, an electronic book, or other electronic devices capable of running an application. The electronic device 300 in the present application may include one or more of the following components: a processor 310, a memory 320, and one or more applications, wherein the one or more applications may be stored in the memory 320 and configured to be executed by the one or more processors 310, the one or more applications configured to perform a method as described in the aforementioned method embodiments.
Processor 310 may include one or more processing cores, among other things. The processor 310 connects various parts throughout the electronic device 300 using various interfaces and lines, and performs various functions of the electronic device 300 and processes data by executing or executing instructions, programs, code sets, or instruction sets stored in the memory 320 and calling data stored in the memory 320. Alternatively, the processor 310 may be implemented in hardware using at least one of Digital Signal Processing (DSP), Field-Programmable Gate Array (FPGA), and Programmable Logic Array (PLA). The processor 310 may integrate one or more of a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), a modem, and the like. Wherein, the CPU mainly processes an operating system, a user interface, an application program and the like; the GPU is used for rendering and drawing the components to be displayed; the modem is used to handle wireless communications. It is understood that the modem may not be integrated into the processor 310, but may be implemented by a communication chip.
The Memory 320 may include a Random Access Memory (RAM) or a Read-Only Memory (Read-Only Memory). The memory 320 may be used to store instructions, programs, code sets, or instruction sets. The memory 320 may include a stored program area and a stored data area, wherein the stored program area may store instructions for implementing an operating system, instructions for implementing at least one function (such as a touch function, a sound playing function, an image playing function, etc.), instructions for implementing various method embodiments described below, and the like. The storage data area may also store data created by the electronic device 300 in use (such as historical profiles) and the like.
Fig. 15 shows a storage unit for storing or carrying a program code for implementing a Mesh network communication method according to an embodiment of the present application, please refer to fig. 15, which shows a block diagram of a computer-readable storage medium according to an embodiment of the present application. The computer-readable medium 400 has stored therein a program code that can be called by a processor to execute the method described in the above-described method embodiments.
The computer-readable storage medium 400 may be an electronic memory such as a flash memory, an EEPROM (electrically erasable programmable read only memory), an EPROM, a hard disk, or a ROM. Alternatively, the computer-readable storage medium 400 includes a non-volatile computer-readable storage medium. The computer readable storage medium 400 has storage space for program code 410 for performing any of the method steps of the method described above. The program code can be read from or written to one or more computer program products. Program code 410 may be compressed, for example, in a suitable form.
In summary, according to the Mesh network communication method, the device, the electronic device and the storage medium, when the first sensor node is in the energy saving mode with lower power consumption, the first query broadcast is transmitted to actively query the devices of the Mesh network; the first communication equipment responds to the first inquiry broadcast to reply the first response broadcast after receiving the first inquiry broadcast so as to express the communication requirement of the first communication equipment; after receiving the first response broadcast, the first sensor node is switched to a communication mode with higher power consumption for communication, the scanning time of the first sensor node in the energy-saving mode is shorter than that of the first sensor node in the communication mode, the first sensor node is in the energy-saving mode with low power consumption, and the communication mode with high power consumption is switched only when the first communication equipment has a communication requirement, so that the overall power consumption of the Mesh network is reduced.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solutions of the present application, and not to limit the same; although the present application has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications and substitutions do not necessarily depart from the spirit and scope of the corresponding technical solutions in the embodiments of the present application.

Claims (12)

1. A Mesh network communication method is applied to a first sensor node, and the method comprises the following steps:
transmitting a first query broadcast when the first sensor node is in a power-saving mode;
and when a first response broadcast replied by the first communication equipment in response to the first inquiry broadcast is scanned, switching the energy-saving mode to a communication mode, wherein the scanning time of the first sensor node in the energy-saving mode is shorter than the scanning time of the first sensor node in the communication mode.
2. The method of claim 1, wherein after the switching from the power-saving mode to the communication mode upon receiving the first acknowledgment broadcast, the method further comprises:
receiving a communication message sent by the first communication equipment;
and forwarding the communication message sent by the first communication equipment to second communication equipment.
3. The method according to claim 2, wherein when the first communication device is a second sensor node and the second communication device is a gateway, the forwarding the communication message sent by the first communication device to the second communication device comprises:
forwarding a first measurement message measured by the second sensor node to the gateway.
4. The method of claim 2, wherein before the receiving the communication message sent by the first communication device when the second communication device is the second sensor node, the method further comprises:
scanning for a second query broadcast sent by the second sensor node, wherein the second query broadcast is sent by the second sensor node in a power-saving mode;
responding to the second inquiry broadcast, replying a second response broadcast, so that the second sensor node is switched from the energy-saving mode to the communication mode when receiving the second response broadcast.
5. The method of claim 4, wherein after the switching from the power saving mode to the communication mode upon receiving the first reply broadcast when the first communication device is a gateway, the method further comprises:
receiving a measurement instruction sent by the gateway;
forwarding a measurement instruction sent by the gateway to the second sensor node;
and receiving a second measurement message fed back by the second sensor node in response to the measurement instruction, and forwarding the second measurement message to the gateway.
6. The method according to any one of claims 1 to 5, wherein after switching from the power saving mode to the communication mode when scanning for the first reply broadcast of the first communication device in response to the first query broadcast reply, the method further comprises:
acquiring the network condition of the Mesh network, and acquiring a preset time period corresponding to the network condition;
and if the communication message is not monitored in the preset time period, switching the communication mode to the energy-saving mode.
7. The method according to claim 6, wherein the obtaining of the preset time period corresponding to the network condition comprises:
when the network condition meets a preset network condition, acquiring a first preset time period corresponding to the network condition; or
And when the network condition does not meet the preset network condition, acquiring a second preset time period corresponding to the network condition, wherein the first preset time period is longer than the second preset time period.
8. A Mesh network communication method is applied to a Mesh network, the Mesh network comprises a first sensor node and a first communication device, and the method comprises the following steps:
transmitting a first query broadcast when the first sensor node is in a power-saving mode;
the first communication equipment responds to the first inquiry broadcast and replies a first response broadcast;
when the first sensor node scans the first response broadcast, the energy-saving mode is switched to a communication mode, wherein the scanning duration of the first sensor node in the energy-saving mode is shorter than the scanning duration of the first sensor node in the communication mode.
9. A Mesh network communication device, applied to a first sensor node, the device comprising:
a first transmitting module for transmitting a first query broadcast when the first sensor node is in an energy-saving mode;
and the first switching module is used for switching the energy-saving mode to the communication mode when scanning a first response broadcast replied by the first communication equipment in response to the first inquiry broadcast, wherein the scanning time of the first sensor node in the energy-saving mode is shorter than that of the first sensor node in the communication mode.
10. A Mesh network communication device, applied to a Mesh network including a first sensor node and a first communication device, the device comprising:
a second transmitting module for transmitting a first query broadcast when the first sensor node is in an energy-saving mode;
a reply module, configured to reply to the first reply broadcast by the first communication device in response to the first query broadcast;
and the second switching module is used for switching the energy-saving mode to the communication mode when the first sensor node scans the first response broadcast, wherein the scanning time of the first sensor node in the energy-saving mode is shorter than that of the first sensor node in the communication mode.
11. An electronic device, comprising:
one or more processors;
a memory;
one or more applications, wherein the one or more applications are stored in the memory and configured to be executed by the one or more processors, the one or more applications configured to perform the method of any of claims 1-8.
12. A computer-readable storage medium, having stored thereon program code that can be invoked by a processor to perform the method according to any one of claims 1 to 8.
CN202111061488.5A 2021-09-10 2021-09-10 Mesh network communication method and device, electronic equipment and storage medium Withdrawn CN113811018A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111061488.5A CN113811018A (en) 2021-09-10 2021-09-10 Mesh network communication method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111061488.5A CN113811018A (en) 2021-09-10 2021-09-10 Mesh network communication method and device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN113811018A true CN113811018A (en) 2021-12-17

Family

ID=78940730

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111061488.5A Withdrawn CN113811018A (en) 2021-09-10 2021-09-10 Mesh network communication method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN113811018A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN118102245A (en) * 2023-12-15 2024-05-28 北京暖流科技有限公司 Underground pipe network data acquisition system

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100272092A1 (en) * 2007-12-03 2010-10-28 Hoon Jeong Apparatus and method for broadcasting data, and apparatus and method for broadcasting response data, of sensor node in wireless sensor network system
CN102938926A (en) * 2011-08-16 2013-02-20 华为终端有限公司 Method for achieving access point energy saving and access point in wireless communication network
CN111343709A (en) * 2020-05-15 2020-06-26 深圳市汇顶科技股份有限公司 Node control method, system, chip, electronic device and storage medium
CN111586659A (en) * 2020-04-30 2020-08-25 杭州涂鸦信息技术有限公司 Node working mode control method, device, equipment and medium based on Sub-G network
WO2020237703A1 (en) * 2019-05-29 2020-12-03 上海庆科信息技术有限公司 Communication mode switching method and device, storage medium, processor, and system
US20200404473A1 (en) * 2019-06-21 2020-12-24 Carrier Corporation Method and system for data transfer in a bluetooth low energy network
CN113365327A (en) * 2020-03-06 2021-09-07 华为技术有限公司 Energy-saving method and communication device applied to multilink communication

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100272092A1 (en) * 2007-12-03 2010-10-28 Hoon Jeong Apparatus and method for broadcasting data, and apparatus and method for broadcasting response data, of sensor node in wireless sensor network system
CN102938926A (en) * 2011-08-16 2013-02-20 华为终端有限公司 Method for achieving access point energy saving and access point in wireless communication network
WO2020237703A1 (en) * 2019-05-29 2020-12-03 上海庆科信息技术有限公司 Communication mode switching method and device, storage medium, processor, and system
US20200404473A1 (en) * 2019-06-21 2020-12-24 Carrier Corporation Method and system for data transfer in a bluetooth low energy network
CN113365327A (en) * 2020-03-06 2021-09-07 华为技术有限公司 Energy-saving method and communication device applied to multilink communication
CN111586659A (en) * 2020-04-30 2020-08-25 杭州涂鸦信息技术有限公司 Node working mode control method, device, equipment and medium based on Sub-G network
CN111343709A (en) * 2020-05-15 2020-06-26 深圳市汇顶科技股份有限公司 Node control method, system, chip, electronic device and storage medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN118102245A (en) * 2023-12-15 2024-05-28 北京暖流科技有限公司 Underground pipe network data acquisition system

Similar Documents

Publication Publication Date Title
US9201488B2 (en) Access point rotation for sharing power load
US8792401B2 (en) Systems and methods for reducing power consumption in communication networks
US7356561B2 (en) Adaptive sleeping and awakening protocol for an energy-efficient adhoc network
US7768954B2 (en) Connecting devices to a peer-to-peer network
EP2618612B1 (en) Energy-saving management method, system for wireless sensor network and remote management server
KR101400859B1 (en) wireless sensor network and method for configuration thereof
JP7113979B2 (en) Signal repeater device capable of operating in low-power repeater mode of operation
CN110730440B (en) Bluetooth networking system
CN107360362B (en) Portable network video camera and wireless router operation method
CN107548140B (en) System and method for switching protocol wireless connections
KR101174406B1 (en) A Low Power MAC Architecture for Wireless Sensor Network with Wireless Power Transfer
CN101547527A (en) Communication apparatus and communication method, and computer program therefor
CN109314923B (en) Site awakening method, related equipment and system
Haimour et al. Energy efficient sleep/wake-up techniques for IOT: A survey
CN113811018A (en) Mesh network communication method and device, electronic equipment and storage medium
CN112367621A (en) Ultra-wideband-based positioning system, method, electronic device and storage medium
US8433353B2 (en) Method of communication, emitter and receiver stations and associated computer programs
US8601295B2 (en) Information transmission device, system, and method
WO2012031542A1 (en) Method, system, and apparatus for establishing communication for wireless sensor network
EP2781124B1 (en) A method for enhancing data transfer across a wireless network arrangement
CN111385860A (en) Message priority based Bluetooth Mesh low-power consumption node on-demand awakening method
CN114222330A (en) Wireless sensor network communication system
CN210725338U (en) Electronic tag and data acquisition system with same
CN112385275B (en) Client device, network access node, and method for beam management in power saving state
CN117888606B (en) Intelligent closestool control method, electronic equipment, intelligent closestool and 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
WW01 Invention patent application withdrawn after publication

Application publication date: 20211217

WW01 Invention patent application withdrawn after publication