CN117407007A - Application management system and method of chemical equipment controller - Google Patents

Application management system and method of chemical equipment controller Download PDF

Info

Publication number
CN117407007A
CN117407007A CN202311703533.1A CN202311703533A CN117407007A CN 117407007 A CN117407007 A CN 117407007A CN 202311703533 A CN202311703533 A CN 202311703533A CN 117407007 A CN117407007 A CN 117407007A
Authority
CN
China
Prior art keywords
model
controller
theme
scheduler
management tool
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.)
Pending
Application number
CN202311703533.1A
Other languages
Chinese (zh)
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.)
Kyland Technology Co Ltd
Original Assignee
Kyland Technology Co Ltd
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 Kyland Technology Co Ltd filed Critical Kyland Technology Co Ltd
Priority to CN202311703533.1A priority Critical patent/CN117407007A/en
Publication of CN117407007A publication Critical patent/CN117407007A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/61Installation
    • 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

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)

Abstract

The application management system of the chemical equipment controller comprises a model management tool running on a user terminal, a scheduler and a MOTT server running on the equipment controller, wherein the model management tool and the scheduler are configured as clients of the MOTT server; the model management tool is used for sending one or more files to the selected one or more controllers, wherein the files comprise model packages; the scheduler in the controller is used for deploying the model package in the received file into the controller and is used for acquiring the operation data of the model in the controller and issuing the operation data in a first theme; the MOTT server is used for pushing the topics published by the scheduler to a model management tool subscribed to the first topic. Corresponding management methods are also provided. The method and the device can realize unified deployment and unified management of a plurality of special applications to the controller of the equipment, and simplify the complexity of safety management.

Description

一种化工设备控制器的应用管理系统和方法Application management system and method for chemical equipment controller

技术领域Technical field

本申请涉及通信技术领域、及设备安全的智能管理、监控技术领域,尤其涉及一种化工设备控制器的应用管理系统和方法、计算设备及存储介质。This application relates to the field of communication technology and the field of intelligent management and monitoring technology of equipment security, and in particular to an application management system and method for a chemical equipment controller, a computing device and a storage medium.

背景技术Background technique

对于一些工业设备,尤其是化工设备,其实现智能化的方案之一,是使工业设备的控制器上可运行操作系统,例如linux系统等,并在操作系统上安装部署多个行业专用应用来实现。例如,一专用应用实现的功能可以是采集处理数据,然后保存结果和日志到数据库,并上传到指定上位机;又如,一专用应用是定时触发设备自检;又如,一专用应用是监测设备负载、性能情况等。For some industrial equipment, especially chemical equipment, one of the solutions to achieve intelligence is to enable the controller of the industrial equipment to run an operating system, such as a Linux system, etc., and to install and deploy multiple industry-specific applications on the operating system. accomplish. For example, the function implemented by a dedicated application can be to collect and process data, then save the results and logs to the database, and upload them to the designated host computer; another example is a dedicated application that triggers equipment self-test at regular intervals; another example is a dedicated application that monitors Equipment load, performance, etc.

其中,这些专用应用可以是由不同的第三方提供,并不预先集成于设备的控制器所运行的操作系统中,可按需单独部署安装到控制器或卸载。这种并不预先集成于操作系统方式部署专用应用,可以便利的通过添加新的专用应用使设备具有新的功能(指在硬件支持的前提下)。Among them, these special applications can be provided by different third parties and are not pre-integrated into the operating system running by the controller of the device. They can be separately deployed and installed on the controller or uninstalled as needed. This method of deploying special applications that is not pre-integrated into the operating system can easily add new special applications to enable the device to have new functions (under the premise of hardware support).

但是,对于化工设备来说,尤其是在新装机的情况下,为了使其能实现所需要的多个功能,需要为其安装部署多个行业专用应用,如果各个专用应用手动一一安装,这将对安全管理工作带来了不少麻烦。尤其当针对新装机的多个设备的情况下,各个设备一一手动部署多个专用应用,会带来巨大的繁琐的安全管理工作量。However, for chemical equipment, especially when it is newly installed, in order to enable it to achieve multiple required functions, it is necessary to install and deploy multiple industry-specific applications. If each dedicated application is installed manually one by one, this will It will bring a lot of trouble to safety management work. Especially when targeting multiple newly installed devices, manually deploying multiple dedicated applications one by one for each device will bring a huge and tedious security management workload.

另一方面,当设备上部署有多个专用应用后,安全管理过程中,需要对这些专用应用依次操作(例如查看各专用应用的日志信息、报警信息等),也为安全管理工作带来了不少麻烦。On the other hand, when multiple dedicated applications are deployed on the device, during the security management process, these dedicated applications need to be operated in sequence (such as viewing the log information and alarm information of each dedicated application), which also brings challenges to the security management work. A lot of trouble.

有鉴于此,如何实现化工设备的控制器进行多个专用应用的统一部署、统一管理,以避免分别去操作各个专用应用,是有待解决的技术问题。In view of this, how to realize the unified deployment and unified management of multiple special applications by the controller of chemical equipment to avoid operating each special application separately is a technical problem that needs to be solved.

发明内容Contents of the invention

鉴于现有技术的以上问题,本申请提供一种化工设备控制器上的应用的管理系统和方法、计算设备及存储介质,其能够实现向设备的控制器进行多个专用应用的统一部署、统一管理,简化了安全管理的复杂度。In view of the above problems of the prior art, this application provides a management system and method for applications on a chemical equipment controller, a computing device and a storage medium, which can realize the unified deployment and unification of multiple dedicated applications to the controller of the equipment. management, simplifying the complexity of security management.

本申请第一方面提供了一种化工设备控制器的应用管理系统,包括运行于用户终端上的模型管理工具,运行于设备控制器上的调度器和MOTT服务器,所述模型管理工具和所述调度器被配置为MOTT服务器的客户端;所述模型管理工具用于向选定的一个或多个控制器发送一个或多个文件,所述文件包括模型包;所述控制器中的调度器用于将接收的所述文件中的模型包部署到控制器内,及用于获取控制器内的模型的运行数据并以第一主题发布;所述MOTT服务器用于将所述调度器发布的所述主题推送给订阅了所述第一主题的所述模型管理工具。The first aspect of this application provides an application management system for chemical equipment controllers, including a model management tool running on a user terminal, a scheduler and a MOTT server running on the equipment controller, the model management tool and the The scheduler is configured as a client of the MOTT server; the model management tool is used to send one or more files to the selected one or more controllers, the files including the model package; the scheduler in the controller uses Deploy the received model package in the file into the controller, and obtain the running data of the model in the controller and publish it with the first theme; the MOTT server is used to publish all the model packages published by the scheduler. The topic is pushed to the model management tool that is subscribed to the first topic.

由上,可以实现批量化的将模型包部署到一个或多个设备的控制器,并且可以是批量化部署一个或多个模型。另外,还通过MOTT服务的发布-订阅机制,使得模型的信息可以主动的发送到用户终端上的模型管理工具,便于用户及时获得相关信息。Based on the above, model packages can be deployed to the controllers of one or more devices in batches, and one or more models can be deployed in batches. In addition, through the publish-subscribe mechanism of the MOTT service, model information can be actively sent to the model management tool on the user terminal, allowing users to obtain relevant information in a timely manner.

作为第一方面的一种可能的实现方式,所述模型管理工具还用于将管理指令以第二主题发布;所述MOTT服务器还用于将所述模型管理工具发布的所述第二主题推送给订阅了所述第二主题的所述调度器;所述调度器根据所述第二主题对应的管理指令,使对应的模型执行所述管理指令。As a possible implementation of the first aspect, the model management tool is also used to publish management instructions in a second topic; the MOTT server is also used to push the second topic published by the model management tool. To the scheduler that subscribes to the second topic; the scheduler causes the corresponding model to execute the management instruction according to the management instruction corresponding to the second topic.

由上,可以基于MOTT服务的发布-订阅机制,实现管理指令的批量发送到订阅了该指令主题的各模型。From the above, based on the publish-subscribe mechanism of the MOTT service, management instructions can be sent in batches to each model that has subscribed to the instruction topic.

作为第一方面的一种可能的实现方式,所述文件还包括模型包对应的配置文件;所述调度器用于将所述模型包部署到控制器内,包括:所述调度器用于将所述模型包根据所述模型包对应的配置文件部署到控制器内。As a possible implementation of the first aspect, the file further includes a configuration file corresponding to the model package; the scheduler is used to deploy the model package into the controller, including: the scheduler is used to deploy the model package The model package is deployed into the controller according to the configuration file corresponding to the model package.

作为第一方面的一种可能的实现方式,所述第一主题包括以下之一主题或任意主题的组合:以模型的名称作为主题,该主题下的数据包括:该名称的模型产生的新的运行数据;以不同时间段作为主题,该主题下的数据包括:对应时间段模型产生的运行数据;以特定运行数据类型作为主题,该主题下的数据包括:与所述特定运行相关的运行数据。As a possible implementation of the first aspect, the first topic includes one of the following topics or a combination of any topics: taking the name of the model as the topic, and the data under this topic includes: new data generated by the model with this name. Operation data; with different time periods as themes, the data under this theme includes: the operation data generated by the model corresponding to the time period; with a specific operation data type as the theme, the data under this theme includes: operation data related to the specific operation .

由上,通过不同主题的设置,可以使得用户灵活可选的获得所订阅主题的相关模型的相关数据。From the above, through the settings of different topics, users can flexibly and optionally obtain relevant data of the relevant models of the subscribed topics.

作为第一方面的一种可能的实现方式,还包括模型仓库,用于提供各模型包;所述模型管理工具还用于从所述模型仓库获得模型包。As a possible implementation manner of the first aspect, it also includes a model warehouse for providing each model package; the model management tool is also used for obtaining the model package from the model warehouse.

由上,便于模型包的集中获取与管理。From the above, it facilitates centralized acquisition and management of model packages.

本申请第二方面提供了一种化工设备控制器的应用的管理方法,基于第一方面任一所述化工设备控制器的应用管理系统实现,所述方法包括:通过模型管理工具选定一个或多个控制器,以及每个所述控制器对应的一个或多个文件,所述文件包括模型包;所述模型管理工具向选定的一个或多个控制器发送对应的所述一个或多个文件;控制器的调度器接收其对应的文件,将文件中的所述模型包部署到控制器内;所述控制器获取控制器内的模型的运行数据并以第一主题发布;所述MOTT服务器将所述调度器发布的所述主题推送给订阅了所述第一主题的所述模型管理工具。The second aspect of this application provides a management method for the application of a chemical equipment controller, which is implemented based on the application management system of any one of the chemical equipment controllers described in the first aspect. The method includes: selecting one or Multiple controllers, and one or more files corresponding to each controller, where the files include a model package; the model management tool sends the corresponding one or more files to the selected controller or controllers. file; the scheduler of the controller receives the corresponding file and deploys the model package in the file to the controller; the controller obtains the running data of the model in the controller and publishes it with the first theme; The MOTT server pushes the topic published by the scheduler to the model management tool subscribed to the first topic.

作为第二方面的一种可能的实现方式,还包括:所述模型管理工具将管理指令以第二主题发布;所述MOTT服务器将所述模型管理工具发布的所述第二主题推送给订阅了所述第二主题的所述调度器;所述调度器根据所述第二主题对应的管理指令,使对应的模型执行所述管理指令。As a possible implementation of the second aspect, it also includes: the model management tool publishes management instructions in a second topic; the MOTT server pushes the second topic published by the model management tool to subscribed users. The scheduler of the second topic; the scheduler causes the corresponding model to execute the management instructions according to the management instructions corresponding to the second topic.

作为第二方面的一种可能的实现方式,所述第一主题包括以下之一主题或任意主题的组合:以模型的名称作为主题,该主题下的数据包括:该名称的模型产生的新的运行数据;以不同时间段作为主题,该主题下的数据包括:对应时间段模型产生的运行数据;以特定运行数据类型作为主题,该主题下的数据包括:与所述特定运行相关的运行数据。As a possible implementation of the second aspect, the first topic includes one of the following topics or a combination of any topics: taking the name of the model as the topic, and the data under this topic includes: new data generated by the model with this name. Operation data; with different time periods as themes, the data under this theme includes: the operation data generated by the model corresponding to the time period; with a specific operation data type as the theme, the data under this theme includes: operation data related to the specific operation .

本申请第三方面提供了一种计算设备,包括:处理器,以及存储器,其上存储有程序指令,所述程序指令当被所述处理器执行时使得所述处理器执行第二方面任一项所述的方法。A third aspect of the present application provides a computing device, including: a processor, and a memory, on which program instructions are stored. When executed by the processor, the program instructions cause the processor to execute any one of the second aspects. method described in the item.

本申请第三方面提供了一种计算设备,包括:处理器,以及存储器,其上存储有程序指令,所述程序指令当被所述处理器执行时使得所述处理器执行第二方面任一项所述的方法。A third aspect of the present application provides a computing device, including: a processor, and a memory, on which program instructions are stored. When executed by the processor, the program instructions cause the processor to execute any one of the second aspects. method described in the item.

本申请第四方面提供了一种计算机可读存储介质,其上存储有程序指令,所述程序指令当被计算机执行时使得所述计算机实现上述第二方面的任一所述的方法。A fourth aspect of the present application provides a computer-readable storage medium on which program instructions are stored. When executed by a computer, the program instructions cause the computer to implement any of the methods described in the second aspect.

附图说明Description of the drawings

图1是本申请第一实施例提供的一种化工设备控制器上的应用的管理系统的示意图;Figure 1 is a schematic diagram of a management system applied on a chemical equipment controller provided by the first embodiment of the present application;

图2是本申请第二实施例提供的一种化工设备控制器上的应用的管理方法的流程图;Figure 2 is a flow chart of a management method for applications on a chemical equipment controller provided by the second embodiment of the present application;

图3是本申请提供的计算设备的结构示意图。Figure 3 is a schematic structural diagram of a computing device provided by this application.

应理解,上述结构示意图中,各框图的尺寸和形态仅供参考,不应构成对本发明实施例的排他性的解读。结构示意图所呈现的各框图间的相对位置和包含关系,仅为示意性地表示各框图间的结构关联,而非限制本发明实施例的物理连接方式。It should be understood that in the above structural schematic diagram, the size and shape of each block diagram are for reference only and should not constitute an exclusive interpretation of the embodiments of the present invention. The relative positions and inclusion relationships between the block diagrams presented in the structural schematic diagram only schematically represent the structural relationships between the block diagrams, but do not limit the physical connection methods of the embodiments of the present invention.

具体实施方式Detailed ways

下面结合附图并举实施例,对本申请提供的技术方案作进一步说明。应理解,本申请实施例中提供的系统结构和业务场景主要是为了说明本申请的技术方案的可能的实施方式,不应被解读为对本申请的技术方案的唯一限定。本领域普通技术人员可知,随着系统结构的演进和新业务场景的出现,本申请提供的技术方案对类似技术问题同样适用。The technical solution provided by this application will be further described below with reference to the accompanying drawings and examples. It should be understood that the system structure and business scenarios provided in the embodiments of this application are mainly to illustrate possible implementations of the technical solution of this application and should not be interpreted as the sole limitation of the technical solution of this application. Persons of ordinary skill in the art will know that with the evolution of system structures and the emergence of new business scenarios, the technical solutions provided in this application are also applicable to similar technical problems.

应理解,本申请实施例提供的控制器上的应用的管理方案包括一种控制器上的应用的管理系统和方法、计算设备及存储介质,以及应用于该调度装置或调度方法的设备。由于这些技术方案解决问题的原理相同或相似,在如下具体实施例的介绍中,某些重复之处可能不再赘述,但应视为这些具体实施例之间已有相互引用,可以相互结合。It should be understood that the management solution for applications on the controller provided by the embodiments of the present application includes a management system and method for applications on the controller, computing devices and storage media, as well as equipment applied to the scheduling device or the scheduling method. Since the principles of solving problems of these technical solutions are the same or similar, in the following introduction of specific embodiments, some overlapping points may not be described again, but it should be considered that these specific embodiments have been referenced to each other and can be combined with each other.

除非另有定义,本文所使用的所有的技术和科学术语与属于本申请的技术领域的技术人员通常理解的含义相同。如有不一致,以本说明书中所说明的含义或者根据本说明书中记载的内容得出的含义为准。另外,本文中所使用的术语只是为了描述本申请实施例的目的,不是旨在限制本申请。为了准确地对本申请中的技术内容进行叙述,以及为了准确地理解本发明,在对具体实施方式进行说明之前先对本说明书中所使用的术语给出如下的解释说明或定义:Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the technical field to which this application belongs. If there is any inconsistency, the meaning explained in this manual or the meaning derived from the content recorded in this manual shall prevail. In addition, the terms used herein are only for the purpose of describing the embodiments of the present application and are not intended to limit the present application. In order to accurately describe the technical content in this application and to accurately understand the present invention, the following explanations or definitions are provided for the terms used in this specification before describing the specific embodiments:

1)消息队列遥测传输协议(Message Queuing Telemetry Transport,MQTT):是一种基于发布-订阅模式的轻量级通讯协议。MQTT的优点在于用极少的代码和有限的带宽,为连接远程设备提供实时可靠的消息服务,可应用于物联网、小型设备等产品。1) Message Queuing Telemetry Transport (MQTT): It is a lightweight communication protocol based on the publish-subscribe model. The advantage of MQTT is that it uses very little code and limited bandwidth to provide real-time and reliable messaging services for connecting remote devices. It can be applied to products such as the Internet of Things and small devices.

实现MQTT通信的框架包括发布者、订阅者、服务器。发布者(publisher)通过定义的发布的数据类型和相关属性等来描述数据,然后将数据发布到服务器;订阅者(subscriber)可以通过定义订阅规则来指定自己感兴趣的数据类型和相关属性,然后订阅这些数据。 当发布者有新数据发布时,服务器会将数据传输到订阅者。The framework for implementing MQTT communication includes publishers, subscribers, and servers. The publisher describes the data by defining published data types and related attributes, etc., and then publishes the data to the server; the subscriber can specify the data types and related attributes that they are interested in by defining subscription rules, and then Subscribe to this data. When the publisher has new data to publish, the server transmits the data to the subscribers.

2)安全外壳协议(Secure Shell,SSH):是一种加密的网络传输协议,可在不安全的网络中网络服务提供安全的传输环境。它通过在网络中创建安全隧道来实现 SSH 客户端和服务器之间的连接。2) Secure Shell (SSH): It is an encrypted network transmission protocol that can provide a secure transmission environment for network services in insecure networks. It enables connections between SSH clients and servers by creating a secure tunnel in the network.

3)模型:指可实现某功能、封装为模块(如文件包)的可运行的代码。本例中,将每个专用应用分别封装为一模型,当模型下发至设备的控制器时,会配合模型下发该模型的配置文件(module.ini)。配置文件记录了该模型对应的专用应用的标识(ID)、名称信息、版本信息、启动命令的格式信息、调度策略信息等。配置文件还可以记录该模型在控制器中释放的文件位置(如文件目录)等。配置文件可以单独发送,或与模型打包于一个文件包中。3) Model: refers to runnable code that can implement a certain function and is packaged as a module (such as a file package). In this example, each dedicated application is encapsulated into a model. When the model is delivered to the device's controller, the model's configuration file (module.ini) will be delivered in conjunction with the model. The configuration file records the identification (ID), name information, version information, startup command format information, scheduling policy information, etc. of the dedicated application corresponding to the model. The configuration file can also record the file location (such as file directory) released by the model in the controller. Configuration files can be sent separately or packaged with the model in a package.

本申请提供的控制器上的应用的管理方案的应用场景,可以是设备安全管理的应用场景。将本申请的方案部署于用户终端侧与设备上的控制器时,可以实现向设备控制器统一、批量的部署多个专用应用,或者统一、批量的管理这些专用应用,还可以及时的获取专用应用主动上传的信息。其中,上述用户终端为用户侧设备,用户终端可以是计算机、笔记本电脑、智能手机、平板电脑等。其中,上述设备可以为智能化的工业设备,例如发电设备、采矿设备、冶炼设备、水利设备等,也可以为一些小型设备,如楼宇风路的智能控制设备等,这些设备具有控制器。其中,设备的控制器可以由控制卡或工控机实现,其硬件可以包括处理器芯片、内存、存储器、通信芯片。控制器上可运行如Intewell、或基于Linux、UNIX、或其他操作系统,操作系统上可以安装部署、运行多个专用应用。The application scenario of the management solution for applications on the controller provided by this application may be the application scenario of device security management. When the solution of this application is deployed on the user terminal side and the controller on the device, it can realize unified and batch deployment of multiple dedicated applications to the device controller, or unified and batch management of these dedicated applications, and can also obtain dedicated applications in a timely manner. Information actively uploaded by the application. Wherein, the above-mentioned user terminal is a user-side device, and the user terminal may be a computer, a laptop, a smart phone, a tablet, etc. Among them, the above-mentioned equipment can be intelligent industrial equipment, such as power generation equipment, mining equipment, smelting equipment, water conservancy equipment, etc., or some small equipment, such as intelligent control equipment for building air ducts, etc. These equipment have controllers. Among them, the controller of the equipment can be implemented by a control card or an industrial computer, and its hardware can include processor chips, memory, storage, and communication chips. The controller can run operating systems such as Intewell, or based on Linux, UNIX, or other operating systems. Multiple dedicated applications can be installed, deployed, and run on the operating system.

下面,将参见附图对本申请进行详细介绍。Below, the present application will be introduced in detail with reference to the accompanying drawings.

图1示出了本申请第一实施例的结构示意图,第一实施例为一种化工设备控制器的应用管理系统,该系统包括运行于用户终端上的模型管理工具11,包括运行于设备控制器上的调度器21和MOTT服务器22,还可以包括模型仓库30。其中,各个专用应用打包为模型包,通过用户终端侧的模型管理工具11可批量的向控制器发送各模型包,设备控制器上的调度器21将各安装包部署到控制器。下面参照图1对该管理系统进行详细介绍:Figure 1 shows a schematic structural diagram of the first embodiment of the present application. The first embodiment is an application management system for chemical equipment controllers. The system includes a model management tool 11 running on a user terminal, including a model management tool 11 running on the equipment control system. The scheduler 21 and MOTT server 22 on the server may also include a model warehouse 30. Each dedicated application is packaged into a model package, and each model package can be sent to the controller in batches through the model management tool 11 on the user terminal side. The scheduler 21 on the device controller deploys each installation package to the controller. The following is a detailed introduction to the management system with reference to Figure 1:

其中,模型管理工具11具有人机交互操作界面,使用户可以图形化操作该模型管理工具11所提供的各功能,以及显示设备侧控制器所返回的信息。下面例举模型管理工具11所提供的部分功能:Among them, the model management tool 11 has a human-computer interactive operation interface, allowing the user to graphically operate various functions provided by the model management tool 11 and display the information returned by the device-side controller. The following are examples of some of the functions provided by Model Management Tool 11:

1)批量化从模型仓库30下载或上传模型包(各个专用应用打包为模型包)的功能,提供访问本地模型库(本地模型库位于用户终端)或远端模型库(远端模型库可位于第三方服务商提供的服务器,或位于设备的运营商统一管理的服务器内)的功能;1) The function of batch downloading or uploading model packages from the model warehouse 30 (each dedicated application is packaged as a model package), providing access to the local model library (the local model library is located at the user terminal) or the remote model library (the remote model library can be located at Functions provided by a server provided by a third-party service provider, or located in a server managed by the operator of the device);

2)向模型管理工具11导入或导出模型包的功能;2) The function of importing or exporting model packages to the model management tool 11;

3)向选定的一个或多个设备的控制器发送一个或多个模型包或对应的配置文件的功能,或发送升级文件功能;3) The function of sending one or more model packages or corresponding configuration files to the controller of one or more selected devices, or the function of sending upgrade files;

4)订阅/取消订阅的功能,其中可以提供订阅的操作界面,以使用户可视化的选择所订阅的对象、所订阅的内容;其中,所订阅的对象例如哪个设备、哪个控制器、哪个模型(即专用应用)。所订阅的内容例如模型的运行状态、日志、报警信息、故障信息、一般维护信息等。4) Subscription/unsubscription function, which can provide a subscription operation interface to allow users to visually select the objects and content to be subscribed; among them, the objects to be subscribed are such as which device, which controller, and which model ( i.e. dedicated applications). The subscribed content includes the model's running status, logs, alarm information, fault information, general maintenance information, etc.

5)显示某设备侧的模型(即专用应用)发送的信息的功能,信息具体与根据所订阅的对象、订阅的内容有关;5) The function of displaying information sent by a model on a certain device side (i.e., a dedicated application). The information is specifically related to the subscribed objects and subscribed content;

6)对设备侧的模型运行状态的显示与控制的功能;6) The function of displaying and controlling the model operating status on the equipment side;

7)常用的对设备侧的模型管理功能,例如启动指令、禁用指令、仿真指令、停止仿真指令、手工调试、停止手工调试、卸载等。7) Commonly used model management functions on the device side, such as start instructions, disable instructions, simulation instructions, stop simulation instructions, manual debugging, stop manual debugging, uninstallation, etc.

其中,调度器21用于在模型(即专用应用)的部署阶段,将模型管理工具11发送的模型包部署到控制器内;以及用于在模型部署之后,获取模型管理工具11发送的管理指令,并发送至对应的模型以执行;以及用于在模型部署之后,获取各模型的运行数据(如指令运行结果、模型的运行状态、日志、报警信息、故障信息、一般维护信息等),以反馈给模型管理工具11;以及用于对所部署的各模型的执行进行调度,例如根据各模型的配置文件中记录的调度策略,定时、定周期或变周期,或基于监测的事件触发,或优先级等,来调度相应模型的运行。Among them, the scheduler 21 is used to deploy the model package sent by the model management tool 11 into the controller during the deployment stage of the model (ie, dedicated application); and is used to obtain the management instructions sent by the model management tool 11 after the model is deployed. , and sent to the corresponding model for execution; and used to obtain the operating data of each model (such as instruction running results, model operating status, logs, alarm information, fault information, general maintenance information, etc.) after the model is deployed, to Feedback to the model management tool 11; and used to schedule the execution of each deployed model, for example, according to the scheduling policy recorded in the configuration file of each model, regularly, regularly or with variable periods, or based on monitoring event triggers, or priority, etc., to schedule the running of the corresponding model.

其中,MOTT服务器22用于实现模型管理工具11与调度器21之间的数据的传输。具体来说,模型管理工具11与调度器21分别作为客户端,并且根据数据的发送与接收的关系,配置为该某主题的发布者和订阅者。例如,对于用户要下发的管理指令,如执行指令、查询指令、更新指令、卸载指令等等,模型管理工具11作为发布者将管理指令以某主题的形式发布,调度器21被配置为相应主题的订阅者,由此,当模型管理工具11发布该主题的管理指令后,MQTT服务器22会及时将该主题推送给调度器21,调度器进而可以获得该主题的管理指令,并基于该指令,使一个或多个模型执行相应指令的内容。又如,对于模型所产生的运行数据,调度器21获得这些数据,作为这些数据的发布者以某主题的形式进行发布,模型管理工具11会配置为这些主题的订阅者,由此,当调度器21发布某主题的数据后,MQTT服务器22会及时将该主题推送给模型管理工具11,模型管理工具11获得这些主题的数据。Among them, the MOTT server 22 is used to realize data transmission between the model management tool 11 and the scheduler 21 . Specifically, the model management tool 11 and the scheduler 21 serve as clients respectively, and are configured as the publisher and subscriber of a certain topic based on the relationship between data sending and receiving. For example, for management instructions to be issued by the user, such as execution instructions, query instructions, update instructions, uninstall instructions, etc., the model management tool 11 acts as a publisher to publish the management instructions in the form of a certain topic, and the scheduler 21 is configured to respond accordingly. Subscriber of the topic. Therefore, when the model management tool 11 releases the management instruction of the topic, the MQTT server 22 will push the topic to the scheduler 21 in time. The scheduler can then obtain the management instruction of the topic and based on the instruction , causing one or more models to execute the contents of the corresponding instructions. For another example, for the running data generated by the model, the scheduler 21 obtains these data and publishes them as a publisher of these data in the form of a certain topic. The model management tool 11 will be configured as a subscriber of these topics. Therefore, when the scheduler 21 After the server 21 publishes the data of a certain topic, the MQTT server 22 will push the topic to the model management tool 11 in time, and the model management tool 11 obtains the data of these topics.

基于MOTT服务器22,以及作为客户端的模型管理工具11与调度器21,实现了订阅-发布的构架,可以实现各数据更灵活的提供给用户,例如,调度器21可以根据要发送的数据的内容配置不同的主题,从而实现用户通过模型管理工具11可以获得订阅的不同主题的数据内容。举例如下:Based on the MOTT server 22, as well as the model management tool 11 and the scheduler 21 as the client, a subscription-publishing architecture is implemented, which can provide each data to the user more flexibly. For example, the scheduler 21 can be based on the content of the data to be sent. Configure different topics so that users can obtain the data content of different subscribed topics through the model management tool 11. Examples are as follows:

1)可以以不同模型(即程序)的名称作为主题,该主题下的数据包括:该名称的模型产生的新的运行数据。具体的,当该模型产生新的运行数据时,调度器21获取并以模型名称为主题发布,从而模型管理工具11作为订阅者可获得所订阅的该主题的运行数据。通过该方式,可以仅订阅所关注的主题(即模型名称),使用户及时的获知所关注模型的运行数据。1) The names of different models (i.e. programs) can be used as topics. The data under this topic includes: new running data generated by the model with this name. Specifically, when the model generates new running data, the scheduler 21 obtains and publishes the model name as the topic, so that the model management tool 11, as a subscriber, can obtain the subscribed running data of the topic. In this way, you can only subscribe to the topic you are interested in (that is, the model name), so that users can learn the running data of the model you are interested in in a timely manner.

2)可以以不同时间段作为主题,该主题下的数据包括:对应时间段各模型产生的运行数据。具体的,调度器21获取对应时间段各模型产生的运行数据,并以该主题发布,从而模型管理工具11作为订阅者可获得所订阅的时间段下各模型的运行数据。通过该方式,可以以时间段为条件,使用户及时的获知所关注时间段下,各模型的运行数据。2) Different time periods can be used as themes, and the data under this theme include: operating data generated by each model in the corresponding time period. Specifically, the scheduler 21 obtains the operating data generated by each model in the corresponding time period and publishes it on the topic, so that the model management tool 11, as a subscriber, can obtain the operating data of each model in the subscribed time period. Through this method, the time period can be used as the condition, so that the user can obtain the operating data of each model in the time period of interest in a timely manner.

3)可以以特定运行数据类型作为主题,该主题下的数据包括:与所述特定运行相关的运行数据。例如以故障类型作为主题,当某模型产生这样的故障时,调度器21以该故障类型进行发布包括对应模型的信息。通过该方式,当某设备产生某故障时,使用户及时的获知产生该故障的设备的信息。3) A specific operating data type can be used as the subject, and the data under this subject include: operating data related to the specific operation. For example, the fault type is used as the theme. When a certain model generates such a fault, the scheduler 21 publishes information including the corresponding model based on the fault type. Through this method, when a certain fault occurs in a certain device, the user can promptly learn the information of the device that caused the fault.

上面仅举例说明,并不限于上述主题,可以根据管理、安全管理需要设置不同的主题,订阅方可以订阅全部主题或部分主题。以订阅-发布的形式,可以不依赖于用户的主动数据的请求,当设备控制器上运行的调度器21发布相应主题时,即实现了数据的主动发布,由MQTT服务器22及时将主题数据推送到作为订阅方的用户终端侧的模型管理工具11,使得用户及时获知相应数据。另外,当具有多个用户终端时,不同的用户终端上的模型管理工具11作为订阅者,可以分别订阅不同的主题,从而不同的用户终端可以仅需获得对应主题的数据。The above is only an example and is not limited to the above topics. Different topics can be set according to management and security management needs. Subscribers can subscribe to all topics or part of the topics. In the form of subscription-publishing, it does not depend on the user's active data request. When the scheduler 21 running on the device controller publishes the corresponding topic, the active publishing of data is realized, and the MQTT server 22 pushes the topic data in a timely manner. to the model management tool 11 on the user terminal side as the subscriber, so that the user can learn the corresponding data in a timely manner. In addition, when there are multiple user terminals, the model management tools 11 on different user terminals, as subscribers, can subscribe to different topics respectively, so that different user terminals can only obtain data of the corresponding topics.

其中,模型仓库30用于提供可部署到设备控制器的各模型包,可以位于云端,作为远程模型仓库,也可以位于用户终端上,作为本地模型仓库,模型管理工具11可从模型仓库30上传、下载模型包。Among them, the model warehouse 30 is used to provide each model package that can be deployed to the device controller. It can be located in the cloud as a remote model warehouse, or it can be located on the user terminal as a local model warehouse. The model management tool 11 can be uploaded from the model warehouse 30 , download the model package.

其中,用户终端上的模型管理工具11与设备控制器上的MOTT服务器22或调度器21之间的通信,如主题信息的传输、或部署阶段模型包的传输,或升级文件包的传输等,可以基于SSH协议进行,以增加安全性。Among them, the communication between the model management tool 11 on the user terminal and the MOTT server 22 or scheduler 21 on the device controller, such as the transmission of theme information, the transmission of model packages in the deployment stage, or the transmission of upgrade file packages, etc. Can be done based on SSH protocol for added security.

图2示出了本申请第二实施例的流程图,本申请第二实施例提供的一种化工设备控制器上的应用的管理方法,基于上述化工设备控制器的应用管理系统来实现,该方法包括以下步骤:Figure 2 shows a flow chart of the second embodiment of the present application. The second embodiment of the present application provides a management method for applications on a chemical equipment controller, which is implemented based on the application management system of the chemical equipment controller. The method includes the following steps:

S10:用户终端侧运行模型管理工具11,呈现用户操作界面,响应用户的操作,确定出待部署的模型(本例含配置文件)和目标设备的控制器。S10: Run the model management tool 11 on the user terminal side, present the user operation interface, respond to the user's operation, and determine the model to be deployed (including the configuration file in this example) and the controller of the target device.

用户操作界面中可包括“选择文件”控件,用于将模型包读入模型管理工具11,每读入一模型包,可以显示出对应该模型包的名称。通过用户操作界面还可以选择要部署模型包的机组,其中每个机组对应一设备的一控制器。其中,不同的机组(即控制器)可以部署读入模型管理工具11中的相同或不同的模型包。The user operation interface may include a "select file" control for reading the model package into the model management tool 11. Each time a model package is read in, the name of the corresponding model package may be displayed. Through the user operation interface, you can also select the units to which the model package is to be deployed, where each unit corresponds to a controller of a device. Among them, different units (ie controllers) can deploy the same or different model packages read into the model management tool 11.

本例中,模型包与配置文件打包为一个文件。在另一些实施例中,也可以分别为不同的文件,分别部署到对应的设备的控制器中,原理与上相同不再赘述。In this example, the model package and configuration file are packaged into one file. In other embodiments, different files can also be deployed to the controller of the corresponding device. The principle is the same as above and will not be described again.

本实施例还支持其他文件,如板卡文件、系统文件部署到对应的设备的控制器中,原理与上相同不再赘述。This embodiment also supports the deployment of other files, such as board files and system files, into the controller of the corresponding device. The principles are the same as above and will not be described again.

S20:响应用户的操作,模型管理工具11根据前述所确定出的待部署的模型及对应的目标设备的控制器,将相应模型包发送到相应的目标设备。S20: In response to the user's operation, the model management tool 11 sends the corresponding model package to the corresponding target device based on the previously determined model to be deployed and the controller of the corresponding target device.

其中,如上所述,可以是一个目标设备具有多个待部署的模型,也可以是多个设备和多个待部署的模型。As mentioned above, there may be one target device with multiple models to be deployed, or multiple devices and multiple models to be deployed.

S30:目标设备的控制器中的调度器21接收待部署的模型包,并部署到控制器中。S30: The scheduler 21 in the controller of the target device receives the model package to be deployed and deploys it to the controller.

其中部署过程包括:对模型包进行释放,释放出的文件存储到控制器的文件系统的相应文件夹内,该文件夹可以是默认文件夹,优先是模型的配置文件中指定的文件夹,并默认启动该模型。The deployment process includes: releasing the model package, and storing the released files in the corresponding folder of the controller's file system. The folder can be the default folder, preferably the folder specified in the model's configuration file, and This model is launched by default.

其中,不同的模型被释放到不同的文件夹,各模型的配置文件在各模型的文件夹下。Among them, different models are released to different folders, and the configuration files of each model are under the folder of each model.

一具体的例子为:调度器21接收到模型文件包(例如可以是model20220616.tar.gz),调度器21释放该文件包,将其中的模型文件和配置文件释放到model1目录(该目录为默认目录,或配置文件中指明的目录),完成程序的安装,并将该模型纳入调度器21管理的调度队列。其中,调度器21管理的调度队列中包括各个模型的标识,调度器21会基于队列实现对调度队列里的各模型的统一调度,具体可以按照模型的调度策略进行调度执行。其中调度策略配置在各模型的配置文件中。A specific example is: the scheduler 21 receives the model file package (for example, it can be model20220616.tar.gz), the scheduler 21 releases the file package, and releases the model files and configuration files in it to the model1 directory (this directory is the default directory, or the directory specified in the configuration file), complete the installation of the program, and include the model into the scheduling queue managed by the scheduler 21. Among them, the scheduling queue managed by the scheduler 21 includes the identification of each model. The scheduler 21 will implement unified scheduling of each model in the scheduling queue based on the queue. Specifically, scheduling and execution can be performed according to the scheduling policy of the model. The scheduling strategy is configured in the configuration file of each model.

S40:调度器21以队列的方式调度各模型的运行,以及调度器21实时监测各模型的运行状态,并生成相应主题进行发布。S40: The scheduler 21 schedules the running of each model in a queue, and the scheduler 21 monitors the running status of each model in real time, and generates corresponding topics for publication.

S50:设备的控制器内的MQTT服务器22将调度器21发布的主题推送到作为订阅者用户终端侧模型管理工具11,以由模型管理工具11显示。S50: The MQTT server 22 in the controller of the device pushes the topic published by the scheduler 21 to the user terminal side model management tool 11 as a subscriber, so as to be displayed by the model management tool 11.

其中,模型管理工具11还提供模了型管理工具11上的主题的订阅的管理界面,以管理其可订阅的主题。Among them, the model management tool 11 also provides a management interface for topic subscription on the model management tool 11 to manage the topics that can be subscribed.

其中,模型管理工具11还提供模了设备控制器上的调度器21上的主题的发布、订阅的管理界面,以管理调度器21所可发布的主题的内容等。Among them, the model management tool 11 also provides a management interface that models the publication and subscription of topics on the scheduler 21 on the device controller to manage the contents of topics that can be published by the scheduler 21.

另外,模型管理工具11还默认作为管理指令主题的发布者,调度器21默认作为管理指令主题的订阅者,从而模型管理工具11发出的管理指令被MQTT服务器22推送到调度器21,调度器21据此指令去控制相应的模型执行相应指令。管理指令例如对模型进行操作,如启动、禁用、仿真、停止仿真、手工调试、停止手工调试、卸载等。In addition, the model management tool 11 also acts as the publisher of the management instruction topic by default, and the scheduler 21 acts as the subscriber of the management instruction topic by default. Therefore, the management instructions issued by the model management tool 11 are pushed to the scheduler 21 by the MQTT server 22, and the scheduler 21 According to this instruction, the corresponding model is controlled to execute the corresponding instruction. Management instructions include operating the model, such as starting, disabling, simulating, stopping simulation, manual debugging, stopping manual debugging, uninstalling, etc.

另外,在一些实施例中,上述步骤S20模型管理工具11将相应模型包发送到相应的目标设备时,还可以发送一包配置文件(package.ini),包配置文件可以与模型包打包一个文件包。包配置文件用来描述包版本、本次文件包中保护的多个模型的信息及版本。In addition, in some embodiments, when the model management tool 11 in the above step S20 sends the corresponding model package to the corresponding target device, it can also send a package configuration file (package.ini). The package configuration file can be packaged with the model package in one file. Bag. The package configuration file is used to describe the package version, information and versions of multiple models protected in this file package.

图3是本申请实施例提供的一种计算设备400的结构性示意性图。该计算设备可以上述方法或其各可选实施例,该计算设备可以是终端,也可以是终端内部的芯片或芯片系统。如图3所示,该计算设备400包括:处理器410、存储器420、通信接口430。FIG. 3 is a schematic structural diagram of a computing device 400 provided by an embodiment of the present application. The computing device can be the above method or its optional embodiments. The computing device can be a terminal, or a chip or chip system inside the terminal. As shown in FIG. 3 , the computing device 400 includes: a processor 410 , a memory 420 , and a communication interface 430 .

应理解,图3所示的计算设备400中的通信接口430可以用于与其他设备之间进行通信,具体可以包括一个或多个收发电路或接口电路。It should be understood that the communication interface 430 in the computing device 400 shown in Figure 3 can be used to communicate with other devices, and specifically can include one or more transceiver circuits or interface circuits.

其中,该处理器410可以与存储器420连接。该存储器420可以用于存储该程序代码和数据。因此,该存储器420可以是处理器410内部的存储单元,也可以是与处理器410独立的外部存储单元,还可以是包括处理器410内部的存储单元和与处理器410独立的外部存储单元的部件。The processor 410 can be connected to the memory 420 . The memory 420 may be used to store the program code and data. Therefore, the memory 420 may be a storage unit internal to the processor 410 , or may be an external storage unit independent of the processor 410 , or may include a storage unit internal to the processor 410 and an external storage unit independent of the processor 410 . part.

可选的,计算设备400还可以包括总线。其中,存储器420、通信接口430可以通过总线与处理器410连接。总线可以是外设部件互连标准(Peripheral ComponentInterconnect,PCI)总线或扩展工业标准结构(Extended Industry StandardArchitecture,EISA)总线等。所述总线可以分为地址总线、数据总线、控制总线等。为便于表示,图3中采用了一条无箭头的线表示,但并不表示仅有一根总线或一种类型的总线。Optionally, the computing device 400 may also include a bus. Among them, the memory 420 and the communication interface 430 can be connected to the processor 410 through a bus. The bus may be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus, etc. The bus can be divided into address bus, data bus, control bus, etc. For ease of presentation, a line without an arrow is used in Figure 3, but it does not mean that there is only one bus or one type of bus.

应理解,在本申请实施例中,该处理器410可以采用中央处理单元(centralprocessing unit,CPU)。该处理器还可以是其它通用处理器、数字信号处理器(digitalsignal processor,DSP)、专用集成电路(application specific integrated circuit,ASIC)、现成可编程门阵列(field programmable gate Array,FPGA)或者其它可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。或者该处理器410采用一个或多个集成电路,用于执行相关程序,以实现本申请实施例所提供的技术方案。It should be understood that in this embodiment of the present application, the processor 410 may be a central processing unit (CPU). The processor can also be other general-purpose processors, digital signal processors (DSPs), application specific integrated circuits (ASICs), off-the-shelf programmable gate arrays (field programmable gate arrays, FPGAs) or other Programmed logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or the processor may be any conventional processor, etc. Or the processor 410 uses one or more integrated circuits to execute relevant programs to implement the technical solutions provided by the embodiments of the present application.

该存储器420可以包括只读存储器和随机存取存储器,并向处理器410提供指令和数据。处理器410的一部分还可以包括非易失性随机存取存储器。例如,处理器410还可以存储设备类型的信息。The memory 420 may include read-only memory and random access memory and provides instructions and data to the processor 410 . A portion of processor 410 may also include non-volatile random access memory. For example, processor 410 may also store device type information.

在计算设备400运行时,所述处理器410执行所述存储器420中的计算机执行指令执行上述方法的任一操作步骤以及其中任一可选的实施例。When the computing device 400 is running, the processor 410 executes the computer execution instructions in the memory 420 to perform any operation step of the above method and any optional embodiment thereof.

应理解,根据本申请实施例的计算设备400可以对应于执行根据本申请各实施例的方法中的相应主体,并且计算设备400中的各个模块的上述和其它操作和/或功能分别为了实现本实施例各方法的相应流程,为了简洁,在此不再赘述。It should be understood that the computing device 400 according to the embodiments of the present application may correspond to the corresponding subject in performing the methods according to the various embodiments of the present application, and the above and other operations and/or functions of the various modules in the computing device 400 are respectively intended to implement the present application. For the sake of brevity, the corresponding processes of each method in the embodiment will not be described again here.

本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、或者计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented with electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Skilled artisans may implement the described functionality using different methods for each specific application, but such implementations should not be considered beyond the scope of this application.

所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统、装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Those skilled in the art can clearly understand that for the convenience and simplicity of description, the specific working processes of the systems, devices and units described above can be referred to the corresponding processes in the foregoing method embodiments, and will not be described again here.

在本申请所提供的几个实施例中,应该理解到,所揭露的系统、装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the several embodiments provided in this application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are only illustrative. For example, the division of the units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components may be combined or can be integrated into another system, or some features can be ignored, or not implemented. On the other hand, the coupling or direct coupling or communication connection between each other shown or discussed may be through some interfaces, and the indirect coupling or communication connection of the devices or units may be in electrical, mechanical or other forms.

所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place, or they may be distributed to multiple network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.

另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。In addition, each functional unit in each embodiment of the present application can be integrated into one processing unit, each unit can exist physically alone, or two or more units can be integrated into one unit.

所述功能如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本申请各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等各种可以存储程序代码的介质。If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application is essentially or the part that contributes to the existing technology or the part of the technical solution can be embodied in the form of a software product. The computer software product is stored in a storage medium, including Several instructions are used to cause a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in various embodiments of this application. The aforementioned storage media include: U disk, mobile hard disk, read-only memory (ROM), random access memory (RAM), magnetic disk or optical disk and other media that can store program code. .

本申请实施例还提供了一种计算机可读存储介质,其上存储有计算机程序,该程序被处理器执行时用于执行上述方法,该方法包括上述各个实施例所描述的方案中的至少之一。Embodiments of the present application also provide a computer-readable storage medium on which a computer program is stored. The program is used to perform the above method when executed by a processor. The method includes at least one of the solutions described in the above embodiments. one.

本申请实施例的计算机存储介质,可以采用一个或多个计算机可读的介质的任意组合。计算机可读介质可以是计算机可读信号介质或者计算机可读存储介质。计算机可读存储介质例如可以是,但不限于,电、磁、光、电磁、红外线、或半导体的系统、装置或器件,或者任意以上的组合。计算机可读存储介质的更具体的例子(非穷举的列表)包括:具有一个或多个导线的电连接、便携式计算机磁盘、硬盘、随机存取存储器(RAM)、只读存储器(ROM)、可擦式可编程只读存储器(EPROM或闪存)、光纤、便携式紧凑磁盘只读存储器(CD-ROM)、光存储器件、磁存储器件、或者上述的任意合适的组合。在本文件中,计算机可读存储介质可以是任何包含或存储程序的有形介质,该程序可以被指令执行系统、装置或者器件使用或者与其结合使用。The computer storage medium in the embodiment of the present application may be any combination of one or more computer-readable media. The computer-readable medium may be a computer-readable signal medium or a computer-readable storage medium. The computer-readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination thereof. More specific examples (non-exhaustive list) of computer readable storage media include: electrical connections having one or more conductors, portable computer disks, hard drives, random access memory (RAM), read only memory (ROM), Erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination of the above. As used herein, a computer-readable storage medium may be any tangible medium that contains or stores a program for use by or in connection with an instruction execution system, apparatus, or device.

计算机可读的信号介质可以包括在基带中或者作为载波一部分传播的数据信号,其中承载了计算机可读的程序代码。这种传播的数据信号可以采用多种形式,包括但不限于电磁信号、光信号或上述的任意合适的组合。计算机可读的信号介质还可以是计算机可读存储介质以外的任何计算机可读介质,该计算机可读介质可以发送、传播或者传输用于由指令执行系统、装置或者器件使用或者与其结合使用的程序。A computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave carrying computer-readable program code therein. Such propagated data signals may take many forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. A computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium that can send, propagate, or transmit a program for use by or in connection with an instruction execution system, apparatus, or device .

计算机可读介质上包含的程序代码可以用任何适当的介质传输,包括、但不限于无线、电线、光缆、RF等等,或者上述的任意合适的组合。Program code embodied on a computer-readable medium may be transmitted using any suitable medium, including, but not limited to, wireless, wire, optical cable, RF, etc., or any suitable combination of the foregoing.

可以以一种或多种程序设计语言或其组合来编写用于执行本申请操作的计算机程序代码,所述程序设计语言包括面向对象的程序设计语言—诸如Java、Smalltalk、C++,还包括常规的过程式程序设计语言—诸如“C”语言或类似的程序设计语言。程序代码可以完全地在用户计算机上执行、部分地在用户计算机上执行、作为一个独立的软件包执行、部分在用户计算机上部分在远程计算机上执行、或者完全在远程计算机或服务器上执行。在涉及远程计算机的情形中,远程计算机可以通过任意种类的网络,包括局域网(LAN)或广域网(WAN),连接到用户计算机,或者,可以连接到外部计算机(例如利用因特网服务提供商来通过因特网连接)。Computer program code for performing the operations of the present application may be written in one or more programming languages, including object-oriented programming languages such as Java, Smalltalk, C++, and conventional Procedural programming language—such as "C" or a similar programming language. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In situations involving remote computers, the remote computer can be connected to the user's computer through any kind of network, including a local area network (LAN) or a wide area network (WAN), or it can be connected to an external computer (such as an Internet service provider through the Internet). connect).

另外,说明书和权利要求书中的词语“第一、第二、第三等”或模块A、模块B、模块C等类似用语,仅用于区别类似的对象,不代表针对对象的特定排序,可以理解地,在允许的情况下可以互换特定的顺序或先后次序,以使这里描述的本申请实施例能够以除了在这里图示或描述的以外的顺序实施。In addition, the words "first, second, third, etc." or similar terms such as module A, module B, module C, etc. in the description and claims are only used to distinguish similar objects and do not represent a specific ordering of the objects. It is understood that the specific order or sequence may be interchanged where permitted, so that the embodiments of the application described herein can be implemented in an order other than that illustrated or described herein.

在上述的描述中,所涉及的表示步骤的标号,如S110、S120……等,并不表示一定会按此步骤执行,在允许的情况下可以互换前后步骤的顺序,或同时执行。In the above description, the labels indicating the steps involved, such as S110, S120..., etc., do not necessarily mean that this step will be executed. If permitted, the order of the preceding and following steps can be interchanged, or executed at the same time.

说明书和权利要求书中使用的术语“包括”不应解释为限制于其后列出的内容;它不排除其它的元件或步骤。因此,其应当诠释为指定所提到的所述特征、整体、步骤或部件的存在,但并不排除存在或添加一个或更多其它特征、整体、步骤或部件及其组群。因此,表述“包括装置A和B的设备”不应局限为仅由部件A和B组成的设备。The term "comprising", as used in the specification and claims, should not be construed as being limited to what is listed thereafter; it does not exclude other elements or steps. It should therefore be construed as specifying the presence of stated features, integers, steps or components mentioned, but not excluding the presence or addition of one or more other features, integers, steps or components and groups thereof. Therefore, the expression "an apparatus comprising means A and B" should not be limited to an apparatus consisting only of components A and B.

本说明书中提到的“一个实施例”或“实施例”意味着与该实施例结合描述的特定特征、结构或特性包括在本申请的至少一个实施例中。因此,在本说明书各处出现的用语“在一个实施例中”或“在实施例中”并不一定都指同一实施例,但可以指同一实施例。此外,在一个或多个实施例中,能够以任何适当的方式组合各特定特征、结构或特性,如从本公开对本领域的普通技术人员显而易见的那样。Reference in this specification to "one embodiment" or "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment is included in at least one embodiment of the present application. Thus, appearances of the phrases "in one embodiment" or "in an embodiment" in various places in this specification are not necessarily all referring to the same embodiment, but may. Furthermore, the particular features, structures, or characteristics may be combined in any suitable manner in one or more embodiments, as would be apparent to one of ordinary skill in the art from this disclosure.

注意,上述仅为本申请的较佳实施例及所运用技术原理。本领域技术人员会理解,本申请不限于这里所述的特定实施例,对本领域技术人员来说能够进行各种明显的变化、重新调整和替代而不会脱离本申请的保护范围。因此,虽然通过以上实施例对本申请进行了较为详细的说明,但是本申请不仅仅限于以上实施例,在不脱离本申请构思的情况下,还可以包括更多其他等效实施例,均属于本申请保护范畴。Note that the above are only the preferred embodiments of the present application and the technical principles used. Those skilled in the art will understand that the present application is not limited to the specific embodiments described herein, and that various obvious changes, readjustments and substitutions can be made by those skilled in the art without departing from the scope of the present application. Therefore, although the present application has been described in detail through the above embodiments, the present application is not limited to the above embodiments. Without departing from the concept of the present application, it can also include more other equivalent embodiments, all of which belong to the present application. Apply for protection scope.

Claims (10)

1. An application management system of a chemical plant controller, comprising a model management tool running on a user terminal, a scheduler running on the plant controller and a MOTT server, wherein the model management tool and the scheduler are configured as clients of the MOTT server;
the model management tool is used for sending one or more files to the selected one or more controllers, wherein the files comprise model packages, and each model package corresponds to an application;
the scheduler in the controller is used for deploying the received model packages in the files into the controller and is used for acquiring the operation data of the models in the controller and issuing the operation data in a first theme;
the MOTT server is used for pushing the first theme published by the scheduler to the model management tool subscribed to the first theme.
2. The system of claim 1, wherein the model management tool is further configured to issue management instructions as a second topic;
the MOTT server is further used for pushing the second theme published by the model management tool to the dispatcher subscribed to the second theme;
and the dispatcher enables the corresponding model to execute the management instruction according to the management instruction corresponding to the second theme.
3. The system of claim 2, wherein the file further comprises a configuration file corresponding to the model package;
the scheduler is configured to deploy the model package into a controller, including: the scheduler is used for deploying the model package into the controller according to the configuration file corresponding to the model package.
4. The system of claim 3, wherein the first theme comprises one of the following or a combination of any of the following:
taking the name of the model as a theme, the data under the theme comprises: new operational data generated by the model of the name;
taking different time periods as topics, the data under the topics comprise: operating data generated by the corresponding time period model;
taking a specific operation data type as a theme, the data under the theme comprises: operational data associated with the particular operation.
5. The system of claim 1, further comprising a model repository for providing model packages;
the model management tool is further configured to obtain a model package from the model repository.
6. A method for managing applications of a chemical plant controller, wherein the method is implemented based on the application management system of the chemical plant controller according to any one of claims 1 to 5, and comprises:
selecting one or more controllers and one or more files corresponding to each controller through a model management tool, wherein the files comprise model packages;
the model management tool sending the corresponding one or more files to the selected one or more controllers;
the scheduler of the controller receives the corresponding file and deploys the model package in the file into the controller;
the controller acquires operation data of a model in the controller and issues the operation data in a first theme;
the MOTT server pushes the first topic published by the scheduler to the model management tool subscribed to the first topic.
7. The method as recited in claim 6, further comprising:
the model management tool issues management instructions as a second theme;
the MOTT server pushes the second topic published by the model management tool to the scheduler subscribed to the second topic;
and the dispatcher enables the corresponding model to execute the management instruction according to the management instruction corresponding to the second theme.
8. The method of claim 7, wherein the first theme comprises one or a combination of any of the following themes:
taking the name of the model as a theme, the data under the theme comprises: new operational data generated by the model of the name;
taking different time periods as topics, the data under the topics comprise: operating data generated by the corresponding time period model;
taking a specific operation data type as a theme, the data under the theme comprises: operational data associated with the particular operation.
9. A computing device, comprising:
processor and method for controlling the same
A memory having stored thereon program instructions that when executed by the processor cause the processor to perform the method of managing the application of the chemical plant controller of any one of claims 6 to 8.
10. A computer readable storage medium having stored thereon program instructions which, when executed by a processor, cause the processor to perform a method of managing the application of a chemical plant controller according to any one of claims 6 to 8.
CN202311703533.1A 2023-12-13 2023-12-13 Application management system and method of chemical equipment controller Pending CN117407007A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311703533.1A CN117407007A (en) 2023-12-13 2023-12-13 Application management system and method of chemical equipment controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311703533.1A CN117407007A (en) 2023-12-13 2023-12-13 Application management system and method of chemical equipment controller

Publications (1)

Publication Number Publication Date
CN117407007A true CN117407007A (en) 2024-01-16

Family

ID=89496506

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311703533.1A Pending CN117407007A (en) 2023-12-13 2023-12-13 Application management system and method of chemical equipment controller

Country Status (1)

Country Link
CN (1) CN117407007A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114051030A (en) * 2021-11-11 2022-02-15 广东睿住智能科技有限公司 Communication method, communication device, smart community system and storage medium
CN114090303A (en) * 2022-01-14 2022-02-25 杭州义益钛迪信息技术有限公司 Software module scheduling method and device, electronic equipment, storage medium and product
CN114301962A (en) * 2021-11-26 2022-04-08 杭州中恒电气股份有限公司 Charging pile communication method and system based on Internet of things cloud platform
CN116095138A (en) * 2022-12-30 2023-05-09 国网冀北电力有限公司信息通信分公司 Data distribution system and method for grid-connected control of photovoltaic power generation
CN116915827A (en) * 2023-08-28 2023-10-20 亚信科技(中国)有限公司 Data transmission method, device, electronic equipment and media for Internet of Things edge gateway

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114051030A (en) * 2021-11-11 2022-02-15 广东睿住智能科技有限公司 Communication method, communication device, smart community system and storage medium
CN114301962A (en) * 2021-11-26 2022-04-08 杭州中恒电气股份有限公司 Charging pile communication method and system based on Internet of things cloud platform
CN114090303A (en) * 2022-01-14 2022-02-25 杭州义益钛迪信息技术有限公司 Software module scheduling method and device, electronic equipment, storage medium and product
CN116095138A (en) * 2022-12-30 2023-05-09 国网冀北电力有限公司信息通信分公司 Data distribution system and method for grid-connected control of photovoltaic power generation
CN116915827A (en) * 2023-08-28 2023-10-20 亚信科技(中国)有限公司 Data transmission method, device, electronic equipment and media for Internet of Things edge gateway

Similar Documents

Publication Publication Date Title
WO2021017301A1 (en) Management method and apparatus based on kubernetes cluster, and computer-readable storage medium
US8645672B2 (en) Configuring a computer system for a software package installation
CN109643252B (en) Middleware interface and middleware interface generator
CN108345482A (en) The self-defined edit methods of dynamic page, device, electronic equipment and storage medium
WO2021244644A1 (en) Method for dynamically integrating application, and software system and machine therefor
JP2021500686A (en) Code module selection for device design
CN111782231B (en) Service deployment method and device
CN110895468A (en) Method and device for realizing service enhancement
CN115268949A (en) Mirror preheating method, device, equipment and storage medium
CN112083945B (en) Update prompt method, device, electronic device and storage medium for NPM installation package
CN111240998B (en) Test case processing method and device
CN117407007A (en) Application management system and method of chemical equipment controller
CN117472509A (en) Non-containerized application management method based on Kubernetes cluster equipment
CN113902387A (en) A workflow processing method, device and electronic device
US20240070151A1 (en) Database systems and client-side query transformation methods
Lai et al. A design framework of automatic deployment for 5G network slicing
US9501528B2 (en) Efficient response of common information model (CIM) server
CN114489929B (en) Container group starting method and device, electronic equipment and storage medium
US11625289B2 (en) Systems and methods for filesystem-based computer application communication
US12147419B2 (en) Database systems and methods of batching data requests for application extensions
US20240069933A1 (en) Database systems and client-side field retrieval methods
Tamboli Building the Critical Components
CN118606024A (en) A unified access method, device, electronic device and medium for platform as a service
CN113886000A (en) Application construction method and device
WO2023193470A1 (en) Service management method and system, and related device

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20240116

RJ01 Rejection of invention patent application after publication