5G clouded PLC deterministic transmission method, device, equipment and medium
By obtaining the configuration and communication link information of I/O devices and determining the access relationship between PLC and I/O devices, the flexibility problem of access solutions in multi-location deployment of 5G network cloud PLC is solved, flexible allocation and routing are achieved, and the industrial control service needs of different I/O devices are met.
Patent Information
- Application Number
- CN202410317562.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-03-19
- Publication Date
- 2025-09-19
AI Technical Summary
In the multi-location deployment scenario of 5G network cloud-based PLC, existing access solutions cannot meet the industrial control service requirements of different I/O devices, resulting in the inability to achieve flexible deployment and communication.
By obtaining the configuration information, control business information and communication link information of the I/O device, the access status of the target I/O device and other I/O devices is determined. According to the round-trip time of the communication link and business requirements, the access relationship between the PLC and the I/O device is determined to achieve flexible allocation and routing.
It achieves flexible allocation and routing between PLC and I/O devices, meets the business needs of multi-location deployment of 5G network cloud PLC, and improves communication efficiency and flexibility.
Smart Images

Figure CN120676362A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of communication technology, and in particular to a 5G cloud-based PLC deterministic transmission method, apparatus, equipment, and medium. Background Art
[0002] In the industrial sector, PLCs (Programmable Logic Controllers), the primary industrial control device, have evolved from traditional hardware PLCs to soft PLCs and cloud-based PLC technologies. Combining cloud-based PLCs with 5G technology creates a new generation of virtualized, networked, and intelligent PLCs, a key solution for the transformation and upgrade of the Industrial Internet. In cloud-based PLC industrial control systems integrated with 5G networks, PLCs can be flexibly deployed in the cloud and at the edge, rather than being restricted to on-site deployment. Communication between PLCs and I / O devices shifts from industrial buses to high-performance 5G networks.
[0003] In the prior art, when an I / O device is connected to a PLC, I / O access can only be implemented for a deployment scenario at a single location.
[0004] However, in the multi-location deployment scenario of cloud-based PLC, different I / O devices have different industrial control service requirements. The existing access solution cannot meet the business needs in the multi-location deployment scenario of cloud-based PLC on 5G network. Summary of the Invention
[0005] The present application provides a 5G cloud-based PLC deterministic transmission method, apparatus, equipment, and medium to solve the problem that the access between PLC and I / O devices cannot meet business needs in a 5G network cloud-based PLC multi-location deployment scenario.
[0006] In a first aspect, the present application provides a 5G cloud-based PLC deterministic transmission method, including:
[0007] Obtain configuration information, control service information, and communication link information of the I / O device. An I / O device is a device connected to the network. Configuration information is the physical cell identifier of the access base station. Control service information includes the communication cycle between the I / O device and the PLC, and the collaborative relationship between I / O devices. Communication link information is the round-trip time of the communication link from the PLC to the I / O device.
[0008] Determining first access information according to the configuration information, the first access information including a target I / O device and other I / O devices, the target I / O device and other I / O devices being devices among the I / O devices that need to access a target base station for collaborative work, the target base station corresponding to a physical cell identifier of the access base station in the target configuration information, and the target configuration information being configuration information of the target I / O device;
[0009] Determining, based on the control service information, a first access status of the target I / O device and the target base station, and a second access status of other I / O devices and the target base station;
[0010] The access relationship between the PLC of the target base station and the I / O device is determined based on the first access status of the target I / O device and the target base station, the second access status of other I / O devices and the target base station, control service information, and communication link information.
[0011] In an embodiment of the present application, obtaining configuration information, control service information, and communication link information of an I / O device includes:
[0012] Obtain device information and configuration information of I / O devices, including IP address, device model, and version number;
[0013] According to the device information, obtain the device function and communication link information;
[0014] Determine the control service information of the I / O device based on the device function.
[0015] In an embodiment of the present application, obtaining device information and configuration information of an I / O device includes:
[0016] Send a broadcast request to the network in the target command format and scan the I / O devices in the network;
[0017] According to the broadcast request, the I / O device receives the response information, which includes the physical cell identifier of the base station where the I / O device accesses, the device model, version number, and the IP address of the device;
[0018] According to the response information of the I / O device, the configuration information and device information of the I / O device are determined.
[0019] In an embodiment of the present application, after obtaining the configuration information, control service information, and communication link information of the I / O device, the method further includes:
[0020] Determining second access information according to the configuration information, where the second access information includes a target I / O device;
[0021] According to the second access information, the target I / O device is connected to the cloud PLC deployed in the base station.
[0022] In an embodiment of the present application, after determining, based on the control service information, a first access status of the target I / O device and the target base station, and a second access status of other I / O devices and the target base station, the method further includes:
[0023] If the first access situation indicates that the target I / O device accesses the target base station and the second access situation indicates that other I / O devices access the target base station, the cloud PLC deployed in the base station is accessed to the target I / O device.
[0024] In an embodiment of the present application, determining the access relationship between the PLC of the target base station and the I / O device according to the first access status of the target I / O device and the target base station, the second access status of other I / O devices and the target base station, the control service information, and the communication link information includes:
[0025] If the first access condition indicates that the target I / O device is connected to the target base station, and the second access condition indicates that other I / O devices are not connected to the target base station, then compare the communication cycle between the I / O device and the PLC in the control service information with the round-trip time of the communication link from the PLC to the I / O device in the communication link information to obtain a comparison result;
[0026] If the comparison result shows that the round-trip time of the communication link is less than the communication cycle, the cloud-based PLC deployed on the 5G-MEC platform is connected to the target I / O device;
[0027] If the comparison result shows that the round-trip time of the communication link is greater than or equal to the communication cycle, the target I / O device is first connected to the cloud-based PLC deployed on the base station, and then the cloud-based PLC deployed on the base station is connected to the cloud-based PLC deployed on the 5G-MEC platform.
[0028] In an embodiment of the present application, after determining the access relationship between the PLC of the target base station and the I / O device based on the access status of the target I / O device and the target base station, the access status of other I / O devices and the target base station, the control service information, and the communication link information, the method further includes:
[0029] The access relationship is sent to the cloud PLC so that the cloud PLC sends the corresponding IP and open port number to the I / O device according to the access relationship. After the I / O device receives and binds the corresponding IP and open port number, it communicates with the cloud PLC.
[0030] In an embodiment of the present application, the method further includes:
[0031] Get network link information, including network status and I / O port information;
[0032] Determine the data deterministic transmission configuration principle for PLC control business data based on network link information, the access relationship between PLC and I / O devices, and the control business information of I / O devices;
[0033] Process business data according to the data deterministic transmission configuration principle.
[0034] In an embodiment of the present application, after determining the data deterministic transmission configuration principle of the PLC control service data based on the network link information, the access relationship between the PLC and the I / O device, and the control service information of the I / O device, the method further includes:
[0035] Determine the data deterministic transmission parsing configuration information based on the data deterministic transmission configuration principle, the access relationship between the PLC and the I / O device, and the configuration information of the I / O device;
[0036] Parse and write business data based on the data deterministic transmission parsing configuration information and data writing channel.
[0037] In a second aspect, the present application provides a 5G cloud-based PLC deterministic transmission device, including:
[0038] An acquisition module is used to obtain configuration information, control service information, and communication link information of an I / O device. An I / O device is a device connected to a network. Configuration information is the physical cell identifier of the access base station. Control service information includes the communication cycle between the I / O device and the PLC, and the collaborative relationship between the I / O devices. Communication link information is the round-trip time of the communication link from the PLC to the I / O device.
[0039] A first determination module is configured to determine first access information based on the configuration information, where the first access information includes a target I / O device and other I / O devices, where the target I / O device and the other I / O devices are I / O devices that need to access a target base station for collaborative work, where the target base station corresponds to a physical cell identifier of the access base station in the target configuration information, and the target configuration information is configuration information of the target I / O device;
[0040] A second determining module is configured to determine, based on the control service information, a first access status of the target I / O device to the target base station, and a second access status of other I / O devices to the target base station;
[0041] The third determination module is used to determine the access relationship between the PLC and I / O devices of the target base station based on the first access status of the target I / O device and the target base station, the second access status of other I / O devices and the target base station, control service information, and communication link information.
[0042] In a third aspect, the present application provides an electronic device, comprising: a processor, and a memory communicatively connected to the processor;
[0043] Memory stores computer-executable instructions;
[0044] The processor executes the computer-executable instructions stored in the memory to implement the 5G cloud-based PLC deterministic transmission method of the embodiment of the present application.
[0045] In a fourth aspect, the present application provides a computer-readable storage medium, which stores computer execution instructions. When the computer execution instructions are executed by a processor, they are used to implement the 5G cloud-based PLC deterministic transmission method of an embodiment of the present application.
[0046] The 5G cloud-based PLC deterministic transmission method, apparatus, equipment and medium provided in the present application obtain configuration information, control service information and communication link information of the I / O device, wherein the I / O device is a device accessed in the network, the configuration information is the physical cell identifier of the access base station, the control service information includes the communication cycle between the I / O device and the PLC, the collaborative relationship between the I / O devices, and the communication link information is the round-trip time of the communication link from the PLC to the I / O device; according to the configuration information, the access information is determined, the access information includes the target I / O device and other I / O devices, the target I / O device and the other I / O devices are the devices in the I / O device that need to access the target base station for collaborative work, the target base station corresponds to the physical cell identifier of the access base station in the target configuration information, and the target configuration information is the configuration information of the target I / O device; according to the control service information, the access status of the target I / O device and the target base station, as well as other The access status of the I / O device to the target base station; according to the access status of the target I / O device to the target base station, the access status of other I / O devices to the target base station, the control service information, and the communication link information, a means of determining the access relationship between the PLC of the target base station and the I / O device is performed. By detecting the I / O device, the configuration information is obtained. Since the base station to which the I / O device is connected can be known through the configuration information, the first access information can be determined to obtain the target I / O device and other I / O devices. At the same time, the access status of the target I / O device and other I / O devices to the base station can also be obtained. Then, the control service information and communication link information of the I / O device are used to determine whether the business needs can be met. In this way, the access relationship between the PLC of the target base station and the I / O device can be determined, thereby achieving the effect of flexible allocation and routing between the PLC and the I / O device, and solving the problem of not being able to meet the multi-location deployment of the 5G network cloud PLC. BRIEF DESCRIPTION OF THE DRAWINGS
[0047] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.
[0048] Figure 1 A flowchart of a 5G cloud-based PLC deterministic transmission method provided in an embodiment of the present application;
[0049] Figure 2 A flowchart of another 5G cloud-based PLC deterministic transmission method provided in an embodiment of the present application;
[0050] Figure 3 Schematic diagram of the architecture of the 5G cloud-based PLC system provided in an embodiment of the present application;
[0051] Figure 4 A schematic diagram of the structure of a PLC centralized control functional unit in a 5G cloud-based PLC system according to an embodiment of the present application;
[0052] Figure 5 A schematic diagram of the structure of a PLC data function unit in a 5G cloud-based PLC system according to an embodiment of the present application;
[0053] Figure 6 A schematic diagram of the structure of the I / O management functional unit in the 5G cloud-based PLC system provided in an embodiment of the present application;
[0054] Figure 7 A schematic diagram of the structure of a 5G cloud-based PLC deterministic transmission device provided in an embodiment of the present application;
[0055] Figure 8 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application.
[0056] The above drawings illustrate specific embodiments of the present application, which will be described in more detail below. These drawings and the textual description are not intended to limit the scope of the present application in any way, but rather to illustrate the concepts of the present application to those skilled in the art by reference to specific embodiments. DETAILED DESCRIPTION
[0057] Exemplary embodiments will be described in detail herein, with examples illustrated in the accompanying drawings. In the following description, when referring to the drawings, identical numerals in different figures represent identical or similar elements, unless otherwise indicated. The embodiments described in the following exemplary embodiments are not intended to represent all embodiments consistent with the present application. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present application, as detailed in the appended claims.
[0058] Currently, when connecting I / O devices to PLCs, I / O access can only be implemented for single-location deployment scenarios. However, in multi-location cloud PLC deployment scenarios, different I / O devices have different industrial control service requirements. Therefore, it is impossible to meet the business needs of multi-location cloud PLC deployment scenarios on 5G networks.
[0059] In order to solve the above problems, the 5G cloud PLC deterministic transmission method provided in this application can obtain configuration information by detecting the I / O device. Since the base station to which the I / O device is connected can be known through the configuration information, the first access information can be determined to obtain the target I / O device and other I / O devices. At the same time, the access situation of the target I / O device and other I / O devices to the base station can also be obtained. Then, the control business information and communication link information of the I / O device are used to determine whether the business needs can be met. In this way, the access relationship between the PLC of the target base station and the I / O device can be determined, thereby achieving flexible allocation and routing between the PLC and the I / O devices, and solving the problem that the multi-location deployment of the 5G network cloud PLC cannot be met.
[0060] The following specific embodiments describe in detail the technical solution of the present application and how the technical solution of the present application solves the above-mentioned technical problems. The following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be repeated in some embodiments. The embodiments of the present application will be described below in conjunction with the accompanying drawings.
[0061] The execution subject of the 5G cloud-based PLC deterministic transmission method provided in the embodiment of the present application can be a server. The server can be a mobile phone, tablet, computer and other devices. This embodiment does not impose any special restrictions on the implementation method of the execution subject, as long as the execution subject can obtain the configuration information, control service information, and communication link information of the I / O device, wherein the I / O device is a device accessed in the network, the configuration information is the physical cell identifier of the access base station, the control service information includes the communication cycle between the I / O device and the PLC, the collaborative relationship between the I / O devices, and the communication link information is the round-trip time of the communication link from the PLC to the I / O device; according to the configuration information, the first access information is determined, and the first access information includes the target I / O device and other I / O devices, the target I / O device and other I / O devices. The O device is a device among the I / O devices that needs to access the target base station for collaborative work. The target base station corresponds to the physical cell identifier of the access base station in the target configuration information. The target configuration information is the configuration information of the target I / O device. According to the control service information, the first access status of the target I / O device and the target base station, and the second access status of other I / O devices and the target base station are determined. According to the first access status of the target I / O device and the target base station, the second access status of other I / O devices and the target base station, the control service information, and the communication link information, the access relationship between the PLC of the target base station and the I / O device can be determined.
[0062] Among them, cloud PLC (Programmable Logic Controller) can refer to a programmable controller running in the cloud. It is a software-defined PLC that can directly communicate with the industrial Internet platform. For example, it can easily connect the PLC to the Internet, embed APP and analysis results into the machine and the cloud, realize intelligence and self-perception, and change and upgrade the PLC without replacing the PLC hardware. It can expand the application of the industrial Internet platform through APIs and ecosystems, that is, transfer industrial control from wired to wireless and from local to cloud.
[0063] Figure 1 A flow chart of a 5G cloud-based PLC deterministic transmission method provided in an embodiment of the present application. The execution subject of the method can be a server, and the embodiment of the present application is not particularly limited here, such as Figure 1 As shown, the method may include:
[0064] S101. Obtain configuration information, control service information, and communication link information of the I / O device, where the I / O device is a device connected to the network, the configuration information is the physical cell identifier of the access base station, the control service information includes the communication cycle between the I / O device and the PLC, and the collaborative relationship between the I / O devices, and the communication link information is the round-trip time of the communication link from the PLC to the I / O device.
[0065] An I / O (Input / Output) device refers to external hardware used to communicate with a computer. It is a physical device consisting of chips, wires, power supplies, and other hardware components that can receive and send data to a computer. In the present embodiment, an I / O device may refer to an external hardware device at an industrial site, used for Local PLC deployment.
[0066] Configuration information can refer to the process information of completing a specific task in the project using the tools and methods provided in the application software. In the embodiment of the present application, configuration information can refer to the access configuration of the I / O device, that is, what information needs to be configured in the process of configuring the hardware to achieve connection with the computer, including the PCI (Physical Cell Identity) of the base station to which the device is connected, the device model and version number, and grouping the devices according to PCI, wherein PCI determines the location of the main synchronization signal and reference signal used by each cell, and is the first network-side information identified when the terminal is turned on or initially accesses the cell. Therefore, PCI can be used to distinguish the wireless signals of different cells; the device model can refer to the product classification of the device, which is mainly determined by the manufacturer and is generally determined according to different configurations and different usage directions; the version number can be used to accurately control the modification, iteration and upgrade of the product.
[0067] Control service information can refer to querying device capabilities based on the model and version number in the device information, and specifying I / O device parameters based on the device capabilities. In each communication cycle, cloud-based industrial control services need to send a large number of data packets to the massive I / O devices at the industrial site. In the embodiments of this application, control service information can refer to the communication cycle between the I / O device and the PLC, and the collaborative relationship between the I / O devices.
[0068] Communication link information can refer to the link information of the device transmitting information, the transmission and exchange of information from one place to another, including the information sending device, the receiving device, the information transmission path, and the information transmission time. In the embodiment of the present application, the communication link information can refer to the RTT (Round-Trip Time) of the communication link from the PLC to each current I / O device, that is, the time required for data to be transmitted from the sending end to the receiving end of the link or network segment, also known as the transmission time. The PLC can send a message to the network address of the I / O device, record the message sending time, wait for the response of the I / O device, record the message receiving time, and subtract the message sending time from the message receiving time to obtain the communication link round-trip time.
[0069] In an embodiment of the present application, the method for obtaining configuration information, control service information, and communication link information of an I / O device may include:
[0070] Obtain device information and configuration information of I / O devices, including IP address, device model, and version number;
[0071] According to the device information, obtain the device function and communication link information;
[0072] Determine the control service information of the I / O device based on the device function.
[0073] Among them, obtaining device functions and communication link information based on device information may refer to obtaining device functions based on the model and version number of the I / O device. The device functions may refer to the communication function, data processing function, etc. of the I / O device.
[0074] Determining the control service information of the I / O device according to the device function may refer to specifying a round trip time of a communication link of the I / O device according to the service requirement and the device function.
[0075] In an embodiment of the present application, the method for obtaining device information and configuration information of an I / O device may include:
[0076] Send a broadcast request to the network in the target command format and scan the I / O devices in the network;
[0077] According to the broadcast request, the I / O device receives the response information, which includes the physical cell identifier of the base station where the I / O device accesses, the device model, version number, and the IP address of the device;
[0078] According to the response information of the I / O device, the configuration information and device information of the I / O device are determined.
[0079] The target instruction format may refer to an instruction format provided by the I / O device manufacturer, and the broadcast request requires the return of the physical cell identifier of the base station to which the device is connected, the device model and version number, so as to obtain the response information returned by the I / O device.
[0080] A broadcast request may refer to an ARP request (Address Resolution Protocol), which is a TCP / IP protocol that obtains a physical address based on an IP address. When a host sends information, it broadcasts an ARP request containing the target IP address to all hosts on the network and receives a return message to determine the target's physical address. After receiving the return message, the IP address and physical address are stored in the local ARP cache and retained for a certain period of time. The next request is made directly to query the ARP cache to save resources. In an embodiment of the present application, determining the configuration information and device information of an I / O device may refer to the I / O&PLC management module sending a broadcast request to the network according to the instruction format provided by the I / O device manufacturer, scanning the I / O devices in the network, and requesting the return of the physical cell identifier of the base station to which the device is connected, the device model and version number in the request. After receiving the response from the I / O device, the module records the IP address and device information of the device.
[0081] S102. Determine first access information based on the configuration information. The first access information includes a target I / O device and other I / O devices. The target I / O device and other I / O devices are I / O devices that need to access a target base station for collaborative work. The target base station corresponds to a physical cell identifier of the access base station in the target configuration information. The target configuration information is configuration information of the target I / O device.
[0082] Among them, the first access information may refer to the I / O device information connected to the base station. In an embodiment of the present application, the first access information may refer to dividing the devices connected to the same base station into a group according to the device configuration information PCI. If the same group of devices needs to work together, then the device access information of the group is the first access information.
[0083] In the embodiment of the present application, after obtaining the configuration information, control service information, and communication link information of the I / O device, the method may further include:
[0084] Determining second access information according to the configuration information, where the second access information includes a target I / O device;
[0085] According to the second access information, the target I / O device is connected to the cloud PLC deployed in the base station.
[0086] Among them, the second access information can refer to the I / O device information accessed by the base station. Both the second access information and the first access information are base station access information, but the situations they represent are different. The first access information represents that the target I / O device and other I / O devices access the same base station and work together, and the second access information represents that only the target I / O device accesses the base station and does not need to work together with other devices.
[0087] Determining the second access information according to the configuration information may refer to determining, according to the physical cell identifier of the base station to which the device is connected, that the target I / O device is not connected to the same base station as other I / O devices.
[0088] According to the second access information, accessing the cloud PLC deployed at the base station to the target I / O device may mean that based on the fact that the target I / O device does not access the same base station as other devices and does not collaborate with other devices, the cloud PLC deployed at the base station to which the target I / O device is connected is selected as its access instance to determine the path of the target I / O device.
[0089] S103: Determine, based on the control service information, a first access status between the target I / O device and the target base station, and a second access status between other I / O devices and the target base station.
[0090] The first access situation may refer to a situation in which the target I / O device is connected to the target base station. The first access situation may be used to determine whether the device is connected to the target base station, the identifier of the target base station, and other information. In an embodiment of the present application, the first access situation may refer to a situation in which the target I / O device, which needs to collaborate with other I / O devices, is connected to the target base station.
[0091] The second access situation may refer to a situation where other I / O devices access the target base station. The second access situation can be used to determine whether the other devices access the target base station, the identity of the target base station, and other information. In an embodiment of the present application, the second access situation may refer to a situation where other I / O devices that need to collaborate with the target I / O device access the target base station.
[0092] Determining the first access status of the target I / O device and the target base station, and the second access status of other I / O devices and the target base station based on the control service information can refer to determining whether the devices that need to work together are connected to the same base station based on the collaborative relationship between the I / O devices.
[0093] S104. Determine the access relationship between the PLC of the target base station and the I / O device according to the first access status of the target I / O device and the target base station, the second access status of other I / O devices and the target base station, the control service information, and the communication link information.
[0094] Among them, the access relationship between the PLC of the target base station and the I / O device can refer to the relationship between the I / O device accessing the Cloud PLC and the Local PLC, wherein the Cloud PLC can refer to the cloud PLC, that is, the PLC that needs to be deployed in the cloud and is responsible for processing non-real-time tasks, and the Local PLC can refer to the PLC deployed near the I / O device at the industrial site and is responsible for real-time control of the I / O device. Since the deployment location of the PLC is flexible, the access relationship between the I / O device and the PLC is more complicated. In an embodiment of the present application, the access relationship between the PLC of the target base station and the I / O device can refer to the I / O device accessing the cloud PLC instance deployed at the base station and the cloud PLC instance deployed at the 5G-MEC, or adopting a hierarchical access solution, the target I / O device is connected to the cloud PLC deployed at the base station, and the cloud PLC completes the control business communication with the I / O, and then the cloud PLC deployed at the base station is connected to the cloud PLC deployed on the 5G-MEC platform, and the cloud PLC deployed on the 5G-MEC platform completes the collaborative task processing between different I / Os.
[0095] According to the first access situation of the target I / O device and the target base station, the second access situation of other I / O devices and the target base station, the control service information, and the communication link information, the access relationship between the PLC of the target base station and the I / O device is determined. It can refer to determining that the target I / O device needs to work in coordination with other I / O devices and is connected to the same base station with other I / O devices based on the first access situation of the target I / O device and the target base station, and the second access situation of other I / O devices and the target base station, then judging the round-trip time of the communication link from the 5G-MEC platform to the current I / O and the I / O The length of the communication cycle. If the round-trip time of the communication link is less than the communication cycle, it means that the cloud-based PLC deployed on the 5G-MEC platform can meet the communication business requirements, and the I / O device can be connected to the cloud-based PLC instance deployed on the 5G-MEC. If the round-trip time of the communication link is greater than or equal to the communication cycle, it means that the cloud-based PLC deployed on the 5G-MEC platform cannot meet the communication business requirements, and the I / O device can be first connected to the cloud-based PLC deployed on the base station, and then the cloud-based PLC deployed on the base station can be connected to the cloud-based PLC deployed on the 5G-MEC platform.
[0096] In this embodiment of the present application, after determining, based on the control service information, a first access status of the target I / O device and the target base station, and a second access status of other I / O devices and the target base station, the method may further include:
[0097] If the first access situation indicates that the target I / O device accesses the target base station and the second access situation indicates that other I / O devices access the target base station, the cloud PLC deployed in the base station is accessed to the target I / O device.
[0098] Among them, the cloud-based PLC deployed at the base station that is connected to the target I / O device can point to the I / O to send the IP and open port number of the base station cloud-based PLC instance. After receiving it, the I / O binds the IP and port number and can communicate with the cloud-based PLC instance deployed at the base station.
[0099] In this embodiment of the present application, the method for determining the access relationship between the PLC of the target base station and the I / O device based on the first access status of the target I / O device and the target base station, the second access status of other I / O devices and the target base station, the control service information, and the communication link information may include:
[0100] If the first access condition indicates that the target I / O device is connected to the target base station, and the second access condition indicates that other I / O devices are not connected to the target base station, then compare the communication cycle between the I / O device and the PLC in the control service information with the round-trip time of the communication link from the PLC to the I / O device in the communication link information to obtain a comparison result;
[0101] If the comparison result shows that the round-trip time of the communication link is less than the communication cycle, the cloud-based PLC deployed on the 5G-MEC platform is connected to the target I / O device;
[0102] If the comparison result shows that the round-trip time of the communication link is greater than or equal to the communication cycle, the target I / O device is first connected to the cloud-based PLC deployed on the base station, and then the cloud-based PLC deployed on the base station is connected to the cloud-based PLC deployed on the 5G-MEC platform.
[0103] Among them, the comparison result that the round-trip time of the communication link is less than the communication cycle can indicate that the cloud PLC deployed on the 5G-MEC platform can meet the communication business requirements, and the I / O device can be connected to the cloud PLC instance deployed on the 5G-MEC for communication.
[0104] To connect the target I / O device to the cloud-based PLC deployed on the 5G-MEC platform, you can point to the I / O to send the IP address and open port number of the 5G-MEC cloud-based PLC instance. After receiving the IP address and port number, the I / O will bind them and communicate with the cloud-based PLC instance deployed on the 5G-MEC platform.
[0105] If the comparison result shows that the round-trip time of the communication link is greater than or equal to the communication cycle, it may mean that the cloud PLC deployed on the 5G-MEC platform cannot meet the communication service requirements, and therefore hierarchical PLC access is required to complete the communication process.
[0106] First, connect the target I / O device to the cloud-based PLC deployed on the base station, and then connect the cloud-based PLC deployed on the base station to the cloud-based PLC deployed on the 5G-MEC platform. This can refer to a hierarchical PLC access solution. First, send the IP address and open port number of the base station cloud-based PLC instance to the I / O. After receiving, the I / O binds the IP address and port number. In this way, the target I / O device is connected to the cloud-based PLC deployed on the base station. The cloud-based PLC completes the control business communication with the I / O. Then, new ports are opened to the base station cloud-based PLC instance and the 5G-MEC cloud-based PLC instance. In this way, the cloud-based PLC deployed on the base station is connected to the cloud-based PLC deployed on the 5G-MEC platform. The cloud-based PLC deployed on the 5G-MEC platform completes the collaborative task processing between different I / Os.
[0107] In this embodiment of the present application, after determining the access relationship between the PLC of the target base station and the I / O device based on the access status of the target I / O device and the target base station, the access status of other I / O devices and the target base station, the control service information, and the communication link information, the method may further include:
[0108] The access relationship is sent to the cloud PLC so that the cloud PLC sends the corresponding IP and open port number to the I / O device according to the access relationship. After the I / O device receives and binds the corresponding IP and open port number, it communicates with the cloud PLC.
[0109] Among them, sending the corresponding IP and open port number to the I / O device can refer to determining the port configuration information of the I / O device to realize the configuration function between the PLC and the I / O. For example, for an I / O device accessing a cloud-based PLC instance deployed on a base station, the IP and open port number of the base station cloud-based PLC instance are sent to the I / O. After the I / O receives the information, it binds the IP and port number, and can then communicate with the cloud-based PLC instance deployed on the base station. For an I / O device accessing a cloud-based PLC instance deployed on a 5G-MEC platform, the IP and open port number of the 5G-MEC cloud-based PLC instance are sent to the I / O. After the I / O receives the information, it binds the IP and port number, and can then communicate with the cloud-based PLC instance deployed on the 5G-MEC platform. For a hierarchical PLC access solution, the IP and open port number of the base station cloud-based PLC instance are first sent to the I / O. After the I / O receives the information, it binds the IP and port number. Then, new ports are opened for the base station cloud-based PLC instance and the 5G-MEC cloud-based PLC instance for communication between the two.
[0110] In this embodiment of the present application, the method may further include:
[0111] Get network link information, including network status and I / O port information;
[0112] Determine the data deterministic transmission configuration principle for PLC control business data based on network link information, the access relationship between PLC and I / O devices, and the control business information of I / O devices;
[0113] Process business data according to the data deterministic transmission configuration principle.
[0114] Among them, the data deterministic transmission configuration principle can refer to the deterministic transmission principle of PLC control business data formulated by the deterministic transmission configuration module based on the round-trip time of the network communication link, the device access relationship and the control business parameters, including the principles of data frame aggregation, traffic shaping, etc. Among them, determinism can refer to guarantee and reliability, that is, data is communicated and transmitted in a complete and secure form.
[0115] In the embodiment of the present application, after determining the data deterministic transmission configuration principle of PLC control service data based on the network link information, the access relationship between the PLC and the I / O device, and the control service information of the I / O device, the method may further include:
[0116] Determine the data deterministic transmission parsing configuration information based on the data deterministic transmission configuration principle, the access relationship between the PLC and the I / O device, and the configuration information of the I / O device;
[0117] Parse and write business data based on the data deterministic transmission parsing configuration information and data writing channel.
[0118] Among them, the data deterministic transmission and parsing configuration information may refer to the parameter information that needs to be configured for data transmission and parsing determined by the I / O control module according to the data deterministic transmission configuration principles and the configuration information of the I / O device. The parsing configuration information is the prerequisite for data parsing, so that the I / O data plane function module can perform parsing business configuration according to the parsing configuration information, and send the data to each I / O device through each data write channel.
[0119] The data write channel can refer to the data channel established between the data plane functional module and each I / O device, provided by the I / O interface management module, to ensure that data can be transmitted to the I / O device in a timely and efficient manner.
[0120] The 5G cloud-based PLC deterministic transmission method provided in the embodiment of the present application can obtain configuration information by detecting the I / O device. Since the base station to which the I / O device is connected can be known through the configuration information, the first access information can be determined to obtain the target I / O device and other I / O devices. At the same time, the access situation of the target I / O device and other I / O devices to the base station can also be obtained. Then, the control business information and communication link information of the I / O device can be used to determine whether the business needs can be met. In this way, the access relationship between the PLC of the target base station and the I / O device can be determined, thereby achieving flexible allocation and routing between the PLC and the I / O device, and solving the problem of not being able to meet the multi-location deployment of 5G network cloud-based PLC.
[0121] Figure 2 A flow chart of another 5G cloud-based PLC deterministic transmission method provided in an embodiment of the present application. The execution subject of this method can be a server, and this embodiment of the present application is not particularly limited here, such as Figure 2 As shown, the method may include:
[0122] S201. Determine which I / O devices are connected to the same base station as the current I / O device according to I / O configuration information.
[0123] The I / O device may refer to a device connected to the network.
[0124] Determining which I / O devices the current I / O device and are connected to the same base station according to the I / O configuration information may refer to determining whether the current I / O device needs to work in coordination with other I / O devices according to the I / O configuration information, and then connecting to the same base station.
[0125] S202: Determine, based on the I / O device control service parameter, whether the current I / O device and other I / O devices that need to work in collaboration are connected to the same base station.
[0126] S203. If yes, select the cloud-based PLC deployed on the base station to which the current I / O device is connected as its access instance; if not, further determine whether the cloud-based PLC deployed on the 5G-MEC platform meets the control business requirements of the current I / O device.
[0127] Among them, judging whether the cloud-based PLC deployed on the 5G-MEC platform meets the control business requirements of the current I / O device can refer to comparing the RTT of the communication link from the 5G-MEC platform to the current I / O with the I / O communication cycle. If the RTT of the communication link from the 5G-MEC platform to the current I / O is less than the I / O communication cycle, the requirements are met; otherwise, the requirements are not met.
[0128] S204: If the requirements are met, the current I / O is connected to the cloud PLC deployed on the 5G-MEC platform. If the requirements are not met, a hierarchical PLC access solution is adopted to connect the target I / O to the cloud PLC deployed on the base station. The cloud PLC completes the control business communication with the I / O. The cloud PLC deployed on the base station is then connected to the cloud PLC deployed on the 5G-MEC platform. The cloud PLC deployed on the 5G-MEC platform completes the collaborative task processing between different I / Os.
[0129] The embodiment of the present application provides a flow chart of another 5G cloud-based PLC deterministic transmission method, which can first determine the access relationship between the current I / O device and the base station, as well as the collaborative working relationship with other I / O devices, and then make routing decisions based on business needs.
[0130] Figure 3 This is a schematic diagram of the architecture of the 5G cloud PLC system provided in the embodiment of this application. The system is based on the OT network and the IMT-2020 network platform, such as Figure 3 As shown, the system may include:
[0131] IMT-2020 network can refer to a term defined by the wireless communication sector of the International Telecommunication Union (ITU) in 2012, which formulated the vision of "International Mobile Communications (IMT) in 2020 and beyond", namely the 5G network, including: AMF (Access and Mobility Management Function), SMF (Session Management Function), UPF (The User plane function), gNB (generation NodeB, 5G base station), UE (User Equipment), PCF (Policy Control function).
[0132] The IMT2020 network provides communication channels for Cloud PLC, Local PLC and I / O, and is responsible for transmitting control instructions and PLC status information. A new functional network element PLC function module is added to the IMT-2020 network architecture, which is responsible for exchanging IMT2020 network status and I / O port information with the outside world; it receives external network I / O port configuration information and maps the bearer according to the configuration requirements. The UPF implements forwarding within the IMT-2020 network for cloud-based PLC services.
[0133] Three new functional units are added between IMT-2020 and the OT network: I / O management functional unit, PLC centralized control functional unit, and PLC centralized control functional unit to realize dynamic reorganization and flexible allocation, routing, configuration and other control functions between PLC and I / O, as well as deterministic transmission configurations such as aggregation and traffic shaping of control data.
[0134] OT (Operational Technology) network mainly refers to the hardware and software for managing production workshops. In the embodiment of the present application, in the OT network, a multi-level distributed control system is constructed based on cloud PLC. PLC is divided into two levels according to task requirements. Multiple cloud PLCs can be deployed in the cloud to handle non-real-time tasks; local PLC is deployed near the industrial site I / O to control industrial I / O equipment in real time, making the PLC deployment location more flexible and realizing functions such as rapid creation, flexible migration, and secure backup of industrial control tasks.
[0135] Figure 4 This is a schematic diagram of the structure of the PLC centralized control functional unit in the 5G cloud PLC system provided in the embodiment of the present application. Figure 4 Shown, including:
[0136] IMT network interaction module, the IMT network interaction module is responsible for connecting with the PLC functional module in the IMT2020 network, receiving the current IMT2020 network status and I / O port information, and sending I / O&PLC configuration information and data transmission configuration information to the I / O management functional unit through the IMT2020 network, and obtaining the communication link RTT from the PLC to each current I / O device based on the I / O device IP address of the I / O port scanning module.
[0137] The PLC controller completes the centralized configuration of PLC services, including I / O & PLC management, service configuration, and deterministic transmission configuration functions, and is logically connected to the I / O management module.
[0138] Among them, the I / O&PLC management module includes the I / O&PLC allocation and reorganization decision module, the I / O port scanning module, etc. Among them, the I / O&PLC allocation and reorganization decision module is used to decide the flexible reorganization and allocation between I / O and PLC, thereby realizing the decoupling between PLC and I / O; the I / O port scanning module is used to scan the I / O devices connected to the network and obtain the access configuration and device information of the I / O devices.
[0139] The service setting module is used to specify the control service parameters of each I / O device.
[0140] The deterministic transmission configuration module is used to formulate the configuration principles for deterministic transmission of PLC business data.
[0141] Figure 5 This is a structural diagram of the PLC data function unit in the 5G cloud PLC system provided in the embodiment of the present application. Figure 5 Shown, including:
[0142] Receives deterministic transmission configuration principles from the deterministic transmission configuration module and performs data processing, such as data frame aggregation and traffic shaping. It is logically connected to the data plane function module of the I / O management function.
[0143] Figure 6 This is a structural diagram of the I / O management functional unit in the 5G cloud PLC system provided in the embodiment of the present application. Figure 6 Shown, including:
[0144] The I / O control plane function module completes the control functions such as allocation and mapping of I / O ports, and is logically connected to the PLC controller, including the I / O virtual mapping module and the I / O control module.
[0145] Among them, the I / O virtual mapping module determines the I / O virtual memory mapping space accessed by the PLC based on the correspondence between I / O and PLC received from the I / O&PLC allocation and reorganization decision module, thereby realizing decoupling and flexible reorganization between PLC and I / O.
[0146] The I / O control module is used to complete the mapping management between the local PLC and the local I / O and to formulate the data parsing configuration.
[0147] The I / O interface management module is responsible for providing I / O configuration information and sending it logically to the PLC controller, as well as providing a data writing channel between the data plane function and each I / O device.
[0148] The data plane functional module is used to parse and write PLC business data.
[0149] Figure 7 This is a schematic diagram of the structure of the 5G cloud-based PLC deterministic transmission device provided in the embodiment of the present application. Figure 7 As shown, the 5G cloud-based PLC deterministic transmission device 70 includes: an acquisition module 701, a first determination module 702, a second determination module 703, and a third determination module 704.
[0150] Acquisition module 701 is used to acquire configuration information, control service information, and communication link information of an I / O device, wherein an I / O device is a device connected to the network, configuration information is the physical cell identifier of the access base station, control service information includes the communication cycle between the I / O device and the PLC, and the collaborative relationship between the I / O devices, and communication link information is the round-trip time of the communication link from the PLC to the I / O device;
[0151] A first determining module 702 is configured to determine first access information based on the configuration information, where the first access information includes a target I / O device and other I / O devices, where the target I / O device and other I / O devices are I / O devices that need to access a target base station for collaborative operation, where the target base station corresponds to a physical cell identifier of the access base station in the target configuration information, and the target configuration information is configuration information of the target I / O device;
[0152] A second determining module 703 is configured to determine, based on the control service information, a first access status of the target I / O device to the target base station and a second access status of other I / O devices to the target base station;
[0153] The third determination module 704 is used to determine the access relationship between the PLC and the I / O device of the target base station based on the first access status of the target I / O device and the target base station, the second access status of other I / O devices and the target base station, control service information, and communication link information.
[0154] In the embodiment of the present application, the acquisition module 701 may also be specifically used to:
[0155] Obtain device information and configuration information of I / O devices, including IP address, device model, and version number;
[0156] According to the device information, obtain the device function and communication link information;
[0157] Determine the control service information of the I / O device based on the device function.
[0158] In the embodiment of the present application, the acquisition module 701 may also be specifically used to:
[0159] Send a broadcast request to the network in the target command format and scan the I / O devices in the network;
[0160] According to the broadcast request, the I / O device receives the response information, which includes the physical cell identifier of the base station where the I / O device accesses, the device model, version number, and the IP address of the device;
[0161] According to the response information of the I / O device, the configuration information and device information of the I / O device are determined.
[0162] In the embodiment of the present application, the first determining module 702 may also be specifically configured to:
[0163] Determining second access information according to the configuration information, where the second access information includes a target I / O device;
[0164] According to the second access information, the target I / O device is connected to the cloud PLC deployed in the base station.
[0165] In the embodiment of the present application, the second determining module 703 may also be specifically configured to:
[0166] If the first access situation indicates that the target I / O device accesses the target base station and the second access situation indicates that other I / O devices access the target base station, the cloud PLC deployed in the base station is accessed to the target I / O device.
[0167] In the embodiment of the present application, the second determining module 703 may also be specifically configured to:
[0168] If the first access condition indicates that the target I / O device is connected to the target base station, and the second access condition indicates that other I / O devices are not connected to the target base station, then compare the communication cycle between the I / O device and the PLC in the control service information with the round-trip time of the communication link from the PLC to the I / O device in the communication link information to obtain a comparison result;
[0169] If the comparison result shows that the round-trip time of the communication link is less than the communication cycle, the cloud-based PLC deployed on the 5G-MEC platform is connected to the target I / O device;
[0170] If the comparison result shows that the round-trip time of the communication link is greater than or equal to the communication cycle, the target I / O device is first connected to the cloud-based PLC deployed on the base station, and then the cloud-based PLC deployed on the base station is connected to the cloud-based PLC deployed on the 5G-MEC platform.
[0171] In the embodiment of the present application, the third determining module 704 may also be specifically configured to:
[0172] The access relationship is sent to the cloud PLC so that the cloud PLC sends the corresponding IP and open port number to the I / O device according to the access relationship. After the I / O device receives and binds the corresponding IP and open port number, it communicates with the cloud PLC.
[0173] In the embodiment of the present application, the third determining module 704 may also be specifically configured to:
[0174] Get network link information, including network status and I / O port information;
[0175] Determine the data deterministic transmission configuration principle for PLC control business data based on network link information, the access relationship between PLC and I / O devices, and the control business information of I / O devices;
[0176] Process business data according to the data deterministic transmission configuration principle.
[0177] In the embodiment of the present application, the third determining module 704 may also be specifically configured to:
[0178] Determine the data deterministic transmission parsing configuration information based on the data deterministic transmission configuration principle, the access relationship between the PLC and the I / O device, and the configuration information of the I / O device;
[0179] Parse and write business data based on the data deterministic transmission parsing configuration information and data writing channel.
[0180] As can be seen from the above, the 5G cloud PLC deterministic transmission device 70 of the embodiment of the present application is composed of an acquisition module 701, which is used to obtain the configuration information, control service information, and communication link information of the I / O device, wherein the I / O device is a device accessed in the network, the configuration information is the physical cell identifier of the access base station, the control service information includes the communication cycle between the I / O device and the PLC, the collaborative relationship between the I / O devices, and the communication link information is the round-trip time of the communication link from the PLC to the I / O device; and a first determination module 702 is used to determine the first access information according to the configuration information, and the first access information includes the target I / O device and other I / O devices, the target I / O device and other I / O devices. The device is an I / O device that needs to access the target base station for collaborative work. The target base station corresponds to the physical cell identifier of the access base station in the target configuration information, and the target configuration information is the configuration information of the target I / O device; the second determination module 703 is used to determine the first access status of the target I / O device and the target base station, and the second access status of other I / O devices and the target base station based on the control service information; the third determination module 704 is used to determine the access relationship between the PLC of the target base station and the I / O device based on the first access status of the target I / O device and the target base station, the second access status of other I / O devices and the target base station, the control service information, and the communication link information. Therefore, the base station to which the I / O device is connected is known through the configuration information, so the first access information can be determined to obtain the target I / O device and other I / O devices. At the same time, the access situation of the target I / O device and other I / O devices to the base station can also be obtained. Then, the control business information and communication link information of the I / O device are used to determine whether the business needs can be met. In this way, the access relationship between the PLC of the target base station and the I / O device can be determined, thereby achieving flexible allocation and routing between the PLC and the I / O device, solving the problem of not being able to meet the multi-location deployment of 5G network cloud PLC.
[0181] Figure 8 This is a schematic diagram of the structure of the electronic device provided in the embodiment of the present application. Figure 8 As shown, the electronic device 80 includes:
[0182] The electronic device 80 may include one or more processors 801 , one or more computer-readable storage media memories 802 , and a communication component 803 . The processor 801 , the memory 802 , and the communication component 803 are connected via a bus 804 .
[0183] During the specific implementation process, at least one processor 801 executes the computer execution instructions stored in the memory 802, so that at least one processor 801 executes the above 5G cloud PLC deterministic transmission method.
[0184] The specific implementation process of the processor 801 can be found in the above method embodiment. Its implementation principle and technical effects are similar and will not be repeated here in this embodiment.
[0185] In the above Figure 8 In the illustrated embodiment, it should be understood that the processor may be a central processing unit (CPU), other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASICs), etc. A general-purpose processor may be a microprocessor or any conventional processor. The steps of the method disclosed in the present invention may be directly executed by a hardware processor or by a combination of hardware and software modules within the processor.
[0186] The memory may include a high-speed memory (Random Access Memory, RAM), and may also include a non-volatile memory (NVM), such as at least one disk memory.
[0187] The bus can be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, or an Extended Industry Standard Architecture (EISA) bus. Buses can be classified into address buses, data buses, and control buses. For ease of illustration, the buses in the drawings of this application are not limited to just one bus or just one type of bus.
[0188] In some embodiments, a computer program product is also proposed, including a computer program or instructions, which, when executed by a processor, implement the steps in any of the above-mentioned 5G cloud-based PLC deterministic transmission methods.
[0189] The specific implementation of the above operations can be found in the previous embodiments and will not be repeated here.
[0190] Those skilled in the art will appreciate that all or part of the steps in the various methods of the above embodiments may be accomplished by instructions, or by controlling related hardware through instructions. The instructions may be stored in a computer-readable storage medium and loaded and executed by a processor.
[0191] To this end, an embodiment of the present application provides a computer-readable storage medium, which stores multiple instructions, which can be loaded by a processor to execute the steps in any one of the 5G cloud-based PLC deterministic transmission methods provided in the embodiment of the present application.
[0192] The storage medium may include a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, etc.
[0193] According to one aspect of the present application, a computer program product or a computer program is provided. The computer program product or the computer program comprises computer instructions stored in a computer-readable storage medium.
[0194] Since the instructions stored in the storage medium can execute the steps in any 5G cloud-based PLC deterministic transmission method provided in the embodiments of the present application, the beneficial effects that can be achieved by any 5G cloud-based PLC deterministic transmission method provided in the embodiments of the present application can be achieved. Please refer to the previous embodiments for details and will not be repeated here.
[0195] Those skilled in the art will readily appreciate other embodiments of the present application after considering the specification and practicing the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the present application that follow the general principles of the present application and include common knowledge or customary techniques in the art not disclosed herein. The description and examples are to be considered as exemplary only, and the true scope and spirit of the present application are indicated by the following claims.
[0196] It should be understood that the present application is not limited to the exact structure described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present application is limited only by the appended claims.
Claims
1. A 5G cloud-based PLC deterministic transmission method, characterized in that: include: Obtaining configuration information, control service information, and communication link information of an I / O device, wherein the I / O device is a device connected to the network, the configuration information is the physical cell identifier of the access base station, the control service information includes the communication cycle between the I / O device and the PLC, and the collaborative relationship between the I / O devices, and the communication link information is the round-trip time of the communication link from the PLC to the I / O device; Determining first access information according to the configuration information, the first access information including a target I / O device and other I / O devices, the target I / O device and the other I / O devices being devices among the I / O devices that need to access a target base station for collaborative work, the target base station corresponding to a physical cell identifier of the access base station in the target configuration information, and the target configuration information being configuration information of the target I / O device; determining, according to the control service information, a first access status of the target I / O device to the target base station, and a second access status of the other I / O devices to the target base station; The access relationship between the PLC of the target base station and the I / O device is determined based on the first access status of the target I / O device and the target base station, the second access status of the other I / O devices and the target base station, the control service information, and the communication link information.
2. The method according to claim 1, characterized in that The obtaining of configuration information, control service information, and communication link information of the I / O device includes: Obtain device information and configuration information of the I / O device, wherein the device information includes IP address, device model and version number; Obtaining device functions and the communication link information according to the device information; Determine control service information of the I / O device according to the device function.
3. The method according to claim 2, characterized in that The acquiring of the device information and configuration information of the I / O device includes: Sending a broadcast request to the network in a target instruction format and scanning I / O devices in the network; Obtaining response information from the I / O device according to the broadcast request, the response information including a physical cell identifier of a base station accessed by the I / O device, a device model, a version number, and an IP address of the device; The configuration information and device information of the I / O device are determined according to the response information of the I / O device.
4. The method according to claim 1, wherein After obtaining the configuration information, control service information, and communication link information of the I / O device, the method further includes: Determining second access information according to the configuration information, where the second access information includes a target I / O device; According to the second access information, the target I / O device is connected to the cloud PLC deployed in the base station.
5. The method according to claim 1, wherein After determining, according to the control service information, a first access status between the target I / O device and the target base station, and a second access status between the other I / O devices and the target base station, the method further includes: If the first access situation indicates that the target I / O device is connected to the target base station and the second access situation indicates that the other I / O device is connected to the target base station, the cloud PLC deployed in the base station is accessed to the target I / O device.
6. The method according to claim 1, characterized in that The determining, based on the first access status of the target I / O device and the target base station, the second access status of the other I / O devices and the target base station, the control service information, and the communication link information, of an access relationship between the PLC of the target base station and the I / O device includes: If the first access situation indicates that the target I / O device is connected to the target base station and the second access situation indicates that the other I / O devices are not connected to the target base station, comparing the communication cycle between the I / O device and the PLC in the control service information and the round-trip time of the communication link from the PLC to the I / O device in the communication link information to obtain a comparison result; If the comparison result is that the round-trip time of the communication link is less than the communication period, connecting the target I / O device to the cloud-based PLC deployed on the 5G-MEC platform; If the comparison result is that the round-trip time of the communication link is greater than or equal to the communication cycle, the target I / O device is first connected to the cloud-based PLC deployed by the base station, and then the cloud-based PLC deployed by the base station is connected to the cloud-based PLC deployed by the 5G-MEC platform.
7. The method according to claim 1, characterized in that After determining the access relationship between the PLC of the target base station and the I / O device based on the access status of the target I / O device and the target base station, the access status of the other I / O devices and the target base station, the control service information, and the communication link information, the method further includes: The access relationship is sent to the cloud PLC so that the cloud PLC sends the corresponding IP and open port number to the I / O device according to the access relationship, and after the I / O device receives and binds the corresponding IP and open port number, it communicates with the cloud PLC.
8. The method according to claim 1, characterized in that The method further comprises: Acquire network link information, wherein the network link information includes network status and I / O port information; Determining a data deterministic transmission configuration principle for PLC control service data based on the network link information, the access relationship between the PLC and the I / O device, and the control service information of the I / O device; The business data is processed according to the data deterministic transmission configuration principle.
9. The method according to claim 8, characterized in that After determining a data deterministic transmission configuration principle for PLC control service data based on the network link information, the access relationship between the PLC and the I / O device, and the control service information of the I / O device, the method further includes: Determining data deterministic transmission parsing configuration information according to the data deterministic transmission configuration principle, the access relationship between the PLC and the I / O device, and the configuration information of the I / O device; The business data is parsed and written according to the data deterministic transmission parsing configuration information and the data writing channel.
10. A 5G cloud-based PLC deterministic transmission device, characterized in that: include: an acquisition module, configured to acquire configuration information, control service information, and communication link information of an I / O device, wherein the I / O device is a device connected to a network, the configuration information is a physical cell identifier of an access base station, the control service information includes a communication cycle between the I / O device and a PLC, and a collaborative relationship between the I / O devices, and the communication link information is a round-trip time of a communication link from the PLC to the I / O device; a first determining module, configured to determine first access information based on the configuration information, the first access information including a target I / O device and other I / O devices, the target I / O device and the other I / O devices being devices among the I / O devices that need to access a target base station for collaborative work, the target base station corresponding to a physical cell identifier of the access base station in the target configuration information, and the target configuration information being configuration information of the target I / O device; A second determining module is configured to determine, based on the control service information, a first access status of the target I / O device to the target base station and a second access status of the other I / O devices to the target base station; The third determination module is used to determine the access relationship between the PLC of the target base station and the I / O device based on the first access status of the target I / O device and the target base station, the second access status of the other I / O devices and the target base station, the control service information, and the communication link information.
11. An electronic device, characterized in that: include: a processor, and a memory communicatively connected to the processor; The memory stores computer-executable instructions; The processor executes the computer-executable instructions stored in the memory to implement the 5G cloud-based PLC deterministic transmission method according to any one of claims 1 to 9.
12. A computer-readable storage medium, characterized in that The computer-readable storage medium stores computer-executable instructions, which, when executed by a processor, are used to implement the 5G cloud-based PLC deterministic transmission method according to any one of claims 1 to 9.