Node fault detection method and system and related equipment thereof
By analyzing the signal strength and pose data of target nodes and associated nodes in the wireless positioning system, the detection of base station faults and environmental changes is realized, solving the problem of lack of effective fault detection in the existing technology, and improving positioning accuracy and system stability. performance, reducing maintenance costs.
Patent Information
- Application Number
- CN202410304497.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-03-18
- Publication Date
- 2024-08-27
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
Existing wireless positioning systems lack effective low-cost fault detection methods when the environment changes and the base station location changes, resulting in reduced positioning effects and high maintenance costs.
By obtaining the signal strength data during the communication process between the target node and its associated nodes in the network, it determines the number of nodes within and outside the signal strength range, and combines the spatial pose and height information to detect whether there are obstacles or displacements on the target node, and then determine Fault type and location.
It improves the accuracy of network node fault detection, saves development and maintenance costs, and ensures stable and efficient operation of the system.
Smart Images

Figure CN118555535A
Abstract
Description
Technical Field
[0001] The present application relates to the field of wireless positioning technology, and in particular to a node fault detection method, system and related equipment. Background Art
[0002] In wireless positioning solutions, to achieve three-dimensional positioning, the base station usually provides an accurate reference position, and the tag solves the position based on the base station reference position; usually, after the base station is deployed, the position will be calibrated and the coordinates will be stored in itself. During normal use, the actual position of the base station will not change from the recorded position. However, in actual scenarios, the time synchronization between base stations often deteriorates or even fails due to environmental changes, thus affecting the positioning effect. Among them, environmental changes may cause the base station to move, and the base stations may be blocked by objects, etc. Or the base station position may change due to aging of the installation structure or human damage, making the reference position no longer accurate, affecting the final positioning effect.
[0003] Existing positioning systems often only investigate when the positioning results differ greatly from the actual situation, and the exact location and cause of the fault are uncertain, which consumes a lot of manpower and material resources; or use additional sensors such as inertial measurement units for monitoring, which not only increases costs and power consumption, but also cannot determine if there is an obstruction between base stations. Therefore, there is no effective and low-cost solution in the existing solutions to simultaneously detect faults in the deployment environment and the working environment.
[0004] To address the above-mentioned problems, no effective solution has been proposed yet. Summary of the invention
[0005] The embodiments of the present application provide a node fault detection method, system and related equipment to at least solve the technical problem that there is no effective and low-cost solution for fault detection in both the deployment environment and the working environment in the existing solutions.
[0006] According to one aspect of an embodiment of the present application, a node fault detection method is provided, including: obtaining a first node number and a second node number in a communication process between a target node and its associated nodes in a network; wherein the first node number represents the number of associated nodes whose signal strength is within a preset signal strength range; the second node number represents the number of associated nodes whose signal strength is not within the preset signal strength range; when the first node number is less than 3 and the second node number is greater than or equal to 1, it is determined that there is an obstacle or relative displacement between the target node and the associated nodes whose signal strength is not within the preset signal strength range; when the first node number is less than 3 and the second node number is 0, if it is detected that the spatial posture of the target node in the network has changed, it is determined that the target node has an abnormal body posture or the associated nodes whose signal strength is not within the preset signal strength range have an abnormal body posture.
[0007] Optionally, the method also includes: when the number of the first nodes is greater than or equal to 3, determining that the target node is not faulty; or, when the number of the first nodes is less than 3 and the number of the second nodes is 0, if it is detected that the spatial posture of the target node in the network has not changed, determining that the target node is not faulty.
[0008] Optionally, the method also includes: if it is detected that the height information of the target node has changed, determining that the body posture of the target node is abnormal; if it is detected that the height information of the target node has not changed, determining that the associated node whose signal strength is not within the preset signal strength range has a body posture abnormality or there is an obstacle between the target node and the associated node whose signal strength is not within the preset signal strength range.
[0009] Optionally, the method also includes: obtaining the atmospheric pressure measurement value of the target node, and converting the atmospheric pressure measurement value of the target node into the actual height of the target node; if the difference between the actual height of the target node and a predetermined height threshold is within a preset range, determining that the height information of the target node has not changed; if the difference between the actual height of the target node and the predetermined height threshold is not within the preset range, determining that the height information of the target node has changed.
[0010] Optionally, the method also includes: obtaining the departure angle of the target node relative to an associated node whose signal strength is not within a preset signal strength range; if the difference between the departure angle and a predetermined departure angle threshold is within a preset range, determining that the spatial position of the target node in the network has not changed; if the difference between the departure angle and the predetermined departure angle threshold is not within the preset range, determining that the spatial position of the target node in the network has changed; and / or, obtaining the arrival angle of an associated node whose signal strength received by the target node is not within a preset signal strength range; if the difference between the arrival angle and the predetermined arrival angle threshold is within the preset range, determining that the spatial position of the target node in the network has not changed; if the difference between the arrival angle and the predetermined arrival angle threshold is not within the preset range, determining that the spatial position of the target node in the network has changed.
[0011] Optionally, the method also includes: based on different fault detection results, using a preset warning method that is compatible with the fault detection result to perform fault warning; wherein the fault detection result includes at least one of the following: the presence of an obstacle or relative displacement between the target node and an associated node whose signal strength is not within the preset signal strength range, the target node has an abnormal body posture, and the associated node whose signal strength is not within the preset signal strength range has an abnormal body posture.
[0012] According to another aspect of an embodiment of the present application, a node fault detection system is provided, including: a first acquisition module, used to acquire the first node number and the second node number in the communication process between the target node and its associated nodes in the network; wherein the first node number represents the number of associated nodes whose signal strength is within a preset signal strength range; the second node number represents the number of associated nodes whose signal strength is not within the preset signal strength range; a first detection module, used to determine that there is an obstacle or relative displacement between the target node and the associated nodes whose signal strength is not within the preset signal strength range when the first node number is less than 3 and the second node number is greater than or equal to 1; a second detection module, used to determine that the target node has a body posture abnormality or the associated nodes whose signal strength is not within the preset signal strength range have a body posture abnormality when the first node number is less than 3 and the second node number is 0.
[0013] According to another aspect of an embodiment of the present application, there is provided an electronic device, comprising: a processor, and a memory for storing a program, wherein the program comprises instructions, and when the instructions are executed by the processor, the processor executes the method described above.
[0014] According to another aspect of an embodiment of the present application, a non-transitory machine-readable medium storing computer instructions is provided, wherein the computer instructions are used to enable the computer to execute the method described above.
[0015] According to another aspect of an embodiment of the present application, a computer program product is provided, including a computer program / instruction, which implements the above-described method when executed by a processor.
[0016] In the embodiment of the present application, the number of first nodes and the number of second nodes in the process of obtaining the communication between the target node and its associated nodes in the network are adopted; wherein, the number of first nodes represents the number of associated nodes whose signal strength is within the preset signal strength range; the number of second nodes represents the number of associated nodes whose signal strength is not within the preset signal strength range; if the number of first nodes is less than 3, and the number of second nodes is greater than or equal to 1, it is determined that there is an obstacle or relative displacement between the target node and the associated nodes whose signal strength is not within the preset signal strength range; if the number of first nodes is less than 3, and the number of second nodes is 0, and it is detected that the spatial posture of the target node in the network changes, it is determined that the target node has a body posture abnormality or the associated node whose signal strength is not within the preset signal strength range has a body posture abnormality. Further, the embodiment of the present application can add the detection of base station failures and changes in the surrounding environment to the positioning system, which can greatly improve the stable and efficient operation of the system, thereby solving the technical problem that there is no effective and low-cost solution for fault detection of the deployment environment and the working environment in the existing solution, and achieving the technical effect of improving the accuracy of network node fault detection and saving development and maintenance costs. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the prior art, the following briefly introduces the drawings required for use in the embodiments or the prior art descriptions. Obviously, the drawings described below are only some embodiments of the present application, and for ordinary technicians in this field, other embodiments can be obtained based on these drawings without creative work.
[0018] Figure 1 A schematic diagram of a networking system provided in an embodiment of the present application;
[0019] Figure 2 A flowchart of a node fault detection method provided in an embodiment of the present application;
[0020] Figure 3 A schematic diagram of a network topology structure provided in an embodiment of the present application;
[0021] Figure 4A schematic diagram of another networking topology structure provided in an embodiment of the present application;
[0022] Figure 5 A flowchart of a base station fault detection method provided in an embodiment of the present application;
[0023] Figure 6 A schematic diagram of a node fault detection system provided in an embodiment of the present application;
[0024] Figure 7 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0025] The embodiments of the present application will be described in more detail below with reference to the accompanying drawings. Although certain embodiments of the present application are shown in the accompanying drawings, it should be understood that the embodiments of the present application can be implemented in various forms and should not be interpreted as being limited to the embodiments described herein. Instead, these embodiments are provided to provide a more thorough and complete understanding of the embodiments of the present application. It should be understood that the drawings and embodiments of the present application are only for exemplary purposes and are not intended to limit the scope of protection of the present application.
[0026] Figure 1 A schematic diagram of a networking system provided in an embodiment of the present application, such as Figure 1 As shown, the networking system includes multiple base stations, each of which can be networked with surrounding base stations. The data of each base station is uploaded to the gateway through the MESH network by the base station close to the gateway, and then uploaded to the cloud server by the gateway, and finally the networking information is displayed in the monitoring background.
[0027] It should be noted that in order to ensure positioning and communication effects in a networking system, a base station maintains a networking relationship with at least one other base station.
[0028] In a communication cycle of the networking system, when a base station sends a broadcast data frame, other base stations will enter the receiving state. After the transmission is completed, another base station starts broadcasting, and other base stations enter the receiving state, and the cycle is repeated in sequence, thereby achieving high-precision clock synchronization and information transmission; when a base station receives a broadcast signal, it can obtain data such as signal strength (Received Signal Strength Indicator, RSSI) and signal-to-noise ratio (SNR). If an antenna array is added to the base station transmitting end, the angle of departure (Angle of Departure, AOD) can be obtained at the receiving end that receives the signal of this base station; if an antenna array is added to the base station receiving end, the angle of arrival (Angle of Arrival, AOA) and phase difference of arrival (Phase Difference of Arrival, PDOA) from other base stations can be received. Signal strength RSSI is an important parameter in wireless communication and is usually used to evaluate the quality of communication. The closer the distance between two base stations in the same environment and the less shielding, the larger the RSSI value.
[0029] When the relative positions of the two base stations and the surrounding environment remain unchanged, the real-time RSSI r Fluctuates within a small range. When the fluctuation exceeds the threshold, fault detection is triggered. This threshold is set by combining empirical values and theoretical values.
[0030] In a networking communication cycle, after all base stations have completed communication, fault diagnosis begins. In the embodiment of the present application, the nodes in the networking include but are not limited to base stations of the networking system.
[0031] According to one aspect of an embodiment of the present application, a node failure detection method is provided. Figure 2 A flowchart of a node fault detection method provided in an embodiment of the present application is shown in FIG. Figure 2 As shown, the method comprises the following steps:
[0032] Step S202, obtaining the number of first nodes and the number of second nodes in the process of communication between the target node and its associated nodes in the network; wherein the number of first nodes represents the number of associated nodes whose signal strength is within a preset signal strength range; and the number of second nodes represents the number of associated nodes whose signal strength is not within the preset signal strength range;
[0033] For the target node and any of its associated node signals, if the strength is within the preset signal strength range, it means that the signal strength has not fluctuated significantly or the fluctuation is within a reasonable range; if the signal strength is not within the preset signal strength range, it means that the signal strength has fluctuated significantly or the fluctuation is beyond a reasonable range. The above preset signal strength range can be flexibly set according to the needs of the application scenario.
[0034] Step S204: when the number of first nodes is less than 3 and the number of second nodes is greater than or equal to 1, it is determined that there is an obstacle or relative displacement occurs between the target node and the associated nodes whose signal strength is not within the preset signal strength range;
[0035] Step S206, when the number of first nodes is less than 3 and the number of second nodes is 0, if it is detected that the spatial posture of the target node in the network has changed, it is determined that the target node has an abnormal body posture or the associated node whose signal strength is not within the preset signal strength range has an abnormal body posture.
[0036] In the embodiment of the present application, the number of first nodes and the number of second nodes in the communication process between the target node and its associated nodes in the network are obtained; if the number of first nodes is less than 3, and the number of second nodes is greater than or equal to 1, it is determined that there is an obstacle or relative displacement between the target node and the associated nodes whose signal strength is not within the preset signal strength range; if the number of first nodes is less than 3, and the number of second nodes is 0, and it is detected that the spatial posture of the target node in the network has changed, it is determined that the target node has a body posture abnormality or the associated node whose signal strength is not within the preset signal strength range has a body posture abnormality. Furthermore, the embodiment of the present application can add the detection of base station failures and changes in the surrounding environment to the positioning system, which can greatly improve the stable and efficient operation of the system, thereby solving the technical problem that there is no effective and low-cost solution for fault detection of the deployment environment and the working environment in the existing solution, and achieving the technical effect of improving the accuracy of network node fault detection and saving development and maintenance costs.
[0037] Since the real-time detection frequency of the networking system is very high, extreme abnormal situations such as multiple modules falling off at the same time or encountering multiple obstructions will not occur in a normal working environment. However, it is possible that one obstruction may block multiple modules due to the proximity of the obstruction to the base station.
[0038] Figure 3 A schematic diagram of a network topology structure provided in an embodiment of the present application is shown in FIG. Figure 3As shown, in the network topology, the RSSI of base station A relative to base station B and base station C is abnormal. First, it is observed that the RSSI of base station A relative to the surrounding base stations D, E, and F has not changed. According to the number of associated base stations whose signal strength is within the preset signal strength range is greater than or equal to 3, it is concluded that base station A is normal and has not failed. The extreme situation that base stations B and C fall at the same time is excluded. Therefore, it is determined that the abnormal situation in this area is caused by the obstruction between A and B and C.
[0039] Figure 4 A schematic diagram of another networking topology structure provided in an embodiment of the present application, such as Figure 4 As shown, in the network topology, the RSSI of base station A relative to base station B is abnormal. First, it is observed that the RSSI of base station A relative to the surrounding base stations D, E, and F does not change, and the RSSI of base station B relative to the surrounding base stations D, F, and G does not change. According to the number of associated nodes whose signal strength is within the preset signal strength range is greater than or equal to 3, it is obtained that neither base station A nor base station B has a fault, so the abnormality is caused by the shielding between base stations A and B.
[0040] It should be noted that the above two topological structures can already cover most of the abnormal situations in the network. For the fault point at the edge of the network, the number of associated nodes whose surrounding signal strength is within the preset signal strength range is less than 3, and additional auxiliary judgment means are needed to obtain the departure angle, arrival angle, phase difference, atmospheric pressure, etc. to assist in the judgment.
[0041] As an optional embodiment, the above method also includes: when the number of first nodes is greater than or equal to 3, it is determined that the target node has not failed; or, when the number of first nodes is less than 3 and the number of second nodes is 0, if it is detected that the spatial position of the target node in the network has not changed, it is determined that the target node has not failed.
[0042] It should be noted that if RSSI does not change, it is considered that the distance between each other has not changed. According to the principle of three-sphere intersection, a spherical surface is established with three nodes as the center and the distance as the radius. The number of intersection points of the three spheres in space is not greater than 2, and then the unique intersection point is determined by spatial position constraints (such as the intersection point cannot be higher than or pass through the ceiling). Therefore, when the signal strength of the detection target node and the three associated nodes has not changed, it is considered that the spatial position of the detection target node has not changed, that is, the target node is normal and fault-free.
[0043] As an optional embodiment, the above method also includes: if the height information of the detected target node changes, determining that the body posture of the target node is abnormal; if the height information of the detected target node does not change, determining that the associated node whose signal strength is not within the preset signal strength range has a body posture abnormality or there is an obstacle between the target node and the associated node whose signal strength is not within the preset signal strength range.
[0044] In the embodiment of the present application, the change status of the height information of the target node can be used to accurately determine the specific fault detection result.
[0045] As an optional embodiment, the above method also includes: obtaining the atmospheric pressure measurement value of the target node, and converting the atmospheric pressure measurement value of the target node into the actual height of the target node; if the difference between the actual height of the target node and the predetermined height threshold is within a preset range, it is determined that the height information of the target node has not changed; if the difference between the actual height of the target node and the predetermined height threshold is not within the preset range, it is determined that the height information of the target node has changed.
[0046] Optionally, the atmospheric pressure measurement value of the target node can be obtained in real time or according to a predetermined time period and converted into an actual height. The predetermined height threshold can be the installation height of the target node recorded after the network deployment is completed. The preset range can be set according to the needs of the application scenario.
[0047] In the embodiment of the present application, the change status of the height information of the target node is accurately determined by comparing the actual height of the target node with a predetermined height threshold.
[0048] As an optional embodiment, the above method also includes: obtaining the departure angle of the target node relative to the associated node whose signal strength is not within the preset signal strength range; if the difference between the departure angle and the predetermined departure angle threshold is within the preset range, it is determined that the spatial position of the target node in the network has not changed; if the difference between the departure angle and the predetermined departure angle threshold is not within the preset range, it is determined that the spatial position of the target node in the network has changed; and / or, obtaining the arrival angle of the associated node whose signal strength received by the target node is not within the preset signal strength range; if the difference between the arrival angle and the predetermined arrival angle threshold is within the preset range, it is determined that the spatial position of the target node in the network has not changed; if the difference between the arrival angle and the predetermined arrival angle threshold is not within the preset range, it is determined that the spatial position of the target node in the network has changed.
[0049] The above-mentioned predetermined departure angle threshold and predetermined arrival angle threshold are respectively the departure angle of the target node relative to the associated node whose signal strength is not within the preset signal strength range and the arrival angle of the associated node whose signal strength received by the target node is not within the preset signal strength range, recorded after the network deployment is completed.
[0050] Optionally, posture judgment based on AOD (departure angle): the transmitter has a multi-antenna array. In one transmission cycle, wireless signals are sent through multiple antennas respectively. The receiver obtains the arrival phase after receiving the wireless frames from each antenna. The arrival phase difference ψ can be calculated between any two frames of wireless signals. When the transmitter has more than three transmitting antennas, the unique relative position can be determined similarly to the AOA method. When the measured departure angle changes, it can also be considered that the relative position of the module has changed, that is, a fault has occurred. Among them, the departure angle can be calculated by the following calculation expression:
[0051] θ1=arccos((ψλ) / (2πd))
[0052] Among them, ψ represents the arrival phase difference of the two antenna signals, λ represents the wavelength, and θ1 represents the departure angle, that is, the deviation angle measured from the line connecting the two antennas in the transmitter.
[0053] Optionally, posture diagnosis based on AOA (angle of arrival) and PDOA (phase difference of arrival): When a receiving antenna captures a wireless signal, its arrival phase and the phase difference between the two antennas can be obtained. When the distance between the two receiving antennas is less than or equal to half a wavelength, the arrival angle of the wireless signal source relative to itself can be determined. The arrival angle can be calculated by the following calculation expression:
[0054]
[0055] p=d·sin(θ)
[0056]
[0057]
[0058] Among them, λ represents the wavelength, c represents the speed of light, f represents the wireless frequency, α represents the arrival phase difference, and θ2 represents the arrival angle.
[0059] Based on the antenna array arrangement, the arrival angle between each two antennas can be obtained, a total of three groups of angles. Based on the three groups of angles, a relative position can be uniquely determined based on the spherical coordinate system with the receiving base station as the center of the sphere (there are other ways, such as two angles plus distance can also uniquely determine the position, etc.). When the measured arrival angle changes, it can be considered that the relative position has changed.
[0060] As an optional embodiment, the above method also includes: based on different fault detection results, using a preset warning method that is compatible with the fault detection result to perform fault warning; wherein the fault detection result includes at least one of the following: the presence of an obstacle or relative displacement between the target node and an associated node whose signal strength is not within the preset signal strength range, the target node has an abnormal body posture, and the associated node whose signal strength is not within the preset signal strength range has an abnormal body posture.
[0061] In addition, different warning methods can also be displayed in different colors; for example, if the target node has an abnormal body posture, a red alarm will be issued; if there is an obstacle between the target node and an associated node whose signal strength is not within the preset signal strength range or if the associated node whose signal strength is not within the preset signal strength range has an abnormal body posture, a yellow alarm will be issued; if the target node has no fault, a green alarm will be issued.
[0062] In the embodiments of the present application, specific early warning mechanisms are triggered for different fault detection results to ensure that problems are discovered and handled in a timely manner to avoid possible safety hazards or system operation failures.
[0063] The following takes the networking of multiple base stations as an example to explain the base station fault detection method in detail.
[0064] In a networking communication cycle, after all base stations have completed communication, fault diagnosis begins. Figure 5 A flowchart of a base station fault detection method provided in an embodiment of the present application is shown in FIG. Figure 5 As shown, the method comprises the following steps:
[0065] Step 1: First, determine whether the number of base stations with unchanged RSSI around the target base station (corresponding to the target node) is greater than or equal to three (Num(△RSSI=0)≥3). If so, it means that there is no obstruction between the target base station and these three base stations, that is, the target base station is normal and has no faults. Otherwise, proceed to the next step;
[0066] Step 2: If the number of base stations with unchanged RSSI around the target base station is less than three (Num(△RSSI≠0)≥1), determine whether there is an RSSI abnormal node;
[0067] 1) If it exists, it is determined as an area abnormality. The area abnormality at this time includes but is not limited to the existence of obstacles or relative displacement between the target base station and the associated base station whose signal strength is not within the preset signal strength range, and the system issues a yellow alarm;
[0068] 2) If it does not exist, there are no more than two normal base stations around the target base station. At this time, other methods such as AOD, AOA, PDOA and other observations are needed to further judge the abnormal situation; taking AOD as an example, the departure angle change △AOD of the target base station is used to determine whether the spatial posture has changed;
[0069] a) If △AOD=0, the target base station is considered to be normal, and the system issues a green warning; if △AOD≠0, the area is considered abnormal. The regional abnormality at this time includes but is not limited to the target base station having an abnormal body posture or the associated base station whose signal strength is not within the preset signal strength range having an abnormal body posture, and the system issues a yellow warning.
[0070] b) If a more accurate abnormality judgment is required, it is necessary to use other methods such as a barometer for further judgment; for example, the barometer collects atmospheric pressure measurement values to calculate the height information. When the height of the target base station changes, that is, △Pre≠0, it is considered that the height of the target base station itself has changed, that is, the target base station has an abnormal posture, and the system issues a red warning. When △Pre=0, it is considered that the height of the target base station itself has not changed, that is, other base stations (corresponding to base stations whose signal strength is not within the preset signal strength range) have abnormal postures or there are obstacles between the target base station and other base stations, and the system issues a yellow warning.
[0071] Compared with the prior art, the optional embodiments of the present application can achieve the following beneficial effects:
[0072] 1. Under the existing MESH network protocol and hardware, based on the identification process and topology diagnosis method proposed in this application, most fault problems can be identified without making any changes to the existing wireless network protocol and hardware, thereby saving development and maintenance costs.
[0073] 2. By adding PDOA and AOA criteria, only the antenna array needs to be added without changing the existing wireless network, thus saving wireless bandwidth resources and achieving more accurate fault judgment at a low cost.
[0074] 3. By adding AOD-type criteria, more accurate fault judgment can be achieved on the one hand. Only the antenna array needs to be added to the hardware, and no changes or minor modifications are required. It is compatible with the existing wireless network, saving wireless bandwidth resources, and achieving more accurate fault judgment at low cost and low power consumption. At the same time, the positioning tag obtains the departure angle through the wireless frame sent by the base station, thereby achieving precise positioning.
[0075] According to another aspect of an embodiment of the present application, a node fault detection system is provided. Figure 6 A schematic diagram of a node fault detection system provided in an embodiment of the present application is shown in FIG. Figure 6As shown, the node fault detection system includes: a first acquisition module 602, a first detection module 604, and a second detection module 606. The node fault detection system is described in detail below.
[0076] A first acquisition module 602 is used to acquire the number of first nodes and the number of second nodes in the process of communication between the target node and its associated nodes in the network; wherein the number of first nodes represents the number of associated nodes whose signal strength is within a preset signal strength range; and the number of second nodes represents the number of associated nodes whose signal strength is not within the preset signal strength range;
[0077] A first detection module 604 is connected to the first acquisition module 602 and is used to determine that there is an obstacle or relative displacement between the target node and the associated node whose signal strength is not within the preset signal strength range when the number of the first nodes is less than 3 and the number of the second nodes is greater than or equal to 1;
[0078] The second detection module 606 is connected to the above-mentioned first acquisition module 602, and is used to determine that the target node has an abnormal body posture or an associated node whose signal strength is not within the preset signal strength range has an abnormal body posture if it is detected that the spatial posture of the target node in the network has changed when the number of first nodes is less than 3 and the number of second nodes is 0.
[0079] In an embodiment of the present application, the node fault detection system adopts the method of obtaining the first node number and the second node number in the communication process between the target node and its associated nodes in the network; if the first node number is less than 3, and the second node number is greater than or equal to 1, it is determined that there is an obstacle or relative displacement between the target node and the associated nodes whose signal strength is not within the preset signal strength range; if the first node number is less than 3, and the second node number is 0, and it is detected that the spatial posture of the target node in the network has changed, it is determined that the target node has a body posture abnormality or the associated nodes whose signal strength is not within the preset signal strength range have a body posture abnormality. Furthermore, the node fault detection system of the embodiment of the present application can add the detection of base station faults and changes in the surrounding environment to the positioning system, which can greatly improve the stable and efficient operation of the system, thereby solving the technical problem that there is no effective and low-cost solution for fault detection of the deployment environment and the working environment in the existing solution, and achieving the technical effect of improving the accuracy of network node fault detection and saving development and maintenance costs.
[0080] It should be noted here that the above-mentioned first acquisition module 602, first detection module 604 and second detection module 606 correspond to steps S202 to S206 in the method embodiment, and the examples and application scenarios implemented by the above-mentioned modules and corresponding steps are the same, but are not limited to the contents disclosed in the above-mentioned method embodiment.
[0081] Optionally, the above system also includes: a third detection module, used to determine that the target node is not faulty when the number of first nodes is greater than or equal to 3; or, when the number of first nodes is less than 3 and the number of second nodes is 0, if it is detected that the spatial posture of the target node in the network has not changed, then determine that the target node is not faulty.
[0082] Optionally, the above system also includes: a first determination module, used to determine that the body posture of the target node is abnormal if the height information of the detected target node changes; a second determination module, used to determine that the associated node whose signal strength is not within the preset signal strength range has a body posture abnormality or that there is an obstacle between the target node and the associated node whose signal strength is not within the preset signal strength range if the height information of the detected target node does not change.
[0083] Optionally, the above system also includes: a second acquisition module, used to acquire the atmospheric pressure measurement value of the target node and convert the atmospheric pressure measurement value of the target node into the actual height of the target node; a third determination module, used to determine that the height information of the target node has not changed if the difference between the actual height of the target node and the predetermined height threshold is within a preset range; a fourth determination module, used to determine that the height information of the target node has changed if the difference between the actual height of the target node and the predetermined height threshold is not within a preset range.
[0084] Optionally, the above system also includes: a third acquisition module, used to obtain the departure angle of the target node relative to the associated node whose signal strength is not within the preset signal strength range; a fifth determination module, used to determine that the spatial position of the target node in the network has not changed if the difference between the departure angle and the predetermined departure angle threshold is within the preset range; a sixth determination module, used to determine that the spatial position of the target node in the network has changed if the difference between the departure angle and the predetermined departure angle threshold is not within the preset range; and / or, a fourth acquisition module, used to obtain the arrival angle of the associated node whose signal strength received by the target node is not within the preset signal strength range; a seventh determination module, used to determine that the spatial position of the target node in the network has not changed if the difference between the arrival angle and the predetermined arrival angle threshold is within the preset range; an eighth determination module, used to determine that the spatial position of the target node in the network has changed if the difference between the arrival angle and the predetermined arrival angle threshold is not within the preset range.
[0085] Optionally, the above system also includes: an early warning module, which is used to perform fault early warning based on different fault detection results, using a preset early warning method that is suitable for the fault detection results; wherein the fault detection results include at least one of the following: the presence of an obstacle or relative displacement between the target node and the associated node whose signal strength is not within the preset signal strength range, the target node has an abnormal body posture, and the associated node whose signal strength is not within the preset signal strength range has an abnormal body posture.
[0086] According to another aspect of an embodiment of the present application, an electronic device is provided, comprising: a processor, and a memory for storing a program, wherein the program comprises instructions, and when the instructions are executed by the processor, the processor executes the method of the embodiment of the present application.
[0087] According to another aspect of an embodiment of the present application, a non-transitory machine-readable medium storing computer instructions is provided, where the computer instructions are used to enable a computer to execute the method of the embodiment of the present application.
[0088] According to another aspect of an embodiment of the present application, a computer program product is provided, including a computer program / instruction, which implements the method of the embodiment of the present application when the computer program / instruction is executed by a processor.
[0089] refer to Figure 7 , the structural block diagram of the electronic device that can be used as the server or client of the embodiment of the present application will now be described, which is an example of the hardware device that can be applied to various aspects of the present application. The electronic device is intended to represent various forms of digital electronic computer equipment, such as laptop computers, desktop computers, workbenches, personal digital assistants, servers, blade servers, mainframe computers and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices and other similar computing devices. The components shown herein, their connections and relationships, and their functions are only examples, and are not intended to limit the implementation of the present application described and / or required herein.
[0090] like Figure 7 As shown, the electronic device includes a computing unit 701, which can perform various appropriate actions and processes according to a computer program stored in a read-only memory (ROM) 702 or a computer program loaded from a storage unit 708 into a random access memory (RAM) 703. In the RAM 703, various programs and data required for the operation of the electronic device can also be stored. The computing unit 701, the ROM 702, and the RAM 703 are connected to each other via a bus 704. An input / output (I / O) interface 705 is also connected to the bus 704.
[0091] Multiple components in the electronic device are connected to the I / O interface 705, including: an input unit 706, an output unit 707, a storage unit 708, and a communication unit 709. The input unit 706 can be any type of device that can input information to the electronic device, and the input unit 706 can receive input digital or character information, and generate key signal input related to user settings and / or function control of the electronic device. The output unit 707 can be any type of device that can present information, and can include but is not limited to a display, a speaker, a video / audio output terminal, a vibrator, and / or a printer. The storage unit 708 can include but is not limited to a disk, an optical disk. The communication unit 709 allows the electronic device to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks, and can include but is not limited to a modem, a network card, an infrared communication device, and a wireless communication transceiver, such as a Bluetooth device, a WiFi device, a WiMax device, a cellular communication device, and / or the like.
[0092] The computing unit 701 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the computing unit 701 include, but are not limited to, a CPU, a graphics processing unit (GPU), various dedicated artificial intelligence (AI) computing units, various computing units running machine learning model algorithms, digital signal processors (DSPs), and any appropriate processors, controllers, microcontrollers, etc. The computing unit 701 performs the various methods and processes described above. For example, in some embodiments, the method embodiments of the present application may be implemented as a computer program, which is tangibly contained in a machine-readable medium, such as a storage unit 708. In some embodiments, part or all of the computer program may be loaded and / or installed on an electronic device via a ROM 702 and / or a communication unit 709. In some embodiments, the computing unit 701 may be configured to perform the above method in any other appropriate manner (e.g., by means of firmware).
[0093] The computer program for implementing the method of the embodiment of the present application can be written in any combination of one or more programming languages. These computer programs can be provided to a processor or controller of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that when the computer program is executed by the processor or controller, the functions / operations specified in the flow chart and / or block diagram are implemented. The computer program can be executed entirely on the machine, partially on the machine, partially on the machine as a stand-alone software package and partially on a remote machine, or entirely on a remote machine or server.
[0094] In the context of the present application embodiment, machine-readable medium can be a tangible medium that can contain or store a program for use by an instruction execution system, device or equipment or used in combination with an instruction execution system, device or equipment. Machine-readable medium can be a machine-readable signal medium or a machine-readable storage medium. Machine-readable signal medium can include but is not limited to electronic, magnetic, optical, electromagnetic, infrared systems, devices or equipment, or any suitable combination of the above. More specific examples of machine-readable storage media can include electrical connections based on one or more lines, portable computer disks, hard disks, random access memories (RAM), read-only memories (ROM), erasable programmable read-only memories (EPROM or flash memory), optical fibers, portable compact disk read-only memories (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the above.
[0095] It should be noted that the term "including" and its variations used in the embodiments of the present application are open inclusions, that is, "including but not limited to". The term "based on" means "based at least in part on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one other embodiment"; the term "some embodiments" means "at least some embodiments". The modifications of "one" and "multiple" mentioned in the embodiments of the present application are illustrative and not restrictive. Those skilled in the art should understand that unless otherwise clearly indicated in the context, it should be understood as "one or more".
[0096] The various steps described in the method implementation methods provided in the embodiments of the present application can be performed in different orders and / or in parallel. In addition, the method implementation methods may include additional steps and / or omit the steps shown. The scope of protection of the present application is not limited in this respect.
[0097] The term "embodiment" in this specification refers to specific features, structures or characteristics described in conjunction with the embodiment that can be included in at least one embodiment of the present application. The appearance of this phrase in various places in the specification does not necessarily mean the same embodiment, nor does it mean that it is mutually exclusive with other embodiments and is independent or optional. The various embodiments in this specification are described in a related manner, and the same or similar parts between the various embodiments refer to each other. In particular, for the device, equipment, and system embodiments, since they are basically similar to the method embodiments, the description is relatively simple, and the relevant parts refer to the partial description of the method embodiment.
[0098] The above-mentioned embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of patent protection. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the scope of protection of the present application. Therefore, the scope of protection of the present application shall be subject to the attached claims.
Claims
1. A node failure detection method, characterized in that: include: Obtaining the number of first nodes and the number of second nodes in the process of communication between the target node and its associated nodes in the network; wherein the number of first nodes represents the number of associated nodes whose signal strength is within a preset signal strength range; and the number of second nodes represents the number of associated nodes whose signal strength is not within the preset signal strength range; When the number of the first nodes is less than 3 and the number of the second nodes is greater than or equal to 1, it is determined that there is an obstacle or relative displacement between the target node and the associated node whose signal strength is not within the preset signal strength range; When the number of the first nodes is less than 3 and the number of the second nodes is 0, if it is detected that the spatial posture of the target node in the network has changed, it is determined that the target node has an abnormal body posture or an associated node whose signal strength is not within the preset signal strength range has an abnormal body posture.
2. The method according to claim 1, characterized in that: The method further comprises: When the number of the first nodes is greater than or equal to 3, it is determined that the target node has not failed; or, when the number of the first nodes is less than 3 and the number of the second nodes is 0, if it is detected that the spatial posture of the target node in the network has not changed, it is determined that the target node has not failed.
3. The method according to claim 1, characterized in that The method further comprises: If it is detected that the height information of the target node changes, it is determined that the body posture of the target node is abnormal; If it is detected that the height information of the target node has not changed, it is determined that the associated node whose signal strength is not within the preset signal strength range has an abnormal body posture or there is an obstacle between the target node and the associated node whose signal strength is not within the preset signal strength range.
4. The method according to claim 3, characterized in that The method further comprises: Acquire a measured value of the atmospheric pressure of the target node, and convert the measured value of the atmospheric pressure of the target node into an actual height of the target node; If the difference between the actual height of the target node and the predetermined height threshold is within a preset range, determining that the height information of the target node has not changed; If the difference between the actual height of the target node and the predetermined height threshold is not within a preset range, it is determined that the height information of the target node has changed.
5. The method according to claim 1, characterized in that The method further comprises: Obtaining a departure angle of the target node relative to an associated node whose signal strength is not within a preset signal strength range; if the difference between the departure angle and a predetermined departure angle threshold is within a preset range, determining that the spatial position of the target node in the network has not changed; if the difference between the departure angle and the predetermined departure angle threshold is not within a preset range, determining that the spatial position of the target node in the network has changed; and / or, Obtain the arrival angle of the associated node whose signal strength received by the target node is not within the preset signal strength range; if the difference between the arrival angle and the preset arrival angle threshold is within the preset range, determine that the spatial position of the target node in the network has not changed; if the difference between the arrival angle and the preset arrival angle threshold is not within the preset range, determine that the spatial position of the target node in the network has changed.
6. The method according to any one of claims 1 to 5, characterized in that: The method further comprises: Based on different fault detection results, a preset warning method suitable for the fault detection result is used for fault warning; wherein, the fault detection result includes at least one of the following: the existence of an obstacle or relative displacement between the target node and the associated node whose signal strength is not within the preset signal strength range, the target node has an abnormal body posture, and the associated node whose signal strength is not within the preset signal strength range has an abnormal body posture.
7. A node fault detection system, characterized in that: include: A first acquisition module is used to acquire the first node number and the second node number in the communication process between the target node and its associated nodes in the network; wherein the first node number represents the number of associated nodes whose signal strength is within a preset signal strength range; and the second node number represents the number of associated nodes whose signal strength is not within the preset signal strength range; A first detection module, configured to determine that an obstacle exists or a relative displacement occurs between the target node and an associated node whose signal strength is not within a preset signal strength range when the number of the first nodes is less than 3 and the number of the second nodes is greater than or equal to 1; The second detection module is used to determine that the target node has an abnormal body posture or an associated node whose signal strength is not within a preset signal strength range has an abnormal body posture if it is detected that the spatial posture of the target node in the network has changed when the number of the first nodes is less than 3 and the number of the second nodes is 0.
8. An electronic device, comprising: A processor and a memory storing a program, wherein the program comprises instructions, and when the instructions are executed by the processor, the processor executes the method according to any one of claims 1 to 6.
9. A non-transitory machine-readable medium storing computer instructions, characterized in that: The computer instructions are used to cause the computer to execute the method according to any one of claims 1 to 6.
10. A computer program product comprising a computer program / instructions, characterized in that When the computer program / instructions are executed by a processor, the method according to any one of claims 1 to 6 is implemented.
