A control device, data processing method, equipment and storage medium
By using time-sensitive networks, mobile communication networks and wireless networks to separately transmit data in vehicle manufacturing automation factories, combined with edge computing processors and timing control modules, the problems of Ethernet communication delays and multi-protocol differences are solved and low latency is achieved , high-bandwidth real-time control capabilities.
Patent Information
- Application Number
- CN202210383490.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-04-12
- Publication Date
- 2024-09-10
- Estimated Expiration
- 2042-04-12
AI Technical Summary
Existing Ethernet communication has data transmission delays and uncertainties in vehicle manufacturing automation factories, which cannot meet the real-time control needs of Industry 4.0 factory sites. Moreover, protocol differences among various industrial equipment lead to difficulties in equipment collaboration.
Different types of data are transmitted separately. Data with high real-time control timing requirements passes through the time-sensitive network, large-capacity data passes through the mobile communication network, and small data with low real-time requirements is transmitted through wireless modules, using edge computing processors and timing control modules. Carry out data classification processing and transmission.
It achieves precise control capabilities of low latency, high bandwidth, and real-time synchronization, improves communication efficiency, reduces bandwidth requirements, and simplifies network architecture upgrades.
Smart Images

Figure CN114900751B
Abstract
Description
Technical Field
[0001] The present application relates to the field of automation control technology, and in particular to a control device, a data processing method, a device and a storage medium. Background Art
[0002] The server of the vehicle manufacturing automation factory generally communicates with the production line operation console through Ethernet. One of the characteristics of Ethernet is transmission uncertainty, because Ethernet transmission uses the principle of Carrier Sense Multiple Access / Collision Detection (CSMA / CD). When the link is detected to be idle, data can be received and sent. When multiple types of devices on the operation console send data at the same time, there will be delays and uncertainties in the arrival of data, which cannot meet the latest industrial 4.0 factory field control requirements.
[0003] In the automated production process of vehicle manufacturing, various industrial control bus devices and sensor devices are widely used. The interface protocols for communication of many industrial devices are different. The coexistence of multiple protocols in industrial production sites is significant. In the automation process of industrial sites, it is necessary to control multiple devices to work together at the same time. Therefore, how to control the interconnection of multiple protocol devices and make each device work together in real time has become the core technical problem of each automated factory.
[0004] Therefore, in order to solve the technical problems encountered in the above two types of factory automation, perfect technical solutions or equipment are needed to achieve the goal of precise control capabilities with low latency, high bandwidth and real-time synchronization. Summary of the invention
[0005] The present application provides a control device, a data processing method, a device and a storage medium, which adopts a separate transmission mode for different types of data, uses a time-sensitive network to communicate data with high requirements for real-time control timing of the device, uses a mobile communication network for low-latency transmission of large-capacity data, and uses a wireless module to transmit small data with low real-time requirements and scattered data. This solution can achieve the purpose of precise control capabilities with low latency, high bandwidth and real-time synchronization.
[0006] In a first aspect, an embodiment of the present application discloses an edge computing control device, the device comprising a processor and a timing control module;
[0007] The processor is used to determine the data type of the remote processing data; the remote processing data is obtained by the processor processing the operation data of the underlying industrial equipment obtained; the data type includes real-time data and / or non-real-time data;
[0008] The processor is also used to transmit non-real-time data to a server via a wireless network;
[0009] The timing control module is used to receive real-time data and transmit large-capacity data in the real-time data to the server through the mobile communication network;
[0010] The timing control module is also used to transmit non-large-capacity data in the real-time data to the server through a time-sensitive network.
[0011] Furthermore, the processor is also used to perform edge computing on the operating data to obtain local control information, and the local control information is used to control the underlying industrial equipment.
[0012] Furthermore, the device also includes a data transceiver module, which is used to receive remote control data sent by the server, and the remote control data is used to control the underlying industrial equipment.
[0013] Furthermore, the timing control module is also used to determine the control mode of the remote control data;
[0014] When the timing control module determines that the control mode of the remote control data is a non-real-time control mode, the timing control module directly controls the underlying industrial equipment according to the remote control data;
[0015] When determining that the control mode of the remote control data is the real-time control mode, the timing control module converts the remote control data into a real-time clock control instruction, and the real-time clock control instruction is used to control the underlying industrial equipment.
[0016] Further, the communication protocol of the real-time clock control instruction is a time-sensitive network protocol;
[0017] The device also includes a protocol conversion module, which is used to convert the communication protocol of the real-time clock control instruction into a target communication protocol.
[0018] In a second aspect, an embodiment of the present application discloses a data processing method, the method comprising:
[0019] Obtain the operating data of underlying industrial equipment;
[0020] Determine remote processing data based on operational data;
[0021] Determine a transmission mode for remotely processed data; wherein the remotely processed data includes real-time data and / or non-real-time data, and the real-time data includes large-capacity data and non-large-capacity data; the transmission mode for large-capacity data is mobile communication network transmission, the transmission mode for non-large-capacity data is time-sensitive network transmission, and the transmission mode for non-real-time data is wireless network transmission;
[0022] The remote processing data is transmitted to the server according to the transmission method.
[0023] Furthermore, before determining the remote processing data according to the operation data, the method further includes:
[0024] Determine local processing data based on operational data;
[0025] Processing the local processing data to obtain local control information;
[0026] The local control information is sent to the underlying industrial device so that the underlying industrial device executes the local control information.
[0027] Furthermore, the transmission method of the remotely processed data is determined, including:
[0028] Determine the type of data being processed remotely;
[0029] When it is determined that the data type is a non-real-time data type, determining that the transmission mode of the remote processing data is wireless network transmission;
[0030] In the case where the data type is determined to be a real-time data type, determining a data capacity of the remote processing data;
[0031] In the case where the data capacity is determined to be large, the transmission mode of the remote processing data is determined to be transmission over a mobile communication network;
[0032] When it is determined that the data capacity is not large capacity, the transmission mode of the remote processing data is determined to be time-sensitive network transmission.
[0033] Furthermore, the method also includes:
[0034] Receive remote control data sent by the server;
[0035] Determine the control method of remote control data;
[0036] In the case of a non-real-time control mode, directly controlling the underlying industrial equipment according to the remote control data; or,
[0037] When the control mode is a real-time control mode, the remote control data is converted into a real-time clock control instruction;
[0038] Control the underlying industrial equipment based on real-time clock control instructions.
[0039] In a third aspect, an embodiment of the present application discloses an electronic device, which includes a processor and a memory, wherein the memory stores at least one instruction or at least one program, and the at least one instruction or at least one program is loaded by the processor and executes the data processing method as described above.
[0040] In a fourth aspect, an embodiment of the present application discloses a computer-readable storage medium, in which at least one instruction or at least one program is stored, and the at least one instruction or at least one program is loaded and executed by a processor to implement the data processing method as described above.
[0041] The technical solution provided by the embodiment of the present application has the following technical effects:
[0042] The edge computing control device uses different types of data to transmit industrial field data to the server separately. For data with high requirements for real-time control timing of the equipment, a time-sensitive network is used for transmission. For large-capacity data, a mobile communication network is used alone for low-latency transmission. For small data with low real-time requirements and scattered, a wireless module is used for transmission. This solution can achieve the purpose of precise control capabilities with low latency, high bandwidth, and real-time synchronization. Moreover, by adopting a method of classifying and transmitting data, communication efficiency can be improved and the demand for communication bandwidth can be reduced. BRIEF DESCRIPTION OF THE DRAWINGS
[0043] In order to more clearly illustrate the technical solutions and advantages in the embodiments of the present application or the prior art, the drawings required for use in the embodiments or the prior art descriptions are briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0044] Figure 1 It is a structural schematic diagram of an edge computing control device provided in an embodiment of the present application;
[0045] Figure 2 It is a schematic diagram of an application environment of a data processing method provided in an embodiment of the present application;
[0046] Figure 3 It is a flowchart of a data processing method provided in an embodiment of the present application;
[0047] Figure 4 It is a hardware structure block diagram of a server of a data processing method provided in an embodiment of the present application. DETAILED DESCRIPTION
[0048] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of this application.
[0049] It should be noted that the terms "first", "second", etc. in the specification and claims of the embodiments of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the embodiments of the present application described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product, or server comprising a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products, or devices.
[0050] In order to make the purpose, technical solution and advantages disclosed in the embodiments of the present application more clearly understood, the embodiments of the present application are further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the embodiments of the present application and are not used to limit the embodiments of the present application.
[0051] In the following, the terms "first" and "second" are used for descriptive purposes only and are not to be understood as indicating or implying relative importance or implicitly indicating the number of indicated technical features. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of the features. In the description of this embodiment, unless otherwise specified, "multiple" means two or more. In order to facilitate the understanding of the above-mentioned technical solutions and the technical effects produced by the embodiments of the present application.
[0052] The industrial control equipment in the current industrial field environment is first connected to the nearest industrial control computer through the device's own communication protocol, and then the industrial computer is connected to the company's router through a network cable using the standard Ethernet protocol, and then the company's router is connected to the central server. The issuance of all control commands and the upload of device data in the central server's software system require more transmission path links, and the data path based on ordinary Ethernet is prone to delayed data reception and uncertainty in data arrival time. The response time of field equipment is relatively long and cannot meet the real-time control requirements of data transmission.
[0053] Moreover, there are many devices in the industrial field environment, and the wired network connection method makes it difficult to lay the factory network, difficult to upgrade (the original laying line needs to be upgraded synchronously with the automation equipment upgrade), and the upgrade cost is relatively high. If it involves changes in the network architecture, the network transformation time of the entire factory will have a great impact on the progress of the production line. However, these upgrades are often frequent and inevitable in the production process of each model.
[0054] In addition, new control and sensor equipment will be introduced to the automated factory site from time to time. There are many types of equipment, and generally such equipment has a standard interface for direct communication with industrial computing. There are more and more types of sensor equipment and control equipment connected to a certain workstation area, and there are often insufficient computer communication interfaces. If only some simple interface expansion cards are used to increase the number of access devices to a single computer, in addition to increasing the resource requirements of the network, it will also increase the task processing burden of the computer, and the mutual exclusion of various software drivers will also occur from time to time. There is an urgent need for a certain type of device to be able to complete some data collection and processing locally (with edge computing capabilities), and quickly calculate the data on site and upload the results to the server, which reduces the bandwidth requirements for data upload. At the same time, for some control commands that require fast actions, this type of device can judge and execute them by itself.
[0055] In view of this, an embodiment of the present application provides an edge computing control device.
[0056] See also Figure 1 , Figure 1 1 is a schematic diagram of the structure of an edge computing control device provided in an embodiment of the present application. The edge computing control device includes a processor, a timing control module, a wireless network module, a data transceiver module and a protocol conversion module.
[0057] In the embodiment of the present application, the processor is used to collect the data of the underlying industrial equipment and perform edge computing processing on the raw data. Optionally, the processor can be a device or chip with data processing capabilities such as a central processing unit (CPU), a microprocessor (MPU), a microcontroller (MCU), and a system on chip (SOC). The processor is provided with a communication interface, and the underlying industrial equipment interacts with the processor through the communication interface. Optionally, the communication interface includes one or more interfaces such as a serial peripheral interface (SPI), an RS485 interface, an RS232 interface, a controller area network interface (CAN), and a high-speed power line carrier interface (HPLC). The processor can realize digital information collection of industrial field assembly lines, sensor analog quantity collection, local equipment control, and local communication through the communication interface. Optionally, the processor includes a sensor access signal processing unit, and the sensor access signal processing unit is used to realize the access of analog signal quantity, automatic gain control of analog signal quantity, and signal filtering, digital-to-analog conversion processing, etc. Sensor access The signal processing unit can also provide digital sensor access, such as photoelectric sensors, proximity touch sensors, etc.
[0058] In an embodiment of the present application, the processor communicates with the server through a wireless network module. The wireless network module can provide industrial wireless Internet of Things data transceiver function. The wireless network module has access to wireless modules with standard interfaces Universal Asynchronous Receiver / Transmitter (UART) and SPI, including but not limited to software and hardware data access of modules such as Long Range Radio Wide Area Network (LoraWAN), Wireless Local Area Network (Wifi), Zigbee, Bluetooth, etc. The wireless network module can realize the wireless mesh network (MESH) function of some underlying modules, and realize networking communication between single devices without occupying mobile network communication resource channels.
[0059] In the embodiment of the present application, the timing control module is used to implement the timing control of the underlying industrial equipment. Optionally, the timing control module is a field programmable gate array (FPGA) chip. The timing control module has a time sensitive network (TSN) access protocol processing unit. The edge computing control device uses the real-time clock technology of the TSN network protocol to synchronize the control of devices with relatively high real-time requirements, and uses the existing standard Ethernet physical lines to synchronize the mechanical arms on the production line and the automatic material replenishment device. Ethernet can be used to achieve real-time data transmission through the TSN network. The edge computing control device applies the TSN network protocol technology. Because the TSN network protocol carries a timestamp and belongs to a time-sensitive network, time features are added to the data reception, transmission and control commands of all underlying devices to achieve the clock unification of each device, and finally achieve collaborative work in the same time period.
[0060] In an embodiment of the present application, in addition to communicating with the server through the TSN network, the timing control module can also exchange data with the data transceiver module of the mobile communication network and the server. Optionally, the data transceiver module is preferably a 5G (5th Generation Mobile Communication Technology) data transceiver module. The 5G network has the characteristics of low latency and high bandwidth. The 5G mobile module is added to the local edge computing control device, so that the edge computing control device has the ability to connect to the company's server 5G terminal directly through the 5G data transmission method without going through the wired network, and achieve information fusion with the existing wired network. The cost and time of the wired network transformation process are eliminated, and the device of the present invention can rely on the application of the 5G network to achieve high-bandwidth, low-latency data access to the existing automated factory solution.
[0061] In the embodiment of the present application, the industrial site may include a variety of underlying industrial equipment, and different underlying industrial equipment may support different industrial field protocols. The protocol conversion module in the edge computing control device is used to convert control instructions based on the TSN network protocol into control instructions of multiple industrial field protocols. That is, the protocol conversion module can provide a variety of factory equipment hardware protocol standard interfaces, including but not limited to PROFINET (high-speed real-time Ethernet), CC-link (fieldbus), EtherCAT (Ethernet control automation technology), etc., which can be used for equipment access on various factory assembly lines. Optionally, the protocol conversion module is an FPGA chip.
[0062] In some optional embodiments, the edge computing control device also includes an action execution module. Optionally, the action execution module includes a multi-channel action execution controller unit, which is used to drive the actuator of the underlying industrial equipment to perform actions. The multi-channel action execution controller unit may include a digital signal control unit and an analog signal control unit. Optionally, the digital signal control unit is greater than or equal to eight channels, and the driving current of each channel is not less than 0.2A. Optionally, the analog signal control unit is greater than or equal to two channels and can output a voltage signal of 0-10V. Optionally, the analog signal control unit can also be an analog signal control quantity interface having at least one channel, and each channel can output a current signal of 4mA-20mA.
[0063] In the embodiment of the present application, the edge computing control device utilizes the flexible peripheral characteristics of the embedded module device to design a variety of standard hardware interfaces for factory equipment hardware protocols, including several mainstream communication protocols. At the same time, a hardware interface for sending output digital and analog actuator signals is designed to control the device in real time to perform actions. The mainstream wireless communication interface in the field of the Internet of Things is reserved to facilitate the device to expand its capabilities on wireless communication devices, and not to occupy 5G channels because of some burst data, thereby improving the efficiency of the 5G communication interface. By having a built-in microprocessor chip in the edge computing control device, it has real-time timing control capabilities and edge computing capabilities. The programmable logic chip FPGA is used to realize the timing synchronization characteristics of the output control signal. The processing chip of the ARM (Advanced RISC Machines, RISC microprocessor) processor core is used to perform algorithm processing on the collected data to achieve fast edge computing, avoiding uploading a large amount of raw data to the server and wasting communication resources. The edge computing control device uses an FPGA programming chip as a timing control module to send command protocols with high real-time requirements to each actuator, realizing the orderly execution of different protocol stacks of several devices, and the execution timing control is high in accuracy. In order to locally process the collected sensor data and transmit the result data, the edge computing control device uses a microcontroller chip with an ARM core as a processor to perform edge computing on the data in this area, and report the processing results to the central server or convert them into local actuator action commands.
[0064] The present application also provides a data processing method. Figure 2 is a schematic diagram of an application environment of a data processing method provided in an embodiment of the present application, such as Figure 2 As shown, the application environment may include underlying industrial equipment, edge computing control devices, and servers.
[0065] In the embodiment of the present application, the underlying industrial equipment can be an independent mechanical equipment device, or it can be an industrial production line composed of multiple mechanical equipment devices. The underlying industrial equipment includes a sensor system and an actuator system. The sensor system is used to collect various internal state information, environmental information and mechanical quantities related to the working state of the underlying industrial equipment, such as displacement, speed, torque, pressure, temperature, humidity, voltage, current and other information. The sensor signal output by the sensor system includes a digital signal and an analog signal. The actuator system is used to output mechanical quantities related to the working state of the underlying industrial equipment, such as displacement, speed, torque, pressure, temperature, humidity, voltage, current, etc.
[0066] In the embodiment of the present application, the server is a smart factory server, which is used to perform background monitoring and control on the operation of the underlying industrial equipment. Optionally, the server may include but is not limited to LES (Logistics Execution System) server, MES (Manufacturing Execution System) server, etc. Optionally, the server may be an independent physical server, or a server cluster or distributed system composed of multiple physical servers, or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, content delivery networks (CDN), and big data and artificial intelligence platforms.
[0067] In the embodiment of the present application, the underlying industrial equipment is connected and communicated with the edge computing control device through various communication interfaces, and the edge computing control device communicates with the server through the TSN network, the mobile communication network and the wireless network. The edge computing control device performs edge computing by collecting data from the underlying industrial equipment, and then transmits the calculated data to the server or directly issues control instructions to the underlying industrial equipment based on the calculated data. Specifically, the processor in the edge computing control device collects the operating data of the underlying industrial equipment, and then the processor processes the operating data to obtain local processing data and remote processing data. The processor processes the local processing data to obtain local control instructions, and then sends the local control instructions to the underlying industrial equipment. The processor sends the non-real-time data in the remote processing data to the server through the wireless network, and at the same time, the processor sends the real-time data in the remote processing data to the timing control module in the edge computing control device for processing. The timing control module sends the large-capacity data in the real-time data to the server through the 5G network, and sends the non-large-capacity data in the real-time data to the server through the TSN network. The server can send control data to the edge computing control device through the 5G network or TSN network. The transceiver module in the edge computing control device receives the control data, and then unpacks the control data and sends it to the timing control module in the edge computing control device. The timing control module sends the non-real-time control data to the processor in the edge computing control device, and the processor controls the underlying industrial equipment according to the non-real-time control data. The timing control module can also convert the real-time control data into the real-time clock's to-be-executed commands, and then send the to-be-executed commands directly to the underlying industrial equipment, or send the to-be-executed commands to the protocol conversion module in the edge computing control device for protocol conversion, and then send the converted to-be-executed commands to the underlying industrial equipment.
[0068] The edge computing control device described in the embodiment of the present application classifies and distributes real-time data and non-real-time data through a processor and a timing control device, and controls different data processing modules in a division of labor, thereby improving communication efficiency. The edge computing control device utilizes the flexible interface characteristics of the programmable logic device FPGA to set up multiple protocol software and hardware interfaces to achieve interconnection and communication with industrial field devices of multiple protocols, without the need for the original communication realized by multiple types of network routing methods, which greatly reduces the complexity of system connection. The device can simultaneously support multiple mainstream industrial protocol interfaces such as PROFINET, EtherCAT, CC-LINK, TSN, etc., can cover most factory equipment connections, and realize real-time control functions. The timing control module can send the acquired data to the processor control part for local edge computing judgment. The processor performs local algorithm processing based on the collected analog signals, digital signals and data received from other devices, and has edge computing capabilities. Avoid the communication bandwidth impact and real-time response problems caused by the unified calculation and transmission of traditional data by the server. The processor supports the access of various local sensor devices, including RS485, CAN-FD, modbus-CAN, RS232, Ethernet, etc. The device is designed with various hardware interfaces, the main purpose of which is to improve the scalability and versatility of the system. Various data of the device are obtained through the above protocol interfaces, which are used for on-site environment judgment, and then the control unit issues execution commands to complete local control actions.
[0069] The following describes a specific embodiment of a data processing method of the present application. Figure 3 It is a flowchart of a data processing method provided by an embodiment of the present application. This specification provides method operation steps such as the embodiment or flowchart, but may include more or fewer operation steps based on conventional or non-creative labor. The order of steps listed in the embodiment is only one way of executing the steps among many orders, and does not represent the only order of execution. When the actual system or server product is executed, it can be executed in the order shown in the embodiment or the drawings or in parallel (for example, in a parallel processor or multi-threaded processing environment). Specifically, Figure 3 As shown, the data processing method can be applied to an edge computing control device. The method may include:
[0070] S301: Obtain operation data of underlying industrial equipment.
[0071] In an embodiment of the present application, the processor in the edge computing control device obtains the operating data of the underlying industrial equipment, which includes the perception data output by the sensor system and the operation data generated when the actuator system is working.
[0072] S303: Determine remote processing data according to the operation data.
[0073] In the embodiment of the present application, the processor in the edge computing control device has edge computing capability, and the processor processes the acquired operation data to determine the local processing data and the remote processing data in the operation data. Optionally, the operation data carries a data processing terminal identifier, and the processor determines the local processing data and the remote processing data in the operation data according to the data processing terminal identifier.
[0074] In the embodiment of the present application, the local processing data refers to the data maintained and processed by the controller itself, and the processor can directly perform edge computing processing on such data. The processor processes the local processing data to obtain local control information, and then the edge computing control device sends the local control information to the underlying industrial equipment so that the underlying industrial equipment executes the local control information. Specifically, various types of digital information collection, sensor analog measurement, and CAN, 485 and other underlying sensor data on the factory assembly line are collected by the processor. After the processor performs dedicated algorithm analysis and data statistics on the field data, it directly issues an execution action command or uploads the data.
[0075] In the embodiments of the present application, remotely processed data refers to data that the local user has no permission to process, or data that has high requirements for computing power, or data that has high security requirements, etc. The processor needs to send this type of data to the server for processing.
[0076] S305: Determine a transmission method for remote processing data.
[0077] In the embodiment of the present application, after determining the remote processing data, the processor also determines the real-time requirements of the remote processing data, and determines the transmission mode of the remote processing data according to the real-time requirements of the remote processing data. Specifically, the remote processing data includes real-time data and non-real-time data. That is, the remote processing data can be real-time data, non-real-time data, or both real-time data and non-real-time data. Real-time data refers to data with relatively high timing requirements. Such data generally has a significant impact on the normal operation of the underlying industrial equipment and requires the server to process as soon as possible. Optionally, real-time data can be divided into large-capacity data and non-large-capacity data. For large-capacity data, such as video images and other data, due to its large capacity, the transmission of such data requires a large bandwidth, and due to its real-time requirements, such data can be transmitted to the server by mobile communication network transmission. For non-large-capacity data, it can be transmitted to the server by TSN network transmission. In fact, there will also be some non-real-time data in the industrial field, and such data does not have high real-time requirements, such as sensor monitoring data in the industrial field. This type of data is usually bursty, of varying lengths, and not very time sensitive, so it is not suitable for mixed cross-transmission with field control data. This type of data can be transmitted to the server using wireless network transmission.
[0078] In an embodiment of the present application, the processor determines the data type of the remotely processed data, and determines the transmission mode of the remotely processed data according to the data type. When the data type is determined to be a non-real-time data type, the transmission mode of the remotely processed data is determined to be wireless network transmission. When the data type is determined to be a real-time data type, the data capacity of the remotely processed data is determined. When the data capacity is determined to be large capacity, the transmission mode of the remotely processed data is determined to be mobile communication network transmission. When the data capacity is determined to be non-large capacity, the transmission mode of the remotely processed data is determined to be time-sensitive network transmission.
[0079] S307: Transmit the remote processing data to the server according to the transmission method.
[0080] In an embodiment of the present application, after the processor determines the transmission mode of different types of data, the remote processing data is transmitted to the server according to the determined transmission mode. Specifically, for non-real-time data, the processor can directly send such data to the server through the wireless Internet of Things interface inside the processor. For real-time data, the processor sends it to the timing control module in the edge computing control device, and the timing control module sends the large-capacity data to the server through the 5G data transceiver module. The timing control module forwards the non-large-capacity data to the standard TSN network interface and sends it to the server.
[0081] In an embodiment of the present application, the server may also send remote control data to the edge computing control device to achieve control of the underlying industrial equipment. The server sends remote control data to the edge computing control device, and accordingly, the edge computing control device receives the remote control data sent by the server. The edge computing control device controls the underlying industrial equipment according to the remote control data. Optionally, the server may send remote control data to the edge computing control device through a mobile communication network and a TSN network, and a data transceiver module in the edge computing control device receives the remote control data. Then the edge computing control device determines the control mode of the remote control data. Optionally, the remote control data carries control mode information, and the data transceiver module parses the remote control data to obtain the control mode of the currently received remote control data, and then the edge computing control device controls the underlying industrial equipment according to the control mode. Specifically, after the data transceiver module parses the remote control data, it sends the parsed remote control data to the timing control module, and the timing control module determines the control mode of the currently received remote control data. When it is determined that the control mode of the current remote control data is a non-real-time control mode, the data transceiver module directly controls the underlying industrial equipment according to the remote control data. When it is determined that the control mode of the current remote control data is a real-time control mode, the remote control data is converted into a real-time clock control instruction. If the underlying industrial equipment that executes the real-time clock control instruction has a standard TSN network protocol interface, the timing control module can directly control the underlying industrial equipment according to the real-time clock control instruction. If the underlying industrial equipment that executes the real-time clock control instruction does not have a standard TSN network protocol interface, such as the communication interface of the underlying industrial equipment is a PROFINET, EtherCAT or CC-LINK protocol interface, the timing control module sends the real-time clock control instruction to the protocol conversion module for protocol conversion, and then sends it to the underlying industrial equipment to execute the real-time clock control instruction.
[0082] As an optional real-time method, the smart factory server sends remote control data with high real-time requirements of 5G signals to edge computing control devices located in various areas inside the factory through the company's self-built dedicated 5G base station. The device uses 5G network coverage to make the factory network wiring plan flexible and not restricted by the routing and routing of the limited network. The 5G data transceiver module inside the edge computing control device unpacks the remote control data sent by the server and sends it to the timing control module. The timing control module converts the remote control data into a to-be-executed command of the real-time clock to realize the timing action execution of the underlying TSN network control device. The timing control module sends a part of the remote control data that complies with the TSN network protocol directly to the standard TSN network protocol interface, and performs real-time communication based on the TSN protocol with the corresponding device terminal. The protocol conversion module in the edge computing control device is used to convert the clocked TSN network protocol into existing standard industrial Ethernet protocols such as PROFINET, EtherCAT, and CC-LINK protocols, so that the field programmable logic controller (PLC) devices of various protocols can be directly connected through the edge computing control device to realize data exchange. The timing control module distributes some non-real-time 5G network data to the edge processor MPU. It realizes non-real-time measurement and control of sensors, motion control equipment, etc. at the site of the automated assembly line.
[0083] An embodiment of the present application also discloses an electronic device, which includes a processor and a memory, wherein the memory stores at least one instruction or at least one program, and the at least one instruction or at least one program is loaded by the processor and executes the data processing method as described above.
[0084] The method embodiments provided in the embodiments of the present application can be executed in a mobile terminal, a computer terminal, a server or a similar computing device. Taking running on a server as an example, Figure 4 1 is a hardware structure diagram of a server of a data processing method provided in an embodiment of the present application. Figure 4As shown, the server 400 may have relatively large differences due to different configurations or performances, and may include one or more processors (Central Processing Units, CPU) 410 (the processor 410 may include but is not limited to a processing device such as a microprocessor MCU or a programmable logic device (Field Programmable Gate Array, FPGA)), a memory 430 for storing data, and one or more storage media 420 (such as one or more mass storage devices) for storing application programs 423 or data 422. Among them, the memory 430 and the storage medium 420 can be short-term storage or permanent storage. The program stored in the storage medium 420 may include one or more modules, each of which may include a series of instruction operations on the server. Furthermore, the processor 410 can be configured to communicate with the storage medium 420 and execute a series of instruction operations in the storage medium 420 on the server 400. The server 400 may also include one or more power supplies 460, one or more wired or wireless network interfaces 450, one or more input and output interfaces 440, and / or one or more operating systems 421, such as Windows ServerTM, MacOS XTM, UnixTM, LinuxTM, FreeBSDTM, etc.
[0085] The input / output interface 440 may be used to receive or send data via a network. The specific example of the network may include a wireless network provided by a communication provider of the server 400. In one example, the input / output interface 440 includes a network adapter (Network Interface Controller, NIC), which may be connected to other network devices via a base station so as to communicate with the Internet. In one example, the input / output interface 440 may be a radio frequency (RF) module, which is used to communicate with the Internet wirelessly.
[0086] It can be understood by those skilled in the art that Figure 4 The structure shown is only for illustration and does not limit the structure of the above electronic device. Figure 4 More or fewer components as shown, or with Figure 4 Different configurations are shown.
[0087] An embodiment of the present application discloses a computer-readable storage medium, in which at least one instruction or at least one program is stored. The at least one instruction or at least one program is loaded and executed by a processor to implement the data processing method described above.
[0088] An embodiment of the present application further discloses a computer-readable storage medium, in which at least one instruction or at least one program is stored, and the at least one instruction or at least one program is loaded and executed by a processor to implement the method described above.
[0089] In an embodiment of the present application, the above-mentioned computer storage medium may be located in at least one of a plurality of network servers of a computer network. Optionally, the computer readable storage medium may include: a read-only memory (ROM), a random access memory (RAM), a solid state drive (SSD) or an optical disk, etc. Among them, the random access memory may include a resistance random access memory (ReRAM) and a dynamic random access memory (DRAM).
[0090] It should be noted that the above-mentioned sequence of the embodiments of the present application is for description only and does not represent the advantages and disadvantages of the embodiments. The above-mentioned specific embodiments of this specification are described. Other embodiments are within the scope of the attached claims. In some cases, the actions or steps recorded in the claims can be performed in an order different from that in the embodiments and still achieve the desired results. In addition, the processes depicted in the drawings do not necessarily require the specific order or continuous order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.
[0091] Each embodiment in this specification is described in a progressive manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.
[0092] A person skilled in the art will understand that all or part of the steps to implement the above embodiments may be accomplished by hardware or by instructing related hardware through a program, and the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a disk or an optical disk, etc.
[0093] The above description is only a preferred embodiment of the present application and is not intended to limit the present application. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present application should be included in the protection scope of the present application.
Claims
1. An edge computing control device, characterized in that: The device includes a processor and a timing control module; The processor is used to determine the data type of the remote processing data; the remote processing data is obtained by the processor processing the acquired operation data of the underlying industrial equipment; the data type includes real-time data and / or non-real-time data; The processor is also used to transmit the non-real-time data to a server via a wireless network; The timing control module is used to receive the real-time data and transmit the large-capacity data in the real-time data to the server via the mobile communication network; The timing control module is also used to transmit non-large-capacity data in the real-time data to the server through a time-sensitive network.
2. The edge computing control device according to claim 1, characterized in that: The processor is also used to perform edge computing on the operating data to obtain local control information, and the local control information is used to control the underlying industrial equipment.
3. The edge computing control device according to claim 1, characterized in that: The device further comprises a data transceiver module, wherein the data transceiver module is used to receive remote control data sent by a server, and the remote control data is used to control the bottom industrial equipment.
4. The edge computing control device according to claim 3, characterized in that: The timing control module is also used to determine the control mode of the remote control data; The timing control module directly controls the underlying industrial equipment according to the remote control data when determining that the control mode of the remote control data is a non-real-time control mode; When determining that the control mode of the remote control data is a real-time control mode, the timing control module converts the remote control data into a real-time clock control instruction, and the real-time clock control instruction is used to control the bottom industrial equipment.
5. The edge computing control device according to claim 4, characterized in that: The communication protocol of the real-time clock control instruction is a time-sensitive network protocol; The device also includes a protocol conversion module, which is used to convert the communication protocol of the real-time clock control instruction into a target communication protocol.
6. A data processing method, characterized in that: The method comprises: Obtain the operating data of underlying industrial equipment; determining remote processing data based on the operational data; Determine a transmission mode of the remotely processed data; wherein the remotely processed data includes real-time data and / or non-real-time data, and the real-time data includes large-capacity data and non-large-capacity data; the transmission mode of the large-capacity data is mobile communication network transmission, the transmission mode of the non-large-capacity data is time-sensitive network transmission, and the transmission mode of the non-real-time data is wireless network transmission; The remote processing data is transmitted to a server according to the transmission mode.
7. The data processing method according to claim 6, characterized in that: Before determining the remote processing data according to the operation data, the method further includes: determining local processing data based on the operating data; Processing the local processing data to obtain local control information; The local control information is sent to the underlying industrial device, so that the underlying industrial device executes the local control information.
8. The data processing method according to claim 6, characterized in that: Determining the transmission mode of the remotely processed data includes: determining a data type of the remotely processed data; In the case where it is determined that the data type is a non-real-time data type, determining that the transmission mode of the remote processing data is wireless network transmission; In the case where the data type is determined to be a real-time data type, determining a data capacity of the remotely processed data; In the case where it is determined that the data capacity is large, determining that the transmission mode of the remotely processed data is mobile communication network transmission; When it is determined that the data capacity is not a large capacity, it is determined that the transmission mode of the remotely processed data is a time-sensitive network transmission.
9. The data processing method according to claim 6, characterized in that: The method further comprises: Receiving remote control data sent by the server; Determining a control method for the remote control data; In the case where the control mode is a non-real-time control mode, directly controlling the underlying industrial equipment according to the remote control data; or, In case the control mode is a real-time control mode, converting the remote control data into a real-time clock control instruction; The underlying industrial equipment is controlled according to the real-time clock control instruction.
10. An electronic device, characterized in that: The device includes a processor and a memory, wherein the memory stores at least one instruction or at least one program, and the at least one instruction or the at least one program is loaded by the processor and executes the data processing method according to any one of claims 6 to 9.
11. A computer-readable storage medium, characterized in that: The storage medium stores at least one instruction or at least one program, and the at least one instruction or at least one program is loaded and executed by the processor to implement the data processing method according to any one of claims 6 to 9.
