Operation control method and device, electronic device and computer readable storage medium
By decomposing the functional modules of the PLC into editable units and combining and updating based on the association trigger relationship, the reuse and maintenance difficulties caused by tight coupling of PLC codes is solved, and the flexibility and efficiency of industrial control are improved.
Patent Information
- Application Number
- CN202111671694.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-12-31
- Publication Date
- 2024-12-24
- Estimated Expiration
- 2041-12-31
AI Technical Summary
The application code of existing PLCs is tightly coupled, difficult to segment and reuse, resulting in inefficient industrial control and difficult maintenance and editing.
Flexible combination and update between functional modules is achieved by setting multiple functional modules as editable units and flexibly reusing and editing based on the association trigger relationship.
It improves the flexibility and efficiency of industrial control, simplifies resource reuse and updates, and improves the practicality of industrial control.
Smart Images

Figure CN114326576B_ABST
Abstract
Description
[Technical field]
[0001] The present application relates to the field of industrial control technology, and in particular to an operation control method and device, an electronic device, and a computer-readable storage medium. [Background technology]
[0002] In current industrial production, PLC (Programmable Logic Controller) is generally used as a digital operation controller. The existing PLC is produced using the IEC61131-3 standard and is compatible with the programming environment and language of PLCs from different manufacturers and brands. By simply following this standard, you can easily understand its logical functions and processes.
[0003] However, under the IEC61131-3 standard, the application code of the PLC is tightly coupled and difficult to separate. At the same time, its input variables and output variables are strongly related to external devices. In other words, the software and hardware of the PLC are tightly bound. This results in the PLC being used only as a whole, and some of its functions or codes are difficult to reuse in other applications. Moreover, once some of its functions fail or need to be updated and maintained, it is difficult to quickly locate them.
[0004] Therefore, how to improve the practicality and efficiency of industrial control has become a technical problem that needs to be solved urgently. [Summary of the invention]
[0005] The embodiments of the present application provide an operation control method and device, an electronic device and a computer-readable storage medium, which aim to solve the technical problem of limited industrial control efficiency caused by the difficulty of reuse and editing of existing PLCs in related technologies.
[0006] In a first aspect, an embodiment of the present application provides an operation control method, comprising: obtaining an operation instruction for a target object, the target object comprising multiple functional modules, and the multiple functional modules having an associated trigger relationship; in response to the operation instruction, triggering the multiple functional modules in sequence based on the associated trigger relationship, wherein each of the functional modules is provided with editable execution communication and control information and an editable functional algorithm.
[0007] In the above embodiment of the present application, optionally, before the step of obtaining the running instruction for the target object, it also includes: setting the multiple functional modules on the same electronic device, or distributing the multiple functional modules on at least two electronic devices.
[0008] In the above embodiment of the present application, optionally, it further includes: transferring any functional module of the multiple functional modules from the first electronic device to the second electronic device.
[0009] In the above-mentioned embodiment of the present application, optionally, the multiple functional modules include at least a first functional module and a second functional module, wherein 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 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 trigger relationship.
[0010] In the above embodiment of the present application, optionally, the step of triggering the multiple functional modules in sequence based on the associated trigger relationship in response to the run instruction includes: using the run instruction as the input event of the first functional module among the multiple functional modules to trigger the first functional module; for any previous functional module in the associated trigger relationship including the first functional module, when the output event of the previous functional module can trigger several other functional modules that have the associated trigger relationship with the previous functional module to enter run time, continue to output the corresponding output events based on the several other functional modules; when the output event of the previous functional module cannot trigger any functional module among the multiple functional modules to enter run time, use the output event of the previous functional module as the final output result and terminate the process.
[0011] In the above-mentioned embodiment of the present application, optionally, it also includes: based on the function editing instruction for the target function module, updating the editable execution communication and control information and / or the editable function algorithm for the target function module, or updating the associated trigger relationship between the target function module and other function modules among the multiple function modules.
[0012] In the second aspect, an embodiment of the present application provides an operation control device, comprising: an operation instruction acquisition unit, used to acquire an operation instruction for a target object, the target object comprising multiple functional modules, and the multiple functional modules have an associated trigger relationship; an operation control unit, used to respond to the operation instruction and trigger the multiple functional modules in sequence based on the associated trigger relationship, wherein each of the functional modules is provided with editable execution communication and control information and editable functional algorithm.
[0013] In the above embodiment of the present application, optionally, it also includes: in a distributed setting unit, before the running instruction acquisition unit acquires the running instruction for the target object, setting the multiple functional modules on the same electronic device, or distributing the multiple functional modules on at least two electronic devices.
[0014] In the above embodiment of the present application, optionally, it further includes: a distributed transfer unit, which is used to transfer any functional module of the multiple functional modules from the first electronic device to the second electronic device.
[0015] In the above-mentioned embodiment of the present application, optionally, the multiple functional modules include at least a first functional module and a second functional module, wherein 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 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 trigger relationship.
[0016] In the above embodiment of the present application, optionally, the operation control unit is used to: use the operation instruction as the input event of the first functional module among the multiple functional modules to trigger the first functional module; for any previous functional module in the associated trigger relationship including the first functional module, when the output event of the previous functional module can trigger several other functional modules that have the associated trigger relationship with the previous functional module to enter operation, continue to output the corresponding output events based on the several other functional modules; when the output event of the previous functional module cannot trigger any functional module among the multiple functional modules to enter operation, use the output event of the previous functional module as the final output result and terminate the process.
[0017] In the above-mentioned embodiment of the present application, optionally, it also includes: a functional unit editing unit, which is used to update the editable execution communication and control information and / or the editable functional algorithm for the target functional module based on the functional editing instruction for the target functional module, or to update the associated trigger relationship between the target functional module and other functional modules among the multiple functional modules.
[0018] In the third aspect, an embodiment of the present application provides an operation control device, comprising: multiple functional modules, distributedly deployed in at least two electronic devices, and the multiple 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 with an associated trigger relationship among the multiple functional modules, the output event interface of the first functional module is connected to the input event interface of the second functional module, and the output variable interface of the first functional module is connected to the input variable interface of the second functional module.
[0019] In a fourth aspect, an embodiment of the present application provides an electronic device, comprising: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are configured to execute any of the methods described in the first aspect above.
[0020] In a fifth aspect, an embodiment of the present application provides a computer-readable storage medium storing computer-executable instructions, wherein the computer-executable instructions are used to execute the method flow described in any one of the above-mentioned first aspects.
[0021] The above technical solution aims to solve the technical problem in related technologies that the efficiency of industrial control is limited due to the difficulty in reusing and editing existing PLCs. In order to avoid the difficulty in reusing, maintaining and editing the internal logic of PLCs, a target object can be composed of multiple editable functional units, so that each functional unit can be flexibly reused based on the changes and settings of the associated trigger relationships, and the internal code of each functional unit can be edited, thereby improving the flexibility of industrial control, strengthening resource reuse and resource updating, and helping to improve the practicality and efficiency of industrial control.
Brief Description of the Drawings
[0022] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0023] Figure 1 A flow chart of an operation control method according to an embodiment of the present application is shown;
[0024] Figure 2 A schematic diagram of a functional unit according to an embodiment of the present application is shown;
[0025] Figure 3 A schematic diagram showing that an operation control device according to an embodiment of the present application is distributed in multiple devices;
[0026] Figure 4 A block diagram of an operation control device according to an embodiment of the present application is shown;
[0027] Figure 5 A block diagram of an electronic device according to an embodiment of the present application is shown. [Specific implementation method]
[0028] In order to better understand the technical solution of the present application, the embodiments of the present application are described in detail below with reference to the accompanying drawings.
[0029] It should be clear that the described embodiments are only part of the embodiments of the present application, rather than all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in the field without creative work are within the scope of protection of the present application.
[0030] The terms used in the embodiments of the present application are only for the purpose of describing specific embodiments, and are not intended to limit the present application. The singular forms "a", "said" and "the" used in the embodiments of the present application and the appended claims are also intended to include plural forms, unless the context clearly indicates other meanings.
[0031] Figure 1 A flow chart of an operation control method according to an embodiment of the present application is shown.
[0032] like Figure 1 As shown, the process of the operation control method according to an embodiment of the present application includes:
[0033] Step 102: 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.
[0034] Step 104 , in response to the running instruction, triggering the plurality of functional modules in sequence based on the associated triggering relationship, wherein each of the functional modules is provided with editable execution communication and control information and editable functional algorithm.
[0035] That is, when the running instruction triggers the first functional module, the first functional module can trigger other functional modules based on the associated triggering relationship with other functional modules, thereby realizing the operation of the target object.
[0036] The target objects described here include but are not limited to applications and controllers of electronic device groups, etc. It should be noted that in the present application, the functional unit may be an integrated function in the form of software such as a code block, or a controller in the form of hardware. It may also include both integrated functions in the form of software such as a code block and controllers in the form of hardware, which will not be repeated in this context.
[0037] Among them, the multiple functional modules at least include a first functional module and a second functional module, the first functional module is triggered to run by an input event, and based on the editable execution communication and control information and the editable functional algorithm in the first functional module, an output event is generated, 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 trigger relationship. It can be seen from this that 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. If the output event cannot continue to trigger the operation of the second functional module after the change, it means that the associated trigger relationship between the first functional module and the second functional module has been changed. On the other hand, the editable execution communication and control information and the editable functional algorithm in the first functional module can also be edited so that its newly generated output event can trigger other functional modules. In other words, based on the function editing instruction for the target functional module, the editable execution communication and control information and / or the editable functional algorithm are updated for the target functional module, or the associated trigger relationship between the target functional module and other functional modules in the multiple functional modules is updated.
[0038] More specifically, the operation instruction is used as the input event of the first function module among the multiple function modules to trigger the first function module; for any preceding function module in the associated trigger relationship, including the first function module, when the output event of the preceding function module can trigger several other function modules having the associated trigger relationship with the preceding function module to enter operation, the output events corresponding to each of the several other function modules continue to be output. The triggering is continued in this way until the output event of the triggered function module can no longer trigger a new function module, and then the process is stopped.
[0039] 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.
[0040] It can be seen that the associated trigger relationship between functional modules can be changed based on the editing of functional modules. The same target object, or the same group of functional modules, can be reused in a large number of different application scenarios through editing. Of course, a single functional module can also be taken out and used in combination with other external functional modules outside the target object. In short, this flexible editing and reuse method improves the flexibility of industrial control and saves production resources.
[0041] Since each of the functional modules is provided with editable execution communication and control information and editable functional algorithm, when it is necessary to adjust the function or execution logic of the target object, the functional unit that needs to be adjusted can be selected, and then the editable execution communication and control information and editable functional algorithm in the functional unit can be modified and maintained, thereby realizing the change and maintenance of the target object.
[0042] The above technical solution is aimed at the technical solution in the prior art that takes a single PLC as the target object. In order to avoid the difficulty in reusing, maintaining and editing the internal logic of the PLC, the target object can be composed of multiple editable functional units, so that each functional unit can be flexibly reused based on the change and setting of the associated trigger relationship, and the internal code of each functional unit can be edited, thereby improving the flexibility of industrial control, strengthening resource reuse and resource updating, and helping to improve the practicality and efficiency of industrial control.
[0043] In a possible design, before the step of obtaining the running instructions for the target object, it also includes: setting the multiple functional modules on the same electronic device, or distributing the multiple functional modules on at least two electronic devices.
[0044] According to actual industrial production needs, multiple functional modules are set on the same electronic device for efficient editing and maintenance. If the actual production is implemented by multiple electronic devices, in order to ensure the effective operation of each electronic device, multiple functional modules can also be distributed on at least two electronic devices, wherein any functional module can be set on the electronic device it controls, or any functional module can be set on an electronic device that has a communication channel with the electronic device it controls.
[0045] Compared with the technical solutions in the prior art that use a single PLC as the target object, this distributed design can split the target object so that it can better cooperate with the controlled electronic equipment, facilitate purposeful and targeted development and maintenance of some functions of the target object, and quickly locate faults when they occur, thus improving the efficiency of industrial control as a whole.
[0046] Of course, after the multiple functional modules are distributed on at least two electronic devices, any of the multiple functional modules can be transferred from the first electronic device to the second electronic device based on actual industrial control requirements. That is, the functional modules are reused on different electronic devices, which improves the flexibility of industrial control and strengthens resource reuse and resource update.
[0047] Figure 2 A schematic diagram of a functional unit according to an embodiment of the present application is shown. Figure 3A schematic diagram showing that an operation control device according to an embodiment of the present application is distributed across multiple devices.
[0048] Combination Figure 2 and Figure 3 As shown, the operation control device 300 includes a plurality of functional modules 200, which are distributed and deployed in at least two electronic devices, and the plurality of functional modules have an associated trigger relationship.
[0049] 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 executive communications and control information (ECC) and editable functional algorithms. There are multiple interfaces of each type, and the working order of the multiple interfaces of each type can be edited.
[0050] exist Figure 3 In the example, three functional modules are distributed on electronic device X1, electronic device X2 and electronic device X3, and the three have the event flow relationship and data flow relationship shown in the figure, forming a whole application. Among them, for the first functional module and the second functional module having an associated trigger relationship among the multiple functional modules, the output event interface of the first functional module is connected to the input event interface of the second functional module, and the output variable interface of the first functional module is connected to the input variable interface of the second functional module.
[0051] At this point, for the technical solutions in the prior art that use a single PLC as the target object, in order to avoid the difficulty in reusing, maintaining, and editing the internal logic of the PLC, the target object can be composed of multiple editable functional units, so that each functional unit can be flexibly reused based on the changes and settings of the associated trigger relationship, and the internal code of each functional unit can be edited, thereby improving the flexibility of industrial control, strengthening resource reuse and resource updating, and helping to improve the practicality and efficiency of industrial control.
[0052] Figure 4 A block diagram of an operation control device according to an embodiment of the present application is shown.
[0053] like Figure 4As shown, according to an embodiment of the present application, an operation control device 400 includes: an operation instruction acquisition unit 402, used to acquire an operation instruction for a target object, wherein the target object includes multiple functional modules, and the multiple functional modules have an associated trigger relationship; an operation control unit 404, used to respond to the operation instruction and trigger the multiple functional modules in sequence based on the associated trigger relationship, wherein each of the functional modules is provided with editable execution communication and control information and editable functional algorithm.
[0054] In the above embodiment of the present application, optionally, it also includes: in a distributed setting unit, before the running instruction acquisition unit 402 acquires the running instruction for the target object, setting the multiple functional modules on the same electronic device, or distributing the multiple functional modules on at least two electronic devices.
[0055] In the above embodiment of the present application, optionally, it further includes: a distributed transfer unit, which is used to transfer any functional module of the multiple functional modules from the first electronic device to the second electronic device.
[0056] In the above-mentioned embodiment of the present application, optionally, the multiple functional modules include at least a first functional module and a second functional module, wherein 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 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 trigger relationship.
[0057] In the above embodiment of the present application, optionally, the operation control unit 404 is used to: use the operation instruction as the input event of the first function module among the multiple function modules to trigger the first function module; for any previous function module in the associated trigger relationship including the first function module, when the output event of the previous function module can trigger several other function modules that have the associated trigger relationship with the previous function module to enter operation, continue to output the corresponding output events based on the several other function modules; when the output event of the previous function module cannot trigger any function module among the multiple function modules to enter operation, use the output event of the previous function module as the final output result and terminate the process.
[0058] In the above-mentioned embodiment of the present application, optionally, it also includes: a functional unit editing unit, which is used to update the editable execution communication and control information and / or the editable functional algorithm for the target functional module based on the functional editing instruction for the target functional module, or to update the associated trigger relationship between the target functional module and other functional modules among the multiple functional modules.
[0059] The operation control device 400 uses any of the solutions described in the above embodiments, and therefore has all the above technical effects, which will not be repeated here.
[0060] Figure 5 A block diagram of an electronic device according to an embodiment of the present application is shown.
[0061] like Figure 5 As shown, an electronic device 500 of an embodiment of the present application includes at least one memory 502; and a processor 504 in communication with the at least one memory 502; wherein the memory stores instructions executable by the at least one processor 504, and the instructions are configured to execute the scheme described in any of the above embodiments. Therefore, the electronic device 500 has the same technical effects as any of the above embodiments, which will not be described in detail here.
[0062] The electronic devices of the embodiments of the present application exist in various forms, including but not limited to:
[0063] (1) Mobile communication devices: These devices are characterized by their mobile communication functions and their main purpose is to provide voice and data communications. These terminals include: smart phones (such as iPhone), multimedia phones, functional phones, and low-end phones.
[0064] (2) Ultra-mobile personal computer devices: These devices fall into the category of personal computers, have computing and processing capabilities, and generally also have mobile Internet access features. These terminals include: PDA, MID and UMPC devices, such as iPad.
[0065] (3) Portable entertainment devices: These devices can display and play multimedia content. They include audio and video players (such as iPods), handheld game consoles, e-books, as well as smart toys and portable car navigation devices.
[0066] (4) Server: A device that provides computing services. The server consists of a processor, hard disk, memory, system bus, etc. The server is similar to a general computer architecture, but because it needs to provide highly reliable services, it has higher requirements in terms of processing power, stability, reliability, security, scalability, and manageability.
[0067] (5) Other electronic devices with data interaction functions.
[0068] In addition, an embodiment of the present application provides a computer-readable storage medium storing computer-executable instructions, wherein the computer-executable instructions are used to execute the method flow described in any of the above embodiments.
[0069] The above describes in detail the technical solution of the present application in combination with the accompanying drawings. Through the technical solution of the present application, in order to avoid the difficulty of reuse, maintenance and editing of the internal logic of the PLC, a target object can be composed of multiple editable functional units, so that each functional unit can be flexibly reused based on the change and setting of the associated trigger relationship, and the internal code of each functional unit can be edited, thereby improving the flexibility of industrial control, strengthening resource reuse and resource updating, and helping to improve the practicality and efficiency of industrial control.
[0070] It should be understood that the term "and / or" used in this article is only a description of the association relationship of associated objects, indicating that there can be three relationships. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. In addition, the character " / " in this article generally indicates that the associated objects before and after are in an "or" relationship.
[0071] It should be understood that, although the terms first, second, etc. may be used to describe the functional modules in the embodiments of the present application, these functional modules should not be limited to these terms. These terms are only used to distinguish the functional modules from each other. For example, without departing from the scope of the embodiments of the present application, the first functional module may also be referred to as the second functional module, and similarly, the second functional module may also be referred to as the first functional module.
[0072] The word "if" as used herein may be interpreted as "at the time of" or "when" or "in response to determining" or "in response to detecting", depending on the context. Similarly, the phrases "if it is determined" or "if (stated condition or event) is detected" may be interpreted as "when it is determined" or "in response to determining" or "when detecting (stated condition or event)" or "in response to detecting (stated condition or event)", depending on the context.
[0073] In the several embodiments provided in the present application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0074] In addition, each functional module in each embodiment of the present application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The above integrated unit can be implemented in the form of hardware or in the form of hardware plus software functional modules.
[0075] The above-mentioned integrated unit implemented in the form of a software function module can be stored in a computer-readable storage medium. The above-mentioned software function module is stored in a storage medium, including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) or a processor (Processor) to perform some steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), disk or optical disk and other media that can store program codes.
[0076] The above description is only a preferred embodiment of the present application and is not intended to limit the present application. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present application shall be included in the scope of protection of the present application.
Claims
1. An operation control method, characterized in that: include: 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. The operation control method according to claim 1, characterized in that: Before the step of obtaining the operation instruction for the target object, the method further 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. The operation control method according to claim 2, characterized in that: Also includes: Any functional module among the plurality of functional modules is transferred from the first electronic device to the second electronic device.
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 triggering relationship in response to the running instruction includes: 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. The operation control method according to any one of claims 1 to 4, characterized in that: 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. An operation control device, characterized in that: include: 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. An operation control device, characterized in that: include: 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. An electronic device, characterized in that: include: at least one processor; and, a memory communicatively coupled to the at least one processor; 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. A computer-readable storage medium, characterized in that: Computer executable instructions are stored, and the computer executable instructions are used to execute the method process according to any one of claims 1 to 5.
