Title :
RealProct: Reliable Protocol Conformance Testing with Real Nodes for Wireless Sensor Networks
Author :
Xiong, Junjie ; Ngai, Edith C -H ; Zhou, Yangfan ; Lyu, Michael R.
Author_Institution :
Dept. of Comput. Sci. & Eng., Chinese Univ. of Hong Kong, Shatin, China
Abstract :
Despite the various applications of wireless sensor network (WSN), experiences from real WSN deployments show that protocol implementations in sensor nodes are susceptible to software failures, which may cause network failures or even breakdown. Pre-deployment protocol conformance testing is essential to ensure reliable communications for WSNs. Unfortunately, existing solutions with simulators cannot test the exact hardware and implementation environment as real sensors, whereas testbeds are expensive and limited to small scale networks and topologies. In this paper, we present RealProct, a novel and reliable framework for testing protocol implementations against their specifications in WSNs. RealProct utilizes real sensors for protocol conformance testing to ensure that the results are close to the real deployment. Using different techniques from those in simulations and real deployments, RealProct virtualizes a large network with any topology and generate non-deterministic events using only a small number of sensors to provide flexibility and to reduce the cost. The framework is carefully designed to support efficient testing in resource-limited sensors. Moreover, test execution and verdict are optimized to minimize the number of runs, while guaranteeing satisfactory false posi tive and false negative rates. We implement RealProct and test it with the IIP TCP/IP protocol stack and a routing protocol developed for WSNs in Contiki-2.4. The results demonstrate the effectiveness of RealProct by detecting several new bugs and all previously discovered bugs in various versions of the μIP TCP/IP protocol stack.
Keywords :
complex networks; conformance testing; optimisation; routing protocols; sensor placement; software radio; telecommunication network reliability; telecommunication network topology; transport protocols; wireless sensor networks; μIP protocol stack; RealProct; TCP/IP protocol; WSN deployments; network topology; optimization; protocol conformance testing; reliability; routing protocol; small-scale networks; software failures; wireless sensor networks; Computer bugs; Network topology; Protocols; Software; Testing; Topology; Wireless sensor networks; Protocol conformance testing; wireless sensor networks;
Conference_Titel :
Trust, Security and Privacy in Computing and Communications (TrustCom), 2011 IEEE 10th International Conference on
Conference_Location :
Changsha
Print_ISBN :
978-1-4577-2135-9
DOI :
10.1109/TrustCom.2011.74