| The rapid development of the Internet of Things has brought great convenience to our lives.Its wide application affects the direction of current technology development.We hope to combine the excellent features of the Internet of Things system with comprehensive sensing and intelligent control to bring to our lives more possibilities.This paper uses the event-driven features of the Internet of Things system,combined with the traditional workflow technology,to propose a business process management construction scheme based on event-driven and distributed services.Its main work and contributions include the following four aspects.(1)Event-driven IoT business process modeling.Propose an event session mechanism to organize event messages that decouple the IoT services from each other and complete the distributed representation of distributed services.Based on the event session mechanism,the IoT busi'ness process modeling modeling language and modeling method are established,and strict grammar,semantics,and correctness checking mechanism are defined for it.(2)Event-driven distributed execution of IoT business processes.By decomposing the modeled business process,it is divided into multiple atomic services and multiple collaborative logic fragments.The atomic service is close to the physical system deployment,and the extracted collaborative logic fragments are converted into composite events,which are executed by complex event processing services.Implement distributed,fully decoupled execution of business processes.(3)Development and implementation of a distributed process execution engine.By modifying the source code of the open source workflow engine,this paper designs and implements a scheme for the management unit to intelligently schedule multiple execution units;expands the characteristics of the traditional workflow engine,give it the ability to execute event-driven semantic process instances.Combine the two to complete the development of the process execution engine.(4)Monitoring and management of business process execution status and system resources.Developed a monitoring and management background for business processes,unified management of services,events,and form resources required for business process modeling,and monitored the execution status of the process engine to ensure efficient and normal execution of the process.The system deployment was applied to the National Development and Reform Commission project,Qilian Mountain Ecological Environmen t Monitoring and Management,which was consistently affirmed and positively evaluated by users.This paper elaborates the functional requirements,design principles and system implementation of the event-driven distributed business process management system through requirements analysis,system design and system implementation.The system verifies the availability of the system through testing. |