Intelligent manufacturing, edge network service processing method, device and electronic equipment
By dynamically electing the central gateway node and multiple non-centralized gateway nodes in the edge service network to realize the functions of edge network servers, the problems of low efficiency and high cost of edge service network processing in the prior art are solved, and more efficient, stable and reliable edge service network processing is achieved.
Patent Information
- Application Number
- CN201910920068.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2019-09-26
- Publication Date
- 2025-02-28
- Estimated Expiration
- 2039-09-26
AI Technical Summary
In the prior art, edge service network adopts a centralized management model, resulting in excessive burden on edge network servers, low processing efficiency and high cost, and the stability of a single edge server is difficult to guarantee.
By dynamically electing the central gateway node and multiple non-centralized gateway nodes in the edge service network to jointly realize the functions of the edge network server, building a virtual edge network server, thereby distributing centralized processing to multiple gateway nodes, and realizing unified centralized production task provisioning.
It improves the processing efficiency of edge service networks, reduces costs, enhances the stability and reliability of the system, and has the advantages of centralization and distribution.
Smart Images

Figure CN112561222B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to a method, device and electronic equipment for processing intelligent manufacturing and edge network services, and belongs to the field of computer technology. Background Art
[0002] MES (Manufacturing Execution System) as a whole consists of three main parts: the cloud part, the edge service network, and the processing equipment. In the existing technology, the cloud is mainly responsible for the acceptance and issuance of production orders. The edge service network is connected between the processing equipment and the cloud, and is responsible for order decomposition, resource allocation management, production task scheduling, data collection, feedback analysis and other production control processes. In addition, the edge service network also assumes the function of disaster recovery and backup. Finally, the processing equipment is responsible for the specific product processing.
[0003] In the prior art, the edge service network adopts a centralized management mode, which includes a centralized edge network server and multiple gateway nodes. The edge network server undertakes most of the centralized control work in the edge network service, and the gateway node is mainly responsible for information transmission between the edge network server and the processing equipment.
[0004] The existing edge service network architecture has the following defects:
[0005] Since the centralized edge server is responsible for a large amount of data processing work, when there are many orders, the edge network server is prone to being overloaded, which seriously affects the overall processing efficiency of the MES. In addition, the centralized edge network server has high performance requirements, which also leads to very high installation and use costs. In addition, the reliability of the edge server is difficult to guarantee. As a centralized service carrier on the factory side, the stability and reliability requirements for the edge server are particularly high. However, the stability of a single edge server cannot be guaranteed, and using multiple servers to implement multiple backup functions will require very high costs for the factory. Summary of the invention
[0006] The embodiments of the present invention provide a method, device and electronic device for processing intelligent manufacturing and edge network services to improve the processing efficiency of the edge service network.
[0007] In order to achieve the above object, an embodiment of the present invention provides a method for processing edge network services, including:
[0008] Receive a production process package sent from the cloud, and generate multiple production tasks according to the production process package;
[0009] According to the multiple production tasks and the processing resource status of each gateway node in the edge network service, production tasks are allocated to each gateway node in the edge service network. The processing resource status includes: one or more of the resources of the processing equipment controlled by the gateway node, the processing data stored in the gateway node, and the load status of the processing equipment controlled by the gateway node.
[0010] An embodiment of the present invention further provides a processing device for edge network services, including:
[0011] A cloud interaction module receives a production process package sent from the cloud and generates multiple production tasks according to the production process package;
[0012] A production task allocation module is used to allocate production tasks to each gateway node in the edge service network according to the multiple production tasks and the processing resource status of each gateway node in the edge network service. The processing resource status includes: one or more of the resources of the processing equipment controlled by the gateway node, the processing data stored in the gateway node, and the load status of the processing equipment controlled by the gateway node.
[0013] The embodiment of the present invention also provides a method for processing edge network services, including:
[0014] Broadcast its own node capability information to other gateway nodes in the edge service network, and receive the node capability information broadcast by the other gateway nodes, wherein the node capability information includes: one or more of the software / hardware configuration information of the gateway node, resource information of the processing equipment controlled by the gateway node, and the processing data information stored in the gateway node;
[0015] Determine the central gateway node of the edge service network according to the production process information and the node capability information of the gateway node sent from the cloud, and broadcast the determined central gateway node information to the edge service network;
[0016] The central gateway node establishes a communication connection with the cloud and receives the production process package from the cloud.
[0017] The embodiment of the present invention also provides a processing method for intelligent manufacturing, including:
[0018] The central gateway node of the edge service network receives production orders issued by the cloud;
[0019] Determine multiple production tasks based on the production process corresponding to the production order;
[0020] According to the production and processing resource status of each node in the edge service network, the multiple generation tasks are allocated to the corresponding nodes, so that each node sends the received production tasks to the connected production equipment for processing.
[0021] An embodiment of the present invention further provides an electronic device, including:
[0022] Memory, used to store programs;
[0023] The processor is used to run the program stored in the memory to execute the aforementioned edge network service processing method.
[0024] The processing method, device and electronic device of intelligent manufacturing and edge network services of the embodiments of the present invention realize the functions of the edge network server by a central gateway node and multiple decentralized gateway nodes, which is equivalent to building a virtual edge network server using multiple gateway nodes of the edge service network, thereby distributing the centralized edge network server processing to multiple gateway nodes for sharing, but at the same time can also realize unified centralized production task allocation, combining the advantages of centralization and distribution, and improving the processing efficiency of the edge service network.
[0025] The above description is only an overview of the technical solution of the present invention. In order to more clearly understand the technical means of the present invention, it can be implemented according to the contents of the specification. In order to make the above and other purposes, features and advantages of the present invention more obvious and easy to understand, the specific implementation methods of the present invention are listed below. BRIEF DESCRIPTION OF THE DRAWINGS
[0026] Figure 1 A schematic diagram of an application scenario of an edge service network according to an embodiment of the present invention;
[0027] Figure 2 A schematic diagram of a process flow of an edge network service processing method according to an embodiment of the present invention;
[0028] Figure 3 A schematic diagram of a process flow for determining a central gateway node according to an embodiment of the present invention;
[0029] Figure 4 A schematic diagram of the structure of a processing device for edge network services according to an embodiment of the present invention;
[0030] Figure 5 Schematic diagram of the structure of an electronic device according to an embodiment of the present invention. DETAILED DESCRIPTION
[0031] The exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although the exemplary embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be limited by the embodiments set forth herein. On the contrary, these embodiments are provided to enable a more thorough understanding of the present disclosure and to fully convey the scope of the present disclosure to those skilled in the art.
[0032] The technical solution of the present invention is further illustrated by some specific embodiments below.
[0033] The embodiment of the present invention provides a distributed edge service network architecture built on a peer-to-peer network. Figure 1 As shown, it is a schematic diagram of the application scenario of the edge service network of an embodiment of the present invention. The edge service network is set between the cloud and the specific processing equipment. The entire edge service network is composed of multiple peer gateway nodes. A fixed centralized edge network server is no longer set in the edge service network. Instead, a central gateway node is determined by dynamic election through multiple peer gateway nodes. The election strategy can perform regular dynamic elections based on factors such as the processing performance and operating status of each gateway node. The function of the centralized edge network server in the prior art is no longer implemented by one server, but is jointly implemented by various gateway nodes in the edge service network.
[0034] The central gateway node acts as a centralized server. On the one hand, it connects with the cloud to exchange data. On the other hand, it generates multiple production tasks based on the data sent from the cloud, and then allocates production tasks to various non-central gateway nodes.
[0035] The non-central gateway node is mainly used to control the production process of the processing equipment connected to it according to the task allocation of the central gateway node. After the above-mentioned central gateway node is determined, it can also be used as a non-central gateway node to control the production process of the processing equipment connected to it, that is to say, the central gateway node can also play a dual role at the same time. In addition, each processing equipment can establish a communication connection not only with one gateway node, but also with multiple gateway nodes, so that the production process control relationship between the non-central gateway node and the processing equipment can be matched according to needs.
[0036] The gateway node in the embodiment of the present invention can adopt an E2D (Easy to Deploy) gateway device as a gateway node, wherein the E2D technology is a set of software and hardware combined product suites and technical systems. The E2D suite can help factories to digitally transform the entire production chain, thereby solving the technical bottleneck of factories connecting to the industrial Internet. Including: digital collection, automated control, human-computer interaction, production scheduling, edge and cloud device management and other functions. The E2D gateway device can digitize the equipment in the factory, so that it has IoT (Internet of Things) capabilities and can be smoothly connected to the Internet.
[0037] From the above edge network service mechanism, it can be seen that the functions of the edge network server in the prior art are jointly implemented by the central gateway node and multiple decentralized gateway nodes, which is equivalent to using multiple gateway nodes of the edge service network to build a virtual edge network server, thereby distributing the centralized edge network server processing to multiple gateway nodes for sharing, but at the same time it can also achieve unified centralized production task allocation, combining the advantages of centralization and distribution. In addition, since the central gateway node is determined based on a dynamic election mechanism, it can be dynamically determined based on the real-time performance and status of each gateway node in the edge service network, thereby ensuring the processing efficiency and stability of the central gateway node and ensuring that the entire edge service network can work normally.
[0038] Furthermore, MES transactions include transactions with high real-time requirements and transactions with relatively low real-time requirements. Transactions with high real-time requirements, such as transactions for process production control of processing equipment, are irreversible. Transactions with relatively low real-time requirements, such as scheduling optimization of orders, collection and analysis of production process data, etc., are equivalent to preparatory work before production, which can be modified according to actual conditions and are reversible transactions.
[0039] In order to more reasonably utilize the resources of the edge service network, in an embodiment of the present invention, MES transactions with low real-time requirements are placed in the cloud for processing, thereby reducing the burden on the central gateway node of the centralized role and the entire edge service network.
[0040] Non-real-time MES transactions mainly include production process scheduling optimization based on orders. The cloud directly connects with users, receives production orders, and then optimizes production scheduling based on the analysis of production orders to form a production process package. The production scheduling optimization mentioned here may split up multiple orders, and reasonably arrange each processing link according to the production process characteristics required by each order, so as to maximize processing efficiency and material utilization. The final production process package contains the production tasks that need to be performed by the processing equipment, and the cloud will send the production process package to the central gateway node.
[0041] The central gateway node is mainly used to handle transactions with high real-time requirements, including maintaining data interaction with the cloud, disassembling the production process package sent from the cloud, and then allocating production tasks to each gateway node. Each gateway node is responsible for controlling the processing equipment connected to it to achieve product production.
[0042] Furthermore, in an embodiment of the present invention, centralized gateway nodes and decentralized gateway nodes also differ in data storage and information interaction mechanisms according to their different roles, thereby more effectively utilizing the resources of the edge service network.
[0043] Among them, the central gateway node focuses more on the allocation of production tasks. Therefore, for the central gateway node, it only needs to obtain data related to task allocation, and does not need to obtain all production data of the processing equipment during the production process.
[0044] Therefore, the central gateway node no longer stores all the production process data of each processing equipment, but only obtains the production status data to perform task allocation. The production status data here refers to the production status of the processing equipment, such as the processing progress of the current process, the processing procedures have been completed, the processing preparation, the idle state, etc. After the central gateway node obtains the real-time production status data, it can reasonably allocate production tasks according to the characteristics of the production tasks and the status of each processing equipment. The production status data is part of the production process data or is extracted from the production process data.
[0045] The production process data may include all operating data during the operation of the equipment. These data can be used for subsequent production process analysis, maintenance of processing equipment, and fault analysis, etc. However, due to the large amount of production process data, if it is transmitted to the central gateway node, it will inevitably cause a huge burden on the central gateway node. Therefore, the production process data of the processing equipment can be stored in the local gateway node. The local gateway node here refers to the gateway node that has a direct control relationship with the processing equipment.
[0046] Based on the above-mentioned data storage mechanism, the production process data with a large amount of data is stored in the gateway node corresponding to the processing equipment, thereby reducing the pressure on the central gateway node and the pressure on data transmission. And based on such a mechanism, the production process data of the processing equipment is actually also dispersedly stored in each gateway node. When some of the gateway nodes fail, only part of the production process data is damaged. In the prior art, the production process data is stored in the edge network server. Once a problem occurs, all the production process data will be damaged. In addition, based on the edge service network of the peer-to-peer network architecture of the present invention, some data backup mechanisms can also be flexibly designed to back up the local production process data of the processing equipment stored in each gateway node on other gateway nodes, thereby further ensuring data security and reliability.
[0047] The above introduces the overall architecture of the edge service network of an embodiment of the present invention. As mentioned earlier, the central gateway node and the non-central gateway node are merely role divisions. In the edge service network, each gateway node may serve as a central gateway node. This role is determined through a preset election strategy, which is mainly based on a dynamic evaluation of the processing capabilities of each gateway node.
[0048] Specifically, for each gateway node, the following process of determining the central gateway node is performed periodically (for example, once every hour) or in response to some triggering conditions:
[0049] Each gateway node will broadcast its own node capability information to other gateway nodes, and will also receive node capability information from other gateway nodes. This node capability information is real-time and may include, for example, CPU usage, memory occupancy, data transfer rate, etc.
[0050] Each gateway node will compare its own capability status with the capability status of other gateway nodes based on a preset capability evaluation algorithm to determine whether it can serve as the central gateway node of the edge service network. If it can serve as a central gateway node, it will broadcast the central gateway node information to other gateway nodes and establish a communication connection with the cloud. Otherwise, it will wait to receive the central gateway node information from other gateway nodes.
[0051] The reason why a dynamic method is used to determine the central gateway node is, on the one hand, to effectively utilize the computing resources of the edge service network and allow gateway nodes with better capabilities to play the role of central gateway nodes. On the other hand, it is also to avoid problems with the central gateway node and affect the data processing of the entire edge service network. Therefore, in addition to the timed triggering of the above-mentioned process of determining the central gateway node, the operation of the central gateway node will also be detected. When an abnormality is found in the central gateway node, the process of re-determining the central gateway node will be triggered in time. Specifically, each gateway node can directly establish a heartbeat connection. When an abnormality occurs in the heartbeat connection with the central gateway node, the process of re-determining the central gateway node is triggered.
[0052] In addition, the processing method of the edge network service of the embodiment of the present invention can also be applied to scenarios other than processing and manufacturing. In many service fields, different resources need to be allocated according to orders to achieve efficient collaborative operation of various resources. For such real-time small-granularity resource application scenarios, the technical ideas in the embodiment of the present invention can be used to allocate and control resources, wherein the cloud performs the arrangement of processing procedures and tasks based on order requirements, and then after the central gateway node is determined in the edge service network, tasks are allocated according to the processing procedures and task data issued by the cloud to achieve efficient use of resources.
[0053] Typical application scenarios include medical care, where a cloud-based medical platform collects various medical orders. The medical orders mentioned here mainly refer to the needs of users to place medical orders. The cloud-based medical platform can orchestrate and optimize a large number of medical orders to form different medical task packages. The medical task packages mentioned here include medical tasks for multiple patients in multiple links. For example, different patients may need to receive treatments including: examination, diagnosis, surgery, rehabilitation, etc. Each hospital can configure one or more gateway nodes, and the network nodes of multiple hospitals form an edge service network. These gateway nodes use the mechanism provided in the embodiment of the present invention to dynamically elect a central gateway node, and then the central gateway node performs unified medical task allocation according to the resource status of each hospital, such as personnel, equipment, and wards, so as to achieve efficient use of medical volunteers.
[0054] Embodiment 1
[0055] like Figure 2 As shown, it is a flow chart of a method for processing edge network services according to an embodiment of the present invention, the method comprising:
[0056] S101: According to a preset strategy, a central gateway node is determined in an edge service network, wherein the edge service network is composed of a plurality of peer gateway nodes. The preset strategy mentioned here mainly refers to determining a gateway node suitable as a central gateway node based on the capability status evaluation of each gateway node. Since the transactions processed by each gateway node are not static, the capability status evaluation proposed in the embodiment of the present invention is also real-time, that is, a gateway node with a strong capability status within the current period of time is selected as a central gateway node. The capability status mentioned here may include: fixed hardware capability configuration (such as CPU model, memory size, etc.), hardware usage status (such as CPU occupancy, memory occupancy, etc.), system operation status (system type in gateway node, system operation fluency, interface bandwidth limitation, number of threads in operation, etc.), number of connected processing equipment, etc. In short, the capability evaluation of each gateway node can comprehensively consider multiple factors according to actual needs to determine a central gateway node that meets actual needs.
[0057] In addition, the determination and processing of the central gateway node can be carried out in a dynamic manner, can be executed regularly, or can be initiated based on certain trigger conditions. Since the role of the central gateway node is very important, if an abnormality occurs, it must be switched to other gateway nodes in time for execution. In order to better deal with such anomalies, a heartbeat connection is established between the non-central gateway node and the central gateway node. When an abnormality occurs in the heartbeat connection, the execution is triggered according to the preset strategy to determine the processing of the central gateway node in the edge service network.
[0058] It should be noted that the above-mentioned determination process of the central gateway node can be considered as the preparation process for the edge service network to start executing processing tasks, that is, after the role of the central gateway node is determined, within a period of time, the central gateway node will repeat the processing of steps S102 and S103, and the non-central gateway node will execute the processing of step S104.
[0059] S102: The central gateway node receives the data sent from the cloud and generates production tasks based on the data sent from the cloud. The central gateway node acts as a centralized server, and one of its main functions is to interact with the cloud, receive various data sent from the cloud, and report various production data to the cloud. The data sent from the cloud here can be the production process package generated by the cloud.
[0060] S103: The central gateway node allocates production tasks to the gateway nodes connected to the processing equipment in the edge service network according to the production tasks and the processing resource status of each gateway node in the edge network service. The processing resource status may include: one or any multiple of the resources of the processing equipment controlled by the gateway node, the processing data stored in the gateway node, and the load status of the processing equipment controlled by the gateway node. Since different gateway nodes may correspond to different factories or different production areas, the resource conditions of the processing equipment in each part are different. Therefore, when allocating tasks, the processing equipment resources corresponding to these gateway nodes can be fully considered, so as to achieve reasonable allocation of processing tasks.
[0061] Another main function of the central gateway node is to dispatch tasks to other non-central gateway nodes according to the data sent from the cloud, thereby triggering actual production operations. It should be noted that in the embodiment of the present invention, the central gateway node and the non-central gateway node are only divided in roles. Since the central gateway node itself is also an ordinary node in the edge service network, it also connects and controls some processing equipment. Therefore, the central gateway node itself can have a dual identity. On the one hand, it acts as a central gateway node to perform centralized task dispatch, and on the other hand, it also acts as a non-central gateway node in the edge service network to accept task dispatch. In addition, after the central gateway node dispatches the production task, each gateway node can also execute the following step S104 to execute the production task.
[0062] S104: Receive the production task allocated by the central gateway node, and control the connected processing equipment according to the production task to execute the production task.
[0063] Furthermore, in an embodiment of the invention, the transactions processed by the cloud and edge service network can be more reasonably allocated, and MES transactions with low real-time requirements can be placed on the cloud for processing, while the edge service network only processes transactions with high real-time requirements.
[0064] The cloud is responsible for connecting with users, receiving production orders, scheduling the production process according to the production orders, generating production process packages, and sending the production process packages to the central gateway node in the edge network service. The production process package can contain the processing tasks that need to be performed by each specific processing equipment. These processing tasks can be industrial control code files, etc., and can be compressed according to certain rules to reduce the amount of transmitted data. After receiving the production process package, the central gateway node can decompose the production process package to obtain the specific processing tasks contained therein.
[0065] After decomposing the production process package, the central gateway node can obtain multiple specific processing tasks. The central gateway node can allocate each production task to a specific non-central gateway node based on the idle status of each processing equipment and the control relationship between each processing equipment and each non-central gateway node. Production task allocation can be specifically based on the type of processing equipment required for the processing task, the idle status of each processing equipment, and the network location of each processing equipment (the corresponding relationship with the non-central gateway node). In addition, cloud-based production scheduling optimization can also refine specific processing tasks to correspond to specific processing equipment. In this case, the central gateway node only needs to allocate according to the gateway node corresponding to the processing equipment, that is, send the processing task to the non-central gateway node corresponding to the processing equipment, thereby triggering the execution of the processing task.
[0066] After receiving the production task assigned by the central gateway node, each non-central gateway node controls the processing equipment connected to it according to the production task to execute the production task.
[0067] In addition, in terms of data storage and reporting, it is no longer necessary to centralize all production process data on the edge server as in the prior art. In an embodiment of the present invention, the production process data of the processing equipment can be recorded in the non-central gateway node connected to it, and only the production status data is reported to the central gateway node. Among them, the production status data can be included in the production process data or extracted from the production process data. The central gateway node can learn the completion status of the production tasks of the processing equipment through the production status data, so as to carry out subsequent production task deployment. All production process data of the processing equipment can be stored only in the local (relative to the processing equipment) gateway node, and then retrieved according to actual needs. Such a data distribution method is conducive to reducing the data storage pressure and data transmission pressure of the central gateway node, and the decentralized data storage method has a strong disaster recovery capability.
[0068] From the above division of labor, it can be seen that in the embodiment of the present invention, the central gateway node focuses on communicating with the cloud and allocating production tasks, and is not responsible for controlling specific processing equipment, that is, it only handles matters that require centralized processing. As for the realization of the processing technology, the specific non-central gateway node controls the specific processing equipment to complete it. Through such a mechanism, the computing resources of each gateway node are fully utilized, and the functions performed by the edge network server of the prior art are distributed to the central gateway node and multiple non-central gateway nodes to complete together, which is equivalent to virtualizing an efficient edge network server using the entire edge service network.
[0069] In addition, it should be noted that the central gateway node and the non-central gateway node are merely a division of roles. The central gateway node can also have the function of a non-central gateway node, that is, it can act as a central gateway node while also serving as a non-gateway node in the edge service network, undertaking production tasks and controlling and processing the processing equipment connected to it to perform production tasks.
[0070] The above describes the overall operation of the edge service network of the embodiment of the present invention. The following further describes the process of determining the central gateway node. Figure 3 As shown, it is a schematic diagram of the process flow of determining the central gateway node in an embodiment of the present invention. The above-mentioned process of determining the central gateway node can be determined by each gateway node, which is equivalent to electing the central gateway node. Specifically, each gateway node can perform the following processing:
[0071] S1011: broadcast its own node capability information to other gateway nodes in the edge service network, and receive node capability information broadcasted by other gateway nodes.
[0072] S1012: According to the preset capability evaluation algorithm and the node capability information of each gateway node in the edge service network, determine whether it can serve as the central gateway node of the edge service network. If the judgment result is that it can serve as the central gateway node, execute S1013; otherwise, execute S1014.
[0073] S1013: Broadcast the central gateway node information to other gateway nodes and establish a communication connection with the cloud. In this case, the current gateway node is characterized as a central gateway node and starts to perform the role of centralized processing.
[0074] S1014: Waiting to receive central gateway node information from other gateway nodes. In this case, there must be a gateway node that meets the capability requirements of the central gateway node, and the role of the current gateway node is characterized as a non-central gateway node.
[0075] The above-mentioned process of determining the central gateway node is only an example, and other methods can also be used for determination. For example, the capability status of each gateway node can be reported to the cloud, and the cloud will formulate the central gateway node according to the preset strategy. In addition, an idle node can also be set to evaluate the capability status of each gateway node, so as to comprehensively determine the central gateway node.
[0076] The processing method of edge network services in the embodiment of the present invention realizes the functions of the edge network server by the central gateway node and multiple decentralized gateway nodes, which is equivalent to building a virtual edge network server using multiple gateway nodes of the edge service network, thereby distributing the centralized edge network server processing to multiple gateway nodes for sharing, but at the same time it can also realize unified centralized production task allocation, combining the advantages of centralization and distribution, and improving the processing efficiency of the edge service network.
[0077] Embodiment 2
[0078] like Figure 4 As shown, it is a schematic diagram of the structure of the processing device of the edge network service of an embodiment of the present invention, and the device can be set in each peer gateway node in the edge service network. Among them, each gateway node may be determined as a central gateway node or as a non-central gateway node, Figure 4 Each module shown in the figure will decide whether to play the corresponding function according to the specific role.
[0079] like Figure 4 As shown, the processing device of the edge network service includes the following modules for executing the central gateway node function:
[0080] The cloud interaction module 21 is used to receive data sent from the cloud and generate production tasks according to the data sent from the cloud. The data sent from the cloud here can be a production process package generated by the cloud. As mentioned above, the transactions processed by the cloud and the edge service network can be more reasonably allocated, and the MES transactions with low real-time requirements can be placed in the cloud for processing, and the edge service network only processes transactions with high real-time requirements.
[0081] The cloud is responsible for connecting with users, receiving production orders, scheduling production processes according to production orders, generating production process packages, and sending production process packages to the central gateway node in the edge network service. Accordingly, generating production tasks based on data sent by the cloud can specifically include: receiving production process packages sent by the cloud, and decomposing the production process packages into multiple production tasks.
[0082] The production task allocation module 22 is used to allocate production tasks to the gateway nodes connected to the processing equipment in the edge service network according to the production tasks and the processing resource status of each gateway node in the edge network service. The processing resource status may include: one or any multiple of the resources of the processing equipment controlled by the gateway node, the processing data stored in the gateway node, and the load status of the processing equipment controlled by the gateway node.
[0083] Since different gateway nodes may correspond to different factories or different production areas, the resource conditions of the processing equipment in each part are different. Therefore, when assigning tasks, the resource conditions of the processing equipment corresponding to these gateway nodes can be fully considered, so as to achieve reasonable allocation of processing tasks. In addition, it should be noted that in the embodiment of the present invention, the central gateway node and the non-central gateway node are only divided in roles. Since the central gateway node itself is also an ordinary node in the edge service network, it also connects and controls some processing equipment. Therefore, the central gateway node itself can have a dual identity. On the one hand, it acts as a central gateway node to perform centralized task allocation, and on the other hand, it also acts as a non-central gateway node in the edge service network to accept task allocation.
[0084] After decomposing the production process package, the central gateway node can obtain multiple specific processing tasks. The central gateway node can allocate each production task to a specific gateway node based on the idle status of each processing equipment and the control relationship between each processing equipment and each gateway node. Production task allocation can be specifically allocated based on the type of processing equipment required for the processing task, the idle status of each processing equipment, and the network location of each processing equipment (the corresponding relationship with the non-central gateway node). In addition, cloud-based production scheduling optimization can also refine specific processing tasks to correspond to specific processing equipment. In this case, the central gateway node only needs to allocate according to the gateway node corresponding to the processing equipment, that is, send the processing task to the non-central gateway node corresponding to the processing equipment, thereby triggering the execution of the processing task.
[0085] The above two modules are processing modules that function when the gateway node acts as a central gateway node. In addition, the device may also include modules that function when the gateway node acts as a non-central gateway node, specifically including:
[0086] The production task receiving module 23 is used to receive the production tasks allocated by the central gateway node.
[0087] The production task control module 24 is used to control the processing equipment connected thereto according to the production task and execute the production task.
[0088] Furthermore, the device may also include a processing module for data recording and reporting when acting as a non-central gateway node, specifically including:
[0089] The production process data recording module 25 is used to record the production process data of the processing equipment.
[0090] The production status data reporting 26 is used to extract the production status data from the production process data and report it to the central gateway node.
[0091] Among them, the production status data can be included in the production process data or extracted from the production process data. The central gateway node can learn about the completion status of the production tasks of the processing equipment through the production status data, so as to carry out subsequent production task deployment. All the production process data of the processing equipment can be stored only in the local (relative to the processing equipment) gateway node, and then retrieved according to actual needs. This data distribution method is conducive to reducing the data storage pressure and data transmission pressure of the central gateway node. At the same time, the decentralized data storage method has a strong disaster recovery capability.
[0092] In addition, as any gateway node, a central gateway node determination module 27 may also be included, which is used to determine the central gateway node in the edge service network according to a preset strategy. The specific processing performed by the central gateway node determination module may specifically include:
[0093] Broadcast its own node capability information to other gateway nodes in the edge service network;
[0094] Receive node capability information broadcast by other gateway nodes;
[0095] According to the preset capability evaluation algorithm and the node capability information of each gateway node in the edge service network, it determines whether it can serve as the central gateway node of the edge service network. If it can serve as the central gateway node, it broadcasts the central gateway node information to other gateway nodes and establishes a communication connection with the cloud. Otherwise, it waits to receive the central gateway node information from other gateway nodes.
[0096] Among them, a heartbeat connection can be established between the non-central gateway node and the central gateway node, and the central gateway node determination module 27 can monitor the heartbeat connection. When an abnormality occurs in the heartbeat connection, it triggers the execution of the processing of determining the central gateway node in the edge service network according to the preset strategy.
[0097] The processing device of the edge network service of the embodiment of the present invention realizes the functions of the edge network server by the central gateway node and multiple decentralized gateway nodes, which is equivalent to building a virtual edge network server using multiple gateway nodes of the edge service network, thereby distributing the centralized edge network server processing to multiple gateway nodes for sharing, but at the same time it can also realize unified centralized production task allocation, combining the advantages of centralization and distribution, and improving the processing efficiency of the edge service network.
[0098] Embodiment 3
[0099] The embodiment of the present invention also provides a method for processing edge network services, which is mainly run on each gateway node in the edge service network, and dynamically determines the central gateway node based on the negotiation mechanism of each gateway node according to preset rules. Specifically, the method includes:
[0100] S201: Broadcast its own node capability information to other gateway nodes in the edge service network, and receive node capability information broadcast by the other gateway nodes, wherein the node capability information includes: software / hardware configuration information of the gateway node, resource information of the processing equipment controlled by the gateway node, and one or more of the processing data information stored in the gateway node.
[0101] S202: According to the production process information sent from the cloud and the node capability information of the gateway node, determine the central gateway node of the edge service network, and broadcast the determined central gateway node information to the edge service network. At each gateway node, the same preset strategy can be used to comprehensively evaluate each gateway node in the entire edge service network to determine the gateway node that is currently suitable as the central gateway node. Among them, for the strategy of determining the central gateway node, on the one hand, the processing capacity of each gateway node can be considered, and various hardware and software configurations can be designed here. On the other hand, it is also necessary to reasonably determine it in combination with the current production process to be executed. For example, the current production process may require a large-scale production and processing center, then the corresponding main gateway node of the production and processing center (a large processing center may have multiple gateway nodes) can be used as the central gateway node. Since the gateway node of the production and processing center controls more processing equipment resources and stores more processing data locally, it is more convenient to perform task allocation on each processing equipment of the production and processing center to achieve large-scale production and processing. For another example, the current production process requires multiple different types of machining centers to work together, and their information interaction is relatively frequent. In this case, the relatively idle gateway nodes in the edge service network can be preferentially selected as the central gateway nodes to effectively process information interaction.
[0102] S203: The central gateway node establishes a communication connection with the cloud and receives the production process package from the cloud. After the central gateway node is determined, it can be connected to the cloud to receive and decompose the production process package on the one hand, and to dispatch tasks to each gateway node in the edge service network on the other hand.
[0103] The edge network service processing method of this embodiment realizes the functions of the edge network server by a central gateway node and multiple decentralized gateway nodes, and dynamically selects a central gateway node through a dynamic negotiation mechanism according to the characteristics of the production process and the resource status of each gateway node, and fully utilizes the node resources of the edge service network to build a virtual edge network server, thereby distributing the centralized edge network server processing to multiple gateway nodes for sharing, but at the same time can also achieve unified centralized production task allocation, combining the advantages of centralization and distribution, and improving the processing efficiency of the edge service network.
[0104] Embodiment 4
[0105] The embodiment of the present invention further provides a processing method for intelligent manufacturing, which utilizes an edge service network to realize intelligent decomposition and deployment of orders, thereby realizing intelligent manufacturing, and specifically may include:
[0106] S301: The central gateway node of the edge service network receives the production order issued by the cloud. The cloud provides functions for interacting with each user, and after obtaining the user's order, it will be sent to the central gateway node of the edge service network connected to the factory's processing equipment.
[0107] S302: Determine multiple production tasks based on the production process corresponding to the production order. For different orders, the production process is different, so there will be different corresponding production tasks. Especially in the case of batch orders, the production process will reasonably arrange various process flows according to the specific processing content of the batch order to maximize efficiency. The production process can be arranged from the cloud and sent to the central gateway node together with the order, or pre-configured in the edge service network to obtain the corresponding production process according to different order contents.
[0108] S303: According to the production and processing resource status of each node in the edge network, the multiple generation tasks are allocated to the corresponding nodes so that each node sends the received production tasks to the connected production equipment for processing. As described above, the processing resource status may include: one or any multiple of the resources of the processing equipment controlled by the gateway node, the processing data stored in the gateway node, and the load status of the processing equipment controlled by the gateway node.
[0109] Based on the intelligent manufacturing processing method of the embodiment of the present invention, for production orders issued from the cloud, the edge service network composed of multiple nodes can allocate tasks according to the production and processing resource status of each node, thereby realizing intelligent production and manufacturing and improving production and processing efficiency.
[0110] Embodiment 5
[0111] The above embodiments describe the processing flow and device structure of edge network services. The functions of the above methods and devices can be implemented with the help of an electronic device, such as Figure 5 As shown, it is a schematic diagram of the structure of an electronic device according to an embodiment of the present invention, which specifically includes: a memory 110 and a processor 120.
[0112] The memory 110 is used to store programs.
[0113] In addition to the above-mentioned programs, the memory 110 may also be configured to store various other data to support operations on the electronic device. Examples of such data include instructions for any application or method operating on the electronic device, contact data, phone book data, messages, pictures, videos, etc.
[0114] The memory 110 may be implemented by any type of volatile or nonvolatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk.
[0115] The processor 120 is coupled to the memory 110 and is used to execute the program in the memory 110 to perform the operation steps of the edge network service processing method described in the above embodiments.
[0116] In addition, the processor 120 may also include various modules described in the aforementioned embodiments to perform processing of edge network services, and the memory 110 may be used, for example, to store data required for these modules to perform operations and / or output data.
[0117] The specific description of the above-mentioned processing process, the detailed description of the technical principle and the detailed analysis of the technical effect have been described in detail in the previous embodiments and will not be repeated here.
[0118] Furthermore, as shown in the figure, the electronic device may also include other components such as a communication component 130, a power component 140, an audio component 150, and a display 160. The figure only schematically shows some components, which does not mean that the electronic device only includes the components shown in the figure.
[0119] The communication component 130 is configured to facilitate wired or wireless communication between the electronic device and other devices. The electronic device can access a wireless network based on a communication standard, such as WiFi, 2G, 3G, 4G / LTE, 5G and other mobile communication networks, or a combination thereof. In an exemplary embodiment, the communication component 130 receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 130 also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology and other technologies.
[0120] The power supply component 140 provides power to various components of the electronic device. The power supply component 140 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to the electronic device.
[0121] The audio component 150 is configured to output and / or input audio signals. For example, the audio component 150 includes a microphone (MIC), and when the electronic device is in an operating mode, such as a call mode, a recording mode, and a voice recognition mode, the microphone is configured to receive an external audio signal. The received audio signal can be further stored in the memory 110 or sent via the communication component 130. In some embodiments, the audio component 150 also includes a speaker for outputting audio signals.
[0122] The display 160 includes a screen, which may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundaries of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation.
[0123] Those skilled in the art can understand that all or part of the steps of implementing the above-mentioned method embodiments can be completed by hardware related to program instructions. The aforementioned program can be stored in a computer-readable storage medium. When the program is executed, the steps of the above-mentioned method embodiments are executed; and the aforementioned storage medium includes: ROM, RAM, disk or optical disk and other media that can store program codes.
[0124] 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 with equivalents. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present invention.
Claims
1. A method for processing edge network services, comprising: Receive a production process package sent from the cloud, and generate multiple production tasks according to the production process package; According to the preset strategy, determine the central gateway node in the edge service network; Determining the central gateway node in the edge service network according to the preset strategy includes: each gateway node in the edge service network performs the following processing: broadcasting its own node capability information to other gateway nodes in the edge service network; receiving the node capability information broadcast by the other gateway nodes; judging whether it can serve as the central gateway node of the edge service network according to the preset capability evaluation algorithm and the node capability information of each gateway node, if it can serve as the central gateway node, broadcasting the central gateway node information to the other gateway nodes and establishing a communication connection with the cloud, otherwise, waiting to receive the central gateway node information from the other gateway nodes; According to the multiple production tasks and the processing resource status of each gateway node in the edge network service, production tasks are allocated to each gateway node in the edge service network. The processing resource status includes: one or more of the resources of the processing equipment controlled by the gateway node, the processing data stored in the gateway node, and the load status of the processing equipment controlled by the gateway node.
2. The method according to claim 1, wherein: It also includes: the cloud schedules the production process according to the production order to generate the production process package; and sends the production process package to the central gateway node in the edge network service.
3. The method according to claim 1, wherein: Also includes: Receiving production tasks allocated by the central gateway node; According to the production task, the connected processing equipment is controlled to execute the production task.
4. The method according to claim 3, wherein: Also includes: Record the production process data of the processing equipment connected to it; Production status data is extracted from the production process data and reported to the central gateway node.
5. The method according to claim 1, wherein: Also includes: A heartbeat connection is established between the non-central gateway node and the central gateway node. When an abnormality occurs in the heartbeat connection, a process of determining the central gateway node in the edge service network according to a preset strategy is triggered.
6. A processing device for edge network services, comprising: A cloud interaction module receives a production process package sent from the cloud and generates multiple production tasks according to the production process package; A central gateway node determination module is used to determine a central gateway node in an edge service network according to a preset strategy; the determination of a central gateway node in an edge service network according to a preset strategy includes: each gateway node in the edge service network performs the following processing: broadcasts its own node capability information to other gateway nodes in the edge service network; receives the node capability information broadcast by the other gateway nodes; determines whether it can serve as a central gateway node of the edge service network according to a preset capability evaluation algorithm and the node capability information of each gateway node, and if it can serve as the central gateway node, broadcasts the central gateway node information to the other gateway nodes and establishes a communication connection with the cloud, otherwise, waits to receive the central gateway node information from the other gateway nodes; A production task allocation module is used to allocate production tasks to each gateway node in the edge service network according to the multiple production tasks and the processing resource status of each gateway node in the edge network service. The processing resource status includes: one or more of the resources of the processing equipment controlled by the gateway node, the processing data stored in the gateway node, and the load status of the processing equipment controlled by the gateway node.
7. The device according to claim 6, wherein: Also includes: A production task receiving module, used to receive production tasks allocated by the central gateway node; The production task control module is used to control the processing equipment connected to it according to the production task and execute the production task.
8. The device according to claim 6, wherein: Also includes: The production process data recording module is used to record the production process data of the processing equipment; The production status data reporting module is used to extract the production status data from the production process data and report it to the central gateway node.
9. A method for processing edge network services, comprising: Broadcast its own node capability information to other gateway nodes in the edge service network, and receive the node capability information broadcast by the other gateway nodes, wherein the node capability information includes: one or more of the software / hardware configuration information of the gateway node, resource information of the processing equipment controlled by the gateway node, and the processing data information stored in the gateway node; Determine the central gateway node of the edge service network according to the production process information and the node capability information of the gateway node sent from the cloud, and broadcast the determined central gateway node information to the edge service network; The central gateway node establishes a communication connection with the cloud and receives the production process package from the cloud.
10. A processing method for intelligent manufacturing, comprising: The central gateway node of the edge service network receives production orders issued by the cloud; The central gateway node is determined in the edge service network according to a preset strategy, including: each gateway node in the edge service network performs the following processing: broadcasts its own node capability information to other gateway nodes in the edge service network; receives the node capability information broadcast by the other gateway nodes; determines whether it can serve as the central gateway node of the edge service network according to a preset capability evaluation algorithm and the node capability information of each gateway node, and if it can serve as the central gateway node, broadcasts the central gateway node information to the other gateway nodes and establishes a communication connection with the cloud, otherwise, waits to receive the central gateway node information from the other gateway nodes; Determine multiple production tasks based on the production process corresponding to the production order; According to the production and processing resource status of each node in the edge service network, the multiple generation tasks are allocated to the corresponding nodes, so that each node sends the received production tasks to the connected production equipment for processing.
11. An electronic device, comprising: Memory, used to store programs; A processor, configured to run the program stored in the memory to execute the edge network service processing method according to any one of claims 1 to 5, 9, and 10.
Citation Information
Patent Citations
ENF selection for NFVI
CN107211038A
Cloud computing network architecture and method for enhancing reliability of cloud network architecture
CN107493334A