Data processing method and device, concentrator and storage medium

By classifying and grading the data received in channel multiplexing technology, and adjusting the transmission strategy according to the data type and network status, the problems of no difference in data transmission and long transmission cycle in the prior art are solved, and efficient transmission and real-time guarantees of data of different priority levels are achieved.

CN120034502APending Publication Date: 2025-05-23CHINA UNITED NETWORK COMM GRP CO LTD +2
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311569991.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-11-22
Publication Date
2025-05-23

AI Technical Summary

Technical Problem

The existing channel multiplexing technology cannot transmit different types of data indiscriminately, and the transmission period is long, which cannot meet the real-time requirements of different data types.

Method used

By receiving data transmitted by multiple users, prioritization is determined according to the data type, and then the data group is formed after sorting. Obtain the current network parameters, adjust the proportion of instruction data and operation data in the data group according to the network status, and form a data packet. The time gap of adjacent time periods is determined according to the priority of the data in the data packet, and the data packets are sent in sequence in the order of time periods and in the time gap.

Benefits of technology

It realizes service quality assurance for data of different priority levels, adjusts the proportion of instruction data according to network congestion, ensures the quality of remote operations, and ensures the priority transmission of data of different priority levels, meeting the requirements for real-timeness of different data types.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120034502A_ABST
    Figure CN120034502A_ABST
Patent Text Reader

Abstract

The invention provides a data processing method and device, a concentrator and a storage medium. The method comprises the following steps: receiving a plurality of data transmitted based on a plurality of users, and determining the priority of each data; sorting the data in the buffer area according to the priority of the data belonging to the same time period to obtain a data group in each time period; determining a current network state; according to the current network state, adjusting the proportion of the instruction data and the operation data in the corresponding data group in each time period to obtain a corresponding data packet in each time period; determining time slots corresponding to the data packets in the adjacent time periods according to the priorities of the data in the data packets; and sequentially sending the corresponding data packets in each time period according to the sequence of each time period and the time slots corresponding to the data packets corresponding to the adjacent time periods. According to the method provided by the invention, the transmission data is classified and graded, so that the service quality of the data with different priorities can be ensured, and the preferential transmission of the data with different priorities is ensured.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of data processing technology, and in particular to a data processing method, device, concentrator and storage medium. Background Art

[0002] With the development of communication technology and the improvement of security awareness, users are using more and more network dedicated lines. In order to save costs, the channel reuse of network dedicated lines is also increasing.

[0003] Existing channel multiplexing technologies include time division multiplexing and statistical time division multiplexing. Among them, time division multiplexing uses different time periods of the same physical connection to transmit different signals, which can also achieve the purpose of multi-channel transmission. Time division multiplexing uses time as the parameter for signal division, so it is necessary to make sure that the signals of each channel do not overlap on the time axis. Statistical time division multiplexing is a time division multiplexing method that dynamically allocates line resources according to the actual needs of users, dividing time into several time slots, each time slot corresponds to a channel.

[0004] However, the current channel multiplexing technology cannot transmit different types of data indiscriminately; and it is impossible to set the transmission cycle according to the data type, resulting in a long transmission cycle. Summary of the invention

[0005] The present application provides a data processing method, device, concentrator and storage medium to solve the technical problem that the existing channel multiplexing technology cannot transmit different types of data indiscriminately and has a long transmission cycle.

[0006] In a first aspect, the present application provides a data processing method, comprising:

[0007] receiving a plurality of data transmitted by a plurality of users, and determining a priority of each data according to a data type of each data, wherein the data type includes: instruction data and operation data;

[0008] Sort the data in the buffer according to the priority of the data belonging to the same time period to obtain the data group corresponding to each time period;

[0009] Obtain current network parameters and determine the current network status based on the current network parameters;

[0010] According to the current network status, the proportion of instruction data and operation data in the data group corresponding to each time period is adjusted to obtain the corresponding data packet in each time period;

[0011] Determine the time intervals corresponding to the data packets in adjacent time periods according to the priority of each data packet in the corresponding data packet in each time period;

[0012] The corresponding data packets in each time period are sent in sequence according to the sequence of each time period and the time gaps corresponding to the data packets corresponding to the adjacent time periods.

[0013] Optionally, in the above method, determining the priority of each data according to the data type of each data includes:

[0014] Obtaining a data identifier for each data, and determining a data type for each data according to the data identifier for each data;

[0015] If the data type of a certain data is instruction data, the priority of the data is determined to be the first priority;

[0016] If the data type of certain data is operation data, the corresponding priority is determined according to the data identifier of the data, and the corresponding priority is one of the second priority to the Nth priority.

[0017] Optionally, in the above method, the step of sorting the data in the buffer according to the priority of the data belonging to the same time period to obtain the data groups corresponding to the time periods includes:

[0018] Determine the insertion position of each data in the buffer area according to the priority of each data;

[0019] The data are sorted in the buffer based on the insertion position of each data to obtain the corresponding data group in each time period.

[0020] Optionally, in the above method, determining the insertion position of each data in the cache area according to the priority of each data includes:

[0021] If the priority of the data is the first priority, inserting the data from the head of the buffer;

[0022] If the priority of the data is not the first priority, the data is inserted from the end of the buffer.

[0023] Optionally, in the method as described above, the current network parameters include: current bandwidth utilization, current network delay time, current packet loss rate, current throughput and current jitter time;

[0024] Wherein, determining the current network state according to the current network parameters includes:

[0025] If the current bandwidth utilization is less than the preset bandwidth utilization and the current network delay time is less than the preset network delay time and the current packet loss rate is less than the preset packet loss rate and the current throughput is greater than the preset throughput and the current jitter time is less than the preset jitter time, then the current network state is determined to be a smooth state;

[0026] If the current bandwidth utilization is greater than or equal to the preset bandwidth utilization and / or the current network delay time is greater than or equal to the preset network delay time and / or the current packet loss rate is greater than or equal to the preset packet loss rate and / or the current throughput is less than or equal to the preset throughput and / or the current jitter time is greater than or equal to the preset jitter time, then the current network state is determined to be a congested state.

[0027] Optionally, in the method described above, the proportion of instruction data and operation data in the data group corresponding to each time period is adjusted according to the current network state to obtain the corresponding data packet in each time period, including:

[0028] If the current network state is a smooth state, the proportion of instruction data is determined as a first threshold, and the instruction data in the data group corresponding to each time period is adjusted based on the first threshold to obtain the corresponding data packet in each time period;

[0029] If the current network state is a congested state, the proportion of instruction data is determined as a second threshold, and the instruction data in the corresponding data group in each time period is adjusted based on the second threshold to obtain the corresponding data packet in each time period.

[0030] Optionally, in the above method, determining the time intervals corresponding to the data packets in adjacent time periods according to the priority of each data packet in each time period includes:

[0031] The data with the highest priority among the data packets is selected, and the preset time interval corresponding to the data with the highest priority among the data packets is determined as the time interval corresponding to each data packet and a data packet in the next adjacent time period.

[0032] In a second aspect, the present application provides a data processing device, including:

[0033] A transceiver unit, used for receiving a plurality of data transmitted by a plurality of users;

[0034] A determination unit, used to determine the priority of each data according to the data type of each data, wherein the data type includes: instruction data and operation data;

[0035] A processing unit, used to sort the data in the buffer according to the priority of the data belonging to the same time period, and obtain the data group corresponding to each time period;

[0036] The determination unit is further used to obtain current network parameters and determine the current network state according to the current network parameters;

[0037] The processing unit is further used to adjust the proportion of instruction data and operation data in the data group corresponding to each time period according to the current network state, so as to obtain the corresponding data packet in each time period;

[0038] The determination unit is further used to determine the time gaps corresponding to the data packets in adjacent time periods according to the priority of each data in the corresponding data packets in each time period;

[0039] The transceiver unit is also used to send the corresponding data packets in each time period in sequence according to the sequence of each time period and the time gaps corresponding to the data packets corresponding to the adjacent time periods.

[0040] In a third aspect, the present application provides a concentrator, including: a processor, a memory, and a transceiver;

[0041] Interconnection of processor, memory and transceiver circuits;

[0042] Memory stores computer-executable instructions;

[0043] A transceiver for sending and receiving data;

[0044] The processor executes the computer-executable instructions stored in the memory, so that the processor executes the method as described in the first aspect. In a fourth aspect, the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores computer-executable instructions, and when the computer-executable instructions are executed by the processor, they are used to implement the method as described in the first aspect.

[0045] The data processing method, device, concentrator and storage medium provided by the present application receive multiple data transmitted by multiple users, and determine the priority of each data according to the data type of each data, the data type includes: instruction data and operation data, sort each data in the cache area according to the priority of each data belonging to the same time period, obtain the corresponding data group in each time period, obtain the current network parameters, determine the current network state according to the network parameters, adjust the proportion of instruction data and operation data in the corresponding data group in each time period according to the current network state, obtain the data packet corresponding to each time period, further determine the time gap corresponding to the data packet of the adjacent time period according to the priority of each data in the corresponding data packet in each time period, send the corresponding data packet in each time period in sequence according to the sequence of each time period and the time gap corresponding to the data packet of the adjacent time period, the present application classifies and processes the transmission data, can ensure the service quality of data of different priorities, adjust the proportion of instruction data according to the network congestion, ensure the quality of remote operation, and ensure the priority transmission of data of different priorities. In addition, when inserting the buffer, the instruction data is inserted from the head of the queue to ensure that the instruction data can be transmitted first; the time gap is set according to the priority, and the instruction data can be set to the shortest sending cycle, which ensures the real-time requirements of different data. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0047] Figure 1 A schematic diagram of an application scenario of the data processing method provided in this application;

[0048] Figure 2 A flowchart of a data processing method provided in this application;

[0049] Figure 3 A flowchart of another data processing method provided for this application;

[0050] Figure 4 A data transmission schematic diagram of a data processing method provided in this application;

[0051] Figure 5 A buffer diagram of a data processing method provided by this application;

[0052] Figure 6 A data transmission schematic diagram of another data processing method provided by the present application;

[0053] Figure 7 A schematic diagram of the structure of a data processing device provided in this application;

[0054] Figure 8 The present invention is a block diagram of a concentrator used to implement the data processing method of the present application.

[0055] The above drawings have shown clear embodiments of the present application, which will be described in more detail later. These drawings and text descriptions are not intended to limit the scope of the present application in any way, but to illustrate the concept of the present application to those skilled in the art by referring to specific embodiments. DETAILED DESCRIPTION

[0056] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the following exemplary embodiments do not represent all implementations consistent with the present application. Instead, they are merely examples of devices and methods consistent with some aspects of the present application as detailed in the appended claims.

[0057] In order to clearly understand the technical solution of the present application, the solution of the prior art is first introduced in detail.

[0058] Existing channel multiplexing technologies include frequency division multiplexing, time division multiplexing, statistical time division multiplexing, wavelength division multiplexing, code division multiplexing, etc. Among them, time division multiplexing uses different time periods of the same physical connection to transmit different signals, which can also achieve the purpose of multi-channel transmission. Time division multiplexing uses time as the parameter for signal division, so it is necessary to make the signals of each channel non-overlapping on the time axis. Statistical time division multiplexing is a time division multiplexing method that dynamically allocates line resources according to the actual needs of users, dividing time into several time slots, each time slot corresponds to a channel.

[0059] However, the current channel multiplexing technology cannot guarantee the quality of service according to the data type, and cannot classify and grade the transmitted data, resulting in the indiscriminate transmission of command data and operation data; and it cannot set the transmission cycle according to the data type, and the transmission cycle is long, which cannot guarantee the real-time requirements of remote operations. Moreover, it is impossible to control the transmission and service quality according to the priority of the upper layer data.

[0060] Therefore, in view of the problem that the existing channel multiplexing technology cannot transmit different types of data indiscriminately and has a long transmission cycle, the inventors found in the research that multiple data transmitted based on multiple users are received, and the priority of each data is determined according to the data type of each data, the data type includes: instruction data and operation data, and each data is sorted in the cache area according to the priority of each data belonging to the same time period to obtain the data group corresponding to each time period, obtain the current network parameters, determine the current network status according to the network parameters, adjust the proportion of instruction data and operation data in the data group corresponding to each time period according to the current network status, and obtain the data packet corresponding to each time period, and further determine the time gap corresponding to the data packet of adjacent time periods according to the priority of each data in the corresponding data packet of each time period, and send the corresponding data packet in each time period in sequence according to the order of each time period and the time gap corresponding to the data packet corresponding to the adjacent time period. The present application classifies and grades the transmission data, which can ensure the service quality of data of different priorities, adjust the proportion of instruction data according to the network congestion situation, ensure the quality of remote operation, and ensure the priority transmission of data of different priorities.

[0061] Therefore, based on the above creative findings, the inventors have proposed a technical solution of the embodiment of the present application. The application scenario of the data processing method provided by the embodiment of the present application is introduced below.

[0062] like Figure 1As shown in the figure, the network architecture corresponding to the data processing method provided by the embodiments of the present application includes: The concentrator receives multiple data transmitted by multiple users based on A, B, C, D, etc., and determines the priority of each data according to the data type of each data. The data types include: instruction data and operation data; The concentrator sorts each data in the buffer according to the priority of each data belonging to the same time period, and obtains the data group corresponding to each time period; The concentrator obtains the current network parameters and determines the current network status according to the current network parameters; According to the current network status, adjust the proportion of instruction data and operation data in the data group corresponding to each time period to obtain the data packet corresponding to each time period; Determine the time gap corresponding to the data packets in adjacent time periods according to the priority of each data in the data packets corresponding to each time period; The concentrator sequentially sends the data packets corresponding to each time period in the order of each time period and the time gap corresponding to the data packets in adjacent time periods, classifies and grades the transmitted data, can ensure the service quality of different priority data, adjusts the proportion of instruction data according to the network congestion situation, ensures the quality of remote operations, and ensures the priority transmission of different priority data.

[0063] The data processing method provided by the present application aims to solve the above technical problems in the prior art.

[0064] The following uses specific embodiments to detail the technical solutions of the present application and how the technical solutions of the present application solve the above technical problems. These several specific embodiments can be combined with each other, and the same or similar concepts or processes may not be repeated in some embodiments. The following will describe the embodiments of the present application with reference to the accompanying drawings.

[0065] Figure 2 It is a flowchart of a data processing method provided by the present application, and this method is applied to a concentrator. As Figure 2 shown, this method includes:

[0066] Step 201, receive multiple data transmitted by multiple users, and determine the priority of each data according to the data type of each data. The data types include: instruction data and operation data.

[0067] In this embodiment, multiple data transmitted by multiple users are received. The data are mainly divided into two types, instruction data and operation data. The instruction data includes: turn on, turn off, etc.

[0068] Furthermore, determine the priority of the data according to the data type of each data. For example, the priority of instruction data is higher than that of operation data. The operation data is also divided into multiple priorities. Specifically, the priority can be set according to the user's selection, or according to the size of the operation data. The purpose of setting the priority is to be able to fill the instruction data first when data is packetized.

[0069] Step 202, sorting the data in the buffer according to the priority of the data belonging to the same time period to obtain the data group corresponding to each time period.

[0070] In this embodiment, data is sorted in the cache area according to the priority of each data belonging to each time period. Specifically, data of the first priority level is inserted into the buffer from the head of the buffer zone, and data of non-first priority level is inserted into the cache area from the tail of the buffer zone. The data type of the data of the first priority level is instruction data, and inserting it into the head can give priority to filling the instruction data; the data type of the data of non-first priority level is operation data, and inserting it into the tail can give priority to sending the instruction data.

[0071] Step 203, obtaining current network parameters, and determining the current network state according to the current network parameters.

[0072] In this embodiment, current network parameters are obtained, wherein the network parameters include: current bandwidth utilization, current network delay time, current packet loss rate, current throughput and current jitter time, and the current network status is determined according to the current network parameters, wherein the network status is divided into a smooth state and a congested state. The purpose of distinguishing the current network status is to determine the actual network situation as a reference when sending packets to determine the proportion of instruction data and operation data.

[0073] Step 204, adjusting the proportion of instruction data and operation data in the data group corresponding to each time period according to the current network status, to obtain the corresponding data packet in each time period.

[0074] In this embodiment, the sending ratio of instruction data and operation data in the sending packet is adjusted according to the network congestion. When the network is relatively congested, the padding of operation data in the sending data packet is reduced, which can not only reduce the amount of data in the network, thereby alleviating the network congestion, but also ensure the priority transmission of instruction data and ensure the real-time requirements of remote operation.

[0075] Step 205: determine the time intervals corresponding to the data packets in adjacent time periods according to the priority of each data packet in the corresponding time period.

[0076] In this embodiment, the time gaps corresponding to the data packets in adjacent time periods are determined according to the priorities of the data in the corresponding data packets in each time period, for example, the priority of data A in the data packet with time period t is the first priority, the priority of data B is the second priority, and the priorities of data C and data D are the third priority; the data packet with time period t+1 and the data packet with time period t are adjacent data packets, and according to the priorities of the data in the data packet with time period t, it is determined that the data packet with the highest priority is the first priority, and the preset time gap matching the first priority is determined as the time gap corresponding to the data packet with time period t and the data packet with time period t+1, and the time interval with the data packet in the next time period can be determined according to the priority of the data in the data packet in the previous time period.

[0077] Step 206, sending the corresponding data packets in each time period in sequence according to the sequence of each time period and the time gaps corresponding to the data packets corresponding to the adjacent time periods.

[0078] In this embodiment, the corresponding data packets in each time period are sent in sequence according to the sequence of each time period and the time gaps corresponding to the data packets corresponding to the adjacent time periods. As described above, the data packet of time period t is sent first and then the data packet of time period t+1 is sent according to the time period sequence. The time gaps corresponding to the data packets of two adjacent time periods are the highest priority of the data packet of time period t, that is, the preset time gap matched by the first priority is determined as the time gap corresponding to the data packet of time period t and the data packet of time period t+1. Specifically, if the preset time gap matched with the first priority is 1 time gap, 1 time gap is determined as the time gap corresponding to the data packet of time period t and the data packet of time period t+1. After the data packet of time period t is sent, 1 time gap is left and then the data packet of time period t+1 is sent. For example, the instruction data sending cycle is 1 time gap to ensure the real-time operation. The operation data is set to 2 to n according to the data level, and then waits for 2 to n time gaps respectively when sending, and is sent according to the time gap of the data with higher priority to ensure the real-time requirements of data of different data types.

[0079] The present application receives multiple data transmitted based on multiple users, and determines the priority of each data according to the data type of each data, the data type includes: instruction data and operation data, sorts each data in a cache area according to the priority of each data belonging to the same time period, obtains the data group corresponding to each time period, obtains the current network parameters, determines the current network status according to the network parameters, adjusts the proportion of instruction data and operation data in the data group corresponding to each time period according to the current network status, obtains the data packet corresponding to each time period, further determines the time gap corresponding to the data packet of adjacent time periods according to the priority of each data in the data packet corresponding to each time period, sends the corresponding data packet in each time period in sequence according to the sequence of each time period and the time gap corresponding to the data packet corresponding to the adjacent time period, the present application classifies and grades the transmission data, can ensure the service quality of data of different priorities, adjusts the proportion of instruction data according to the network congestion situation, ensures the quality of remote operation, and ensures the priority transmission of data of different priorities.

[0080] Figure 3 A flow chart of another data processing method provided by the present application, which is applied to a concentrator, such as Figure 3 As shown, the method includes:

[0081] Step 301 : receiving a plurality of data transmitted by a plurality of users, and determining a priority of each data according to a data type of each data, wherein the data type includes: instruction data and operation data.

[0082] In this embodiment, multiple data transmitted by multiple users are received. The data are mainly divided into two types, instruction data and operation data. The instruction data includes: open, close, etc.

[0083] Furthermore, the priority of the data is determined according to the data type of each data. For example, instruction data has a higher priority than operation data. Operation data is also divided into multiple priorities. Specifically, the priority can be set according to the user's choice, or according to the size of the operation data. The purpose of setting the priority is to enable instruction data to be filled in priority when data is packaged.

[0084] In a possible implementation, determining the priority of each data according to the data type of each data includes:

[0085] Obtain the data identifier of each data, and determine the data type of each data according to the data identifier of each data; if the data type of certain data is instruction data, determine the priority of the data as the first priority; if the data type of certain data is operation data, determine the corresponding priority according to the data identifier of the data, and the corresponding priority is one of the second priority to the Nth priority.

[0086] In this embodiment, the data identification of each data is obtained, and the data type is determined according to the data identification of each data. Specifically, if the data identification of a certain data is 1, the data type is determined to be instruction data, and if the data identification of a certain data is 2 to n, the data type is determined to be operation data. If the data type of a certain data is instruction data, the priority of the data is determined to be the first priority. If the data type of a certain data is instruction data, the priority of the data is one of the second priority to the Nth priority. Specifically, the corresponding priority is determined according to the data identification of the data. For example, if the data identification of a certain data is 2, the corresponding priority is determined to be the second priority; if the data identification of a certain data is n, the corresponding priority is determined to be the nth priority.

[0087] Step 302: sort the data in the buffer according to the priority of the data belonging to the same time period to obtain the data group corresponding to each time period.

[0088] In this embodiment, data is sorted in the cache area according to the priority of each data belonging to each time period. Specifically, data of the first priority level is inserted into the buffer from the head of the buffer zone, and data of non-first priority level is inserted into the cache area from the tail of the buffer zone. The data type of the data of the first priority level is instruction data, and inserting it into the head can give priority to filling the instruction data; the data type of the data of non-first priority level is operation data, and inserting it into the tail can give priority to sending the instruction data.

[0089] In a possible implementation, the data are sorted in the buffer according to the priority of the data belonging to the same time period to obtain the data groups corresponding to the time periods, including:

[0090] The insertion position of each data in the buffer area is determined according to the priority of each data; and the data is sorted in the buffer area based on the insertion position of each data to obtain the corresponding data group in each time period.

[0091] In this embodiment, the insertion position of each data is determined according to the priority of each data, and the data are sorted in the buffer based on the insertion position of each data to obtain the corresponding data group in each time period. The purpose of determining the insertion position is to insert data with a higher priority level in front of data with a lower priority level, so as to ensure the priority transmission of instruction data.

[0092] Optionally, determining the insertion position of each data in the cache area according to the priority of each data includes:

[0093] If the priority of the data is the first priority, the data is inserted from the head of the buffer; if the priority of the data is not the first priority, the data is inserted from the tail of the buffer.

[0094] In this embodiment, if the priority of the data is the first priority, the data is inserted from the head of the buffer to ensure the priority transmission of the instruction data; if the priority of the data is not the first priority, such as one of the 2nd to nth priorities, the data is inserted from the tail of the buffer, such as Figure 5 As shown, multiple data based on 3 user transmissions are received: data a2, b1 and c3, b1 is instruction data, the priority of b1 is the first priority, b1 is inserted at the head of the buffer, a2 is operation data, the priority corresponding to a2 is the second priority, b3 is also operation data, the priority corresponding to b3 is the third priority, a2 and b3 are inserted from the tail of the buffer to ensure that the instruction data can be transmitted first.

[0095] Step 303: Acquire current network parameters, and determine the current network state according to the current network parameters.

[0096] In this embodiment, current network parameters are obtained, wherein the network parameters include: current bandwidth utilization, current network delay time, current packet loss rate, current throughput and current jitter time, and the current network status is determined according to the current network parameters, wherein the network status is divided into a smooth state and a congested state. The purpose of distinguishing the current network status is to determine the actual network situation as a reference when sending packets to determine the proportion of instruction data and operation data.

[0097] In a possible implementation, determining the current network state according to the current network parameters includes:

[0098] If the current bandwidth utilization is less than the preset bandwidth utilization and the current network delay time is less than the preset network delay time and the current packet loss rate is less than the preset packet loss rate and the current throughput is greater than the preset throughput and the current jitter time is less than the preset jitter time, then the current network state is determined to be a unblocked state; if the current bandwidth utilization is greater than or equal to the preset bandwidth utilization and / or the current network delay time is greater than or equal to the preset network delay time and / or the current packet loss rate is greater than or equal to the preset packet loss rate and / or the current throughput is less than or equal to the preset throughput and / or the current jitter time is greater than or equal to the preset jitter time, then the current network state is determined to be a congested state.

[0099] In this embodiment, the current network parameters include: current bandwidth utilization, current network delay time, current packet loss rate, current throughput and current jitter time. Each of the above parameters has a corresponding preset value. Each parameter is compared with its corresponding preset value, and the current network state is determined according to the comparison result. Specifically, if the current bandwidth utilization is less than the preset bandwidth utilization, the current network delay time is less than the preset network delay time, the current packet loss rate is less than the preset packet loss rate, the current throughput is greater than the preset throughput, and the current jitter time is less than the preset jitter time, then the current network state is determined to be a smooth state; if the current bandwidth utilization is greater than or equal to the preset bandwidth utilization and / or the current network delay time is greater than or equal to the preset network delay time and / or the current packet loss rate is greater than or equal to the preset packet loss rate and / or the current throughput is less than or equal to the preset throughput and / or the current jitter time is greater than or equal to the preset jitter time, then the current network state is determined to be a congested state. When the network is congested, a large amount of transmission data will increase the congestion of the network. According to the congestion of the network, the sending ratio of instruction data and operation data in the sending packet is adjusted to reduce the filling of operation data in the sending data packet.

[0100] Step 304, adjusting the proportion of instruction data and operation data in the data group corresponding to each time period according to the current network status, to obtain the corresponding data packet in each time period.

[0101] In this embodiment, the sending ratio of instruction data and operation data in the sending packet is adjusted according to the network congestion. When the network is relatively congested, the padding of operation data in the sending data packet is reduced, which can not only reduce the amount of data in the network, thereby alleviating the network congestion, but also ensure the priority transmission of instruction data and ensure the real-time requirements of remote operation.

[0102] In a possible implementation, the proportion of instruction data and operation data in the data group corresponding to each time period is adjusted according to the current network state to obtain the corresponding data packet in each time period, including:

[0103] If the current network state is a smooth state, the proportion of instruction data is determined as a first threshold, and the instruction data in the corresponding data group in each time period is adjusted based on the first threshold to obtain the corresponding data packets in each time period; if the current network state is a congested state, the proportion of instruction data is determined as a second threshold, and the instruction data in the corresponding data group in each time period is adjusted based on the second threshold to obtain the corresponding data packets in each time period.

[0104] In this embodiment, if the current network state is unblocked, the proportion of instruction data is determined as the first threshold, and the instruction data in the corresponding data group in each time period is adjusted based on the first threshold to obtain the corresponding data packet in each time period, such as, if the data packet contains 4 data, the first threshold is set to one-fourth, the proportion of instruction data is one-fourth, and the remaining data is supplemented with operation data, so that three-fourths are operation data; if the current network state is congested, the proportion of instruction data is determined as the second threshold, and the instruction data in the corresponding data group in each time period is adjusted based on the second threshold to obtain the corresponding data packet in each time period, such as, if the data packet contains 3 data, the second threshold is set to two-thirds, the proportion of instruction data is two-thirds, and the remaining data is supplemented with operation data, so that one-third is operation data. According to the congestion of the network, the sending ratio of instruction data and operation data in the sending packet is adjusted to reduce the filling of operation data in the sending data packet. On the one hand, the amount of data in the network can be reduced, thereby alleviating the congestion of the network; on the other hand, the priority transmission of instruction data can be guaranteed to ensure the real-time requirements of remote operation.

[0105] Step 305 , selecting the data with the highest priority in each data packet, and determining the preset time interval corresponding to the data with the highest priority in each data packet as the time interval corresponding to each data packet and a data packet in the next adjacent time period.

[0106] See also Figure 4 and Figure 6 , the data b3 of user B and the data d2 of user D are the operation data belonging to the time period t1, the priority of b3 is the third priority, and the priority of b2 is the second priority. The data with the highest priority in the data packet, i.e. b2, is selected, and the preset time gap corresponding to b2 is determined as the time gap between the data packet and two adjacent data packets in the time period t2, wherein the preset time gap corresponding to each priority can be the same as its priority level, such as, if the priority of a certain data is the second priority, if the preset time gap corresponding to the data is 2 time gaps; if the priority of a certain data is the nth priority, if the preset time gap corresponding to the data is n time gaps. The preset time gap corresponding to the above b2 is determined as the time gap between the data packet and the two adjacent data packets of t2 is 2 time gaps.

[0107] Continue to see Figure 4 and Figure 6 , data c4 of user C is the operation data belonging to the time period t2, the data with the highest priority in the data packet, i.e. c4, is selected, and the preset time gap corresponding to c4 is determined as the time gap between the data packet and the two adjacent data packets in the time period t3, that is, the 4th time gap is determined as the time gap between the data packet and the two adjacent data packets in the time period t3.

[0108] Continue to see Figure 4 and Figure 6 , user A's data a1 and user B's data b1 are instruction data belonging to the time period t3, and the priorities of a1 and b1 are both the first priority. The data with the highest priority in the data packet, i.e., a1 or b1, is selected, and the preset time gap corresponding to a1 or b1 is determined as the time gap between the data packet and two adjacent data packets in the time period t4, i.e., one time gap is determined as the time gap between the data packet and two adjacent data packets in the time period t4. By setting the time gap according to the priority, the instruction data can be set to the shortest sending cycle, which ensures the real-time requirements of different data.

[0109] Step 306: Send the corresponding data packets in each time period in sequence according to the sequence of each time period and the time gaps corresponding to the data packets in adjacent time periods.

[0110] In this embodiment, the corresponding data packets in each time period are sent in sequence according to the sequence of each time period and the time gaps corresponding to the data packets in adjacent time periods. The data packets in time period t1 are sent first, and then the data packets in time periods t2, t3, t4...tn are sent in the order of time periods. The data packets with higher priority are sent according to the time gaps to ensure the real-time requirements of data of different data types.

[0111] This application classifies and grades the transmission data, which can ensure the service quality of data of different priorities, adjust the proportion of instruction data according to network congestion, ensure the quality of remote operation, and ensure the priority transmission of data of different priorities. In addition, when inserting the buffer, the instruction data is inserted from the head of the queue to ensure that the instruction data can be transmitted first; the time interval is set according to the priority, and the instruction data can be set to the shortest sending cycle, which ensures the real-time requirements of different data.

[0112] Figure 7 A structural diagram of a data processing device provided in this application, such as Figure 7 As shown, the data processing device 700 provided in this embodiment includes a transceiver unit 701 , a determination unit 702 , and a processing unit 703 .

[0113] Among them, the transceiver unit 701 is used to receive multiple data transmitted based on multiple users. The determination unit 702 is used to determine the priority of each data according to the data type of each data, and the data type includes: instruction data and operation data. The processing unit 703 is used to sort each data in the buffer according to the priority of each data belonging to the same time period, and obtain the corresponding data group in each time period. The determination unit 702 is also used to obtain the current network parameters and determine the current network state according to the current network parameters. The processing unit 703 is also used to adjust the proportion of instruction data and operation data in the corresponding data group in each time period according to the current network state, and obtain the corresponding data packet in each time period. The determination unit 702 is also used to determine the time gap corresponding to the data packet in the adjacent time period according to the priority of each data in the corresponding data packet in each time period. The transceiver unit 701 is also used to send the corresponding data packet in each time period in sequence according to the order of each time period and the time gap corresponding to the data packet corresponding to the adjacent time period.

[0114] Optionally, the determination unit 702 is also used to obtain the data identifier of each data, and determine the data type of each data according to the data identifier of each data; if the data type of certain data is instruction data, then the priority of the data is determined to be the first priority; if the data type of certain data is operation data, then the corresponding priority is determined according to the data identifier of the data, and the corresponding priority is one of the second priority to the Nth priority.

[0115] Optionally, the processing unit 703 is further configured to determine an insertion position of each data in the cache area according to the priority of each data; sort each data in the buffer area based on the insertion position of each data to obtain a corresponding data group in each time period.

[0116] Optionally, the processing unit 703 is further configured to insert the data from the head of the buffer if the priority of the data is the first priority; and insert the data from the tail of the buffer if the priority of the data is not the first priority.

[0117] Optionally, the determination unit 702 is also used to determine that the current network state is a unblocked state if the current bandwidth utilization is less than the preset bandwidth utilization and the current network delay time is less than the preset network delay time and the current packet loss rate is less than the preset packet loss rate and the current throughput is greater than the preset throughput and the current jitter time is less than the preset jitter time; if the current bandwidth utilization is greater than or equal to the preset bandwidth utilization and / or the current network delay time is greater than or equal to the preset network delay time and / or the current packet loss rate is greater than or equal to the preset packet loss rate and / or the current throughput is less than or equal to the preset throughput and / or the current jitter time is greater than or equal to the preset jitter time, then determine that the current network state is a congested state.

[0118] Optionally, the processing unit 703 is also used to determine the proportion of instruction data as a first threshold if the current network state is a unobstructed state, and adjust the instruction data in the corresponding data group in each time period based on the first threshold to obtain the corresponding data packets in each time period; if the current network state is a congested state, determine the proportion of instruction data as a second threshold, and adjust the instruction data in the corresponding data group in each time period based on the second threshold to obtain the corresponding data packets in each time period.

[0119] Optionally, the determination unit 702 is further configured to select the data with the highest priority in each data packet, and determine the preset time gap corresponding to the data with the highest priority in each data packet as the time gap corresponding to each data packet and a data packet in the next adjacent time period.

[0120] Figure 8 A block diagram of a concentrator for implementing the data processing method of the present application is shown in FIG. Figure 8 As shown, the concentrator 800 includes: a memory 801 , a processor 802 and a transceiver 803 .

[0121] The processor 802, the memory 801 and the transceiver 803 are interconnected;

[0122] A transceiver 803, used for sending and receiving data;

[0123] The memory 801 stores computer executable instructions;

[0124] The processor 802 executes the computer-executable instructions stored in the memory 801, so that the processor 802 executes the method provided by any of the above embodiments.

[0125] In an exemplary embodiment, a computer-readable storage medium is further provided, in which computer-executable instructions are stored. The computer-executable instructions are executed by a processor to execute the method in any one of the above embodiments.

[0126] In an exemplary embodiment, a computer program product is also provided, including a computer program, and the computer program is executed by a processor to execute the method in any one of the above embodiments.

[0127] It should be noted that, for the aforementioned method embodiments, for the sake of simplicity, they are all expressed as a series of action combinations, but those skilled in the art should be aware that the present application is not limited by the described order of actions, because according to the present application, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all optional embodiments, and the actions and modules involved are not necessarily required by the present application.

[0128] It should be further noted that, although the various steps in the flowchart are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence in the order indicated by the arrows. Unless there is a clear description in this article, the execution of these steps is not strictly limited in order, and these steps can be executed in other orders. Moreover, at least a portion of the steps in the flowchart may include multiple sub-steps or multiple stages, and these sub-steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these sub-steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a portion of the sub-steps or stages of other steps.

[0129] It should be understood that the above-mentioned device embodiments are only illustrative, and the device of the present application can also be implemented in other ways. For example, the division of units / modules in the above-mentioned embodiments is only a logical function division, and there may be other division methods in actual implementation. For example, multiple units, modules or components can be combined, or can be integrated into another system, or some features can be ignored or not executed.

[0130] In the above embodiments, the description of each embodiment has its own emphasis. For parts not described in detail in a certain embodiment, please refer to the relevant description of other embodiments. The technical features of the above embodiments can be combined arbitrarily. In order to make the description concise, all possible combinations of the technical features in the above embodiments are not described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0131] Those skilled in the art will readily appreciate other embodiments of the present application after considering the specification and practicing the invention disclosed herein. The present application is intended to cover any modification, use or adaptation of the present application, which follows the general principles of the present application and includes common knowledge or customary techniques in the art that are not disclosed in the present application. The specification and examples are intended to be exemplary only, and the true scope and spirit of the present application are indicated by the following claims.

[0132] It should be understood that the present application is not limited to the precise structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present application is limited only by the appended claims.

Claims

1. A data processing method, It is characterized in that The method comprises: receiving a plurality of data transmitted by a plurality of users, and determining a priority of each data according to a data type of each data, wherein the data type includes: instruction data and operation data; Sort the data in the buffer according to the priority of the data belonging to the same time period to obtain the data group corresponding to each time period; Obtain current network parameters and determine the current network status based on the current network parameters; According to the current network status, the proportion of instruction data and operation data in the data group corresponding to each time period is adjusted to obtain the corresponding data packet in each time period; Determine the time intervals corresponding to the data packets in adjacent time periods according to the priority of each data packet in the corresponding data packet in each time period; The corresponding data packets in each time period are sent in sequence according to the sequence of each time period and the time gaps corresponding to the data packets corresponding to the adjacent time periods.

2. The method according to claim 1, It is characterized in that Determining the priority of each data according to the data type of each data includes: Obtaining a data identifier for each data, and determining a data type for each data according to the data identifier for each data; If the data type of a certain data is instruction data, the priority of the data is determined to be the first priority; If the data type of certain data is operation data, the corresponding priority is determined according to the data identifier of the data, and the corresponding priority is one of the second priority to the Nth priority.

3. The method according to claim 1, It is characterized in that The data are sorted in the buffer according to the priority of each data belonging to the same time period to obtain the data group corresponding to each time period, including: Determine the insertion position of each data in the buffer area according to the priority of each data; The data are sorted in the buffer based on the insertion position of each data to obtain the corresponding data group in each time period.

4. The method according to claim 3, It is characterized in that Determining the insertion position of each data in the buffer area according to the priority of each data includes: If the priority of the data is the first priority, inserting the data from the head of the buffer; If the priority of the data is not the first priority, the data is inserted from the end of the buffer.

5. The method according to claim 1, It is characterized in that The current network parameters include: current bandwidth utilization, current network delay time, current packet loss rate, current throughput and current jitter time; Wherein, determining the current network state according to the current network parameters includes: If the current bandwidth utilization is less than the preset bandwidth utilization and the current network delay time is less than the preset network delay time and the current packet loss rate is less than the preset packet loss rate and the current throughput is greater than the preset throughput and the current jitter time is less than the preset jitter time, then the current network state is determined to be a smooth state; If the current bandwidth utilization is greater than or equal to the preset bandwidth utilization and / or the current network delay time is greater than or equal to the preset network delay time and / or the current packet loss rate is greater than or equal to the preset packet loss rate and / or the current throughput is less than or equal to the preset throughput and / or the current jitter time is greater than or equal to the preset jitter time, then the current network state is determined to be a congested state.

6. The method according to claim 1, It is characterized in that The proportion of instruction data and operation data in the data group corresponding to each time period is adjusted according to the current network state to obtain the corresponding data packet in each time period, including: If the current network state is a smooth state, the proportion of instruction data is determined as a first threshold, and the instruction data in the data group corresponding to each time period is adjusted based on the first threshold to obtain the corresponding data packet in each time period; If the current network state is a congested state, the proportion of instruction data is determined as a second threshold, and the instruction data in the corresponding data group in each time period is adjusted based on the second threshold to obtain the corresponding data packet in each time period.

7. The method according to any one of claims 1 to 6, It is characterized in that The step of determining the time intervals corresponding to the data packets in adjacent time periods according to the priority of each data packet in each time period includes: The data with the highest priority among the data packets is selected, and the preset time interval corresponding to the data with the highest priority among the data packets is determined as the time interval corresponding to each data packet and a data packet in the next adjacent time period.

8. A data processing device, It is characterized in that The device comprises: A transceiver unit, used for receiving a plurality of data transmitted by a plurality of users; A determination unit, used to determine the priority of each data according to the data type of each data, wherein the data type includes: instruction data and operation data; A processing unit, used to sort the data in the buffer according to the priority of the data belonging to the same time period, and obtain the data group corresponding to each time period; The determination unit is further used to obtain current network parameters and determine the current network state according to the current network parameters; The processing unit is further used to adjust the proportion of instruction data and operation data in the data group corresponding to each time period according to the current network state, so as to obtain the corresponding data packet in each time period; The determination unit is further used to determine the time gaps corresponding to the data packets in adjacent time periods according to the priority of each data in the corresponding data packets in each time period; The transceiver unit is also used to send the corresponding data packets in each time period in sequence according to the sequence of each time period and the time gaps corresponding to the data packets corresponding to the adjacent time periods.

9. A concentrator, It is characterized in that include: Processors, memory and transceivers; Interconnection of processor, memory and transceiver circuits; A transceiver for sending and receiving data; The memory stores computer-executable instructions; The processor executes the computer-executable instructions stored in the memory, so that the processor performs the method according to any one of claims 1 to 7.

10. A computer-readable storage medium, It is characterized in that The computer-readable storage medium stores computer-executable instructions, which are used to implement the method according to any one of claims 1 to 7 when executed by a processor.