Sensor node abnormal running state detection method and sensor node abnormal running state detection apparatus
A technology of abnormal operation and sensing nodes, applied in digital transmission systems, electrical components, transmission systems, etc., can solve problems such as inability to accurately locate fault locations, inability to find source code anomalies, etc.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0098] Example 1: Distribution Protocol Timer Overflow Fault
[0099] Embodiment 1 has chosen the system version hosted on the GitHub website TinyOS main warehouse commit number 11ff964, and the timer code implemented by the Trickle protocol of this TinyOS version has an overflow defect: after a period of time (about 10 minutes) after the WSN loses the distribution node, and The sensing node that distributes node communication will continue to execute a certain task so that other tasks cannot be executed. Example 1 uses the routine TestDisseminatio of TinyOS for testing, and the communication radius of the nodes is set to 50 meters in the experiment. First, after static analysis of the source code of TestDissemination, it is found that the application has 6 tasks executed. Set time window parameter w=4.5min, threshold Q=13°. Such as image 3 , the experiment uses 4 TelosB nodes for testing, among which node 1 is the distribution node. The present invention collects the tas...
Embodiment 2
[0106] Example 2: Abnormal analysis of node position changes
[0107] Embodiment 2 consists of 10 nodes running the MultihopOscilloscope application, which uses the convergent tree protocol for network communication. Example 2 is a simulation test of the network part of the environmental monitoring project. This project will arrange several sensing nodes on the campus of Chang'an University to monitor the influence of temperature, humidity and air quality on the flow and distribution of pedestrians on the campus. Since our environmental monitoring project requires the mobility of sensing nodes, this experiment mainly tests the impact of changing node locations on network behavior, and uses the present invention to monitor this impact. In this experiment, a static analysis of the code shows that a total of 13 tasks are executed inside the node, as shown in Table 2, that is, u=13.
[0108] Task in the embodiment 2 of table 2
[0109]
[0110] The initial network structure o...
Embodiment 3
[0131] Example 3: External memory failure fault
[0132] The cause of the failure of the external memory is that TinyOS related codes do not detect the state of the memory when accessing the external memory. We reproduced this fault in Cooja and detected this abnormality by using the present invention. The present invention provides related abnormal task information, which can help developers find the location of code defects.
[0133] Telosb nodes use STM25P as external memory. The failure was reproduced by modifying the STM25P80 emulator code in Cooja so that it does not respond to any reads and writes from the TinyOS node.
[0134] The state flow of the experimental node can be obtained by using the present invention such as Figure 12 . After the experiment was carried out for a period of time, the failure of the external memory was reproduced, and the present invention accurately detected this abnormality. All running tasks in the node are shown in Table 6. The prese...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


