[go: up one dir, main page]

CN114326576B - Operation control method and device, electronic device and computer readable storage medium - Google Patents

Operation control method and device, electronic device and computer readable storage medium Download PDF

Info

Publication number
CN114326576B
CN114326576B CN202111671694.8A CN202111671694A CN114326576B CN 114326576 B CN114326576 B CN 114326576B CN 202111671694 A CN202111671694 A CN 202111671694A CN 114326576 B CN114326576 B CN 114326576B
Authority
CN
China
Prior art keywords
functional module
functional
modules
editable
module
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
CN202111671694.8A
Other languages
Chinese (zh)
Other versions
CN114326576A (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.)
China Telecom Corp Ltd
Original Assignee
China Telecom Corp 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 China Telecom Corp Ltd filed Critical China Telecom Corp Ltd
Priority to CN202111671694.8A priority Critical patent/CN114326576B/en
Publication of CN114326576A publication Critical patent/CN114326576A/en
Application granted granted Critical
Publication of CN114326576B publication Critical patent/CN114326576B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Programmable Controllers (AREA)

Abstract

The application provides an operation control method and device, electronic equipment and a computer readable storage medium, wherein the method comprises the steps of obtaining an operation instruction aiming at a target object, wherein the target object comprises a plurality of functional modules, the functional modules have an association triggering relationship, and the functional modules are triggered successively based on the association triggering relationship in response to the operation instruction, wherein each functional module is provided with editable execution communication and control information and an editable functional algorithm. By the technical scheme, the flexibility of industrial control is improved, the resource multiplexing and the resource updating are enhanced, and the practicability and the efficiency of the industrial control are improved.

Description

Operation control method and device, electronic equipment and computer readable storage medium
[ Field of technology ]
The present application relates to the field of industrial control technologies, and in particular, to an operation control method and apparatus, an electronic device, and a computer readable storage medium.
[ Background Art ]
In the current industrial production, a PLC (programmable logic controller) is generally adopted as a digital operation controller, the existing PLC is produced by adopting the IEC61131-3 standard, the programming environments and languages of PLCs of different manufacturers and different brands can be compatible, and the logic function and flow can be easily understood only by following the standard.
However, under the IEC61131-3 standard, the application program codes of the PLC are tightly coupled and difficult to split, and the input variable and the output variable of the PLC are strongly related to external equipment, in other words, the software and the hardware of the PLC are tightly bound. This makes the PLC usable only as a whole, where part of the functions or part of the codes are difficult to multiplex into other applications, and where fast positioning is difficult in case of failure of part of the functions or the need for update maintenance.
Therefore, how to improve the practicability and efficiency of industrial control is a technical problem to be solved at present.
[ Invention ]
The embodiment of the application provides an operation control method and device, electronic equipment and a computer readable storage medium, and aims to solve the technical problem of limited industrial control efficiency caused by difficulty in multiplexing and editing of the existing PLC in the related technology.
In a first aspect, an embodiment of the present application provides an operation control method, including obtaining an operation instruction for a target object, where the target object includes a plurality of function modules, the plurality of function modules have an association triggering relationship, and sequentially triggering the plurality of function modules based on the association triggering relationship in response to the operation instruction, where each function module is provided with editable execution communication and control information and an editable function algorithm.
In the above embodiment of the present application, optionally, before the step of obtaining the execution instruction for the target object, the method further includes setting the plurality of functional modules on the same electronic device, or setting the plurality of functional modules on at least two electronic devices in a distributed manner.
In the above embodiment of the present application, optionally, the method further includes transferring any one of the plurality of functional modules from the first electronic device to the second electronic device.
In the foregoing embodiment of the present application, optionally, the plurality of functional modules include at least a first functional module and a second functional module, where the first functional module is triggered to operate by an input event, and generates an output event based on editable execution communication and control information and an editable functional algorithm in the first functional module, and if the output event is an input event of the second functional module, the first functional module and the second functional module have the associated triggering relationship.
In the above embodiment of the present application, optionally, the step of successively triggering the plurality of functional modules based on the association triggering relationship in response to the operation instruction includes using the operation instruction as an input event of a first functional module of the plurality of functional modules, triggering the first functional module, for any preceding functional module including the first functional module in the association triggering relationship, when an output event of the preceding functional module may trigger a plurality of other functional modules having the association triggering relationship with the preceding functional module to enter operation, continuing to output respective corresponding output events based on the plurality of other functional modules, and when an output event of the preceding functional module cannot trigger any functional module of the plurality of functional modules to enter operation, using the output event of the preceding functional module as a final output result, terminating the process.
In the above embodiment of the present application, optionally, updating the editable execution communication and control information and/or the editable function algorithm for the target function module based on the function editing instruction for the target function module, or updating the association triggering relationship between the target function module and other function modules in the plurality of function modules.
In a second aspect, an embodiment of the present application provides an operation control device, including an operation instruction obtaining unit, configured to obtain an operation instruction for a target object, where the target object includes a plurality of function modules, and the plurality of function modules have an association triggering relationship therebetween, and an operation control unit, configured to trigger the plurality of function modules successively based on the association triggering relationship in response to the operation instruction, where each function module is provided with editable execution communication and control information and an editable function algorithm.
In the above embodiment of the present application, optionally, before the distributed setting unit is configured to obtain the running instruction for the target object, the running instruction obtaining unit sets the plurality of functional modules on the same electronic device, or sets the plurality of functional modules on at least two electronic devices in a distributed manner.
In the above embodiment of the present application, optionally, the electronic device further includes a distributed transferring unit, configured to transfer any one of the plurality of functional modules from the first electronic device to the second electronic device.
In the foregoing embodiment of the present application, optionally, the plurality of functional modules include at least a first functional module and a second functional module, where the first functional module is triggered to operate by an input event, and generates an output event based on editable execution communication and control information and an editable functional algorithm in the first functional module, and if the output event is an input event of the second functional module, the first functional module and the second functional module have the associated triggering relationship.
In the above embodiment of the present application, optionally, the operation control unit is configured to trigger a first function module of the plurality of function modules by using the operation instruction as an input event of the first function module, for any preceding function module including the first function module and having the association triggering relationship, when an output event of the preceding function module may trigger a plurality of other function modules having the association triggering relationship with the preceding function module to enter operation, continue outputting respective corresponding output events based on the plurality of other function modules, and when an output event of the preceding function module cannot trigger any function module of the plurality of function modules to enter operation, terminate a process by using an output event of the preceding function module as a final output result.
In the above embodiment of the present application, optionally, a function unit editing unit is further included, and is configured to update the editable execution communication and control information and/or the editable function algorithm for the target function module based on a function editing instruction for the target function module, or update an association triggering relationship between the target function module and other function modules in the plurality of function modules.
In a third aspect, an embodiment of the present application provides an operation control apparatus, including a plurality of functional modules disposed in at least two electronic devices in a distributed manner, where each of the functional modules includes an input event interface, an input variable interface, an output event interface, an output variable interface, and at least one electronic device connection interface, and stores editable execution communication and control information and an editable function algorithm, where, for a first functional module and a second functional module that have an associated trigger relationship among the plurality of functional modules, the output event interface of the first functional module is connected with the input event interface of the second functional module, and the output variable interface of the first functional module is connected with the input variable interface of the second functional module.
In a fourth aspect, an embodiment of the application provides an electronic device comprising at least one processor, and a memory communicatively coupled to the at least one processor, wherein the memory stores instructions executable by the at least one processor, the instructions configured to perform the method of any of the first aspects.
In a fifth aspect, embodiments of the present application provide a computer-readable storage medium storing computer-executable instructions for performing the method flow of any one of the first aspects above.
According to the technical scheme, aiming at the technical problem that industrial control efficiency is limited because the existing PLC is difficult to multiplex and edit, in order to avoid the problem that the internal logic of the PLC is difficult to multiplex, maintain and edit, a target object is formed by a plurality of editable functional units, so that each functional unit can be flexibly multiplexed based on the change and the setting of the association triggering relationship, and each functional unit can be edited with an internal code, the flexibility of industrial control is improved, the resource multiplexing and the resource updating are enhanced, and the practicability and the efficiency of the industrial control are improved.
[ Description of the drawings ]
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are needed in the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and that other drawings can be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 illustrates a flow chart of a method of operation control according to one embodiment of the application;
FIG. 2 shows a schematic diagram of a functional unit according to one embodiment of the application;
FIG. 3 shows a schematic diagram of an operation control device distributed across multiple devices according to one embodiment of the application;
FIG. 4 shows a block diagram of an operation control device according to one embodiment of the present application;
Fig. 5 shows a block diagram of an electronic device according to an embodiment of the application.
[ Detailed description ] of the invention
For a better understanding of the technical solution of the present application, the following detailed description of the embodiments of the present application refers to the accompanying drawings.
It should be understood that the described embodiments are merely some, but not all, embodiments of the application. All other embodiments, which can be made by those skilled in the art based on the embodiments of the application without making any inventive effort, are intended to be within the scope of the application.
The terminology used in the embodiments of the application is for the purpose of describing particular embodiments only and is not intended to be limiting of the application. As used in this application and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise.
Fig. 1 shows a flow chart of an operation control method according to an embodiment of the present application.
As shown in fig. 1, the flow of the operation control method according to one embodiment of the present application includes:
Step 102, acquiring an operation instruction aiming at a target object, wherein the target object comprises a plurality of functional modules, and the plurality of functional modules have an association triggering relationship.
And step 104, responding to the operation instruction, and successively triggering the plurality of functional modules based on the association triggering relationship, wherein each functional module is provided with editable execution communication and control information and an editable functional algorithm.
Namely, after the first functional module is triggered by the operation instruction, the first functional module can trigger other functional modules based on the association triggering relation with other functional modules, so that the operation of the target object is realized.
The target object described herein includes, but is not limited to, an application, a controller of an electronic device set, and the like, and it is to be understood that in the present application, the functional unit may be an integrated bearing function in a software form such as a code block, or may be a controller in a hardware form, or may include both an integrated bearing function in a software form such as a code block, or a controller in a hardware form, which is not described herein.
The plurality of functional modules at least comprise a first functional module and a second functional module, the first functional module is triggered to run by an input event, and generates an output event based on editable execution communication and control information and editable functional algorithms in the first functional module, and if the output event is an input event of the second functional module, the first functional module and the second functional module have the association triggering relationship. Therefore, the output event of the first functional module can be changed by editing the editable execution communication and control information and the editable functional algorithm in the first functional module, and if the second functional module cannot be continuously triggered to operate after the output event is changed, the association triggering relationship between the first functional module and the second functional module is changed. On the other hand, the new output event can trigger other functional modules by editing the editable execution communication and control information and the editable functional algorithm in the first functional module. In other words, based on the function editing instruction for the target function module, the editable execution communication and control information and/or the editable function algorithm are updated for the target function module, or the association triggering relationship between the target function module and other function modules in the plurality of function modules is updated.
And for any preceding functional module including the first functional module and in the association triggering relationship, when the output event of the preceding functional module can trigger a plurality of other functional modules with the association triggering relationship with the preceding functional module to enter operation, continuing to output the corresponding output events based on the plurality of other functional modules. Thus, the process is not stopped until the output event of the triggered functional module can not trigger a new functional module.
And when the output event of the previous functional module cannot trigger any functional module in the plurality of functional modules to enter operation, taking the output event of the previous functional module as a final output result, and terminating the process.
Therefore, the association triggering relation among the function modules can be changed based on the editing of the function modules, and the same target object or the same group of function modules can be reused in a large number of different application scenes through editing. In a word, the flexible editing and multiplexing mode improves the flexibility of industrial control and saves production resources.
Because each functional module is provided with editable execution communication and control information and an editable functional algorithm, when the function or execution logic of the target object is required to be adjusted, the functional unit required to be adjusted can be selected, and then the editable execution communication and control information and the editable functional algorithm in the functional unit are modified and maintained, so that the change and maintenance of the target object are realized.
According to the technical scheme, aiming at the technical scheme that a single PLC is used as a target object in the prior art, in order to avoid the difficulty in multiplexing, maintaining and editing of the internal logic of the PLC, the target object is formed by a plurality of editable functional units, so that each functional unit can be flexibly multiplexed based on the change and the setting of the association triggering relationship, and each functional unit can be edited with an internal code, thereby improving the flexibility of industrial control, enhancing the resource multiplexing and the resource updating, and being beneficial to improving the practicability and the efficiency of the industrial control.
In one possible design, before the step of acquiring the running instruction for the target object, the method further comprises the step of setting the plurality of functional modules on the same electronic device or setting the plurality of functional modules on at least two electronic devices in a distributed manner.
According to actual industrial production requirements, a plurality of functional modules are arranged on the same electronic equipment so as to be edited and maintained efficiently. If the actual production is commonly implemented by a plurality of electronic devices, in order to ensure that each electronic device effectively operates, a plurality of functional modules may be distributed on at least two electronic devices, where any functional module may be disposed on an electronic device controlled by the functional module, or any functional module may be disposed on an electronic device having a communication channel with the electronic device controlled by the functional module.
Aiming at the technical scheme that a single PLC is used as a target object in the prior art, the distributed design can better match the split target object with the controlled electronic equipment, is convenient for purposefully and purposefully developing and maintaining partial functions of the target object, can rapidly position the target object when faults occur, and integrally improves the efficiency of industrial control.
Of course, after the plurality of functional modules are distributed on at least two electronic devices, any of the plurality of functional modules may be transferred from the first electronic device to the second electronic device based on actual industrial control requirements. Namely, the functional modules are reused for different electronic devices, so that the flexibility of industrial control is improved, and the resource multiplexing and resource updating are enhanced.
Fig. 2 shows a schematic diagram of functional units according to an embodiment of the application, and fig. 3 shows a schematic diagram of an operation control apparatus according to an embodiment of the application distributed over a plurality of devices.
As shown in fig. 2 and fig. 3, the operation control device 300 includes a plurality of functional modules 200, which are distributed in at least two electronic devices, and the plurality of functional modules have an association triggering relationship.
Each of the functional modules 200 includes an input event interface 202, an input variable interface 204, an output event interface 206, an output variable interface 208, and at least one electronic device connection interface 210, and stores editable execution communication and control information (Executive Communications and Control, ECC) and editable functional algorithms. The number of each interface is multiple, and the sequence of work can be edited among the interfaces of each interface.
In fig. 3, three functional modules are distributed on the electronic device X1, the electronic device X2, and the electronic device X3, and the three functional modules have a illustrated event stream relationship and a data stream relationship, so as to form a whole application. For a first functional module and a second functional module which have an association triggering relationship in the plurality of functional modules, an output event interface of the first functional module is connected with an input event interface of the second functional module, and an output variable interface of the first functional module is connected with an input variable interface of the second functional module.
To this end, to the technical scheme that uses single PLC as the target object among the prior art, in order to avoid PLC internal logic to be difficult to multiplexing and maintain, edit difficulty, the target object is constituteed to a plurality of editable functional units for each functional unit can be based on the change and the setting of incidence trigger relation nimble multiplexing, and every functional unit can be edited the internal code, thereby has promoted industrial control's flexibility, has strengthened resource multiplexing and resource updating, helps promoting industrial control's practicality and efficiency.
Fig. 4 shows a block diagram of an operation control apparatus according to an embodiment of the present application.
As shown in fig. 4, the operation control device 400 according to one embodiment of the present application includes an operation instruction obtaining unit 402 configured to obtain an operation instruction for a target object, where the target object includes a plurality of function modules, and the plurality of function modules have an association triggering relationship therebetween, and an operation control unit 404 configured to trigger the plurality of function modules successively based on the association triggering relationship in response to the operation instruction, where each of the function modules is provided with editable execution communication and control information and an editable function algorithm.
In the above embodiment of the present application, optionally, before the distributed setting unit is configured to obtain the running instruction for the target object by using the running instruction obtaining unit 402, the plurality of functional modules are set on the same electronic device, or the plurality of functional modules are set on at least two electronic devices in a distributed manner.
In the above embodiment of the present application, optionally, the electronic device further includes a distributed transferring unit, configured to transfer any one of the plurality of functional modules from the first electronic device to the second electronic device.
In the foregoing embodiment of the present application, optionally, the plurality of functional modules include at least a first functional module and a second functional module, where the first functional module is triggered to operate by an input event, and generates an output event based on editable execution communication and control information and an editable functional algorithm in the first functional module, and if the output event is an input event of the second functional module, the first functional module and the second functional module have the associated triggering relationship.
In the above embodiment of the present application, optionally, the operation control unit 404 is configured to trigger a first functional module of the plurality of functional modules by using the operation instruction as an input event of the first functional module, for any preceding functional module including the first functional module and having the association triggering relationship, when an output event of the preceding functional module may trigger a plurality of other functional modules having the association triggering relationship with the preceding functional module to enter operation, continue outputting respective corresponding output events based on the plurality of other functional modules, and when an output event of the preceding functional module cannot trigger any functional module of the plurality of functional modules to enter operation, terminate a process by using an output event of the preceding functional module as a final output result.
In the above embodiment of the present application, optionally, a function unit editing unit is further included, and is configured to update the editable execution communication and control information and/or the editable function algorithm for the target function module based on a function editing instruction for the target function module, or update an association triggering relationship between the target function module and other function modules in the plurality of function modules.
The operation control device 400 uses the solution described in any of the above embodiments, and therefore, has all the technical effects described above, and will not be described in detail herein.
Fig. 5 shows a block diagram of an electronic device of an embodiment of the application.
As shown in fig. 5, an electronic device 500 according to one embodiment of the present application includes at least one memory 502, and a processor 504 communicatively coupled to the at least one memory 502, wherein the memory stores instructions executable by the at least one processor 504, the instructions configured to perform any of the aspects described in the embodiments above. Therefore, the electronic device 500 has the same technical effects as those of any of the above embodiments, and will not be described herein.
The electronic device of the embodiments of the present application exists in a variety of forms including, but not limited to:
(1) Mobile communication devices, which are characterized by mobile communication functionality and are aimed at providing voice, data communication. Such terminals include smart phones (e.g., iPhone), multimedia phones, functional phones, and low-end phones, among others.
(2) Ultra mobile personal computer equipment, which belongs to the category of personal computers, has the functions of calculation and processing and generally has the characteristic of mobile internet surfing. Such terminals include PDA, MID and UMPC devices, etc., such as iPad.
(3) Portable entertainment devices such devices can display and play multimedia content. Such devices include audio, video players (e.g., iPod), palm game consoles, electronic books, and smart toys and portable car navigation devices.
(4) The server is similar to a general computer architecture in that the server is provided with high-reliability services, and therefore, the server has high requirements on processing capacity, stability, reliability, safety, expandability, manageability and the like.
(5) Other electronic devices with data interaction function.
In addition, an embodiment of the present application provides a computer readable storage medium storing computer executable instructions for performing the method flow described in any one of the above embodiments.
The technical scheme of the application is explained in detail above with reference to the drawings, through the technical scheme of the application, in order to avoid the difficulty in multiplexing, maintaining and editing the internal logic of the PLC, a target object can be formed by a plurality of editable functional units, so that each functional unit can be flexibly multiplexed based on the change and the setting of the association triggering relationship, and each functional unit can be edited with an internal code, thereby improving the flexibility of industrial control, enhancing the resource multiplexing and the resource updating, and being beneficial to improving the practicability and the efficiency of the industrial control.
It should be understood that the term "and/or" as used herein is merely an association relationship describing the associated object, and means that there may be three relationships, e.g., a and/or B, and that there may be three cases where a exists alone, while a and B exist together, and B exists alone. In addition, the character "/" herein generally indicates that the front and rear associated objects are an "or" relationship.
It should be understood that although the terms first, second, etc. may be used in embodiments of the present application to describe functional modules, these functional modules should not be limited by these terms. These terms are only used to distinguish functional modules from each other. For example, a first functional module may also be referred to as a second functional module, and similarly, a second functional module may also be referred to as a first functional module, without departing from the scope of embodiments of the present application.
The term "if" as used herein may be interpreted as "at" or "when" depending on the context "or" in response to a determination "or" in response to a detection. Similarly, the phrase "if determined" or "if detected (stated condition or event)" may be interpreted as "when determined" or "in response to determination" or "when detected (stated condition or event)" or "in response to detection (stated condition or event), depending on the context.
In the several embodiments provided by the present application, it should be understood that the disclosed systems, devices, and methods may be implemented in other manners. For example, the apparatus embodiments described above are merely illustrative, e.g., the division of the elements is merely a logical function division, and there may be additional divisions when actually implemented, e.g., multiple elements or components may be combined or integrated into another system, or some features may be omitted or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be an indirect coupling or communication connection via some interfaces, devices or units, which may be in electrical, mechanical or other form.
In addition, each functional module in the embodiments of the present application may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units can be realized in a form of hardware or a form of hardware and a form of software functional modules.
The integrated units implemented in the form of software functional modules described above may be stored in a computer readable storage medium. The software functional module is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) or a Processor (Processor) to perform some steps of the methods according to the embodiments of the present application. The storage medium includes a U disk, a removable hard disk, a Read-Only Memory (ROM), a random access Memory (Random Access Memory, RAM), a magnetic disk, an optical disk, or other various media capable of storing program codes.
The foregoing description of the preferred embodiments of the application is not intended to be limiting, but rather to enable any modification, equivalent replacement, improvement or the like to be made within the spirit and principles of the application.

Claims (9)

1.一种运行控制方法,其特征在于,包括:1. An operation control method, characterized by comprising: 获取针对目标对象的运行指令,所述目标对象包括多个功能模块,所述多个功能模块间具有关联触发关系;其中,所述目标对象为单个PCL;Obtaining an operation instruction for a target object, wherein the target object includes a plurality of functional modules, and the plurality of functional modules have an associated trigger relationship; wherein the target object is a single PCL; 响应于所述运行指令,基于所述关联触发关系先后触发所述多个功能模块,其中,每个所述功能模块设置有可编辑的执行通信和控制信息以及可编辑的功能算法;In response to the operation instruction, the plurality of function modules are triggered sequentially based on the associated trigger relationship, wherein each of the function modules is provided with editable execution communication and control information and editable function algorithm; 所述多个功能模块至少包括第一功能模块和第二功能模块,所述第一功能模块由输入事件触发运行,并基于所述第一功能模块中可编辑的执行通信和控制信息以及可编辑的功能算法,生成输出事件,若所述输出事件为所述第二功能模块的输入事件,所述第一功能模块和所述第二功能模块具有所述关联触发关系。The multiple functional modules include at least a first functional module and a second functional module. The first functional module is triggered to run by an input event and generates an output event based on editable execution communication and control information and editable functional algorithms in the first functional module. If the output event is an input event of the second functional module, the first functional module and the second functional module have the associated trigger relationship. 2.根据权利要求1所述的运行控制方法,其特征在于,在所述获取针对目标对象的运行指令的步骤之前,还包括:2. The operation control method according to claim 1, characterized in that before the step of obtaining the operation instruction for the target object, it also includes: 将所述多个功能模块设置于同一电子设备上,或者,The plurality of functional modules are arranged on the same electronic device, or, 将所述多个功能模块分布式设置在至少两个电子设备上。The multiple functional modules are distributed on at least two electronic devices. 3.根据权利要求2所述的运行控制方法,其特征在于,还包括:3. The operation control method according to claim 2, further comprising: 将所述多个功能模块中的任一功能模块由第一电子设备转移设置于第二电子设备。Any functional module among the plurality of functional modules is transferred from the first electronic device to the second electronic device. 4.根据权利要求1所述的运行控制方法,其特征在于,所述响应于所述运行指令,基于所述关联触发关系先后触发所述多个功能模块的步骤,包括:4. The operation control method according to claim 1, characterized in that the step of triggering the plurality of functional modules in sequence based on the associated trigger relationship in response to the operation instruction comprises: 以所述运行指令作为所述多个功能模块中首个功能模块的输入事件,触发所述首个功能模块;Using the running instruction as an input event of a first functional module among the multiple functional modules to trigger the first functional module; 对于包括所述首个功能模块在内的、所述关联触发关系中的任一在前功能模块,For any preceding functional module in the associated trigger relationship including the first functional module, 当所述在前功能模块的输出事件可触发与所述在前功能模块具有所述关联触发关系的若干个其他功能模块进入运行时,继续基于所述若干个其他功能模块输出各自对应的输出事件;When the output event of the preceding functional module can trigger a number of other functional modules having the associated triggering relationship with the preceding functional module to enter into operation, continue to output the respective corresponding output events based on the number of other functional modules; 当所述在前功能模块的输出事件无法触发所述多个功能模块中的任何功能模块进入运行时,以所述在前功能模块的输出事件作为最终输出结果,终止进程。When the output event of the preceding functional module cannot trigger any functional module among the plurality of functional modules to enter into operation, the process is terminated with the output event of the preceding functional module as the final output result. 5.根据权利要求1至4中任一项所述的运行控制方法,其特征在于,还包括:5. The operation control method according to any one of claims 1 to 4, characterized in that it also includes: 基于针对目标功能模块的功能编辑指令,为所述目标功能模块更新所述可编辑的执行通信和控制信息和/或所述可编辑的功能算法,或者,更新所述目标功能模块与所述多个功能模块中其他功能模块的关联触发关系。Based on the function editing instruction for the target function module, the editable execution communication and control information and/or the editable function algorithm are updated for the target function module, or the associated trigger relationship between the target function module and other function modules in the multiple function modules is updated. 6.一种运行控制装置,其特征在于,包括:6. An operation control device, characterized in that it comprises: 运行指令获取单元,用于获取针对目标对象的运行指令,所述目标对象包括多个功能模块,所述多个功能模块间具有关联触发关系;其中,所述目标对象为单个PCL;An operation instruction acquisition unit, used to acquire an operation instruction for a target object, wherein the target object includes a plurality of functional modules, and the plurality of functional modules have an associated trigger relationship; wherein the target object is a single PCL; 运行控制单元,用于响应于所述运行指令,基于所述关联触发关系先后触发所述多个功能模块,其中,每个所述功能模块设置有可编辑的执行通信和控制信息以及可编辑的功能算法;An operation control unit, configured to respond to the operation instruction and trigger the plurality of function modules in sequence based on the associated trigger relationship, wherein each of the function modules is provided with editable execution communication and control information and editable function algorithm; 所述多个功能模块至少包括第一功能模块和第二功能模块,所述第一功能模块由输入事件触发运行,并基于所述第一功能模块中可编辑的执行通信和控制信息以及可编辑的功能算法,生成输出事件,若所述输出事件为所述第二功能模块的输入事件,所述第一功能模块和所述第二功能模块具有所述关联触发关系。The multiple functional modules include at least a first functional module and a second functional module. The first functional module is triggered to run by an input event and generates an output event based on editable execution communication and control information and editable functional algorithms in the first functional module. If the output event is an input event of the second functional module, the first functional module and the second functional module have the associated trigger relationship. 7.一种运行控制装置,其特征在于,包括:7. An operation control device, characterized in that it comprises: 多个功能模块,分布式部署于至少两个电子设备中,所述多个功能模块间具有关联触发关系;A plurality of functional modules are distributedly deployed in at least two electronic devices, and the plurality of functional modules have an associated trigger relationship; 每个所述功能模块包括输入事件接口、输入变量接口、输出事件接口、输出变量接口和至少一个电子设备连接接口,并存储有可编辑的执行通信和控制信息以及可编辑的功能算法,其中,Each of the functional modules includes an input event interface, an input variable interface, an output event interface, an output variable interface and at least one electronic device connection interface, and stores editable execution communication and control information and editable functional algorithms, wherein: 对于所述多个功能模块中具有关联触发关系的第一功能模块和第二功能模块,所述第一功能模块的输出事件接口与所述第二功能模块的输入事件接口连接,所述第一功能模块的输出变量接口与所述第二功能模块的输入变量接口连接;For a first functional module and a second functional module having an associated trigger relationship among the plurality of functional modules, an output event interface of the first functional module is connected to an input event interface of the second functional module, and an output variable interface of the first functional module is connected to an input variable interface of the second functional module; 所述第一功能模块由输入事件触发运行,并基于所述第一功能模块中可编辑的执行通信和控制信息以及可编辑的功能算法,生成输出事件,若所述输出事件为所述第二功能模块的输入事件,所述第一功能模块和所述第二功能模块具有所述关联触发关系。The first functional module is triggered to run by an input event, and generates an output event based on the editable execution communication and control information and the editable functional algorithm in the first functional module. If the output event is an input event of the second functional module, the first functional module and the second functional module have the associated trigger relationship. 8.一种电子设备,其特征在于,包括:至少一个处理器;以及,与所述至少一个处理器通信连接的存储器;8. An electronic device, comprising: at least one processor; and a memory in communication connection with the at least one processor; 其中,所述存储器存储有可被所述至少一个处理器执行的指令,所述指令被设置为用于执行上述权利要求1至5中任一项所述的方法。The memory stores instructions executable by the at least one processor, and the instructions are configured to execute the method according to any one of claims 1 to 5. 9.一种计算机可读存储介质,其特征在于,存储有计算机可执行指令,所述计算机可执行指令用于执行如权利要求1至5中任一项所述的方法流程。9. A computer-readable storage medium, characterized in that it stores computer-executable instructions, wherein the computer-executable instructions are used to execute the method process as described in any one of claims 1 to 5.
CN202111671694.8A 2021-12-31 2021-12-31 Operation control method and device, electronic device and computer readable storage medium Active CN114326576B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111671694.8A CN114326576B (en) 2021-12-31 2021-12-31 Operation control method and device, electronic device and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111671694.8A CN114326576B (en) 2021-12-31 2021-12-31 Operation control method and device, electronic device and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN114326576A CN114326576A (en) 2022-04-12
CN114326576B true CN114326576B (en) 2024-12-24

Family

ID=81020445

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111671694.8A Active CN114326576B (en) 2021-12-31 2021-12-31 Operation control method and device, electronic device and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN114326576B (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103760831A (en) * 2011-10-14 2014-04-30 李洋 Multi-module joint operation method of system

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5026925B2 (en) * 2007-11-02 2012-09-19 アズビル株式会社 Control program creation device and control program creation method
DE102007054672A1 (en) * 2007-11-14 2009-05-20 Endress + Hauser Gmbh + Co. Kg Field device for determining or monitoring a process variable in process automation
CN102183927B (en) * 2011-02-22 2013-09-18 北京利德曼生化股份有限公司 Control method of system realizing multi-module combined work
CN107861716B (en) * 2017-11-09 2021-03-02 山东省计算中心(国家超级计算济南中心) Software-defined control system and control method
FR3075997B1 (en) * 2017-12-26 2020-01-10 Thales ELECTRONIC CALCULATOR FOR IMPLEMENTING AT LEAST ONE CRITICAL FUNCTION, ELECTRONIC DEVICE, METHOD AND COMPUTER PROGRAM

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103760831A (en) * 2011-10-14 2014-04-30 李洋 Multi-module joint operation method of system

Also Published As

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

Similar Documents

Publication Publication Date Title
CN110765023A (en) Distributed system testing method and system based on chaos experiment
US10448073B2 (en) Popping-screen push system and method
CN109829164B (en) Method and device for generating text
CN103677870A (en) System upgrading method and system upgraded by means of method
JP7375089B2 (en) Method, device, computer readable storage medium and computer program for determining voice response speed
CN111259066A (en) Server cluster data synchronization method and device
CN111273953B (en) Model processing method, device, terminal and storage medium
CN111111201A (en) Skill creating method, skill creating device, skill creating server and skill creating medium based on game
CN108073424B (en) Component interface calling method and device
CN114326576B (en) Operation control method and device, electronic device and computer readable storage medium
CN112035804B (en) Method and device for inserting watermark identification in document page, electronic equipment and storage medium
CN117014693A (en) Video processing method, device, equipment and storage medium
CN107862035A (en) Network reading method and device for conference record, intelligent tablet and storage medium
US8453113B2 (en) Configuration tool and system for an intelligent electronic device
CN109101306A (en) A kind of sharing method, device, terminal and computer readable storage medium
CN110908644B (en) Configuration method and device of state node, computer equipment and storage medium
CN111327510B (en) Communication system for nuclear power calculation analysis service
CN114356512B (en) Data processing method, device and computer readable storage medium
CN113609017B (en) Interface test case generation method and device
CN114157917A (en) Video editing method and device and terminal equipment
CN103765405A (en) Persistent party rooms
CN109522187B (en) Method and device for quickly extracting state information
CN112423098A (en) Video processing method, electronic device and storage medium
CN114630141B (en) Video processing method and related equipment
CN111790147B (en) Multimedia file display method and device, electronic equipment and readable storage medium

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