CN114296417A - A general process control system for efficient fusion of multi-source data - Google Patents

A general process control system for efficient fusion of multi-source data Download PDF

Info

Publication number
CN114296417A
CN114296417A CN202210236928.4A CN202210236928A CN114296417A CN 114296417 A CN114296417 A CN 114296417A CN 202210236928 A CN202210236928 A CN 202210236928A CN 114296417 A CN114296417 A CN 114296417A
Authority
CN
China
Prior art keywords
execution
source data
nodes
general
fusion
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202210236928.4A
Other languages
Chinese (zh)
Other versions
CN114296417B (en
Inventor
梁英杰
崔小鹏
马锐锋
朱俊杰
芮万智
贾正荣
孙兴法
郑欣良
郭威
吴延好
韩一
孙文
熊又星
刘柳
王钰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Naval University of Engineering PLA
Original Assignee
Naval University of Engineering PLA
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Naval University of Engineering PLA filed Critical Naval University of Engineering PLA
Priority to CN202210236928.4A priority Critical patent/CN114296417B/en
Publication of CN114296417A publication Critical patent/CN114296417A/en
Application granted granted Critical
Publication of CN114296417B publication Critical patent/CN114296417B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Landscapes

  • Control By Computers (AREA)
  • Programmable Controllers (AREA)

Abstract

本发明涉及自动控制系统可靠性技术领域,公开了一种多源数据高效融合的通用流程控制系统,包括驱动层、服务层和应用层,驱动层采集各执行设备传输的多源数据,上传至服务层,服务层解耦多源数据,获得融合数据,通过订阅发布的方式,供应用层使用。本发明多源数据高效融合的通用流程控制方法及系统,通用性、高效可靠,适用于不同执行设备、通信方式、通信协议、控制特点和控制要求的工业场景,实现不同数据源的高效融合和通用流程控制。

Figure 202210236928

The invention relates to the technical field of reliability of automatic control systems, and discloses a general process control system for efficient fusion of multi-source data, comprising a driver layer, a service layer and an application layer. Service layer, the service layer decouples multi-source data, obtains fusion data, and provides it to the application layer through subscription and publishing. The general process control method and system for efficient fusion of multi-source data of the present invention is universal, efficient and reliable, and is suitable for industrial scenarios with different execution equipment, communication methods, communication protocols, control characteristics and control requirements, and realizes the efficient fusion and control of different data sources. General flow control.

Figure 202210236928

Description

多源数据高效融合的通用流程控制系统A general process control system for efficient fusion of multi-source data

技术领域technical field

本发明涉及自动控制系统可靠性技术领域,具体涉及一种多源数据高效融合的通用流程控制系统。The invention relates to the technical field of reliability of automatic control systems, in particular to a general process control system for efficient fusion of multi-source data.

背景技术Background technique

自动控制系统在工业生产中应用非常广泛,目前传统工业控制系统需要针对应用场景进行一对一设计,存在开发周期长,通用性差,缺乏用户定制等问题。同时,由于缺乏统一的开发标准,不同软件工程师设计的自动控制程序差别较大,且不能互相通用。Automatic control systems are widely used in industrial production. At present, traditional industrial control systems need to be designed one-to-one for application scenarios. There are problems such as long development cycle, poor versatility, and lack of user customization. At the same time, due to the lack of a unified development standard, the automatic control programs designed by different software engineers are quite different and cannot be used in common with each other.

另外,自动控制流程的数据源呈现多数据源的特性,并且随着自动化领域的不断扩大,应用场景变得多种多样,这使得自动控制软件的开发工作变得异常繁重,并增加出现软件漏洞的风险。随着自动化技术和信息技术的快速发展,通用化和敏捷开发成为自动控制系统控制软件的发展方向。In addition, the data source of the automatic control process presents the characteristics of multiple data sources, and with the continuous expansion of the automation field, the application scenarios become diverse, which makes the development of automatic control software extremely heavy and increases the occurrence of software vulnerabilities. risks of. With the rapid development of automation technology and information technology, generalization and agile development have become the development direction of automatic control system control software.

在实际工业控制系统的设计中,执行设备和控制器间的通信包括串口通信(RS232、RS485和RS422等)、CAN总线和以太网(TCP、UDP、MAC和DDS等)等等多种通信方式,即使同一通信方式中通信协议规范也有所不同,每个执行步骤具有不同的控制特点和控制要求。In the design of the actual industrial control system, the communication between the execution equipment and the controller includes serial communication (RS232, RS485 and RS422, etc.), CAN bus and Ethernet (TCP, UDP, MAC and DDS, etc.) and other communication methods , even if the communication protocol specification is different in the same communication method, each execution step has different control characteristics and control requirements.

发明内容SUMMARY OF THE INVENTION

本发明的目的就是针对上述技术的不足,提供一种多源数据高效融合的通用流程控制系统,通用性、高效可靠,适用于不同执行设备、通信方式、通信协议、控制特点和控制要求的工业场景,实现不同数据源的高效融合和通用流程控制。The purpose of the present invention is to aim at the deficiencies of the above technologies, to provide a general process control system for efficient fusion of multi-source data, which is versatile, efficient and reliable, and is suitable for industrial applications with different execution equipment, communication methods, communication protocols, control characteristics and control requirements. Scenarios to achieve efficient integration of different data sources and general process control.

为实现上述目的,本发明所涉及的多源数据高效融合的通用流程控制系统,包括驱动层、服务层和应用层,所述驱动层采集各执行设备传输的多源数据,上传至所述服务层,所述服务层解耦多源数据,获得融合数据,通过订阅发布的方式,供所述应用层使用。In order to achieve the above purpose, the general process control system for efficient fusion of multi-source data involved in the present invention includes a driver layer, a service layer and an application layer. The driver layer collects multi-source data transmitted by each execution device and uploads it to the service. Layer, the service layer decouples multi-source data, obtains fusion data, and publishes it by subscription for use by the application layer.

优选地,所述应用层包括通用多项式解析模块和通用化流程设计模块,所述通用多项式解析模块采用SQL语言格式,将所述融合数据的字符串解析为机器可识别的运算式,所述通用化流程设计模块通过输入的配置信息获取其中的流程的信息,结合所述融合数据,动态组织和执行所述流程。Preferably, the application layer includes a general polynomial parsing module and a generalized process design module, the general polynomial parsing module adopts the SQL language format, and parses the string of the fusion data into a machine-recognizable arithmetic expression, the general The integrated process design module obtains the information of the process through the input configuration information, and dynamically organizes and executes the process in combination with the fusion data.

优选地,所述通用化流程设计模块将流程分解为多个流程节点,并将所述流程节点进行分类,实现所述流程的信息的可配置,所述通用化流程设计模块获取输入的配置信息后,自动组织流程,形成控制流程。Preferably, the generalized process design module decomposes the process into a plurality of process nodes, and classifies the process nodes to realize the configuration of the information of the process, and the generalized process design module obtains the input configuration information After that, the process is automatically organized to form a control process.

优选地,对所述流程节点进行分类时,依据所述流程节点所需执行约束的不同,分为瞬时流程节点、非瞬时流程节点和互锁流程节点,其中,瞬时流程节点指不需要约束即可执行的指令,非瞬时流程节点指同一流程执行中需要约束或判断条件才能执行的指令,互锁流程节点指不同的流程执行中需要约束或判断条件才能执行的指令。Preferably, when classifying the process nodes, according to the different execution constraints required by the process nodes, they are divided into instantaneous process nodes, non-instantaneous process nodes and interlocking process nodes, wherein the instantaneous process nodes refer to those that do not require constraints. Executable instructions, non-transient process nodes refer to instructions that require constraints or judgment conditions in the execution of the same process to be executed, and interlocked process nodes refer to instructions that require constraints or judgment conditions to be executed in different process executions.

优选地,所述通用化流程设计模块对于所述瞬时流程节点,进行跳过判断条件、执行判断条件和下发指令的实时调度管理,对于非瞬时流程节点,进行状态判断条件和超时判断条件的实时调度管理,其中状态判断条件包括指令执行状态和故障状态,对于互锁流程节点,动态进行同一设备的不同流程间互锁以及流程管理容器中流程调度互锁的管理。Preferably, the generalized process design module performs real-time scheduling management of skip judgment conditions, execution judgment conditions and issued instructions for the instantaneous process nodes, and performs state judgment conditions and timeout judgment conditions for non-instantaneous process nodes. Real-time scheduling management, in which the state judgment conditions include instruction execution state and fault state. For interlocking process nodes, the interlocking between different processes of the same device and the process scheduling interlocking management in the process management container are dynamically performed.

优选地,执行瞬时流程节点时,根据跳过判断条件,实现瞬时流程节点的执行或跳过,避免操作指令的重复设置,根据执行判断条件,实现操作指令设置条件不满足时当前流程退出执行,执行非瞬时流程节点时,若出现故障状态,则不再检查超时判断条件和指令执行状态的判断,直接使当前流程退出执行,实现超时判断或故障判断,执行互锁流程节点时,实时判断互锁的其他流程节点的执行情况,对于无法进行并行执行的多流程节点,实现多耦合因素下的并行判断,同时,流程执行中实时进行流程注销,清除故障流程和被抛弃的流程,以及特殊情况下触发同一设备的后续流程和优先级最高的流程,若流程执行失败,信息不清除,等待人工处理。Preferably, when executing the instantaneous process node, according to the skip judgment condition, the execution or skip of the instantaneous process node is realized, so as to avoid the repeated setting of the operation instruction, and according to the execution judgment condition, it is realized that the current process exits the execution when the operation instruction setting condition is not satisfied, When executing a non-transient process node, if there is a fault state, the timeout judgment condition and the judgment of the instruction execution state are no longer checked, and the current process is directly exited from execution to realize timeout judgment or fault judgment. The execution status of other process nodes locked. For multi-process nodes that cannot be executed in parallel, parallel judgment under multiple coupling factors is realized. At the same time, process logout is performed in real time during process execution, and faulty processes and abandoned processes are cleared, and special circumstances. If the process fails, the information will not be cleared and will wait for manual processing.

优选地,所述应用层还包括通用多项式计算模块,所述通用多项式计算模块设有并发执行和独立定时器计时功能,对于相互无互锁属性的流程可独立并发执行。Preferably, the application layer further includes a general polynomial calculation module, the general polynomial calculation module is provided with concurrent execution and independent timer timing functions, and can be executed independently and concurrently for processes that do not have interlocking attributes.

优选地,所述应用层还包括可视界面,包括流程节点信息可视化和执行状态可视化。Preferably, the application layer further includes a visual interface, including process node information visualization and execution state visualization.

优选地,所述应用层还包括用于流程并发执行控制的流程控制线程池和用于动态调度和管理流程的流程数据线程池。Preferably, the application layer further includes a process control thread pool for process concurrent execution control and a process data thread pool for dynamically scheduling and managing processes.

优选地,还包括中间层,所述中间层对有冗余配置的执行设备进行操作信息的记录。Preferably, an intermediate layer is also included, and the intermediate layer records the operation information of the execution devices with redundant configuration.

本发明与现有技术相比,具有以下优点:Compared with the prior art, the present invention has the following advantages:

1、在不需要源代码修改情况下,可以以配置方式完成系统的组成、界面、通信协议和流程控制等添加、删除、修改、查询功能;1. Add, delete, modify and query functions such as system composition, interface, communication protocol and process control can be completed by configuration without source code modification;

2、能够对以太网(UDP、TCP和DDS等)、CAN通信、串口通信等不同通信方式和协议规约自动解析与组包,实现应用软件与各种通信协议的解耦;2. It can automatically parse and package different communication methods and protocol protocols such as Ethernet (UDP, TCP and DDS, etc.), CAN communication, serial communication, etc., and realize the decoupling of application software and various communication protocols;

3、具备多流程管理能力,能对多流程进行统一管控,并支持流程按需灵活扩展;3. Possess multi-process management capabilities, can manage and control multiple processes in a unified manner, and support flexible expansion of processes as needed;

4、不同流程可根据需求设置为并发执行和互锁执行;4. Different processes can be set to concurrent execution and interlocked execution according to requirements;

5、通用性、高效可靠,适用于不同执行设备、通信方式、通信协议、控制特点和控制要求的工业场景,实现不同数据源的高效融合和通用流程控制。5. Versatile, efficient and reliable, it is suitable for industrial scenarios with different execution equipment, communication methods, communication protocols, control characteristics and control requirements, and realizes efficient integration of different data sources and general process control.

附图说明Description of drawings

图1为本发明多源数据高效融合的通用流程控制系统的结构示意图。FIG. 1 is a schematic structural diagram of a general process control system for efficient fusion of multi-source data according to the present invention.

图中各部件标号如下:The parts in the figure are labeled as follows:

驱动层1、服务层2、应用层3、通用多项式解析模块4、通用化流程设计模块5、通用多项式计算模块6、可视界面7、流程控制线程池8、流程数据线程池9。Driver layer 1, service layer 2, application layer 3, general polynomial analysis module 4, generalized process design module 5, general polynomial calculation module 6, visual interface 7, process control thread pool 8, process data thread pool 9.

具体实施方式Detailed ways

下面结合附图和具体实施例对本发明作进一步的详细说明。The present invention will be further described in detail below with reference to the accompanying drawings and specific embodiments.

如图1所示,本发明一种多源数据高效融合的通用流程控制系统,包括驱动层1、服务层2和应用层3,所述驱动层1采集各执行设备传输的多源数据,上传至所述服务层2,所述服务层2解耦多源数据,获得融合数据,实现通信数据的自动解析,通过订阅发布的方式,供所述应用层3使用。As shown in FIG. 1, a general process control system for efficient multi-source data fusion of the present invention includes a driver layer 1, a service layer 2 and an application layer 3. The driver layer 1 collects multi-source data transmitted by each execution device, uploads To the service layer 2, the service layer 2 decouples the multi-source data, obtains the fusion data, realizes the automatic analysis of the communication data, and is used by the application layer 3 by means of subscription and publication.

其中,所述驱动层1实现与执行设备通信,实现对多源异构数据进行采集,每个单线程驱动的通讯模块对应单通信方式,多线程之间采用通用消息机制进行通信,支持串口数据、CAN数据和以太网数据等多种通信方式。所述通讯模块中包含多种通讯功能,包括以太网通信(TCP、UDP)、串口(RS232、RS485和RS422等)、CAN总线(扩展和标准型)、ZMQ和DDS等,支持多种数据库,包括SQLite数据库和实时数据库Redis等。Among them, the driver layer 1 realizes communication with the execution device, realizes the collection of multi-source heterogeneous data, each single-thread-driven communication module corresponds to a single communication mode, and uses a general message mechanism for communication between multiple threads, supporting serial port data. , CAN data and Ethernet data and other communication methods. The communication module contains a variety of communication functions, including Ethernet communication (TCP, UDP), serial port (RS232, RS485 and RS422, etc.), CAN bus (extended and standard), ZMQ and DDS, etc., and supports a variety of databases, Including SQLite database and real-time database Redis, etc.

同时,服务层2建立通用流程接口和数据接口(含综合测点和原生数据测点接口),以SQLite数据库形式存储通用流程和节点等配置信息,系统内部数据通信采用ZMQ消息订阅发布机制,实现通信数据包的自动解析,将经过处理的通信数据字段关联综合测点,实现多源数据融合业务。At the same time, service layer 2 establishes general process interface and data interface (including comprehensive measurement point and native data measurement point interface), and stores configuration information such as general process and node in the form of SQLite database. The automatic analysis of communication data packets associates the processed communication data fields with comprehensive measurement points to realize multi-source data fusion business.

另外,所述服务层2具备多源数据融合业务,通过对通信数据的自动解析和关联测点,以数据字典形式发布和订阅的实施方式,建立存放统一测点的数据中心,通过对内数据接口进行元数据的采集和写入。In addition, the service layer 2 is provided with multi-source data fusion services. Through the automatic analysis of communication data and the implementation of associating measurement points, publishing and subscribing in the form of a data dictionary, a data center for storing unified measurement points is established. The interface collects and writes metadata.

本实施例中,多源数据包括执行设备状态数据、进程间数据和报警数据,涵盖了结构化数据和非结构化数据,因此服务层2提供了针对不同通信方式的接口开发功能,根据业务需求对多源数据进行数据关联和数据存储,不同通信方式的数据采用不同的数据处理方式,对于系统配置项、系统报警数据和数据关联关系采用SQLite数据库进行存储。In this embodiment, the multi-source data includes execution device status data, inter-process data, and alarm data, covering structured data and unstructured data. Therefore, the service layer 2 provides interface development functions for different communication methods, according to business requirements. Perform data association and data storage for multi-source data, use different data processing methods for data of different communication methods, and use SQLite database for storage of system configuration items, system alarm data and data association relationships.

本实施例中,所述应用层3包括通用多项式解析模块4和通用化流程设计模块5,所述通用多项式解析模块4采用SQL语言格式,将所述融合数据的字符串解析为机器可识别的运算式,可用一条字符串实现复杂的多项式计算,包括加、减、乘、除等数学运算以及与、或、非等逻辑运算,降低了通用流程控制的配置工作量、配置复杂度,所述通用化流程设计模块5通过输入的配置信息获取其中的流程的信息,结合所述融合数据,动态组织和执行所述流程。In this embodiment, the application layer 3 includes a general polynomial parsing module 4 and a generalized process design module 5. The general polynomial parsing module 4 adopts the SQL language format to parse the character string of the fusion data into a machine-recognized The operation formula can use a string to realize complex polynomial calculations, including mathematical operations such as addition, subtraction, multiplication, and division, as well as logical operations such as AND, OR, and NOT, which reduces the configuration workload and configuration complexity of general flow control. The generalized process design module 5 obtains the information of the process in it through the input configuration information, and dynamically organizes and executes the process in combination with the fusion data.

其中,所述通用化流程设计模块5将流程分解为多个流程节点,并将所述流程节点进行分类,实现所述流程的信息的可配置,所述通用化流程设计模块5获取输入的配置信息后,自动组织流程,形成控制流程。Wherein, the generalized process design module 5 decomposes the process into multiple process nodes, and classifies the process nodes to realize the configurability of the information of the process, and the generalized process design module 5 obtains the input configuration After information, the process is automatically organized to form a control process.

对所述流程节点进行分类时,依据所述流程节点所需执行约束的不同,分为瞬时流程节点、非瞬时流程节点和互锁流程节点,其中,瞬时流程节点指不需要约束即可执行的指令,非瞬时流程节点指同一流程执行中需要约束或判断条件才能执行的指令,互锁流程节点指不同的流程执行中需要约束或判断条件才能执行的指令。When classifying the process nodes, according to the different execution constraints required by the process nodes, they are divided into instantaneous process nodes, non-instantaneous process nodes and interlocking process nodes, wherein, instantaneous process nodes refer to those that can be executed without constraints. Instructions, non-instantaneous process nodes refer to instructions that require constraints or judgment conditions to be executed in the same process execution, and interlocking process nodes refer to instructions that require constraints or judgment conditions to be executed in different process executions.

所述通用化流程设计模块5对于所述瞬时流程节点,进行跳过判断条件、执行判断条件和下发指令的实时调度管理,对于非瞬时流程节点,进行状态判断条件和超时判断条件的实时调度管理,其中状态判断条件包括指令执行状态和故障状态,对于互锁流程节点,动态进行同一设备的不同流程间互锁以及流程管理容器中流程调度互锁的管理。The generalized process design module 5 performs real-time scheduling management of skip judgment conditions, execution judgment conditions and issued instructions for the instantaneous process nodes, and performs real-time scheduling of state judgment conditions and timeout judgment conditions for non-instantaneous process nodes. Management, in which the state judgment conditions include instruction execution state and fault state. For interlocking process nodes, the interlocking between different processes of the same device and the management of process scheduling interlocking in the process management container are dynamically performed.

执行瞬时流程节点时,根据跳过判断条件,实现瞬时流程节点的执行或跳过,避免操作指令的重复设置,根据执行判断条件,实现操作指令设置条件不满足时当前流程退出执行,执行非瞬时流程节点时,若出现故障状态,则不再检查超时判断条件和指令执行状态的判断,直接使当前流程退出执行,实现超时判断或故障判断,执行互锁流程节点时,实时判断互锁的其他流程节点的执行情况,对于无法进行并行执行的多流程节点,实现多耦合因素下的并行判断,同时,流程执行中实时进行流程注销,清除故障流程和被抛弃的流程,以及特殊情况下触发同一设备的后续流程和优先级最高的流程,若流程执行失败,信息不清除,等待人工处理。When executing an instantaneous process node, according to the skip judgment condition, the execution or skip of the instantaneous process node is realized, avoiding the repeated setting of operation instructions, and according to the execution judgment condition, the current process exits execution when the operation instruction setting conditions are not satisfied, and the execution is not instantaneous. When a process node occurs, if there is a fault state, the timeout judgment condition and the judgment of the instruction execution state are no longer checked, and the current process is directly exited from execution to realize timeout judgment or fault judgment. The execution of process nodes, for multi-process nodes that cannot be executed in parallel, realize parallel judgment under multiple coupling factors. At the same time, process logout is performed in real time during process execution, and faulty processes and discarded processes are cleared. In special cases, trigger the same The subsequent process of the device and the process with the highest priority, if the process fails, the information will not be cleared and wait for manual processing.

本实施例中,所述应用层3还包括通用多项式计算模块6,所述通用多项式计算模块6设有并发执行和独立定时器计时功能,对于相互无互锁属性的流程可独立并发执行,提高了设备运行效率,可以采用SQL语言格式进行通用多项式的计算,该格式不必关心数据类型,可一次实现复杂的多项式计算。In this embodiment, the application layer 3 further includes a general-purpose polynomial calculation module 6. The general-purpose polynomial calculation module 6 is provided with concurrent execution and independent timer timing functions, and can be executed independently and concurrently for processes that do not have interlocking attributes, improving the In order to improve the operating efficiency of the equipment, the general polynomial calculation can be performed in the SQL language format, which does not need to care about the data type, and can realize complex polynomial calculations at one time.

本实施例中,所述应用层3还包括可视界面7,包括流程节点信息可视化和执行状态可视化,用于控制流程的节点概览、各流程执行进度和执行状态等信息显示,直观显示各流程的执行情况和有冗余配置设备时的冗余选择情况,也可用于故障分析,流程节点信息可视化包括瞬时流程节点、非瞬时流程节点和互锁节点,执行状态可视化包括正在执行、执行完成、执行失败、互锁、停止等信息可视化。In this embodiment, the application layer 3 further includes a visual interface 7, including process node information visualization and execution status visualization, which is used to display information such as node overview of the control process, execution progress and execution status of each process, and intuitively display each process. It can also be used for fault analysis. The visualization of process node information includes transient process nodes, non-transient process nodes and interlocking nodes. The visualization of execution status includes executing, executing, Information visualization of execution failures, interlocks, stops, etc.

本实施例中,所述应用层3还包括用于流程并发执行控制的流程控制线程池8和用于动态调度和管理流程的流程数据线程池9。In this embodiment, the application layer 3 further includes a process control thread pool 8 used for concurrent execution control of processes and a process data thread pool 9 used for dynamic scheduling and management of processes.

本实施例中,还包括中间层,所述中间层对有冗余配置的执行设备进行操作信息的记录,扩展了执行设备的应用场景,通过中间件,完成双机/多机设备的控制、监测、状态/日志数据的记录,主要包括冗余设备激活选择、冗余设备激活、冗余设备状态监测、冗余设备切换、非冗余设备通信和操作记录存储等,提高软件的复用性,降低开发风险,减少开发周期,提高开发效率。In this embodiment, a middle layer is also included, and the middle layer records the operation information of the execution equipment with redundant configuration, which expands the application scenarios of the execution equipment, and completes the control of dual-machine/multi-machine equipment, Monitoring, status/log data recording, mainly including redundant device activation selection, redundant device activation, redundant device status monitoring, redundant device switching, non-redundant device communication and operation record storage, etc., to improve software reusability , reduce the development risk, reduce the development cycle, and improve the development efficiency.

本实施例中,对于非冗余配置的执行设备,直接进行通信,对于冗余配置的执行设备,自动与选定的那一个进行通信;冗余配置的执行设备同一时刻只有一个在运行,中间件认定最早连接系统的为激活态,同时控制另一台为休眠态;若激活态的执行设备上报的状态数据中综合状态为故障,中间件自动切换为另一台,若两台均故障,则停止切换。In this embodiment, for the non-redundantly configured execution device, communication is performed directly, and for the redundantly configured execution device, it automatically communicates with the selected one; for the redundantly configured execution device, only one is running at the same time, and the middle The software determines that the earliest connected system is in the active state, and at the same time controls the other one in the dormant state; if the comprehensive state in the status data reported by the executing device in the active state is fault, the middleware automatically switches to the other one. then stop switching.

本发明多源数据高效融合的通用流程控制系统,在不需要源代码修改情况下,可以以配置方式完成系统的组成、界面、通信协议和流程控制等添加、删除、修改、查询功能;能够对以太网(UDP、TCP和DDS等)、CAN通信、串口通信等不同通信方式和协议规约自动解析与组包,实现应用软件与各种通信协议的解耦;具备多流程管理能力,能对多流程进行统一管控,并支持流程按需灵活扩展;且不同流程可根据需求设置为并发执行和互锁执行;本发明通用性、高效可靠,适用于不同执行设备、通信方式、通信协议、控制特点和控制要求的工业场景,实现不同数据源的高效融合和通用流程控制。The general process control system of the multi-source data efficient fusion of the present invention can complete the addition, deletion, modification and query functions of the composition, interface, communication protocol and process control of the system in a configuration mode without the need for source code modification; Different communication methods and protocol protocols such as Ethernet (UDP, TCP, DDS, etc.), CAN communication, serial communication, etc. are automatically parsed and packaged to realize the decoupling of application software and various communication protocols; The process is managed and controlled in a unified manner, and the process can be flexibly expanded on demand; and different processes can be set to concurrent execution and interlocked execution according to requirements; the present invention is universal, efficient and reliable, and is suitable for different execution equipment, communication methods, communication protocols, and control characteristics It can realize efficient integration of different data sources and general process control.

Claims (10)

1. The utility model provides a general flow control system of high-efficient integration of multisource data which characterized in that: the system comprises a driving layer (1), a service layer (2) and an application layer (3), wherein the driving layer (1) collects multi-source data transmitted by each execution device and uploads the data to the service layer (2), the service layer (2) decouples the multi-source data to obtain fusion data, and the fusion data are supplied to the application layer (3) for use in a subscription and release mode.
2. The general flow control system for efficient fusion of multi-source data according to claim 1, wherein: the application layer (3) comprises a general polynomial analysis module (4) and a generalized flow design module (5), the general polynomial analysis module (4) adopts an SQL language format to analyze the character strings of the fusion data into operation formulas which can be identified by a machine, and the generalized flow design module (5) acquires the information of the flow in the general flow design module through the input configuration information, and dynamically organizes and executes the flow by combining the fusion data.
3. The general flow control system for efficient fusion of multi-source data according to claim 2, wherein: the general process design module (5) decomposes a process into a plurality of process nodes, classifies the process nodes, realizes the configuration of the information of the process, and automatically organizes the process after acquiring the input configuration information to form a control process.
4. The general flow control system for efficient fusion of multi-source data according to claim 3, wherein: when the process nodes are classified, the process nodes are divided into instantaneous process nodes, non-instantaneous process nodes and interlocking process nodes according to different execution constraints of the process nodes, wherein the instantaneous process nodes refer to instructions which can be executed without constraints, the non-instantaneous process nodes refer to instructions which can be executed only when constraints or judgment conditions are needed in the execution of the same process, and the interlocking process nodes refer to instructions which can be executed only when constraints or judgment conditions are needed in the execution of different processes.
5. The general flow control system for efficient fusion of multi-source data according to claim 4, wherein: the generalized flow design module (5) performs real-time scheduling management of skipping judgment conditions, executing judgment conditions and issuing instructions for the instantaneous flow nodes, performs real-time scheduling management of state judgment conditions and overtime judgment conditions for the non-instantaneous flow nodes, wherein the state judgment conditions comprise instruction execution states and fault states, and dynamically performs management of inter-flow interlocking of the same equipment and flow scheduling interlocking in a flow management container for the interlocking flow nodes.
6. The general flow control system for efficient fusion of multi-source data according to claim 5, wherein: when the instantaneous process node is executed, the execution or skipping of the instantaneous process node is realized according to the skipping judgment condition, the repeated setting of an operation instruction is avoided, when the operation instruction setting condition is not met, the current process exits the execution according to the execution judgment condition, when the non-instantaneous process node is executed, if a fault state occurs, the judgment of the overtime judgment condition and the instruction execution state is not checked, the current process directly exits the execution, the overtime judgment or the fault judgment is realized, when the interlocking process node is executed, the execution condition of other interlocked process nodes is judged in real time, the parallel judgment under the multi-coupling factor is realized for the multi-process node which cannot be executed in parallel, simultaneously, the process logout is carried out in real time in the process execution, the fault process and the abandoned process are eliminated, and the subsequent process and the process with the highest priority of the same equipment are triggered under special conditions, if the flow execution fails, the information is not cleared, and manual processing is waited.
7. The general flow control system for efficient fusion of multi-source data according to claim 1, wherein: the application layer (4) further comprises a general polynomial calculation module (6), the general polynomial calculation module (6) is provided with concurrent execution and independent timer timing functions, and processes without mutual interlocking attributes can be executed independently and concurrently.
8. The general flow control system for efficient fusion of multi-source data according to claim 1, wherein: the application layer (4) further comprises a visual interface (7) comprising process node information visualization and execution state visualization.
9. The general flow control system for efficient fusion of multi-source data according to claim 1, wherein: the application layer (4) also comprises a flow control thread pool (8) for flow concurrent execution control and a flow data thread pool (9) for dynamically scheduling and managing flows.
10. The general flow control system for efficient fusion of multi-source data according to claim 1, wherein: the system also comprises an intermediate layer, and the intermediate layer records the operation information of the execution equipment with redundant configuration.
CN202210236928.4A 2022-03-11 2022-03-11 A general process control system for efficient fusion of multi-source data Active CN114296417B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210236928.4A CN114296417B (en) 2022-03-11 2022-03-11 A general process control system for efficient fusion of multi-source data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210236928.4A CN114296417B (en) 2022-03-11 2022-03-11 A general process control system for efficient fusion of multi-source data

Publications (2)

Publication Number Publication Date
CN114296417A true CN114296417A (en) 2022-04-08
CN114296417B CN114296417B (en) 2022-07-29

Family

ID=80978638

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210236928.4A Active CN114296417B (en) 2022-03-11 2022-03-11 A general process control system for efficient fusion of multi-source data

Country Status (1)

Country Link
CN (1) CN114296417B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114970546A (en) * 2022-05-30 2022-08-30 北京声智科技有限公司 Information output method and device and electronic equipment
CN115022422A (en) * 2022-06-16 2022-09-06 上海博般数据技术有限公司 Real-time data processing system and method for Internet of things

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102831513A (en) * 2012-07-20 2012-12-19 大连理工大学 Container logistics field oriented IoT (Internet of Things) application-layer middleware and information fusion integration method
CN104142649A (en) * 2013-05-06 2014-11-12 北京北方微电子基地设备工艺研究中心有限责任公司 PLC program design method and system
US20160259655A1 (en) * 2015-03-03 2016-09-08 Software Robotics Corporation Limited Software robots for programmatically controlling computer programs to perform tasks
CN108082214A (en) * 2016-11-22 2018-05-29 上海宝信软件股份有限公司 Key operation emergency response system based on track traffic SCADA
CN112925767A (en) * 2021-03-03 2021-06-08 浪潮云信息技术股份公司 Multi-data-source dynamic data synchronization management method and system based on internet supervision
CN113359617A (en) * 2021-06-11 2021-09-07 中山凯旋真空科技股份有限公司 Process flow control method and control system
CN113394778A (en) * 2021-07-08 2021-09-14 国网浙江省电力有限公司温州供电公司 Configuration mode-based system-level debugging system and method for secondary equipment of transformer substation

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102831513A (en) * 2012-07-20 2012-12-19 大连理工大学 Container logistics field oriented IoT (Internet of Things) application-layer middleware and information fusion integration method
CN104142649A (en) * 2013-05-06 2014-11-12 北京北方微电子基地设备工艺研究中心有限责任公司 PLC program design method and system
US20160259655A1 (en) * 2015-03-03 2016-09-08 Software Robotics Corporation Limited Software robots for programmatically controlling computer programs to perform tasks
CN108082214A (en) * 2016-11-22 2018-05-29 上海宝信软件股份有限公司 Key operation emergency response system based on track traffic SCADA
CN112925767A (en) * 2021-03-03 2021-06-08 浪潮云信息技术股份公司 Multi-data-source dynamic data synchronization management method and system based on internet supervision
CN113359617A (en) * 2021-06-11 2021-09-07 中山凯旋真空科技股份有限公司 Process flow control method and control system
CN113394778A (en) * 2021-07-08 2021-09-14 国网浙江省电力有限公司温州供电公司 Configuration mode-based system-level debugging system and method for secondary equipment of transformer substation

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
刘岗等: "作战指挥控制系统人机交互设计流程研究", 《包装工程》 *

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114970546A (en) * 2022-05-30 2022-08-30 北京声智科技有限公司 Information output method and device and electronic equipment
CN115022422A (en) * 2022-06-16 2022-09-06 上海博般数据技术有限公司 Real-time data processing system and method for Internet of things
CN115022422B (en) * 2022-06-16 2023-05-30 上海博般数据技术有限公司 Real-time data processing system and method for Internet of things

Also Published As

Publication number Publication date
CN114296417B (en) 2022-07-29

Similar Documents

Publication Publication Date Title
CN114296417B (en) A general process control system for efficient fusion of multi-source data
CN112549029B (en) Robot behavior control method and device based on behavior tree
CN110286892B (en) Rapid development engine system based on business process design
CN103605342B (en) Based on remote distributed control system and the method for internet
JP3624657B2 (en) Management computer or computer system
CN111694888A (en) Distributed ETL data exchange system and method based on micro-service architecture
US7672740B1 (en) Conditional download of data from embedded historians
CN103324173A (en) Multiple-heterogeneous robot cooperation method based on middleware
CN113254279A (en) Intelligent disaster recovery and backup management platform system
CN112000350A (en) Dynamic rule updating method, device and storage medium
US7974937B2 (en) Adaptive embedded historians with aggregator component
CN112581080A (en) Lightweight distributed workflow engine construction system
US9269113B2 (en) Energy management system and a screen generation method thereof
CN117149873A (en) Data lake service platform construction method based on flow batch integration
WO2012130162A1 (en) System and method for generating information file based on parallel processing
CN105632248A (en) Safety monitoring system and data processing method therefor
CN112015528B (en) Industrial control system software control flow construction and analysis method
CN114791931A (en) A Datax-Based Data Governance Approach
CN107995026A (en) Management-control method, management node based on middleware, by pipe node and system
CN116032021A (en) New energy station integrated monitoring method, system, equipment and storage medium
Fu et al. Streaming@ Twitter.
CN115484138A (en) Operation and maintenance tool rapid customization development method and system
CN114896054A (en) Cross-heterogeneous computing engine big data task scheduling method, device and medium
CN114579169A (en) DevOps-based operation and maintenance platform
CN114676198A (en) Benchmark evaluation system for multimode database and construction method thereof

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant