| With the development of the Internet of Things technology,terminal intelligent devices with diversified functions bring convenience to people’s production and life,but also expose a series of problems such as difficulties in user demand iteration,high access threshold for developers,complex types of equipment resources and inability to effectively utilize data resources in the system.In response to the above problems,this subject proposes a low-code programming for terminal intelligent devices,which aims to provide users with a system that can quickly iterate application requirements and support ordinary users to program terminal intelligent devicesThis subject proposes the definition of conceptual components to virtualize the management of device resources in IoT applications.In addition,this subject establishes a virtualized management mechanism for terminal intelligent equipment and its peripheral resources to realize the operation and management of terminal intelligent equipment resources.This mechanism enables developers and users not to pay attention to the specific type of the underlying device,and configure the attribute configuration of the conceptual component and the configuration of the control logic for the terminal smart device according to their own application scenarios and requirements.In order to enable developers and users to perform personalized operations on conceptual components,a new set of instruction operations and strategy grammars are designed for this topic.Among them,the new instruction operation set provides users with operations on conceptual components,and the strategy grammar is a grammatical rule that regulates the user’s control strategy configuration and guides the program logic.The system of this subject adopts a hierarchical structure design,which are device driver layer,human-computer interaction layer,network communication layer,parse compilation layer,and task execution layer.Through the human-computer interaction layer,the user componentize the concept of the device resources and configure the control strategy to realize the management of the device resources.The control strategy information delivered by the network layer is parsed and compiled by the parsing layer for lexical analysis and grammatical analysis.Parse compilation layer registers the obtained quaternary structure as a parameter generation task function in the task list.The device driver layer manages the data interaction of the terminal device.The execution layer schedules the tasks in the task list to complete the program function realization of the user strategy.In this subject,the overall service program is designed according to the functions of each layer,and the realization of the low-code programming of the terminal intelligent equipment is tested in the application environment. |