Intelligent Autonomous Networking Monitoring Method, System, and Medium Based on Optimal Channel Selection
By employing dynamic channel selection and time-division synchronous communication mechanisms, the problems of unstable communication reliability, low networking efficiency, and reduced node power consumption in liquid nitrogen tank monitoring systems in industrial environments are resolved, thereby achieving high-efficiency monitoring with low power consumption.
Patent Information
- Application Number
- CN202511359351.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-09-23
- Publication Date
- 2025-12-02
- Estimated Expiration
- 2045-09-23
AI Technical Summary
Existing liquid nitrogen tank monitoring systems are susceptible to interference in industrial environments, have unstable communication reliability, low networking efficiency, uneven node energy consumption, and are difficult to meet minute-level monitoring requirements and manage large-scale nodes.
An intelligent autonomous networking monitoring method based on optimal channel selection is adopted. Through dynamic channel selection algorithm and time-division synchronous communication mechanism, the gateway automatically selects the optimal channel, and the node wakes up synchronously with the gateway at regular intervals, thereby reducing power consumption.
It improves anti-interference capabilities, reduces network setup time to within 1 minute, increases success rate by 30%, reduces node power consumption by 99%, and significantly improves network efficiency and management difficulty.
Smart Images

Figure CN120857218B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of wireless sensor wireless communication technology, specifically to an intelligent autonomous networking monitoring method, system, and medium based on optimal channel selection. Background Technology
[0002] Liquid nitrogen is increasingly used in the pharmaceutical industry, particularly in the cryogenic transport and storage of stem cells or other tissue materials. Liquid nitrogen is typically stored indoors in static liquid nitrogen tanks. Because liquid nitrogen is highly volatile at room temperature, volume reduction is inevitable during use. Therefore, it is necessary to regularly monitor the temperature and volume inside the tank to prevent damage to stored objects due to volume loss.
[0003] Currently, the more intelligent monitoring method involves placing parameter monitoring nodes in liquid nitrogen tanks, transmitting data wirelessly to a gateway, and then the gateway forwards it to a cloud server. However, this approach suffers from several drawbacks. Traditional wireless monitoring systems are susceptible to interference in densely populated industrial frequency bands (such as the ISM band), and using fixed channels can lead to unstable communication reliability and channel interference issues. Furthermore, existing self-organizing network protocols (such as Zigbee) require several minutes to establish a network, which cannot meet the minute-level monitoring requirements of critical facilities like liquid nitrogen tanks, resulting in low networking efficiency. Moreover, continuous listening and broadcasting by each node leads to high power consumption, making long-term deployment difficult, and uneven node power consumption. When the number of nodes reaches a certain scale (e.g., over 100), the gateway cannot efficiently poll within a short time, and timing conflicts between nodes frequently occur; large-scale node management is also challenging. Summary of the Invention
[0004] The purpose of this invention is to provide an intelligent autonomous networking monitoring method, system, and medium based on optimal channel selection. Through a dynamic channel selection algorithm and a time-division synchronous communication mechanism, the gateway automatically selects the optimal data channel, uses low-power polling communication, and the nodes are woken up at regular intervals and synchronously with the gateway, thereby reducing power consumption.
[0005] To achieve the above objectives, this application provides the following solution:
[0006] On the one hand, this invention provides an intelligent autonomous network monitoring method based on optimal channel selection, specifically including the following steps:
[0007] After the gateway starts, it scans multiple preset communicable channels, selects the optimal channel as the data channel, divides the data channel into several time slots, and divides each time slot into a communication segment and a broadcast segment.
[0008] Within each time slot, the gateway switches the data channel in the data segment to communicate with the networked monitoring node corresponding to the current time slot.
[0009] In the broadcast segment, the broadcast channel is switched to receive broadcast information from unnetworked monitoring nodes, and an unused time slot is allocated to the current unnetworked monitoring node according to the broadcast information. This time slot is then marked as in use, and a networking information packet is sent back to the unnetworked monitoring node.
[0010] After each monitoring node is powered on, it switches to the default broadcast channel to send a broadcast message to the gateway to request network formation. The monitoring node is marked as a networked monitoring node or an unnetworked monitoring node depending on whether it is networked with the gateway.
[0011] After receiving the networking information packet, the unnetworked monitoring node parses the networking information packet to obtain the networking information, calculates the next wake-up time of the monitoring node based on the networking information, and wakes up when the next wake-up time arrives;
[0012] Once the networked monitoring node is woken up, it switches to the data channel and determines whether the number of wake-up attempts has reached the monitoring data reporting cycle. Based on the determination result, it then communicates with the gateway.
[0013] In some specific implementation schemes, the process of selecting the optimal channel is as follows:
[0014] S11. After the gateway starts, it sequentially scans multiple preset communication channels and continuously monitors the occupancy status of each channel within a preset time period to obtain the usage status of each data channel.
[0015] S12. Select three consecutive communication channels that are idle from multiple communication channels, and take the middle communication channel among the three consecutive idle communication channels as the data channel.
[0016] In some specific implementation schemes, network information includes the current data channel, time slot number S, and synchronization clock T. sync Calculate the next wake-up time T of the monitoring node. next The method is as follows:
[0017] .
[0018] In some specific implementation schemes, after a networked monitoring node is woken up, it switches to the data channel to send monitoring data or heartbeat information to the gateway. If the number of wake-ups is equal to the monitoring data reporting cycle, the monitoring data information is sent and the wake-up count is cleared; otherwise, the heartbeat information is sent, which includes the reporting interval and the monitoring node number.
[0019] In some specific implementation schemes, after a networked monitoring node sends heartbeat information or monitoring data information to the gateway, if it does not receive a reply from the gateway within a preset delay time, it will resend the current message. When the number of resends exceeds the maximum number of transmissions or the cumulative timeout reaches the preset delay threshold, the networked monitoring node will be marked as an unnetworked monitoring node, and the gateway will mark the time slot number corresponding to the networked monitoring node as unused.
[0020] In some specific implementation schemes, when the gateway communicates with the networked monitoring nodes in the communication segment, it determines whether there is any remaining time after the communication segment has finished receiving the data. If there is any remaining time, the remaining time is adjusted to the broadcast state of the broadcast segment in advance.
[0021] In some specific implementations, each time slot is 300ms, with the first 200ms of each time slot being a communication segment and the last 100ms being a broadcast segment.
[0022] Secondly, this application provides an intelligent autonomous networking monitoring system based on optimal channel selection, including a gateway side and several monitoring nodes, wherein:
[0023] The gateway side includes:
[0024] The optimal channel selection module is used to scan multiple preset communicable channels after the gateway starts up, select the optimal channel as the data channel from the multiple communicable channels, divide the data channel into several time slots, and divide each time slot into a communication segment and a broadcast segment.
[0025] The monitoring module is used to poll the communication segment and broadcast segment of each time slot in order of time slot number. If the currently polled time slot is marked as in use, it switches to the data channel.
[0026] If the current polling time slot is marked as unused, the current time is adjusted in advance to the broadcast state of the broadcast segment, and the system is directly switched to the broadcast channel;
[0027] The communication module is used to communicate with the networked monitoring nodes corresponding to the current time slot via the data channel in the data segment.
[0028] The broadcast module is used to receive broadcast information from unnetworked monitoring nodes on the broadcast channel of the broadcast segment, allocate unused time slot numbers to the current unnetworked monitoring nodes according to the broadcast information, mark the time slot as in use, and reply with networking information packets to the unnetworked monitoring nodes.
[0029] Each monitoring node includes:
[0030] The broadcast monitoring module is used to switch to the default broadcast channel after the monitoring node is powered on to send broadcast information to the gateway to request networking. The monitoring node is marked as a networked monitoring node or an unnetworked monitoring node depending on whether it is networked with the gateway.
[0031] The networking module is used to receive networking information packets, parse the networking information packets to obtain networking information, calculate the next wake-up time of the monitoring nodes based on the networking information, and wake up when the nodes are in sleep mode until the next wake-up time.
[0032] The data upload module is used to switch the networked monitoring nodes to the data channel after they are woken up, determine whether the number of wake-up attempts has reached the monitoring data reporting cycle, and communicate with the gateway based on the determination result.
[0033] Thirdly, this application provides a computer-readable storage medium, comprising:
[0034] One or more processors;
[0035] A storage unit is used to store one or more programs that, when executed by one or more processors, enable the one or more processors to implement an intelligent autonomous networking monitoring method based on optimal channel selection as described in the first aspect.
[0036] The beneficial effects of this invention are as follows:
[0037] This invention addresses the channel interference problem in industrial environments by improving anti-interference capabilities through a dynamic channel selection algorithm. Compared with single-channel communication, the success rate is increased by more than 30%, avoiding the risk of single-channel blocking.
[0038] To address the issues of low networking efficiency and difficulty in managing large-scale nodes, a time-division polling and broadcast synchronous communication mechanism is adopted, reducing the networking time for 200 nodes to ≤1 minute, significantly lowering the difficulty of managing large-scale nodes and improving networking efficiency. To address the problem of uneven node power consumption, nodes are scheduled to wake up synchronously with the gateway. Nodes only transmit and receive data within their assigned 200-millisecond communication slot, remaining in deep sleep for the rest of the time, thus reducing power consumption. Attached Figure Description
[0039] Figure 1 A flowchart of the intelligent autonomous networking monitoring method based on optimal channel selection provided in this embodiment of the invention;
[0040] Figure 2 A flowchart illustrating the broadcast process of the intelligent autonomous networking monitoring method based on optimal channel selection provided in this embodiment of the invention;
[0041] Figure 3 A flowchart illustrating the communication process of the intelligent autonomous networking monitoring method based on optimal channel selection provided in this embodiment of the invention.
[0042] Figure 4 This is an application scenario diagram provided for an embodiment of the present invention;
[0043] Figure 5 Timing diagram for time slot allocation provided in embodiments of the present invention;
[0044] Figure 6 This is a timing diagram for multi-node communication provided in an embodiment of the present invention. Detailed Implementation
[0045] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. The following description of at least one exemplary embodiment is merely illustrative and is in no way intended to limit the present invention or its application or use. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.
[0046] Unless otherwise specifically stated, the relative arrangement, numerical expressions, and values of the components and steps described in these embodiments do not limit the scope of the invention.
[0047] At the same time, it should be understood that, for ease of description, the dimensions of the various parts shown in the accompanying drawings are not drawn according to actual scale.
[0048] Furthermore, for clarity and brevity, descriptions of well-known structures, functions, and configurations may have been omitted. Those skilled in the art will recognize that various changes and modifications can be made to the examples described herein without departing from the spirit and scope of this disclosure.
[0049] Techniques, methods, and equipment known to those skilled in the art may not be discussed in detail, but where appropriate, such techniques, methods, and equipment should be considered part of the specification.
[0050] In all examples shown and discussed herein, any specific values should be interpreted as merely exemplary and not as limitations. Therefore, other examples of exemplary embodiments may have different values.
[0051] Example 1
[0052] This embodiment provides an intelligent autonomous network monitoring method based on optimal channel selection, including a gateway side and several monitoring node sides, such as... Figure 1 As shown, the interaction process between the gateway and the monitoring node is as follows:
[0053] On the gateway side, the gateway performs the following actions:
[0054] After the gateway starts, it scans multiple preset communicable channels, selects the optimal channel as the data channel, divides the data channel into several time slots, and divides each time slot into a communication segment and a broadcast segment.
[0055] The specific process for selecting a data channel is as follows:
[0056] S11. After the gateway starts, it sequentially scans multiple preset communication channels and continuously monitors the occupancy status of each channel within a preset time period to obtain the usage status of each data channel.
[0057] S12. Select three consecutive communication channels that are idle from multiple communication channels, and take the middle communication channel among the three consecutive idle communication channels as the data channel.
[0058] The gateway polls the communication segment and broadcast segment of each time slot in sequence according to the time slot number. In each time slot, if the current polled time slot is marked as in use, the gateway switches to the data channel. If the time slot is marked as in use, the gateway switches to the data channel and communicates with the networked monitoring node corresponding to the current time slot in the data segment.
[0059] Since the communication segment may complete the communication ahead of schedule, when the communication segment communicates with the networked monitoring node, the gateway determines whether there is any remaining time after the communication segment has completed the data communication. If there is remaining time, the remaining time is adjusted to the broadcast state of the broadcast segment in advance and switched to the broadcast channel.
[0060] After completing the communication segment, the system enters the broadcast segment according to the time slot, switches to the broadcast channel to receive broadcast information from unnetworked monitoring nodes, allocates unused time slots to unnetworked monitoring nodes according to the broadcast information, matches the time slot number with the monitoring node number, modifies the time slot mark to the used state, and replies with networking information packets to unnetworked monitoring nodes.
[0061] For each monitoring node, perform the following operations:
[0062] After each monitoring node is powered on, it switches to the default broadcast channel to send a broadcast message to the gateway to request network formation. The monitoring node is marked as a networked monitoring node or an unnetworked monitoring node depending on whether it is networked with the gateway.
[0063] After receiving the networking information packet, the unnetworked monitoring node parses the networking information packet to obtain the networking information, calculates the next wake-up time of the monitoring node based on the networking information, and wakes up when the next wake-up time arrives;
[0064] Network information includes the current data channel, time slot number S, and synchronization clock T.sync Calculate the next wake-up time T of the monitoring node. next The method is as follows:
[0065] .
[0066] Once the networked monitoring node is woken up, it switches to the data channel and determines whether the number of wake-up attempts has reached the monitoring data reporting cycle. Based on the determination result, it then communicates with the gateway.
[0067] Understandably, after the gateway starts, the data channel is divided into several time slots. The gateway polls each time slot in sequence according to its time slot number. Initially, all time slots are unused. Therefore, for the first time slot, which is unused, all time slots are adjusted to broadcast mode, and the gateway switches to the broadcast channel to receive network requests from each monitoring node. Based on the time the network requests are received, time slots are allocated to each monitoring node, matching the time slot number with the monitoring node number. After the first time slot, a polling order corresponding to the monitoring node and time slot number is established. The gateway polls the monitoring node number sequentially according to the time slot number, checking the time slot's marker. If the time slot's marker is unused, the current time is adjusted to the broadcast segment's broadcast mode, and the gateway switches to the broadcast channel. Figure 2 As shown, in the broadcast segment, the communication process between the gateway and the monitoring node is as follows:
[0068] Receive broadcast information from unnetworked monitoring nodes, allocate unused time slots to unnetworked monitoring nodes according to the broadcast information, associate the number of the time slot with the number of the unnetworked monitoring node, mark the time slot as in use, and reply with a networking information packet to the unnetworked monitoring node;
[0069] After powering on, the unnetworked monitoring node switches to the default broadcast channel to send a broadcast message to the gateway requesting network access. After receiving the network access information packet returned by the gateway in response to the network access request, it parses the network access information packet to obtain the network access information. Based on the network access information, it calculates the next wake-up time of the monitoring node and wakes up when it is in sleep mode, aligning with the time slot corresponding to the gateway.
[0070] When a time slot is polled and its marker is in use, that time slot is normally divided into a communication segment and a broadcast segment. The broadcast segment assigns time slot numbers to unnetworked monitoring nodes according to the process described above. In the communication segment, such as... Figure 3 As shown, the communication process between the gateway and the monitoring node is as follows:
[0071] Gateway side: Switch data channel to wait for data communication with the monitoring node corresponding to the current time slot. After the communication is completed, determine whether there is any remaining time in the current communication segment. If there is, adjust the remaining time to the broadcast state of the broadcast segment in advance, switch to the broadcast channel in advance, execute the above broadcast segment process, and then wait for the current time slot to be completed before polling the next time slot. Until the last time slot is polled, return to the first time slot.
[0072] On the monitoring node side: After a networked monitoring node is woken up, the wake-up count is incremented by 1. It switches to the data channel and checks whether the wake-up count has reached the preset monitoring data reporting cycle. If the wake-up count equals the preset monitoring data reporting cycle, monitoring data information is sent and the wake-up count is cleared; otherwise, a heartbeat message is sent, which includes the reporting interval and the monitoring node number. Furthermore, after data communication is completed (i.e., upon receiving a reply from the gateway), the next wake-up time is recalculated based on the network information packet (since each monitoring node is initially an unnetworked monitoring node upon power-up, each monitoring node sends a network request to the gateway and receives a network information packet after power-up; this network information packet remains valid after each network formation). The monitoring node then goes into sleep mode until the next wake-up time.
[0073] After a networked monitoring node sends heartbeat information or monitoring data to the gateway, if it does not receive a reply from the gateway within a preset delay time, it will resend the current message. When the number of resends exceeds the maximum number of transmissions or the cumulative timeout reaches the preset delay threshold, the networked monitoring node will be marked as an unnetworked monitoring node, and the gateway will mark the time slot number corresponding to the networked monitoring node as unused.
[0074] like Figure 4 As shown, the gateway communicates with multiple acquisition devices. The gateway uses an ESP32S3+SI24R1 2.4G module (supporting 126 communication channels). Each acquisition device is regarded as a monitoring node, and the monitoring nodes are numbered sequentially from 1 to 11. Each monitoring node is an ultra-low temperature sensor (-200~+50 degrees Celsius) + MAX31865 temperature measurement chip + SI24R1 2.4G module.
[0075] For gateways, data channels and time slots need to be configured, including:
[0076] 1. To address channel interference issues in industrial environments, a dynamic data channel selection scheme is adopted. Steps:
[0077] 1) After the gateway powers on, it sequentially scans the 123 preset communicable channels and selects the data channel according to the optimal channel rule. The specific process is as follows:
[0078] Continuously monitor channel occupancy status (RSSI value below the threshold indicates idle) for 300 milliseconds; filter the middle channel among three consecutive idle channels; if no consecutive unoccupied channels exist, randomly use an unoccupied channel; if all channels are occupied, randomly use a channel; broadcast channels use independent channels to avoid conflicts with data channels.
[0079] 2) such as Figure 5 As shown, the data channel is divided into 200 time slots per minute (60 seconds). Each time slot (300 milliseconds) contains a 200-millisecond data communication window (communication segment) and a 100-millisecond broadcast window (broadcast segment). The communication segment (first 200 milliseconds) communicates with networked nodes (transmitting information such as node temperature). The broadcast segment (last 100 milliseconds) configures unnetworked nodes to form a network (including the current data channel, time slot number, synchronization clock, etc.). If time slot 1 is marked as in use, it is divided into data segment 1 and broadcast segment 1. If time slot 2 is marked as unused, its data segment is also divided into a broadcast segment. Therefore, both segments of time slot 2 are broadcast 2. Following this pattern, if a time slot is marked as in use, it is divided into a data segment and a broadcast segment; if a time slot is marked as unused, it is entirely divided into broadcast segments.
[0080] 3) Poll in sequence according to time slot number (e.g., time slot 1 -> node 1, time slot 2 -> node 2), and reply to the monitoring node requesting network formation with a network formation packet in the broadcast window. The network formation packet contains the current data channel, time slot number, and synchronization clock; the data packet structure of the network formation packet is as follows:
[0081] The header field contains six fields totaling 4 bytes: payload type (4 bits), transmission direction (2 bits), whether it is finished (1 bit), whether it is responding (1 bit), and synchronization clock (24 bits).
[0082] Data field: contains payload length (1 byte), data type (1 byte), and data (N bytes), with a maximum of 28 bytes.
[0083] 2. For each monitoring node:
[0084] 1) After power-on, a broadcast request to establish a network is sent on the default broadcast channel;
[0085] 2) Parse the time slot number S and synchronization clock in the network information packet;
[0086] 3) Calculate the next wake-up time:
[0087] ;
[0088] 4) Upon waking from hibernation until the next wake-up time, networked monitoring nodes switch to data channel communication. Networked nodes only transmit and receive data during their assigned 200 milliseconds of their time slot, remaining in deep hibernation for the rest of the time;
[0089] To ensure clock synchronization between the gateway and the monitoring node, both the gateway and the monitoring node use a 32.768kHz clock source timer to perform clock synchronization configuration at regular intervals, with a timing unit of 1 / 32768 seconds, and the timer automatically flips over after 60 seconds.
[0090] like Figure 6 As shown, the communication timing design for multiple nodes is as follows:
[0091] Assuming there are three data acquisition devices (i.e., three monitoring nodes), and data acquisition device 1 is the node corresponding to the current time slot, then the function of data acquisition device 1 is reporting. The gateway's first 200 milliseconds are the communication segment, switching to the data channel to receive and send data to data acquisition device 1. After being woken up, the data acquisition device performs channel idle monitoring within 10 milliseconds, responds within 150 microseconds, and reports data. The data reporting time is less than or equal to 500 microseconds. Then it waits for a reply from the gateway, receiving the reply within 30 milliseconds. After the communication segment is complete, it switches to the broadcast channel. During the 100 milliseconds of the broadcast segment, the gateway receives broadcast information from unnetworked nodes. Upon arrival, a network information packet is sent. During the broadcast segment, acquisition device 2 powers on in the current time slot and needs to network with the gateway. Therefore, acquisition device 2 switches to the broadcast channel to broadcast a network request within the broadcast segment. It first performs an idle detection, then broadcasts a report to the gateway within 100 microseconds, and waits to receive the network information packet from the gateway within 30 milliseconds. When gateway 1 polls acquisition device 1, it receives the broadcast information from monitoring node 2 and replies with a network information packet containing the current data channel, synchronization clock, and time slot number S1. The gateway marks that time slot S1 has been networked, and acquisition device 2 marks the networked state, sets the next wake-up time, and enters sleep mode. The gateway performs a broadcast reception-network information packet transmission-broadcast reception cycle until the broadcast segment ends, and then enters the next time slot.
[0092] If the next time slot is assumed to be the time slot corresponding to acquisition device 3, and the number of wake-up times of acquisition device 3 has not reached the monitoring data reporting cycle, then after acquisition device 3 is woken up, it first performs idle monitoring, and then reports the heartbeat to the gateway within 100 microseconds, sends the heartbeat information, and receives the gateway's reply within 30 milliseconds.
[0093] Data communication is divided into heartbeats and monitoring data, distinguished by the number of node wake-ups. Once the number of wake-ups reaches the monitoring data reporting cycle, monitoring data is sent and the wake-up count is cleared; otherwise, a heartbeat is sent. After network monitoring nodes 1 and 3 are woken up, they determine whether the number of wake-ups has reached the monitoring data reporting cycle. If not, a heartbeat is sent; if so, monitoring data is sent and the wake-up count is cleared.
[0094] Both heartbeat information and monitoring data are transmitted on the data channel. Heartbeat information includes the reporting interval and monitoring node number; monitoring data includes the monitoring node number, reporting time, liquid level information, temperature information, battery information, and received signal strength. If a monitoring node does not receive a response from the gateway within 30 milliseconds, it will retransmit the current message, with a maximum of 3 retransmissions and a cumulative timeout of 200 milliseconds. After exceeding the maximum number of retransmissions or timeouts for 3 consecutive times, the monitoring node returns to a non-networked state.
[0095] When the time slot is marked as in use, the gateway switches the data channel to listen for data. If data is received, the remaining time in that interval is adjusted to broadcast mode. Otherwise, if the data segment in the time slot exceeds 200 milliseconds, it automatically switches to broadcast mode.
[0096] The gateway switches the broadcast channel to listen for broadcasts during time-slot broadcasting. If data is received, it continues to broadcast until the broadcast ends.
[0097] The gateway polls through 200 time slots in sequence before returning to the first time slot.
[0098] The dynamic channel selection algorithm and time-division synchronous communication mechanism proposed in this application enable the gateway to automatically select the optimal data channel, achieving polling of up to 200 monitoring nodes within one minute. Nodes are periodically and synchronously woken up with the gateway, reducing power consumption. The feasibility of polling with 200 nodes is demonstrated by example to verify the beneficial effects of this application.
[0099] 1) System parameters
[0100] The clock source accuracy used by monitoring nodes and gateways is ≤10ppm;
[0101] The data communication rate of the 2.4G modules of the gateway and monitoring nodes is ≥1Mbps;
[0102] 2.4G module over-the-air transmission rate of 1Mbps;
[0103] 2.4G module status switching time ≤130 microseconds;
[0104] 2.4G module status reading and processing ≤10 microseconds, and the overall latency ≤230 microseconds;
[0105] The monitoring node startup time is ≤1 millisecond;
[0106] When a monitoring node sends data, it monitors the current channel occupancy and waits for ≤10 milliseconds.
[0107] Unnetworked monitoring nodes send broadcast information, and the broadcast information transmission time is ≤100 microseconds;
[0108] If the number of wake-up attempts of the network monitoring node does not reach the monitoring data reporting cycle, a heartbeat message is sent, and the air transmission time of the heartbeat message is ≤100 microseconds.
[0109] When the number of wake-up calls of the network monitoring node reaches the monitoring data reporting cycle, it sends monitoring data information, and the air transmission time of the monitoring data information is ≤400 microseconds;
[0110] The communication error between the monitoring node and the gateway is ≤1.63 milliseconds, and the overall synchronization error of 200 nodes is <1%.
[0111] 2) Data channel communication stability
[0112] Analysis based on actual experience values:
[0113] Assuming the device operates in a common channel 6 (a congested area for Wi-Fi / BT), the success rate is less than 1%.
[0114] When the device operates on a single data channel, the success rate is less than 30%.
[0115] When the device operates on three consecutive data channels, the success rate is less than 70%.
[0116] 3) Node sleep power consumption:
[0117] The MUC has a standby power consumption of 77uA for 59.16 seconds; the 2.4G module transmits 14mA for 2 milliseconds; the 2.4G module receives 16mA for 10 milliseconds; the MCU operates at a power consumption of 3.4mA for 720 milliseconds, with a total power consumption of 0.12mAh, which is more than 99% lower than the continuous power consumption of 19.4mAh.
[0118] Example 2
[0119] This embodiment 2 provides an intelligent autonomous networking monitoring system based on optimal channel selection, including a gateway side and several monitoring nodes, wherein:
[0120] The gateway side includes:
[0121] The optimal channel selection module is used to scan multiple preset communicable channels after the gateway starts up, select the optimal channel as the data channel from the multiple communicable channels, divide the data channel into several time slots, and divide each time slot into a communication segment and a broadcast segment.
[0122] The monitoring module is used to poll the communication segment and broadcast segment of each time slot in order of time slot number. If the currently polled time slot is marked as in use, it switches to the data channel.
[0123] If the current polling time slot is marked as unused, the current time is adjusted in advance to the broadcast state of the broadcast segment, and the system is directly switched to the broadcast channel;
[0124] The communication module is used to communicate with the networked monitoring nodes corresponding to the current time slot via the data channel in the data segment.
[0125] The broadcast module is used to receive broadcast information from unnetworked monitoring nodes on the broadcast channel of the broadcast segment, allocate unused time slot numbers to the current unnetworked monitoring nodes according to the broadcast information, mark the time slot as in use, and reply with networking information packets to the unnetworked monitoring nodes.
[0126] Each monitoring node includes:
[0127] The broadcast monitoring module is used to switch to the default broadcast channel after the monitoring node is powered on to send broadcast information to the gateway to request networking. The monitoring node is marked as a networked monitoring node or an unnetworked monitoring node depending on whether it is networked with the gateway.
[0128] The networking module is used to receive networking information packets, parse the networking information packets to obtain networking information, calculate the next wake-up time of the monitoring nodes based on the networking information, and wake up when the nodes are in sleep mode until the next wake-up time.
[0129] The data upload module is used to switch the networked monitoring nodes to the data channel after they are woken up, determine whether the number of wake-up attempts has reached the monitoring data reporting cycle, and communicate with the gateway based on the determination result.
[0130] Example 3
[0131] A computer-readable storage medium is provided, comprising:
[0132] One or more processors;
[0133] A storage unit is used to store one or more programs, which, when executed by one or more processors, enable the one or more processors to implement the intelligent autonomous networking monitoring method based on optimal channel selection as described in Embodiment 1.
[0134] The above description is merely a preferred embodiment of the present invention and is not intended to limit the present invention in any way. Based on the technical essence of the present invention, any simple modifications, equivalent substitutions, and improvements made to the above embodiments within the spirit and principles of the present invention shall still fall within the protection scope of the present invention.
Claims
1. A method for intelligent autonomous network monitoring based on optimal channel selection, characterized in that, Specifically, the following steps are included: After the gateway starts, it scans multiple preset communicable channels, selects the optimal channel as the data channel, divides the data channel into several time slots, and divides each time slot into a communication segment and a broadcast segment. The specific process for selecting the optimal channel is as follows: S11. After the gateway starts, it sequentially scans multiple preset communication channels and continuously monitors the occupancy status of each channel within a preset time period to obtain the usage status of each data channel. S12. Select three consecutive communication channels that are idle from multiple communication channels, and take the middle communication channel among the three consecutive idle communication channels as the data channel. Within each time slot, the gateway switches the data channel in the data segment to communicate with the networked monitoring node corresponding to the current time slot. In the broadcast segment, the broadcast channel is switched to receive broadcast information from unnetworked monitoring nodes, and an unused time slot is allocated to the current unnetworked monitoring node according to the broadcast information. This time slot is then marked as in use, and a networking information packet is sent back to the unnetworked monitoring node. After each monitoring node is powered on, it switches to the default broadcast channel to send a broadcast message to the gateway to request network formation. The monitoring node is marked as a networked monitoring node or an unnetworked monitoring node depending on whether it is networked with the gateway. After receiving the networking information packet, the unnetworked monitoring node parses the networking information packet to obtain the networking information, calculates the next wake-up time of the monitoring node based on the networking information, and wakes up when the next wake-up time arrives; After the networked monitoring node is woken up, it switches to the data channel and determines whether the number of wake-up attempts has reached the monitoring data reporting cycle. Based on the determination result, it communicates with the gateway. When a networked monitoring node is woken up, it switches to the data channel and determines whether the number of wake-up attempts has reached the monitoring data reporting cycle. If the monitoring data reporting cycle has been reached, it sends monitoring data information to the gateway and clears the wake-up count. If the monitoring data reporting cycle has not been reached, it sends heartbeat information to the gateway. The heartbeat information includes the reporting interval and the monitoring node number.
2. The intelligent autonomous networking monitoring method based on optimal channel selection according to claim 1, characterized in that, Network information includes the current data channel, time slot number S, and synchronization clock T. sync Calculate the next wake-up time T of the monitoring node. next The method is as follows: 。 3. The intelligent autonomous networking monitoring method based on optimal channel selection according to claim 1, characterized in that, After a networked monitoring node sends heartbeat information or monitoring data to the gateway, if it does not receive a reply from the gateway within a preset delay time, it will resend the current message. When the number of resends exceeds the maximum number of transmissions or the cumulative timeout reaches the preset delay threshold, the networked monitoring node will be marked as an unnetworked monitoring node, and the gateway will mark the time slot number corresponding to the networked monitoring node as unused.
4. The intelligent autonomous networking monitoring method based on optimal channel selection according to claim 1, characterized in that, When the gateway communicates with the networked monitoring nodes in the communication segment, it determines whether there is any remaining time after the communication segment has finished receiving the data. If there is remaining time, it adjusts all remaining time to the broadcast state of the broadcast segment in advance.
5. The intelligent autonomous networking monitoring method based on optimal channel selection according to claim 1, characterized in that, Each time slot is 300ms, with the first 200ms of each time slot being the communication segment and the last 100ms being the broadcast segment.
6. An intelligent autonomous networking monitoring system based on optimal channel selection, characterized in that, Includes the gateway side and several monitoring nodes, among which: The gateway side includes: The optimal channel selection module is used to scan multiple preset communicable channels after the gateway starts up, select the optimal channel as the data channel from the multiple communicable channels, divide the data channel into several time slots, and divide each time slot into a communication segment and a broadcast segment. The specific process for selecting the optimal channel is as follows: After the gateway starts, it sequentially scans multiple preset communication channels and continuously monitors the occupancy status of each channel within a preset time period to obtain the usage status of each data channel. Select three consecutive idle communication channels from multiple communication channels, and use the middle communication channel among the three consecutive idle communication channels as the data channel. The monitoring module is used to poll the communication segment and broadcast segment of each time slot in order of time slot number. If the currently polled time slot is marked as in use, it switches to the data channel. If the current polling time slot is marked as unused, then switch directly to the broadcast channel; The communication module is used to communicate with the networked monitoring nodes corresponding to the current time slot via the data channel in the data segment. The broadcast module is used to receive broadcast information from unnetworked monitoring nodes on the broadcast channel of the broadcast segment, allocate unused time slot numbers to the current unnetworked monitoring nodes according to the broadcast information, mark the time slot as in use, and reply with networking information packets to the unnetworked monitoring nodes. Each monitoring node includes: The broadcast monitoring module is used to switch to the default broadcast channel after the monitoring node is powered on to send broadcast information to the gateway to request networking. The monitoring node is marked as a networked monitoring node or an unnetworked monitoring node depending on whether it is networked with the gateway. The networking module is used to receive networking information packets, parse the networking information packets to obtain networking information, calculate the next wake-up time of the monitoring nodes based on the networking information, and wake up when the nodes are in sleep mode until the next wake-up time. The data upload module is used to switch the networked monitoring nodes to the data channel after they are woken up, determine whether the number of wake-up times has reached the monitoring data reporting cycle, and communicate with the gateway based on the determination result. When a networked monitoring node is woken up, it switches to the data channel and determines whether the number of wake-up attempts has reached the monitoring data reporting cycle. If the monitoring data reporting cycle has been reached, it sends monitoring data information to the gateway and clears the wake-up count. If the monitoring data reporting cycle has not been reached, it sends heartbeat information to the gateway. The heartbeat information includes the reporting interval and the monitoring node number.
7. A computer-readable storage medium, characterized in that, include: One or more processors; A storage unit is used to store one or more programs, which, when executed by one or more processors, enable the one or more processors to implement an intelligent autonomous networking monitoring method based on optimal channel selection as described in any one of claims 1-5.
Citation Information
Patent Citations
Multichannel wireless mesh network channel distribution method
CN102355670A
Synchronous time division multiple access method suitable for wireless sensing network
CN104968029A