[go: up one dir, main page]

CN114327628B - Hierarchical control method, system, terminal device and storage medium - Google Patents

Hierarchical control method, system, terminal device and storage medium Download PDF

Info

Publication number
CN114327628B
CN114327628B CN202111636258.7A CN202111636258A CN114327628B CN 114327628 B CN114327628 B CN 114327628B CN 202111636258 A CN202111636258 A CN 202111636258A CN 114327628 B CN114327628 B CN 114327628B
Authority
CN
China
Prior art keywords
control
layer
target
algorithm
hierarchical
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.)
Active
Application number
CN202111636258.7A
Other languages
Chinese (zh)
Other versions
CN114327628A (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.)
Shenzhen Inovance Technology Co Ltd
Original Assignee
Shenzhen Inovance 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 Shenzhen Inovance Technology Co Ltd filed Critical Shenzhen Inovance Technology Co Ltd
Priority to CN202111636258.7A priority Critical patent/CN114327628B/en
Publication of CN114327628A publication Critical patent/CN114327628A/en
Application granted granted Critical
Publication of CN114327628B publication Critical patent/CN114327628B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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

  • Programmable Controllers (AREA)

Abstract

The invention discloses a layering control method which is applied to a layering control system comprising a plurality of field layering, wherein the field layering comprises a communication layer and an execution layer, and the method comprises the following steps: the control instruction input by a user at the programmable terminal is acquired through the communication layer and forwarded to the execution layer; executing the control instruction by using an execution layer to determine a target layering corresponding to the control instruction; determining a control object according to the control instruction, and calling a target control component from the target hierarchy to generate control information; and controlling the control object according to the control information. The invention also discloses a hierarchical control system, terminal equipment and a storage medium. According to the invention, the control system is divided into a plurality of field layers, so that a user can flexibly call the control components in each field layer according to the input control instruction, thereby realizing the control of various hardware devices, improving the flexibility and the intelligent level of the control, and meeting the diversified control demands of the user.

Description

分层控制方法、系统、终端设备及存储介质Hierarchical control method, system, terminal device and storage medium

技术领域Technical Field

本发明涉及工业自动化控制领域,尤其涉及一种分层控制方法、系统、终端设备及存储介质。The present invention relates to the field of industrial automation control, and in particular to a hierarchical control method, system, terminal equipment and storage medium.

背景技术Background Art

随着工业自动化技术的快速发展,用户对控制系统需求的复杂性日益提高,而现有的控制系统结构较为简单,一般分为三层,从底层硬件,到中间层并列的执行器、数据区和程序区,再到最上层的总线网络。其中,底层硬件用于承载控制系统软件,执行器用于执行控制程序,数据存储区用于分区存储不同类型的数据,随着控制技术的发展和用户需求的多样化,为实现相应的控制功能以满足用户需求,控制系统需要处理的数据类型、需要控制的硬件设备类型越来越复杂。因此,现有的控制系统在多语言支持和扩展、复杂数据类型的处理以及多种硬件设备控制的问题上,灵活性和智能化水平不足,从而限制了基于现有控制系统产生的控制方法的灵活性和智能化水平。With the rapid development of industrial automation technology, the complexity of user requirements for control systems is increasing, while the existing control system structure is relatively simple, generally divided into three layers, from the bottom hardware, to the middle layer of parallel actuators, data areas and program areas, and then to the top layer bus network. Among them, the bottom hardware is used to carry the control system software, the actuator is used to execute the control program, and the data storage area is used to partition and store different types of data. With the development of control technology and the diversification of user needs, in order to achieve corresponding control functions to meet user needs, the data types that the control system needs to process and the types of hardware devices that need to be controlled are becoming more and more complex. Therefore, the existing control system lacks flexibility and intelligence in terms of multi-language support and expansion, processing of complex data types, and control of multiple hardware devices, which limits the flexibility and intelligence of the control methods generated based on the existing control system.

发明内容Summary of the invention

本发明的主要目的在于提供一种分层控制方法、系统、终端设备及存储介质,旨在解决基于现有控制系统的控制方法,灵活性和智能化水平不足的技术问题。The main purpose of the present invention is to provide a hierarchical control method, system, terminal device and storage medium, aiming to solve the technical problem of insufficient flexibility and intelligence level of control methods based on existing control systems.

此外,为实现上述目的,本发明还提供一种分层控制方法,应用于分层控制系统,所述分层控制系统包括多个领域分层,所述领域分层包括通信层和执行层,所述分层控制方法包括以下步骤:In addition, to achieve the above object, the present invention also provides a hierarchical control method, which is applied to a hierarchical control system, wherein the hierarchical control system includes multiple domain layers, wherein the domain layers include a communication layer and an execution layer, and the hierarchical control method includes the following steps:

通过所述通信层获取用户在可编程终端输入的控制指令,并将所述控制指令转发至所述执行层;Acquire control instructions input by a user at a programmable terminal through the communication layer, and forward the control instructions to the execution layer;

利用所述执行层执行所述控制指令,以确定所述控制指令对应的目标分层;Executing the control instruction using the execution layer to determine a target layer corresponding to the control instruction;

根据所述控制指令确定控制对象,并从所述目标分层中调用目标控制组件生成控制信息;Determine the control object according to the control instruction, and call the target control component from the target layer to generate control information;

根据所述控制信息对所述控制对象进行控制。The control object is controlled according to the control information.

可选地,所述领域分层还包括工艺应用层、语言层、算法层,其中:Optionally, the domain layering further includes a process application layer, a language layer, and an algorithm layer, wherein:

所述语言层用于编译多种编程语言;The language layer is used to compile multiple programming languages;

所述工艺应用层中包括多个利用所述语言层可编译的的编程语言编写的工艺程序包,所述算法层中包括多个利用所述语言层可编译的的编程语言编写的工艺算法;The process application layer includes a plurality of process program packages written in a programming language compilable by the language layer, and the algorithm layer includes a plurality of process algorithms written in a programming language compilable by the language layer;

当所述目标分层包括所述工艺应用层和/或所述算法层时,所述目标控制组件包括所述工艺应用层中的目标工艺程序包,和/或所述算法层中的目标工艺算法。When the target layering includes the process application layer and/or the algorithm layer, the target control component includes a target process program package in the process application layer and/or a target process algorithm in the algorithm layer.

可选地,从所述目标分层中调用目标控制组件生成控制信息的步骤,包括:Optionally, the step of calling a target control component from the target hierarchy to generate control information includes:

利用所述语言层将所述控制指令编译为目标编程语言;Compiling the control instructions into a target programming language using the language layer;

从所述工艺应用层中调用所述目标编程语言对应的目标工艺程序包,和/或从所述算法层中调用所述目标编程语言对应的目标工艺算法;Calling a target process program package corresponding to the target programming language from the process application layer, and/or calling a target process algorithm corresponding to the target programming language from the algorithm layer;

基于所述目标工艺程序包和/或所述目标工艺算法生成控制信息。Control information is generated based on the target process package and/or the target process algorithm.

可选地,所述领域分层还包括资源抽象层,其中,所述资源抽象层中包括多个被抽象的控制对象,根据所述控制信息对所述控制对象进行控制的步骤,包括:Optionally, the domain hierarchy further includes a resource abstraction layer, wherein the resource abstraction layer includes a plurality of abstracted control objects, and the step of controlling the control objects according to the control information includes:

从所述资源抽象层中确定所述控制对象对应的地址信息;Determine address information corresponding to the control object from the resource abstraction layer;

根据所述地址信息,通过所述通信层将所述控制信息转发至所述控制对象,对所述控制对象进行控制。According to the address information, the control information is forwarded to the control object through the communication layer to control the control object.

可选地,所述领域分层还包括操作系统层和硬件层,通过所述通信层将所述控制信息转发至所述控制对象的步骤,包括:Optionally, the domain layer further includes an operating system layer and a hardware layer, and the step of forwarding the control information to the control object through the communication layer includes:

通过所述通信层将所述控制信息转发至所述资源抽象层;forwarding the control information to the resource abstraction layer through the communication layer;

基于所述操作系统层和所述硬件层,通过所述通信层将所述控制信息从所述资源抽象层转发至所述控制对象。Based on the operating system layer and the hardware layer, the control information is forwarded from the resource abstraction layer to the control object through the communication layer.

可选地,利用所述执行层执行所述控制指令,以确定所述控制指令对应的目标分层的步骤,包括:Optionally, the step of executing the control instruction by using the execution layer to determine the target layer corresponding to the control instruction includes:

利用所述执行层执行所述控制指令,从所述控制指令中提取关键字信息;Executing the control instruction using the execution layer, and extracting keyword information from the control instruction;

根据所述关键字信息确定所述控制指令调用的目标控制组件;Determine the target control component called by the control instruction according to the keyword information;

根据所述目标控制组件所在的领域分层,从所述分层控制系统的各领域分层中确定所述控制指令对应的目标分层。According to the domain layer where the target control component is located, the target layer corresponding to the control instruction is determined from each domain layer of the hierarchical control system.

此外,为实现上述目的,本发明还提供一种分层控制系统,所述分层控制系统包括:In addition, to achieve the above object, the present invention further provides a hierarchical control system, the hierarchical control system comprising:

通信层,用于获取用户在可编程终端输入的控制指令,并将所述控制指令转发至执行层;The communication layer is used to obtain the control instructions input by the user on the programmable terminal and forward the control instructions to the execution layer;

执行层,用于接收并执行所述通信层转发的控制指令,以确定所述控制指令对应的目标分层;An execution layer, used to receive and execute the control instruction forwarded by the communication layer to determine the target layer corresponding to the control instruction;

工艺应用层和算法层,包括多个控制组件,以供所述执行层在执行所述控制指令时,从所述目标分层中调用目标控制组件生成控制信息;The process application layer and the algorithm layer include a plurality of control components, so that the execution layer can call the target control component from the target layer to generate control information when executing the control instruction;

资源抽象层,包括多个被抽象的控制对象,用于根据所述控制指令确定控制对象,以供所述执行层根据所述控制信息对所述控制对象进行控制。The resource abstraction layer includes a plurality of abstracted control objects, and is used to determine the control object according to the control instruction, so that the execution layer can control the control object according to the control information.

此外,为实现上述目的,本发明还提供一种终端设备,所述终端设备包括:存储器、处理器及存储在所述存储器上并可在所述处理器上运行的分层控制程序,所述分层控制程序被所述处理器执行时实现如上述的分层控制方法的步骤。In addition, to achieve the above-mentioned purpose, the present invention also provides a terminal device, which includes: a memory, a processor, and a hierarchical control program stored in the memory and executable on the processor, and the hierarchical control program implements the steps of the hierarchical control method as described above when executed by the processor.

此外,为实现上述目的,本发明还提供一种计算机可读存储介质,所述计算机可读存储介质上存储有分层控制程序,所述分层控制程序被处理器执行时实现如上述的分层控制方法的步骤。In addition, to achieve the above-mentioned purpose, the present invention also provides a computer-readable storage medium, on which a hierarchical control program is stored, and when the hierarchical control program is executed by a processor, the steps of the hierarchical control method as described above are implemented.

此外,为实现上述目的,本发明还提供一种计算机程序产品,包括计算机程序,所述计算机程序被处理器执行时实现如上述的分层控制方法的步骤。In addition, to achieve the above-mentioned purpose, the present invention also provides a computer program product, including a computer program, and when the computer program is executed by a processor, the steps of the hierarchical control method as described above are implemented.

本发明实施例提出的一种分层控制方法、系统、终端设备及存储介质。现有技术中,由于控制系统结构简单,难以处理复杂的数据类型,在多语言支持和扩展,以及对多种硬件设备的控制上,灵活性和智能化水平不足,从而限制了基于控制系统产生的控制方法的灵活性和智能化水平,无法满足用户的多样化需求。本发明实施例中,分层控制方法应用于分层控制系统,所述分层控制系统中包括多个领域分层,所述领域分层包括通信层和执行层,通过通信层获取用户在可编程终端输入的控制指令,并将所述控制指令转发至所述执行层;利用所述执行层执行所述控制指令,以确定所述控制指令对应的目标分层;根据所述控制指令确定控制对象,并从所述目标分层中调用目标控制组件生成控制信息;根据所述控制信息对所述控制对象进行控制。通过将控制系统划分为多个领域分层,以供用户根据输入的控制指令对个领域分层中的控制组件进行灵活调用,提高了控制的灵活性。同时,通过领域划分,可以对系统进行多语言支持和扩展,使得系统可以支持多种语言类型,以及处理复杂的数据类型,从而实现对多种硬件设备的控制,提高了控制系统的智能化水平,从而提高了基于控制系统实现的控制方法的灵活性和智能化水平,可以满足用户的多样化控制需求。A hierarchical control method, system, terminal device and storage medium proposed in an embodiment of the present invention. In the prior art, due to the simple structure of the control system, it is difficult to process complex data types. In terms of multi-language support and expansion, as well as the control of various hardware devices, the flexibility and intelligence level are insufficient, which limits the flexibility and intelligence level of the control method generated based on the control system and cannot meet the diverse needs of users. In an embodiment of the present invention, the hierarchical control method is applied to a hierarchical control system, wherein the hierarchical control system includes multiple domain layers, and the domain layers include a communication layer and an execution layer. The control instructions input by the user in the programmable terminal are obtained through the communication layer, and the control instructions are forwarded to the execution layer; the control instructions are executed by the execution layer to determine the target layer corresponding to the control instructions; the control object is determined according to the control instruction, and the target control component is called from the target layer to generate control information; and the control object is controlled according to the control information. By dividing the control system into multiple domain layers, the user can flexibly call the control components in each domain layer according to the input control instructions, thereby improving the flexibility of control. At the same time, through domain division, the system can be supported and expanded in multiple languages, so that the system can support multiple language types and process complex data types, thereby realizing the control of various hardware devices and improving the intelligence level of the control system. This improves the flexibility and intelligence level of the control method based on the control system and can meet the diverse control needs of users.

附图说明BRIEF DESCRIPTION OF THE DRAWINGS

图1为本发明实施例提供的终端设备一种实施方式的硬件结构示意图;FIG1 is a schematic diagram of a hardware structure of a terminal device according to an embodiment of the present invention;

图2为本发明分层控制方法第一实施例的流程示意图;FIG2 is a schematic flow chart of a first embodiment of a hierarchical control method according to the present invention;

图3为本发明分层控制方法第二实施例的分层控制系统结构示意图;3 is a schematic diagram of the structure of a hierarchical control system according to a second embodiment of the hierarchical control method of the present invention;

图4为本发明分层控制系统一实施例的系统结构示意图;FIG4 is a schematic diagram of the system structure of an embodiment of a hierarchical control system of the present invention;

图5为本发明分层控制系统一实施例的另一系统结构示意图。FIG. 5 is another schematic diagram of the system structure of an embodiment of the hierarchical control system of the present invention.

本发明目的的实现、功能特点及优点将结合实施例,参照附图做进一步说明。The realization of the purpose, functional features and advantages of the present invention will be further explained in conjunction with embodiments and with reference to the accompanying drawings.

具体实施方式DETAILED DESCRIPTION

应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不用于限定本发明。It should be understood that the specific embodiments described herein are only used to explain the present invention, and are not used to limit the present invention.

在后续的描述中,使用用于表示元件的诸如“模块”、“部件”或“单元”的后缀仅为了有利于本发明的说明,其本身没有特定的意义。因此,“模块”、“部件”或“单元”可以混合地使用。In the subsequent description, the suffixes such as "module", "component" or "unit" used to represent elements are only used to facilitate the description of the present invention, and have no specific meanings. Therefore, "module", "component" or "unit" can be used in a mixed manner.

本发明实施例分层控制终端(又叫终端、设备或者终端设备)可以是PC,也可以是智能手机、平板电脑和便携计算机等具有通信和数据处理功能的可移动式终端设备。The hierarchical control terminal (also called terminal, device or terminal equipment) in the embodiment of the present invention can be a PC, or a mobile terminal equipment with communication and data processing functions such as a smart phone, a tablet computer and a portable computer.

如图1所示,该终端可以包括:处理器1001,例如CPU,网络接口1004,用户接口1003,存储器1005,通信总线1002。其中,通信总线1002用于实现这些组件之间的连接通信。用户接口1003可以包括显示屏(Display)、输入单元比如键盘(Keyboard),可选用户接口1003还可以包括标准的有线接口、无线接口。网络接口1004可选的可以包括标准的有线接口、无线接口(如WI-FI接口)。存储器1005可以是高速RAM存储器,也可以是稳定的存储器(non-volatile memory),例如磁盘存储器。存储器1005可选的还可以是独立于前述处理器1001的存储装置。As shown in Figure 1, the terminal may include: a processor 1001, such as a CPU, a network interface 1004, a user interface 1003, a memory 1005, and a communication bus 1002. Among them, the communication bus 1002 is used to realize the connection and communication between these components. The user interface 1003 may include a display screen (Display), an input unit such as a keyboard (Keyboard), and the optional user interface 1003 may also include a standard wired interface and a wireless interface. The network interface 1004 may optionally include a standard wired interface and a wireless interface (such as a WI-FI interface). The memory 1005 may be a high-speed RAM memory, or a stable memory (non-volatile memory), such as a disk memory. The memory 1005 may also be a storage device independent of the aforementioned processor 1001.

可选地,终端还可以包括摄像头、RF(Radio Frequency,射频)电路,传感器、音频电路、WiFi模块等等。其中,传感器比如光传感器、运动传感器以及其他传感器。具体地,光传感器可包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节显示屏的亮度,接近传感器可在移动终端移动到耳边时,关闭显示屏和/或背光。作为运动传感器的一种,重力加速度传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别移动终端姿态的应用(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等;当然,移动终端还可配置陀螺仪、气压计、湿度计、温度计、红外线传感器等其他传感器,在此不再赘述。Optionally, the terminal may also include a camera, an RF (Radio Frequency) circuit, a sensor, an audio circuit, a WiFi module, and the like. Among them, sensors include light sensors, motion sensors, and other sensors. Specifically, the light sensor may include an ambient light sensor and a proximity sensor, wherein the ambient light sensor may adjust the brightness of the display screen according to the brightness of the ambient light, and the proximity sensor may turn off the display screen and/or backlight when the mobile terminal is moved to the ear. As a type of motion sensor, the gravity acceleration sensor can detect the magnitude of acceleration in each direction (generally three axes), and can detect the magnitude and direction of gravity when stationary. It can be used for applications that identify the posture of the mobile terminal (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer, tapping), etc.; of course, the mobile terminal may also be equipped with other sensors such as gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc., which will not be repeated here.

本领域技术人员可以理解,图1中示出的终端结构并不构成对终端的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。Those skilled in the art will appreciate that the terminal structure shown in FIG. 1 does not limit the terminal and may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently.

如图1所示,作为一种计算机可读存储介质的存储器1005中可以包括操作系统、网络通信模块、用户接口模块以及分层控制程序。As shown in FIG. 1 , the memory 1005 as a computer-readable storage medium may include an operating system, a network communication module, a user interface module, and a hierarchical control program.

在图1所示的终端中,网络接口1004主要用于连接后台服务器,与后台服务器进行数据通信;用户接口1003主要用于连接客户端(用户端),与客户端进行数据通信;而处理器1001可以用于调用存储器1005中存储的分层控制程序,所述分层控制程序被处理器执行时实现下述实施例提供的分层控制方法中的操作。In the terminal shown in Figure 1, the network interface 1004 is mainly used to connect to the background server and communicate data with the background server; the user interface 1003 is mainly used to connect to the client (user end) and communicate data with the client; and the processor 1001 can be used to call the hierarchical control program stored in the memory 1005. When the hierarchical control program is executed by the processor, the operations in the hierarchical control method provided in the following embodiments are implemented.

基于上述设备硬件结构,提出了本发明分层控制方法的各个实施例。需要说明的是,本发明分层控制方法应用于分层控制系统,该分层控制系统包括多个领域分层。现有技术中,控制系统结构较为简单,一般分为底层硬件层,执行器、数据区和程序区并列的中间层,以及最上层的总线网络层,随着控制技术的发展和用户需求的多样化,控制系统执行器需要执行的语言类型逐渐趋于多样化,控制系统需要控制的对象也越来越多。而现有的控制系统,无法对控制对象进行抽象,从而无法支持对多种硬件的控制,并且,控制系统中的执行器采用解释型语言,执行速度低,同时不易进行语言和功能扩展,无法满足用户的多样化需求和对控制系统处理速度的要求。对于数据区分区存储的数据,一般是通过编码来表示固定长度的地址信息,无法满足控制系统处理复杂数据类型的需求,导致控制系统的控制灵活性和智能化水平不足,同时也限制了基于控制系统产生的控制方法的灵活性和智能化水平。Based on the hardware structure of the above-mentioned device, various embodiments of the hierarchical control method of the present invention are proposed. It should be noted that the hierarchical control method of the present invention is applied to a hierarchical control system, which includes multiple domain hierarchies. In the prior art, the control system structure is relatively simple, generally divided into a bottom hardware layer, an intermediate layer of actuators, data areas and program areas, and a top bus network layer. With the development of control technology and the diversification of user needs, the types of languages that the control system actuators need to execute are gradually becoming more diversified, and the control system needs to control more and more objects. However, the existing control system cannot abstract the control object, so it cannot support the control of multiple hardware. In addition, the actuators in the control system use an interpreted language with a low execution speed. At the same time, it is not easy to expand the language and functions, and it cannot meet the diversified needs of users and the requirements for the processing speed of the control system. For the data stored in the data area, the address information of fixed length is generally represented by encoding, which cannot meet the control system's requirements for processing complex data types, resulting in insufficient control flexibility and intelligence level of the control system, and also limiting the flexibility and intelligence level of the control method generated based on the control system.

基于此,本发明提出了一种分层控制方法,应用于分层控制系统(以下简称系统),该系统是基于领域分层的控制系统结构,因此,系统结构中包括多个领域分层,不仅可以解决多语言的支持和扩展问题,还可以复杂数据类型处理以及多种硬件执行的问题,提高了控制系统的灵活性和智能化水平,从而提高了控制方法的灵活性和智能化水平。Based on this, the present invention proposes a hierarchical control method applied to a hierarchical control system (hereinafter referred to as the system). The system is a control system structure based on domain hierarchy. Therefore, the system structure includes multiple domain hierarchies, which can not only solve the problems of multi-language support and expansion, but also complex data type processing and multiple hardware execution problems, thereby improving the flexibility and intelligence level of the control system, thereby improving the flexibility and intelligence level of the control method.

具体地,参照图2,图2为本发明分层控制方法第一实施例的流程示意图,在本发明分层控制方法的第一实施例中,所述分层控制方法包括:Specifically, referring to FIG. 2 , FIG. 2 is a flow chart of a first embodiment of a hierarchical control method of the present invention. In the first embodiment of the hierarchical control method of the present invention, the hierarchical control method includes:

步骤S10,通过所述通信层获取用户在可编程终端输入的控制指令,并将所述控制指令转发至所述执行层;Step S10, obtaining a control instruction input by a user at a programmable terminal through the communication layer, and forwarding the control instruction to the execution layer;

在本实施例中,分层控制方法应用于分层控制系统,该系统包括多个领域分层,其中,领域分层至少包括通信层、工艺应用层、语言层、算法层、资源抽象层、执行层、操作系统层和硬件层等。分层控制方法基于分层控制系统产生,首先通过通信层获取用户的控制指令,该控制指令可以是用户通过可编程终端输入的指令,也可以是基于用户对其他控制对象进行控制时,自动触发的协调控制指令。其中,自动触发的协调控制指令例如,当用户想要实现某个功能从而发出对设备1进行控制的指令时,如果要实现完整的控制功能,设备1可能需要调用设备2协调完成,因此,在对设备1的控制过程中,可能自动触发对设备2的控制指令,从而调用设备2实现对设备1的协调控制。通过通信层获取用户在可编程终端输入的控制指令后,将控制指令转发至执行层,利用执行层执行控制指令并实现相应的控制功能。In this embodiment, the hierarchical control method is applied to a hierarchical control system, which includes multiple domain layers, wherein the domain layers include at least a communication layer, a process application layer, a language layer, an algorithm layer, a resource abstraction layer, an execution layer, an operating system layer, and a hardware layer. The hierarchical control method is generated based on the hierarchical control system. First, the user's control instruction is obtained through the communication layer. The control instruction can be an instruction input by the user through a programmable terminal, or it can be a coordinated control instruction automatically triggered when the user controls other control objects. Among them, the automatically triggered coordinated control instruction is, for example, when the user wants to implement a certain function and issues an instruction to control device 1, if the complete control function is to be implemented, device 1 may need to call device 2 to coordinate and complete. Therefore, in the process of controlling device 1, the control instruction to device 2 may be automatically triggered, so that device 2 is called to realize the coordinated control of device 1. After obtaining the control instruction input by the user in the programmable terminal through the communication layer, the control instruction is forwarded to the execution layer, and the execution layer is used to execute the control instruction and realize the corresponding control function.

步骤S20,利用所述执行层执行所述控制指令,以确定所述控制指令对应的目标分层;Step S20, executing the control instruction using the execution layer to determine the target layer corresponding to the control instruction;

在实现相应的控制功能时,具体地,首先利用执行层执行控制指令,以根据获取的控制指令从系统的多个领域分层中,确定需要调用的目标分层,该目标分层至少包括工艺应用层和/或算法层。可以理解的是,可以按照预设标准对同一个领域分层进行细分,将同一个领域分层划分为多层,即工艺应用层和算法层可以有一层或多层,例如,将工艺应用层按照不同的工艺设备和/或不同的工艺过程,划分为多层,根据用户的控制指令确定被调用的目标分层。When implementing the corresponding control function, specifically, the execution layer is first used to execute the control instruction, so as to determine the target layer to be called from the multiple domain layers of the system according to the acquired control instruction, and the target layer at least includes the process application layer and/or the algorithm layer. It can be understood that the same domain layer can be subdivided according to the preset standard, and the same domain layer can be divided into multiple layers, that is, the process application layer and the algorithm layer can have one or more layers. For example, the process application layer is divided into multiple layers according to different process equipment and/or different process processes, and the target layer to be called is determined according to the user's control instruction.

在本实施例中,系统中的领域分层包括通信层和执行层,在获取控制指令时,利用通信层获取用户在可编程终端输入的控制指令,该控制指令可以是用户直接输入的指令,也可以是基于用户输入的指令触发的间接控制指令。将通过通信层获取的控制指令转发至执行层,然后利用执行层中的执行器(Runtime system)运行控制指令,从而确定控制指令对应的目标分层。其中,供用户输入指令的可编程终端可以是PC机、个人电脑等与系统通信连接的终端设备,以PC机为例,在PC机中设有系统的组态编程软件,用户可以通过该组态编程软件以点选或指令调用的方式输入控制指令,该控制指令被执行时可以调用工艺应用层、算法层等领域分层中预设的控制组件并生成相应的控制信息。In this embodiment, the domain layering in the system includes a communication layer and an execution layer. When obtaining a control instruction, the communication layer is used to obtain the control instruction input by the user in the programmable terminal. The control instruction can be an instruction directly input by the user, or an indirect control instruction triggered based on the instruction input by the user. The control instruction obtained through the communication layer is forwarded to the execution layer, and then the executor (Runtime system) in the execution layer is used to run the control instruction, so as to determine the target layer corresponding to the control instruction. Among them, the programmable terminal for the user to input instructions can be a terminal device such as a PC or a personal computer that is connected to the system for communication. Taking a PC as an example, the PC is provided with a system configuration programming software. The user can input the control instruction by clicking or calling the command through the configuration programming software. When the control instruction is executed, the preset control components in the field layers such as the process application layer and the algorithm layer can be called and the corresponding control information can be generated.

进一步地,步骤S20的细化,还包括:Furthermore, the refinement of step S20 further includes:

步骤A1,利用所述执行层执行所述控制指令,从所述控制指令中提取关键字信息;Step A1, executing the control instruction by using the execution layer, and extracting keyword information from the control instruction;

步骤A2,根据所述关键字信息确定所述控制指令调用的目标控制组件;Step A2, determining the target control component called by the control instruction according to the keyword information;

步骤A3,根据所述目标控制组件所在的领域分层,从所述分层控制系统的各领域分层中确定所述控制指令对应的目标分层。Step A3, according to the domain layer where the target control component is located, determining the target layer corresponding to the control instruction from each domain layer of the hierarchical control system.

在确定控制指令对应的目标分层时,是利用执行层执行控制指令,从而从控制指令中提取关键字信息,具体地,系统通过通信层获取控制指令后,将控制指令转发至执行层,执行层执行控制指令,从控制指令中提取关键字信息,该关键字信息包含了控制指令中调用的领域分层中设置的控制组件,基于提取的关键字信息,确定控制指令需要调用的目标控制组件,然后根据被调用的目标控制组件所在的领域分层,确定控制指令对应的目标分层。When determining the target layer corresponding to the control instruction, the execution layer is used to execute the control instruction, thereby extracting keyword information from the control instruction. Specifically, after the system obtains the control instruction through the communication layer, the control instruction is forwarded to the execution layer. The execution layer executes the control instruction and extracts keyword information from the control instruction. The keyword information includes the control component set in the domain layer called in the control instruction. Based on the extracted keyword information, the target control component that needs to be called by the control instruction is determined, and then the target layer corresponding to the control instruction is determined according to the domain layer where the called target control component is located.

步骤S30,根据所述控制指令确定控制对象,并从所述目标分层中调用目标控制组件生成控制信息;Step S30, determining a control object according to the control instruction, and calling a target control component from the target hierarchy to generate control information;

进一步地,根据获取的控制指令确定控制对象,具体地,系统中设有资源抽象层,对具体的控制对象进行抽象,便于算法进行控制与优化,比如,轴、编码器、变频器、锅炉、汽轮机等等。资源抽象层的资源排布是根据编写的工艺程序包编译时自动内存分配的地址,执行控制指令确定控制对象时,根据提取的关键字信息确定控制对象的变量名,根据变量名进行寻址,从而确定控制对象,可以很好地组织复杂的数据类型。需要说明的是,确定控制对象和确定目标分层,并没有严格的顺序限制,可以是顺序进行的,也可以是同时进行的,顺序进行时,可以不区分先后顺序。在确定控制对象时,也是基于从控制指令中提取的关键字信息确定的。Furthermore, the control object is determined according to the acquired control instruction. Specifically, a resource abstraction layer is provided in the system to abstract the specific control objects, so as to facilitate the control and optimization of the algorithm, such as shafts, encoders, frequency converters, boilers, steam turbines, etc. The resource arrangement of the resource abstraction layer is based on the address automatically allocated to the memory when the written process package is compiled. When the control instruction is executed to determine the control object, the variable name of the control object is determined according to the extracted keyword information, and the addressing is performed according to the variable name to determine the control object, which can well organize complex data types. It should be noted that there is no strict order restriction for determining the control object and determining the target layer. It can be carried out sequentially or simultaneously. When it is carried out sequentially, the order of precedence can be ignored. When determining the control object, it is also determined based on the keyword information extracted from the control instruction.

在确定控制指令对应的目标分层后,从目标分层中调用目标控制组件,可以理解的是,目标分层包括工艺应用层和/或算法层,工艺应用层中的控制组件包括利用不同编程语言编写的工艺程序包,该工艺程序包是针对具体的工艺应用对象,利用不同的编程语言开发的工艺程序,包括不同设备或工艺过程的控制器中使用的控制算法,比如PLC中的追剪、旋切、温控,机器人中的装配、喷涂、跟随、码垛,过程工艺的锅炉温度控制,机床中的切削、铣削、激光切割,以及AI和边缘计算结合的寿命预警、预测性维护、工艺优化、知识决策等。算法层中的控制组件包括通用资源接口库、公共算法库和功能库,其中包括不同的工艺算法,例如运动控制算法、过程控制算法、机器人算法、机床算法、激光控制算法等。因此,根据控制指令调用的目标控制组件包括工艺应用层中的目标工艺程序包,和/或算法层中的目标工艺算法。系统通过执行层调用控制组件后,通过执行层运行被调用的控制组件生成控制信息,该控制信息可用于实现对控制对象的控制。After determining the target layer corresponding to the control instruction, the target control component is called from the target layer. It can be understood that the target layer includes a process application layer and/or an algorithm layer. The control component in the process application layer includes a process program package written in different programming languages. The process program package is a process program developed in different programming languages for specific process application objects, including control algorithms used in controllers of different equipment or processes, such as shearing, rotary cutting, and temperature control in PLC, assembly, spraying, following, and stacking in robots, boiler temperature control in process technology, cutting, milling, and laser cutting in machine tools, and life warning, predictive maintenance, process optimization, and knowledge decision-making combined with AI and edge computing. The control component in the algorithm layer includes a general resource interface library, a public algorithm library, and a function library, which include different process algorithms, such as motion control algorithms, process control algorithms, robot algorithms, machine tool algorithms, laser control algorithms, etc. Therefore, the target control component called according to the control instruction includes the target process program package in the process application layer and/or the target process algorithm in the algorithm layer. After the system calls the control component through the execution layer, the execution layer runs the called control component to generate control information, which can be used to control the control object.

具体地,步骤S30的细化,包括:Specifically, the refinement of step S30 includes:

步骤S301,利用所述语言层将所述控制指令编译为目标编程语言;Step S301, compiling the control instruction into a target programming language using the language layer;

步骤S302,从所述工艺应用层中调用所述目标编程语言对应的目标工艺程序包,和/或从所述算法层中调用所述目标编程语言对应的目标工艺算法;Step S302, calling the target process package corresponding to the target programming language from the process application layer, and/or calling the target process algorithm corresponding to the target programming language from the algorithm layer;

步骤S303,基于所述目标工艺程序包和/或所述目标工艺算法生成控制信息。Step S303: generating control information based on the target process package and/or the target process algorithm.

可知地,系统的领域分层中包括工艺应用层、语言层和算法层,其中,语言层用于编译多种编程语言,可以实现多语言混合编程,工艺应用层中包括多个利用语言层可编译的编程语言编写的工艺程序包,算法层中包括多个利用语言层可编译的编程语言编写的工艺算法,当控制指令对应的目标分层包括工艺应用层和/或算法层时,系统调用的目标控制组件则包括工艺应用层中的目标工艺程序包,和/或算法层中的目标工艺算法。其中,同一个工艺控制算法在工艺应用层中可以有一个或多个工艺程序包,当同一个工艺控制算法有多个工艺程序包时,多个工艺程序包分别对应语言层可编译的不同的编程语言。同样地,同一个工艺算法在算法层中可以有一个或多个接口,当有多个接口时,分别对应语言层可编译的不同的编程语言。具体地,语言层对多种编程语言进行编译时,可以是将不同的编程语言编译为同一种,也可以是对不同的编程语言分别进行编译,可以理解的是,用户输入的控制指令,大多是基于对系统中控制组件的调用编写的调用指令,同一个控制指令中可以包含一个或多个调用指令。在编写调用指令时,用户可以基于自身熟悉的编程语言,在同一个控制指令中利用一种或多种语言分别编写不同的调用指令。语言层基于用户输入的控制指令进行编译,编译后得到的目标编程语言可以是一种也可以是多种。根据利用语言层编译得到的目标编程语言从工艺应用层和算法层分别调用控制组件并生成控制信息。It can be seen that the domain layering of the system includes a process application layer, a language layer, and an algorithm layer, wherein the language layer is used to compile multiple programming languages, and can realize multi-language mixed programming. The process application layer includes multiple process program packages written in programming languages that can be compiled by the language layer, and the algorithm layer includes multiple process algorithms written in programming languages that can be compiled by the language layer. When the target layer corresponding to the control instruction includes the process application layer and/or the algorithm layer, the target control component called by the system includes the target process program package in the process application layer, and/or the target process algorithm in the algorithm layer. Among them, the same process control algorithm can have one or more process program packages in the process application layer. When the same process control algorithm has multiple process program packages, the multiple process program packages correspond to different programming languages that can be compiled by the language layer. Similarly, the same process algorithm can have one or more interfaces in the algorithm layer. When there are multiple interfaces, they correspond to different programming languages that can be compiled by the language layer. Specifically, when the language layer compiles multiple programming languages, it can compile different programming languages into the same one, or compile different programming languages separately. It can be understood that the control instructions input by the user are mostly call instructions written based on the call of the control component in the system, and the same control instruction can contain one or more call instructions. When writing call instructions, users can use one or more languages to write different call instructions in the same control instruction based on the programming language they are familiar with. The language layer compiles based on the control instructions input by the user, and the target programming language obtained after compilation can be one or more. According to the target programming language compiled by the language layer, the control components are called from the process application layer and the algorithm layer respectively to generate control information.

进一步地,在生成控制信息时,首先利用语言层将控制指令编译为目标编程语言,该目标编程语言包括一种或多种,如上所述,在实际应用中,用户可以在组态编程软件中同时使用多种编程语言编写控制指令,以实现对不同设备的协调控制。当目标分层包括工艺应用层和/或算法层时,从工艺应用层中调用与目标编程语言对应的目标工艺程序包,和/或从算法层中调用目标编程语言对应的目标工艺算法,其中,目标工艺程序包和目标工艺算法对应的编程语言可以是相同的,也可以是不同的,在此不作具体限定。根据调用的目标工艺程序包和/或目标工艺算法生成控制信息,系统通过执行层运行被调用的目标工艺程序包和/或目标工艺算法等目标控制组件,基于对目标控制组件的运行结果生成控制信息。其中,工艺应用层和算法层中都包括多个控制组件,每个控制组件对应一个或多个接口,具体地,当语言层将不同的编程语言编译为同一种时,每个控制组件对应一个接口,该接口对应的编程语言与语言层编译后的语言相同,以供利用不同的编程语言编写的控制指令进行调用;当语言层对不同的编译语言分别进行编译时,每个控制组件包括多个接口,同一个控制组件的不同接口分别对应不同的编程语言,以供利用不同的编程语言编写的控制指令进行调用。例如,在调用控制组件时,若目标编程语言包括多种,则从工艺应用层中分别通过目标编程语言中不同语言对应的接口调用目标工艺程序包,和/或从算法层中通过目标编程语言中不同语言对应的接口调用目标工艺算法。将调用的目标工艺程序包和/或目标工艺算法等控制组件转发至执行层,利用执行层执行被调用的控制组件生成控制信息。Furthermore, when generating control information, the control instructions are first compiled into a target programming language using the language layer, and the target programming language includes one or more. As mentioned above, in actual applications, users can use multiple programming languages to write control instructions in the configuration programming software at the same time to achieve coordinated control of different devices. When the target layer includes a process application layer and/or an algorithm layer, the target process program package corresponding to the target programming language is called from the process application layer, and/or the target process algorithm corresponding to the target programming language is called from the algorithm layer, wherein the programming languages corresponding to the target process program package and the target process algorithm can be the same or different, and are not specifically limited here. Control information is generated based on the called target process program package and/or target process algorithm, and the system runs the called target control components such as the target process program package and/or the target process algorithm through the execution layer, and generates control information based on the running results of the target control components. Among them, the process application layer and the algorithm layer both include multiple control components, each control component corresponds to one or more interfaces. Specifically, when the language layer compiles different programming languages into the same one, each control component corresponds to an interface, and the programming language corresponding to the interface is the same as the language compiled by the language layer, so as to be called by control instructions written in different programming languages; when the language layer compiles different compiled languages separately, each control component includes multiple interfaces, and different interfaces of the same control component correspond to different programming languages respectively, so as to be called by control instructions written in different programming languages. For example, when calling a control component, if the target programming language includes multiple languages, the target process package is called from the process application layer through the interfaces corresponding to different languages in the target programming language, and/or the target process algorithm is called from the algorithm layer through the interfaces corresponding to different languages in the target programming language. The called control components such as the target process package and/or the target process algorithm are forwarded to the execution layer, and the called control components are executed by the execution layer to generate control information.

步骤S40,根据所述控制信息对所述控制对象进行控制。Step S40: controlling the control object according to the control information.

进一步地,系统根据生成的控制信息对控制对象进行控制,具体地,系统将获取到的数据如控制信息等,通过通信层写到资源抽象层中,同时从资源抽象层读取需要的数据如控制对象的地址信息等,将获取的数据发往外围设备节点(即控制对象)中,实现对外围设备的控制。系统与外围设备的数据交互,是基于通信层、操作系统层和硬件层实现的。Furthermore, the system controls the control object according to the generated control information. Specifically, the system writes the acquired data such as control information to the resource abstraction layer through the communication layer, and reads the required data such as the address information of the control object from the resource abstraction layer, and sends the acquired data to the peripheral device node (i.e., the control object) to realize the control of the peripheral device. The data interaction between the system and the peripheral device is realized based on the communication layer, the operating system layer, and the hardware layer.

进一步地,步骤S40的细化,包括:Further, the refinement of step S40 includes:

步骤S401,从所述资源抽象层中确定所述控制对象对应的地址信息;Step S401, determining address information corresponding to the control object from the resource abstraction layer;

步骤S402,根据所述地址信息,通过所述通信层将所述控制信息转发至所述控制对象,对所述控制对象进行控制。Step S402: forwarding the control information to the control object through the communication layer according to the address information, and controlling the control object.

在根据生成的控制信息对控制对象进行控制时,是将控制信息发送至控制对象(即控制指令对应的外围设备节点)中实现的。具体地,系统的领域分层包括资源抽象层,资源抽象层中包括多个被抽象的控制对象,该控制对象为系统通信连接的多个外围设备,从资源抽象层中确定控制对象的地址信息,该地址信息为控制对象的通信地址,例如IP地址或设备标识编码等,根据该地址信息,通过通信层将控制信息发送至控制对象,控制对象中的控制器运行该控制信息,从而实现对控制对象的控制。When the control object is controlled according to the generated control information, the control information is sent to the control object (i.e., the peripheral device node corresponding to the control instruction). Specifically, the domain layering of the system includes a resource abstraction layer, which includes multiple abstracted control objects. The control object is a plurality of peripheral devices connected to the system communication. The address information of the control object is determined from the resource abstraction layer. The address information is the communication address of the control object, such as an IP address or a device identification code, etc. According to the address information, the control information is sent to the control object through the communication layer, and the controller in the control object runs the control information, thereby realizing the control of the control object.

进一步地,步骤S402的细化,包括:Further, the refinement of step S402 includes:

步骤B1,通过所述通信层将所述控制信息转发至所述资源抽象层;Step B1, forwarding the control information to the resource abstraction layer through the communication layer;

步骤B2,基于所述操作系统层和所述硬件层,通过所述通信层将所述控制信息从所述资源抽象层转发至所述控制对象。Step B2: Based on the operating system layer and the hardware layer, forward the control information from the resource abstraction layer to the control object through the communication layer.

进一步地,在通过通信层将控制信息发送至控制对象时,具体地,系统的领域分层中还设有操作系统层和硬件层,系统基于通信层、操作系统层和硬件层实现与外围设备之间的数据交互,该数据交互包括获取用户的控制指令、获取控制对象对应的外围设备的设备数据以及将控制信息发送至外围设备等。其中,操作系统层和硬件层具体包括系统与外围设备进行数据交互的终端上部署的操作系统类型和硬件架构等,系统基于通信层与该终端进行数据交互。进一步地,用于获取用户的控制指令的可编程终端,与系统与外围设备进行数据交互的终端,可以是相同的,也可以是不同的,在此不作限定。Furthermore, when the control information is sent to the controlled object through the communication layer, specifically, the domain layer of the system is also provided with an operating system layer and a hardware layer. The system implements data interaction with peripheral devices based on the communication layer, the operating system layer and the hardware layer. The data interaction includes obtaining the user's control instructions, obtaining the device data of the peripheral device corresponding to the controlled object, and sending the control information to the peripheral device. Among them, the operating system layer and the hardware layer specifically include the operating system type and hardware architecture deployed on the terminal for data interaction between the system and the peripheral device, and the system interacts with the terminal based on the communication layer. Furthermore, the programmable terminal for obtaining the user's control instructions and the terminal for data interaction between the system and the peripheral device can be the same or different, and is not limited here.

在将控制信息转发至控制对象时,通过通信层将控制信息写入到资源抽象层中,资源抽象层是对外围设备的抽象,基于通信层、操作系统层和硬件层与外围设备进行数据交互,根据资源抽象层中抽象出来的控制对象的地址信息,基于操作系统层和硬件层,通过通信层将转发至资源抽象层中的控制信息发送至控制对象对应的外围设备节点中,实现对控制对象的控制。When forwarding control information to the controlled object, the control information is written into the resource abstraction layer through the communication layer. The resource abstraction layer is an abstraction of peripheral devices. Data is exchanged with the peripheral devices based on the communication layer, the operating system layer and the hardware layer. According to the address information of the control object abstracted in the resource abstraction layer, based on the operating system layer and the hardware layer, the control information forwarded to the resource abstraction layer is sent to the peripheral device node corresponding to the control object through the communication layer, thereby realizing control of the control object.

在本实施例中,分层控制方法应用于包含多个领域分层的分层控制系统,所述领域分层包括通信层和执行层,通过所述通信层获取用户在可编程终端输入的控制指令,并将所述控制指令转发至所述执行层;利用所述执行层执行所述控制指令,以确定所述控制指令对应的目标分层;根据所述控制指令确定控制对象,并从所述目标分层中调用目标控制组件生成控制信息;根据所述控制信息对所述控制对象进行控制。通过将控制系统划分为多个领域分层,以供用户根据输入的控制指令对个领域分层中的控制组件进行灵活调用,提高了控制的灵活性。同时,通过领域划分,可以对系统进行多语言支持和扩展,使得系统可以支持多种语言类型,以及处理复杂的数据类型,从而实现对多种硬件设备的控制,提高了控制系统的智能化水平,从而提高了基于控制系统实现的控制方法的灵活性和智能化水平,可以满足用户的多样化控制需求。In this embodiment, the hierarchical control method is applied to a hierarchical control system including multiple domain hierarchies, wherein the domain hierarchies include a communication layer and an execution layer, wherein the control instruction input by the user in the programmable terminal is obtained through the communication layer, and the control instruction is forwarded to the execution layer; the control instruction is executed by the execution layer to determine the target hierarchy corresponding to the control instruction; the control object is determined according to the control instruction, and the target control component is called from the target hierarchy to generate control information; the control object is controlled according to the control information. By dividing the control system into multiple domain hierarchies, the user can flexibly call the control component in each domain hierarchy according to the input control instruction, thereby improving the flexibility of control. At the same time, through domain division, the system can be supported and expanded in multiple languages, so that the system can support multiple language types and process complex data types, thereby realizing the control of multiple hardware devices, improving the intelligence level of the control system, thereby improving the flexibility and intelligence level of the control method implemented based on the control system, and meeting the diverse control needs of users.

进一步地,在本发明上述实施例的基础上,提出了本发明分层控制方法的第二实施例,参照图3,图3为本实施例中,分层控制系统的结构示意图。Further, based on the above-mentioned embodiment of the present invention, a second embodiment of the hierarchical control method of the present invention is proposed, referring to FIG. 3 , which is a schematic diagram of the structure of the hierarchical control system in this embodiment.

如图3所示,该分层控制系统(以下同样简称为系统)至少包括通信层、工艺应用层、语言层、算法层、资源抽象层、执行层、操作系统层和硬件层,以下将详细描述系统中各领域分层的作用或功能。As shown in Figure 3, the hierarchical control system (hereinafter also referred to as the system) includes at least a communication layer, a process application layer, a language layer, an algorithm layer, a resource abstraction layer, an execution layer, an operating system layer and a hardware layer. The role or function of each layer in the system will be described in detail below.

通信层:通信层中包括Modbus、Ethernet/IP、Profinet、OPC-UA、MQTT等多种基于不同通信协议的总线,可以和基于不同通信协议的自动化设备进行通信。Communication layer: The communication layer includes various buses based on different communication protocols such as Modbus, Ethernet/IP, Profinet, OPC-UA, MQTT, etc., which can communicate with automation equipment based on different communication protocols.

语言层:语言层用于编译多种不同的编程语言,包括IEC61131-3、C/C++、Python、G-code、Robot-code等。不同的控制对象需要基于不同的通信协议和/或编程语言编写控制指令,支持多种语言混合编程,包括符合IEC 61131-3标准的语言、C/C++、Python、符合ISO6983标准的G-code以及机器人编程语言等。Language layer: The language layer is used to compile a variety of different programming languages, including IEC61131-3, C/C++, Python, G-code, Robot-code, etc. Different control objects require control instructions to be written based on different communication protocols and/or programming languages. It supports mixed programming in multiple languages, including languages that comply with the IEC 61131-3 standard, C/C++, Python, G-code that complies with the ISO6983 standard, and robot programming languages.

工艺应用层:工艺应用层中包括多个应用于不同工艺过程或工艺设备的工艺程序包,该工艺程序包是利用语言层可编译的不同的编程语言编写的,其中包括PLC工艺、机器人工艺、过程工艺、机床工艺、人工智能+边缘计算等算法程序包。PLC工艺算法包括追剪、旋切、温控等,机器人工艺算法包括装配、喷涂、跟随和码垛等,过程工艺算法包括锅炉温度控制等,机床工艺算法包括切削、铣削、激光等,人工智能+边缘计算包括寿命预警、预测性维护、工艺优化、知识决策等。Process application layer: The process application layer includes multiple process packages applied to different process or process equipment. The process packages are written in different programming languages that can be compiled by the language layer, including PLC process, robot process, process process, machine tool process, artificial intelligence + edge computing and other algorithm packages. PLC process algorithms include chasing shearing, rotary cutting, temperature control, etc., robot process algorithms include assembly, spraying, following and palletizing, etc., process process algorithms include boiler temperature control, etc., machine tool process algorithms include cutting, milling, laser, etc., artificial intelligence + edge computing includes life warning, predictive maintenance, process optimization, knowledge decision-making, etc.

算法层:算法层主要包括一些通用资源接口库、公共算法库和功能库,例如运动控制算法、过程控制算法、机器人算法、机床算法、激光控制算法等,通用资源接口库、公共算法库和功能库是利用语言层可编译的不同的编程语言编写的。Algorithm layer: The algorithm layer mainly includes some general resource interface libraries, public algorithm libraries and function libraries, such as motion control algorithms, process control algorithms, robot algorithms, machine tool algorithms, laser control algorithms, etc. The general resource interface libraries, public algorithm libraries and function libraries are written in different programming languages that can be compiled by the language layer.

资源抽象层:资源抽象层对具体控制对象(即外围设备)进行抽象,例如轴、编码器、变频器、锅炉、汽轮机等,将外围设备抽象为控制抽象,根据编写的工艺程序包编译时自动内存分配的地址进行排布,执行用户的控制指令时根据用户需要控制的外围设备的变量名进行寻址,从而确定控制对象,可以很好地组织复杂数据类型,实现对多种硬件设备的控制。Resource abstraction layer: The resource abstraction layer abstracts specific control objects (i.e. peripheral devices), such as axes, encoders, frequency converters, boilers, steam turbines, etc., abstracts peripheral devices into control abstractions, arranges them according to the addresses automatically allocated by memory when the written process package is compiled, and addresses the variable names of the peripheral devices that the user needs to control when executing the user's control instructions, thereby determining the control object. It can well organize complex data types and realize the control of various hardware devices.

执行层,即执行器层,用于执行和解释语言层、算法层及工艺应用层的代码,操作资源抽象层的抽象资源,当执行层执行用户的控制指令时,可以调用算法层和/或工艺应用层的控制组件并生成控制信息,然后将控制信息写入到资源抽象层,操作资源抽象层中的控制对象,实现对外围设备的控制。The execution layer, also known as the executor layer, is used to execute and interpret the codes of the language layer, algorithm layer and process application layer, and operate the abstract resources of the resource abstraction layer. When the execution layer executes the user's control instructions, it can call the control components of the algorithm layer and/or process application layer and generate control information, and then write the control information to the resource abstraction layer, operate the control objects in the resource abstraction layer, and realize the control of peripheral devices.

操作系统层,实时操作系统,可以实现基于优先级的抢占式任务调度,同时针对基于以太网的实时总线,进行以太网实时驱动改造,以及总线协议栈实时调度。操作系统中建立有硬件抽象层,便于将操作系统移植到不同的硬件上。The operating system layer, the real-time operating system, can implement priority-based preemptive task scheduling. At the same time, for the real-time bus based on Ethernet, it can perform Ethernet real-time driver transformation and bus protocol stack real-time scheduling. A hardware abstraction layer is established in the operating system to facilitate the porting of the operating system to different hardware.

硬件层,基础硬件平台,可以支持MCU、ARM、X86等不同硬件架构。The hardware layer, the basic hardware platform, can support different hardware architectures such as MCU, ARM, and X86.

其中,系统基于通信层、操作系统层和硬件层,实现与外围设备的数据交互,算法层和工艺应用层可以根据预设标准细分为多层,例如,将工艺应用层中的工艺程序包和算法层中的工艺算法,按照应用的工艺设备和/或工艺过程不同,细分为多层。基于此,在实现对外围设备的控制时,具体地:The system implements data interaction with peripheral devices based on the communication layer, operating system layer and hardware layer. The algorithm layer and process application layer can be subdivided into multiple layers according to preset standards. For example, the process program package in the process application layer and the process algorithm in the algorithm layer can be subdivided into multiple layers according to the different process equipment and/or process applied. Based on this, when implementing the control of peripheral devices, specifically:

用户通过PC机等可编程终端中预设的组态编程软件编写控制指令,通信层获取用户输入的控制指令并转发至执行层,同时发送开始执行的指令指执行层,该控制指令包含了需要调用的工艺程序包和/工艺算法等控制组件以及控制对象等信息。The user writes control instructions through the preset configuration programming software in the programmable terminal such as the PC. The communication layer obtains the control instructions input by the user and forwards them to the execution layer. At the same time, it sends the instruction to start execution to the execution layer. The control instruction contains the control components such as the process package and/or process algorithm that need to be called, as well as the control object and other information.

执行层接收到开始执行的指令和用户的控制指令后,执行控制指令,当需要获取外围设备的数据时,基于通信层、操作系统层和硬件层获取外围设备数据,然后确定需要调用哪些领域分层中的目标控制组件,即确定目标分层。然后根据控制指令需要调用的目标控制组件,从控制指令对应的目标分层中调用该目标控制组件,当目标分层包括工艺应用层和/或算法层时,执行层调用工艺应用层中的目标工艺程序包并执行,在执行过程中,不断访问资源抽象层的抽象资源以确定控制对象,和/或调用算法层中的目标工艺算法,在执行完成后,生成控制信息,根据已确定的控制对象,将生成的控制信息发送至控制对象,对控制对象进行控制。After receiving the instruction to start execution and the user's control instruction, the execution layer executes the control instruction. When it is necessary to obtain data from peripheral devices, the peripheral device data is obtained based on the communication layer, the operating system layer and the hardware layer, and then the target control components in which domain layers need to be called are determined, that is, the target layer is determined. Then, according to the target control component that needs to be called by the control instruction, the target control component is called from the target layer corresponding to the control instruction. When the target layer includes the process application layer and/or the algorithm layer, the execution layer calls the target process package in the process application layer and executes it. During the execution process, the abstract resources of the resource abstraction layer are continuously accessed to determine the control object, and/or the target process algorithm in the algorithm layer is called. After the execution is completed, control information is generated. According to the determined control object, the generated control information is sent to the control object to control the control object.

进一步地,在确定目标分层时,具体地,执行层在执行控制指令时,从控制指令中提取关键字信息,该关键字信息包括控制对象的变量名和调用的目标控制组件的名称信息等,根据调用的目标控制组件所在的领域分层确定目标分层。Furthermore, when determining the target hierarchy, specifically, when the execution layer executes the control instruction, it extracts keyword information from the control instruction, and the keyword information includes the variable name of the control object and the name information of the called target control component, etc., and determines the target hierarchy according to the domain hierarchy where the called target control component is located.

在确定控制对象时,执行层根据从控制指令中提取的控制对象的变量名,操作资源抽象层的抽象资源,通过变量名寻址确定控制对象。在对控制对象进行控制时,根据控制对象的地址信息,基于通信层、操作系统层和硬件层,将控制信息发送至控制对象所在的地址。When determining the control object, the execution layer operates the abstract resources of the resource abstraction layer according to the variable name of the control object extracted from the control instruction, and determines the control object through variable name addressing. When controlling the control object, the control information is sent to the address of the control object based on the communication layer, operating system layer and hardware layer according to the address information of the control object.

更进一步地,基于通信层、操作系统层和硬件层,将控制信息发送至控制对象所在的地址时,具体地,执行层将控制信息发送至通信层,通信层将获取的控制信息写入到资源抽象层中,同时从资源抽象层读取需要的数据,如控制对象的地址信息等,通过操作系统层和硬件层将控制信息发送至控制对象所在的地址。Furthermore, based on the communication layer, the operating system layer and the hardware layer, when the control information is sent to the address where the control object is located, specifically, the execution layer sends the control information to the communication layer, and the communication layer writes the obtained control information into the resource abstraction layer, and at the same time reads the required data from the resource abstraction layer, such as the address information of the control object, and sends the control information to the address where the control object is located through the operating system layer and the hardware layer.

需要说明的是,用户可以对系统不同领域分层中的数据进行新增、删除和修改等操作,当新增需要控制的外围设备时,通信层读取外围设备数据并写入到资源抽象层中,资源抽象层对新增设备进行抽象并添加新的控制对象。同样地,用户可以编写新的工艺程序包和工艺算法添加至工艺应用层和算法层中,还可以在通信层添加新的通信协议,从而实现对系统的扩展,提高了系统的可扩展性和灵活性,同时,用户可以根据需要,利用不同的编程在可编程终端编写控制指令,并基于编写的控制指令,从不同的领域分层中灵活选择需要调用的控制组件,实现对系统外围设备的控制,提高了控制灵活性。It should be noted that users can add, delete and modify data in different domain layers of the system. When a new peripheral device that needs to be controlled is added, the communication layer reads the peripheral device data and writes it to the resource abstraction layer. The resource abstraction layer abstracts the newly added device and adds a new control object. Similarly, users can write new process packages and process algorithms to add to the process application layer and algorithm layer, and can also add new communication protocols to the communication layer to expand the system and improve the scalability and flexibility of the system. At the same time, users can use different programming to write control instructions on the programmable terminal according to their needs, and based on the written control instructions, flexibly select the control components that need to be called from different domain layers to achieve control of the system peripherals and improve control flexibility.

此外,参照图4,本发明实施例还提出一种分层控制系统,所述分层控制系统包括:In addition, referring to FIG. 4 , an embodiment of the present invention further proposes a hierarchical control system, the hierarchical control system comprising:

通信层10,用于获取用户在可编程终端输入的控制指令,并将所述控制指令转发至执行层20;The communication layer 10 is used to obtain the control instructions input by the user on the programmable terminal and forward the control instructions to the execution layer 20;

执行层20,用于接收并执行所述通信层10转发的控制指令,以确定所述控制指令对应的目标分层;The execution layer 20 is used to receive and execute the control instruction forwarded by the communication layer 10 to determine the target layer corresponding to the control instruction;

工艺应用层30和算法层40,包括多个控制组件,以供所述执行层20在执行所述控制指令时,从所述目标分层中调用目标控制组件生成控制信息;The process application layer 30 and the algorithm layer 40 include a plurality of control components, so that the execution layer 20 can call the target control component from the target layer to generate control information when executing the control instruction;

资源抽象层50,包括多个被抽象的控制对象,用于根据所述控制指令确定控制对象,以供所述执行层20根据所述控制信息对所述控制对象进行控制。The resource abstraction layer 50 includes a plurality of abstracted control objects, and is used to determine the control object according to the control instruction, so that the execution layer 20 can control the control object according to the control information.

可选地,参照图5,所述分层控制系统还包括:Optionally, referring to FIG. 5 , the hierarchical control system further includes:

语言层60,用于编译多种编程语言,其中,所述工艺应用层30中的控制组件包括多个利用所述语言层60可编译的的编程语言编写的工艺程序包,所述算法层40中的控制组件包括多个利用所述语言层60可编译的编程语言编写的工艺算法;The language layer 60 is used to compile multiple programming languages, wherein the control components in the process application layer 30 include multiple process program packages written in the programming language compilable by the language layer 60, and the control components in the algorithm layer 40 include multiple process algorithms written in the programming language compilable by the language layer 60;

操作系统层70和硬件层80,所述通信层10基于所述操作系统层70和所述硬件层80与外部设备进行数据交互。The operating system layer 70 and the hardware layer 80 , the communication layer 10 performs data exchange with external devices based on the operating system layer 70 and the hardware layer 80 .

可选地,所述工艺应用层30中包括多个利用所述语言层60可编译的编程语言编写的工艺程序包,所述算法层40中包括多个利用所述语言层60可编译的编程语言编写的工艺算法;Optionally, the process application layer 30 includes a plurality of process program packages written in a programming language compilable by the language layer 60, and the algorithm layer 40 includes a plurality of process algorithms written in a programming language compilable by the language layer 60;

当所述目标分层包括所述工艺应用层30和/或所述算法层40时,所述目标控制组件包括所述工艺应用层30中的目标工艺程序包,和/或所述算法层40中的目标工艺算法。When the target layer includes the process application layer 30 and/or the algorithm layer 40 , the target control component includes the target process program package in the process application layer 30 and/or the target process algorithm in the algorithm layer 40 .

可选地,所述语言层60还用于:Optionally, the language layer 60 is further used for:

将所述控制指令编译为目标编程语言;Compiling the control instructions into a target programming language;

所述执行层20,还用于:The execution layer 20 is also used for:

从所述工艺应用层30中调用所述目标编程语言对应的目标工艺程序包,和/或从所述算法层40中调用所述目标编程语言对应的目标工艺算法;Calling a target process package corresponding to the target programming language from the process application layer 30, and/or calling a target process algorithm corresponding to the target programming language from the algorithm layer 40;

基于所述目标工艺程序包和/或所述目标工艺算法生成控制信息。Control information is generated based on the target process package and/or the target process algorithm.

可选地,所述资源抽象层50还用于确定所述控制对象对应的地址信息;Optionally, the resource abstraction layer 50 is further used to determine address information corresponding to the control object;

所述执行层20还用于根据所述地址信息,通过所述通信层10将所述控制信息转发至所述控制对象,对所述控制对象进行控制。The execution layer 20 is further configured to forward the control information to the control object through the communication layer 10 according to the address information, so as to control the control object.

可选地,所述执行层20还用于通过所述通信层10将所述控制信息转发至所述资源抽象层50;Optionally, the execution layer 20 is further configured to forward the control information to the resource abstraction layer 50 through the communication layer 10;

基于所述操作系统层70和所述硬件层80,将所述控制信息从所述资源抽象层50转发至所述控制对象。Based on the operating system layer 70 and the hardware layer 80 , the control information is forwarded from the resource abstraction layer 50 to the control object.

可选地,所述执行层20还用于:Optionally, the execution layer 20 is further used for:

执行所述控制指令,从所述控制指令中提取关键字信息;executing the control instruction and extracting keyword information from the control instruction;

根据所述关键字信息确定所述控制指令调用的目标控制组件;Determine the target control component called by the control instruction according to the keyword information;

根据所述目标控制组件所在的领域分层,从所述分层控制系统的各领域分层中确定所述控制指令对应的目标分层。According to the domain layer where the target control component is located, the target layer corresponding to the control instruction is determined from each domain layer of the hierarchical control system.

此外,本发明实施例还提出一种计算机可读存储介质,所述计算机可读存储介质上存储有分层控制程序,所述分层控制程序被处理器执行时实现上述实施例提供的分层控制方法中的操作。In addition, an embodiment of the present invention further provides a computer-readable storage medium, on which a hierarchical control program is stored. When the hierarchical control program is executed by a processor, the operations in the hierarchical control method provided in the above embodiment are implemented.

此外,本发明实施例还提出一种计算机程序产品,包括计算机程序,所述计算机被处理器执行时实现上述实施例提供的分层控制方法中的操作。In addition, an embodiment of the present invention further provides a computer program product, including a computer program, which implements the operations in the hierarchical control method provided in the above embodiment when executed by a processor.

本发明设备、计算机程序产品和计算机可读存储介质各实施例,均可参照本发明分层控制方法各个实施例,此处不再赘述。The various embodiments of the device, computer program product, and computer-readable storage medium of the present invention may all refer to the various embodiments of the hierarchical control method of the present invention, and will not be described in detail here.

需要说明的是,在本文中,诸如第一和第二等之类的关系术语仅仅用来将一个实体/操作/对象与另一个实体/操作/对象区分开来,而不一定要求或者暗示这些实体/操作/对象之间存在任何这种实际的关系或者顺序;术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者系统不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者系统所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者系统中还存在另外的相同要素。It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity/operation/object from another entity/operation/object, and do not necessarily require or imply any such actual relationship or order between these entities/operations/objects; the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or system including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or system. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or system including the element.

对于系统实施例而言,由于其基本相似于方法实施例,所以描述得比较简单,相关之处参见方法实施例的部分说明即可。以上所描述的系统实施例仅仅是示意性的,其中作为分离部件说明的单元可以是或者也可以不是物理上分开的。可以根据实际的需要选择中的部分或者全部模块来实现本发明方案的目的。本领域普通技术人员在不付出创造性劳动的情况下,即可以理解并实施。As for the system embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment. The system embodiment described above is only illustrative, and the units described as separate components may or may not be physically separated. Some or all of the modules can be selected according to actual needs to achieve the purpose of the scheme of the present invention. Ordinary technicians in this field can understand and implement it without paying creative work.

上述本发明实施例序号仅仅为了描述,不代表实施例的优劣。The serial numbers of the above embodiments of the present invention are only for description and do not represent the advantages or disadvantages of the embodiments.

通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在如上所述的一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端设备(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本发明各个实施例所述的分层控制方法。Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment method can be implemented by means of software plus a necessary general hardware platform, and of course it can also be implemented by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present invention is essentially or the part that contributes to the prior art can be embodied in the form of a software product, and the computer software product is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) as described above, including a number of instructions for a terminal device (which can be a mobile phone, computer, server, air conditioner, or network device, etc.) to execute the hierarchical control method described in each embodiment of the present invention.

以上仅为本发明的优选实施例,并非因此限制本发明的专利范围,凡是利用本发明说明书及附图内容所作的等效结构或等效流程变换,或直接或间接运用在其他相关的技术领域,均同理包括在本发明的专利保护范围内。The above are only preferred embodiments of the present invention, and are not intended to limit the patent scope of the present invention. Any equivalent structure or equivalent process transformation made using the contents of the present invention specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present invention.

Claims (7)

1. A hierarchical control method applied to a hierarchical control system, wherein the hierarchical control system comprises a plurality of domain hierarchies, the domain hierarchies comprise a communication layer and an execution layer, the domain hierarchies further comprise a process application layer, a language layer, an algorithm layer and a resource abstraction layer, the resource abstraction layer comprises a plurality of abstracted control objects, and the hierarchical control method comprises the following steps:
the control instruction input by a user at the programmable terminal is acquired through the communication layer, and the control instruction is forwarded to the execution layer;
executing the control instruction by using the execution layer, and extracting keyword information from the control instruction;
determining a target control component called by the control instruction according to the keyword information;
Determining a target layering corresponding to the control instruction from all the field layering of the layering control system according to the field layering of the target control component;
Determining a control object according to the control instruction, and compiling the control instruction into a target programming language by utilizing the language layer;
Calling a target process program package corresponding to the target programming language from the process application layer and/or calling a target process algorithm corresponding to the target programming language from the algorithm layer;
generating control information based on the target process package and/or the target process algorithm;
determining address information corresponding to the control object from the resource abstraction layer;
And forwarding the control information to the control object through the communication layer according to the address information, and controlling the control object.
2. The hierarchical control method according to claim 1, wherein said language layer is used for compiling a plurality of programming languages;
the process application layer comprises a plurality of process program packages written by using a programming language which can be compiled by the language layer, and the algorithm layer comprises a plurality of process algorithms written by using the programming language which can be compiled by the language layer;
when the target hierarchy includes the process application layer and/or the algorithm layer, the target control component includes a target process package in the process application layer and/or a target process algorithm in the algorithm layer.
3. The hierarchical control method according to claim 1, wherein said domain hierarchy further includes an operating system layer and a hardware layer, said step of forwarding said control information to said control object through said communication layer includes:
Forwarding the control information to the resource abstraction layer through the communication layer;
Based on the operating system layer and the hardware layer, the control information is forwarded from the resource abstraction layer to the control object through the communication layer.
4. A hierarchical control system, the hierarchical control system comprising:
The communication layer is used for acquiring a control instruction input by a user at the programmable terminal and forwarding the control instruction to the execution layer;
The execution layer is used for receiving and executing the control instruction forwarded by the communication layer and extracting key word information from the control instruction; determining a target control component called by the control instruction according to the keyword information; determining a target layering corresponding to the control instruction from all the field layering of the layering control system according to the field layering of the target control component;
The process application layer and the algorithm layer comprise a plurality of control components, and when the execution layer executes the control instructions, the execution layer invokes target process program packages corresponding to target programming languages from the process application layer and/or invokes target process algorithms corresponding to the target programming languages from the algorithm layer; generating control information based on the target process package and/or the target process algorithm;
The resource abstraction layer comprises a plurality of abstracted control objects and is used for determining the control objects according to the control instructions so that the execution layer can determine address information corresponding to the control objects from the resource abstraction layer; and forwarding the control information to the control object through the communication layer according to the address information, and controlling the control object.
5. The hierarchical control system according to claim 4, wherein said hierarchical control system comprises a plurality of domain hierarchies, said domain hierarchies further comprising:
A language layer for compiling a plurality of programming languages, wherein the control component in the process application layer comprises a plurality of process program packages written by the programming languages which can be compiled by the language layer, the control component in the algorithm layer comprises a plurality of process algorithms written by using a programming language which can be compiled by the language layer; compiling the control instruction into a target programming language;
The communication layer is used for carrying out data interaction with external equipment based on the operating system layer and the hardware layer.
6. A terminal device, characterized in that the terminal device comprises: a memory, a processor and a hierarchical control program stored on the memory and executable on the processor, which when executed by the processor implements the steps of the hierarchical control method as claimed in any one of claims 1 to 3.
7. A computer-readable storage medium, on which a hierarchical control program is stored, which when executed by a processor implements the steps of the hierarchical control method according to any one of claims 1 to 3.
CN202111636258.7A 2021-12-28 2021-12-28 Hierarchical control method, system, terminal device and storage medium Active CN114327628B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111636258.7A CN114327628B (en) 2021-12-28 2021-12-28 Hierarchical control method, system, terminal device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111636258.7A CN114327628B (en) 2021-12-28 2021-12-28 Hierarchical control method, system, terminal device and storage medium

Publications (2)

Publication Number Publication Date
CN114327628A CN114327628A (en) 2022-04-12
CN114327628B true CN114327628B (en) 2024-08-16

Family

ID=81017986

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111636258.7A Active CN114327628B (en) 2021-12-28 2021-12-28 Hierarchical control method, system, terminal device and storage medium

Country Status (1)

Country Link
CN (1) CN114327628B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116775038B (en) * 2023-06-26 2024-06-04 国电南京自动化股份有限公司 Runtime system that supports simultaneous or independent execution of IEC and C++ tasks
CN117215648B (en) * 2023-08-28 2024-04-19 广州致远仪器有限公司 Control method, system, equipment and storage medium based on time slice operating system

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100494827B1 (en) * 2005-04-11 2005-06-13 주식회사 퓨전소프트 Distributed object model based radio server with hardware-independent communication interface and communication control method using the same
CN101533263A (en) * 2009-02-17 2009-09-16 固高科技(深圳)有限公司 Computer programmable autocontrol system and control method thereof

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5879544B2 (en) * 2010-06-04 2016-03-08 パナソニックIpマネジメント株式会社 Content output device, content output method, program, program recording medium, and content output integrated circuit
KR102859779B1 (en) * 2019-01-02 2025-09-16 삼성전자주식회사 Electronic apparatus and controlling method thereof
US20210397526A1 (en) * 2020-06-18 2021-12-23 General Electric Company Systems and methods of providing an abstraction layer between an application layer and hardware components of a computing device

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100494827B1 (en) * 2005-04-11 2005-06-13 주식회사 퓨전소프트 Distributed object model based radio server with hardware-independent communication interface and communication control method using the same
CN101533263A (en) * 2009-02-17 2009-09-16 固高科技(深圳)有限公司 Computer programmable autocontrol system and control method thereof

Also Published As

Publication number Publication date
CN114327628A (en) 2022-04-12

Similar Documents

Publication Publication Date Title
EP2169547B1 (en) Compilation model for programmable logic controllers (PLC).
CN103814333B (en) For the method and apparatus to programmable control unit programming and configuration
CN102073538B (en) Real-time run-time system and functional module for such a run-time system
CN105912339B (en) A development and integration method and system applied in a numerical control system
CN114327628B (en) Hierarchical control method, system, terminal device and storage medium
CN112313587B (en) Data processing method, computer equipment and storage medium of numerical control system
CN102830654A (en) Open type numerical control system based on Android platform and method for performing secondary development therein
CN113534744A (en) Software architecture and hardware architecture for forming numerical control system
WO2024140416A1 (en) Industrial control program development platform and method
WO2024131553A1 (en) Industrial control software development method and apparatus, and computing device
JP6954191B2 (en) Control systems, development support equipment, and development support programs
US7516265B2 (en) System and method for providing an application with memory access methods
WO2025112914A1 (en) Axis group motion control system, method and device
US7369904B2 (en) Integration method for automation components
CN111443963A (en) Numerical control system of reconfigurable formula
CN104678875B (en) A kind of frequency converter configuration method and frequency converter configure system
EP3933523B1 (en) Engineering device, engineering method, and program
JP2009009444A (en) Programmable controller, programmable controller support apparatus, and programmable controller system
CN114510354B (en) A method for constructing a CNC system architecture based on a quad-core processor
CN115427197B (en) Industrial Robot Systems
CN115356997A (en) Integrated industrial control system and its control method, industrial control equipment and medium
CN115502980A (en) Method, device, equipment and medium for controlling a mechanical arm
JP4877257B2 (en) Programmable controller, programmable controller support apparatus, and programmable controller system
JP7778272B2 (en) Robot system, manufacturing method, and program
KR20240083288A (en) Motion control system using core engine for robot control

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