CN115567457A - TSN network data transmission method and device - Google Patents

TSN network data transmission method and device Download PDF

Info

Publication number
CN115567457A
CN115567457A CN202211019399.9A CN202211019399A CN115567457A CN 115567457 A CN115567457 A CN 115567457A CN 202211019399 A CN202211019399 A CN 202211019399A CN 115567457 A CN115567457 A CN 115567457A
Authority
CN
China
Prior art keywords
buffer queue
transmitted
data
data frame
basic protocol
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.)
Pending
Application number
CN202211019399.9A
Other languages
Chinese (zh)
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.)
Xi'an Yunwei Zhilian Technology Co ltd
Original Assignee
Xi'an Yunwei Zhilian Technology Co ltd
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 Xi'an Yunwei Zhilian Technology Co ltd filed Critical Xi'an Yunwei Zhilian Technology Co ltd
Priority to CN202211019399.9A priority Critical patent/CN115567457A/en
Publication of CN115567457A publication Critical patent/CN115567457A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/24Traffic characterised by specific attributes, e.g. priority or QoS
    • H04L47/2425Traffic characterised by specific attributes, e.g. priority or QoS for supporting services specification, e.g. SLA
    • H04L47/2433Allocation of priorities to traffic types
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/70Admission control; Resource allocation
    • H04L47/80Actions related to the user profile or the type of traffic
    • H04L47/805QOS or priority aware

Abstract

The application relates to a TSN network data transmission method, which comprises the following steps: caching the data frame to be transmitted into a corresponding cache queue according to the type and the priority mark of the data frame to be transmitted; the buffer queue comprises a plurality of conventional buffer queues and 1 basic protocol buffer queue; for each conventional buffer queue, before transmitting a data frame each time, determining a scheduling sequence of the data frame to be transmitted in the conventional buffer queue and the data frame to be transmitted in the basic protocol buffer queue according to a priority scheduling algorithm; and each conventional buffer queue sends data frames to be transmitted according to the scheduling sequence. The TSN network data transmission method has at least one of the following beneficial technical effects: the method carries out special processing on data frames of the basic protocol types such as ARP, IGMP, DNS and the like, increases the transmission priority, accelerates the transmission scheduling rate, realizes the scheduling optimization of the bottom layer of the TSN network on the basis of not changing the upper application and protocol, and reduces the data transmission delay of the TSN end node.

Description

TSN network data transmission method and device
Technical Field
The present application relates to the field of network transmission, and in particular, to a method and an apparatus for transmitting TSN network data.
Background
Time Sensitive ethernet (TSN) is based on the existing ethernet, and implements a set of international standards, so that the ordinary ethernet has the characteristics of Time synchronization and reliable data transmission (low packet loss rate, low delay, and low jitter). The TSN belongs to a standard technology under the IEEE802 standard, IEEE802.1Qbv (hereinafter referred to as 802.1 Qbv) is one standard in the TSN, the 802.1Qbv realizes queue priority gating based on 802.1Q, and a Time Aware Shaper (TAS) algorithm based on Time sensitivity is provided to achieve the aims of reducing Ethernet data transmission delay and improving certainty.
The 802.1Qbv divides different time slots, and each time slot allows data of different queues to pass through, so that data transmission of different queues is isolated in time, and data transmission of different queues is not influenced mutually. However, the existence of the queue and the division of the bandwidth may easily cause data delay in the data transmission process, and particularly, when Protocol frames such as Address Resolution Protocol (ARP), internet Group Management Protocol (IGMP), domain Name System (DNS) and the like are transmitted, if data delay occurs, the entire System may be affected, and a large amount of traffic may not be performed.
Disclosure of Invention
In order to overcome at least one of the deficiencies in the prior art, embodiments of the present application provide a method and an apparatus for transmitting TSN network data.
In a first aspect, an embodiment of the present application provides a TSN network data transmission method, including:
caching the data frames to be transmitted into corresponding cache queues according to the types and the priority marks of the data frames to be transmitted; the type of the data frame to be transmitted comprises a conventional type and a basic protocol type; the buffer queue comprises a plurality of conventional buffer queues and 1 basic protocol buffer queue, wherein the conventional buffer queues are used for buffering conventional type data frames, and the basic protocol buffer queues are used for buffering basic protocol type data frames;
for each conventional buffer queue, before transmitting a data frame each time, determining a scheduling sequence of the data frame to be transmitted in the conventional buffer queue and the data frame to be transmitted in the basic protocol buffer queue according to a priority scheduling algorithm;
and each conventional buffer queue sends data frames to be transmitted according to the scheduling sequence.
In one embodiment, for each regular buffer queue, before transmitting a data frame each time, determining a scheduling order of data frames to be transmitted in the regular buffer queue and data frames to be transmitted in the basic protocol buffer queue according to a priority scheduling algorithm, including:
step 1, for each regular buffer queue Q i I =0,1, …, N, where i is a priority flag of the regular buffer queue, N is a maximum value of the priority flag, and determines whether a data frame to be transmitted exists in the basic protocol buffer queue, and if not, sends a regular buffer queue Q i If the data frame to be transmitted exists, executing step 2;
step 2, if i =0, preferentially sending a data frame to be transmitted in a basic protocol buffer queue; if i is more than or equal to 1 and less than or equal to N, executing the step 3;
step 3, determining C i A value of (b), wherein C i For a regular buffer queue Q i The number of data frames to be transmitted which have already been sent and belong to its own buffer queue, C i Is 0; if C i <M, wherein M is a positive integer greater than 10, sending a regular buffer queue Q i Data frame of (1), while C i The value of (a) is increased by 1; if C i If the frame number is more than or equal to M, sending the data frame in the basic protocol buffer queue, and C i Reset to 0.
In one embodiment, the underlying protocol types include ARP, IGMP, and DNS.
In a second aspect, an embodiment of the present application provides a TSN network data transmission apparatus, including:
the data caching module is configured to cache the data frames to be transmitted into corresponding caching queues according to the types and the priority marks of the data frames to be transmitted; the type of the data frame to be transmitted comprises a conventional type and a basic protocol type; the buffer queue comprises a plurality of conventional buffer queues and 1 basic protocol buffer queue, wherein the conventional buffer queues are used for buffering conventional type data frames, and the basic protocol buffer queues are used for buffering basic protocol type data frames;
the scheduling sequence determining module is configured to determine, for each conventional buffer queue, a scheduling sequence of data frames to be transmitted in the conventional buffer queue and data frames to be transmitted in the basic protocol buffer queue according to a priority scheduling algorithm before transmitting the data frames each time;
and the data transmission module is configured to be used for transmitting the data frames to be transmitted according to the scheduling sequence by each conventional buffer queue.
In one embodiment, the scheduling order determination module is further configured to implement:
step 1, for each regular buffer queue Q i I =0,1, …, N, where i is a priority flag of the regular buffer queue, N is a maximum value of the priority flag, and determines whether a data frame to be transmitted exists in the basic protocol buffer queue, and if not, sends a regular buffer queue Q i If the data frame to be transmitted exists, executing the step 2;
step 2, if i =0, preferentially sending a data frame to be transmitted in a basic protocol buffer queue; if i is more than or equal to 1 and less than or equal to N, executing the step 3;
step 3, determining C i A value of (b), wherein C i For a regular buffer queue Q i The number of data frames to be transmitted which have already been sent and belong to its own buffer queue, C i Is 0; if C i <M, wherein M is a positive integer greater than 10, sending a regular buffer queue Q i Data frame of (1), while C i The value of (a) is increased by 1; if C i If the frame number is more than or equal to M, sending the data frame in the basic protocol buffer queue, and C i Reset to 0.
In one embodiment, the underlying protocol types include ARP, IGMP, and DNS.
In a third aspect, an embodiment of the present application provides a computer-readable storage medium, where a computer program is stored, and when the computer program is executed by a processor, the computer program is configured to implement the TSN network data transmission method described above.
In a fourth aspect, an embodiment of the present application provides a computer program product, which includes a computer program/instruction, and when the computer program/instruction is executed by a processor, the TSN network data transmission method described above is implemented.
Compared with the prior art, the method has the following beneficial effects: the data frames of the basic protocol types such as ARP, IGMP, DNS and the like are specially processed, the transmission priority is increased, the transmission scheduling rate is accelerated, the scheduling optimization of the TSN network bottom layer is realized on the basis of not changing the upper application and protocol, and the data transmission delay of the TSN end node is reduced.
Drawings
The present application may be better understood by reference to the following description taken in conjunction with the accompanying drawings, which are incorporated in and form a part of this specification, along with the detailed description below. In the drawings:
fig. 1 shows a schematic diagram of a TSN network data transmission method according to an embodiment of the present application;
fig. 2 shows a flow chart of a TSN network data transmission method according to an embodiment of the present application;
FIG. 3 shows a block flow diagram of a priority scheduling algorithm according to an embodiment of the present application;
fig. 4 shows a block diagram of a TSN network data transmission device according to an embodiment of the present application.
Detailed Description
Exemplary embodiments of the present application will be described hereinafter with reference to the accompanying drawings. In the interest of clarity and conciseness, not all features of an actual embodiment are described in the specification. It will of course be appreciated that in the development of any such actual embodiment, numerous implementation-specific decisions may be made to achieve the developers' specific goals, such as compliance with system-related and business-related constraints, which will vary from one implementation to another.
Here, it should be further noted that, in order to avoid obscuring the present application with unnecessary details, only the device structure closely related to the solution according to the present application is shown in the drawings, and other details not so related to the present application are omitted.
It is to be understood that the application is not limited to the described embodiments, since the description proceeds with reference to the drawings. In this context, embodiments may be combined with each other, features may be replaced or borrowed between different embodiments, one or more features may be omitted in one embodiment, where feasible.
The TSN belongs to a standard technology under the IEEE802 standard, IEEE802.1Qbv (hereinafter referred to as 802.1 Qbv) is one standard in the TSN, 802.1Qbv realizes queue priority gating based on 802.1Q, 802.1Qbv divides different time slots, and each time slot allows data of different queues to pass through, so that data transmission of different queues is isolated in time, and data transmission of different queues is not influenced. The 802.1Qbv sets 8 different queues (Q0-Q7) in total, adds a virtual local area network Tag (VLAN Tag) to the network data frame for identifying the corresponding queue, for example, a priority flag (priority) may be set in the VLAN Tag to identify the corresponding queue of the network data frame, and further, devices such as a switch may schedule data through the priority flag (priority).
In an end system, an upper layer application identifies which queue to use for transmission by a socket (socket) by setting its priority flag (priority). In a system with a large number of applications using queue scheduling, data without priority marks (priorities) are taken as data in a Q0 queue for scheduling; since the entire transmission bandwidth is allocated to 8 queues, the bandwidth of the Q0 queue is greatly reduced, and when the amount of transmission data is large, the transmission delay is serious. Particularly, when data frames of basic Protocol types such as Address Resolution Protocol (ARP), internet Group Management Protocol (IGMP), domain Name System (DNS) are transmitted, the basic Protocol frames are transmitted from a 0 queue because the operating System automatically manages transmission and reception and are not labeled with priorities, and the basic Protocol frames are a precondition that System functions can be operated, and if data delay occurs, the entire System is affected, and a large amount of services cannot be performed.
Based on the above technical problem, the TSN network data transmission method provided in the embodiment of the present application performs special processing on data frames of the basic protocol types such as ARP, IGMP, DNS, and the like, increases the transmission priority thereof, accelerates the transmission scheduling rate thereof in the bottom driver, realizes scheduling optimization of the bottom layer of the TSN network on the basis of not changing the upper application and protocol, and reduces the data transmission delay of the TSN end node.
Fig. 1 shows a schematic diagram 100 of a TSN network data transmission method according to an embodiment of the present application. The following describes the workflow of the TSN network data transmission method in detail according to fig. 1.
After passing through a protocol stack, data frames applied by an upper layer are transmitted to a TSN network card driver, wherein the TSN network card driver comprises 8 conventional buffer queues, namely Q 0 ~Q 7 8 conventional buffer queues are used for buffering data and respectively correspond to 8 DMA transmission channels used for transmitting data frames to the network card MAC, and a basic protocol buffer queue Q is newly added in the TSN network card drive in the embodiment of the application 8 ,Q 8 For caching data frames belonging to the types of the underlying protocols, such as ARP, IGMP, and DNS.
After receiving the data frame passing through the protocol stack, the TSN network card driver first determines the type of the data frame, and if the data frame is a data frame of a basic protocol type such as ARP, IGMP, DNS, and the like, the data frame is cached to Q 8 Otherwise, buffering the data frame to its corresponding regular buffer queue according to priority flag (priority), where the corresponding regular buffer queue is Q 0 ~Q 7 The priority flags (priorities) of the data frames are 0 to 7, respectively.
When transmitting data frame to network card MAC, regular buffer queue Q 0 ~Q 7 Respectively pass through its pairSending data frame by DMA transmission channel, wherein the data frame includes regular buffer queue Q 0 ~Q 7 Data frame and base protocol buffer queue Q in 8 Of each regular buffer queue Q i I =0,1, …,7, before sending data frame each time, determining to send self conventional buffer queue Q according to priority scheduling algorithm i Whether the data frame in (1) is a basic protocol buffer queue (Q) 8 Of the frame of data.
Fig. 2 shows a flow chart 200 of a TSN network data transmission method according to an embodiment of the present application. The TSN network data transmission method of the present application may begin with step S210, and buffer the data frame to be transmitted into the corresponding buffer queue according to the type and priority flag of the data frame to be transmitted; the type of the data frame to be transmitted comprises a conventional type and a basic protocol type, wherein the basic protocol type can comprise ARP, IGMP, DNS and other basic protocol types; the buffer queue comprises a plurality of conventional buffer queues and 1 basic protocol buffer queue, wherein the conventional buffer queues are used for buffering conventional type data frames, and the basic protocol buffer queues are used for buffering basic protocol type data frames;
then, in step S220, for each conventional buffer queue, before transmitting a data frame each time, determining a scheduling order of the data frame to be transmitted in the conventional buffer queue and the data frame to be transmitted in the basic protocol buffer queue according to a priority scheduling algorithm;
then, each regular buffer queue transmits data frames to be transmitted according to a scheduling order at step S230.
The TSN network data transmission method provided by the embodiment of the application performs special processing on data frames of basic protocol types such as ARP, IGMP, DNS and the like, increases the transmission priority, accelerates the transmission scheduling rate, realizes scheduling optimization of the TSN network bottom layer on the basis of not changing upper application and protocols, and reduces data transmission delay of TSN end nodes.
In an embodiment, fig. 3 shows a flow chart 300 of a priority scheduling algorithm according to an embodiment of the present application, where for each conventional buffer queue, before a data frame is transmitted each time, a scheduling order of a data frame to be transmitted in the conventional buffer queue and a data frame to be transmitted in a basic protocol buffer queue is determined according to the priority scheduling algorithm, where the scheduling order includes:
step 1, for each regular buffer queue Q i I =0,1, …, N, where i is the priority flag of the regular buffer queue and N is the maximum value of the priority flag, where N =7 determines whether there is a data frame waiting to be transmitted in the base protocol buffer queue, and if not, sends the regular buffer queue Q i If the data frame to be transmitted exists, executing the step 2;
step 2, if i =0, preferentially sending a data frame to be transmitted in a basic protocol buffer queue; because of the conventional buffer queue Q 0 Itself for transmitting data frames with priority flag (priority) of 0 and without priority flag (priority), therefore, only buffer queue Q is needed 0 If the transmission bandwidth is available, the data frame in the basic protocol buffer queue Q8 is transmitted preferentially; if 1 ≦ i ≦ N, where N =7, then perform step 3;
step 3, determining C i A value of (b), wherein C i For a regular buffer queue Q i The number of data frames to be transmitted which have already been sent and belong to its own buffer queue, C i Is 0; if C i <M, where M is an empirical value and can be set to a positive integer greater than 10, then a regular buffer queue Q is sent i Data frame of (1), while C i The value of (a) is increased by 1; if C i If the frame number is more than or equal to M, sending the data frame in the basic protocol buffer queue, and C i Reset to 0.
Based on the same inventive concept as the TSN network data transmission method, the present embodiment further provides a TSN network data transmission device corresponding thereto, and fig. 4 shows a structural block diagram 400 of the TSN network data transmission device according to the embodiment of the present application, which includes:
the data caching module 410 is configured to cache the data frames to be transmitted into corresponding caching queues according to the types and the priority marks of the data frames to be transmitted; the type of the data frame to be transmitted comprises a conventional type and a basic protocol type; the buffer queue comprises a plurality of conventional buffer queues and 1 basic protocol buffer queue, wherein the conventional buffer queues are used for buffering conventional type data frames, and the basic protocol buffer queues are used for buffering basic protocol type data frames;
a scheduling order determining module 420 configured to determine, for each regular buffer queue, a scheduling order of data frames to be transmitted in the regular buffer queue and data frames to be transmitted in the basic protocol buffer queue according to a priority scheduling algorithm before data frames are transmitted each time;
and a data transmitting module 430 configured to transmit the data frames to be transmitted according to the scheduling order for each regular buffer queue.
In one embodiment, the scheduling order determination module is further configured to implement:
step 1, for each regular buffer queue Q i I =0,1, …, N, where i is a priority flag of the regular buffer queue, and N is a maximum value of the priority flag, in this embodiment, N =7 determines whether there is a data frame to be transmitted in the base protocol buffer queue, and if there is no data frame, sends the regular buffer queue Q i If the data frame to be transmitted exists, executing the step 2;
step 2, if i =0, preferentially sending a data frame to be transmitted in a basic protocol buffer queue; if i is greater than or equal to 1 and less than or equal to N, in this embodiment, N =7, go to step 3;
step 3, determining C i A value of (b), wherein C i For a regular buffer queue Q i The number of data frames to be transmitted which have already been sent and belong to their own buffer queue, C i Is 0; if C i <M, where M is an empirical value and can be set to a positive integer greater than 10, then a regular buffer queue Q is sent i Data frame of (1), while C i The value of (a) is increased by 1; if C i If the frame number is more than or equal to M, sending the data frame in the basic protocol buffer queue, and C i Reset to 0.
The embodiment of the application provides a computer-readable storage medium, which stores a computer program, and the computer program is executed by a processor to implement the TSN network data transmission method.
The embodiment of the present application provides a computer program product, which includes a computer program/instruction, and the computer program/instruction is executed by a processor to implement the TSN network data transmission method.
In summary, the present application is based on the existing TSN network, is compatible with the existing protocol, and realizes the scheduling optimization of the TSN network bottom layer on the basis of not changing the upper layer application and protocol, and reduces the data transmission delay of the TSN end node; the method has the following technical effects: the method for modifying and scheduling is driven at the bottom layer without modifying the upper application and protocol; the transmission delay of the data frames of the base protocol types such as ARP, IGMP, DNS and the like is effectively reduced; there is no impact on the transmission of other data for each queue. According to the actual measurement, the scheduling speed of the data frames of the basic protocol types such as ARP, IGMP, DNS and the like can be reduced from more than 20us to less than 10us in some scenes.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. The apparatus embodiments described above are merely illustrative, and for example, the flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of apparatus, methods and computer program products according to various embodiments of the present application. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems that perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
In addition, functional modules in the embodiments of the present application may be integrated together to form an independent part, or each module may exist separately, or two or more modules may be integrated to form an independent part.
The functions, if implemented in the form of software functional modules 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 or portions thereof that substantially contribute to the prior art may be embodied in the form of a software product stored in a storage medium and including instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
The above description is only for various 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 conceive of changes or substitutions within the technical scope of the present application, and all such changes or substitutions are included in 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 (8)

1. A TSN network data transmission method is characterized by comprising the following steps:
caching the data frame to be transmitted into a corresponding cache queue according to the type and the priority mark of the data frame to be transmitted; the type of the data frame to be transmitted comprises a conventional type and a basic protocol type; the buffer queue comprises a plurality of conventional buffer queues and 1 basic protocol buffer queue, wherein the conventional buffer queues are used for buffering conventional type data frames, and the basic protocol buffer queues are used for buffering basic protocol type data frames;
for each conventional buffer queue, before transmitting a data frame each time, determining a scheduling sequence of the data frame to be transmitted in the conventional buffer queue and the data frame to be transmitted in the basic protocol buffer queue according to a priority scheduling algorithm;
and each conventional buffer queue sends the data frame to be transmitted according to the scheduling sequence.
2. The method of claim 1, wherein the determining, for each regular buffer queue, a scheduling order of data frames to be transmitted in the regular buffer queue and data frames to be transmitted in the base protocol buffer queue according to a priority scheduling algorithm before each data frame transmission comprises:
step 1, for each regular buffer queue Q i I =0,1, …, N, where i is a priority flag of a regular buffer queue, N is a maximum value of the priority flag, determining whether a data frame to be transmitted exists in the base protocol buffer queue, and if not, sending the regular buffer queue Q i If the data frame to be transmitted exists, executing the step 2;
step 2, if i =0, preferentially sending the data frame to be transmitted in the basic protocol buffer queue; if i is more than or equal to 1 and less than or equal to N, executing the step 3;
step 3, determining C i A value of (b), wherein C i For the regular buffer queue Q i The number of data frames to be transmitted which have already been sent and belong to its own buffer queue, C i Is 0; if C i <M, wherein M is a positive integer greater than 10, sending the regular buffer queue Q i Data frame of (1), while C i The value of (a) is increased by 1; if C i If the number of the data frames in the basic protocol buffer queue is more than or equal to M, sending the data frames in the basic protocol buffer queue, and simultaneously C i Reset to 0.
3. The method of claim 1, wherein the base protocol types include ARP, IGMP, and DNS.
4. A TSN network data transmission device, comprising:
the data caching module is configured to cache the data frames to be transmitted into corresponding caching queues according to the types and the priority marks of the data frames to be transmitted; the type of the data frame to be transmitted comprises a conventional type and a basic protocol type; the buffer queue comprises a plurality of conventional buffer queues and 1 basic protocol buffer queue, wherein the conventional buffer queues are used for buffering conventional type data frames, and the basic protocol buffer queues are used for buffering basic protocol type data frames;
the scheduling sequence determining module is configured to determine, for each conventional buffer queue, a scheduling sequence of data frames to be transmitted in the conventional buffer queue and data frames to be transmitted in the basic protocol buffer queue according to a priority scheduling algorithm before data frames are transmitted each time;
and the data sending module is configured to be used for sending the data frames to be transmitted by each conventional buffer queue according to the scheduling sequence.
5. The TSN network data transmission device of claim 4, wherein the scheduling order determination module is further configured to implement:
step 1, for each regular buffer queue Q i I =0,1, …, N, where i is a priority flag of a regular buffer queue, N is a maximum value of the priority flag, and it is determined whether a data frame to be transmitted exists in the base protocol buffer queue, and if not, the regular buffer queue Q is sent i If the data frame to be transmitted exists, executing the step 2;
step 2, if i =0, preferentially sending the data frame to be transmitted in the basic protocol buffer queue; if i is more than or equal to 1 and less than or equal to N, executing the step 3;
step 3, determining C i A value of (b), wherein C i For said regular buffer queue Q i The number of data frames to be transmitted which have already been sent and belong to its own buffer queue, C i To start withThe initial value is 0; if C i <M, wherein M is a positive integer greater than 10, the data frame in the conventional buffer queue Qi is sent, and the value of Ci is increased by 1; if Ci is larger than or equal to M, sending the data frame in the basic protocol cache queue, and C i Reset to 0.
6. The method of claim 4, wherein the base protocol types include ARP, IGMP, and DNS.
7. A computer-readable storage medium, characterized in that the computer-readable storage medium stores a computer program which, when executed by a processor, implements the TSN network data transmission method according to any one of claims 1 to 3.
8. A computer program product comprising computer programs/instructions which, when executed by a processor, implement the TSN network data transmission method of any one of claims 1-3.
CN202211019399.9A 2022-08-24 2022-08-24 TSN network data transmission method and device Pending CN115567457A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211019399.9A CN115567457A (en) 2022-08-24 2022-08-24 TSN network data transmission method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211019399.9A CN115567457A (en) 2022-08-24 2022-08-24 TSN network data transmission method and device

Publications (1)

Publication Number Publication Date
CN115567457A true CN115567457A (en) 2023-01-03

Family

ID=84738290

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211019399.9A Pending CN115567457A (en) 2022-08-24 2022-08-24 TSN network data transmission method and device

Country Status (1)

Country Link
CN (1) CN115567457A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116346953A (en) * 2023-03-02 2023-06-27 杭州又拍云科技有限公司 Acceleration method and device for real-time data transmission

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116346953A (en) * 2023-03-02 2023-06-27 杭州又拍云科技有限公司 Acceleration method and device for real-time data transmission
CN116346953B (en) * 2023-03-02 2024-02-13 杭州又拍云科技有限公司 Acceleration method and device for real-time data transmission

Similar Documents

Publication Publication Date Title
US11677851B2 (en) Accelerated network packet processing
US10564994B2 (en) Network policy implementation with multiple interfaces
US10735325B1 (en) Congestion avoidance in multipath routed flows
US11032205B2 (en) Flow control method and switching device
US6970420B1 (en) Method and apparatus for preserving frame ordering across aggregated links supporting a plurality of quality of service levels
US20090300209A1 (en) Method and system for path based network congestion management
US9590910B1 (en) Methods and apparatus for handling multicast packets in an audio video bridging (AVB) network
JP7231749B2 (en) Packet scheduling method, scheduler, network device and network system
US10911579B1 (en) Generating programmatically defined fields of metadata for network packets
WO2020063339A1 (en) Method, device and system for realizing data transmission
CN106330742B (en) Flow control method and network controller
WO2020063299A1 (en) Method and system for collecting statistics about the number of active flows, and network device
US20170187587A1 (en) Technologies for inline network traffic performance tracing
US20100040060A1 (en) Fast emulation of mac table flushing for elan unicasts
CN115567457A (en) TSN network data transmission method and device
CN101848168A (en) Target MAC (Media Access Control) address based flow control method, system and equipment
WO2022134671A1 (en) Data transmission method, electronic device, and storage medium
US8549193B2 (en) Data transmission method, device and system
CN110300085B (en) Evidence obtaining method, device and system for network attack, statistical cluster and computing cluster
EP3297210B1 (en) Method and apparatus for setting packet transmission mode
US20060187895A1 (en) Method access point and program product for providing bandwidth and airtime fairness in wireless networks
US11528187B1 (en) Dynamically configurable networking device interfaces for directional capacity modifications
US11444877B2 (en) Packet flow identification with reduced decode operations
US8467311B2 (en) Method and system for avoiding flooding of packets in switches
CN109547352B (en) Dynamic allocation method and device for message buffer queue

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