Modelling and Verification of Real-Time Publish and Subscribe Protocol Using Uppaal and Simulink/Stateflow

被引:6
作者
Lin, Qian-Qian [1 ]
Wang, Shu-Ling [1 ]
Zhan, Bo-Hua [1 ]
Gu, Bin [2 ]
机构
[1] Chinese Acad Sci, Inst Software, State Key Lab Comp Sci, Beijing 100190, Peoples R China
[2] Beijing Inst Control Engn, Beijing 100081, Peoples R China
基金
中国国家自然科学基金;
关键词
Real-Time Publish and Subscribe (RTPS); modelling; verification; Uppaal; Simulink; Stateflow; DDS;
D O I
10.1007/s11390-020-0537-8
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
Real-Time Publish and Subscribe (RTPS) protocol is a protocol for implementing message exchange over an unreliable transport in data distribution service (DDS). Formal modelling and verification of the protocol provide stronger guarantees of its correctness and efficiency than testing alone. In this paper, we build formal models for the RTPS protocol using Uppaal and Simulink/Stateflow. Modelling using Simulink/Stateflow allows analyzing the protocol through simulation, as well as generate executable code. Modelling using Uppaal allows us to verify properties of the model stated in TCTL (Timed Computation Tree Logic), as well as estimate its performance using statistical model checking. We further describe a procedure for translation from Stateflow to timed automata, where a subset of major features in Stateflow is supported, and prove the soundness statement that the Stateflow model is a refinement of the translated timed automata model. As a consequence, any property in a certain fragment of TCTL that we have verified for the timed automata model in Uppaal is preserved for the original Stateflow model.
引用
收藏
页码:1324 / 1342
页数:19
相关论文
共 26 条
[1]   Scalable Wireless Video Streaming over Real-Time Publish Subscribe Protocol (RTPS) [J].
Al-madani, Basem ;
Al-saeedi, Mohammed ;
Al-Roubaiey, Anas A. .
17TH IEEE/ACM INTERNATIONAL SYMPOSIUM ON DISTRIBUTED SIMULATION AND REAL TIME APPLICATIONS (DS-RT 2013), 2013, :221-230
[2]  
Alaerjan A, 2017, 2017 IEEE SMARTWORLD, UBIQUITOUS INTELLIGENCE & COMPUTING, ADVANCED & TRUSTED COMPUTED, SCALABLE COMPUTING & COMMUNICATIONS, CLOUD & BIG DATA COMPUTING, INTERNET OF PEOPLE AND SMART CITY INNOVATION (SMARTWORLD/SCALCOM/UIC/ATC/CBDCOM/IOP/SCI)
[3]   RTPS middleware for real-time distributed industrial vision systems [J].
Almadani, B .
11th IEEE International Conference on Embedded and Real-Time Computing Systems and Applications, Proceedings, 2005, :361-364
[4]   A THEORY OF TIMED AUTOMATA [J].
ALUR, R ;
DILL, DL .
THEORETICAL COMPUTER SCIENCE, 1994, 126 (02) :183-235
[5]  
Andres F, 1996, ADVANCED IT TOOLS, P487
[6]  
Beckman K, 2018, P 13 INT S IND EMB S
[7]  
Behrmann G, 2004, LECT NOTES COMPUT SC, V3185, P200
[8]   Developing UPPAAL over 15 years [J].
Behrmann, Gerd ;
David, Alexandre ;
Larsen, Kim Guldstrand ;
Pettersson, Paul ;
Yi, Wang .
SOFTWARE-PRACTICE & EXPERIENCE, 2011, 41 (02) :133-142
[9]   A THEORY OF COMMUNICATING SEQUENTIAL PROCESSES [J].
BROOKES, SD ;
HOARE, CAR ;
ROSCOE, AW .
JOURNAL OF THE ACM, 1984, 31 (03) :560-599
[10]   Formal modeling and validation of Stateflow diagrams [J].
Chunqing Chen ;
Jun Sun ;
Yang Liu ;
Jin Song Dong ;
Manchun Zheng .
Chen, C. (chunqing.chen@hp.com), 1600, Springer Verlag (14) :653-671