{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,6,6]],"date-time":"2026-06-06T05:01:27Z","timestamp":1780722087169,"version":"3.54.1"},"reference-count":31,"publisher":"MDPI AG","issue":"6","license":[{"start":{"date-parts":[[2026,6,1]],"date-time":"2026-06-01T00:00:00Z","timestamp":1780272000000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0\/"}],"content-domain":{"domain":[],"crossmark-restriction":false},"short-container-title":["Algorithms"],"abstract":"<jats:p>Efficient Distributed Computing is still a major challenge, especially in networks composed of very-low-resource embedded systems, e.g., tiny microcontrollers deployed in sensor networks. This work will, firstly, address the design and implementation of event-driven and real-time capable low-resource Virtual Machines (VMs) tightly coupled to communication-centric systems, and secondly, address messaging and routing in mesh-grid networks. The distributed VM network herein forms one big virtual computer executing typically the same program on each node, but processing different data with different control states. The VM provides an integrated program code compiler and an optimized Bytecode processor. The programming language of the VM supports channel-based communication, multi-tasking, and event-based (asynchronous) data processing following the CSP model. The VM fits in microcontrollers with only a few kB of RAM and ROM. A major part of this work is dedicated to network messaging (supported by the VM, too) and routing in two-dimensional mesh-grid networks with a varying degree k of communication ports per node (connectivity degree k), and especially considering the odd but technical relevant case, k = 3, which introduces challenges in message routing that are solved herein. This study demonstrates the performance and suitability of our VM approach for distributed sensor networks performing distributed Machine Learning and clustering by using local sensor data only.<\/jats:p>","DOI":"10.3390\/a19060445","type":"journal-article","created":{"date-parts":[[2026,6,2]],"date-time":"2026-06-02T11:25:31Z","timestamp":1780399531000},"page":"445","update-policy":"https:\/\/doi.org\/10.3390\/mdpi_crossmark_policy","source":"Crossref","is-referenced-by-count":0,"title":["A Distributed Virtual Machine for Mesh-Grid Sensor Networks Supporting In-Sensor Data Processing and Distributed Machine Learning with Strictly Resource-Constrained Microcontrollers"],"prefix":"10.3390","volume":"19","author":[{"given":"Stefan","family":"Bosse","sequence":"first","affiliation":[{"name":"Institute of Computer Science, University of Koblenz, 56070 Koblenz, Germany"}],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"1968","published-online":{"date-parts":[[2026,6,1]]},"reference":[{"key":"ref_1","doi-asserted-by":"crossref","first-page":"1322","DOI":"10.1016\/j.mejo.2008.08.012","article-title":"Wired and wireless sensor networks for industrial applications","volume":"40","author":"Flammini","year":"2009","journal-title":"Microelectron. J."},{"key":"ref_2","doi-asserted-by":"crossref","unstructured":"Kenyeres, M., Kenyeres, J., and Hassankhani Dolatabadi, S. (2025). Distributed Consensus Gossip-Based Data Fusion for Suppressing Incorrect Sensor Readings in Wireless Sensor Networks. J. Low Power Electron. Appl., 15.","DOI":"10.3390\/jlpea15010006"},{"key":"ref_3","unstructured":"Michiels, S., Horr\u00e9, W., Joosen, W., and Verbaeten, P. (December, January 27). DAViM: A Dynamically Adaptable Virtual Machine for Sensor Networks. Proceedings of the International Workshop on Middleware for Sensor Networks (MidSens\u201906), Melbourne, Australia."},{"key":"ref_4","doi-asserted-by":"crossref","unstructured":"M\u00fcller, R., Alonso, G., and Kossmann, D. (2007, January 21\u201323). A Virtual Machine for Sensor Networks. Proceedings of the 2nd ACM SIGOPS\/EuroSys European Conference on Computer Systems 2007 (EuroSys\u201907), Lisbon, Portugal.","DOI":"10.1145\/1272996.1273013"},{"key":"ref_5","doi-asserted-by":"crossref","first-page":"17","DOI":"10.1109\/MAES.2005.1499273","article-title":"Fundamentals of energy-constrained sensor network systems","volume":"20","author":"Sadler","year":"2005","journal-title":"IEEE Aerosp. Electron. Syst. Mag."},{"key":"ref_6","first-page":"73","article-title":"Node.js challenges in implementation","volume":"17","author":"Shah","year":"2017","journal-title":"Glob. J. Comput. Sci. Technol."},{"key":"ref_7","unstructured":"Mulder, P., and Kelsey, B. (2016). Node.js for Embedded Systems: Using Web Technologies to Build Connected Devices, O\u2019Reilly Media, Inc."},{"key":"ref_8","doi-asserted-by":"crossref","unstructured":"Hong, K., Park, J., and Scholz, B. (2009, January 4\u20136). TinyVM, an Efficient Virtual Machine Infrastructure for Sensor Networks. Proceedings of the 7th ACM Conference on Embedded Networked Sensor Systems (SenSys\u201909), Berkeley, CA, USA.","DOI":"10.1145\/1644038.1644121"},{"key":"ref_9","doi-asserted-by":"crossref","first-page":"1896","DOI":"10.1002\/spe.70014","article-title":"Register-Based and Stack-Based Virtual Machines: Which Perform Better in JIT Compilation Scenarios?","volume":"55","author":"Bohuslav","year":"2025","journal-title":"Softw. Pract. Exp."},{"key":"ref_10","doi-asserted-by":"crossref","unstructured":"Bosse, S. (2024). A Virtual Machine Platform Providing Machine Learning as a Programmable and Distributed Service for IoT and Edge On-Device Computing: Architecture, Transformation, and Evaluation of Integer Discretization. Algorithms, 17.","DOI":"10.3390\/a17080356"},{"key":"ref_11","doi-asserted-by":"crossref","unstructured":"Marques, I.L., Ronan, J., and Rosa, N.S. (2009, January 25\u201328). TinyReef: A Register-Based Virtual Machine for Wireless Sensor Networks. Proceedings of the IEEE SENSORS 2009 Conference, Christchurch, New Zealand.","DOI":"10.1109\/ICSENS.2009.5398437"},{"key":"ref_12","doi-asserted-by":"crossref","unstructured":"Levis, P., and Culler, D. (2002, January 5\u20139). Mate: A Tiny Virtual Machine for Sensor Networks. Proceedings of the 10th International Conference on Architectural Support for Programming Languages and Operating Systems (ASPLOS X), San Jose, CA, USA.","DOI":"10.1145\/605397.605407"},{"key":"ref_13","doi-asserted-by":"crossref","unstructured":"Rosin, P., Sun, X., and Adamatzky, A. (2014). Cellular Automata in Image Processing and Geometry, Springer.","DOI":"10.1007\/978-3-319-06431-4"},{"key":"ref_14","doi-asserted-by":"crossref","first-page":"15501477211062835","DOI":"10.1177\/15501477211062835","article-title":"Artificial intelligence Internet of Things: A new paradigm of distributed sensor networks","volume":"18","author":"Seng","year":"2022","journal-title":"Int. J. Distrib. Sens. Netw."},{"key":"ref_15","doi-asserted-by":"crossref","unstructured":"Taherkordi, A., Mohammadi, R., and Eliassen, F. (2008, January 25\u201328). A Communication-Efficient Distributed Clustering Algorithm for Sensor Networks. Proceedings of the 22nd International Conference on Advanced Information Networking and Applications\u2014Workshops, Ginowan, Japan.","DOI":"10.1109\/WAINA.2008.130"},{"key":"ref_16","doi-asserted-by":"crossref","first-page":"1170","DOI":"10.1109\/TIE.2017.2733479","article-title":"Opto-electronic sensor network powered over fiber for harsh industrial applications","volume":"65","author":"Budelmann","year":"2017","journal-title":"IEEE Trans. Ind. Electron."},{"key":"ref_17","doi-asserted-by":"crossref","first-page":"776","DOI":"10.1109\/JEDS.2019.2896188","article-title":"Hybrid systems-in-foil\u2014Combining the merits of thin chips and of large-area electronics","volume":"7","author":"Burghartz","year":"2019","journal-title":"IEEE J. Electron Devices Soc."},{"key":"ref_18","doi-asserted-by":"crossref","unstructured":"Mohamed, N., and Jawhar, I. (2008). A fault tolerant wired\/wireless sensor network architecture for monitoring pipeline infrastructures. 2008 Second International Conference on Sensor Technologies and Applications (SENSORCOMM 2008), 25\u201331 August 2008, IEEE.","DOI":"10.1109\/SENSORCOMM.2008.116"},{"key":"ref_19","unstructured":"(2026, May 01). STM32 Product Selector, ST Microelectronics. Available online: https:\/\/www.st.com\/content\/st_com\/en\/stm32-mcu-product-selector.html."},{"key":"ref_20","unstructured":"Samiullah, M., Irfan, M.Z., and Rafique, A. (2026, May 01). Microcontrollers: A Comprehensive Overview and Comparative Analysis of Diverse Types. Available online: https:\/\/engrxiv.org\/preprint\/download\/3228\/5873."},{"key":"ref_21","doi-asserted-by":"crossref","unstructured":"Huang, D.-J., Teng, W.-C., Wang, C.-Y., Huang, H.-Y., and Hellerstein, J.M. (2008). Clock skew based node identification in wireless sensor networks. IEEE GLOBECOM 2008\u20142008 IEEE Global Telecommunications Conference, IEEE.","DOI":"10.1109\/GLOCOM.2008.ECP.363"},{"key":"ref_22","unstructured":"Bosse, S. (2026, March 01). PLX Virtual Machine Repository. Available online: http:\/\/git.edu-9.de\/sbosse\/plxvm."},{"key":"ref_23","unstructured":"Bosse, S., Bornemann, S., and L\u00fcssem, B. (2023). Virtualization of low-resource Embedded Systems with a robust real-time capable and extensible Stack Virtual Machine REXAVM supporting Material-integrated Intelligent Systems and Tiny Machine Learning. arXiv."},{"key":"ref_24","doi-asserted-by":"crossref","unstructured":"Bornemann, S., and Lang, W. (2022). Considerations and limits of embedding sensor nodes for structural health monitoring into fiber metal laminates. Sensors, 22.","DOI":"10.3390\/s22124511"},{"key":"ref_25","unstructured":"(2025, January 01). SPU0410LR5H-QB, Zero-Height SiSonicTM Microphone, Knowles Electronics, Datasheet from 27 March 2013. Available online: https:\/\/www.knowles.com."},{"key":"ref_26","unstructured":"Bosse, S. (2025, January 27\u201328). Towards an Air-coupled Ultrasonic Sensor Network and Camera for Non-destructive Testing with Integrated Machine Learning. Proceedings of the Schall Konferenz 2025, Dresden, Germany."},{"key":"ref_27","doi-asserted-by":"crossref","first-page":"666","DOI":"10.1145\/359576.359585","article-title":"Communicating sequential processes","volume":"21","author":"Hoare","year":"1978","journal-title":"Commun. ACM"},{"key":"ref_28","unstructured":"Liao, W.K., Liu, Y., and Choudhary, A. (2004, January 22\u201324). A grid-based clustering algorithm using adaptive mesh refinement. Proceedings of the 7th Workshop on Mining Scientific and Engineering Datasets of SIAM International Conference on Data Mining, Lake Buena Vista, FL, USA."},{"key":"ref_29","doi-asserted-by":"crossref","unstructured":"Liu, J. (2001). Autonomous Agents and Multi-Agent Systems: Explorations in Learning, Self-Organization and Adaptive Computation, World Scientific Publishing.","DOI":"10.1142\/9789812811844"},{"key":"ref_30","unstructured":"Polle, C., and Bosse, S. (2024, January 10\u201313). A Study on XANNs for Analyzing Failures in Guided Ultrasonic Wave-based Damage Localization. Proceedings of the EWSHM 2024, 11th European Workshop on Structural Health Monitoring, Potsdam, Germany."},{"key":"ref_31","doi-asserted-by":"crossref","first-page":"479","DOI":"10.1145\/255129.255192","article-title":"Supercomputing with transputers\u2014Past, present and future","volume":"18","author":"Hey","year":"1990","journal-title":"ACM SIGARCH Comput. Archit. News"}],"container-title":["Algorithms"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/www.mdpi.com\/1999-4893\/19\/6\/445\/pdf","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2026,6,6]],"date-time":"2026-06-06T04:29:23Z","timestamp":1780720163000},"score":1,"resource":{"primary":{"URL":"https:\/\/www.mdpi.com\/1999-4893\/19\/6\/445"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2026,6,1]]},"references-count":31,"journal-issue":{"issue":"6","published-online":{"date-parts":[[2026,6]]}},"alternative-id":["a19060445"],"URL":"https:\/\/doi.org\/10.3390\/a19060445","relation":{},"ISSN":["1999-4893"],"issn-type":[{"value":"1999-4893","type":"electronic"}],"subject":[],"published":{"date-parts":[[2026,6,1]]}}}