Industrial distributed edge intelligent model execution method and system

By centrally training the deep learning model on an industrial cloud server and dividing it into sub-models to deploy on multiple edge devices, the problem of delay between the cloud server and edge devices is solved, and the response and real-time processing capabilities of the model are improved. , realizing the implementation of deep learning models in industrial scenarios.

CN117591883BActive Publication Date: 2024-09-06BEIJING RES INST OF AUTOMATION FOR MACHINERY IND +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311615260.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-11-29
Publication Date
2024-09-06
Estimated Expiration
2043-11-29

AI Technical Summary

Technical Problem

The delay problem of cloud computing in industrial control hinders the development of time-sensitive applications. Existing technologies fail to effectively solve the delay problem between cloud servers and edge devices.

Method used

By centrally training the deep learning model on the industrial cloud server, dividing it into multiple sub-models and deploying them on multiple industrial edge devices, the edge devices are used to collect field data in real time and execute the sub-models periodically to realize the deep learning model. Distributed execution reduces the update cycle of the entire model.

Benefits of technology

It improves the responsiveness and real-time processing capabilities of the deep learning model to field data, enables the implementation of the deep learning model in industrial scenarios, shortens the update cycle, and improves the overall real-time data processing and update capabilities.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117591883B
    Figure CN117591883B
Patent Text Reader

Abstract

The embodiment of the present invention discloses an industrial distributed edge intelligent model execution method and system, wherein the method includes: the industrial cloud server obtains the deep learning model of a specific application and performs centralized training; the industrial cloud server divides the deep learning model into multiple sub-models according to the computing power of the industrial edge device, and deploys the multiple sub-models on multiple industrial edge devices; each industrial edge device collects field data in real time through a data acquisition component, and periodically executes each sub-model based on the field data according to the execution mode and data source of each sub-model; wherein each industrial edge device is independent of each other, and when an industrial edge device updates the output data of a sub-model in the current cycle, other industrial edge devices can be used to update the output data of other sub-models in other cycles. This embodiment improves the response efficiency of the field data stream of the model.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] Embodiments of the present invention relate to the field of industrial control, and in particular, to an industrial distributed edge intelligent model execution method and system. Background Art

[0002] With the development of artificial intelligence, many AI algorithms have been widely used in industrial fields such as logistics, robotics and process automation, for example, to control industrial parameters, predict equipment failures, etc.

[0003] At present, cloud computing is the main computing paradigm, and the delay problem between cloud servers and edge devices has hindered the development of many time-sensitive industrial applications. Patent CN115079648A discloses an intelligent industrial control system, and patent CN111404994A discloses an intelligent industrial decentralized information storage node communication network system and method, neither of which solves the above technical problems. Summary of the invention

[0004] The embodiments of the present invention provide an industrial distributed edge intelligent model execution method and system to solve the above-mentioned technical problems.

[0005] In a first aspect, an embodiment of the present invention provides an industrial distributed edge intelligence model execution method, including:

[0006] The industrial cloud server obtains a deep learning model for a specific application and performs centralized training, wherein the specific application includes at least one of the following: controlling industrial parameters, predicting equipment failures, optimizing production plans, or monitoring product quality;

[0007] The industrial cloud server divides the deep learning model into multiple sub-models according to the computing power of the industrial edge device, and deploys the multiple sub-models on multiple industrial edge devices; wherein each industrial edge device includes a programmable logic controller or an industrial gateway and supports different industrial communication protocols;

[0008] Each industrial edge device collects field data in real time through a data acquisition component, and periodically executes each sub-model based on the field data according to the execution mode and data source of each sub-model; wherein the acquisition component includes a field controller, a sensor or a camera;

[0009] Among them, each industrial edge device is independent of each other. When an industrial edge device updates the output data of a sub-model in the current cycle, other industrial edge devices can be used to update the output data of other sub-models in other cycles.

[0010] In a second aspect, an embodiment of the present invention further provides an industrial distributed edge intelligent model execution system, including an industrial cloud server and multiple industrial edge devices; wherein,

[0011] The industrial cloud server obtains a deep learning model for a specific application and performs centralized training, divides the deep learning model into multiple sub-models according to the computing power of the industrial edge device, and deploys the multiple sub-models on multiple industrial edge devices; wherein the specific application includes at least one of the following: controlling industrial parameters, predicting equipment failures, optimizing production plans, or monitoring product quality; each industrial edge device includes a programmable logic controller or an industrial gateway, and supports different industrial communication protocols;

[0012] Each industrial edge device is used to collect field data in real time through a data acquisition component, and periodically execute each sub-model based on the field data according to the execution mode and data source of each sub-model; wherein the acquisition component includes a field controller, a sensor or a camera;

[0013] Among them, each industrial edge device is independent of each other. When an industrial edge device updates the output data of a sub-model in the current cycle, other industrial edge devices can be used to update the output data of other sub-models in other cycles.

[0014] The embodiment of the present invention provides an industrial distributed edge intelligent model execution method and system, which uses a cloud server to centrally train a deep learning model, uses edge devices to obtain field data in real time and execute the trained deep learning model, improves the model's responsiveness to field data, and implements the deep learning model in industrial scenarios through the built-in industrial communication protocol of the edge device. In particular, considering the contradiction between the limited resources of edge devices and the high hardware resource requirements of deep learning models, this embodiment divides the deep learning model into multiple sub-models and deploys them on multiple industrial edge devices respectively. Each edge device collects field data in real time and periodically executes its own sub-model, improving the model's real-time processing capability and local update capability for edge data streams; at the same time, the execution of the entire deep model is divided into multiple stages through distributed execution, shortening the update cycle of the entire model to the update cycle of the sub-model, and improving the real-time data processing capability and overall update capability of the entire model. BRIEF DESCRIPTION OF THE DRAWINGS

[0015] In order to more clearly illustrate the specific implementation methods of the present invention or the technical solutions in the prior art, the drawings required for use in the specific implementation methods or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some implementation methods of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0016] Figure 1 It is a structural diagram of an industrial distributed edge intelligent model execution system provided by an embodiment of the present invention;

[0017] Figure 2 It is a flow chart of an industrial distributed edge intelligence model execution method provided by an embodiment of the present invention;

[0018] Figure 3 is a directed acyclic schematic diagram of an industrial deep learning model provided by an embodiment of the present invention, wherein: Figure 3 (a) Figure 3 (b) Figure 3 (c) and Figure 3 (d) represents four model structures respectively;

[0019] Figure 4 It is a schematic diagram of segmentation and deployment of a deep learning model for controlling the speed of an industrial wireless network provided by an embodiment of the present invention;

[0020] Figure 5 This is a schematic diagram of data exchange between data objects provided by an embodiment of the present invention;

[0021] Figure 6 A flowchart of another industrial distributed edge intelligence model execution method provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0022] In order to make the purpose, technical solution and advantages of the present invention clearer, the technical solution of the present invention will be described clearly and completely below. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work belong to the scope of protection of the present invention.

[0023] In the description of the present invention, it should be noted that the terms "center", "upper", "lower", "left", "right", "vertical", "horizontal", "inner", "outer", etc., indicating the orientation or positional relationship, are based on the orientation or positional relationship shown in the drawings, and are only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as limiting the present invention. In addition, the terms "first", "second", and "third" are used for descriptive purposes only, and cannot be understood as indicating or implying relative importance.

[0024] In the description of the present invention, it is also necessary to explain that, unless otherwise clearly specified and limited, the terms "installed", "connected", and "connected" should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection, or it can be indirectly connected through an intermediate medium, or it can be the internal communication of two components. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.

[0025] An embodiment of the present invention provides an industrial distributed edge intelligent model execution method. In order to illustrate the method, a system architecture that supports the implementation of the method is first described. Figure 1 Schematic diagram of the structure of an industrial distributed edge intelligent model execution system provided by an embodiment of the present invention. Figure 1 As shown, the system includes an industrial cloud server and multiple industrial edge devices. Among them, the cloud server has powerful computing power, such as hundreds of graphics processors, which can support the training and execution of large-scale deep learning models, but it has a large lag in the acquisition and processing of industrial field data. Edge devices are processing devices deployed at industrial sites, such as programmable logic controllers or industrial gateways, which have limited computing resources and performance and can directly acquire field data and perform a certain degree of processing. This embodiment makes full use of the advantages and disadvantages of the two types of equipment, and through the coordinated deployment of cloud servers and edge devices, improves the responsiveness of deep learning models in the industrial field to real-time data streams on site.

[0026] Furthermore, the cloud server includes a model management module 10 and a user interface 20, and the edge device includes a communication component 30, a data acquisition component 40, a control table 50 and a coordinator 60. The model management module 10 in the cloud server is mainly used for the training, segmentation, deployment and storage of deep learning models, and the user interface 20 is used to provide an interface for setting and managing model training parameters. Common training parameters include learning rate, number of rounds, etc. The communication component 30 in the edge device supports north-south communication protocols for communicating with the cloud and other edge devices, wherein the northbound protocols include MQTT (Message Queuing Telemetry Transport), FTP (File Transfer Protocol), VPN (Virtual Private Network) and OPC (OLE for Process Control), and the southbound protocols include Modbus / TCP, CAN (Controller Area Network), EtherCat (Ethernet Control Automation Technology) and OPC. The data acquisition component 40 is used to obtain data from the data source. The control table 50 is used to formally describe the control resources that support the operation of edge devices and deep learning models. Table 1 exemplarily shows part of the content in the control table, and the specific meaning of each field will be described in detail in subsequent embodiments. The coordinator 60 is used to coordinate the coordinated operation of each component or each edge device according to the control table.

[0027] Table 1

[0028]

[0029] Based on the above system architecture, Figure 2 This is a flow chart of an industrial distributed edge intelligence model execution method provided by an embodiment of the present invention. This method is applicable to deep learning models with strong real-time requirements in the industrial field, and is jointly executed by the cloud server and edge device in the above system. Figure 2 As shown, the method specifically includes:

[0030] S110. The industrial cloud server obtains a deep learning model for a specific application and performs centralized training, wherein the specific application includes at least one of the following: controlling industrial parameters, predicting equipment failures, optimizing production plans, or monitoring product quality.

[0031] In actual application, the user can select the deep learning model of a specific application through the user interface 20 as the execution object of the entire method. This specific application is highly sensitive to time. For example, controlling industrial parameters, predicting equipment failures, optimizing production plans, or monitoring product quality, etc., all require understanding the on-site situation in the first place and quickly providing decision results. For ease of understanding, this embodiment will be combined with the deep learning model for controlling the speed of industrial wireless networks disclosed in patent 2021106126272 to describe the method of this embodiment in detail.

[0032] After selecting the deep learning model, the user can configure the training parameters through the user interface 20, and the model management module 10 will centrally train the model in the cloud based on the parameters and the collected sample data.

[0033] S120. The industrial cloud server divides the deep learning model into multiple sub-models according to the computing power of the industrial edge device, and deploys the multiple sub-models on multiple industrial edge devices; wherein each industrial edge device supports different industrial communication protocols and can deploy at least one sub-model.

[0034] In this embodiment, the deep learning model is divided into multiple sub-models according to the computing power of the industrial edge device, so that the time complexity and space complexity of each sub-model are controlled within the computing power of the industrial edge device, so as to deploy each sub-model at the edge.

[0035] In a specific implementation, preliminary model segmentation can be first performed based on the function encapsulation structure of the deep learning model. Exemplarily, the outermost function structure in the model script can be identified, each function structure can be identified as a sub-model, and the connection script between functions can be identified as a sub-model separately or included in the adjacent sub-model. Then, according to the computing power (mainly processing speed) and average communication time of the industrial edge device, each sub-model is divided twice in the time dimension so that the execution cycle of each sub-model after the division meets the real-time requirements. Finally, the new sub-model is divided for the third time from the spatial dimension so that the spatial complexity of each sub-model matches the computing power (mainly storage space) of the industrial edge device. It can be seen that the real-time requirements of the sub-model are given priority in the above model segmentation, and through multiple segmentations in different dimensions, it is fully guaranteed that each industrial edge device meets the execution requirements of each sub-model.

[0036] After the segmentation is completed, the cloud server can construct a directed acyclic graph of the entire model with each sub-model as a node and the input-output relationship between the sub-models as an edge, such as Figure 3As shown in Figure 1. This graph can reflect the structural form of the entire model. The directed edges between nodes represent the input-output dependencies between sub-models. Optionally, in this embodiment, the sub-model with a node in-degree of 0 is called the initial sub-model, and the model with a node out-degree of 0 is called the final sub-model. Due to the different numbers of initial sub-models and final sub-models in different models, the following may be generated: Figure 3 (a)(b)(c)(d) show four types of model structures. Optionally, this embodiment adds a virtual initial sub-model τ before all initial sub-models and adds a virtual end sub-model σ after all end sub-models to unify the structures of different deep learning models so that the final number of initial sub-models and end sub-models is 1, which is convenient for unifying the processing logic of each sub-model in subsequent operations.

[0037] After the structure is unified, the model management module can regroup the final multiple sub-models (including τ and σ) according to the computing power of the industrial edge device, and deploy each group of sub-models on the same industrial edge device. In particular, this embodiment adopts a horizontal deployment method to deploy each group on the industrial edge device (also called edge node) at the same level, instead of deploying it on the fog node and cloud node. The purpose is to make full use of the advantages of edge devices in the industrial field, such as flexible location and larger number, while making it easier for each sub-model to obtain field data and realize real-time processing of field data. Optionally, since the time and space complexity of the virtual initial sub-model and the virtual end sub-model are both 0, the computing and storage burden of the edge device will not be increased. The virtual initial sub-model and any of its lower-level sub-models can be grouped together and deployed on the same industrial edge device, and the virtual end model and any of its upper-level sub-models can be grouped together and deployed on the same industrial edge device. Exemplarily, Figure 4 Taking the deep learning model for controlling the speed of industrial wireless networks mentioned in S110 as an example, the grouping and deployment of each sub-model are shown. Specifically, the model includes 7 sub-models: a virtual initial sub-model τ, a virtual end sub-model σ, and a data preprocessing network, a first data calculation sub-network, a second data calculation sub-network, a result calculation network, and a third data calculation sub-network, respectively recorded as sub-models 1-5. The 7 sub-models are deployed on 5 different edge devices, of which sub-model 1 and τ are deployed on edge device 3, sub-model 4 and σ are deployed on edge device 2, and sub-models 2, 4, and 5 are deployed on edge devices 1, 4, and 5, respectively. The meaning of each parameter in the figure is recorded in Patent 2021106126272, and will not be repeated here.

[0038] S130. Each industrial edge device collects field data in real time through a data acquisition component, and periodically executes each sub-model based on the field data according to the execution mode and data source of each sub-model; wherein the acquisition component includes a field controller, a sensor or a camera.

[0039] The execution process of the above sub-model can be completed by the coordinator of the industrial edge device. By periodically scanning the record information in the control table, the operation and termination of the data acquisition component and the sub-model are controlled to realize the distributed execution of the entire deep learning model. By setting a suitable scanning cycle, the real-time requirements of data acquisition and processing can be met. In this way, each industrial edge device is independent of each other. When an industrial edge device updates the output data of a sub-model in the current cycle, other industrial edge devices can be used to update the output data of other sub-models in other cycles, so that each sub-model can obtain the latest field data in time, and shorten the execution cycle of the entire deep learning model to the execution cycle of the sub-model, thereby improving the execution efficiency of the entire model. It is worth mentioning that the acquisition component here is mainly used to describe the data acquisition function of the edge device, wherein the field controller can collect control parameters or performance parameters, such as power, bandwidth, etc., the sensor can collect environmental data, such as temperature, pressure, etc., and the camera can collect image data, such as field pictures, etc. They can be integrated inside the edge device or connected to the outside of the edge device, and this embodiment does not make specific restrictions. For example, in the deep learning model for controlling the speed of the industrial wireless network mentioned in S110, the field data to be collected includes the loss and gain of the antenna, and the collection component used is a base station device or a base station controller that can be communicatively connected to the edge device.

[0040] In a specific implementation, each industrial edge device stores a control table. Figure 4 Taking the edge device 2 shown as an example, the control table stored in the device is shown in Table 1, and each row constitutes a record. Among them, the model ID is used to identify the deep learning model deployed partially or completely on the current edge device, and the sub-model ID is used to identify the sub-model of a deep learning model deployed on the current edge device. The communication protocol indicates the communication protocol required by the current sub-model, and the protocol address indicates the communication address of the current sub-model under the current communication protocol. The expression form of the protocol address is determined by the communication protocol. Input / output is used to mark whether the current sub-model needs input data or output data, and the two situations are marked as Input and Output respectively; the data object indicates the source of the input data of the current sub-model (corresponding to the record marked as Input) or the target of the output data (corresponding to the record marked as Output). In particular, the data object includes other sub-models or other devices, and other sub-models include other sub-models deployed on the current edge device and sub-models deployed on other edge devices. Other devices include various sensors, controllers, etc. Figure 5The diagram of data exchange between data objects is shown. The update mode is used to distinguish the two types of data objects mentioned above. 0 indicates that the data object is other sub-models, and 1 indicates that the data object is other devices. The data generation flag is used to identify whether the input data provided by a data source (corresponding to the record marked as Input) to the current sub-model has been updated.

[0041] Based on the above control table, the coordinator can perform the following operations in each scanning cycle:

[0042] S1. Activate each sub-model and set the data generation flags corresponding to all data sources in each sub-model to 0; at the same time, search for the target sub-model in the waiting state as the processing object of the subsequent operation. Specifically, this embodiment divides the state of the sub-model into waiting state, running state and stop state. The conversion relationship between the three states is as follows: Figure 6 As shown. Through traversal search, there can be multiple target sub-models currently in the waiting state.

[0043] S2. Perform the following processing on each target sub-model: if the current target sub-model is a virtual initial sub-model, broadcast the conversion of other sub-models related to the target sub-model to a waiting state; otherwise, determine whether the execution condition is currently met according to the execution mode and data source of the target sub-model. Specifically, the coordinator can traverse the control table, obtain all records with Input tags corresponding to the sub-model ID (referred to as Input records), and determine whether the input of the sub-model meets the execution condition according to the execution mode and generation flag in the record. Optionally, this embodiment divides the execution mode into two categories: polling mode and continuous mode according to the real-time requirements of the sub-model; in the polling mode, it is necessary to wait for all the upper-level data objects of the target sub-model to be updated before the execution condition of the target sub-model can be met. This mode is suitable for sub-models with low real-time requirements, and can wait for a certain time to collect the latest data to ensure the validity of the calculation; while in the continuous execution mode, there is no need to wait for the collection of all the latest input data, and the calculation is started immediately when the set time is reached. This mode is suitable for sub-models with high real-time requirements. In order to ensure timely output, old data can be used to make up for data delays. In practical applications, we can first determine the real-time level of each sub-model according to the industrial mechanism, then set the highest-level sub-model to continuous mode and the lowest-level sub-model to polling mode. The intermediate-level sub-models can be classified into two execution modes through dichotomy.

[0044] The following describes the execution condition judgment process in the two execution modes in different situations:

[0045] Case 1: The execution mode of the target sub-model is the polling mode. At this time, it is determined whether all input data are updated according to the data source of the target sub-model; when all data are updated, it is determined that the execution condition is currently met. Optionally, the data source of the target sub-model includes data acquisition components and other sub-models; the coordinator can read the update mode in the Input record. If the update mode is 1, it indicates that the data source corresponding to the record is the acquisition component (controller or sensor). The acquisition cycle of the acquisition component can be set to be less than the scanning cycle of the coordinator in the control table, so that the input data is updated by default in each scanning cycle; if the update mode is 0, it indicates that the data source corresponding to the record is other sub-models, then continue to read the data generation flag in the record. If the flag is 1, it is considered that the input data provided by the other sub-model has been updated. If the flag is 0, the flag is monitored until it becomes 1. All Input records are judged in the above manner. When the corresponding input data have been updated, it is considered that the execution condition of the target sub-model is met.

[0046] Case 2: The execution mode of the target sub-model is the continuous mode. In this mode, there is no special requirement on whether the input data is updated, and it is assumed that the execution conditions are currently met.

[0047] S3. If satisfied, convert the state of the target sub-model to a running state, and execute the target sub-model with the data source as input.

[0048] S4. After the target sub-model is executed, the output data is sent to all next-level data objects in sequence, and the target sub-model is converted to a stopped state. Specifically, if the target sub-model is σ, it indicates that the entire model execution is finished; otherwise, the coordinator sends the output data to other next-level sub-models in sequence according to the communication protocol, protocol address and output tag, and converts the state of the target sub-model to stopped. Optionally, the coordinator can traverse the control table, obtain all records with the Output tag with the target sub-model as the sub-model ID, and send the output data to the next-level sub-model indicated by the data object in each record in sequence; at the same time, the data generation flag corresponding to the target sub-model under the next-level sub-model is set to 1, which is used to determine whether the execution condition of the next-level sub-model is met when executing S2. Furthermore, if the next-level sub-model and the target sub-model are deployed on the same edge device, the coordinator searches for a record with the next-level sub-model as the sub-model ID and the target sub-model as the data object in the control table of this device, and sets the data generation flag in the record to 1; if the next-level sub-model and the target sub-model are deployed on different edge devices, a message is sent to the edge device where the next-level sub-model is located, so that it modifies the record with the next-level sub-model as the sub-model ID and the target sub-model as the data object in the control table, and sets the data generation flag in the record to 1, which is used to determine whether the execution conditions of the next-level sub-model are met when the edge device executes S2. This process can also be done through Figure 6 The flowchart shown in the figure indicates that the last column of the control table is the data generation flag. The coordinator scans the flag in each scanning cycle. When the flag is 1, the target sub-model is executed. After the execution is completed, the data generation flag of the next level sub-model is updated to 1.

[0049] In summary, the embodiment of the present invention provides an industrial distributed edge intelligent model execution method and system, which uses a cloud server to centrally train a deep learning model, uses edge devices to obtain field data in real time and execute the trained deep learning model, improves the model's responsiveness to field data, and implements the deep learning model in industrial scenarios through the built-in industrial communication protocol of the edge device. In particular, considering the contradiction between the limited resources of edge devices and the high hardware resource requirements of deep learning models, this embodiment divides the deep learning model into multiple sub-models and deploys them on multiple industrial edge devices respectively. Each edge device collects field data in real time and periodically executes its own sub-models, improving the model's real-time processing capability and local update capability for edge data streams; at the same time, the execution of the entire deep model is divided into multiple stages through distributed execution, shortening the update cycle of the entire model to the update cycle of the sub-model, and improving the real-time data processing capability and overall update capability of the entire model.

[0050] In addition, in order to control each sub-model in an orderly manner on the edge device, this embodiment unifies the structure of the deep learning model by adding a virtual sub-model, designs the processing logic of the coordinator in each scanning cycle based on the unified structure, and constructs a control table matching the logic to record key information such as sub-model input and output, execution mode, data source, and data generation flag. Through simple table data reading, the acquisition component can periodically collect data based on the control table, and the coordinator can execute each intelligent sub-model based on the control table and the required data. The process is simple and the implementation is fast, which is particularly suitable for deployment and application in industrial edge devices.

[0051] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or replace some or all of the technical features therein by equivalents. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the technical solutions of the embodiments of the present invention.

Claims

1. An industrial distributed edge intelligence model execution method, characterized in that: include: The industrial cloud server obtains a deep learning model for a specific application and performs centralized training, wherein the specific application includes at least one of the following: controlling industrial parameters, predicting equipment failures, optimizing production plans, or monitoring product quality; The industrial cloud server divides the deep learning model into multiple sub-models according to the computing power of the industrial edge device, and deploys the multiple sub-models on multiple industrial edge devices; wherein each industrial edge device includes a programmable logic controller or an industrial gateway, and supports different industrial communication protocols; specifically, a directed acyclic graph for characterizing the structure of the deep learning model is constructed with each sub-model as a node and the input-output relationship between the sub-models as an edge; from the directed acyclic graph, at least one initial sub-model with a node in-degree of 0 and at least one end sub-model with a node out-degree of 0 are extracted; a virtual initial sub-model is added before the at least one initial sub-model, and a virtual end sub-model is added after the at least one end sub-model to unify the structures of different deep learning models; wherein the time and space complexity of the virtual initial sub-model and the virtual end sub-model are both 0; the virtual initial sub-model and any of its lower-level sub-models are deployed on the same industrial edge device, and the virtual end model and any of its upper-level sub-models are deployed on the same industrial edge device; Each industrial edge device collects field data in real time through a data acquisition component, and periodically executes each sub-model based on the field data according to the execution mode and data source of each sub-model; wherein the acquisition component includes a field controller, a sensor or a camera; specifically, the following operations are performed periodically and cyclically: S1, activate each sub-model, and search for the target sub-model in a waiting state; S2, if the target sub-model is the virtual initial sub-model, broadcast other sub-models related to the target sub-model to be converted to a waiting state; otherwise, determine whether the execution condition is currently met according to the execution mode and data source of the target sub-model; S3, if it is met, convert the state of the target sub-model to a running state, and execute the target sub-model with the data source as input; S4, after execution, if the target sub-model is a virtual end sub-model, stop the operation; otherwise, send the output data to the next-level sub-model, and convert the target sub-model to a stopped state; Among them, each industrial edge device is independent of each other. When an industrial edge device updates the output data of a sub-model in the current cycle, other industrial edge devices can be used to update the output data of other sub-models in other cycles.

2. The method according to claim 1, characterized in that According to the computing power of the industrial edge device, the deep learning model is divided into multiple sub-models, including: According to the computing power and average communication time of the industrial edge device, the deep learning model is segmented in the time dimension so that the execution cycle of each sub-model after segmentation meets the real-time requirements; Each sub-model is divided into spatial dimensions so that the spatial complexity of the final sub-model matches the computing power of the industrial edge device.

3. The method according to claim 1, characterized in that The execution mode includes a polling mode and a continuous mode; The step of judging whether the execution condition is currently satisfied according to the execution mode and data source of the target sub-model includes: If the execution mode of the target sub-model is the polling mode, judging whether all input data are updated according to the data source of the target sub-model; when all data are updated, judging whether the execution condition is currently met; If the execution mode of the target sub-model is the continuous mode, it is assumed that the execution condition is currently met.

4. The method according to claim 3, characterized in that The target sub-model has at least one data source, each data source includes a data acquisition component and other sub-models; The step of determining whether all input data is updated according to the data source of the target sub-model includes: If any data source is a collection component, it is assumed that the input data of the data source has been updated, wherein the collection period of the collection component is less than the cycle period of S1-S4; If any data source is another sub-model, it is determined whether the input data of the data source has been updated according to the data generation flag of the target sub-model.

5. The method according to claim 4, characterized in that The activating each sub-model includes: setting at least one data generation flag for each sub-model and setting it to 0, each data generation flag corresponding to a data source; The sending the output data to the next level sub-model includes: sending the output data to the next level sub-model, and setting a data generation flag corresponding to the target sub-model under the next level sub-model to 1; The determining whether the input data of the data source has been updated according to the data generation flag of the target sub-model comprises: monitoring each data generation flag of the target sub-model, and when any data generation flag is 1, determining that the corresponding input data has been updated.

6. The method according to claim 1, characterized in that The next-level sub-model includes: other sub-models deployed on the same industrial edge device, or sub-models deployed on other industrial edge devices.

7. The method according to claim 1, characterized in that Before periodically executing each sub-model based on field data according to the execution mode and data source of each sub-model, the method further includes: Determine the real-time level of each sub-model according to the industrial mechanism; Set the highest level submodel to continuous mode and the lowest level submodel to polling mode.

8. An industrial distributed edge intelligent model execution system, characterized in that: Including industrial cloud servers and multiple industrial edge devices; among them, The industrial cloud server obtains a deep learning model for a specific application and performs centralized training. According to the computing power of the industrial edge device, the deep learning model is divided into multiple sub-models, and the multiple sub-models are deployed on multiple industrial edge devices; wherein the specific application includes at least one of the following: controlling industrial parameters, predicting equipment failures, optimizing production plans, or monitoring product quality; each industrial edge device includes a programmable logic controller or an industrial gateway, and supports different industrial communication protocols; specifically, a directed acyclic structure for characterizing the structure of the deep learning model is constructed with each sub-model as a node and the input-output relationship between the sub-models as an edge. Figure; extract at least one initial sub-model with a node in-degree of 0 and at least one end sub-model with a node out-degree of 0 from the directed acyclic graph; add a virtual initial sub-model before the at least one initial sub-model, and add a virtual end sub-model after the at least one end sub-model to unify the structures of different deep learning models; wherein the time and space complexities of the virtual initial sub-model and the virtual end sub-model are both 0; deploy the virtual initial sub-model and any of its lower-level sub-models on the same industrial edge device, and deploy the virtual end model and any of its upper-level sub-models on the same industrial edge device; Each industrial edge device is used to collect field data in real time through a data acquisition component, and periodically execute each sub-model based on the field data according to the execution mode and data source of each sub-model; wherein the acquisition component includes a field controller, a sensor or a camera; specifically, the following operations are performed periodically and cyclically: S1, activate each sub-model, and search for the target sub-model in a waiting state; S2, if the target sub-model is the virtual initial sub-model, broadcast other sub-models related to the target sub-model to be converted to a waiting state; otherwise, determine whether the execution condition is currently met according to the execution mode and data source of the target sub-model; S3, if it is met, convert the state of the target sub-model to a running state, and execute the target sub-model with the data source as input; S4, after execution, if the target sub-model is a virtual end sub-model, stop the operation; otherwise, send the output data to the next-level sub-model, and convert the target sub-model to a stopped state; Among them, each industrial edge device is independent of each other. When an industrial edge device updates the output data of a sub-model in the current cycle, other industrial edge devices can be used to update the output data of other sub-models in other cycles.