Configuration methods, devices, electronic equipment and media for communication networks of industrial control equipment
By generating and distributing network engineering configuration packages through 5G edge cloud servers, the problem of difficult network configuration changes for industrial control equipment is solved, enabling flexible networking and efficient operation and maintenance, and supporting rapid and flexible production.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-07-04
- Publication Date
- 2026-04-03
AI Technical Summary
In existing technologies, the network configuration of industrial control equipment is difficult to change and the operation and maintenance efficiency is low, which limits the flexible production capabilities of the equipment and cannot support the needs of flexible production.
The system receives network configuration requests through a 5G edge cloud server, generates network engineering configuration packages, and distributes them to industrial control equipment via the 5G network. It also utilizes multi-container collaboration to generate network configuration packages, enabling flexible networking and configuration of industrial control equipment.
It improves operational efficiency, supports rapid and flexible production on the production line, reduces maintenance costs, and eliminates the need for complex wiring and proprietary network equipment.
Smart Images

Figure CN116684278B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of industrial Internet of Things (IoT) technology, and in particular to a configuration method, apparatus, electronic device, and computer-readable storage medium for an industrial control equipment communication network. Background Technology
[0002] Currently, collaborative processes in production rely on simulation systems for computation. After the computation is completed, engineers need to deploy and debug the program on the production site. The difficulty of operation and maintenance is directly proportional to the spatial location of the industrial control equipment. Moreover, as the number of automated equipment increases, the network formed by the equipment becomes more and more complex.
[0003] Therefore, the method of having engineers deploy programs on-site results in low operation and maintenance efficiency, and there are problems such as difficulty in flexibly changing network configurations once deployed, limiting the ability of equipment to produce flexibly, and not supporting flexible production needs. Summary of the Invention
[0004] The technical problem to be solved by the present invention is to address the above-mentioned shortcomings of the prior art by providing a method, apparatus, electronic device and computer-readable storage medium for configuring communication networks of industrial control equipment, so as to at least solve the problems of difficult network configuration changes and low operation and maintenance efficiency of industrial control equipment in the related art.
[0005] In a first aspect, the present invention provides a method for configuring a communication network for industrial control equipment, applied to a 5G edge cloud server, comprising: receiving a network configuration request, the network configuration request including network configuration information; generating a network engineering configuration package corresponding to the industrial control equipment to be networked based on the network configuration information; and distributing the network engineering configuration package to the corresponding industrial control equipment to be networked via a 5G network, so that the industrial control equipment to be networked can complete the network configuration.
[0006] Preferably, before receiving the network configuration request, the method further includes: receiving the network registration of a new industrial control device; determining whether the model of the new industrial control device matches the model in the device model library; and, in response to a model mismatch, adding a new device model data container to store the model data of the new industrial control device, wherein the model data includes the industrial control device module number and at least one of the following: a list of protocols supported by the industrial control device, a list of industrial control device locations, and an industrial control device calling method.
[0007] Preferably, after receiving the network configuration request and before generating the corresponding network engineering configuration package for the industrial control device to be networked based on the network configuration information, the method further includes: creating a network configuration master container based on the network configuration request.
[0008] Preferably, the network configuration main container includes a network container, a data management container, an input / output (I / O) container, a bus container, a protocol conversion container, a process container, and a communication module container.
[0009] The step of generating the corresponding network engineering configuration package for the industrial control devices to be networked based on the network configuration information specifically includes: the network container converting the network configuration information into a network engineering project, and obtaining the model data of the industrial control devices to be networked from the data management container according to the network engineering project; the network container sending the network engineering project to the IO container, and obtaining the first configuration package of the network engineering project generated by the IO container according to the network engineering project and the fixed IP assigned by the IO container to each industrial control device to be networked; the network container sending the network engineering project to the bus container, so that the bus container establishes intra-group and inter-group data channels for the industrial control devices to be networked according to the network engineering project; and the network container sending the network engineering project to the protocol conversion container. The network engineering is sent so that the protocol conversion container can set conversion parameters in the data channels inside and outside the group, so that the data formats between different types of devices can be converted into a unified data format; the network container, data management container, input / output IO container, bus container, and protocol conversion container all send confirmation requests to the process container so that the process container can generate corresponding process configuration packages based on the model data of the industrial control equipment to be networked and the upstream and downstream configuration data of other containers according to the business process; the communication module container converts the network engineering configuration package into the data format transmitted by the 5G module, wherein the network engineering configuration package includes a first network engineering configuration package and a process configuration package.
[0010] Preferably, the network configuration includes changing the network topology or creating a new network.
[0011] The network configuration master container also includes an interaction container. The interaction container transmits network configuration information to the network container through the internal transmission mechanism of the network configuration master container. The network configuration information includes at least one of the following: network group protocol information, bus information, gateway, subnet mask, and port number.
[0012] Preferably, after the network engineering configuration package is distributed to the corresponding industrial control devices to be networked via the 5G network, the method further includes: determining whether there is a network group or industrial control device in the network configuration main container; and destroying the network configuration main container in response to the absence of a network group or industrial control device in the network configuration main container.
[0013] Secondly, the present invention also provides a configuration device for an industrial control equipment communication network, applied to a 5G edge cloud server, comprising: a receiving module for receiving a network configuration request, the network configuration request including network configuration information; and a network configuration main container connected to the receiving module for generating a corresponding network engineering configuration package for the industrial control equipment to be networked based on the network configuration information, and further for distributing the network engineering configuration package to the corresponding industrial control equipment to be networked via a 5G network, so that the industrial control equipment to be networked can complete the network configuration.
[0014] Preferably, the device further includes a creation module.
[0015] Create a module that connects to the receiving module to create a network configuration master container based on the network configuration request.
[0016] Preferably, the network configuration main container includes a network container, a data management container, an input / output (I / O) container, a bus container, a protocol conversion container, a process container, and a communication module container.
[0017] A network container, connected to a data management container, is used to convert the network configuration information into a network project and obtain model data of the industrial control equipment to be networked from the data management container based on the network project.
[0018] A data management container used to store model data of industrial control devices to be networked.
[0019] The IO container connects to the network container and is used to receive network engineering data sent by the network container, generate a first configuration package for the network engineering data based on the network engineering data, assign a fixed IP address to each industrial control device to be networked, and return the first configuration package and the fixed IP address to the network container.
[0020] The bus container connects to the network container and is used to receive network engineering data sent by the network container, and to establish data channels within and outside the network for the industrial control equipment to be networked based on the network engineering data.
[0021] The protocol conversion container, connected to the network container and the bus container, is used to receive network engineering data sent by the network container and set conversion parameters in the data channels within and outside the group to convert the data formats of different types of devices into a unified data format.
[0022] The process container is connected to the network container, data management container, input / output IO container, bus container, and protocol conversion container respectively. It is used to receive confirmation requests sent by the network container, data management container, input / output IO container, bus container, and protocol conversion container, and generate corresponding process configuration packages based on the confirmation requests, by combining the model data of the industrial control equipment to be networked with the upstream and downstream configuration data of other containers according to the business process.
[0023] The communication module container, connected to the process container and the network container, is used to convert the network engineering configuration package into the data format transmitted by the 5G module. The network engineering configuration package includes a first network engineering configuration package and a process configuration package.
[0024] Preferably, the network configuration includes changing the network topology or creating a new network.
[0025] The network configuration master container also includes an interaction container. The interaction container, connected to the network container, is used to transmit network configuration information to the network container through the internal transmission mechanism of the network configuration master container. The network configuration information includes at least one of the following: network group protocol information, bus information, gateway, subnet mask, and port number.
[0026] Thirdly, the present invention also provides an electronic device, including a memory and a processor, wherein the memory stores a computer program and the processor is configured to run the computer program to implement the configuration method of the industrial control equipment communication network as described in the first aspect.
[0027] Fourthly, the present invention also provides a computer-readable storage medium having a computer program stored thereon, wherein when the computer program is executed by a processor, it implements the configuration method of the industrial control equipment communication network as described in the first aspect.
[0028] The present invention provides a method, apparatus, electronic device, and computer-readable storage medium for configuring industrial control equipment communication networks. Based on 5G communication, the network can be flexibly configured without complex wiring or proprietary network equipment. It achieves flexible configuration of industrial control communication networks through 5G edge virtualization technology, improves operation and maintenance efficiency, and supports rapid and flexible production on production lines. Attached Figure Description
[0029] Figure 1 This is a flowchart illustrating a method for configuring a communication network for industrial control equipment according to Embodiment 1 of the present invention;
[0030] Figure 2 This is a schematic diagram of the configuration device for an industrial control equipment communication network according to Embodiment 2 of the present invention;
[0031] Figure 3 This is a schematic diagram of the configuration system of an industrial control equipment communication network according to Embodiment 3 of the present invention;
[0032] Figure 4 This is a schematic diagram of the structure of an electronic device according to Embodiment 4 of the present invention. Detailed Implementation
[0033] To enable those skilled in the art to better understand the technical solution of the present invention, the embodiments of the present invention will be further described in detail below with reference to the accompanying drawings.
[0034] It is understood that the specific embodiments and accompanying drawings described herein are merely for explaining the invention and are not intended to limit the invention.
[0035] It is understood that, without conflict, the various embodiments and features in the embodiments of the present invention can be combined with each other.
[0036] It is understood that, for ease of description, only the parts related to the present invention are shown in the accompanying drawings, while the parts unrelated to the present invention are not shown in the drawings.
[0037] It is understood that each unit or module involved in the embodiments of the present invention may correspond to only one entity structure, or may be composed of multiple entity structures, or multiple units or modules may be integrated into one entity structure.
[0038] It is understood that, without conflict, the functions and steps marked in the flowcharts and block diagrams of this invention may occur in a different order than that marked in the accompanying drawings.
[0039] It is understood that the flowcharts and block diagrams of this invention illustrate the possible architecture, functions, and operations of systems, apparatuses, devices, and methods according to various embodiments of this invention. Each block in the flowchart or block diagram may represent a unit, module, program segment, or code, containing executable instructions for implementing the specified function. Furthermore, each block or combination of blocks in the block diagram and flowchart can be implemented using a hardware-based system to achieve the specified function, or using a combination of hardware and computer instructions.
[0040] It is understood that the units and modules involved in the embodiments of the present invention can be implemented by software or by hardware. For example, the units and modules can be located in a processor.
[0041] Example 1:
[0042] like Figure 1 As shown, this embodiment provides a method for configuring a communication network for industrial control equipment, applied to a 5G edge cloud server. The method includes:
[0043] Step 101: Receive network configuration request, which includes network configuration information.
[0044] In this embodiment, the network configuration request can be initiated by a user terminal via the 5G network or by industrial control equipment via a 5G module. Network configuration includes changing the network topology or creating a new network. An example of changing the network topology is one or more industrial control devices switching from a first network to a second network. Network configuration information includes, but is not limited to, network group protocol information, bus information, IP (Internet Protocol) address, gateway, subnet mask, port number, industrial control equipment module number, etc.
[0045] Optionally, before the 5G edge cloud server receives the network configuration request, the method further includes: receiving the network registration of a new industrial control device; determining whether the model of the new industrial control device matches the model in the device model library; and, in response to a model mismatch, adding a new device model data container to store the model data of the new industrial control device, wherein the model data includes the industrial control device module number and at least one of the following: a list of protocols supported by the industrial control device, a list of industrial control device locations, and an industrial control device calling method.
[0046] In this embodiment, when a new industrial control device registers to the network, the 5G edge cloud server registers it based on the module number of the industrial control device. When a new type of industrial control device registers to the network, the 5G edge cloud server automatically searches the device model library. The device model library stores model data for various models of industrial control devices. If the models do not match, the device model container is activated, and a new device model data container is created. The data is stored in an unstructured manner. The stored content includes, but is not limited to, a list of protocols supported by the industrial control device, a list of industrial control device locations, the industrial control device calling methods, and the industrial control device module number. For example, the list of protocols supported by the industrial control device includes the names of communication protocols that can communicate with the industrial control device, such as recording the information formats that the device can interpret (Modbus format, ProfileNet format, etc.). The list of industrial control device locations includes the names and number of input and output parameters of the industrial control device, the parameter type (analog or digital), and a data dictionary for the meaning of each parameter, such as whether the device is on or off, pressure sensor data of the device, etc. Device invocation method: This defines the specific signals a device receives and the corresponding functions it performs. These functions include, but are not limited to, high-speed operation, low-speed operation, cooling, and heating. By building a device model library, similar or heterogeneous industrial control devices can be virtualized on 5G edge cloud servers. This provides the basic data for generating corresponding network engineering configuration packages for these industrial control devices, allowing for flexible configuration and resulting in more accurate network engineering configuration packages.
[0047] Step 102: Generate the corresponding network engineering configuration package for the industrial control equipment to be networked based on the network configuration information.
[0048] In this embodiment, the 5G edge cloud server generates corresponding network engineering configuration packages for the industrial control devices to be networked based on network configuration information. Since the models of the industrial control devices to be networked are different, each industrial control device has a corresponding network engineering configuration package, which can solve the networking needs of heterogeneous devices.
[0049] Optionally, a 5G edge cloud server creates a network configuration master container based on the network configuration request. One network configuration corresponds to one network configuration master container.
[0050] Optionally, the network configuration main container includes a network container, a data management container, an input / output (I / O) container, a bus container, a protocol conversion container, a process container, and a communication module container.
[0051] Specifically, generating the corresponding network engineering configuration package for the industrial control equipment to be networked based on the network configuration information includes: the network container converting the network configuration information into a network engineering project, and obtaining the model data of the industrial control equipment to be networked from the data management container based on the network engineering project; the network container sending the network engineering project to the IO container, and obtaining the first configuration package of the network engineering project generated by the IO container based on the network engineering project and the fixed IP assigned by the IO container to each industrial control equipment to be networked; the network container sending the network engineering project to the bus container, so that the bus container establishes intra-group and inter-group data channels for the industrial control equipment to be networked based on the network engineering project; the network container sending the network engineering project to the protocol conversion container, so that the protocol conversion container sets conversion parameters in the intra-group and inter-group data channels, so that the data formats between different types of devices are converted into a unified data format; the network container, data management container, input / output IO container, bus container, and protocol conversion container all send confirmation requests to the process container, so that the process container generates the corresponding process configuration package based on the business process by combining the model data of the industrial control equipment to be networked with the upstream and downstream configuration data of other containers; and the communication module container converting the network engineering configuration package into the data format transmitted by the 5G module, wherein the network engineering configuration package includes the first configuration package of the network engineering project and the process configuration package. By collaboratively generating network engineering configuration packages for industrial control equipment within the same networking requirements using multiple containers, the efficiency of communication network configuration can be improved, enabling rapid and flexible production of industrial equipment. Furthermore, it eliminates the need for industrial control equipment to have network configuration capabilities, thus broadening its application scope.
[0052] Optionally, the network configuration main container also includes an interaction container.
[0053] The interaction container transmits network configuration information to the network container through the internal transmission mechanism of the main network configuration container. This network configuration information includes at least one of the following: network group protocol information, bus information, gateway, subnet mask, and port number. The interaction container and user terminals have a one-to-many relationship. A single interaction container has a user terminal capacity threshold. If the number of user terminals accessing the 5G edge cloud server exceeds the interaction container's capacity threshold, the main network configuration container will automatically create a new interaction container to reduce the pressure on client access.
[0054] Step 103: The network engineering configuration package is distributed to the corresponding industrial control devices to be networked via the 5G network, so that the industrial control devices to be networked can complete the network configuration.
[0055] In this embodiment, the industrial control equipment to be networked can receive network engineering configurations from the 5G edge cloud server via the 5G module and complete the corresponding network configuration. For example, after receiving the corresponding network engineering configuration package, if the industrial control equipment has Layer 3 network communication capabilities, it will restart and automatically configure the engineering package; if it does not have Layer 3 network communication capabilities, there will be no impact. The industrial control equipment to be networked has now completed a rapid switching of communication networks. When the industrial control equipment resumes operation, it will operate collaboratively according to the configured communication network. For example, devices within the group can be configured to communicate at Layer 2, and devices outside the group can communicate at Layer 3. User terminals can also quickly switch multiple industrial control equipment to their original communication networks based on stored original network configuration schemes. The transmission of network engineering configuration packages via the 5G network eliminates the need for complex wiring between industrial control equipment and dedicated network equipment. Flexible configuration of the communication network for industrial control equipment is achieved through 5G edge virtualization computing, reducing maintenance costs.
[0056] Optionally, after the network engineering configuration package is distributed to the corresponding industrial control devices to be networked via the 5G network, the method further includes: determining whether a network group or industrial control device exists within the network configuration main container; and destroying the network configuration main container if no network group or industrial control device exists within it. By promptly destroying the network configuration main container without industrial control devices, system resources of the 5G edge cloud server are saved.
[0057] The configuration method for industrial control equipment communication networks provided in this embodiment, by constructing a device model library, enables the virtualization of similar or heterogeneous industrial control equipment on a 5G edge cloud server. This provides basic data for generating corresponding network engineering configuration packages for the industrial control equipment and allows for flexible configuration, resulting in more accurate network engineering configuration packages. Furthermore, by collaboratively generating network engineering configuration packages for industrial control equipment within the same network requirements using multiple containers, the efficiency of communication network configuration can be improved, enabling rapid and flexible production of industrial equipment. This eliminates the need for industrial control equipment to have network configuration capabilities, broadening its application scope and improving operational efficiency. In addition, transmitting network engineering configuration packages via the 5G network eliminates the need for complex wiring between industrial control equipment and dedicated network devices. Flexible configuration of the industrial control equipment communication network is achieved through 5G edge virtualization computing, reducing maintenance costs. Finally, timely destruction of the main network configuration container without industrial control equipment conserves system resources of the 5G edge cloud server.
[0058] Example 2:
[0059] like Figure 2 As shown, this embodiment provides a configuration device for an industrial control equipment communication network, applied to a 5G edge cloud server, including:
[0060] The receiving module 21 is used to receive a network configuration request, which includes network configuration information.
[0061] The network configuration main container 22 is connected to the receiving module 21. It is used to generate the corresponding network engineering configuration package for the industrial control equipment to be networked according to the network configuration information. It is also used to send the network engineering configuration package to the corresponding industrial control equipment to be networked through the 5G network so that the industrial control equipment to be networked can complete the network configuration.
[0062] Optionally, the device further includes a judgment module 23. The judgment module 23 is used to receive the network registration of new industrial control equipment and determine whether the model of the new industrial control equipment matches the model in the equipment model library. In response to a model mismatch, a new equipment model data container is added to store the model data of the new industrial control equipment. The model data includes the industrial control equipment module number and at least one of the following: a list of protocols supported by the industrial control equipment, a list of industrial control equipment locations, and an industrial control equipment calling method.
[0063] Optionally, the device further includes a creation module 24.
[0064] Create module 24, which is connected to receive module 21, and is used to create a network configuration master container according to the network configuration request.
[0065] Optionally, the network configuration main container includes a network container, a data management container, an input / output (I / O) container, a bus container, a protocol conversion container, a process container, and a communication module container.
[0066] A network container, connected to a data management container, is used to transform the network configuration information into a network project and to obtain model data of the industrial control devices to be networked from the data management container based on the network project. Specifically, the network container is used to provide network packetization capabilities and store network configuration schemes (i.e., network projects).
[0067] The data management container is used to store model data of industrial control devices to be networked. For example, the data management container retrieves the model data of the industrial control devices to be networked from the device model library according to the network engineering, specifically storing the model data with the module number as the primary key.
[0068] The IO container, connected to the network container, receives network engineering data sent by the network container, generates a first configuration packet for the network engineering data based on the network engineering data, and assigns a fixed IP address to each industrial control device to be networked. It then returns the first configuration packet and the fixed IP address to the network container. The IO container also receives data sent by industrial control devices via the 5G network as an intermediate buffer.
[0069] The bus container, connected to the network container, receives network engineering data sent by the network container and establishes intra-group and inter-group data channels for the industrial control devices to be networked based on the network engineering data. Specifically, the bus container stores the bus information of the devices and handles data communication between different industrial control devices. For example, when devices in industrial control network group A and industrial control network group B communicate, the bus container obtains the fixed IP addresses between the industrial control devices through the IO container and establishes a data channel for the two industrial control devices within the 5G edge cloud server.
[0070] The protocol conversion container, connected to the network container and bus container, receives network engineering data sent by the network container and sets conversion parameters within and outside the group's data channels to convert data formats between different types of devices into a unified data format. Specifically, the protocol conversion container parses data formats, converting and decrypting data formats between different industrial control devices to a unified data format that can be displayed in plaintext or stored on the 5G edge cloud server.
[0071] The process container connects to the network container, data management container, I / O container, bus container, and protocol conversion container, respectively. It receives confirmation requests from these containers and, based on these requests, generates corresponding process configuration packages by combining the model data of the industrial control equipment to be networked with the upstream and downstream configuration data of other containers according to the business process. Specifically, the process container also stores the business processes of the industrial control equipment.
[0072] The communication module container, connected to the process container and the network container, is used to convert the network engineering configuration package into the data format transmitted by the 5G module. The network engineering configuration package includes a first network engineering configuration package and a process configuration package.
[0073] Optionally, the network configuration main container may also include an interaction container.
[0074] An interactive container, connected to a network container, is used to transmit network configuration information to the network container through the internal transmission mechanism of the main network configuration container. The network configuration information includes at least one of the following: network group protocol information, bus information, gateway, subnet mask, and port number.
[0075] Optionally, the determination module is further configured to determine whether there is a network group or industrial control device in the network configuration main container, and in response to the absence of a network group or industrial control device in the network configuration main container, to destroy the network configuration main container.
[0076] The industrial control equipment communication network configuration device provided in this embodiment enables flexible configuration of industrial control equipment based on 5G communication. It does not require complex wiring or proprietary network equipment. It achieves flexible configuration of industrial control communication network through 5G edge virtualization technology, supporting rapid and flexible production on the production line.
[0077] Example 3:
[0078] This embodiment provides a configuration method for an industrial equipment communication network, applied to a 5G edge cloud server. The structure of the configuration system for the industrial equipment communication network is as follows: Figure 3 As shown, the main container created for a network configuration request in the 5G edge cloud server includes eight sub-containers: an interaction container, a data management container, a network container, a communication module container, a bus container, a process container, a protocol conversion container, and an I / O container. The 5G edge cloud server stores a device model library containing data on different device models. The device model library communicates with the main container through an internal virtual network. The method of this embodiment is illustrated using an example of a network configuration request changing network groups A, B, and C to network groups AA, BB, and CC.
[0079] The method includes:
[0080] S1: When a user needs to quickly change or create a new industrial equipment network group configuration, they first log in to the terminal system, access the 5G edge cloud server through the 5G network, and enter the interactive interface in the interactive container.
[0081] In S2, the interaction container and users have a one-to-many relationship. A single interaction container has a user capacity limit. If more users access the 5G edge cloud server through their terminals, exceeding the design limit of the interaction container, the main container will automatically produce a new interaction container to reduce the pressure on customer access.
[0082] S3, the interactive container transmits the network configuration information submitted by the user, including but not limited to network group protocol information, bus information, IP address, gateway, subnet mask, port number, device information, etc., to the network container through the internal transmission mechanism of the main container. The network container transforms the network configuration information into a network project and simultaneously sends a request to the data management container to obtain device information stored in data management, such as module number.
[0083] S4. At the same time, the network container sends the network project to the io container and obtains a fixed IP address. The io container forms a network project configuration packet based on the network project information provided by the network container, such as packet information, and sends it to the network container along with the IP information.
[0084] S5, at the same time, the network container sends a network project to the bus container, and the bus container establishes intra-group and inter-group data channels for the device based on the network project.
[0085] S6, at the same time, the network container sends the network project to the protocol conversion container. The protocol conversion container sets the conversion parameters in the channel established by the bus container. The bus container establishes intra-group and inter-group data channels for the device according to the network project.
[0086] S7. After all containers have been successfully modified, each container sends a confirmation request to the process container. After receiving the request, the process container stores the parameters and configurations of all containers in that container, as well as the upstream and downstream configuration parameters of other containers, into a process configuration.
[0087] S8, the communication module container is responsible for converting all network engineering configuration package data into a data format that can be transmitted by 5G modules, and enabling one-way communication with different industrial devices based on information such as the module number of the data management container.
[0088] S9: After receiving information, if the industrial equipment has Layer 3 network communication capability, it will restart the device to automatically configure the engineering package. If it does not have Layer 3 network communication capability, there will be no impact.
[0089] S10, all devices have now completed the rapid switchover.
[0090] S11, When the device is running again, network group A, network group B, and network group C are all converted to network AA, network BB, and network CC, which operate according to the network switched by the user. For example, devices within the group can be configured to communicate at Layer 2, and devices outside the group can communicate at Layer 3. Users can also quickly switch to network A, network B, and network C according to the stored original network configuration scheme.
[0091] S12, when the main container does not contain any network groups or industrial devices, the main container is automatically destroyed.
[0092] The configuration method of the industrial equipment communication network in this embodiment uses virtualization technology and multi-container collaboration to enable the same batch of devices to quickly switch networks, regardless of whether they have Layer 3 communication capabilities. Furthermore, it enables rapid configuration of intelligent networks without requiring industrial equipment to have network configuration capabilities, as long as it contains a 5G module.
[0093] Example 4:
[0094] like Figure 4 As shown, this embodiment provides an electronic device, including a memory 41 and a processor 42. The memory 41 stores a computer program, and the processor 42 is configured to run the computer program to implement the configuration method of the industrial control equipment communication network as described in Embodiment 1.
[0095] Example 5:
[0096] This embodiment provides a computer-readable storage medium storing a computer program thereon. When the computer program is executed by a processor, it implements the configuration method of the industrial control equipment communication network as described in Embodiment 1.
[0097] In summary, the configuration method, apparatus, electronic device, and computer-readable storage medium for industrial control equipment communication networks provided in this invention are used to construct a device model library, enabling the virtualization of similar or heterogeneous industrial control equipment on a 5G edge cloud server. This provides basic data for generating corresponding network engineering configuration packages for industrial control equipment and allows for flexible configuration, resulting in more accurate network engineering configuration packages. Furthermore, the method of generating network engineering configuration packages for industrial control equipment within the same network requirement through multi-container collaboration improves the efficiency of communication network configuration, enabling rapid and flexible production of industrial equipment without requiring network configuration capabilities from the industrial control equipment, thus broadening its application scope. Additionally, the method of transmitting network engineering configuration packages via a 5G network eliminates the need for complex wiring between industrial control equipment and dedicated network devices, enabling flexible configuration of the industrial control equipment communication network through 5G edge virtualization computing, reducing maintenance costs. Finally, the method of timely destroying the main network configuration container without industrial control equipment conserves system resources of the 5G edge cloud server.
[0098] It is understood that the above embodiments are merely exemplary implementations used to illustrate the principles of the present invention, and the present invention is not limited thereto. For those skilled in the art, various modifications and improvements can be made without departing from the spirit and essence of the present invention, and these modifications and improvements are also considered to be within the scope of protection of the present invention.
Claims
1. A method for configuring a communication network for industrial control equipment, characterized in that, Applications in 5G edge cloud servers include: Receive a network configuration request, the network configuration request including network configuration information; Create a network configuration master container based on the network configuration request; Generate the corresponding network engineering configuration package for the industrial control equipment to be networked based on the network configuration information; The network engineering configuration package is distributed to the corresponding industrial control devices to be networked via the 5G network, so that the industrial control devices to be networked can complete the network configuration. The network configuration main container includes a network container, a data management container, an input / output (I / O) container, a bus container, a protocol conversion container, a process container, and a communication module container. The step of generating the corresponding network engineering configuration package for the industrial control equipment to be networked based on the network configuration information specifically includes: The network container transforms the network configuration information into a network project, and obtains the model data of the industrial control equipment to be networked from the data management container based on the network project; The network container sends the network project to the IO container and obtains the first configuration packet of the network project generated by the IO container based on the network project, as well as the fixed IP assigned by the IO container to each industrial control device to be networked. The network container sends a network project to the bus container, so that the bus container can establish intra-group and inter-group data channels for the industrial control devices to be networked according to the network project. The network container sends network engineering to the protocol conversion container so that the protocol conversion container can set conversion parameters in the data channels inside and outside the group, so as to convert the data format between different types of devices into a unified data format. The network container, data management container, input / output IO container, bus container, and protocol conversion container all send confirmation requests to the process container so that the process container can generate the corresponding process configuration package based on the model data of the industrial control equipment to be networked and the upstream and downstream configuration data of other containers according to the business process. The communication module container converts the network engineering configuration package into the data format transmitted by the 5G module. The network engineering configuration package includes the first network engineering configuration package and the process configuration package.
2. The method according to claim 1, characterized in that, Before receiving the network configuration request, the following is also included: Receive and register new industrial control equipment for network access; Determine whether the model of the new industrial control equipment matches the model in the equipment model library; In response to model mismatch, a new device model data container is added to store the model data of the new industrial control device. The model data includes the industrial control device module number and at least one of the following: a list of protocols supported by the industrial control device, a list of industrial control device locations, and the industrial control device calling method.
3. The method according to claim 1, characterized in that, Network configuration includes changing or creating a new network. The main network configuration container also includes an interaction container. The interactive container transmits network configuration information to the network container through the internal transmission mechanism of the main network configuration container. The network configuration information includes at least one of the following: network group protocol information, bus information, gateway, subnet mask, and port number.
4. The method according to claim 1, characterized in that, After the network engineering configuration package is distributed to the corresponding industrial control devices to be networked via the 5G network, the method further includes: Determine whether a network group or industrial control device exists within the main network configuration container; If no network group or industrial control device is found in the main network configuration container, the main network configuration container is destroyed.
5. A configuration device for an industrial control equipment communication network, characterized in that, Applications in 5G edge cloud servers include: The receiving module is used to receive network configuration requests, which include network configuration information. The creation module, connected to the receiving module, is used to create a network configuration master container based on the network configuration request. The network configuration main container, connected to the receiving module, is used to generate the corresponding network engineering configuration package for the industrial control equipment to be networked based on the network configuration information. It is also used to distribute the network engineering configuration package to the corresponding industrial control equipment to be networked via the 5G network, so that the industrial control equipment to be networked can complete the network configuration. The network configuration main container includes a network container, a data management container, an input / output (I / O) container, a bus container, a protocol conversion container, a process container, and a communication module container. A network container, connected to a data management container, is used to convert the network configuration information into a network project, and to obtain model data of the industrial control devices to be networked from the data management container based on the network project. A data management container used to store model data of industrial control devices to be networked. The IO container, connected to the network container, receives network engineering data sent by the network container, generates a first configuration packet for the network engineering data based on the network engineering data, assigns a fixed IP address to each industrial control device to be networked, and returns the first configuration packet and the fixed IP address to the network container. The bus container, connected to the network container, receives network engineering data sent by the network container and establishes intra-group and inter-group data channels for the industrial control devices to be networked based on the network engineering data. A protocol conversion container, connected to the network container and bus container, receives network engineering data sent by the network container and sets conversion parameters in the data channels within and outside the group to convert data formats from different types of devices into a unified data format. The process container connects to the network container, data management container, input / output (I / O) container, bus container, and protocol conversion container, respectively. It receives confirmation requests from these containers and, based on these requests, generates a corresponding process configuration package by combining the model data of the industrial control equipment to be networked with the upstream and downstream configuration data of other containers according to the business process. The communication module container, connected to the process container and the network container, is used to convert the network engineering configuration package into the data format transmitted by the 5G module. The network engineering configuration package includes a first network engineering configuration package and a process configuration package.
6. The apparatus according to claim 5, characterized in that, Network configuration includes changing or creating a new network. The main network configuration container also includes an interaction container. An interactive container, connected to a network container, is used to transmit network configuration information to the network container through the internal transmission mechanism of the main network configuration container. The network configuration information includes at least one of the following: network group protocol information, bus information, gateway, subnet mask, and port number.
7. An electronic device, characterized in that, It includes a memory and a processor, wherein the memory stores a computer program and the processor is configured to run the computer program to implement the configuration method of the industrial control equipment communication network as described in any one of claims 1-4.
8. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by the processor, it implements the configuration method of the industrial control equipment communication network as described in any one of claims 1-4.
Citation Information
Patent Citations
Cluster network configuration method, system and device and readable storage medium
CN110719209A