Knowledge-Based Verification of Concatenative Programming Patterns Inspired by Natural Language for Resource-Constrained Embedded Devices

被引:2
作者
Gaglio, Salvatore [1 ,2 ]
Lo Re, Giuseppe [1 ]
Martorella, Gloria [1 ]
Peri, Daniele [1 ]
机构
[1] Univ Palermo, Dept Engn, Viale Sci,Ed 6, I-90128 Palermo, Italy
[2] CNR, Natl Res Council, Inst High Performance Comp & Networking, ICAR, Via Ugo La Malfa 153, I-90146 Palermo, Italy
关键词
embedded systems; wireless sensor networks; internet of things; symbolic programming; distributed programming; concatenative languages; forth; TEST-CASE GENERATION; VIRTUAL MACHINE; INTERNET; THINGS; ENVIRONMENT; SYSTEM;
D O I
10.3390/s21010107
中图分类号
O65 [分析化学];
学科分类号
070302 ; 081704 ;
摘要
We propose a methodology to verify applications developed following programming patterns inspired by natural language that interact with physical environments and run on resource-constrained interconnected devices. Natural language patterns allow for the reduction of intermediate abstraction layers to map physical domain concepts into executable code avoiding the recourse to ontologies, which would need to be shared, kept up to date, and synchronized across a set of devices. Moreover, the computational paradigm we use for effective distributed execution of symbolic code on resource-constrained devices encourages the adoption of such patterns. The methodology is supported by a rule-based system that permits runtime verification of Software Under Test (SUT) on board the target devices through automated oracle and test case generation. Moreover, verification extends from syntactic and semantic checks to the evaluation of the effects of SUT execution on target hardware. Additionally, by exploiting rules tying sensors and actuators to physical quantities, the effects of code execution on the physical environment can be verified. The system is also able to build test code to highlight software issues that may arise during repeated SUT execution on the target hardware.
引用
收藏
页码:1 / 23
页数:23
相关论文
共 57 条
[1]   Using SPIN for automated debugging of infinite executions of Java']Java programs [J].
Adalid, Damian ;
Salmeron, Alberto ;
del Mar Gallardo, Maria ;
Merino, Pedro .
JOURNAL OF SYSTEMS AND SOFTWARE, 2014, 90 :61-75
[2]  
Adiego B. Fernandez, 2014, CERNACCNOTE20140037
[3]   T-Res: enabling reconfigurable in-network processing in IoT-based WSNs [J].
Alessandrelli, Daniele ;
Petracca, Matteo ;
Pagano, Paolo .
2013 9TH IEEE INTERNATIONAL CONFERENCE ON DISTRIBUTED COMPUTING IN SENSOR SYSTEMS (IEEE DCOSS 2013), 2013, :337-344
[4]  
Araujo W, 2011, 2011 33RD INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING (ICSE), P786, DOI 10.1145/1985793.1985903
[5]  
Aslam F, 2010, LECT NOTES COMPUT SC, V6131, P15, DOI 10.1007/978-3-642-13651-1_2
[6]  
Augello Andrea, 2020, 2020 25th IEEE International Conference on Emerging Technologies and Factory Automation (ETFA), P1177, DOI 10.1109/ETFA46521.2020.9212134
[7]   Formal verification and validation of embedded systems: the UML-based MADES approach [J].
Baresi, Luciano ;
Blohm, Gundula ;
Kolovos, Dimitrios S. ;
Matragkas, Nicholas ;
Motta, Alfredo ;
Paige, Richard F. ;
Radjenovic, Alek ;
Rossi, Matteo .
SOFTWARE AND SYSTEMS MODELING, 2015, 14 (01) :343-363
[8]  
Berger C., 2014, P DSM 14 14 WORKSH D, P41, DOI [10.1145/2688447.2688455, DOI 10.1145/2688447.2688455]
[9]  
Bocchino S, 2015, LECT NOTES COMPUT SC, V8965, P1, DOI 10.1007/978-3-319-15582-1_1
[10]   Terra: Flexibility and Safety in Wireless Sensor Networks [J].
Branco, Adriano ;
Sant'anna, Francisco ;
Ierusalimschy, Roberto ;
Rodriguez, Noemi ;
Rossetto, Silvana .
ACM TRANSACTIONS ON SENSOR NETWORKS, 2015, 11 (04)