| Literature DB >> 26610495 |
Xiaoping Che1, Stephane Maag2, Hwee-Xian Tan3, Hwee-Pink Tan4, Zhangbing Zhou5,6.
Abstract
Smart systems are today increasingly developed with the number of wireless sensor devices drastically increasing. They are implemented within several contexts throughout our environment. Thus, sensed data transported in ubiquitous systems are important, and the way to carry them must be efficient and reliable. For that purpose, several routing protocols have been proposed for wireless sensor networks (WSN). However, one stage that is often neglected before their deployment is the conformance testing process, a crucial and challenging step. Compared to active testing techniques commonly used in wired networks, passive approaches are more suitable to the WSN environment. While some works propose to specify the protocol with state models or to analyze them with simulators and emulators, we here propose a logic-based approach for formally specifying some functional requirements of a novel WSN routing protocol. We provide an algorithm to evaluate these properties on collected protocol execution traces. Further, we demonstrate the efficiency and suitability of our approach by its application into common WSN functional properties, as well as specific ones designed from our own routing protocol. We provide relevant testing verdicts through a real indoor testbed and the implementation of our protocol. Furthermore, the flexibility, genericity and practicability of our approach have been proven by the experimental results.Entities:
Keywords: conformance testing; passive testing; wireless sensor networks (WSN)
Year: 2015 PMID: 26610495 PMCID: PMC4701331 DOI: 10.3390/s151129250
Source DB: PubMed Journal: Sensors (Basel) ISSN: 1424-8220 Impact factor: 3.576
Figure 1Experiment environment.
Test results for Property 1.
| Traces | Total Messages | Pass | Fail | Inconclusive |
|---|---|---|---|---|
| 101 | 67,409 | 67,409 | 0 | 0 |
| 102 | 95,206 | 95,206 | 0 | 0 |
| 103 | 81,709 | 81,709 | 0 | 0 |
| 104 | 84,590 | 84,590 | 0 | 0 |
| 105 | 69,274 | 69,274 | 0 | 0 |
| 106 | 70,113 | 70,113 | 0 | 0 |
| 107 | 79,807 | 79,807 | 0 | 0 |
| 108 | 78,483 | 78,483 | 0 | 0 |
| 109 | 87,196 | 87,196 | 0 | 0 |
| 110 | 62,235 | 62,235 | 0 | 0 |
| Gateway 500 | 60,805 | 60,805 | 0 | 0 |
| Gateway 501 | 52,444 | 52,444 | 0 | 0 |
Test results for Property 2 (Day 1).
| Traces | Total Messages | Pass | Fail | Inconclusive |
|---|---|---|---|---|
| 101 | 67,409 | 22,446 | 0 | 0 |
| 102 | 95,206 | 29,552 | 0 | 0 |
| 103 | 81,709 | 32,243 | 0 | 1 |
| 104 | 84,590 | 29,128 | 0 | 0 |
| 105 | 69,274 | 23,981 | 0 | 0 |
| 106 | 70,113 | 23,983 | 0 | 0 |
| 107 | 79,807 | 26,717 | 0 | 0 |
| 108 | 78,483 | 29,330 | 0 | 1 |
| 109 | 87,196 | 26,117 | 0 | 0 |
| 110 | 62,235 | 19,837 | 0 | 0 |
| Gateway 500 | 60,805 | 17,639 | 0 | 1 |
| Gateway 501 | 52,444 | 14,659 | 0 | 0 |
Test results for Property 2 (Day 2).
| Traces | Total Messages | Pass | Fail | Inconclusive |
|---|---|---|---|---|
| 101 | 13,203 | 4228 | 0 | 0 |
| 102 | 18,342 | 5496 | 0 | 1 |
| 103 | 15,744 | 5939 | 0 | 0 |
| 104 | 18,852 | 6685 | 0 | 0 |
| 105 | 14,711 | 5809 | 0 | 0 |
| 106 | 12,851 | 5811 | 0 | 1 |
| 107 | 18,663 | 6613 | 0 | 0 |
| 108 | 18,440 | 7310 | 0 | 0 |
| 109 | 17,985 | 5377 | 0 | 0 |
| 110 | 12,879 | 4125 | 0 | 1 |
| Gateway 500 | 11,770 | 3310 | 0 | 0 |
| Gateway 501 | 11,509 | 3230 | 0 | 0 |
Figure 2Test results for Property 2 (Day 1).
Figure 3Test results for Property 2 (Day 2).
Test results for Property 3 (Day 1).
| Traces | Total Messages | Pass | Fail | Inconclusive |
|---|---|---|---|---|
| 101 | 67,409 | 11,105 | 11,341 | 0 |
| 102 | 95,206 | 29,552 | 0 | 0 |
| 103 | 81,709 | 16,171 | 16,072 | 0 |
| 104 | 84,590 | 29,128 | 0 | 1 |
| 105 | 69,274 | 23,981 | 0 | 0 |
| 106 | 70,113 | 23,983 | 0 | 2 |
| 107 | 79,807 | 13,252 | 13,365 | 0 |
| 108 | 78,483 | 29,330 | 0 | 1 |
| 109 | 87,196 | 26,117 | 0 | 0 |
| 110 | 62,235 | 10,016 | 9821 | 1 |
| Gateway 500 | 60,805 | 17,639 | 0 | 0 |
| Gateway 501 | 52,444 | 14,659 | 0 | 0 |
Test results for Property 3 (Day 2).
| Traces | Total Messages | Pass | Fail | Inconclusive |
|---|---|---|---|---|
| 101 | 13,203 | 2105 | 0 | 0 |
| 102 | 18,342 | 4277 | 0 | 0 |
| 103 | 15,744 | 1322 | 0 | 1 |
| 104 | 18,852 | 3651 | 0 | 0 |
| 105 | 14,711 | 431 | 0 | 0 |
| 106 | 12,851 | 80 | 0 | 0 |
| 107 | 18,663 | 3610 | 0 | 0 |
| 108 | 18,440 | 2766 | 0 | 0 |
| 109 | 17,985 | 4210 | 0 | 0 |
| 110 | 12,879 | 2045 | 0 | 1 |
| Gateway 500 | 11,770 | 3310 | 0 | 0 |
| Gateway 501 | 11,509 | 3230 | 0 | 0 |
Figure 4Test results for Property 3 (Day 1).
Figure 5Test results for Property 3 (Day 2).
Test results for Property 4 (Day 1).
| Traces | Total Messages | Pass | Fail | Inconclusive |
|---|---|---|---|---|
| 101 | 67,409 | 22,446 | 0 | 0 |
| 102 | 95,206 | 29,552 | 0 | 0 |
| 103 | 81,709 | 32,243 | 0 | 0 |
| 104 | 84,590 | 29,128 | 0 | 0 |
| 105 | 69,274 | 23,981 | 0 | 0 |
| 106 | 70,113 | 23,983 | 0 | 0 |
| 107 | 79,807 | 26,717 | 0 | 0 |
| 108 | 78,483 | 29,330 | 0 | 0 |
| 109 | 87,196 | 26,117 | 0 | 0 |
| 110 | 62,235 | 19,837 | 0 | 0 |
| Gateway 500 | 60,805 | 17,639 | 0 | 0 |
| Gateway 501 | 52,444 | 14,659 | 0 | 0 |
Test results for Property 4 (Day 2).
| Traces | Total Messages | Pass | Fail | Inconclusive |
|---|---|---|---|---|
| 101 | 13,203 | 4228 | 1 | 0 |
| 102 | 18,342 | 5496 | 0 | 0 |
| 103 | 15,744 | 5939 | 0 | 0 |
| 104 | 18,852 | 6685 | 0 | 0 |
| 105 | 14,711 | 5809 | 1 | 0 |
| 106 | 12,851 | 5811 | 0 | 0 |
| 107 | 18,663 | 6613 | 0 | 0 |
| 108 | 18,440 | 7310 | 1 | 1 |
| 109 | 17,985 | 5377 | 0 | 0 |
| 110 | 12,879 | 4125 | 0 | 1 |
| Gateway 500 | 11,770 | 3310 | 0 | 0 |
| Gateway 501 | 11,509 | 3230 | 0 | 0 |
Figure 6Test results for Property 4 (Day 1).
Figure 7Test results for Property 4 (Day 2).