Testing protocols in Internet of Things by a formal passive technique

This is distributed testing architecture. Credit: ©Science China Press

Dr. CHE Xiaoping and Dr. MAAG Stephane from Laboratory UMR 5157 of French Centre national de la recherché scientifique (CNRS) focus on converging these two kinds of testing in a same formal approach. After several years of innovative research, they eventually created a formal approach to formally specify conformance and performance requirements.

They successfully applied their approach on Extensible Messaging and Presence Protocol (XMPP) and designed a distributed testing framework for XMPP services. Their work, entitled “Testing protocols in Internet of Things by a formal passive technique”, is published in SCIENCE CHINA Information Sciences.2014, Vol 57(3).

Extensible Messaging and Presence Protocol (XMPP) has gained more attention as a communication protocol in Internet of Things (IoT), which is a standardized protocol by Internet Engineering Task Force (IETF) and well established in the Internet.

XMPP is available for commonly used programming languages and device platforms. Several studies have investigated the potentialities of applying XMPP in IoT. With the tendency that XMPP is more and more widely used in many aspects of IoT, the problem of formally testing this protocol in a wireless environment is coming out in the wash.

Some works have tried to test the XMPP protocol under different conditions. However, they either simply evaluate the protocol performance or only test several conformance issues. It is worthwhile to note that conformance and performance testing are often associated within the protocol testing process. They are mainly applied to validate or verify the scalability and reliability of the system.

Many benefits can be brought to the testing process if both inherit from the same approach. Besides, very few works have tried to formalize the performance requirements which are mandatory for accurately testing the performance of protocols.

The main objective of this work is then to propose a passive distributed testing approach, for testing both the conformance and the performance of XMPP under IoT environment, based on the formal testing technique. Although some crucial works have been done in similar testing area, they studied runtime verification of properties expressed either in linear-time temporal logic or in timed linear-time temporal logic.

Different from their works focusing on testing functional properties based on formal models, this work concentrates on formally testing functional and nonfunctional properties without formal models. Also note that, this work is absorbed in the performance testing, not in performance evaluation. While performance evaluation of network protocols focuses on the evaluation of its performance, performance testing approaches aim at testing performance requirements that are expected in the protocol standard.

In this work, formalism is defined to specify conformance and performance requirements of XMPP represented as formulas tested on real protocol traces. Horn clauses based syntax is used in the approach to express properties that are checked on extracted traces. And then, since several protocol requirements need to be tested on different wireless entities, a distributed framework is designed for testing the approach on runtime wireless network execution traces.

The approach has been implemented into a distributed framework which provides the possibility to test individual nodes of a complex network environment. The results from testing several properties on large traces have been obtained with success. The subtesters and global monitor in the approach can intuitively reflect the current conformance and performance requirements conditions.

Some researchers suggested that the authors can work on building a standardized performance testing benchmark system for XMPP protocol in future. In that case, the efficiency and processing capacity of the system when massive subtesters are performed through complex network situations would be the crucial point they need to handle.

###

See the article:

Xiaoping CHE, Stephane MAAG. Testing protocols in Internet of Things by a formal passive technique. SCIENCE CHINA Information Sciences, 2014, 57(3): 032101(13)

http://info.scichina.com:8084/sciFe/EN/10.1007/s11432-014-5068-x

Science China Press Co., Ltd. (SCP) is a scientific journal publishing company of the Chinese Academy of Sciences (CAS). For 60 years, SCP takes its mission to present to the world the best achievements by Chinese scientists on various fields of natural sciences researches.

http://www.scichina.com/

Media Contact

CHE Xiaoping Eurek Alert!

All latest news from the category: Information Technology

Here you can find a summary of innovations in the fields of information and data processing and up-to-date developments on IT equipment and hardware.

This area covers topics such as IT services, IT architectures, IT management and telecommunications.

Back to home

Comments (0)

Write a comment

Newest articles

First-of-its-kind study uses remote sensing to monitor plastic debris in rivers and lakes

Remote sensing creates a cost-effective solution to monitoring plastic pollution. A first-of-its-kind study from researchers at the University of Minnesota Twin Cities shows how remote sensing can help monitor and…

Laser-based artificial neuron mimics nerve cell functions at lightning speed

With a processing speed a billion times faster than nature, chip-based laser neuron could help advance AI tasks such as pattern recognition and sequence prediction. Researchers have developed a laser-based…

Optimising the processing of plastic waste

Just one look in the yellow bin reveals a colourful jumble of different types of plastic. However, the purer and more uniform plastic waste is, the easier it is to…