Data transmission method, PLC centralized device, input / output driver and system

CN118827726BActive Publication Date: 2026-09-15CHINA MOBILE SHANGHAI ICT CO LTD +2
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202410473309.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-04-18
Publication Date
2026-09-15
Estimated Expiration
2044-04-18

AI Technical Summary

Technical Problem

相关技术中,PLC组网架构中的PLC为有线连接方式,那么基于该PLC组网架构进行数据传输时,速度较慢,影响用户使用体验

Benefits of technology

[0015] In this application, a centralized PLC device receives first service data sent by an input/output driver. The first service data includes at least first PLC data, which is associated with at least one PLC service. Through a cloud-based PLC module associated with each PLC service, the data for each PLC service in the first PLC data is processed to obtain second PLC data for each PLC service. The second PLC data is then sent to the input/output driver. Because at least one cloud-based PLC module in the centralized PLC device corresponds functionally to the PLC devices in the industrial field, virtualization and wireless connectivity of the PLC devices are achieved, reducing the hardware deployment costs of PLC devices, cables, etc., in the industrial field. Furthermore, the wireless transmission method between the input/output driver and the centralized PLC device improves data transmission rate and reduces transmission latency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118827726B_ABST
    Figure CN118827726B_ABST
Patent Text Reader

Abstract

The application discloses a data transmission method, a PLC centralized device, an input / output driver and a system, and the method comprises the following steps: receiving first service data sent by an input / output driver, wherein the first service data at least comprises first PLC data, and the first PLC data is associated with at least one PLC service; processing the data of each PLC service in the first PLC data through a cloud-based PLC module associated with each PLC service, so as to obtain second PLC data of each PLC service; and sending the second PLC data to the input / output driver. Through the application, the virtualization and wireless of the PLC device are realized, the deployment cost of the PLC device, cables and other hardware in the industrial field is reduced, and the data transmission rate can be improved and the transmission delay can be reduced through the wireless transmission mode of the input / output driver and the PLC centralized device.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to, but is not limited to, the field of wireless communication technology, and in particular to a data transmission method, a PLC centralized device, an input / output driver, and a system. Background Technology

[0002] Currently, programmable logic controllers (PLCs) are increasingly widely used in industrial automation production, motion control and other fields.

[0003] In industrial control environments, PLCs are often deployed alongside machinery, and multiple PLCs need to coordinate information processing. Automated production places high demands on control systems, and industrial sites typically employ discrete-distributed control systems based on rigid deterministic programming to ensure production continuity and safety. In related technologies, PLCs in a network architecture are often wired, resulting in slow data transmission speeds that negatively impact user experience. Summary of the Invention

[0004] In view of this, this application provides a data transmission method, a PLC centralized device, an input / output driver, and a system. By transmitting data through the input / output driver and the PLC centralized device, the data transmission rate can be improved and the transmission delay can be reduced.

[0005] The technical solution of this application embodiment is implemented as follows:

[0006] In a first aspect, this application provides a data transmission method executed by a centralized PLC device, wherein the centralized PLC device includes at least one cloud-based PLC module, and the at least one cloud-based PLC module corresponds to the function of a PLC device in an industrial field; the method includes: receiving first service data sent by an input / output driver, the first service data including at least first PLC data, the first PLC data being associated with at least one PLC service; processing the data of each PLC service in the first PLC data through the cloud-based PLC module associated with each PLC service to obtain second PLC data for each PLC service; and sending the second PLC data to the input / output driver.

[0007] Secondly, this application provides a data transmission method executed by an input / output driver. The method includes: receiving second business data sent by mechanical equipment; identifying the second business data to obtain first PLC data; sending the first business data to a centralized PLC device, the first business data including the first PLC data, wherein the centralized PLC device includes at least one cloud-based PLC module, the at least one cloud-based PLC module corresponding to the function of a PLC device in the industrial field; receiving the second PLC data and forwarding it to the mechanical equipment, the second PLC data being obtained by processing the first PLC data by the at least one cloud-based PLC module.

[0008] Thirdly, this application provides a centralized PLC device, comprising: a first receiving module for receiving first service data sent by an input / output driver, the first service data including at least first PLC data, the first PLC data being associated with at least one PLC service; a cloud-based PLC module associated with each PLC service for processing the data of each PLC service in the first PLC data to obtain second PLC data of each PLC service, the cloud-based PLC module corresponding to the function of the PLC device in the industrial field; and a first sending module for sending the second PLC data to the input / output driver.

[0009] Fourthly, this application provides an input / output driver, comprising: a second receiving module for receiving second business data sent by mechanical equipment; a processing module for identifying the second business data to obtain first PLC data; a third sending module for sending the first business data to a centralized PLC device, the first business data including first PLC data, wherein the centralized PLC device includes at least one cloud-based PLC module, the at least one cloud-based PLC module corresponding to the function of a PLC device in the industrial field; the second receiving module is further configured to receive the second PLC data and forward it to the mechanical equipment, the second PLC data being obtained by processing the first PLC data by the at least one cloud-based PLC module.

[0010] Fifthly, this application provides a cloud-based PLC system, which includes: mechanical equipment, input / output drivers as described in the fourth aspect, and a centralized PLC device as described in the third aspect; wherein the mechanical equipment communicates with the input / output drivers via a wired connection; the input / output drivers communicate with the centralized PLC device via a wireless connection; and the mechanical equipment is used to send second service data to the input / output drivers.

[0011] Sixthly, this application provides a computer device including a memory and a processor, the memory storing a computer program executable on the processor, which, when executed by the processor, implements some or all of the steps in the above-described method.

[0012] In a seventh aspect, this application provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements some or all of the steps in the above-described method.

[0013] Eighthly, this application provides a computer program product, including a computer program or instructions that, when executed by a processor, implement some or all of the steps in the above-described method.

[0014] Ninthly, this application provides a computer program including computer-readable code, which, when executed in a computer device, causes a processor in the computer device to perform some or all of the steps in the above-described method.

[0015] In this application, a centralized PLC device receives first service data sent by an input / output driver. The first service data includes at least first PLC data, which is associated with at least one PLC service. Through a cloud-based PLC module associated with each PLC service, the data for each PLC service in the first PLC data is processed to obtain second PLC data for each PLC service. The second PLC data is then sent to the input / output driver. Because at least one cloud-based PLC module in the centralized PLC device corresponds functionally to the PLC devices in the industrial field, virtualization and wireless connectivity of the PLC devices are achieved, reducing the hardware deployment costs of PLC devices, cables, etc., in the industrial field. Furthermore, the wireless transmission method between the input / output driver and the centralized PLC device improves data transmission rate and reduces transmission latency.

[0016] It should be understood that the above general description and the following detailed description are merely exemplary and explanatory, and are not intended to limit the technical solutions of this application. Attached Figure Description

[0017] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with this application and, together with the specification, serve to explain the technical solutions of this application.

[0018] Figure 1 This is a schematic diagram of a PLC networking architecture in related technologies;

[0019] Figure 2 This is a schematic diagram of another PLC networking architecture in related technologies;

[0020] Figure 3 This is a schematic diagram of a cloud-based PLC system provided in an embodiment of this application;

[0021] Figure 4 This is a schematic diagram of a PLC centralized device provided in an embodiment of this application;

[0022] Figure 5 This is a schematic diagram of the interaction process of a data transmission method provided in an embodiment of this application;

[0023] Figure 6 This is a flowchart of a data transmission method provided in an embodiment of this application;

[0024] Figure 7 This is a flowchart of a data transmission method provided in an embodiment of this application;

[0025] Figure 8 This is a schematic diagram of the structure of a data transmission device 800 provided in an embodiment of this application;

[0026] Figure 9 This is a schematic diagram of the structure of a data transmission device 900 provided in an embodiment of this application;

[0027] Figure 10 This is a schematic diagram of the structure of a computer device provided in an embodiment of this application. Detailed Implementation

[0028] The embodiments of this application are described below with reference to the accompanying drawings. In the following description, reference is made to the accompanying drawings, which form part of this application and illustrate specific aspects of the embodiments of this application or to which specific aspects of the embodiments of this application may be used. It should be understood that the embodiments of this application may be used in other aspects and may include structural or logical variations not depicted in the drawings. Therefore, the following detailed description should not be construed in a limiting sense, and the scope of this application is defined by the appended claims. For example, it should be understood that the disclosure of the described methods is equally applicable to corresponding devices or systems for performing the methods, and vice versa. For example, if one or more specific method steps are described, the corresponding device may include one or more units, such as functional units, to perform the described one or more method steps (e.g., one unit performs one or more steps, or multiple units, each performing one or more of multiple steps), even if such one or more units are not explicitly described or illustrated in the drawings. On the other hand, for example, if a specific apparatus is described based on one or more units such as functional units, the corresponding method may include a step to perform the functionality of one or more units (e.g., a step to perform the functionality of one or more units, or multiple steps, each of which performs the functionality of one or more units among a plurality of units), even if such one or more steps are not explicitly described or illustrated in the accompanying drawings. Furthermore, it should be understood that, unless otherwise expressly stated, features of the various exemplary embodiments and / or aspects described herein can be combined with each other.

[0029] The prefixes such as "first" and "second" in the embodiments of the present application are only used to distinguish different described objects, and do not limit the position, order, priority, quantity or content of the described objects. For the statement of the described objects, refer to the description in the claims or the context of the embodiments, and no extra limitation shall be imposed due to the use of the prefixes. For example, if the described object is "service data", the ordinal numbers before "service data" in "first service data" and "second service data" do not limit the position or order between the "service data", nor do they limit the sequence of "first service data" and "second service data". For another example, if the described object is "level", the ordinal numbers before "level" in "first level" and "second level" do not limit the priority between the "levels". For another example, the quantity of the described object is not limited by the ordinal numbers, and can be one or more. Taking "first device" as an example, the quantity of "device" therein can be one or more. In addition, objects modified by different prefixes can be the same or different. For example, if the described object is "device", the "first device" and "second device" can be the same device or different devices, and their types can be the same or different; for another example, if the described object is "information", the "first information" and "second information" can be the same information or different information, and their contents can be the same or different.

[0030] With the development of computer technology, storage logic has begun to enter the field of industrial control. As a digital operation controller for automation control, PLC is a representative of the industrial application of storage logic. At present, PLC technology is developing rapidly, its functions are becoming increasingly powerful, its application is becoming more and more extensive, and it plays an increasingly important role in many fields.

[0031] Based on the traditional sequential controller, PLC is a general industrial automatic control device formed by integrating computer technology, microelectronic technology, automatic control technology, digital technology, communication network technology and other technologies, and is an important pillar of modern industrial control. In industrial network sites, PLCs are often deployed independently beside mechanical equipment and configured in a 1:1 ratio. Information needs to be processed collaboratively among multiple PLCs, and the performance requirements of the on-site Operation Technology (OT) network are high, so customized industrial Ethernet / fieldbus protocols are adopted. High-precision and high-reliability automated production has very high requirements for the determinacy of control links. Industrial sites usually adopt discrete distributed control systems based on rigid deterministic planning collaboration to ensure the continuity and safety of production.

[0032] Here, rigidity can be understood as wired connection.

[0033] Figure 1 is a schematic diagram of a PLC networking architecture in the related art. As shown in Figure 1As shown, the architecture includes: industrial production line master control 101, primary PLC 102, switch 103, secondary PLC 104, input / output (IO) driver 105, and mechanical equipment 106. Figure 1 The primary PLC 102 and secondary PLC 104 are both wired connections, requiring local deployment of PLC entities. Both primary PLC 102 and secondary PLC 104 entities are deployed in the industrial field, and the devices at different levels are connected by wires.

[0034] Among them, mechanical equipment 106 can be understood as equipment in the industrial field, such as robots, automated guided vehicles (AGVs), production equipment, etc. I / O driver 105 can be used to process I / O instructions, read and write data, and access hardware programs.

[0035] It should be noted that: Figure 1 The number of each device shown is for illustrative purposes only, and the embodiments of this application do not impose any specific limitations on it.

[0036] With the continuous development of 5G technology, its upstream and downstream industrial chains and ecosystem, the wireless transformation of industrial control networks is receiving increasing attention, and 5G and cloud-based PLCs have become research hotspots.

[0037] Figure 2 This is a schematic diagram of another PLC networking architecture in related technologies. For example... Figure 2 As shown, the architecture includes: User Plane Function (UPF) 201, Building Baseband Unit (BBU) 202, Pico Remote Radio Unit (pRRU) 203, Gateway 204, Secondary PLC 205, Input / Output Driver 206, and Mechanical Equipment 207.

[0038] The primary PLCs are centrally deployed in a cloud-based manner within the UPF edge computing device, specifically the cloud-based PLC module 2011 deployed in the user plane function 201. The user plane function 201 can also deploy industrial application modules 2012. The gateway 204 can be a 5G Customer Premise Equipment (CPE), capable of converting wired signals into wireless signals. The secondary PLC 205 adopts a wired distributed deployment, achieving partial centralized cloud deployment. This architecture simplifies the industrial network architecture to some extent and meets some flexible production requirements. However, a significant number of secondary PLC devices are still physically deployed locally, and multiple networks still exist in the industrial field, failing to resolve the data interoperability issues between different networks and different devices.

[0039] It should be noted that: Figure 2 The number of each device shown is for illustrative purposes only, and the embodiments of this application do not impose any specific limitations on it.

[0040] The above two PLC networking architectures have the following problems:

[0041] 1. Construction deployment issues: Figure 1 The PLC hardware in the architecture shown has a high cost, and in some scenarios the wires are easily broken, making it difficult to deploy, especially in narrow or large equipment processing scenarios.

[0042] 2. Issues related to synergy and efficiency: Figure 2 The architecture shown presents difficulties in coordinating among multiple secondary PLCs, and also makes coordination between the industrial control network and the 5G network challenging.

[0043] 3. Operation and maintenance costs: Figure 1 and Figure 2 The architecture shown has issues such as downtime for maintenance due to wire wear, the need for on-site upgrades for PLCs, and high costs associated with multi-point maintenance.

[0044] In view of this, embodiments of this application propose a data transmission method, a PLC centralized device, an input / output driver, and a system. By transmitting data through the input / output driver and the PLC centralized device, the data transmission rate can be improved and the transmission delay can be reduced.

[0045] In some embodiments, the methods described in this application can be applied to the industrial energy sector.

[0046] Figure 3 This is a schematic diagram of a cloud-based PLC system provided in an embodiment of this application. For example... Figure 3As shown, the cloud-based PLC system includes: mechanical equipment 301, I / O driver 302, and PLC central device 303 (also known as an industrial base station). The mechanical equipment 301 communicates with the I / O driver 302 via a wired connection; the I / O driver 302 communicates with the PLC central device 303 via a wireless connection; the PLC central device 303 includes at least one cloud-based PLC module (…). Figure 3 The diagram shows a cloud-based PLC module 3031, at least one of which corresponds to the function of a PLC device in the industrial field.

[0047] Understandably, the I / O driver 302 can be used to process I / O instructions, read and write data, and access programs for hardware (such as mechanical equipment). The PLC central device 303 can be used to process data related to PLC operations and to implement wireless transmission.

[0048] In some embodiments, the PLC centralization device 303 can be understood as a device that integrates and deploys PLCs in the industrial field onto an industrial base station cloud platform using a base station cloud base and technologies such as software or virtualization. Based on this, the PLC centralization device 303 can replace the PLCs in the industrial field, realizing the wireless centralized deployment of PLCs.

[0049] In this embodiment, by cloudifying PLC devices in the industrial field, the deployment of hardware such as PLC devices and cables in the industrial field is reduced, thereby lowering the networking cost of the production line and realizing the wireless operation of PLC devices to meet the requirements of flexible production. At the same time, maintenance and software upgrades of centralized PLC devices can be performed online and remotely, making industrial control maintenance more intelligent and reducing maintenance costs.

[0050] In some embodiments, the mechanical device 301 is used to send second service data to the IO driver 302; the IO driver 302 is used to: receive the second service data sent by the mechanical device 301, identify the second service data to obtain first PLC data, and then send the first service data to the PLC central device 303. The first service data includes first PLC data. The PLC central device 303 includes at least one cloud-based PLC module, which corresponds to the function of the PLC device in the industrial field. It can generate second PLC data and forward it to the mechanical device. The second PLC data is obtained by processing the first PLC data by the at least one cloud-based PLC module. The PLC central device 303 is used to receive the first service data sent by the input / output driver 302. The first service data includes at least first PLC data. The first PLC data is associated with at least one PLC service. Then, through the cloud-based PLC module associated with each PLC service, the data of each PLC service in the first PLC data is processed to obtain the second PLC data of each PLC service. The second PLC data is then sent to the input / output driver 302.

[0051] Here, the second business data can be understood as the business data generated by the mechanical equipment 301. The IO driver 302 has an automatic identification function and can identify the first PLC data from the second business data. The first PLC data can be a data packet corresponding to one or more PLC services, which is not limited in this embodiment. At least one PLC service can be understood as one or more services related to the PLC.

[0052] In some embodiments, the second service data may only include PLC service data. In this case, the IO driver 302 identifies the second service data, obtaining the first PLC data (which is the second service data). After obtaining the first PLC data, the IO driver 302 sends it to the PLC central device 303. The PLC central device 303 receives the first service data sent by the IO driver 302. Since the PLC central device 303 includes at least one cloud-based PLC module, and this cloud-based PLC module corresponds to the function of the PLC equipment in the industrial field, the PLC central device 303 processes the data of each PLC service in the first PLC data through the cloud-based PLC module associated with each PLC service, thus obtaining the second PLC data for each PLC service. The second PLC data is then sent to the IO driver 302.

[0053] In some embodiments, the second service data may include only non-PLC data, and correspondingly, the first service data is non-PLC data. In this case, the IO driver 302 identifies the second service data, obtains the non-PLC data (here, the non-PLC data is the second service data), and then sends the first service data (i.e., the non-PLC data) to the core network device. For example, the non-PLC data can be sent to the PLC central device 303, which receives the non-PLC data sent by the IO driver 302 and sends it to the core network device, where the core network device processes the non-PLC data.

[0054] Here, non-PLC data can be understood as data other than PLC business data, such as user data.

[0055] In some embodiments, the second service data may include PLC service data and non-PLC data. The IO driver 302 identifies the second service data to obtain the first PLC data and non-PLC data (the first service data being both the first PLC data and non-PLC data), and then sends the first service data to the PLC central device 303. The PLC central device 303 receives the first PLC data sent by the IO driver 302 and processes the data of each PLC service in the first PLC data through the cloud-based PLC modules associated with each PLC service, thus obtaining the second PLC data for each PLC service. The second PLC data is then sent back to the IO driver 302. Simultaneously, the PLC central device 303 receives the non-PLC data sent by the IO driver 302 and sends the non-PLC data to the core network device for processing.

[0056] In some embodiments, the IO driver 302 identifies the second business data, obtains the first PLC data, and then processes the first PLC data, such as by decompression and cleaning, to obtain business parameters.

[0057] In some embodiments, the service parameters may include at least one of the following: the size of data packets for different services in the first PLC data, the data packet transmission period, and the reference delay corresponding to different services.

[0058] Here, the reference latency (also known as the minimum latency requirement) can be understood as the minimum time preset for the transmission of the first PLC data. This minimum time is specific to the PLC service, and the reference latency for different PLC services can be different or the same. This application embodiment does not limit this. For example, the minimum latency requirement for PLC service 1 can be 5 milliseconds (ms), and the minimum latency requirement for PLC service 2 can be 10 ms. This application embodiment does not limit this.

[0059] In this embodiment, the IO driver 302 receives second service data from the mechanical equipment 301, identifies the second service data to obtain first PLC data and / or non-PLC data included in the first service data. After obtaining the first PLC data, the IO driver 302 processes the first PLC data to obtain service parameters. The IO driver 302 can send the service parameters to the PLC central device 303. Compared with the related technology where the first service data is received by the base station and identified to distinguish different service data, this embodiment identifies the second service data before the first service data enters the PLC central device 303 and sends the obtained first service data to the PLC central device 303. This allows for identification near the mechanical equipment in the industrial field, actively obtaining service parameters, so that the PLC central device 303 can directly perform related processing based on the service parameters.

[0060] In some embodiments, the IO driver 302 receives second PLC data sent by the PLC central device 303 and sends the second PLC data to the mechanical device 301. Accordingly, the mechanical device 301 receives the second PLC data.

[0061] In some embodiments, the IO driver 302 can determine the actual delay based on the first moment when the second service data is received and the second moment when the second PLC data is received; and determine the target delay based on the reference delay and the actual delay, wherein the target delay is used to update the reference delay.

[0062] Understandably, when the service parameters include reference delays corresponding to different services, the IO driver subtracts the first time from the first time it receives the second service data sent by the mechanical equipment and the second time it receives the second PLC data sent by the PLC centralized device to obtain the actual delay. Then, based on the relationship between the reference delay and the actual delay, the minimum of the two is determined as the target delay. In this way, the target delay can serve as a reference standard for the transmission delay of the next transmission of the same type of service; that is, the target delay can be used to update the reference delay for the next transmission of the same type of service, which helps to reduce the transmission delay of the service.

[0063] In some embodiments, the cloud-based PLC system further includes: pRRU; pRRU, used for data transmission between IO drivers and PLC centralized devices.

[0064] Here, pRRU can be understood as a miniaturized, low-power, and low-consumption micro-cellular base station.

[0065] Understandably, the pRRU can allocate wireless resources to transmit the second PLC service data to the IO driver based on instructions sent by the cloud-based control module. When the IO driver sends the first service data to the PLC central device, the first service data transmitted through the IO driver can be transmitted via wireless air interface resources within the area covered by the pRRU.

[0066] In this embodiment of the application, the pRRU can solve the indoor wireless coverage problem in specific areas (such as areas far from the base station) and ensure wireless communication between the IO driver and the PLC centralized device.

[0067] Figure 4 This is a schematic diagram of a PLC centralized device provided in an embodiment of this application. For example... Figure 4 As shown, the PLC centralized device 400 includes: a cloud-based control module 401, a service identification module 402, and at least one cloud-based PLC module ( Figure 4 The diagram shows two cloud-based PLC modules: cloud-based PLC module 1 (403) and cloud-based PLC module 2 (404), and a scheduling module 405. The cloud-based control module 401 can be a cloud-based BBU module. The cloud-based control module 401 sends received first PLC data to the service identification module 402. The service identification module 402 identifies the first PLC data according to PLC services to obtain data corresponding to at least one PLC service, and sends the data corresponding to at least one PLC service to the cloud-based PLC module associated with that service. At least one cloud-based PLC module processes the data corresponding to at least one PLC service to obtain second PLC data for each service, determines the priority of each service, and sends the second PLC data and priority to the scheduling module 405. The scheduling module 405 allocates wireless resources for the second PLC data of at least one PLC service based on its priority; these wireless resources are used to send the second PLC data to the input / output driver.

[0068] Understandably, the scheduling module 405 can send wireless resources to the cloud control module 401, so that the cloud control module 401 can send data from each of the second PLCs to the IO driver based on the wireless resources. The priority of at least one PLC service can be determined according to service parameters.

[0069] Here, the cloud-based BBU module can be understood as: implementing the baseband processing unit function of the base station through virtualization, software-based technologies, and can be used to extract data from the first PLC. At least one cloud-based PLC module can be understood as: implementing the function of a hardware PLC device through virtualization, software-based technologies, and used to process PLC services.

[0070] In some embodiments, the cloud-based control module 401 receives first service data, which further includes service parameters of the first PLC data. These service parameters are obtained by processing the first PLC data from the second service data sent by the input / output driver to the mechanical equipment. Based on the service parameters, the cloud-based control module extracts the data containing the service parameters from the first service data, which is the first PLC data. Simultaneously, the cloud-based control module 401 can also extract data that does not contain service parameters, which is non-PLC data. Therefore, the cloud-based control module 401 extracts the first PLC data from the first service data based on whether or not it contains service parameters.

[0071] In some embodiments, the service identification module 402 can identify the first PLC data based on service parameters, determine the PLC service corresponding to the first PLC data, thereby obtaining data corresponding to at least one PLC service, and then send the data corresponding to at least one PLC service to different cloud PLC modules (i.e. cloud PLC modules associated with at least one PLC service).

[0072] Understandably, different services may correspond to different service parameters. Therefore, the service identification module 402 can determine the PLC service corresponding to the first PLC data based on the service parameters of the first PLC data, so as to obtain the data corresponding to at least one PLC service, such as the PLC data corresponding to PLC service 1, the PLC data corresponding to PLC service 2, etc. Then, the data corresponding to at least one PLC service is sent to the cloud PLC module associated with each PLC service. For example, the PLC data corresponding to PLC service 1 is sent to the cloud PLC module 1 403 associated with PLC service 1, and the PLC data corresponding to PLC service 2 is sent to the cloud PLC module 2 404 associated with PLC service 2, etc.

[0073] In this embodiment, the service identification module sends data corresponding to at least one PLC service to a cloud-based PLC module associated with at least one PLC service. This allows for synchronized processing of data corresponding to each PLC service through the cloud-based PLC modules. Specifically, the cloud-based PLC modules associated with each PLC service process the data corresponding to each PLC service, reducing the latency of processing all services within the same cloud-based PLC module. Furthermore, different cloud-based PLC modules can call different sizes of cloud resources based on service parameters. For example, different sizes of cloud resources can be called based on the size of the data packets of different services in the first PLC data, ensuring that all services can utilize sufficient cloud resources for processing at the same time, further guaranteeing the latency requirements of different services.

[0074] In some embodiments, the scheduling module 405 can adjust the radio resource scheduling according to service parameters to meet the radio resource requirements of services with different reference delays.

[0075] Understandably, after the service identification module 402 sends data corresponding to at least one PLC service to the cloud-based PLC module associated with that service, the cloud-based PLC module associated with each service processes the data corresponding to that service separately. Simultaneously, the service identification module 402 can also isolate different services, and different cloud-based PLC modules can combine service parameters to call different cloud resources, ensuring that each PLC service can utilize sufficient cloud resources for processing simultaneously.

[0076] In some embodiments, at least one cloud-based PLC module can prioritize data corresponding to at least one PLC service based on the value of a reference delay in the service parameters (i.e., the minimum delay requirement for different PLC services), thus determining the priority of this data. For example, the smaller the reference delay value, the higher the priority of the data corresponding to that reference delay; conversely, the larger the reference delay value, the lower the priority of the data corresponding to that reference delay. Prioritizing data corresponding to at least one PLC service can be understood as prioritizing at least one PLC service to determine its priority. Then, at least one cloud-based PLC module processes the data corresponding to at least one PLC service according to its priority.

[0077] In some embodiments, the scheduling module 405, in conjunction with real-time wireless resource scheduling, can dynamically adjust the allocation of wireless resources for different services based on the priority of at least one PLC service, ensuring that the second PLC data corresponding to the service with higher priority is transmitted first.

[0078] In some embodiments, the cloud control module 401 receives priority allocation of wireless resources from the scheduling module 405, ensuring that the second PLC data corresponding to the high-priority service is transmitted first.

[0079] In some embodiments, the IO driver can receive second PLC data for each PLC service sent by the cloud-based control module 401.

[0080] In this embodiment, the centralized PLC device utilizes software and virtualization technologies to implement the functions of a cloud-based control module and at least one cloud-based PLC module. Through a service identification module and a scheduling module, it ensures sufficient cloud resources are used to process various PLC services, meeting the reference latency requirements of different services. Simultaneously, by virtualizing and centrally deploying hardware PLC devices in the industrial field within the centralized PLC device, and leveraging the network advantages of the centralized PLC device, the industrial networking structure can be transformed from wired to wireless, and from local to centralized.

[0081] Understandably, the first business data may include first PLC data and non-PLC data, and may also include business parameters of the first PLC data. Based on this, the cloud-based control module 401 uses the business parameters included in the first business data to determine that data including business parameters is first PLC data, and data not including business parameters is non-PLC data. Then, the cloud-based control module 401 sends the first PLC data to the business identification module 402, which further processes the first PLC data, and sends the non-PLC data to the core network equipment, which processes the non-PLC data.

[0082] In this embodiment, the cloud-based control module extracts first PLC data and non-PLC data from the first service data based on service parameters. The first PLC data, which has latency requirements, is sent to the service identification module so that at least one cloud-based PLC module can process the data of each PLC service in the first PLC data. Other data (i.e., non-PLC data) is sent to the core network equipment, which processes the non-PLC data. This allows the data of each PLC service in the first PLC data to be processed within the PLC centralized equipment, which not only reduces transmission latency but also ensures the needs of all services when allocating wireless resources.

[0083] The data transmission method provided in the embodiments of this application will be described below in conjunction with the cloud-based PLC system described above.

[0084] Figure 5 This is a schematic diagram illustrating the interaction process of a data transmission method provided in an embodiment of this application. For example... Figure 5As shown, the data transmission method of this application embodiment is applied to a cloud-based PLC system, and the method may include steps S501 to S506.

[0085] In step S501, the mechanical device sends second service data to the input / output driver.

[0086] In step S502, the input / output driver receives the second service data sent by the mechanical equipment, identifies the second service data, and obtains the first PLC data.

[0087] In step S503, the input / output driver sends the first service data to the PLC centralized device.

[0088] The first business data includes the first PLC data.

[0089] In step S504, the PLC centralized device receives the first service data sent by the input / output driver, and processes the data of each PLC service in the first PLC data through the cloud-based PLC module associated with each PLC service to obtain the second PLC data of each PLC service.

[0090] In step S505, the PLC central device sends the second PLC data to the input / output driver.

[0091] In step S506, the input / output driver sends the second PLC data to the mechanical equipment.

[0092] In this embodiment of the application, data transmission is performed through the cloud-based PLC system. Since at least one cloud-based PLC module in the centralized PLC device of the cloud-based PLC system corresponds to the function of the PLC device in the industrial field, the virtualization and wirelessization of the PLC device are realized, reducing the hardware deployment costs of PLC devices, cables and other components in the industrial field. Furthermore, the wireless transmission method between the input / output driver and the centralized PLC device can improve the data transmission rate and reduce the transmission latency.

[0093] Figure 6 This is a flowchart illustrating a data transmission method provided in an embodiment of this application. For example... Figure 6 As shown, the data transmission method of this application embodiment is executed by a PLC centralized device, and the method may include steps S601 to S603.

[0094] In step S601, the first service data sent by the input / output driver is received.

[0095] Here, the first business data includes at least the first PLC data, and the first PLC data is associated with at least one PLC business.

[0096] In step S602, the cloud-based PLC module associated with each PLC service processes the data of each PLC service in the first PLC data to obtain the second PLC data of each PLC service.

[0097] In step S603, the second PLC data is sent to the input / output driver.

[0098] In this embodiment, since at least one cloud-based PLC module in the PLC central device corresponds to the function of the PLC device in the industrial field, the virtualization and wireless nature of the PLC device are realized, reducing the hardware deployment costs of PLC devices, cables and other components in the industrial field. Furthermore, the wireless transmission method between the input / output driver and the PLC central device can improve the data transmission rate and reduce the transmission latency.

[0099] In some embodiments, the PLC centralized device further includes: a cloud-based control module and a service identification module; receiving first service data sent by an input / output driver includes: the cloud-based control module receiving the first service data sent by the input / output driver; after receiving the first service data sent by the input / output driver, the data transmission method further includes: the cloud-based control module sending first PLC data included in the first service data to the service identification module; the service identification module identifying the first PLC data according to the PLC service to obtain data corresponding to at least one PLC service, and sending the data corresponding to at least one PLC service to the cloud-based PLC module associated with at least one PLC service.

[0100] In this embodiment, the PLC centralized device implements the functions of the cloud control module through software, virtualization and other technologies. Through the service identification module, it can identify the first PLC data, obtain the data corresponding to at least one PLC service, and send the data corresponding to at least one PLC service to the cloud PLC module associated with at least one PLC service, so that the cloud PLC module can process the data corresponding to at least one PLC service.

[0101] In some embodiments, before the cloud-based control module sends the received first PLC data to the service identification module, the method further includes: the cloud-based control module receiving first service data, the first service data further including service parameters of the first PLC data, the service parameters being obtained by processing the first PLC data in the second service data sent by the input / output driver to the mechanical equipment; and the cloud-based control module extracting the first PLC data from the first service data based on the service parameters.

[0102] In this embodiment, the cloud-based control module can extract the first PLC data based on the business parameters, so that the cloud-based control module can subsequently send the first PLC data to the business identification module.

[0103] In some embodiments, the service parameters include at least one of the following: the size of data packets for different services in the first PLC data; the data packet transmission period; and the reference delay corresponding to different services.

[0104] In some embodiments, the first service data further includes non-PLC data; after receiving the first service data sent by the input / output driver, the method further includes: sending the non-PLC data to the core network device so that the core network device processes the non-PLC data.

[0105] In this embodiment of the application, processing non-PLC data through core network equipment can save resources and computing power of PLC centralized equipment, enabling the processing of data of each PLC service in the first PLC data within the PLC centralized equipment. This not only reduces transmission latency but also ensures the needs of all services when allocating wireless resources.

[0106] In some embodiments, the PLC central device further includes a scheduling module; the method further includes: the scheduling module allocating wireless resources for the second PLC data of at least one PLC service according to the priority of at least one PLC service, the wireless resources being used to send the second PLC data to the input / output driver.

[0107] In this embodiment, the scheduling module can dynamically adjust the allocation of wireless resources for different services based on the priority of at least one PLC service, taking into account the real-time wireless resource scheduling situation, so as to ensure that the second PLC data corresponding to the service with higher priority is transmitted first.

[0108] Figure 7 This is a flowchart illustrating a data transmission method provided in an embodiment of this application. For example... Figure 7 As shown, the data transmission method of this application embodiment is executed by an IO driver, and the method may include steps S701 to S704.

[0109] In step S701, the second service data sent by the mechanical equipment is received.

[0110] In step S702, the second business data is identified to obtain the first PLC data.

[0111] In step S703, the first service data is sent to the PLC centralized device.

[0112] Here, the first business data includes the first PLC data. The centralized PLC equipment includes at least one cloud-based PLC module, and this cloud-based PLC module corresponds functionally to the PLC equipment in the industrial field.

[0113] In step S704, the second PLC data is received and forwarded to the mechanical equipment.

[0114] Here, the second PLC data is obtained by processing the first PLC data by at least one cloud-based PLC module.

[0115] In some embodiments, the first business data further includes business parameters; after identifying the second business data to obtain the first PLC data, the method further includes: processing the first PLC data to obtain the business parameters.

[0116] In this embodiment of the application, the service parameters can be obtained through the IO driver, and the IO driver also supports sending the service parameters to the PLC centralized device.

[0117] In some embodiments, the service parameters include at least one of the following: the size of data packets for different services in the first PLC data; the data packet transmission period; and the reference delay corresponding to different services.

[0118] In some embodiments, the second business data further includes non-PLC data; the first business data further includes non-PLC data.

[0119] In some embodiments, the method further includes: determining an actual delay based on a first moment when the second service data is received and a second moment when the second PLC data is received; and determining a target delay based on a reference delay and the actual delay, wherein the target delay is used to update the reference delay.

[0120] In this embodiment of the application, updating the reference delay for the next transmission of the same type of service by using the target delay is beneficial to reducing the transmission delay of the service.

[0121] Based on the same inventive concept, this application also provides a data transmission device 800, which is a PLC centralized device. Figure 8 This is a schematic diagram of the structure of a data transmission device 800 provided in an embodiment of this application. Figure 8 As shown, the data transmission device 800 includes: a first receiving module 801, used to receive first service data sent by an input / output driver, the first service data including at least first PLC data, the first PLC data being associated with at least one PLC service; a cloud-based PLC module 802 associated with each PLC service, used to process the data of each PLC service in the first PLC data to obtain second PLC data of each PLC service, the cloud-based PLC module corresponding to the function of the PLC equipment in the industrial field; and a first sending module 803, used to send the second PLC data to the input / output driver.

[0122] In some embodiments, the first receiving module 801 includes: a cloud-based control module and a service identification module; the cloud-based control module is used to send the received first PLC data to the service identification module; the service identification module is used to identify the first PLC data according to the PLC service to obtain data corresponding to at least one PLC service, and send the data corresponding to at least one PLC service to the cloud-based PLC module associated with at least one PLC service.

[0123] In some implementations, the cloud-based control module is further configured to: receive first service data before sending the received first PLC data to the service identification module, the first service data further including service parameters of the first PLC data, the service parameters being obtained by processing the first PLC data in the second service data sent by the input / output driver to the mechanical equipment; and extract the first PLC data from the first service data based on the service parameters.

[0124] In some implementations, the service parameters include at least one of the following: the size of data packets for different services in the first PLC data; the data packet transmission period; and the reference delay corresponding to different services.

[0125] In some implementations, the first business data also includes non-PLC data; the PLC centralization device further includes: a second sending module; the second sending module is used to send the non-PLC data to the core network device so that the core network device can process the non-PLC data.

[0126] In some implementations, the PLC centralization device further includes: a scheduling module; the scheduling module is configured to allocate wireless resources for second PLC data of at least one PLC service according to the priority of at least one PLC service, the wireless resources being used to send the second PLC data to the input / output driver.

[0127] Regarding the apparatus in the above embodiments, the specific manner in which each module performs its operation has been described in detail in the embodiments related to the method, and will not be elaborated upon here.

[0128] This application embodiment also provides a data transmission device 900, which is an input / output driver. Figure 9 This is a schematic diagram of the structure of a data transmission device 900 provided in an embodiment of this application. Figure 9As shown, the data transmission device 900 includes: a second receiving module 901 for receiving second business data sent by mechanical equipment; a processing module 902 for identifying the second business data to obtain first PLC data; a third sending module 903 for sending the first business data to a centralized PLC device, the first business data including the first PLC data, wherein the centralized PLC device includes at least one cloud-based PLC module, and the at least one cloud-based PLC module corresponds to the function of the PLC equipment in the industrial field; the second receiving module 901 is also used to receive the second PLC data and forward it to the mechanical equipment, the second PLC data being obtained by processing the first PLC data by the at least one cloud-based PLC module.

[0129] In some embodiments, the first business data further includes business parameters; the processing module 902 is further configured to process the first PLC data after identifying the second business data to obtain the first PLC data, in order to obtain the business parameters.

[0130] In some embodiments, the service parameters include at least one of the following: the size of data packets for different services in the first PLC data; the data packet transmission period; and the reference delay corresponding to different services.

[0131] In some embodiments, the second business data further includes non-PLC data; the first business data further includes non-PLC data.

[0132] In some embodiments, the processing module 902 is further configured to: determine the actual delay based on the first moment of receiving the second service data and the second moment of receiving the second PLC data; and determine the target delay based on the reference delay and the actual delay, wherein the target delay is used to update the reference delay.

[0133] Regarding the apparatus in the above embodiments, the specific manner in which each module performs its operation has been described in detail in the embodiments related to the method, and will not be elaborated upon here.

[0134] The description of the above device embodiments is similar to that of the above method embodiments, and has similar beneficial effects as the method embodiments.

[0135] In some embodiments, the functions or modules of the apparatus provided in this application can be used to perform the methods described in the above method embodiments. For technical details not disclosed in the apparatus embodiments of this application, please refer to the description of the method embodiments of this application for understanding.

[0136] It should be noted that, in the embodiments of this application, if the above-described data transmission method is implemented as a software functional module and sold or used as an independent product, it can also be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the embodiments of this application, or the part that contributes to the related technology, can be embodied in the form of a software product. This software product is stored in a storage medium and includes several instructions to cause an electronic device (which may be a personal computer, server, or network device, etc.) to execute all or part of the methods described in the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, mobile hard drives, read-only memory (ROM), magnetic disks, or optical disks. Thus, the embodiments of this application are not limited to any specific hardware, software, or firmware, or any combination of hardware, software, and firmware.

[0137] The following describes exemplary applications of the computer device provided in the embodiments of this application. The computer device provided in the embodiments of this application can be a laptop computer, tablet computer, desktop computer, or mobile device (e.g., a dedicated messaging device), but is not limited thereto. Alternatively, the computer device can also be implemented as a server.

[0138] In some embodiments, the server may be a standalone physical server, a server cluster or distributed system composed of multiple physical servers, or a cloud server providing basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, and big data and artificial intelligence platforms, but is not limited thereto. In some embodiments, the server and computer equipment may be directly or indirectly connected through wired or wireless communication methods, and this application embodiment does not impose specific limitations on this.

[0139] See Figure 10 , Figure 10 This is a schematic diagram of a computer device provided in an embodiment of this application. Figure 10 The computer device 1000 shown includes at least one processor 1010, a memory 1050, at least one network interface 1020, and a user interface 1030. The various components in the computer device 1000 are coupled together via a bus system 1040. It is understood that the bus system 1040 is used to implement communication between these components. In addition to a data bus, the bus system 1040 also includes a power bus, a control bus, and a status signal bus. However, for clarity, ... Figure 10 The general labeled all buses as Bus System 1040.

[0140] The processor 1010 can be an integrated circuit chip with signal processing capabilities, such as a general-purpose processor, a digital signal processor (DSP), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. Among them, the general-purpose processor can be a microprocessor or any conventional processor, etc.

[0141] User interface 1030 includes one or more output devices 1031 that enable the presentation of media content, including one or more speakers and / or one or more visual displays. User interface 1030 also includes one or more input devices 1032, including user interface components that facilitate user input, such as a keyboard, mouse, microphone, touch screen display, camera, other input buttons and controls.

[0142] The memory 1050 may be removable, non-removable, or a combination thereof. Exemplary hardware devices include solid-state storage, hard disk drives, optical disk drives, etc. The memory 1050 may optionally include one or more storage devices physically located away from the processor 1010.

[0143] The memory 1050 may include volatile memory or non-volatile memory, or both. The non-volatile memory may be read-only memory (ROM), and the volatile memory may be random access memory (RAM). The memory 1050 described in this application embodiment is intended to include any suitable type of memory.

[0144] In some embodiments, the memory 1050 is capable of storing data to support various operations, examples of which include programs, modules, and data structures or subsets or supersets thereof, as illustrated below.

[0145] The operating system 1051 includes system programs for handling various basic system services and performing hardware-related tasks, such as the framework layer, core library layer, and driver layer, for implementing various basic business functions and handling hardware-based tasks.

[0146] The network communication module 1052 is used to reach other computing devices via one or more (wired or wireless) network interfaces 1020, such as Bluetooth, WiFi, and Universal Serial Bus (USB).

[0147] Presentation module 1053 enables the presentation of information (e.g., a user interface for operating peripheral devices and displaying content and information) via one or more output devices 1031 (e.g., a display screen, a speaker, etc.) associated with user interface 1030.

[0148] The input processing module 1054 is used to detect and translate one or more user inputs or interactions from one or more input devices 1032.

[0149] In some embodiments, the data transmission method provided in this application can be implemented in software and stored in the memory 1050.

[0150] In other embodiments, the data transmission method provided in this application can be implemented in hardware. As an example, the data transmission method can be implemented using a processor in the form of a hardware decoding processor. For example, the processor in the form of a hardware decoding processor can be one or more application-specific integrated circuits (ASICs), DSPs, programmable logic devices (PLDs), complex programmable logic devices (CPLDs), field-programmable gate arrays (FPGAs), or other electronic components.

[0151] It should be noted that, in the embodiments of this application, if the above-described data transmission method is implemented as a software functional module and sold or used as an independent product, it can also be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the embodiments of this application, or the part that contributes to the related technology, can be embodied in the form of a software product. This software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the methods described in the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, mobile hard drives, read-only memory (ROM), magnetic disks, or optical disks. Thus, the embodiments of this application are not limited to any specific hardware, software, or firmware, or any combination of hardware, software, and firmware.

[0152] This application provides a computer device including a memory and a processor. The memory stores a computer program that can run on the processor. When the processor executes the program, it implements some or all of the steps in the above-described method.

[0153] This application provides a computer-readable storage medium storing a computer program thereon, which, when executed by a processor, implements some or all of the steps in the above-described method. The computer-readable storage medium can be transient or non-transient.

[0154] This application provides a computer program including computer-readable code. When the computer-readable code is run in a computer device, the processor in the computer device performs some or all of the steps in the above-described method.

[0155] This application provides a computer program product, which includes a computer program or instructions that, when executed by a processor, implement some or all of the steps in the above-described method. The computer program product can be implemented specifically through hardware, software, or a combination thereof. In some embodiments, the computer program product is specifically embodied in a computer storage medium; in other embodiments, the computer program product is specifically embodied in a software product, such as a software development kit (SDK), etc.

[0156] It should be noted that the descriptions of the various embodiments above tend to emphasize the differences between them, while their similarities or commonalities can be referred to interchangeably. The descriptions of the above embodiments of the device, storage medium, computer program, and computer program product are similar to the descriptions of the above method embodiments and have similar beneficial effects. For technical details not disclosed in the embodiments of the device, storage medium, computer program, and computer program product of this application, please refer to the descriptions of the method embodiments of this application for understanding.

[0157] It should be understood that the phrase "one embodiment" or "an embodiment" throughout the specification means that a specific feature, structure, or characteristic related to the embodiment is included in at least one embodiment of this application. Therefore, "in one embodiment" or "in an embodiment" appearing throughout the specification does not necessarily refer to the same embodiment. Furthermore, these specific features, structures, or characteristics can be combined in any suitable manner in one or more embodiments. It should be understood that in the various embodiments of this application, the sequence numbers of the above steps / processes do not imply a sequential order of execution; the execution order of each step / process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of this application. The sequence numbers of the above embodiments of this application are merely descriptive and do not represent the superiority or inferiority of the embodiments.

[0158] It should be noted that, in this document, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Unless otherwise specified, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes that element.

[0159] In the several embodiments provided in this application, it should be understood that the disclosed devices and methods can be implemented in other ways. The device embodiments described above are merely illustrative. For example, the division of units is only a logical functional division, and in actual implementation, there may be other division methods, such as: multiple units or components can be combined, or integrated into another system, or some features can be ignored or not executed. In addition, the coupling, direct coupling, or communication connection between the various components shown or discussed can be through some interfaces, and the indirect coupling or communication connection between devices or units can be electrical, mechanical, or other forms.

[0160] The units described above as separate components may or may not be physically separate. The components shown as units may or may not be physical units. They may be located in one place or distributed across multiple network units. Some or all of the units may be selected to achieve the purpose of this embodiment according to actual needs.

[0161] In addition, each functional unit in the various embodiments of this application can be integrated into one processing unit, or each unit can be a separate unit, or two or more units can be integrated into one unit; the integrated unit can be implemented in hardware or in the form of hardware plus software functional units.

[0162] Those skilled in the art will understand that all or part of the steps of the above method embodiments can be implemented by hardware related to program instructions. The aforementioned program can be stored in a computer-readable storage medium. When the program is executed, it performs the steps of the above method embodiments. The aforementioned storage medium includes various media that can store program code, such as mobile storage devices, read-only memory (ROM), magnetic disks, or optical disks.

[0163] Alternatively, if the integrated units described above are implemented as software functional modules and sold or used as independent products, they can also be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this application, in essence or the part that contributes to related technologies, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the methods described in the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as mobile storage devices, ROM, magnetic disks, or optical disks.

[0164] The above description is merely an embodiment of this application, but the scope of protection of this application is not limited thereto. Any changes or substitutions that can be easily conceived by those skilled in the art within the scope of the technology disclosed in this application should be included within the scope of protection of this application.

Claims

1. A data transmission method, characterized by, Executed by a centralized PLC device, wherein the centralized PLC device includes at least one cloud-based PLC module, a cloud-based control module, and a service identification module, and at least one cloud-based PLC module corresponds to the function of the PLC device in the industrial field; The method includes: The cloud-based control module receives first service data sent by the input / output driver. The first service data includes at least first PLC data and service parameters of the first PLC data. The first PLC data is associated with at least one PLC service. The service parameters are obtained by the input / output driver processing the first PLC data in the second service data sent by the mechanical equipment. The cloud-based control module extracts the first PLC data from the first business data based on the business parameters, and sends the first PLC data to the business identification module. The service identification module identifies the first PLC data according to the PLC service to obtain data corresponding to the at least one PLC service, and sends the data corresponding to the at least one PLC service to the cloud PLC module associated with the at least one PLC service. By using the cloud-based PLC module associated with each PLC service, the data of each PLC service in the first PLC data is processed to obtain the second PLC data of each PLC service. The second PLC data is sent to the input / output driver.

2. The method according to claim 1, characterized in that, The first service data also includes non-PLC data; after receiving the first service data sent by the input / output driver, the method further includes: The non-PLC data is sent to the core network device so that the core network device can process the non-PLC data.

3. The method according to claim 1, characterized in that, The PLC centralized device further includes: a scheduling module; the method further includes: The scheduling module allocates wireless resources for the second PLC data of the at least one PLC service according to the priority of the at least one PLC service. The wireless resources are used to send the second PLC data to the input / output driver.

4. A data transmission method, executed by an input / output driver, characterized in that, The method includes: Receive the second service data sent by the mechanical equipment; The second business data is identified to obtain the first programmable logic controller (PLC) data; The first PLC data is processed to obtain the business parameters of the first PLC data; Send first service data to a centralized PLC device. The first service data includes at least the first PLC data and the service parameters. The first PLC data is associated with at least one PLC service. The centralized PLC device includes at least one cloud-based PLC module, a cloud-based control module, and a service identification module. The at least one cloud-based PLC module corresponds to the function of the PLC device in the industrial field. The system receives second PLC data and forwards it to the mechanical equipment. The second PLC data is obtained by cloud-based PLC modules associated with each PLC service processing the data of each PLC service in the first PLC data. Specifically, the data corresponding to at least one PLC service in the data of each PLC service is obtained by the service identification module identifying the first PLC data according to the PLC service. The data corresponding to at least one PLC service is sent by the service identification module to the cloud-based PLC module associated with at least one PLC service. The first service data is sent to the cloud-based control module by the input / output driver. The first PLC data is extracted from the first service data by the cloud-based control module based on the service parameters and then sent by the cloud-based control module to the service identification module.

5. The method according to claim 4, characterized in that, The method further includes: The actual delay is determined based on the first moment when the second service data is received and the second moment when the second PLC data is received; A target delay is determined based on the reference delay and the actual delay, and the target delay is used to update the reference delay.

6. A centralized device for programmable logic controllers (PLCs), characterized in that, include: The cloud-based control module is used to receive first service data sent by the input / output driver. The first service data includes at least first PLC data and service parameters of the first PLC data. The first PLC data is associated with at least one PLC service. The service parameters are obtained by the input / output driver processing the first PLC data in the second service data sent by the mechanical equipment. The cloud-based control module is used to extract the first PLC data from the first business data based on the business parameters, and send the first PLC data to the business identification module. The service identification module is used to identify the first PLC data according to the PLC service, so as to obtain the data corresponding to at least one PLC service, and send the data corresponding to at least one PLC service to the cloud PLC module associated with at least one PLC service. The cloud-based PLC module associated with each PLC service is used to process the data of each PLC service in the first PLC data to obtain the second PLC data of each PLC service. The cloud-based PLC module corresponds to the function of the PLC equipment in the industrial field. The first sending module is used to send the second PLC data to the input / output driver.

7. An input / output driver, characterized in that, include: The second receiving module is used to receive the second business data sent by the mechanical equipment; The processing module is used to identify the second business data in order to obtain the first programmable logic controller (PLC) data; The processing module is further configured to process the first PLC data to obtain the business parameters of the first PLC data; The third sending module is used to send first service data to the PLC centralized device. The first service data includes at least the first PLC data and the service parameters. The first PLC data is associated with at least one PLC service. The PLC centralized device includes at least one cloud PLC module, a cloud control module and a service identification module. The at least one cloud PLC module corresponds to the function of the PLC device in the industrial field. The second receiving module is further configured to receive second PLC data and forward it to the mechanical equipment. The second PLC data is obtained by cloud-based PLC modules associated with each PLC service processing the data of each PLC service in the first PLC data. Specifically, the data corresponding to at least one PLC service in the data of each PLC service is obtained by the service identification module identifying the first PLC data according to the PLC service. The data corresponding to at least one PLC service is sent by the service identification module to the cloud-based PLC module associated with at least one PLC service. The first service data is sent by the input / output driver to the cloud-based control module. The first PLC data is extracted from the first service data by the cloud-based control module based on the service parameters and then sent by the cloud-based control module to the service identification module.

8. A cloud-based programmable logic controller (PLC) system, characterized in that, The cloud-based PLC system includes: mechanical equipment, an input / output driver as described in claim 7, and a PLC centralized device as described in claim 6; wherein the mechanical equipment communicates with the input / output driver via a wired connection; and the input / output driver communicates with the PLC centralized device via a wireless connection. The mechanical device is used to send second service data to the input / output driver.

9. A computer device comprising a memory and a processor, the memory storing a computer program executable on the processor, characterized in that, When the processor executes the program, it implements the steps of the method according to any one of claims 1 to 3, 4 to 5.

10. A computer-readable storage medium having a computer program stored thereon, characterized in that, When executed by a processor, the computer program implements the steps of the method according to any one of claims 1 to 3, 4 to 5.

11. A computer program product, comprising a computer program or instructions, characterized in that, When the computer program or instructions are executed by a processor, they implement the steps of the method as described in any one of claims 1 to 3, 4 to 5.

Citation Information

Patent Citations

  • 5G network cloud-terminal collaborative virtual PLC control method and system

    CN115442202A

  • Data transmission method and device, electronic equipment and storage medium

    CN115633319A