CN111404837B - Data transmission control method, network equipment and system - Google Patents

Data transmission control method, network equipment and system Download PDF

Info

Publication number
CN111404837B
CN111404837B CN201910000348.3A CN201910000348A CN111404837B CN 111404837 B CN111404837 B CN 111404837B CN 201910000348 A CN201910000348 A CN 201910000348A CN 111404837 B CN111404837 B CN 111404837B
Authority
CN
China
Prior art keywords
data frame
preempted
communication priority
priority
adjusted
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201910000348.3A
Other languages
Chinese (zh)
Other versions
CN111404837A (en
Inventor
刘鹏
耿亮
陆璐
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Mobile Communications Group Co Ltd
China Mobile Communications Ltd Research Institute
Original Assignee
China Mobile Communications Group Co Ltd
China Mobile Communications Ltd Research Institute
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China Mobile Communications Group Co Ltd, China Mobile Communications Ltd Research Institute filed Critical China Mobile Communications Group Co Ltd
Priority to CN201910000348.3A priority Critical patent/CN111404837B/en
Publication of CN111404837A publication Critical patent/CN111404837A/en
Application granted granted Critical
Publication of CN111404837B publication Critical patent/CN111404837B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/50Queue scheduling
    • H04L47/62Queue scheduling characterised by scheduling criteria
    • H04L47/625Queue scheduling characterised by scheduling criteria for service slots or service orders
    • H04L47/6275Queue scheduling characterised by scheduling criteria for service slots or service orders based on priority
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/50Network service management, e.g. ensuring proper service fulfilment according to agreements
    • H04L41/5003Managing SLA; Interaction between SLA and QoS
    • H04L41/5019Ensuring fulfilment of SLA
    • H04L41/5022Ensuring fulfilment of SLA by giving priorities, e.g. assigning classes of service
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/50Queue scheduling
    • H04L47/62Queue scheduling characterised by scheduling criteria
    • H04L47/6295Queue scheduling characterised by scheduling criteria using multiple queues, one for each individual QoS, connection, flow or priority

Abstract

The embodiment of the invention provides a data transmission control method, network equipment, a system and a computer readable storage medium, wherein the method comprises the following steps: acquiring the preempted times and/or preempted duration of the first data frame; based on the preempted times and/or preempted time, adjusting the initial communication priority of the first data frame to obtain an adjusted communication priority; wherein the adjusted communication priority is higher than the initial communication priority of the first data frame; and determining whether to transmit the first data frame based on the adjusted communication priority of the first data frame.

Description

Data transmission control method, network equipment and system
Technical Field
The present invention relates to the field of information processing technologies, and in particular, to a data transmission control method, a network device, a system, and a computer storage medium.
Background
The active set of time sensitive networks (TSNs, time Sensitive Network) has a series of mechanisms to enhance the scheduling of traffic. For example, IEEE802.1 Qbv defines a threshold (gate) corresponding to each queue, and calculates a corresponding threshold control list, i.e., a threshold control list, to control the transmission and waiting conditions of the queues in each time slice, which is a critical fine-grained traffic scheduling technology in the TSN system. In the IEEE802.1 Qbu standard, a high priority data frame may preempt a time slice of a relatively low priority data frame, and then some data frames may not be transmitted for a long time or have a large transmission delay, which may cause service to be inoperable.
Disclosure of Invention
In order to solve the technical problems, the embodiment of the invention provides a data transmission control method, network equipment, a system and a computer storage medium.
In a first aspect, a data transmission control method is provided, applied to a network device, and the method includes:
acquiring the preempted times and/or preempted duration of the first data frame;
based on the preempted times and/or preempted time, adjusting the initial communication priority of the first data frame to obtain an adjusted communication priority; wherein the adjusted communication priority is higher than the initial communication priority of the first data frame;
and determining whether to transmit the first data frame based on the adjusted communication priority of the first data frame.
In a second aspect, there is provided a network device comprising:
the information acquisition unit is used for acquiring the preempted times and/or preempted duration of the first data frame;
the priority adjustment unit is used for adjusting the initial communication priority of the first data frame based on the preempted times and/or preempted time length to obtain an adjusted communication priority; wherein the adjusted communication priority is higher than the initial communication priority of the first data frame;
and the control unit is used for determining whether to send the first data frame or not based on the adjusted communication priority of the first data frame.
In a third aspect, a network device is provided, comprising:
the processor is used for acquiring the preempted times and/or preempted duration of the first data frame; based on the preempted times and/or preempted time, adjusting the initial communication priority of the first data frame to obtain an adjusted communication priority; wherein the adjusted communication priority is higher than the initial communication priority of the first data frame; and determining whether to transmit the first data frame based on the adjusted communication priority of the first data frame.
In a fourth aspect, there is provided a data transmission control system, the system comprising: at least one network device; wherein, the liquid crystal display device comprises a liquid crystal display device,
the network device is configured to obtain the preempted times and/or preempted durations of the first data frame; based on the preempted times and/or preempted time, adjusting the initial communication priority of the first data frame to obtain an adjusted communication priority; wherein the adjusted communication priority is higher than the initial communication priority of the first data frame; and determining whether to transmit the first data frame based on the adjusted communication priority of the first data frame.
In a fifth aspect, a computer storage medium is provided, on which a computer program is stored, wherein the computer program, when being executed by a processor, implements the steps of the aforementioned method
According to the technical scheme of the embodiment of the invention, the transmission priority of the first data frame is adjusted according to the preempted duration and/or preempted times of the first data frame to be transmitted, and whether the first data frame is transmitted or not is further determined based on the adjusted transmission priority. Therefore, the priority of the data frames can be adjusted, so that the transmission resources of the data frames with lower priority can be reduced in the number of times of preemption, and the data frames with lower priority can be normally transmitted.
Drawings
Fig. 1 is a schematic diagram of a data transmission control method according to an embodiment of the present application;
fig. 2 is a schematic diagram of a data transmission scenario provided in an embodiment of the present application;
fig. 3 is a schematic diagram of a scenario for controlling data transmission based on a control table according to an embodiment of the present invention;
FIG. 4 is a schematic diagram of a threshold control list according to an embodiment of the present invention;
fig. 5 is a second schematic diagram of a data transmission scenario provided in an embodiment of the present invention;
fig. 6 is a schematic diagram III of a data transmission scenario provided in an embodiment of the present invention;
FIG. 7 is a schematic diagram of a priority adjustment according to an embodiment of the present invention;
fig. 8 is a schematic diagram of a data transmission scenario provided in an embodiment of the present invention;
fig. 9 is a schematic diagram fifth data transmission scenario provided in an embodiment of the present invention;
fig. 10 is a schematic diagram of a network architecture according to an embodiment of the present invention;
fig. 11 is a schematic diagram two of a data transmission control method according to an embodiment of the present application;
fig. 12 is a schematic diagram of a network device composition structure according to an embodiment of the present invention;
fig. 13 is a schematic diagram of a network management device according to an embodiment of the present invention;
fig. 14 is a second schematic diagram of a network architecture according to an embodiment of the present invention.
Detailed Description
The following description of the technical solutions in the embodiments of the present application will be made with reference to the drawings in the embodiments of the present application, and it is apparent that the described embodiments are some embodiments of the present application, but not all embodiments. All other embodiments, which can be made by one of ordinary skill in the art without undue burden from the present disclosure, are within the scope of the present disclosure.
As shown in fig. 1, an embodiment of the present invention provides a data transmission control method, which is applied to a network device, and the method includes:
step 101: acquiring the preempted times and/or preempted duration of the first data frame;
step 102: based on the preempted times and/or preempted time, adjusting the initial communication priority of the first data frame to obtain an adjusted communication priority; wherein the adjusted communication priority is higher than the initial communication priority of the first data frame;
step 103: and determining whether to transmit the first data frame based on the adjusted communication priority of the first data frame.
The scheme provided in this embodiment is mainly applied to TSN networks, where TSN is a generic term for a family of OSI two-layer protocols. The TSN is based on a standard non-deterministic Ethernet, deterministic message transmission is provided through clock synchronization, traffic shaping, bandwidth reservation and other technologies, and low time delay, deterministic time delay, reliability and the like of the network are guaranteed.
In the TSN system, time synchronization is the basis for guaranteeing time delay. The TSN requires that all forwarding and terminal devices in the network have time synchronization, and that the time error is controlled to be within a very small range. In addition, the TSN guarantees low time delay and deterministic time delay of data transmission through a series of mechanisms, and the basic idea is to reserve time slices for time-sensitive flows through a time system mechanism so as to guarantee that the time-sensitive flows can arrive quickly and timely. As shown in fig. 2: assuming that the data stream with priority 3 is a sensitive data stream, in two time periods, the beginning of each period will be given priority to transmitting the data stream with priority 3, and then transmitting the normal data stream. This ensures the time-dependent arrival of time-sensitive data streams.
Time-based mechanisms as shown in fig. 3, TSN active groups also have a series of mechanisms to enhance the scheduling of traffic. For example, IEEE802.1 Qbv defines gates corresponding to each queue, and calculates a corresponding threshold control list, specifically, a threshold control list (gate control list) to control the transmission and waiting conditions of the queues in each time slice, which is a critical fine-grained traffic scheduling technology in the TSN system. For example, as shown in the figure, when T05 is used to control whether transmission is performed, whether a transmission threshold (Transmission Gate) set for each transmission timing is on or off, and when T05 is C0CC0CCC, C indicates that off 0 indicates on, that is, whether transmission is determined for each data queue to be transmitted.
In order to protect the regular data stream of the previous time slice from affecting the on-time transmission of the time sensitive data stream of the next time slice, 802.1Qbv also defines a guard band, i.e. a certain time is reserved between each time slice, so that new frames cannot be started to be transmitted, and the time occupied by the guard band is greatly reduced by combining with an 802.1Qbu frame preemption mechanism.
Assuming that the threshold control lists, such as the threshold control list is shown in fig. 4, T00, T01, T02 and … represent switching with a certain time interval period, and "01" and "10" in the corresponding right list represent whether two data frames in the current period can be transmitted or not, and 0 represents that the corresponding Gate is closed and cannot be transmitted; 1 represents the corresponding Gate open, which can be transferred.
It should be noted that, during the transmission of the high-priority frame, even if the corresponding Gate state changes from 1 to 0, if the current frame is not transmitted, the low-priority data frame cannot break the high-priority data frame, so the low-priority data frame still cannot start to be transmitted. In contrast, in the transmission process of the low-priority frame, the corresponding Gate state is changed from 1 to 0, and the high-priority data frame can be immediately interrupted for transmission. The following may occur:
in case 1, as shown in fig. 5, it is assumed that the preemption frame has a higher priority than the preempted frame.
T00: at the beginning, the preempted frame starts transmission;
t01: the preempted frame is not transmitted, the corresponding Gate is closed, and the Gate corresponding to the preempted frame A is opened, i.e. the preempted frame A breaks the preempted frame and starts to be transmitted.
T02: because the preemption frame A is not transmitted completely, the preempted frame cannot interrupt the preemption frame A, i.e. the transmission starts after waiting for the preemption frame A to be transmitted completely. At this point, preemption frame a has already occupied a portion of the time previously allocated by the preempted frame.
T03: the preempted frame is again interrupted by preempted frame B
This situation remains the same, and it is likely that the preempted frame will be broken many times before transmission is completed, i.e. a huge transmission delay of the preempted frame is caused.
In case 2, as shown in fig. 6, it is assumed that the preemption frame has a higher priority than the preempted frame.
T00: at the beginning, the preempted frame starts transmission;
t01: the preempted frame is not transmitted, the corresponding Gate is closed, and the Gate corresponding to the preempted frame A is opened, i.e. the preempted frame A breaks the preempted frame and starts to be transmitted.
T02: since the preemption frame a has not been transmitted, the preempted frame cannot interrupt preemption frame a, but preemption frame a occupies all of the previously allocated time for red data.
T03: preemptive frame B starts transmission
This situation remains the same, possibly causing the preempted frames to fail to transmit.
In practical applications, two data frames with different priorities are likely to be time-sensitive data frames, for example, in an on-vehicle control system, brake signaling and airbag opening signaling are likely to be carried by the data frames with different priorities, but any one data frame is delayed too long or cannot be transmitted, which causes a very serious safety problem. Aiming at the problem, the embodiment provides a method for dynamically adjusting the state of the data frame, which ensures that the data frame with lower relative priority can be smoothly transmitted under the condition of being preempted for a plurality of times, thereby ensuring the service.
In the transmission process, the Priority of the data is based on the Traffic Priority "TrafficClass" in ieee802.1qav, that is, the Priority of the data frame is converted into the Traffic Priority TrafficClass according to the mapping table.
When adjusting the communication priority, the preempted times and/or preempted durations of the first data frame need to be acquired first.
The means for obtaining the number of times and/or the length of time of the first data frame to be preempted may be to adjust the number of times and/or the length of time of the preempted for each time the first data frame is preempted by other data stations at the time of sending.
Specifically, if the data frame is preempted once by the preemption frame, the corresponding Traffic Class of the communication priority is promoted according to a certain function rule, and it is assumed that:
t = preempted time; taking the time length from the moment when the first data frame stops sending to the current moment as the preempted time length t;
m = lifting coefficient;
f(tm)=1。
the communication priority is adjusted based on the boost coefficient. The lifting coefficient m may be a constant or a variable that varies with time, depending on the network requirements of the specific service application scenario, and is not discussed in detail in this scenario. For example, in fig. 7, the left graph shows a change situation corresponding to an increase in time t when m is a constant, and the right graph shows a priority change situation corresponding to an increase in time t when m is a change amount.
In addition, every time the first data station is preempted by other data frames for sending time, the preempted times of the first data frames are added by 1; i.e. as the number of preempted frames increases, the preempted frames will gradually increase in communication priority, i.e. corresponding Traffic Class. The calculation mode can be the same as the calculation, but t can be replaced by the preempted times n, and the corresponding adjusted communication priority can be calculated based on the calculation mode.
Further, the communication priority is adjusted based on the preemption times, which may be that increasing the preemption times increases the communication priority by x; where x may be a number greater than 1 or less than 1, although this is not exhaustive.
The determining whether to transmit the first data frame based on the adjusted communication priority of the first data frame includes:
judging whether a second data frame exists at a sending time corresponding to the first data frame;
when a second data frame exists, determining whether to transmit the first data frame based on the communication priority of the second data frame and the communication priority adjusted by the first data frame.
Specifically, the determining whether to send the first data frame based on the communication priority of the second data frame and the adjusted communication priority of the first data frame includes:
when the communication priority of the second data frame is higher than the communication priority adjusted by the first data frame, determining not to send the first data frame, and adjusting the preempted times and/or preempted duration corresponding to the first data frame;
and when the communication priority of the second data frame is not higher than the adjusted communication priority of the first data frame, determining to transmit the first data frame and not transmitting the second data frame.
That is, when the first data frame is greater than or equal to the traffic priority TrafficClass of the second data frame, transmission of the preempted frame, i.e., the first data frame, is completed.
Suppose a data frame is preempted 1 time with a Traffic Class boost of 1. The analysis can be performed for both cases described in fig. 4, 5. See fig. 8, 9.
Case 1: referring to fig. 8, each time a preempted frame (i.e., the aforementioned first data frame) is preempted, the communication priority increases by 1, such as when the preemption frame a preempts the transmission of the portion following the first portion (Part 1) of the preempted frame; after several times (depending on how much it differs from the preempted frame), the communication priority of the preempted frame may be greater than or equal to the preempted frame (i.e., the aforementioned second data frame), and thus cannot be preempted for transmission.
Case 2: referring to fig. 9, each time a preempted frame is preempted, the Traffic Class increases by 1, and after several times (depending on how much the preempted frame differs from), the Traffic Class of the preempted frame may be equal to or greater than the preempted frame, and thus cannot be preempted for transmission. As shown in the figure, the preempted frame is the first data frame, and the preempted frame may be the second data frame. Assuming that the first part (part 1) of the preempted frame occupies its transmission timing after transmission, and thereafter the second part (part 2) of the preempted frame is preempted again by the first part1 of the preempted frame a and the preempted frame B for transmission timing, the transmission priority of the preempted frame is raised until the communication priority of the preempted frame is greater than the communication priority of the preempted frame, and transmission of the remaining part of the preempted frame is started.
It can be seen that the transmission of the preempted frames is completed for either case 1 or 2. This has a slight effect on the transmission delay of the preemptive frames, and in practice it will not be affected too much.
The method further comprises the steps of: when there is an adjustment for the initial communication priority of a data frame in at least one data frame, an optimization request is sent to the network management device.
Regarding the processing of the network management device, the time difference of the inter-device execution threshold control list is adjusted based on time synchronization, maintaining the relative order and position of each data frame in the transmission queue. As shown in fig. 10, assuming that one data frame is transmitted through three bridge devices A, B, C, and assuming that when the data frame arrives at the a device, the first transmission is arranged in the current divided time slice, and when the data frame arrives at the B device, the time t1 has elapsed, the threshold control list of the B device needs to perform a time difference of t1 with the a device, so that it can be ensured that the data frame is transmitted in the first position in the current time slice every time the data frame arrives at the a device. One of the reasons for this is that the prediction or grasping of the transmission of the data frames in the network is not accurate, so a feedback system is needed to tell the network management device to centrally configure the system, so as to optimize the threshold control list of the threshold control list, and avoid frequent occurrence of such a problem. For example, when a data frame of a certain priority queue is frequently preempted, the transmission time allocated for the priority queue on behalf of the original threshold control list is insufficient, and the corresponding Gate on (O) should be configured for the priority queue for a longer time, so that it can stably transmit. It should be noted that, all devices in the network share the same threshold control list, but because of the time difference of the transmission paths, the threshold control list needs to be maintained in an "asynchronous" manner for all devices in the network. For example, referring to fig. 10, when a data frame arrives at a device, the data frame is transmitted in the first transmission in the current divided time slice, and when a time t1 has elapsed while arriving at a device B, the threshold control list of the device B needs to perform a time difference of t1 with the device a, so that it can be ensured that the data frame is transmitted in the first transmission in the current time slice every time the data frame arrives at a device.
Finally, the above scheme will be described with reference to fig. 11: firstly, a first data frame enters a data queue for queuing, whether a threshold is opened or not is judged based on a threshold control list, and if not, queuing is continued;
if the first data frame is opened, transmitting the first data frame, judging whether the first data frame is preempted by the second data frame at the moment, and if the first data frame is not preempted by the second data frame, continuing to extract the next data frame for transmission;
if the first data frame is preempted, waiting, and at the moment, lifting the priority of the first data frame based on the preempted times and/or preempted time duration;
judging whether the transmission priority of the first data frame after adjustment is higher than that of other data frames to be transmitted, if not, continuing queuing and waiting of the first data frame;
if yes, transmitting the first data frame, and after the transmission is finished, when the first data frame reaches another network device, the other network device carries out priority restoration on the first data frame, namely, the priority of the first data frame is still set as the initial priority; the priority reduction may be performed by determining an initial priority of the first data frame in combination with a priority carried in the first portion of data sent by the first data frame or priority information carried by the first portion of data, and setting the first data frame as the initial priority when all the first data frames are sent.
And finally, the other network device or the current network device feeds back the condition of the adjustment priority to the network management device to the threshold control computing system of the network management device.
The embodiment of the invention also provides a network device, as shown in fig. 12, including:
an information obtaining unit 1201, configured to obtain the preempted times and/or preempted durations of the first data frame;
a priority adjustment unit 1202, configured to adjust an initial communication priority of the first data frame based on the preempted times and/or preempted durations, to obtain an adjusted communication priority; wherein the adjusted communication priority is higher than the initial communication priority of the first data frame;
a control unit 1203 configured to determine whether to transmit the first data frame based on the adjusted communication priority of the first data frame.
The embodiment of the invention also provides a network device, as shown in fig. 13, including:
a processor 1301, configured to obtain the preempted times and/or preempted durations of the first data frame; based on the preempted times and/or preempted time, adjusting the initial communication priority of the first data frame to obtain an adjusted communication priority; wherein the adjusted communication priority is higher than the initial communication priority of the first data frame; and determining whether to transmit the first data frame based on the adjusted communication priority of the first data frame.
The processor is configured to determine, at a transmission opportunity corresponding to the first data frame, whether a second data frame exists; when a second data frame exists, determining whether to transmit the first data frame based on the communication priority of the second data frame and the communication priority adjusted by the first data frame.
A communication interface 1302 for transmitting a first data frame or transmitting a second data frame;
the processor 1301 is configured to determine not to send the first data frame when the communication priority of the second data frame is higher than the communication priority adjusted by the first data frame, and adjust the preempted times and/or preempted durations corresponding to the first data frame; and when the communication priority of the second data frame is not higher than the adjusted communication priority of the first data frame, determining to transmit the first data frame and not transmitting the second data frame.
The processor is configured to add 1 to the number of times the first data frame is preempted;
and/or the number of the groups of groups,
and taking the time length from the moment when the first data frame stops sending to the current moment as the preempted time length.
The processor is configured to send an optimization request to the network management device through the communication interface when there is an adjustment for an initial communication priority of a data frame in at least one data frame.
It should be noted that, in this embodiment, the processing performed by each module of the network device is the same as each step of the foregoing method, so that a detailed description is omitted.
The present embodiment also provides a data transmission control system, as shown in fig. 14, including: at least one network device 1401; wherein, the liquid crystal display device comprises a liquid crystal display device,
the network device is configured to obtain the preempted times and/or preempted durations of the first data frame; based on the preempted times and/or preempted time, adjusting the initial communication priority of the first data frame to obtain an adjusted communication priority; wherein the adjusted communication priority is higher than the initial communication priority of the first data frame; and determining whether to transmit the first data frame based on the adjusted communication priority of the first data frame.
The system further comprises: a network management device 1402, configured to receive an optimization request sent by a network device;
the network device 1401 is further configured to send an optimization request to the network management device via the communication interface when there is an adjustment of an initial communication priority for a data frame in at least one data frame.
The network management device 1402 is configured to perform optimization processing on a threshold control list in at least one network device based on an optimization request.
Regarding the optimization process of the network management device, the time difference of the inter-device execution threshold control list is adjusted based on time synchronization, and the relative order and position of each data frame in the transmission queue are maintained. Assuming that one data frame is transmitted through three bridge devices A, B, C, and assuming that the data frame arrives at the a device and is transmitted first in the current divided time slice, and that the time t1 has elapsed when arriving at the B device, the threshold control list of the B device needs to perform a time difference of t1 with the a device, so that it can be ensured that the data frame is transmitted first in the current time slice every time the data frame arrives at one device. One of the reasons for this is that the prediction or grasping of the transmission of the data frames in the network is not accurate, so a feedback system is needed to tell the network management device to centrally configure the system, so as to optimize the threshold control list of the threshold control list, and avoid frequent occurrence of such a problem. For example, when a data frame of a certain priority queue is frequently preempted, the transmission time allocated for the priority queue on behalf of the original threshold control list is insufficient, and the corresponding Gate on (O) should be configured for the priority queue for a longer time, so that it can stably transmit. It should be noted that, all devices in the network share the same threshold control list, but because of the time difference of the transmission paths, the threshold control list needs to be maintained in an "asynchronous" manner for all devices in the network. For example, referring to fig. 10, when a data frame arrives at a device, the data frame is transmitted in the first transmission in the current divided time slice, and when a time t1 has elapsed while arriving at a device B, the threshold control list of the device B needs to perform a time difference of t1 with the device a, so that it can be ensured that the data frame is transmitted in the first transmission in the current time slice every time the data frame arrives at a device.
It should be noted that, in this embodiment, the processing performed by the network device is the same as the steps of the foregoing method, so that a detailed description is omitted.
By adopting the scheme, the transmission priority of the first data frame can be adjusted according to the preempted duration and/or the preempted times of the first data frame to be transmitted, and whether the first data frame is transmitted or not is determined based on the adjusted transmission priority. Therefore, the priority of the data frames can be adjusted, so that the transmission resources of the data frames with lower priority can be reduced in the number of times of preemption, and the data frames with lower priority can be normally transmitted.
The scheme provided by the embodiment is particularly suitable for networks such as TSNs.
Still further, in the solution provided in this embodiment, an optimization request may be sent to the network management device, so that the network management device may adjust the threshold control list, thereby achieving accurate network transmission delay control.
Embodiments of the present application also provide a computer-readable storage medium for storing a computer program.
Optionally, the computer readable storage medium may be applied to any network device in the embodiments of the present application, and the computer program causes a computer to execute a corresponding flow implemented by the network device in each method in the embodiments of the present application, which is not described herein for brevity.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
It will be clear to those skilled in the art that, for convenience and brevity of description, specific working procedures of the above-described systems, apparatuses and units may refer to corresponding procedures in the foregoing method embodiments, and are not repeated herein.
In the several embodiments provided in this application, it should be understood that the disclosed systems, devices, and methods may be implemented in other manners. For example, the apparatus embodiments described above are merely illustrative, e.g., the division of the units is merely a logical function division, and there may be additional divisions when actually implemented, e.g., multiple units or components may be combined or integrated into another system, or some features may be omitted or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be an indirect coupling or communication connection via some interfaces, devices or units, which may be in electrical, mechanical or other form.
The units described as separate units may or may not be physically separate, and units shown as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in each embodiment of the present application may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a computer-readable storage medium. Based on such understanding, the technical solution of the present application may be embodied essentially or in a part contributing to the prior art or in a part of the technical solution, in the form of a software product stored in a storage medium, including several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods described in the embodiments of the present application. And the aforementioned storage medium includes: a usb disk, a removable hard disk, a Read-Only Memory (ROM), a random access Memory (Random Access Memory, RAM), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
The foregoing is merely specific embodiments of the present application, but the scope of the present application is not limited thereto, and any person skilled in the art can easily think about changes or substitutions within the technical scope of the present application, and the changes and substitutions are intended to be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (9)

1. A data transmission control method applied to a network device, the method comprising:
acquiring preempted times and/or preempted duration of a first data frame;
based on the preempted times and/or preempted time, adjusting the initial communication priority of the first data frame to obtain an adjusted communication priority; wherein the adjusted communication priority is higher than the initial communication priority of the first data frame;
judging whether a second data frame exists at the sending time corresponding to the first data frame;
when a second data frame exists, determining whether to transmit the first data frame based on the communication priority of the second data frame and the adjusted communication priority of the first data frame;
the method further comprises the steps of:
when the initial communication priority of one data frame is adjusted in at least one data frame, sending an optimization request to network management equipment; the optimization request is used for the network management equipment to perform optimization processing on a threshold control list in at least one network equipment based on time synchronization so as to maintain the relative sequence and position of each data frame in a transmission queue.
2. The method of claim 1, wherein the determining whether to transmit the first data frame based on the communication priority of the second data frame and the adjusted communication priority of the first data frame comprises:
when the communication priority of the second data frame is higher than the adjusted communication priority of the first data frame, determining not to send the first data frame, and adjusting the preempted times and/or preempted duration corresponding to the first data frame;
and when the communication priority of the second data frame is not higher than the adjusted communication priority of the first data frame, determining to transmit the first data frame and not transmitting the second data frame.
3. The method of claim 2, wherein the adjusting the number of preempted times and/or the preempted duration corresponding to the first data frame comprises:
adding 1 to the preempted times of the first data frame;
and/or the number of the groups of groups,
and taking the time length from the moment when the first data frame stops sending to the current moment as the preempted time length.
4. A network device, comprising:
the information acquisition unit is used for acquiring the preempted times and/or preempted duration of the first data frame;
the priority adjustment unit is used for adjusting the initial communication priority of the first data frame based on the preempted times and/or preempted time length to obtain an adjusted communication priority; wherein the adjusted communication priority is higher than the initial communication priority of the first data frame;
a control unit, configured to determine, at a transmission time corresponding to the first data frame, whether a second data frame exists; when a second data frame exists, determining whether to transmit the first data frame based on the communication priority of the second data frame and the adjusted communication priority of the first data frame;
a request sending unit, configured to send an optimization request to a network management device when there is an adjustment for an initial communication priority of a data frame in at least one data frame; the optimization request is used for the network management equipment to perform optimization processing on a threshold control list in at least one network equipment based on time synchronization so as to maintain the relative sequence and position of each data frame in a transmission queue.
5. A network device, comprising:
the processor is used for acquiring the preempted times and/or preempted duration of the first data frame; based on the preempted times and/or preempted time, adjusting the initial communication priority of the first data frame to obtain an adjusted communication priority; wherein the adjusted communication priority is higher than the initial communication priority of the first data frame; judging whether a second data frame exists at the sending time corresponding to the first data frame; when a second data frame exists, determining whether to transmit the first data frame based on the communication priority of the second data frame and the adjusted communication priority of the first data frame;
the processor is further configured to send an optimization request to the network management device through the communication interface when there is an adjustment for an initial communication priority of a data frame in at least one data frame; the optimization request is used for the network management equipment to perform optimization processing on a threshold control list in at least one network equipment based on time synchronization so as to maintain the relative sequence and position of each data frame in a transmission queue.
6. The network device of claim 5, further comprising:
a communication interface for transmitting the first data frame or transmitting the second data frame;
the processor is configured to determine not to send the first data frame when the communication priority of the second data frame is higher than the communication priority adjusted by the first data frame, and adjust the preempted times and/or preempted duration corresponding to the first data frame; and when the communication priority of the second data frame is not higher than the adjusted communication priority of the first data frame, determining to transmit the first data frame and not transmitting the second data frame.
7. The network device of claim 6, wherein the processor is configured to add 1 to the number of preempts of the first data frame;
and/or the number of the groups of groups,
and taking the time length from the moment when the first data frame stops sending to the current moment as the preempted time length.
8. A data transmission control system, the system comprising: at least one network device; wherein, the liquid crystal display device comprises a liquid crystal display device,
the network equipment is used for acquiring the preempted times and/or preempted duration of the first data frame; based on the preempted times and/or preempted time, adjusting the initial communication priority of the first data frame to obtain an adjusted communication priority; wherein the adjusted communication priority is higher than the initial communication priority of the first data frame; judging whether a second data frame exists at the sending time corresponding to the first data frame; when a second data frame exists, determining whether to transmit the first data frame based on the communication priority of the second data frame and the adjusted communication priority of the first data frame;
the network device is further configured to send an optimization request to the network management device through the communication interface when there is an adjustment for an initial communication priority of a data frame in at least one data frame;
the system further comprises: and the network management equipment is used for receiving the optimization request sent by the network equipment, and carrying out optimization processing on the threshold control list in at least one network equipment based on the optimization request and the time synchronization so as to maintain the relative sequence and position of each data frame in the transmission queue.
9. A computer storage medium having stored thereon a computer program, wherein the computer program when executed by a processor realizes the steps of the method of any of claims 1-3.
CN201910000348.3A 2019-01-02 2019-01-02 Data transmission control method, network equipment and system Active CN111404837B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910000348.3A CN111404837B (en) 2019-01-02 2019-01-02 Data transmission control method, network equipment and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910000348.3A CN111404837B (en) 2019-01-02 2019-01-02 Data transmission control method, network equipment and system

Publications (2)

Publication Number Publication Date
CN111404837A CN111404837A (en) 2020-07-10
CN111404837B true CN111404837B (en) 2023-07-25

Family

ID=71431974

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910000348.3A Active CN111404837B (en) 2019-01-02 2019-01-02 Data transmission control method, network equipment and system

Country Status (1)

Country Link
CN (1) CN111404837B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112615930B (en) * 2020-12-25 2022-08-23 北京东土科技股份有限公司 Multi-node data synchronous distribution method, device, equipment and storage medium
CN114650261A (en) * 2022-02-24 2022-06-21 同济大学 Reordering scheduling method in time-sensitive network queue

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102196583A (en) * 2010-03-18 2011-09-21 中兴通讯股份有限公司 Channel resource allocation method and base station
CN105760294A (en) * 2015-01-06 2016-07-13 联发科技股份有限公司 Method and device for analysis of thread latency

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102196583A (en) * 2010-03-18 2011-09-21 中兴通讯股份有限公司 Channel resource allocation method and base station
CN105760294A (en) * 2015-01-06 2016-07-13 联发科技股份有限公司 Method and device for analysis of thread latency

Also Published As

Publication number Publication date
CN111404837A (en) 2020-07-10

Similar Documents

Publication Publication Date Title
CN109962863B (en) Method for managing traffic in an Ethernet switch-based network, vehicle, communication interface and corresponding computer program product
KR101977523B1 (en) Method of traffic shaping of data frames in a network and its devices and computer programs
EP1839414B1 (en) Requesting permission from a base station to send packets queued at a mobile station according to its transmission delay.
EP2466824B1 (en) Service scheduling method and device
EP3720069A1 (en) Method, device and system for sending message
EP3070893B1 (en) Scheduling of packets in network devices
CN110784418B (en) Data sending method and system based on time delay constraint
EP1779608A1 (en) A method for allocating data to at least one packet in an integrated circuit
CN111404837B (en) Data transmission control method, network equipment and system
EP3533253B1 (en) 5g congestion control
EP1817878B1 (en) Fair air-time transmission regulation without explicit traffic specifications for wireless networks
EP4084409A1 (en) Method and apparatus for adjusting service level, device, system and storage medium
US20220321493A1 (en) Method for transmitting data packet and apparatus for implementing the same
CN113383505A (en) Signaling of de-jitter buffer capability for TSN integration
EP2996293A1 (en) A packet scheduling networking device for deadline aware data flows
CN109450817B (en) Mixed scheduling method for time-triggered Ethernet multi-service message transmission
US20040120336A1 (en) Method and apparatus for starvation-free scheduling of communications
CN108632162B (en) Queue scheduling method and forwarding equipment
EP4099649A1 (en) Integrated scheduler for iec/ieee 60802 end-stations
KR101681613B1 (en) Apparatus and method for scheduling resources in distributed parallel data transmission system
CN114024916B (en) Data transmission method, data transmission device, computer readable storage medium and processor
KR102624295B1 (en) Time control scheduling method and system for supporting non-isochronous emergency traffic in time-sensitive networks
US8031721B2 (en) Method and apparatus for marking and scheduling packets for transmission
Mifdaoui et al. Comparative Analysis of Scheduling Strategies for Heterogeneous Avionics Applications
Finzi et al. Comparative Analysis of Scheduling Strategies for Heterogeneous Avionics Applications

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant