Data transmission method, apparatus and computer readable storage medium
By acquiring data attribute information and selecting an appropriate transmission method for data transmission, the network problems caused by the increase of equipment in industrial remote control are solved, and the communication quality of data transmission and production safety are improved.
Patent Information
- Application Number
- CN202210043583.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-01-14
- Publication Date
- 2025-12-09
- Estimated Expiration
- 2042-01-14
AI Technical Summary
In industrial remote control, as the types and number of devices increase, using a single communication method between the main controller and these devices can easily lead to network downtime and network congestion, affecting the communication quality of data transmission and production safety.
By acquiring data attribute information, such as data source, data type, transmission bandwidth, latency, and transmission quality, a suitable transmission method is adopted for data transmission. This includes transmission methods such as single communication link, master-slave communication link, multi-link synchronous, and aggregated communication. The appropriate transmission method is selected based on the data attributes.
By acquiring data attribute information for data transmission, and using appropriate methods and transmission techniques, the communication quality and efficiency of data transmission are improved, ensuring the communication quality and production safety of data between different devices.
Smart Images

Figure CN114401201B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the field of communication, and in particular to a data transmission method, device and computer readable storage medium. BACKGROUND
[0002] With the development of industrial internet and the improvement of industrial automation level, industrial remote control gradually becomes a hot topic in the industry. Industrial remote control refers to that the master controller of the centralized control center can remotely control the slave controller of the industrial site, so as to reduce the on-site human operation as much as possible and realize the intelligentization of industrial production. Specifically, the slave controller can send data to the master controller, the master controller can analyze the data sent by the slave controller, and send control instructions to the slave controller to realize remote control of the slave controller.
[0003] With the improvement of technology level, in addition to the slave controller, other devices such as audio devices, video devices, sensors or positioning devices are also added in the industrial site to collect data and send them to the master controller, so that the master controller can send control instructions in combination with these data. However, with the increase of the number or types of added devices, if the master controller and these devices still use a single communication mode for communication, network downtime or network congestion may occur, thereby causing data transmission interruption and affecting production safety. SUMMARY
[0004] The present application provides a data transmission method, device and computer readable storage medium, which can adopt an appropriate way for data transmission to improve the communication quality and transmission efficiency of data transmission and improve production safety.
[0005] To achieve the above purpose, the present application adopts the following technical solutions:
[0006] In a first aspect, a data transmission method is provided, which comprises: obtaining first data and attribute information of the first data, the attribute information comprising at least one of the following: data source of the first data, data type of the first data, information of transmission bandwidth of the first data, time delay information of the first data or information of transmission quality of the first data; sending first information according to the attribute information by using a first transmission mode, the first transmission mode being a transmission mode of communication through a single communication link, a transmission mode of communication through a master-slave communication link, a transmission mode of synchronous communication through multiple communication links or a transmission mode of aggregated communication through multiple communication links, the first information comprising first indication information, the first data and a destination address of the first data, the first indication information being used to indicate the first transmission mode.
[0007] According to the method provided in the first aspect, the first data can be transmitted in the first transmission mode according to the data source of the first data, and / or the data type of the first data, and / or the information of the transmission bandwidth of the first data, and / or the time delay information of the first data, and / or the information of the transmission quality of the first data. In the above process, when the first data is transmitted, the data source of the first data, and / or the data type of the first data, and / or the information of the transmission bandwidth of the first data, and / or the time delay information of the first data, and / or the information of the transmission quality of the first data are considered, so that the first data can be transmitted in a suitable mode, thereby improving the communication quality and transmission efficiency of data transmission and improving production safety.
[0008] In a possible implementation, the first data and the attribute information of the first data are acquired by receiving second information from the first device, the first device is a master controller, a slave controller, an audio device, a video device, a sensor or a positioning device, and the second information includes the first data and second indication information, the second indication information being used to indicate the attribute information.
[0009] In a possible implementation, the data source of the first data includes at least one of the following: a master controller, a slave controller, an audio device, a video device, a sensor or a positioning device; the data type of the first data includes at least one of the following: an industrial control type, an audio type, a video type, a sensor type or a position type; the information of the transmission bandwidth of the first data is used to indicate the transmission bandwidth of the first data; the time delay information of the first data is used to indicate the time delay of the first data; and the information of the transmission quality of the first data is used to indicate the transmission quality of the first data.
[0010] In a possible implementation, the transmission bandwidth of the first data includes a first-level transmission bandwidth, a second-level transmission bandwidth or a third-level transmission bandwidth, the transmission bandwidth indicated by the first-level transmission bandwidth is greater than or equal to a first bandwidth value, the transmission bandwidth indicated by the second-level transmission bandwidth is less than the first bandwidth value and greater than or equal to a second bandwidth value, and the transmission bandwidth indicated by the third-level transmission bandwidth is less than the second bandwidth value.
[0011] In a possible implementation, the time delay of the first data includes a first-level time delay, a second-level time delay or a third-level time delay, the time delay indicated by the first-level time delay is greater than or equal to a first time delay value, the time delay indicated by the second-level time delay is less than the first time delay value and greater than or equal to a second time delay value, and the time delay indicated by the third-level time delay is less than the second time delay value.
[0012] In a possible implementation, the transmission quality of the first data includes a first-level transmission quality, a second-level transmission quality, or a third-level transmission quality, the transmission quality indicated by the first-level transmission quality is greater than or equal to a first transmission quality value, the transmission quality indicated by the second-level transmission quality is less than the first transmission quality value and greater than or equal to a second transmission quality value, and the transmission quality indicated by the third-level transmission quality is less than the second transmission quality value.
[0013] In a possible implementation, the first information is transmitted in the first transmission mode according to the attribute information, including: determining the first transmission mode according to the attribute information; and transmitting the first information in the first transmission mode.
[0014] In a second aspect, a data transmission method is provided, including: receiving first information, the first information including first indication information, first data, and a destination address of the first data, the first indication information being used to indicate a first transmission mode of transmitting the first information, the first transmission mode being a transmission mode of communicating through a single communication link, a transmission mode of communicating through a master-slave communication link, a transmission mode of synchronously communicating through multiple communication links, or a transmission mode of aggregately communicating through multiple communication links, the first transmission mode being determined according to attribute information of the first data, the attribute information including at least one of a data source of the first data, a data type of the first data, information of a transmission bandwidth of the first data, time delay information of the first data, or information of transmission quality of the first data; and transmitting the first data to the destination address according to the first transmission mode.
[0015] Based on the method provided in the second aspect, the first information can be received, and the first data can be transmitted according to a mode corresponding to the first transmission mode indicated by the first indication information in the first information, so that the first data can reach the destination address of the first data.
[0016] In a possible implementation, the first data is transmitted to the destination address according to the first transmission mode, including: if the first transmission mode is the transmission mode of communicating through the single communication link or the transmission mode of communicating through the master-slave communication link, the first data is transmitted to the destination address; or, if the first transmission mode is the transmission mode of synchronously communicating through the multiple communication links, the first data that is received earliest among the first data received through the multiple communication links is transmitted to the destination address; or, if the first transmission mode is the transmission mode of aggregately communicating through the multiple communication links, the data received through the multiple communication links is combined into the first data, and the first data is transmitted to the destination address.
[0017] In a possible implementation, the data source of the first data includes at least one of the following: a master controller, a slave controller, an audio device, a video device, a sensor, or a positioning device; the data type of the first data includes at least one of the following: an industrial control type, an audio type, a video type, a sensor type, or a position type; the information of the transmission bandwidth of the first data is used to indicate the transmission bandwidth of the first data; the time delay information of the first data is used to indicate the time delay of the first data; and the information of the transmission quality of the first data is used to indicate the transmission quality of the first data.
[0018] In a possible implementation, the transmission bandwidth of the first data includes a first-level transmission bandwidth, a second-level transmission bandwidth, or a third-level transmission bandwidth, the first-level transmission bandwidth indicates a transmission bandwidth greater than or equal to a first bandwidth value, the second-level transmission bandwidth indicates a transmission bandwidth less than the first bandwidth value and greater than or equal to a second bandwidth value, and the third-level transmission bandwidth indicates a transmission bandwidth less than the second bandwidth value.
[0019] In a possible implementation, the time delay of the first data includes a first-level time delay, a second-level time delay, or a third-level time delay, the first-level time delay indicates a time delay greater than or equal to a first time delay value, the second-level time delay indicates a time delay less than the first time delay value and greater than or equal to a second time delay value, and the third-level time delay indicates a time delay less than the second time delay value.
[0020] In a possible implementation, the transmission quality of the first data includes a first-level transmission quality, a second-level transmission quality, or a third-level transmission quality, the first-level transmission quality indicates a transmission quality greater than or equal to a first transmission quality value, the second-level transmission quality indicates a transmission quality less than the first transmission quality value and greater than or equal to a second transmission quality value, and the third-level transmission quality indicates a transmission quality less than the second transmission quality value.
[0021] In a third aspect, a data transmission apparatus is provided for implementing the data transmission method provided in the first aspect. The data transmission apparatus includes modules, units, or means corresponding to the modules, units, or means for implementing the data transmission method provided in the first aspect, which can be implemented by hardware, software, or by executing corresponding software by hardware. The hardware or software includes one or more modules or units corresponding to the above functions.
[0022] In a possible implementation, the data transmission apparatus comprises: a processing module and a transceiver module; the processing module is configured to acquire first data and attribute information of the first data, the attribute information comprising at least one of the following: a data source of the first data, a data type of the first data, information of a transmission bandwidth of the first data, time delay information of the first data, or information of a transmission quality of the first data; and the processing module is configured to send, according to the attribute information, the first information by the transceiver module in a first transmission mode, the first transmission mode being a transmission mode of communication through a single communication link, a transmission mode of communication through a master-slave communication link, a transmission mode of synchronous communication through multiple communication links, or a transmission mode of aggregated communication through multiple communication links, the first information comprising first indication information, the first data, and a destination address of the first data, the first indication information being used for indicating the first transmission mode.
[0023] In a possible implementation, the processing module is specifically configured to receive, by the transceiver module, second information from a first device; the first device is a master controller, a slave controller, an audio device, a video device, a sensor, or a positioning apparatus; and the second information comprises the first data and second indication information, the second indication information being used for indicating the attribute information.
[0024] In a possible implementation, the data source of the first data comprises at least one of the following: a master controller, a slave controller, an audio device, a video device, a sensor, or a positioning apparatus; the data type of the first data comprises at least one of the following: an industrial control type, an audio type, a video type, a sensor type, or a position type; the information of the transmission bandwidth of the first data is used for indicating the transmission bandwidth of the first data; the time delay information of the first data is used for indicating the time delay of the first data; and the information of the transmission quality of the first data is used for indicating the transmission quality of the first data.
[0025] In a possible implementation, the transmission bandwidth of the first data comprises a first-level transmission bandwidth, a second-level transmission bandwidth, or a third-level transmission bandwidth, the transmission bandwidth indicated by the first-level transmission bandwidth being greater than or equal to a first bandwidth value, the transmission bandwidth indicated by the second-level transmission bandwidth being less than the first bandwidth value and greater than or equal to a second bandwidth value, and the transmission bandwidth indicated by the third-level transmission bandwidth being less than the second bandwidth value.
[0026] In a possible implementation, the time delay of the first data comprises a first-level time delay, a second-level time delay, or a third-level time delay, the time delay indicated by the first-level time delay being greater than or equal to a first time delay value, the time delay indicated by the second-level time delay being less than the first time delay value and greater than or equal to a second time delay value, and the time delay indicated by the third-level time delay being less than the second time delay value.
[0027] In a possible implementation, the transmission quality of the first data includes a first-level transmission quality, a second-level transmission quality, or a third-level transmission quality, the transmission quality indicated by the first-level transmission quality is greater than or equal to a first transmission quality value, the transmission quality indicated by the second-level transmission quality is less than the first transmission quality value and greater than or equal to a second transmission quality value, and the transmission quality indicated by the third-level transmission quality is less than the second transmission quality value.
[0028] In a possible implementation, the processing module is specifically configured to determine the first transmission manner according to the attribute information.
[0029] In a fourth aspect, a data transmission apparatus is provided for implementing the data transmission method provided in the second aspect. The data transmission apparatus includes modules, units, or means corresponding to the modules, units, or means for implementing the data transmission method provided in the second aspect, which can be implemented by hardware, software, or by executing corresponding software by hardware. The hardware or software includes one or more modules or units corresponding to the above functions.
[0030] In a possible implementation, the data transmission apparatus includes a transceiver module and a processing module. The transceiver module is configured to receive first information, the first information including first indication information, first data, and a destination address of the first data, the first indication information being used to indicate a first transmission manner of sending the first information, the first transmission manner being a transmission manner of communicating through a single communication link, a transmission manner of communicating through a master-slave communication link, a transmission manner of synchronously communicating through multiple communication links, or a transmission manner of aggregately communicating through multiple communication links, the first transmission manner being determined according to attribute information of the first data, the attribute information including at least one of a data source of the first data, a data type of the first data, information of a transmission bandwidth of the first data, time delay information of the first data, or information of transmission quality of the first data. The processing module is configured to send the first data to the destination address through the transceiver module according to the first transmission manner.
[0031] In a possible implementation, the processing module is specifically configured to: if the first transmission mode is a transmission mode of communicating through a single communication link or a transmission mode of communicating through a master-slave communication link, send the first data to the destination address through the transceiver module; or the processing module is specifically configured to: if the first transmission mode is a transmission mode of synchronously communicating through multiple communication links, send the earliest received first data among the first data received through the multiple communication links to the destination address through the transceiver module; or the processing module is specifically configured to: if the first transmission mode is a transmission mode of aggregately communicating through multiple communication links, combine the data received through the multiple communication links into the first data, and send the first data to the destination address through the transceiver module.
[0032] In a possible implementation, the data source of the first data includes at least one of the following: a master controller, a slave controller, an audio device, a video device, a sensor, or a positioning device; the data type of the first data includes at least one of the following: an industrial control type, an audio type, a video type, a sensor type, or a position type; the information of the transmission bandwidth of the first data is used to indicate the transmission bandwidth of the first data; the time delay information of the first data is used to indicate the time delay of the first data; and the information of the transmission quality of the first data is used to indicate the transmission quality of the first data.
[0033] In a possible implementation, the transmission bandwidth of the first data includes a first-level transmission bandwidth, a second-level transmission bandwidth, or a third-level transmission bandwidth, the transmission bandwidth indicated by the first-level transmission bandwidth is greater than or equal to a first bandwidth value, the transmission bandwidth indicated by the second-level transmission bandwidth is less than the first bandwidth value and greater than or equal to a second bandwidth value, and the transmission bandwidth indicated by the third-level transmission bandwidth is less than the second bandwidth value.
[0034] In a possible implementation, the time delay of the first data includes a first-level time delay, a second-level time delay, or a third-level time delay, the time delay indicated by the first-level time delay is greater than or equal to a first time delay value, the time delay indicated by the second-level time delay is less than the first time delay value and greater than or equal to a second time delay value, and the time delay indicated by the third-level time delay is less than the second time delay value.
[0035] In a possible implementation, the transmission quality of the first data includes a first-level transmission quality, a second-level transmission quality, or a third-level transmission quality, the transmission quality indicated by the first-level transmission quality is greater than or equal to a first transmission quality value, the transmission quality indicated by the second-level transmission quality is less than the first transmission quality value and greater than or equal to a second transmission quality value, and the transmission quality indicated by the third-level transmission quality is less than the second transmission quality value.
[0036] In a fifth aspect, a data transmission apparatus is provided, comprising: at least one processor; the processor is configured to execute computer programs or instructions, so that the data processing apparatus executes the method of the first aspect or the second aspect.
[0037] In a possible implementation, the data processing apparatus further comprises a memory, configured to store necessary program instructions and data. The memory can be coupled with the processor, or can be independent of the processor.
[0038] In a possible implementation, the data processing apparatus can be a chip or a chip system. When the data processing apparatus is a chip system, it can be composed of a chip, or can comprise a chip and other discrete devices.
[0039] In a sixth aspect, a computer readable storage medium is provided, which stores computer instructions, when the computer instructions are executed by a computer, the computer can execute the method of the first aspect or the second aspect.
[0040] In a seventh aspect, a computer program product is provided, which comprises instructions, when the instructions are executed on a computer, the computer can execute the method of the first aspect or the second aspect.
[0041] In an eighth aspect, a communication system is provided, which comprises a data processing apparatus for executing the method of the first aspect, and a data processing apparatus for executing the method of the second aspect.
[0042] The technical effects brought by the third aspect to the eighth aspect can refer to the technical effects brought by the first aspect and / or the second aspect, which will not be described here. BRIEF DESCRIPTION OF DRAWINGS
[0043] Figure 1 A schematic diagram of a communication system architecture is provided for the present application;
[0044] Figure 2 A flowchart of a data transmission method is provided for the present application;
[0045] Figure 3 A structure diagram of a data processing apparatus is provided for the present application;
[0046] Figure 4 Another structure diagram of a data processing apparatus is provided for the present application. DETAILED DESCRIPTION
[0047] The implementation of the embodiments of the present application will be described in detail below with reference to the accompanying drawings.
[0048] The method provided by the embodiments of the present application can be used in various communication systems. For example, the communication system can be a long term evolution (LTE) system, a 5th generation (5G) communication system, a wireless-fidelity (WiFi) system, a wireless local area network (WLAN) system, an Ethernet system, a 3rd generation partnership project (3GPP) related communication system, a future evolved communication system, or a system integrating multiple systems, etc., without limitation. The 5G can also be referred to as a new radio (NR). The method provided by the embodiments of the present application will be described below with reference to the communication system 10 shown in FIG. 1 as an example. Figure 1 The method provided by the embodiments of the present application will be described below with reference to the communication system 10 shown in FIG. 1 as an example.
[0049] Figure 1 The architecture of the communication system 10 provided by the present application is shown in FIG. 1. Figure 1 In the embodiment, the communication system 10 can include a data transmission device 101 and a data transmission device 102 which can communicate with the data transmission device 101. Optionally, the communication system 10 can further include devices 103-105 which communicate with the data transmission device 101, and a control platform 106 which communicates with the data transmission device 102. Figure 1 The schematic diagram is only for illustration and does not constitute a limitation on the applicable scenarios of the technical solutions provided by the present application.
[0050] Figure 1 The data transmission device in the embodiment, such as the data transmission device 101 or the data transmission device 102, can be used to access the device to the network. For example, the data transmission device 101 or the data transmission device 102 can be a gateway or an access network gateway, etc. As an example, the data transmission device 101 and the data transmission device 102 can be connected in communication through at least one way to perform uplink and downlink full duplex communication. For example, the data transmission device 101 and the data transmission device 102 can be connected in communication through at least one of the following ways: a WiFi network, a 4G network, a 5G network, or an Ethernet, etc. It should be understood that the data transmission device 101 and the data transmission device 102 can also be connected in communication through other ways, without limitation.
[0051] In the embodiment, the data transmission device 101 can be connected in communication with the devices 103-105 through at least one of the following ways: a WiFi network, a 4G network, a 5G network, or an Ethernet, etc. It should be understood that the data transmission device 101 can also be connected in communication with the devices 103-105 through other ways, without limitation. Figure 1In some embodiments, the device 103, the device 104, or the device 105 can access the network through the data transmission device 101, and the control platform 106 can access the network through the data transmission device 102. In particular, the device 103, the device 104, or the device 105 can communicate with the control platform 106 through the data transmission device 101 and the data transmission device 102. For example, the device 103 communicates with the control platform 106. The device 103 sends data 1 to the data transmission device 101. The data transmission device 101 receives the data 1 and sends the data 1 to the data transmission device 102. The data transmission device 102 receives the data 1 and sends the data 1 to the control platform 106. Similarly, the control platform 106 sends data 2 to the data transmission device 102. The data transmission device 102 receives the data 2 and sends the data 2 to the data transmission device 101. The data transmission device 101 receives the data 2 and sends the data 2 to the device 103.
[0052] As an example, Figure 1 The device in the system, such as the device 103, the device 104, or the device 105, can be a slave controller, an audio device, a video device, a sensor, or a positioning device. The audio device can be used for recording. The video device can be used for shooting video. The sensor can be used for sensing the surrounding environment, such as sensing the temperature and / or humidity of the surrounding environment. The positioning device can be used for obtaining the position information of a device or devices. It should be understood that the slave controller, the audio device, the video device, the sensor, and the positioning device can be independent devices, and the functions of the slave controller, the audio device, the video device, the sensor, and the positioning device can also be deployed on one device, i.e., one device can have at least one of the recording function, the video shooting function, the surrounding environment sensing function, or the positioning function. For example, at least one of the recording function, the video shooting function, the surrounding environment sensing function, or the positioning function can be deployed on the slave controller.
[0053] In some embodiments, Figure 1In some embodiments, the control platform 106 can be deployed with a master controller, or the control platform 106 can be the master controller. If the control platform 106 is deployed with a master controller, the control platform 106 can also be deployed with a control terminal server. It can be understood that the master controller in the embodiments of the present application can remotely control the slave controller to implement certain functions. For example, the master controller can control the slave controller to implement one or more functions in the industrial field. Alternatively, the master controller can also control an audio device (such as recording or pausing recording, etc.), and / or control a video device (such as shooting, pausing shooting, or modifying shooting parameters, etc.), and / or control a sensor (such as sensing temperature, sensing humidity, sending alarm information when the temperature or humidity exceeds or is less than a certain threshold, etc.), and / or control a positioning device (such as positioning or using which way to position, etc.).
[0054] The technical solutions in the embodiments of the present application will be described below with reference to the accompanying drawings in the embodiments of the present application.
[0055] In the description of the present application, unless otherwise specified, “ / ” represents that the objects before and after the “ / ” are in an “or” relationship, for example, A / B can represent A or B; “and / or” in the present application is only a description of the association relationship of the associated objects, which means that there can be three kinds of relationships, for example, A and / or B, which can represent: A exists alone, A and B exist together, and B exists alone, where A and B can be singular or plural.
[0056] In the description of the present application, unless otherwise specified, “multiple” means two or more than two. “At least one of the following” or the like means any combination of the items, including any combination of single item or multiple items. For example, at least one of a, b, or c can represent: a, b, c, a-b, a-c, b-c, or a-b-c, where a, b, and c can be single or multiple.
[0057] In addition, in order to clearly describe the technical solutions of the embodiments of the present application, in the embodiments of the present application, the same items or similar items with basically the same functions and effects are distinguished by using “first”, “second”, etc. The skilled in the art can understand that “first”, “second”, etc. do not limit the quantity and execution order, and “first”, “second”, etc. also do not necessarily mean different. At the same time, in the embodiments of the present application, “exemplary” or “for example” means to present the relevant concept in a specific way for understanding.
[0058] It can be understood that the "embodiments" mentioned throughout the specification mean that the specific features, structures or characteristics related to the embodiments are included in at least one embodiment of the present application. Therefore, the various embodiments throughout the specification do not necessarily refer to the same embodiment. In addition, these specific features, structures or characteristics can be combined in one or more embodiments in any suitable manner. It can be understood that in various embodiments of the present application, the size of the sequence number of each process does not mean the order of execution, and the execution order of each process should be determined according to its function and inherent logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.
[0059] It can be understood that in the present application, "when", "if" and "if" all refer to the corresponding processing under certain objective circumstances, not limited to time, and do not require a judgment action when implemented, nor does it mean that there are other limitations.
[0060] In the present application, "at the same time" can be understood as at the same time point, also can be understood as in a period of time, and also can be understood as in the same cycle.
[0061] It can be understood that some optional features in the embodiments of the present application can be implemented independently in some scenarios without relying on other features, such as the scheme currently based on, to solve the corresponding technical problems and achieve the corresponding effects. In some scenarios, it can be combined with other features according to demand. Correspondingly, the device given in the embodiments of the present application can also realize these features or functions, which will not be described here.
[0062] In the present application, except for special description, the same or similar parts of each embodiment can be mutually referred to. In the various embodiments of the present application, and each implementation / implementation method / implementation method in each embodiment, if there is no special description and no logical conflict, the terms and / or descriptions of different embodiments, and each implementation / implementation method / implementation method in each embodiment are consistent and can be mutually referred to. The technical features in different embodiments, and each implementation / implementation method / implementation method in each embodiment can be combined to form a new embodiment, implementation, implementation method, or implementation method according to its inherent logical relationship. The following embodiments of the present application do not constitute a limitation on the protection scope of the present application.
[0063] As shown in FIG. 1, a data transmission method provided by an embodiment of the present application can include the following steps: Figure 2
[0064] S201: The first gateway acquires the first data and the attribute information of the first data.
[0065] The first gateway can be a gateway of a first networkFigure 1 The data transmission device 101 in the communication system 10 shown. The first data is data to be sent by the first gateway to the second gateway. The second gateway can be Figure 1 The data transmission device 102 in the communication system 10 shown.
[0066] In one possible implementation, the first gateway receives second information from the first device.
[0067] The first device can be a master controller, a slave controller, an audio device, a video device, a sensor, or a positioning device. For example, the first device can be Figure 1 The device 103, the device 104, or the device 105 in the communication system 10 shown. The master controller, the slave controller, the audio device, the video device, the sensor, and the positioning device can be introduced in the corresponding description of the embodiments shown. Figure 1 The second information can include the first data and second indication information. The second indication information can be used to indicate attribute information of the first data. That is, the first gateway can obtain the first data and the attribute information of the first data from the first device.
[0068] The attribute information of the first data includes at least one of the following: data source of the first data, data type of the first data, information of transmission bandwidth of the first data, time delay information of the first data, or information of transmission quality of the first data.
[0069] The data source of the first data includes at least one of the following: the master controller, the slave controller, the audio device, the video device, the sensor, or the positioning device. The data type of the first data can include at least one of the following: industrial control type, audio type, video type, sensor type, or position type. The information of transmission bandwidth of the first data can be used to indicate the transmission bandwidth of the first data. The time delay information of the first data can be used to indicate the time delay of the first data. The information of transmission quality of the first data can be used to indicate the transmission quality of the first data.
[0070] The transmission bandwidth of the first data includes a first-level transmission bandwidth, a second-level transmission bandwidth, or a third-level transmission bandwidth. The first-level transmission bandwidth indicates a transmission bandwidth greater than or equal to a first bandwidth value, the second-level transmission bandwidth indicates a transmission bandwidth less than the first bandwidth value and greater than or equal to a second bandwidth value, and the third-level transmission bandwidth indicates a transmission bandwidth less than the second bandwidth value. The latency of the first data includes a first-level latency, a second-level latency, or a third-level latency. The first-level latency indicates a latency greater than or equal to a first latency value, the second-level latency indicates a latency less than the first latency value and greater than or equal to a second latency value, and the third-level latency indicates a latency less than the second latency value. The transmission quality of the first data includes a first-level transmission quality, a second-level transmission quality, or a third-level transmission quality. The first-level transmission quality indicates a transmission quality greater than or equal to a first transmission quality value, the second-level transmission quality indicates a transmission quality less than the first transmission quality value and greater than or equal to a second transmission quality value, and the third-level transmission quality indicates a transmission quality less than the second transmission quality value.
[0071] It can be understood that in the above introduction, the transmission bandwidth, the latency, and the transmission quality are respectively divided into three levels. In specific applications, other classification methods can also be used for the transmission bandwidth, the latency, and the transmission quality, such as two levels or more than three levels, without limitation.
[0072] It can be understood that the first gateway can receive second information from one first device at a time, or the first gateway can receive multiple second information from multiple second devices at a time.
[0073] In Example 1, as shown in the communication system 10 in Figure 1 In this example, the second indication information can include at least one of the following: an identifier of the device 103 (to indicate the data source or the data type), an identifier of the data type (to indicate the data type), an identifier of the transmission bandwidth (such as an identifier of the first-level transmission bandwidth, an identifier of the second-level transmission bandwidth, or an identifier of the third-level transmission bandwidth), an identifier of the latency (such as an identifier of the first-level latency, an identifier of the second-level latency, or an identifier of the third-level latency), or an identifier of the transmission quality (such as an identifier of the first-level transmission quality, an identifier of the second-level transmission quality, or an identifier of the third-level transmission quality).
[0074] In Example 2, as shown in the communication system 20 in Figure 1In the illustrated communication system 10, the first gateway can receive the second information from the device 103 and the second information from the device 104. The second information from the device 103 can be introduced with reference to the description of the first example. The second information from the device 104 can include the first data to be sent by the device 104 to the control platform 106 and the second indication information indicating the attribute information of the first data. The second indication information includes similar content to the second indication information in the first example, and thus the description of the second indication information in the first example can be referred to and will not be repeated here. Subsequently, the first gateway can process the second information from the device 103 and the second information from the device 104 respectively. Details can be described below in S202-S203.
[0075] S202: The first gateway sends the first information according to the attribute information of the first data by using the first transmission mode. Correspondingly, the second gateway receives the first information.
[0076] In a possible implementation, the first gateway determines the first transmission mode according to the attribute information of the first data, and sends the first information by using the first transmission mode.
[0077] The first information can include the first indication information, the first data, and the destination address of the first data. Optionally, the first information can further include the source address of the first data. The first indication information can be used to indicate the first transmission mode, for example, the first indication information can include an identifier of the first transmission mode. It can be understood that the first indication information, the destination address of the first data, and the source address of the first data can be encapsulated in a packet header.
[0078] The first transmission mode is a transmission mode of communication through a single communication link, a transmission mode of communication through a master-slave communication link, a transmission mode of synchronous communication through multiple communication links, or a transmission mode of aggregated communication through multiple communication links.
[0079] The single communication link is a communication link established through a WiFi network (hereinafter referred to as a WiFi communication link), a communication link established through a 4G network (hereinafter referred to as a 4G communication link), a communication link established through a 5G network (hereinafter referred to as a 5G communication link), or a communication link established through an Ethernet network (hereinafter referred to as an Ethernet communication link). The multiple communication links include at least two of the WiFi communication link, the 4G communication link, the 5G communication link, or the Ethernet communication link.
[0080] The transmission mode of communication through the master-slave communication link can be understood as selecting one communication link as the main communication link and at least one communication link as the backup communication link in multiple communication links. When communicating, the main communication link can be used for data transmission. When the quality of the main communication link cannot meet the bandwidth requirement, and / or the time delay requirement, and / or the transmission quality requirement of data transmission, the backup communication link can be switched to for data transmission, or the main communication link and the backup communication link can be used simultaneously for data transmission.
[0081] The transmission mode of synchronous communication through multiple communication links can be understood as selecting at least two communication links in multiple communication links and using the at least two communication links to synchronously transmit data. Taking the first gateway to transmit data 1 as an example, the first gateway transmits data 1 through the WiFi communication link and the 4G communication link simultaneously, that is, the first gateway transmits data 1 in the WiFi communication link and transmits data 1 in the 4G communication link simultaneously.
[0082] The transmission mode of aggregated communication through multiple communication links can be understood as selecting at least two communication links in multiple communication links and converging the at least two communication links into one logical communication link to realize load sharing of data transmission. Taking the first gateway to transmit data 1 as an example, the first gateway divides data 1 into two parts, transmits one part of data 1 in the WiFi communication link, and transmits another part of data 1 in the 4G communication link.
[0083] It can be understood that if one communication link is established between the first gateway and the second gateway, the first transmission mode is the transmission mode of communication through a single communication link. If multiple communication links are established between the first gateway and the second gateway, the first transmission mode is the transmission mode of communication through a single communication link, the transmission mode of communication through a master-slave communication link, the transmission mode of synchronous communication through multiple communication links, or the transmission mode of aggregated communication through multiple communication links.
[0084] As an example, taking the attribute information of the first data including the data source of the first data as an example, if the data source of the first data is the main controller, the first transmission mode is the transmission mode of synchronous communication through multiple communication links; if the data source of the first data is the slave controller, the first transmission mode is the transmission mode of communication through a master-slave communication link; if the data source of the first data is the audio device, the sensor or the positioning device, the first transmission mode is the transmission mode of communication through a single communication link; if the data source of the first data is the video device, the first transmission mode is the transmission mode of aggregated communication through multiple communication links.
[0085] As another example, as shown in Table 1, if the data source of the first data is the master controller, the data type is the industrial control type, the transmission bandwidth is the third level transmission bandwidth, the time delay is the first level time delay, and the transmission quality is the first level transmission quality, the first transmission manner is the transmission manner (T02) of communicating through the master-slave communication link or the transmission manner (T03) of synchronously communicating through the multiple communication links; if the data source of the first data is the slave controller, the data type is the industrial control type, the transmission bandwidth is the third level transmission bandwidth, the time delay is the first level time delay, and the transmission quality is the first level transmission quality, the first transmission manner is the transmission manner (T02) of communicating through the master-slave communication link or the transmission manner (T03) of synchronously communicating through the multiple communication links; if the data source of the first data is the audio device, the data type is the audio type, the transmission bandwidth is the second level transmission bandwidth, the time delay is the second level time delay, and the transmission quality is the second level transmission quality, the first transmission manner is the transmission manner (T01) of communicating through the single communication link; if the data source of the first data is the video device, the data type is the video type, the transmission bandwidth is the first level transmission bandwidth, the time delay is the second level time delay, and the transmission quality is the second level transmission quality, the first transmission manner is the transmission manner (T04) of aggregately communicating through the multiple communication links; if the data source of the first data is the sensor, the data type is the sensor type, the transmission bandwidth is the second level transmission bandwidth, the time delay is the second level time delay, and the transmission quality is the second level transmission quality, the first transmission manner is the transmission manner (T01) of communicating through the single communication link; if the data source of the first data is the positioning device, the data type is the positioning type, the transmission bandwidth is the second level transmission bandwidth, the time delay is the second level time delay, and the transmission quality is the second level transmission quality, the first transmission manner is the transmission manner (T01) of communicating through the single communication link.
[0086] Table 1
[0087]
[0088] It can be understood that, in determining the first transmission manner, the first gateway can consider the related information of the communication link between the first gateway and the second gateway, such as the priority of the communication link, the bandwidth of the communication link, the time delay of the communication link, the packet loss rate of the communication link, and the like, in addition to the attribute information of the first data.
[0089] As an example, if the data source of the first data is the master controller, the data type is the industrial control type, the transmission bandwidth is the third level transmission bandwidth, the time delay is the first level time delay, and the transmission quality is the first level transmission quality, the first transmission manner is the transmission manner of communicating through the master-slave communication link. Further, the first gateway can determine the communication link with the highest priority among the communication links between the first gateway and the second gateway as the master communication link.
[0090] As another example, if the data source of the first data is the master controller, the data type is the industrial control type, the transmission bandwidth is the third level transmission bandwidth, the time delay is the first level time delay, and the transmission quality is the first level transmission quality, the first transmission manner is a transmission manner of communicating synchronously through a plurality of communication links. The plurality of communication links are N communication links with the highest time delay among the communication links between the first gateway and the second gateway. N is an integer greater than or equal to 2.
[0091] It can be understood that the first gateway can be preconfigured with a data priority selection communication link for different data sources (or data types). The first gateway determines the first transmission manner according to the data source (or data type) when determining the first transmission manner.
[0092] As an example, if the first gateway is preconfigured with a data priority selection 5G communication link for a data source of the master controller, the first gateway can determine that the first transmission manner is a transmission manner of communicating through a master-slave communication link, wherein the master communication link is the 5G communication link.
[0093] As another example, if the first gateway is preconfigured with a data priority selection WiFi communication link for a data source of the audio device, the first gateway can determine that the first transmission manner is a transmission manner of communicating through a single communication link, wherein the single communication link is the WiFi communication link.
[0094] It can be understood that if a plurality of communication links are established between the first gateway and the second gateway, but the bandwidth, and / or the time delay, and / or the packet loss rate of the plurality of communication links cannot meet the transmission requirements of the first data, the first gateway can determine that the first transmission manner is a transmission manner of communicating through a single communication link. The single communication link is a communication link with the largest bandwidth, and / or the smallest time delay, and / or the smallest packet loss rate among the plurality of communication links.
[0095] S203: The second gateway sends the first data to the destination address of the first data according to the first transmission manner.
[0096] In a possible implementation, the second gateway determines the first transmission manner according to the first indication information, and determines a manner of sending the first data according to the first transmission manner. For example, if the first transmission manner is a transmission manner of communicating through a single communication link or a transmission manner of communicating through a master-slave communication link, the second gateway directly sends the first data to a destination address of the first data. Alternatively, if the first transmission manner is a transmission manner of synchronously communicating through multiple communication links, the second gateway sends, to the destination address of the first data, the first data that is received earliest among the first data received through the multiple communication links. In this case, the second gateway can discard the first data other than the first data received earliest. That is, after the first data is received for the first time, the second gateway directly sends the first data to the destination address of the first data, and discards the first data other than the first data received earliest. Alternatively, if the first transmission manner is a transmission manner of aggregatively communicating through multiple communication links, the second gateway combines the data received through the multiple communication links into the first data, and sends the first data to the destination address of the first data.
[0097] It can be understood that, for the case where the first transmission manner is a transmission manner of synchronously communicating through multiple communication links, if the first data received earliest by the second gateway is incomplete, the data is not considered as the first data received earliest by the second gateway. That is, the first data received earliest by the second gateway should be complete first data.
[0098] It can be understood that, different identifiers can also be configured for data of different attribute information, for example, identifier 1 is configured for the first row of data in Table 1, identifier 2 is configured for the second row of data in Table 1, and identifier 3 is configured for the third row of data in Table 1, and so on. In this case, the first gateway and the second gateway can be preconfigured with a correspondence between the identifiers and the first transmission manner, and thus the first indication information can include the identifier. Subsequently, after the second gateway receives the first information, the second gateway can determine the first transmission manner according to the identifier. For example, for the third row of data in Table 1, the first indication information includes identifier 3, and after the second gateway receives the first information, the second gateway determines that the first transmission manner is T01 according to identifier 3.
[0099] Based on Figure 2The method shown, the first gateway can determine to send the first data by the first transmission mode according to the data source of the first data, and / or, the data type of the first data, and / or, the transmission bandwidth information of the first data, and / or, the time delay information of the first data, and / or, the transmission quality information of the first data. In the above process, the first gateway considers the data source of the first data, and / or, the data type of the first data, and / or, the transmission bandwidth information of the first data, and / or, the time delay information of the first data, and / or, the transmission quality information of the first data when sending the first data, so that the first gateway can send the first data in a suitable manner to improve the communication quality and transmission efficiency of data transmission, and improve production safety.
[0100] The above mainly introduces the scheme provided by the embodiments of the application from the perspective of interaction between devices. In order to realize the above functions, the first gateway or the second gateway comprises a hardware structure and / or a software module for executing respective functions. Those skilled in the art should easily realize that, in combination with the units and algorithm steps of the examples described in the embodiments disclosed herein, the embodiments of the application can be realized in the form of hardware or a combination of hardware and computer software. Whether a certain function is realized in the form of hardware or computer software driving hardware depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to realize the described functions for each specific application, but such implementation should not be considered beyond the scope of the application.
[0101] The embodiments of the application can divide the functional modules of the data processing apparatus according to the above method examples. For example, each functional module can be divided according to each function, or two or more functions can be integrated into one processing module. The above integrated module can be realized in the form of hardware or software functional module. Optionally, the division of the modules in the embodiments of the application is illustrative, and is only a logical function division. In actual implementation, another division method can be used. In addition, the "module" here can refer to a specific application-specific integrated circuit (ASIC), a circuit, a processor and a memory executing one or more software or firmware programs, an integrated logic circuit, and / or other devices that can provide the above functions.
[0102] In the case of division into functional modules, Figure 3 A structural schematic diagram of a data processing apparatus 30 is shown. As shown in the figure, Figure 3 The data processing apparatus 30 includes a processing module 301 and a transceiver module 302.
[0103] In some embodiments, the data processing apparatus 30 can also include a storage module (not shown in the figure).Figure 3 a memory (not shown in FIG. 1) for storing program instructions and data.
[0104] Exemplarily, the data processing apparatus 30 is configured to implement the function of the first gateway. The data processing apparatus 30 is, for example, a processor. Figure 2 The first gateway described in the embodiment shown in FIG. 1.
[0105] The processing module 301 is configured to acquire the first data and attribute information of the first data, the attribute information comprising at least one of the following: data source of the first data, data type of the first data, information of transmission bandwidth of the first data, time delay information of the first data, or information of transmission quality of the first data.
[0106] The processing module 301 is configured to send the first information by the transceiver module 302 according to the attribute information by using a first transmission mode, the first transmission mode being a transmission mode of communication through a single communication link, a transmission mode of communication through a master-slave communication link, a transmission mode of synchronous communication through multiple communication links, or a transmission mode of aggregated communication through multiple communication links, the first information comprising the first indication information, the first data, and a destination address of the first data, the first indication information being used for indicating the first transmission mode.
[0107] In a possible implementation, the processing module 301 is specifically configured to receive second information from a first device by the transceiver module 302, the first device being a master controller, a slave controller, an audio device, a video device, a sensor, or a positioning apparatus, the second information comprising the first data and second indication information, the second indication information being used for indicating the attribute information.
[0108] In a possible implementation, the data source of the first data comprises at least one of the following: a master controller, a slave controller, an audio device, a video device, a sensor, or a positioning apparatus; the data type of the first data comprises at least one of the following: an industrial control type, an audio type, a video type, a sensor type, or a position type; the information of transmission bandwidth of the first data is used for indicating the transmission bandwidth of the first data; the time delay information of the first data is used for indicating the time delay of the first data; and the information of transmission quality of the first data is used for indicating the transmission quality of the first data.
[0109] In a possible implementation, the transmission bandwidth of the first data comprises a first-level transmission bandwidth, a second-level transmission bandwidth, or a third-level transmission bandwidth, the first-level transmission bandwidth indicating a transmission bandwidth greater than or equal to a first bandwidth value, the second-level transmission bandwidth indicating a transmission bandwidth less than the first bandwidth value and greater than or equal to a second bandwidth value, and the third-level transmission bandwidth indicating a transmission bandwidth less than the second bandwidth value.
[0110] In a possible implementation, the time delay of the first data includes a first level time delay, a second level time delay or a third level time delay, the first level time delay indicates a time delay greater than or equal to a first time delay value, the second level time delay indicates a time delay less than the first time delay value and greater than or equal to a second time delay value, and the third level time delay indicates a time delay less than the second time delay value.
[0111] In a possible implementation, the transmission quality of the first data includes a first level transmission quality, a second level transmission quality or a third level transmission quality, the first level transmission quality indicates a transmission quality greater than or equal to a first transmission quality value, the second level transmission quality indicates a transmission quality less than the first transmission quality value and greater than or equal to a second transmission quality value, and the third level transmission quality indicates a transmission quality less than the second transmission quality value.
[0112] In a possible implementation, the processing module 301 is specifically configured to determine the first transmission mode according to the attribute information; and the processing module 301 is further specifically configured to send the first information by the transceiver module 302 in the first transmission mode.
[0113] When used to implement the function of the first gateway, for other functions that can be implemented by the data processing apparatus 30, reference can be made to the related descriptions of the embodiments shown in Figure 2 and will not be described in detail.
[0114] Alternatively, for example, the data processing apparatus 30 is used to implement the function of the second gateway. The data processing apparatus 30 is, for example, the second gateway described in the embodiments shown in Figure 2 .
[0115] The transceiver module 302 is configured to receive the first information, the first information including first indication information, first data and a destination address of the first data, the first indication information being used to indicate a first transmission mode of sending the first information, the first transmission mode being a transmission mode of communicating through a single communication link, a transmission mode of communicating through a master-slave communication link, a transmission mode of synchronously communicating through multiple communication links or a transmission mode of aggregately communicating through multiple communication links, the first transmission mode being determined according to attribute information of the first data, the attribute information including at least one of the following: a data source of the first data, a data type of the first data, information of a transmission bandwidth of the first data, time delay information of the first data or information of transmission quality of the first data.
[0116] The processing module 301 is configured to send the first data to the destination address by the transceiver module 302 according to the first transmission mode.
[0117] In a possible implementation, the processing module 301 is specifically configured to, if the first transmission mode is a transmission mode of communicating through a single communication link or a transmission mode of communicating through a master-slave communication link, send the first data to the destination address through the transceiver module 302; or the processing module 301 is specifically configured to, if the first transmission mode is a transmission mode of synchronously communicating through multiple communication links, send the earliest received first data among the first data received through the multiple communication links to the destination address through the transceiver module 302; or the processing module 301 is specifically configured to, if the first transmission mode is a transmission mode of aggregately communicating through multiple communication links, combine the data received through the multiple communication links into the first data, and send the first data to the destination address through the transceiver module 302.
[0118] In a possible implementation, the data source of the first data includes at least one of the following: a master controller, a slave controller, an audio device, a video device, a sensor, or a positioning device; the data type of the first data includes at least one of the following: an industrial control type, an audio type, a video type, a sensor type, or a position type; the information of the transmission bandwidth of the first data is used to indicate the transmission bandwidth of the first data; the time delay information of the first data is used to indicate the time delay of the first data; and the information of the transmission quality of the first data is used to indicate the transmission quality of the first data.
[0119] In a possible implementation, the transmission bandwidth of the first data includes a first-level transmission bandwidth, a second-level transmission bandwidth, or a third-level transmission bandwidth, the transmission bandwidth indicated by the first-level transmission bandwidth is greater than or equal to a first bandwidth value, the transmission bandwidth indicated by the second-level transmission bandwidth is less than the first bandwidth value and greater than or equal to a second bandwidth value, and the transmission bandwidth indicated by the third-level transmission bandwidth is less than the second bandwidth value.
[0120] In a possible implementation, the time delay of the first data includes a first-level time delay, a second-level time delay, or a third-level time delay, the time delay indicated by the first-level time delay is greater than or equal to a first time delay value, the time delay indicated by the second-level time delay is less than the first time delay value and greater than or equal to a second time delay value, and the time delay indicated by the third-level time delay is less than the second time delay value.
[0121] In a possible implementation, the transmission quality of the first data includes a first-level transmission quality, a second-level transmission quality, or a third-level transmission quality, the transmission quality indicated by the first-level transmission quality is greater than or equal to a first transmission quality value, the transmission quality indicated by the second-level transmission quality is less than the first transmission quality value and greater than or equal to a second transmission quality value, and the transmission quality indicated by the third-level transmission quality is less than the second transmission quality value.
[0122] When used to implement the functions of the second gateway, for other functions that the data processing apparatus 30 can implement, reference can be made to the description of the data processing apparatus 30. Figure 2The relevant introduction of the embodiment is not described in detail.
[0123] In the case of implementing the functions of the above-mentioned functional modules in the form of hardware, Figure 4 A structural schematic diagram of another data processing apparatus 40 is shown. As shown in the figure, Figure 4 The data processing apparatus 40 includes a processor 401, a memory 402 and a bus 403. The processor 401 and the memory 402 can be connected through the bus 403.
[0124] The processor 401 is the control center of the data processing apparatus 40, which can be one processor or a general term of multiple processing elements. For example, the processor 401 can be a general central processing unit (CPU), or other general-purpose processors, etc. Among them, the general-purpose processor can be a microprocessor or any conventional processor, etc.
[0125] As an embodiment, the processor 401 can include one or more CPUs, such as the CPU 0 and the CPU 1 shown in the figure. Figure 4
[0126] The memory 402 can be a read-only memory (ROM) or other types of static storage devices that can store static information and instructions, a random access memory (RAM) or other types of dynamic storage devices that can store information and instructions, an electrically erasable programmable read-only memory (EEPROM), a magnetic disk storage medium or other magnetic storage devices, or any other medium that can be used to carry or store desired program codes in the form of instructions or data structures and can be accessed by a computer, but not limited to this.
[0127] As a possible implementation, the memory 402 can exist independently of the processor 401, and the memory 402 can be connected to the processor 401 through the bus 403, for storing instructions or program codes. When the processor 401 calls and executes the instructions or program codes stored in the memory 402, the one-time identity usage method provided by the embodiment of the application can be implemented.
[0128] In another possible implementation, the memory 402 can also be integrated with the processor 401.
[0129] The bus 403 can be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, or the like. The bus can be divided into an address bus, a data bus, a control bus, and the like. For ease of representation, Figure 4 Only one thick line is used to represent the bus in the figure, but it does not mean that there is only one bus or only one type of bus.
[0130] It should be noted that Figure 4 The structure shown does not constitute a limitation on the data processing apparatus 40. In addition to the components shown, the data processing apparatus 40 can include more or fewer components, or combine certain components, or different component arrangements. Figure 4
[0131] As an example, in combination with Figure 3 The functions implemented by the processing module 301 and the transceiver module 302 in the data processing apparatus 30 are the same as the functions of the processor 401 in Figure 4
[0132] Optionally, as shown in Figure 4 The data processing apparatus 40 provided by the embodiments of the present application can also include a communication interface 404.
[0133] The communication interface 404 is used to connect with other devices through a communication network. The communication network can be an Ethernet, a wireless access network, a wireless local area network (WLAN), or the like. The communication interface 404 can include a receiving unit for receiving data, and a sending unit for sending data.
[0134] In a possible implementation, in the data processing apparatus 40 provided by the embodiments of the present application, the communication interface 404 can also be integrated in the processor 401, which is not specifically limited by the embodiments of the present application.
[0135] As a possible product form, the data processing apparatus can also be implemented using one or more field programmable gate arrays (FPGAs), programmable logic devices (PLDs), controllers, state machines, gated logic, discrete hardware components, any other suitable circuitry, or any combination thereof capable of implementing the various functionality described throughout this application.
[0136] Those skilled in the art can clearly understand the data processing apparatus from the description of the above embodiments. For the convenience and brevity, only the division of the above functional units is exemplified. In actual application, the above functions can be completed by different functional units according to needs, that is, the internal structure of the apparatus is divided into different functional units to complete all or part of the above described functions. The specific working process of the above described system, apparatus and unit can refer to the corresponding process in the foregoing method embodiments, which will not be described here.
[0137] The embodiments of the present application also provide a computer readable storage medium, which stores instructions. When a computer executes the instructions, the computer executes each step in the method flow shown in the above method embodiments.
[0138] The embodiments of the present application provide a computer program product containing instructions, which, when executed on a computer, cause the computer to perform each step in the method flow shown in the above method embodiments.
[0139] The computer readable storage medium, for example, can be, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples (a non-exhaustive list) of the computer readable storage medium include an electrical connection having one or more wires, a portable computer diskette, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or Flash memory), a register, a hard disk, an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. A processor in association with software can be used to program the frequency of operation of the processor to enable the processor to read information stored in a storage device, such as a storage device included in the processor. Alternatively, a processor in association with software can be used to program the frequency of operation of the processor to enable the processor to read information stored in a storage device, such as a storage device included in the processor. In this regard, the disclosure also contemplates a computer-readable storage medium, including a tangible storage medium or memory medium, encoded with data that, when executed by a processor, is capable of programming or otherwise configuring the processor to cause the processor to implement a method of the disclosure. The computer readable storage medium or media can have instructions or code stored thereon, which are executable by a processor to
[0140] Since the data processing apparatus, the computer readable storage medium, and the computer program product provided by the embodiments can be applied to the data processing method provided by the embodiments, the technical effects that can be obtained by the embodiments are also referable to the method embodiments, and the embodiments will not be described here again.
[0141] Although the disclosure has been described in connection with various embodiments thereof, it will be understood that other variations can be understood and effected by those skilled in the art in practicing the claimed application, from the disclosure and the appended claims, and in connection with the drawings. In the claims, the word "comprising" does not exclude other elements or steps, and the indefinite articles "a" or "an" do not exclude a plurality. A single processor or other unit can fulfill the functions of several items recited in the claims. The mere fact that certain measures are recited in mutually different dependent claims does not indicate that a combination of these measures cannot be used to advantage.
[0142] Although the present application has been described in connection with certain specific features and embodiments thereof, it is to be understood that it is intended to cover all modifications and variations of this application which are within the scope of the appended claims and their equivalents. Accordingly, the description and drawings are to be regarded as illustrative in nature and not as restrictive. It is intended that all such modifications and variations are included within the scope of the present application as defined by the following claims and their equivalents.
Claims
1. A data transmission method, characterized by, The method comprises: acquiring first data and attribute information of the first data, the attribute information comprising at least one of data source of the first data, data type of the first data, information of transmission bandwidth of the first data, time delay information of the first data, or information of transmission quality of the first data; sending first information according to the attribute information by using a first transmission mode, the first transmission mode being a transmission mode of communication through a single communication link, a transmission mode of communication through a master-slave communication link, a transmission mode of synchronous communication through multiple communication links, or a transmission mode of aggregated communication through multiple communication links, the first information comprising first indication information, the first data, and a destination address of the first data, the first indication information being used for indicating the first transmission mode.
2. The method of claim 1, wherein, The acquiring of the first data and the attribute information of the first data comprises: receiving second information from a first device; the first device being a master controller, a slave controller, an audio device, a video device, a sensor, or a positioning apparatus, the second information comprising the first data and second indication information, the second indication information being used for indicating the attribute information.
3. The method according to claim 1 or 2, characterized in that the data source of the first data comprises at least one of a master controller, a slave controller, an audio device, a video device, a sensor, or a positioning apparatus; the data type of the first data comprises at least one of an industrial control type, an audio type, a video type, a sensor type, or a position type; the information of transmission bandwidth of the first data is used for indicating the transmission bandwidth of the first data; the time delay information of the first data is used for indicating the time delay of the first data; and the information of transmission quality of the first data is used for indicating the transmission quality of the first data.
4. A data transmission method, characterized by, The method comprises: receiving first information, the first information comprising first indication information, first data, and a destination address of the first data, the first indication information being used for indicating a first transmission mode of sending the first information, the first transmission mode being a transmission mode of communication through a single communication link, a transmission mode of communication through a master-slave communication link, a transmission mode of synchronous communication through multiple communication links, or a transmission mode of aggregated communication through multiple communication links, the first transmission mode being determined according to attribute information of the first data, the attribute information comprising at least one of data source of the first data, data type of the first data, information of transmission bandwidth of the first data, time delay information of the first data, or information of transmission quality of the first data; sending the first data to the destination address according to the first transmission mode.
5. The method of claim 4, wherein, The sending of the first data to the destination address according to the first transmission mode comprises: if the first transmission mode is a transmission mode of communication through a single communication link or a transmission mode of communication through a master-slave communication link, sending the first data to the destination address; or If the first transmission mode is a transmission mode of synchronous communication through multiple communication links, the first data received earliest among the first data received through the multiple communication links is sent to the destination address; or If the first transmission mode is a transmission mode of aggregated communication through multiple communication links, the data received through the multiple communication links is combined into the first data, and the first data is sent to the destination address.
6. The method of claim 4 or 5, wherein the data source of the first data comprises at least one of a master controller, a slave controller, an audio device, a video device, a sensor, or a positioning device; the data type of the first data comprises at least one of an industrial control type, an audio type, a video type, a sensor type, or a position type; the information of the transmission bandwidth of the first data is used to indicate the transmission bandwidth of the first data; the time delay information of the first data is used to indicate the time delay of the first data; and the information of the transmission quality of the first data is used to indicate the transmission quality of the first data. The data transmission device comprises a processing module and a transceiver module.
7. A data transmission apparatus, characterized by comprising: The processing module is configured to acquire first data and attribute information of the first data, the attribute information comprising at least one of a data source of the first data, a data type of the first data, information of a transmission bandwidth of the first data, time delay information of the first data, or information of a transmission quality of the first data. The processing module is further configured to send first information by the transceiver module according to the attribute information in a first transmission mode, the first transmission mode being a transmission mode of communication through a single communication link, a transmission mode of communication through a master-slave communication link, a transmission mode of synchronous communication through multiple communication links, or a transmission mode of aggregated communication through multiple communication links, the first information comprising first indication information, the first data, and a destination address of the first data, the first indication information being used to indicate the first transmission mode.
8. The data transmission device of claim 7, wherein the processing module is specifically configured to receive second information from a first device by the transceiver module. The first device is a master controller, a slave controller, an audio device, a video device, a sensor, or a positioning device, and the second information comprises the first data and second indication information, the second indication information being used to indicate the attribute information.
9. The data transmission device of claim 7 or 8, wherein the data source of the first data comprises at least one of a master controller, a slave controller, an audio device, a video device, a sensor, or a positioning device; the data type of the first data comprises at least one of an industrial control type, an audio type, a video type, a sensor type, or a position type; the information of the transmission bandwidth of the first data is used to indicate the transmission bandwidth of the first data; the time delay information of the first data is used to indicate the time delay of the first data; and the information of the transmission quality of the first data is used to indicate the transmission quality of the first data. 10. A data transmission apparatus, characterized by comprising: The data transmission device comprises a transceiving module and a processing module; The transceiving module is configured to receive first information, wherein the first information comprises first indication information, first data, and a destination address of the first data, the first indication information is used to indicate a first transmission mode of transmitting the first information, the first transmission mode is a transmission mode of communicating through a single communication link, a transmission mode of communicating through a master-slave communication link, a transmission mode of synchronously communicating through multiple communication links, or a transmission mode of aggregately communicating through multiple communication links, the first transmission mode is determined according to attribute information of the first data, and the attribute information comprises at least one of a data source of the first data, a data type of the first data, information of a transmission bandwidth of the first data, time delay information of the first data, or information of transmission quality of the first data. The processing module is configured to transmit the first data to the destination address through the transceiving module according to the first transmission mode.
11. The data transmission device according to claim 10, wherein The processing module is specifically configured to transmit the first data to the destination address through the transceiving module if the first transmission mode is the transmission mode of communicating through the single communication link or the transmission mode of communicating through the master-slave communication link; or The processing module is specifically configured to transmit, to the destination address through the transceiving module, first data that is received earliest among the first data received through the multiple communication links if the first transmission mode is the transmission mode of synchronously communicating through the multiple communication links; or The processing module is specifically configured to combine data received through the multiple communication links into the first data, and transmit the first data to the destination address through the transceiving module if the first transmission mode is the transmission mode of aggregately communicating through the multiple communication links.
12. The data transmission device according to claim 10 or 11, wherein The data source of the first data comprises at least one of a master controller, a slave controller, an audio device, a video device, a sensor, or a positioning device; the data type of the first data comprises at least one of an industrial control type, an audio type, a video type, a sensor type, or a position type; the information of the transmission bandwidth of the first data is used to indicate the transmission bandwidth of the first data; the time delay information of the first data is used to indicate the time delay of the first data; and the information of the transmission quality of the first data is used to indicate the transmission quality of the first data.
13. A data transmission apparatus, characterized by comprising: The data transmission device comprises a processor; The processor is configured to read computer execution instructions in a memory, and execute the computer execution instructions to enable the data transmission device to perform the method according to any one of claims 1 to 3, or perform the method according to any one of claims 4 to 6.
14. A computer-readable storage medium, characterized in that, The computer readable storage medium stores a computer program or instructions which, when executed, implement the method of any one of claims 1-3, or implement the method of any one of claims 4-6.
Citation Information
Patent Citations
Data transmission method, device and system
CN106572498A
Intermediate device supporting multi-channel aggregation communication
CN110650089A