Research Article

Touch: A Textual Programming Language for Developing APPs of Insect Intelligent Building

Table 1

Domain analysis of I2B.

AspectDomain featureDescription

HumansBuilding engineers, building operation and maintenance managers, program developersIt is generally difficult for them to have both strong programming skills and domain knowledge about the I2B system architecture and operating mechanisms.

BuildingsDiversity of building elementsThe types of facilities and equipment in the building are complex, including rooms, corridors, and other spaces, as well as electromechanical equipment systems such as chillers and pumps.
Spatial distribution characteristicsSpaces and equipment form space topologies and equipment pipe networks of different structures according to space distribution.

PlatformI2B propertiesAs a new type of intelligent building, I2B has its unique components and architecture, such as CPN, SIM, and decentralized CPN network.
Network architectureEach CPN is equal and there is no control center. Each CPN only connects and interacts with its neighbors to complete distributed and parallel computing.
ConsistencyThe algorithms running on all CPNs participating in the same application task are identical.
Real-time read and writeThe building information stored in the SIM can be read and written in real time.
ConstraintFor a certain application task, not all CPNs in the CPN network can participate in the calculation, but only CPNs that meet the specific constraint conditions.
TriggeringThe calculation can be triggered by a certain CPN in the network.
UniversalityThe scale and topology of the network formed by CPN are unknown, i.e., the application can automatically adapt to systems of various structures, but the system structure cannot be described specifically during programming.