CN-121985063-A - Multi-protocol adaptation system and method for Internet of things of executor
Abstract
The application relates to the technical field of industrial Internet of things automatic control, and discloses an executor Internet of things multi-protocol adaptation system and method, wherein the system comprises a protocol module, a state machine model is built for each protocol adapter, cross-protocol state coordination and abnormal event release are realized through temporal logic rule verification, a resource module receives abnormal events, a global resource constraint map is dynamically updated, an optimal resource reconfiguration scheme and an atomic task sequence are analyzed, a reconstruction module is used for deconstructing the task sequence into a pi-calculus concurrent process network, and the executor is driven through a recombination process network and mapping into a cross-protocol instruction set, so that full-link adaptation from protocol layer consistency guarantee, resource layer dynamic optimization scheduling to application layer flow flexible reconstruction is realized, and reliability and response efficiency of a multi-protocol executor system in a complex industrial environment are improved.
Inventors
- Xue Hongen
- SHEN JINGSHUANG
Assignees
- 上海海维工业控制有限公司
Dates
- Publication Date
- 20260505
- Application Date
- 20260210
Claims (10)
- 1. The Internet of things multi-protocol adaptation system of the executor is characterized by comprising a protocol module, a resource module and an application reconstruction module; the protocol module comprises a protocol subunit and a distribution unit, wherein the protocol subunit builds a state machine model for the physical protocol adapter and provides protocol behavior description; the distribution unit verifies temporal logic rules of cross-protocol state migration, and when any protocol state is abnormal, the cooperative security instruction set is generated by a cooperative state matrix; The resource module comprises a constraint unit and a solving unit, wherein the constraint unit receives the equipment state event and updates a global resource constraint graph; The application reconstruction module comprises a process unit and a weaving unit, wherein the process unit deconstructs the production flow in the atomic task sequence into a pi-calculus concurrent process network, and the weaving unit carries out logic recombination on the process network through the weaving of the virtual communication channel and maps the recombination result into a cross-protocol instruction set for issuing and executing.
- 2. The internet of things multi-protocol adaptation system of claim 1, wherein: The state machine model constructed by the protocol subunit constructs the communication behavior of each physical protocol adapter into a formalized model formed by a state set, an event set and a state conversion rule; And the formalized model updates and logically corrects the state transition rule by mapping the real-time communication state of the adapter according to the verification result of the distribution unit.
- 3. The internet of things multi-protocol adaptation system of claim 2, wherein: When the distribution unit verifies temporal logic rules, real-time monitoring and logic reasoning are carried out on a state transition sequence crossing protocols through a predefined rule base; The distribution unit is also provided with the cross-protocol temporal logic rule base and a collaborative state matrix, wherein the collaborative state matrix is used for recording the security dependence and mutual exclusion relation between the states of the adapters with different protocols, and when the abnormal state is verified, the collaborative security instruction set is generated according to the collaborative state matrix.
- 4. The internet of things multi-protocol adaptation system of claim 1, wherein: The global resource constraint graph constructed by the constraint unit is a dynamic topological structure; The dynamic topological structure comprises nodes, node attributes and edges; the node characterizes each actuator instance; The node attribute comprises the type of the actuator protocol, a real-time capability parameter and a state; the edge is used for representing the logic association relation among a plurality of actuators; when receiving the equipment state event, the constraint unit maintains the real-time mapping of the constraint graph to the physical resource state by dynamically updating the attribute and the associated edge of the affected node.
- 5. The internet of things multi-protocol adaptation system of claim 4, wherein: The resolving process of the solving unit adopts incremental optimization; The incremental optimization takes a changed global resource constraint graph as input, locks a local subgraph influenced by a state event through constraint propagation, starts an optimization flow combining backtracking search and objective function evaluation only in the subgraph range, and outputs a resource reallocation scheme and a corresponding atomic task execution sequence which enable overall efficiency to be optimal on the premise of meeting all processes and safety hard constraints.
- 6. The internet of things multi-protocol adaptation system of claim 5, wherein: In the resolving process, when a plurality of feasible schemes meeting hard constraint exist, the resolving unit performs final selection according to built-in multi-objective decision logic; The decision logic comprises total execution time consumption of the comprehensive evaluation scheme, cross-protocol coordination complexity and resource load balancing degree, and an atomic task execution sequence corresponding to the scheme with the optimal comprehensive evaluation value is output.
- 7. The internet of things multi-protocol adaptation system of claim 1, wherein: the process unit deconstructs the atomic task sequence into pi-calculus concurrent process network comprises the following steps: The process unit analyzes the atomic task execution sequence output by the resource module, and instantiates each atomic task in the sequence into an independent pi-calculus process; And (3) defining the functional semantics, input parameters, output results and required bound executor resources for each process clearly, establishing a virtual communication channel for the related process through a declarative connection port according to the logic dependence and data flow relation among tasks, and constructing a process network topology which completely characterizes the current production flow and can be executed concurrently.
- 8. The internet of things multi-protocol adaptation system of claim 7, wherein: the logically reorganizing the process network by the braiding unit through a communication channel comprises: The braiding unit adjusts the connection relation of virtual communication channels in the process network according to the real-time system state; creating a new virtual communication channel, redirecting or closing the existing virtual communication channel, changing synchronization and communication paths among processes, carrying out online adjustment on the execution sequence of the processes, and dynamically replacing or adding a specific process to complete the reconstruction of the business flow logic.
- 9. The internet of things multi-protocol adaptation system of claim 8, wherein: the execution of the braiding unit mapping the reorganization result to the cross-protocol instruction set concurrency includes: the weaving unit traverses the recombined process network, and translates the function description and parameters of the process into standardized control instructions which are suitable for the communication protocol of the current executor through the executor resources and the corresponding protocol types bound by each process; According to the execution time sequence agreed by the communication channel between the processes, the instruction set is cooperatively issued to the corresponding physical protocol adapter in the protocol module, and the executors of different protocols are driven to cooperatively complete the recombined production task.
- 10. An executor internet of things multi-protocol adaptation method, which is characterized by comprising the executor internet of things multi-protocol adaptation system as claimed in any one of claims 1-9, wherein: A formalized state machine model is built for each physical protocol adapter to describe the protocol behavior of the physical protocol adapter, and a temporal logic rule of cross-protocol state migration is verified in a running process; After the global resource constraint map changes, an optimal resource reallocation scheme meeting all processes and safety hard constraints is analyzed through constraint propagation and optimization search, and a corresponding atomic task execution sequence is output; The method comprises the steps of constructing a production flow in an atomic task execution sequence into a concurrent process network based on pi algorithm, logically reorganizing the process network by adjusting an inter-process communication channel according to real-time requirements, mapping the reorganized process network into a specific cross-protocol control instruction set, and issuing the specific cross-protocol control instruction set to a corresponding physical protocol adapter for execution.
Description
Multi-protocol adaptation system and method for Internet of things of executor Technical Field The application relates to the technical field of industrial Internet of things automatic control industry, and discloses an executor Internet of things multi-protocol adaptation system and method. Background In the current industrial internet of things system, the production line is generally integrated with executor equipment from different suppliers and adopting different communication protocols, the prior art mainly adopts a multi-gateway cooperative or universal protocol converter to realize equipment interconnection, but the current technical scheme has a plurality of defects, such as independent states among protocols, lack of cooperative safety mechanisms, incapability of timely and coordinately transmitting one fault or abnormal state to related equipment, easiness in causing system conflict or safety accident, static or semi-static system resource configuration, manual intervention and complex reconfiguration are required when a certain equipment fails or production task is changed, dynamic and optimal reallocation of resources cannot be realized, so that the production line has long downtime and poor flexibility, the whole production flow is generally hard-coded, dynamic adjustment and reconfiguration are difficult to carry out according to real-time working conditions or new tasks, and the system lacks self-adaptive capacity. Disclosure of Invention This section is intended to outline some aspects of embodiments of the application and to briefly introduce some preferred embodiments. Some simplifications or omissions may be made in this section as well as in the description of the application and in the title of the application, which may not be used to limit the scope of the application. In order to solve the technical problems, the application provides an Internet of things multi-protocol adaptation system and method for an actuator. The application provides an executor internet of things multi-protocol adaptation system, which comprises a protocol module, a resource module and an application reconstruction module, wherein the protocol module is used for receiving and transmitting data; the protocol module comprises a protocol subunit and a distribution unit, wherein the protocol subunit builds a state machine model for the physical protocol adapter and provides protocol behavior description; the distribution unit verifies temporal logic rules of cross-protocol state migration, and when any protocol state is abnormal, the cooperative security instruction set is generated by a cooperative state matrix; The resource module comprises a constraint unit and a solving unit, wherein the constraint unit receives the equipment state event and updates a global resource constraint graph; The application reconstruction module comprises a process unit and a weaving unit, wherein the process unit deconstructs the production flow in the atomic task sequence into a pi-calculus concurrent process network, and the weaving unit carries out logic recombination on the process network through the weaving of the virtual communication channel and maps the recombination result into a cross-protocol instruction set for issuing and executing. As a preferable scheme of the Internet of things multi-protocol adaptation system of the executor, the application comprises the following steps: The state machine model constructed by the protocol subunit constructs the communication behavior of each physical protocol adapter into a formalized model formed by a state set, an event set and a state conversion rule; And the formalized model updates and logically corrects the state transition rule by mapping the real-time communication state of the adapter according to the verification result of the distribution unit. As a preferable scheme of the Internet of things multi-protocol adaptation system of the executor, the application comprises the following steps: When the distribution unit verifies temporal logic rules, real-time monitoring and logic reasoning are carried out on a state transition sequence crossing protocols through a predefined rule base; The distribution unit is also provided with the cross-protocol temporal logic rule base and a collaborative state matrix, wherein the collaborative state matrix is used for recording the security dependence and mutual exclusion relation between the states of the adapters with different protocols, and when the abnormal state is verified, the collaborative security instruction set is generated according to the collaborative state matrix. As a preferable scheme of the Internet of things multi-protocol adaptation system of the executor, the application comprises the following steps: The global resource constraint graph constructed by the constraint unit is a dynamic topological structure; The dynamic topological structure comprises nodes, node attributes and edges; the node characterizes each act