Touch: A Textual Programming Language for Developing APPs of Insect Intelligent Building
Insect intelligent building (I2B) is a novel decentralized, flat-structured intelligent building platform with excellent flexibility and scalability. I2B allows users to develop applications that include control strategies for efficiently managing and controlling buildings. However, developing I2B A...
Main Authors: | , , , , , , |
---|---|
Format: | Article |
Language: | English |
Published: |
Hindawi Limited
2020-01-01
|
Series: | Scientific Programming |
Online Access: | http://dx.doi.org/10.1155/2020/8887588 |
id |
doaj-c03bc0bc82c747d9a79eb7bafa5468d8 |
---|---|
record_format |
Article |
spelling |
doaj-c03bc0bc82c747d9a79eb7bafa5468d82021-07-02T17:20:46ZengHindawi LimitedScientific Programming1058-92441875-919X2020-01-01202010.1155/2020/88875888887588Touch: A Textual Programming Language for Developing APPs of Insect Intelligent BuildingWenjie Chen0Qiliang Yang1Ziyan Jiang2Jianchun Xing3Qianchuan Zhao4Qizhen Zhou5Deshuai Han6College of Defense Engineering, Army Engineering University of PLA, Nanjing 210007, ChinaCollege of Defense Engineering, Army Engineering University of PLA, Nanjing 210007, ChinaBuilding Energy Research Center, Tsinghua University, Beijing 100084, ChinaCollege of Defense Engineering, Army Engineering University of PLA, Nanjing 210007, ChinaDepartment of Automation, Tsinghua University, Beijing 100084, ChinaCollege of Defense Engineering, Army Engineering University of PLA, Nanjing 210007, ChinaCollege of Combat Support, Rocket Force University of Engineering, Xi’an 710000, ChinaInsect intelligent building (I2B) is a novel decentralized, flat-structured intelligent building platform with excellent flexibility and scalability. I2B allows users to develop applications that include control strategies for efficiently managing and controlling buildings. However, developing I2B APPs (applications) is considered a challenging and complex task due to the complex structural features and parallel computing models of the I2B platform. Existing studies have been shown to encounter difficulty in supporting a high degree of abstraction and in allowing users to define control scenarios in a concise and comprehensible way. This paper aims to facilitate the development of such applications and to reduce the programming difficulty. We propose Touch, a textual domain-specific language (DSL) that provides a high-level abstraction of I2B APPs. Specifically, we first establish the conceptual programming architecture of the I2B APP, making the application more intuitive by abstracting different levels of physical entities in I2B. Then, we present special language elements to effectively support the parallel computing model of the I2B platform and provide a formal definition of the concrete Touch syntax. We also implement supporting tools for Touch, including a development environment as well as target code generation. Finally, we present experimental results to demonstrate the effectiveness and efficiency of Touch.http://dx.doi.org/10.1155/2020/8887588 |
collection |
DOAJ |
language |
English |
format |
Article |
sources |
DOAJ |
author |
Wenjie Chen Qiliang Yang Ziyan Jiang Jianchun Xing Qianchuan Zhao Qizhen Zhou Deshuai Han |
spellingShingle |
Wenjie Chen Qiliang Yang Ziyan Jiang Jianchun Xing Qianchuan Zhao Qizhen Zhou Deshuai Han Touch: A Textual Programming Language for Developing APPs of Insect Intelligent Building Scientific Programming |
author_facet |
Wenjie Chen Qiliang Yang Ziyan Jiang Jianchun Xing Qianchuan Zhao Qizhen Zhou Deshuai Han |
author_sort |
Wenjie Chen |
title |
Touch: A Textual Programming Language for Developing APPs of Insect Intelligent Building |
title_short |
Touch: A Textual Programming Language for Developing APPs of Insect Intelligent Building |
title_full |
Touch: A Textual Programming Language for Developing APPs of Insect Intelligent Building |
title_fullStr |
Touch: A Textual Programming Language for Developing APPs of Insect Intelligent Building |
title_full_unstemmed |
Touch: A Textual Programming Language for Developing APPs of Insect Intelligent Building |
title_sort |
touch: a textual programming language for developing apps of insect intelligent building |
publisher |
Hindawi Limited |
series |
Scientific Programming |
issn |
1058-9244 1875-919X |
publishDate |
2020-01-01 |
description |
Insect intelligent building (I2B) is a novel decentralized, flat-structured intelligent building platform with excellent flexibility and scalability. I2B allows users to develop applications that include control strategies for efficiently managing and controlling buildings. However, developing I2B APPs (applications) is considered a challenging and complex task due to the complex structural features and parallel computing models of the I2B platform. Existing studies have been shown to encounter difficulty in supporting a high degree of abstraction and in allowing users to define control scenarios in a concise and comprehensible way. This paper aims to facilitate the development of such applications and to reduce the programming difficulty. We propose Touch, a textual domain-specific language (DSL) that provides a high-level abstraction of I2B APPs. Specifically, we first establish the conceptual programming architecture of the I2B APP, making the application more intuitive by abstracting different levels of physical entities in I2B. Then, we present special language elements to effectively support the parallel computing model of the I2B platform and provide a formal definition of the concrete Touch syntax. We also implement supporting tools for Touch, including a development environment as well as target code generation. Finally, we present experimental results to demonstrate the effectiveness and efficiency of Touch. |
url |
http://dx.doi.org/10.1155/2020/8887588 |
work_keys_str_mv |
AT wenjiechen touchatextualprogramminglanguagefordevelopingappsofinsectintelligentbuilding AT qiliangyang touchatextualprogramminglanguagefordevelopingappsofinsectintelligentbuilding AT ziyanjiang touchatextualprogramminglanguagefordevelopingappsofinsectintelligentbuilding AT jianchunxing touchatextualprogramminglanguagefordevelopingappsofinsectintelligentbuilding AT qianchuanzhao touchatextualprogramminglanguagefordevelopingappsofinsectintelligentbuilding AT qizhenzhou touchatextualprogramminglanguagefordevelopingappsofinsectintelligentbuilding AT deshuaihan touchatextualprogramminglanguagefordevelopingappsofinsectintelligentbuilding |
_version_ |
1721325531967782912 |