Cargando…
Knowledge-Based Verification of Concatenative Programming Patterns Inspired by Natural Language for Resource-Constrained Embedded Devices
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...
Autores principales: | , , , |
---|---|
Formato: | Online Artículo Texto |
Lenguaje: | English |
Publicado: |
MDPI
2020
|
Materias: | |
Acceso en línea: | https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7795688/ https://www.ncbi.nlm.nih.gov/pubmed/33375337 http://dx.doi.org/10.3390/s21010107 |
_version_ | 1783634504090386432 |
---|---|
author | Gaglio, Salvatore Lo Re, Giuseppe Martorella, Gloria Peri, Daniele |
author_facet | Gaglio, Salvatore Lo Re, Giuseppe Martorella, Gloria Peri, Daniele |
author_sort | Gaglio, Salvatore |
collection | PubMed |
description | 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. |
format | Online Article Text |
id | pubmed-7795688 |
institution | National Center for Biotechnology Information |
language | English |
publishDate | 2020 |
publisher | MDPI |
record_format | MEDLINE/PubMed |
spelling | pubmed-77956882021-01-10 Knowledge-Based Verification of Concatenative Programming Patterns Inspired by Natural Language for Resource-Constrained Embedded Devices Gaglio, Salvatore Lo Re, Giuseppe Martorella, Gloria Peri, Daniele Sensors (Basel) Article 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. MDPI 2020-12-26 /pmc/articles/PMC7795688/ /pubmed/33375337 http://dx.doi.org/10.3390/s21010107 Text en © 2020 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (http://creativecommons.org/licenses/by/4.0/). |
spellingShingle | Article Gaglio, Salvatore Lo Re, Giuseppe Martorella, Gloria Peri, Daniele Knowledge-Based Verification of Concatenative Programming Patterns Inspired by Natural Language for Resource-Constrained Embedded Devices |
title | Knowledge-Based Verification of Concatenative Programming Patterns Inspired by Natural Language for Resource-Constrained Embedded Devices |
title_full | Knowledge-Based Verification of Concatenative Programming Patterns Inspired by Natural Language for Resource-Constrained Embedded Devices |
title_fullStr | Knowledge-Based Verification of Concatenative Programming Patterns Inspired by Natural Language for Resource-Constrained Embedded Devices |
title_full_unstemmed | Knowledge-Based Verification of Concatenative Programming Patterns Inspired by Natural Language for Resource-Constrained Embedded Devices |
title_short | Knowledge-Based Verification of Concatenative Programming Patterns Inspired by Natural Language for Resource-Constrained Embedded Devices |
title_sort | knowledge-based verification of concatenative programming patterns inspired by natural language for resource-constrained embedded devices |
topic | Article |
url | https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7795688/ https://www.ncbi.nlm.nih.gov/pubmed/33375337 http://dx.doi.org/10.3390/s21010107 |
work_keys_str_mv | AT gagliosalvatore knowledgebasedverificationofconcatenativeprogrammingpatternsinspiredbynaturallanguageforresourceconstrainedembeddeddevices AT loregiuseppe knowledgebasedverificationofconcatenativeprogrammingpatternsinspiredbynaturallanguageforresourceconstrainedembeddeddevices AT martorellagloria knowledgebasedverificationofconcatenativeprogrammingpatternsinspiredbynaturallanguageforresourceconstrainedembeddeddevices AT peridaniele knowledgebasedverificationofconcatenativeprogrammingpatternsinspiredbynaturallanguageforresourceconstrainedembeddeddevices |