A node monitoring method, wireless network, device, and readable storage medium.

By monitoring the transmission and reception of neighboring nodes and performing Bluetooth location tracking, the problem of difficulty in identifying node anomalies in wireless mesh networks is solved, thus improving the efficiency of node anomaly identification and processing.

CN115835260BActive Publication Date: 2026-03-06ZHEJIANG DAHUA TECH CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202211366451.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-10-31
Publication Date
2026-03-06
Estimated Expiration
2042-10-31

AI Technical Summary

Technical Problem

In existing wireless mesh networks, node anomalies are difficult to identify in a timely manner, resulting in low information transmission efficiency and easy network communication failure.

Method used

By monitoring the sending and receiving status of neighboring nodes, abnormal information is generated and reported to the gateway. Bluetooth positioning is used to determine the location of abnormal nodes, thereby improving the efficiency of node anomaly identification.

Benefits of technology

It enables timely identification and handling of node anomalies, reduces the impact on network communication, and improves the efficiency of node anomaly identification in wireless networks.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115835260B_ABST
    Figure CN115835260B_ABST
Patent Text Reader

Abstract

This application discloses a node monitoring method, a wireless network, a device, and a readable storage medium. The method includes: a monitoring node selecting at least one neighboring node from its wireless network as the monitored node; monitoring whether there are any abnormalities in the transmission and reception of the monitored node; and generating abnormal information about the monitored node in response to the abnormality in its transmission and reception, and reporting the abnormal information to the gateway of the wireless network. The above method uses neighboring nodes that can directly communicate with the monitored node as monitoring nodes to monitor the monitored node. It can quickly generate abnormal information and report it to the gateway after an abnormality occurs, thereby realizing timely identification and detection of node abnormalities and improving the identification efficiency of node abnormalities in the wireless network.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of wireless communication technology, and in particular to a node monitoring method, wireless network, device, and readable storage medium. Background Technology

[0002] A wireless mesh network (WMN) is a dynamic, self-organizing network in which nodes automatically establish and maintain connections with other nodes. This makes wireless mesh networks highly robust. If a node in the network fails and communication is abnormal, information can be transmitted through other wireless routers in the network without causing network paralysis.

[0003] To avoid affecting the long-term operation of wireless mesh networks, it is necessary to identify and address any abnormalities in nodes as soon as possible. However, in existing technologies, the occurrence of abnormalities in several nodes in the network does not affect information transmission. Node abnormalities are often difficult to detect in a timely manner and can only be discovered when information transmission in the network is affected. This results in low efficiency in identifying node faults. Summary of the Invention

[0004] The main technical problem addressed by this application is to provide a node monitoring method, wireless network, device, and readable storage medium that can improve the efficiency of identifying node anomalies in wireless mesh networks.

[0005] To address the aforementioned technical problems, this application provides a node monitoring method, which includes: a monitoring node selecting at least one neighboring node from its local wireless network as the monitored node; monitoring whether there are any abnormalities in the transmission and reception of the monitored node; and generating abnormal information about the monitored node in response to the abnormality in its transmission and reception, and reporting the abnormal information to the gateway of the wireless network.

[0006] The process of monitoring whether the sending and receiving of the monitored node is abnormal includes any one or more of the following steps: determining whether the monitored node responds when the response conditions are met; if the monitored node does not respond, the monitored node is abnormal; determining whether a status notification message sent by the monitored node is received after a first preset time interval; the status notification message indicates that the monitored node is working normally; if no status notification message is received within the first preset time interval, it indicates that the monitored node is sending abnormally; and determining whether the monitored node is receiving abnormally based on the reception of non-response messages; non-response messages are sent by the monitored node and indicate that the monitored node has not received a response to the target message sent by the monitored node.

[0007] The process of determining whether a monitored node should respond when the response conditions are met includes at least one of the following steps: in response to receiving a first request message broadcast by another node or gateway in the wireless network, monitoring whether the monitored node sends a message; if the monitored node does not send a message within a second preset time, sending a probe message to the monitored node, and determining whether the monitored node responds to the probe message.

[0008] The target message is a second request message sent to other nodes or gateways in the wireless network. Based on the reception of the non-response message, it is determined whether the monitored node has a reception anomaly, including: in response to receiving the non-response message and the monitored node sending normally within a preset historical time, it is determined that the monitored node has a reception anomaly.

[0009] The target message is a status notification message sent to the monitoring node. Before determining whether the monitored node has a reception anomaly based on the reception of the non-response message, monitoring whether the transmission and reception of the monitored node is abnormal also includes: receiving the status notification message sent by the monitored node every third preset time interval; sending a reply message to the monitored node in response to the status notification message, where a non-response message indicates that the monitored node has not received the reply message; and determining whether the monitored node has a reception anomaly based on the reception of the non-response message, including: determining that the monitored node has a reception anomaly in response to receiving the non-response message.

[0010] Before selecting at least one neighboring node from the wireless network as the monitored node, the process further includes: receiving target information sent by several neighboring nodes in the wireless network and sending the reception status of the target information of each neighboring node to the gateway; selecting at least one neighboring node from the wireless network as the monitored node includes: receiving a monitoring instruction sent by the gateway, the monitoring instruction including a node identifier; determining itself as the monitoring node, and selecting the target neighboring node corresponding to the node identifier from among several neighboring nodes as the corresponding monitored node, wherein the gateway determines whether to send a monitoring instruction to the monitoring node and determines the node identifier in the monitoring instruction based on the reception status of the monitoring node.

[0011] The reception status includes the received signal strength of the target information. When the received signal strength of the target information sent by the monitoring node to the target neighbor node meets the preset strength condition, the gateway determines to send a monitoring instruction to the monitoring node and use the identifier of the target neighbor node as the node identifier in the monitoring instruction. The node identifier of the monitored node includes the communication address of the monitored node.

[0012] The process of generating abnormal information about the monitored node includes: determining a first relative positional relationship between the monitored node and the monitored node based on the wireless communication signal between them; generating abnormal information containing the first relative positional relationship; the path through which the abnormal information is reported to the gateway is the reporting path, and the abnormal information forwarded by each node in the reporting path includes: the first relative positional relationship and the second relative positional relationship between each adjacent node in the currently transmitted path, the currently transmitted path being the path composed of nodes that the abnormal information has already passed in the reporting path, and the abnormal information being used to enable the gateway to determine the location of the monitored node with the abnormality based on the first relative positional relationship and the second relative positional relationship.

[0013] To address the aforementioned technical problems, this application provides a node monitoring method, which includes: a gateway sending a monitoring instruction to a monitoring node to enable the monitoring node to identify the corresponding monitored node and monitor whether there are any abnormalities in the transmission and reception of the monitored node; receiving abnormal information of the monitored node sent by the monitoring node; and determining that there is an abnormality in the monitored node based on the abnormal information.

[0014] To solve the above-mentioned technical problems, one technical solution adopted in this application is: to provide a wireless mesh network, including a gateway, a monitoring node, and a monitored node, wherein the monitoring node is used to perform any of the above-mentioned node monitoring methods with the monitoring node as the execution subject to monitor the monitored node, and the gateway is used to perform the above-mentioned node monitoring method with the gateway as the execution subject to monitor the monitored node.

[0015] To solve the above-mentioned technical problems, another technical solution adopted in this application is: to provide an electronic device, including a memory and a processor coupled to each other, wherein the processor is used to execute program instructions stored in the memory to implement any of the above-mentioned node monitoring methods with the execution subject as the monitoring node or the above-mentioned node monitoring methods with the execution subject as the gateway.

[0016] To solve the above-mentioned technical problems, another technical solution adopted in this application is: to provide a computer-readable storage medium storing program instructions thereon, wherein when the program instructions are executed by a processor, they implement any of the above-mentioned node monitoring methods with the monitoring node as the execution subject or the above-mentioned node monitoring methods with the gateway as the execution subject.

[0017] The above scheme determines the monitoring relationship between neighboring nodes and uses the monitoring nodes to monitor whether there are any abnormalities in the transmission and reception of the monitored nodes. If an abnormality occurs, the monitoring node can quickly detect the abnormality, generate abnormal information, and report it to the gateway, so that the gateway can quickly know that the monitored node has an abnormality. This enables timely identification and detection of node abnormalities after they occur, improving the identification efficiency of node abnormalities in the wireless network. Attached Figure Description

[0018] Figure 1 This is a flowchart illustrating an embodiment of the node monitoring method of this application;

[0019] Figure 2 This is a flowchart illustrating another embodiment of step S110 of this application;

[0020] Figure 3 This is a flowchart illustrating another embodiment of step S120 of this application;

[0021] Figure 4 This is a flowchart illustrating another embodiment of step S120 of this application;

[0022] Figure 5 This is a flowchart illustrating another embodiment of step S120 of this application;

[0023] Figure 6 This is a flowchart illustrating another embodiment of step S130 of this application;

[0024] Figure 7 This is a flowchart illustrating another embodiment of the node monitoring method of this application;

[0025] Figure 8 This is a schematic diagram of an embodiment of the wireless network in this application;

[0026] Figure 9 This is a schematic diagram of the framework of an embodiment of the electronic device of this application;

[0027] Figure 10 This is a schematic diagram of the framework of an embodiment of the node monitoring device of this application;

[0028] Figure 11 This is a schematic diagram of another embodiment of the node monitoring device of this application;

[0029] Figure 12 This is a schematic diagram of a framework of an embodiment of the computer-readable storage medium of this application. Detailed Implementation

[0030] To make the objectives, technical solutions, and effects of this application clearer and more explicit, the following detailed description is provided with reference to the accompanying drawings and embodiments. In the following description, specific details such as particular system structures, interfaces, and technologies are set forth for illustrative purposes rather than for limiting purposes, in order to provide a thorough understanding of this application.

[0031] In this document, the term "and / or" is merely a description of the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A existing alone, A and B existing simultaneously, and B existing alone. Additionally, the character " / " generally indicates that the preceding and following related objects have an "or" relationship. Furthermore, "many" in this document means two or more. Moreover, the term "at least one" in this document means any combination of at least two of any one or more of a plurality of objects. For example, including at least one of A, B, and C can mean including any one or more elements selected from the set consisting of A, B, and C.

[0032] Please see Figure 1 , Figure 1 This is a flowchart illustrating an embodiment of the node monitoring method of this application. The node monitoring method of this application can be used to monitor for anomalies in node devices in a wireless network. Specifically, it may include the following steps:

[0033] Step S110: Select at least one neighboring node from the wireless network as the monitored node corresponding to the monitoring node.

[0034] In this application, the wireless network includes a gateway and multiple nodes. Specifically, the wireless network can be a Wireless Mesh Network (WMN), a dynamic and self-organizing network where nodes automatically establish and maintain connections with other nodes. Node devices can include, but are not limited to, wireless routers, IoT (Internet of Things) devices, etc. The gateway is used to connect this wireless network with other wireless networks. It is understood that each node in the wireless network can act as a monitored node, corresponding to at least one monitoring node. This embodiment uses the steps involved in node monitoring by a single monitoring node as an example for illustration.

[0035] For the monitored node, the first step is to identify the corresponding monitoring node, and then the monitoring node performs anomaly monitoring on the monitored node. For the monitoring node, the first step is to identify the monitored node it needs to monitor, and then perform anomaly monitoring on the monitored node.

[0036] Furthermore, in order to promptly monitor and determine whether there are any anomalies in the monitored nodes, the monitoring node and the monitored node can be neighbors. They are neighbors of each other, meaning that the monitoring node and the monitored node can communicate directly. This eliminates the need for the monitoring node to forward information through other nodes. The monitoring node can directly monitor whether there are any anomalies in the transmission and reception of the monitored node, which is beneficial for quickly discovering and handling anomalies in the monitored node and improving the efficiency of node anomaly handling.

[0037] It is understandable that the monitoring node can monitor the monitored node based on the monitoring node itself being free of abnormalities. If the monitoring node becomes abnormal, a new monitoring node can be replaced for the monitored node. The step of determining the corresponding monitored node can be performed after the wireless network is set up. At this time, all nodes can be considered to be in a normal state, and therefore the monitoring node in this embodiment is also free of abnormalities and can function as a monitoring node. Furthermore, a corresponding monitoring node can be determined for each node, enabling anomaly monitoring of each node in the wireless network, timely detection and handling of node anomalies in the wireless network.

[0038] Step S120: Monitor whether there are any abnormalities in the transmission and reception of the monitored node.

[0039] After identifying the nodes to be monitored, the monitoring node checks for any anomalies in the transmission and reception of the monitored nodes. If an anomaly is detected in the transmission and reception of the monitored nodes, step S130 is executed.

[0040] If at least one of the receiving and sending operations of the monitored node is abnormal, then the monitoring node's receiving and sending operations can be considered abnormal.

[0041] Step S130: In response to an anomaly in the transmission and reception of the monitored node, generate anomaly information for the monitored node and report the anomaly information to the gateway of the wireless network.

[0042] When a monitoring node detects an anomaly in the transmission and reception of a monitored node, it can notify the gateway of the anomaly, so that users are aware of the node's abnormality and can take timely action.

[0043] In current wireless networks, if some nodes malfunction, information can be relayed through other healthy nodes instead of the malfunctioning node. When network communication is normal, it's difficult to detect these malfunctions in a timely manner. Only when nodes become unable to communicate can it be confirmed that there are malfunctioning nodes in the network. By this time, a certain number of malfunctioning nodes or critical nodes have already failed, leading to network communication interruption.

[0044] The above scheme determines the monitoring relationship between neighboring nodes and uses the monitoring nodes to monitor whether there are any abnormalities in the transmission and reception of the monitored nodes. If an abnormality is found, the monitoring node generates anomaly information and reports it to the gateway, so that the gateway can be aware that the monitored node has an anomaly. Compared with identifying node anomalies only after communication is affected, this scheme can identify and detect node anomalies in a timely manner after they occur, which can reduce the impact of node anomalies on the network, improve the efficiency of node anomaly identification in wireless networks, and reduce the occurrence of communication paralysis.

[0045] Please see Figure 2 , Figure 2 This is a flowchart illustrating another embodiment of step S110 of this application.

[0046] It should be noted that in this embodiment, the gateway determines the monitoring node corresponding to each node in the wireless network. Specifically, each node is treated as a monitored node, and the gateway selects a neighboring node for each monitored node as its corresponding monitoring node. Furthermore, in this embodiment, the gateway can select a monitoring node from the neighboring nodes of the monitored node based on the signal strength between nodes.

[0047] In some embodiments, the determination of monitoring nodes and monitored nodes in a wireless network can be performed by one or more devices, which may include, but are not limited to, gateways, and may also include one or more node devices.

[0048] In some embodiments, the criteria by which the gateway selects a corresponding monitoring node from the neighboring nodes of the monitored node can be adjusted according to user needs, and may include, but are not limited to, signal strength between nodes, communication history between nodes, and location relationship between nodes.

[0049] The following example illustrates how to determine the monitoring relationship between two nodes. In this process, the monitoring node identifies itself as a monitoring node and determines the object it needs to monitor, while the monitored node identifies the corresponding monitoring node.

[0050] To enable the gateway to determine the signal strength between a monitored node and its neighboring nodes, and thus identify the monitoring node, the monitored node receives target information sent by its neighboring nodes and determines the reception status of the target information, then sends the reception status to the gateway. The reception status can be used by the gateway to select a monitoring node; in this embodiment, the reception status includes the signal strength of the target information. Upon receiving the reception status from the monitored node, the gateway determines one of the monitored node's neighboring nodes as the monitoring node and sends a monitoring instruction to that monitoring node. More specifically, the gateway can select the sender of the target information whose signal strength meets preset requirements as the monitoring node for the monitored node.

[0051] From a wireless network perspective, each node acts as both a monitored node and a monitoring node for another node. To determine the monitoring and being monitored relationships among all nodes, each node sends target information to each of its neighboring nodes, and each node also receives target information from each of its neighboring nodes, determines the reception status, and sends the reception status to the gateway. The gateway receives the reception status from each node and, based on the reception status, determines a neighboring node as the monitoring node for each node.

[0052] Understandably, the reception data corresponds to the criteria used by the gateway to select monitoring nodes, and can be adjusted according to the user's actual needs. For example, if the gateway selects monitoring nodes based on the communication history between nodes, then the reception data can include the communication history between the target information sending node and the monitored node.

[0053] Specifically, step S110 performed by the monitoring node may include:

[0054] Step S211: Receive monitoring instructions sent by the gateway.

[0055] Understandably, before a monitoring node selects at least one neighboring node from its wireless network as the monitored node, it will also send target information to its neighboring nodes so that the neighboring nodes can determine the reception status and select the corresponding monitoring node.

[0056] The monitoring indication includes a node identifier, which is used to identify the monitored node and to allow the monitoring node to determine the monitored node from several neighboring nodes based on the node identifier.

[0057] After identifying the monitoring node, the gateway determines to send a monitoring instruction to the monitoring node and use the node identifier of the target neighbor node as the node identifier in the monitoring instruction. The node that receives the monitoring instruction is instructed to perform anomaly monitoring on the node in the monitoring instruction.

[0058] Step S212: Determine itself as a monitoring node, and select the target neighbor node corresponding to the node identifier from among several neighbor nodes as the corresponding monitored node.

[0059] Based on the monitoring instructions, the monitoring node can identify itself as a monitoring node. According to the node identifier in the monitoring instructions, it selects the target neighbor node corresponding to the node identifier from its several neighbor nodes as the corresponding monitored node and performs anomaly monitoring on it.

[0060] In some embodiments, before selecting at least one neighboring node from its wireless network as the monitored node, the monitoring node may also receive target information sent by several neighboring nodes in the wireless network and send the reception status of the target information of each neighboring node to the gateway, thereby making itself a monitored node, so that the gateway can select the corresponding monitoring node for it based on its reception status.

[0061] In a specific application scenario, node A is a neighbor of nodes B, C, and D, and node D is also a neighbor of node E. Each node sends target information to its neighbors and receives target information sent by its neighbors. It then sends the reception status of the received target information to the gateway. The gateway determines the monitoring node corresponding to a given node based on the reception status of that node. For example, node A sends target information to nodes B, C, and D respectively, while node D sends target information to nodes A and E. Further, taking node A as an example, node A sends target information to nodes B, C, and D respectively, and receives target information from nodes B, C, and D. It then sends the reception status of the target information sent by nodes B, C, and D to the gateway, including the signal strength of the target information and the node identifier of the sender. The gateway receives the target information about nodes B, C, and D sent by node A. It selects the sender with the strongest signal strength as the monitoring node for node A. Based on the node identifier in the reception information, the gateway sends a monitoring instruction to node B. The monitoring instruction includes the node identifier of node A and is used to notify node B to act as the monitoring node for node A.

[0062] In some embodiments, the signal strength during reception can be represented by, but is not limited to, the received signal strength indication via RSSI (Received Signal Strength Indicator). The node identifier can be an identifier that uniquely identifies the node, such as the node's communication address. Specifically, it can include, but is not limited to, at least one of a MAC address (Media Access Control Address) and a Mesh short address (a virtual address uniformly assigned by the gateway in a Mesh network for addressing between nodes).

[0063] In some embodiments, the "trigger frame" can be used as target information. The "trigger frame" is a privately defined data packet, and its format and content can be determined by the node itself. The "trigger frame" contains a TTL field (Time To Live), which indicates the maximum number of network segments that the "trigger frame" is allowed to pass through before it is discarded. The TTL value is decremented by 1 each time it is relayed, until it reaches 0, at which point it will no longer be forwarded. When the TTL value of the "trigger frame" used as target information is 0, the target information can only be received by neighboring nodes and cannot be forwarded again.

[0064] Please see Figure 3 , Figure 3 This is a flowchart illustrating another embodiment of step S120 of this application. Specifically, step S120 performed by the monitoring node may include:

[0065] Step S321: Determine whether the monitored node should respond if the response conditions are met.

[0066] If the result of the judgment in step S321 is negative, then step S322 is executed, which can confirm that there is an anomaly in the monitored node.

[0067] In some embodiments, meeting the response conditions may include the monitoring node receiving a first request message broadcast by another node or gateway in the wireless network. If both the monitoring node and the monitored node are functioning normally, they should respond to the first request message. The monitoring node can monitor whether the monitored node sends a message. If the monitored node sends a message, it can be assumed that the monitored node has responded under the condition that the response conditions are met; if the monitored node does not send a message, it can be assumed that the monitored node has not responded under the condition that the response conditions are met.

[0068] In some embodiments, meeting the response conditions may further include the monitoring node detecting that the monitored node has not sent a message within a second preset time period and sending a probe message to the monitored node. If the monitored node is operating normally, it should respond to the probe message. The monitoring node can monitor whether the monitored node responds to the probe message; if it responds, then it can be considered that the monitored node has responded under the condition of meeting the response conditions; if it does not respond, then it can be considered that the monitored node has not responded under the condition of meeting the response conditions.

[0069] It should be noted that the response conditions can include, but are not limited to, the two situations mentioned above, and multiple response conditions can also be used for monitoring at the same time.

[0070] Step S322: Determine that there is an anomaly in the monitored node.

[0071] If a monitored node fails to respond when the response conditions are met, it can be determined that at least one of the monitored node's receiving and sending operations is abnormal.

[0072] Please see Figure 4 , Figure 4 This is a flowchart illustrating another embodiment of step S120 of this application. Specifically, step S120 performed by the monitoring node may include:

[0073] Step S421: Determine whether a status notification message sent by the monitored node has been received after each first preset time.

[0074] If the result of the judgment in step S421 is negative, then step S422 is executed, which can determine that the monitored node has a transmission anomaly.

[0075] In this embodiment, the monitored node needs to send a status notification message to the monitoring node every first preset time interval to indicate that the monitored node is working normally. Therefore, if no status notification message is received from the monitored node within the first preset time interval, it indicates that the monitored node has a transmission abnormality.

[0076] Step S422: Determine that the monitored node has a transmission anomaly.

[0077] In a specific application scenario, under normal circumstances, the monitored node needs to send a keep-alive packet to the monitoring node at a first preset time interval to indicate that the monitored node is working normally. Based on this, the monitoring node can determine whether it has received the keep-alive packet sent by the monitored node after each first preset time interval. If not, it can be determined that there is a sending anomaly in the monitored node.

[0078] Please see Figure 5 , Figure 5 This is a flowchart illustrating another embodiment of step S120 of this application. Specifically, step S120 performed by the monitoring node may include:

[0079] Step S521: Receive the non-response message sent by the monitored node.

[0080] It should be noted that the monitored node can send target messages to nodes or gateways in the wireless network. If the monitored node does not receive a response to the target message within a certain period of time, it can send a non-response message to the monitored node, indicating that the monitored node has not received a response to the target message and that the monitored node has encountered an anomaly.

[0081] In some embodiments, in order to rule out the possibility that the node receiving the target message is abnormal, the unresponsive message can also take into account multiple target messages. If multiple target messages sent by the monitored node do not receive a timely response, an unresponsive message can be sent to the monitoring node.

[0082] Step S522: Based on the reception status of unresponding messages, determine whether there is a reception anomaly in the monitored node.

[0083] In some embodiments, the target message may be a second request message sent to other nodes or gateways in the wireless network besides the monitoring node. Therefore, after receiving a non-response message from the monitored node, if the monitoring node determines that the monitored node sent messages normally within a preset historical time period, it can be concluded that the monitored node has a reception anomaly.

[0084] In some embodiments, the target message can also be a status notification message sent to the monitoring node, indicating that the monitored node is working normally. Typically, the monitored node sends a status notification message to the monitoring node every third preset time interval. Upon receiving the status notification message, the monitoring node sends a reply message to the monitored node, indicating that it has received the status notification message. The monitored node, in turn, sends a response message to the monitoring node, indicating that it has received the response message. If the monitored node does not receive a reply message, it sends a non-response message to the monitoring node. Upon receiving the non-response message, the monitoring node determines that the monitored node has a reception anomaly. Since it has already received the status notification message from the monitored node, indicating that the monitored node's transmission is normal, it is not necessary to determine whether the monitored node has transmitted normally within a preset historical event period; receiving the non-response message is sufficient to directly determine that the monitored node has a reception anomaly.

[0085] It should be noted that the durations of the first preset time, second preset time, third preset time, and preset historical time in the above embodiments can all be adjusted according to user needs, and the durations of different time periods can be the same or different. Furthermore, the first preset time and the third preset time can be the same.

[0086] In a specific application scenario, the monitored node needs to send a keep-alive packet to the monitoring node every third preset time interval to indicate that the monitored node is working normally. Upon receiving the keep-alive packet, the monitoring node sends a reply packet to the monitored node, indicating that it has received the keep-alive packet. The monitored node, in turn, sends an acknowledgment packet to the monitoring node, indicating that it has received the reply packet. If the monitored node does not receive a reply packet, it can send a no-response message to the monitoring node, indicating that its keep-alive packet did not receive a response from the monitoring node. If the monitoring node receives a no-response message, it can directly determine that the monitored node has a reception anomaly.

[0087] It should be noted that the various criteria for determining node anomalies in the aforementioned embodiments can be applied simultaneously. As long as one of the node anomaly conditions is met, it can be determined that the node is abnormal. Furthermore, in the above scheme, the reception of non-response messages and status notification messages can further determine whether the node has a sending or receiving anomaly, accurately identifying the type of node anomaly. This allows for accurate handling of the corresponding anomaly type, improving the efficiency of handling wireless network node anomalies.

[0088] Please see Figure 6 , Figure 6 This is a flowchart illustrating another embodiment of step S130 of this application. Specifically, step S130 performed by the monitoring node may include:

[0089] Step S631: Determine the first relative positional relationship between the monitored node and the monitored node based on the wireless communication signal between the monitored node and the monitored node.

[0090] It should be noted that step S631 can be executed at any time after the monitoring relationship between the monitoring node and the monitored node is determined. In some embodiments, after the wireless network is established, the monitoring relationship between each node in the wireless network is determined, a corresponding monitoring node is assigned to each node, and then the positional relationship between each pair of monitoring nodes and the monitored node is determined, thereby obtaining several first relative positional relationships. In this embodiment, the execution is described as follows after it is determined that there is an anomaly in the transmission and reception of the monitored node.

[0091] In some cases, node devices are small in size, lack voice alarm modules, and only have LED lights, making them difficult to spot. To enable users to quickly locate and handle abnormal nodes, the location information of the abnormal node can be notified to the gateway along with the abnormal node. This allows the gateway to determine the location of the abnormal node based on its location information, which helps users find the abnormal node quickly.

[0092] Specifically, monitoring nodes can forward abnormal information to the gateway through several nodes, and the path for reporting abnormal information to the gateway is the reporting path.

[0093] In some embodiments, the abnormal information includes the location information of the abnormal node, which can be reflected by the first relative positional relationship between the monitoring node and the monitored node and the relative positional relationship between each adjacent node in the reporting path.

[0094] It should be noted that the relative positions of adjacent nodes in the reporting path can also be determined through wireless communication signals between the two nodes. Determining the relative positions of adjacent nodes in the reporting path can be performed at any step before anomaly information is reported. Specifically, the relative positions of two nodes can be determined using Bluetooth high-precision positioning methods, including but not limited to Angle of Arrival (AoA) and Angle of Departure (AoD), utilizing Bluetooth signals to determine the relative positions of the two nodes.

[0095] Step S632: Generate anomaly information containing the first relative positional relationship.

[0096] The relative positional relationship can include distance and the angle between them.

[0097] Step S633: Report the abnormal information to the gateway of the wireless network.

[0098] The monitoring node forwards the anomaly information to the next node in the reporting path. This anomaly information includes a first relative positional relationship, which is then forwarded by nodes along the reporting path to report the anomaly information to the gateway of the wireless network. Each node in the reporting path forwards anomaly information including the first relative positional relationship and a second relative positional relationship between adjacent nodes in the currently transmitted path. The currently transmitted path is the path consisting of nodes that the anomaly information has already passed through in the reporting path, and these currently passed nodes may include the node whose anomaly information is currently to be forwarded.

[0099] The gateway receives the abnormal information and determines the location of the monitored node with the abnormality based on the first relative position relationship and the second relative position relationship contained therein.

[0100] The above solution, after determining that a node is abnormal, uses Bluetooth positioning to report the abnormal node's information to the gateway. This allows the gateway to determine the location of the abnormal node, enabling users to quickly locate the abnormal node and perform replacement, repair, or other processing based on the location determined by the gateway, thereby improving the efficiency of handling abnormal nodes in the wireless network.

[0101] Please see Figure 7 , Figure 7 This is a flowchart illustrating another embodiment of the node monitoring method of this application.

[0102] The execution subject in this embodiment is the gateway in the wireless network. Specifically, the method may include the following steps:

[0103] Step S710: Send a monitoring instruction to the monitoring node.

[0104] Understandably, before sending monitoring instructions, for each node, the gateway receives the target information received by that node and selects its neighboring nodes that meet the criteria as monitoring nodes. Monitoring instructions are then sent to each monitoring node, enabling the node receiving the instructions to become a monitoring node and determine the monitoring target.

[0105] In some embodiments, the gateway can also notify the monitored node of its corresponding monitoring node, specifically by sending information containing the node identifier of the monitoring node.

[0106] Step S720: Receive abnormal information of the monitored node sent by the monitoring node.

[0107] Step S730: Determine that there is an anomaly in the monitored node based on the anomaly information.

[0108] The relevant descriptions of steps S710-S730 can be found in the relevant content of the foregoing embodiments.

[0109] In some embodiments, the anomaly information also includes the location information of the abnormal monitored node. In addition to determining that the monitored node is abnormal based on the anomaly information, the gateway can also determine the location of the abnormal node based on the location information in the anomaly information.

[0110] Please see Figure 8 , Figure 8 This is a schematic diagram of an embodiment of the wireless network in this application.

[0111] like Figure 8 As shown in Figure (a), in this embodiment, the wireless network includes a gateway, a monitored node (node ​​5), and a monitoring node (node ​​4). The monitoring node and the monitored node are neighbors. In some embodiments, the monitoring node can communicate directly with the gateway. In this embodiment, communication between the monitoring node and the gateway via information forwarding through node 2 is used as an example.

[0112] in addition, Figure 8Figure (a) also shows a schematic diagram of the connection between nodes and the gateway in a wireless network. Node 5 is the abnormal node, and node 4 is the monitoring node for node 5. The reporting path is node 4-node 2-gateway. Nodes 4 and 5 can determine their first relative positional relationship, and nodes 2 and 4 can determine their second relative positional relationship. The gateway and node 2 can also determine their second relative positional relationship. Based on the relative positional relationships between nodes along the reporting path, the gateway can determine the location of the abnormal node. Specifically, node 4 can record the first relative positional relationship (direction angle θ1 and distance S1) between node 4 and node 5 as abnormal information and send it to node 2. Node 2 forwards the received abnormal information and the second relative positional relationship (direction angle θ2 and distance S2) between node 2 and node 4 to the gateway, thus reporting the abnormal information of node 5 to the gateway. The gateway itself can determine its second relative positional relationship (direction angle θ3 and distance S3) with node 2, thereby determining the location of the abnormal node.

[0113] Figure 8 Figure (b) shows a schematic diagram of the gateway calculating the position of the abnormal node 5 based on the first and second relative positional relationships in the received abnormal information.

[0114] The gateway calculates the relative positional relationship between the gateway and the abnormal node 5 based on the first relative positional relationship between node 4 and node 5 (direction angle θ1 and distance S1), the second relative positional relationship between node 2 and node 4 (direction angle θ2 and distance S2), and the second relative positional relationship between the gateway and node 2 (direction angle θ3 and distance S3). This calculation includes the direction angle θ and distance S. The gateway can then be used to notify the user of the location of the abnormal node 5, making it easier for the user to handle the abnormal node.

[0115] Please see Figure 9 , Figure 9 This is a schematic diagram of the framework of an embodiment of the electronic device of this application.

[0116] In this embodiment, the electronic device 90 includes a memory 91 and a processor 92, wherein the memory 91 is coupled to the processor 92. Specifically, the various components of the electronic device 90 can be coupled together via a bus, or the processor 92 of the electronic device 90 can be connected to each other component individually. The electronic device 90 can be any device with processing capabilities, such as a computer, tablet computer, mobile phone, etc.

[0117] The memory 91 is used to store program data executed by the processor 92, as well as data generated by the processor 92 during processing. Examples include the first relative position and node identifier. The memory 91 includes a non-volatile storage portion for storing the aforementioned program data.

[0118] Processor 92 controls the operation of electronic device 90. Processor 92 can also be called CPU (Central Processing Unit). Processor 92 may be an integrated circuit chip with signal processing capabilities. Processor 92 can also be a general-purpose processor, digital signal processor (DSP), application-specific integrated circuit (ASIC), field-programmable gate array (FPGA), or other programmable logic device, discrete gate or transistor logic device, or discrete hardware component. General-purpose processor can be a microprocessor or any conventional processor. In addition, processor 92 can be implemented by multiple integrated circuit chips.

[0119] The processor 92 executes instructions to implement any of the above-mentioned node monitoring methods by calling the program data stored in the memory 91.

[0120] Please see Figure 10 , Figure 10 This is a schematic diagram of the framework of an embodiment of the node monitoring device of this application.

[0121] In this embodiment, the node monitoring device 100 includes a selection module 101, a monitoring module 102, and a generation module 103. The selection module 101 is used to select at least one neighbor node from the wireless network as the monitored node. The monitoring module 102 is used to monitor whether there are any abnormalities in the transmission and reception of the monitored node. The generation module 103 is used to generate abnormal information of the monitored node in response to the abnormality in the transmission and reception of the monitored node, and report the abnormal information to the gateway of the wireless network.

[0122] Please see Figure 11 , Figure 11 This is a schematic diagram of another embodiment of the node monitoring device of this application.

[0123] In this embodiment, the node monitoring device 110 includes a sending module 111, a receiving module 112, and a determining module 113. The sending module 111 is used to send a monitoring instruction to the monitoring node so that the monitoring node can determine the corresponding monitored node and monitor whether there is any abnormality in the sending and receiving of the monitored node. The receiving module 112 is used to receive the abnormal information of the monitored node sent by the monitoring node. The determining module 113 is used to determine that there is an abnormality in the monitored node based on the abnormal information.

[0124] Please see Figure 12 , Figure 12 This is a schematic diagram of a framework of an embodiment of the computer-readable storage medium of this application.

[0125] In this embodiment, the computer-readable storage medium 120 stores processor-executable program data 121, which can be executed to implement any of the above-described node monitoring methods.

[0126] The computer-readable storage medium 120 can be a USB flash drive, a portable hard drive, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk, or a medium that can store program data. Alternatively, it can be a server that stores the program data, which can send the stored program data to other devices for execution or run the stored program data itself.

[0127] In some embodiments, the computer-readable storage medium 120 may also be such as Figure 9 The memory shown.

[0128] The above description is merely an embodiment of this application and does not limit the patent scope of this application. Any equivalent structural or procedural transformations made using the content of this application's specification and drawings, or direct or indirect applications in other related technical fields, are similarly included within the patent protection scope of this application.

Claims

1. A node monitoring method, characterized by, The method comprises: monitoring nodes from the wireless network in which they are located, select at least one neighbor node as the corresponding monitored node of the monitoring node; monitoring whether the transceiving condition of the monitored node is abnormal; in response to the transceiving condition of the monitored node being abnormal, generating abnormal information of the monitored node, and reporting the abnormal information to the gateway of the wireless network; wherein, monitoring whether the transceiving condition of the monitored node is abnormal comprises: based on the reception condition of the non-response message, determining whether the monitored node has a receiving abnormality, the non-response message is sent by the monitored node, and indicates that the monitored node has not received a response to the target message sent by the monitored node.

2. The method of claim 1, wherein, The monitoring of the transceiving condition of the monitored node whether abnormal also includes any one or more of the following steps: determine whether the monitored node responds under the condition of meeting the response condition, wherein if the monitored node does not respond, the monitored node has an abnormality; determine whether a state notification message sent by the monitored node is received every first predetermined time, the state notification message indicating that the monitored node is working normally, wherein if the state notification message is not received within the first predetermined time, it indicates that the monitored node has a sending abnormality.

3. The method of claim 2, wherein, The determination of whether the monitored node responds under the condition of meeting the response condition includes at least one of the following steps: in response to receiving a first request message broadcast by other nodes or the gateway in the wireless network, monitoring whether the monitored node sends a message; detecting that the monitored node does not send a message within a second predetermined time, sending a probe message to the monitored node, and determining whether the monitored node responds to the probe message.

4. The method of claim 1, wherein, The target message is a second request message sent to other nodes or the gateway in the wireless network, and the determination of whether the monitored node has a receiving abnormality based on the reception condition of the non-response message comprises: in response to receiving a non-response message and the monitored node being normally sent within a predetermined historical time, determining that the monitored node has a receiving abnormality; and / or, the target message is a state notification message sent to the monitoring node, and before the determination of whether the monitored node has a receiving abnormality based on the reception condition of the non-response message, the monitoring of whether the transceiving condition of the monitored node is abnormal further comprises: receiving the state notification message sent by the monitored node every third predetermined time; in response to the state notification message, sending a reply message to the monitored node, the non-response message indicating that the monitored node has not received the reply message; and; The determination of whether the monitored node has a receiving abnormality based on the reception condition of the non-response message comprises: in response to receiving a non-response message, determining that the monitored node has a receiving abnormality.

5. The method of claim 1, wherein, Before the at least one neighbor node is selected as the corresponding monitored node of the monitoring node from the wireless network in which the monitoring node is located, the method further comprises: receive target information sent by a plurality of neighbor nodes in the wireless network respectively, and send reception conditions of the target information of each of the neighbor nodes to the gateway; the selecting at least one neighbor node from the wireless network as the corresponding monitored node of the monitoring node comprises: receiving a monitoring instruction sent by the gateway, the monitoring instruction comprising a node identifier; determining that the node is a monitoring node, and selecting a target neighbor node corresponding to the node identifier among the plurality of neighbor nodes as the corresponding monitored node, wherein the gateway determines whether to send the monitoring instruction to the monitoring node and the node identifier in the monitoring instruction according to the reception conditions of the monitoring node.

6. The method of claim 5, wherein, The reception conditions comprise received signal strength of the target information, and the gateway determines to send the monitoring instruction to the monitoring node and to select the identifier of the target neighbor node as the node identifier in the monitoring instruction, in a case where the received signal strength of the target information sent by the target neighbor node to the monitoring node meets a preset strength condition. And / or, the node identifier of the monitored node comprises a communication address of the monitored node.

7. The method of claim 1, wherein the generating of the abnormal information of the monitored node comprises: determining a first relative position relationship between the monitored node based on a wireless communication signal between the monitored node and the node; generating abnormal information comprising the first relative position relationship; wherein a path for reporting the abnormal information to the gateway is a reporting path, and the abnormal information forwarded by each node in the reporting path comprises: the first relative position relationship and a second relative position relationship between adjacent nodes in a current transmission path, the current transmission path being a path composed of nodes through which the abnormal information has passed in the reporting path, the abnormal information being used to enable the gateway to determine the position of the abnormal monitored node based on the first relative position relationship and the second relative position relationship.

8. A node monitoring method characterized by, The method comprises: the gateway sends a monitoring instruction to the monitoring node to enable the monitoring node to determine the corresponding monitored node and monitor whether there is an abnormality in the transceiving condition of the monitored node; receiving abnormal information of the monitored node sent by the monitoring node; determining that the monitored node is abnormal according to the abnormal information; wherein the monitoring of whether there is an abnormality in the transceiving condition of the monitored node comprises: determining whether the monitored node has a receiving abnormality based on a reception condition of a non-response message, the non-response message being sent by the monitored node and indicating that the monitored node has not received a response to a target message sent by the monitored node.

9. An electronic device, comprising: The processor is configured to execute program instructions stored in the memory to implement the node monitoring method of any one of claims 1 to 7 or claim 8.

10. A computer-readable storage medium having stored thereon program instructions, wherein, The program instructions, when executed by the processor, implement the node monitoring method of any one of claims 1 to 7 or claim 8.

Citation Information

Patent Citations

  • AP failure detection method and device

    CN103298012A