CN116708871A - Video service transmission method, device and medium based on TSN - Google Patents

Video service transmission method, device and medium based on TSN Download PDF

Info

Publication number
CN116708871A
CN116708871A CN202310739979.3A CN202310739979A CN116708871A CN 116708871 A CN116708871 A CN 116708871A CN 202310739979 A CN202310739979 A CN 202310739979A CN 116708871 A CN116708871 A CN 116708871A
Authority
CN
China
Prior art keywords
data
gating
stream
video
flow
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
CN202310739979.3A
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.)
Inspur Cisco Networking Technology Co Ltd
Original Assignee
Inspur Cisco Networking 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 Inspur Cisco Networking Technology Co Ltd filed Critical Inspur Cisco Networking Technology Co Ltd
Priority to CN202310739979.3A priority Critical patent/CN116708871A/en
Publication of CN116708871A publication Critical patent/CN116708871A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/234Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/80Responding to QoS
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/238Interfacing the downstream path of the transmission network, e.g. adapting the transmission rate of a video stream to network bandwidth; Processing of multiplex streams
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/50Reducing energy consumption in communication networks in wire-line communication networks, e.g. low power modes or reduced link rate

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

The embodiment of the application discloses a video service transmission method, equipment and medium based on TSN. The method comprises the steps of classifying received data streams and mapping the data streams with the same characteristics to the same queue; the data stream is divided into a video stream and a control information stream; setting a plurality of gating windows in a preset TSN network, and configuring flow data corresponding to the data flow to the corresponding gating windows; and respectively adjusting a gating window corresponding to the video stream and a plurality of gating windows corresponding to the control type information stream based on queue information respectively corresponding to a plurality of queues so as to realize real-time transmission of the video stream data. The method reduces the problem of video jamming caused by data stream congestion and packet loss.

Description

Video service transmission method, device and medium based on TSN
Technical Field
The present application relates to the field of data communications technologies, and in particular, to a TSN-based video service transmission method, apparatus, and medium.
Background
In a security network, the more video streams the switch transmits through, the greater the probability of transient bursts, and the higher the probability of congestion. The convergence layer or the core layer is more prone to congestion, especially the core layer, the number of video flow paths transmitted through is the largest, hundreds of thousands of paths of the whole network are transmitted through the core switch, and most of video cartoon packet loss is caused by the congestion.
In the prior art, when the instantaneous rate of the micro burst traffic exceeds the forwarding capability of the switch, the switch caches the burst data for later transmission, but if the switch does not have enough cache, the exceeded data can only be discarded, so that the congestion packet loss is caused, and the problem of video clip is caused.
Disclosure of Invention
The embodiment of the application provides a video service transmission method, equipment and medium based on TSN (traffic channel), which are used for solving the following technical problems: in the prior art, if the switch does not have enough buffering, the excessive data can only be discarded, so that the congestion packet loss is caused, and the video clip problem is caused.
The embodiment of the application adopts the following technical scheme:
the embodiment of the application provides a video service transmission method based on TSN. The method comprises the steps of classifying received data streams and mapping the data streams with the same characteristics to the same queue; the data stream is divided into a video stream and a control information stream; setting a plurality of gating windows in a preset TSN network, and configuring flow data corresponding to the data flow to the corresponding gating windows; based on the queue information corresponding to the queues, respectively, the gating window corresponding to the video stream and the gating windows corresponding to the control type information stream are respectively adjusted so as to realize real-time transmission of the video stream data.
The embodiment of the application classifies the data streams, sets a plurality of gating windows in a preset TSN network, and configures flow data corresponding to the data streams to the corresponding gating windows. Therefore, lossless transmission of video data streams is realized through a TSN (traffic channel) switching chip technology, the video data streams are output from the gating list preferentially, and the queuing time is not required to be buffered. Meanwhile, impact on video traffic caused by occupation of external interference traffic bandwidth is reduced, stability of a network is enhanced, occurrence of network congestion is reduced, and video transmission quality is improved.
In one implementation manner of the present application, based on queue information corresponding to a plurality of queues, respectively, a gating window corresponding to a video stream and a plurality of gating windows corresponding to a control class information stream are respectively adjusted, and specifically includes: under the condition that the number of video streams in the queue information is not greater than a first preset threshold value, normally forwarding the video streams through a repeater based on the setting of a current gating window; under the condition that the number of video streams in the queue information is larger than a first preset threshold value, increasing the number of gating windows corresponding to the video streams, and forwarding the video streams through a repeater; reducing the number of gating windows corresponding to the control class information flows under the condition that the number of the control class information flows in the queue information is not greater than a second preset threshold value, and transmitting the control class information flows to the controller; and under the condition that the number of the control class information flows in the queue information is larger than a second preset threshold value, transmitting the control class information flows to the controller based on the number of the gating windows corresponding to the current control class information flows.
In one implementation of the present application, after classifying the received data stream, the method further includes: under the condition that the data stream is a video stream, carrying out different maximum burst configuration on the traffic types in the Ethernet ports corresponding to each device in the TSN network respectively so as to limit the burst quantity of the data packets corresponding to the video stream; and conveying the configured data stream to an edge switch in the TSN network.
In one implementation manner of the present application, the configuration of the flow data corresponding to the data flow to the corresponding gating window specifically includes: constructing a gating list configuration based on flow data corresponding to the data flow; the gating list at least comprises a transmission gate state, a gating period and a transmission gate state; and configuring the gating window corresponding to the flow data based on the gating list, and sending the configured gating list to the gating window corresponding to the flow data so as to adjust the state of the gating window corresponding to the flow data.
In one implementation manner of the present application, configuring a gating window corresponding to traffic data based on a gating list specifically includes: under the condition that the current queue does not have data flow, switching a gating window corresponding to the current queue from an Open state to a Closed state; and under the condition that the current queue has data flow, switching the gating window corresponding to the current queue from the Closed state to the Open state.
In one implementation of the present application, after constructing the gating list configuration based on the traffic data corresponding to the data flow, the method further includes: determining time slots in a gating list; wherein the time slot is of a configurable duration; and respectively carrying out flow configuration on a plurality of time slots in the gating list based on the flow type and the flow quantity corresponding to the flow data so as to lead the video stream to be transmitted preferentially.
In one implementation manner of the present application, based on a traffic type and a traffic number corresponding to traffic data, traffic configuration is performed on a plurality of time slots in a gating list, which specifically includes: determining the priority of the flow data based on the flow type; wherein the video stream is the highest priority; determining the quantity of the flow data with different priorities so as to determine the time length required by the flow transmission with different priorities based on the quantity; and respectively carrying out flow configuration on a plurality of time slots in the gating list based on the priority of the flow data and the time length required by the flow transmission.
In one implementation of the present application, after setting the plurality of gating windows in the preset TSN network, the method further includes: in the TSN network, time synchronization of a plurality of gating windows in nanosecond level is realized through an IEEE 802.1AS protocol.
The embodiment of the application provides a video service transmission device based on TSN, which comprises: at least one processor; and a memory communicatively coupled to the at least one processor; wherein the memory stores instructions executable by the at least one processor, the instructions being executable by the at least one processor to enable the at least one processor to: classifying the received data streams and mapping the data streams with the same characteristics to the same queue; the data stream is divided into a video stream and a control information stream; setting a plurality of gating windows in a preset TSN network, and configuring flow data corresponding to the data flow to the corresponding gating windows; based on the queue information corresponding to the queues, respectively, the gating window corresponding to the video stream and the gating windows corresponding to the control type information stream are respectively adjusted so as to realize real-time transmission of the video stream data.
The non-volatile computer storage medium provided by the embodiment of the application stores computer executable instructions, and the computer executable instructions are set as follows: classifying the received data streams and mapping the data streams with the same characteristics to the same queue; the data stream is divided into a video stream and a control information stream; setting a plurality of gating windows in a preset TSN network, and configuring flow data corresponding to the data flow to the corresponding gating windows; based on the queue information corresponding to the queues, respectively, the gating window corresponding to the video stream and the gating windows corresponding to the control type information stream are respectively adjusted so as to realize real-time transmission of the video stream data.
The above at least one technical scheme adopted by the embodiment of the application can achieve the following beneficial effects: according to the embodiment of the application, the data streams are classified, a plurality of gating windows are set in a preset TSN network, and flow data corresponding to the data streams are configured to the corresponding gating windows. Therefore, lossless transmission of video data streams is realized through a TSN (traffic channel) switching chip technology, the video data streams are output from the gating list preferentially, and the queuing time is not required to be buffered. Meanwhile, impact on video traffic caused by occupation of external interference traffic bandwidth is reduced, stability of a network is enhanced, occurrence of network congestion is reduced, and video transmission quality is improved.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings that are required in the embodiments or the description of the prior art will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments described in the present application, and other drawings can be obtained according to the drawings without inventive effort for a person skilled in the art. In the drawings:
fig. 1 is a flowchart of a TSN-based video service transmission method according to an embodiment of the present application;
fig. 2 is a communication frame diagram of a terminal group according to an embodiment of the present application;
fig. 3 is a schematic structural diagram of a TSN-based video service transmission device according to an embodiment of the present application.
Detailed Description
The embodiment of the application provides a video service transmission method, equipment and medium based on TSN.
In order to make the technical solution of the present application better understood by those skilled in the art, the technical solution of the present application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present application, and it is apparent that the described embodiments are only some embodiments of the present application, not all embodiments. All other embodiments, which can be made by one of ordinary skill in the art based on the embodiments herein without making any inventive effort, shall fall within the scope of the present application.
In a security network, the more video streams the switch transmits through, the greater the probability of transient bursts, and the higher the probability of congestion. The convergence layer or the core layer is more prone to congestion, especially the core layer, the number of video flow paths transmitted through is the largest, hundreds of thousands of paths of the whole network are transmitted through the core switch, and most of video cartoon packet loss is caused by the congestion.
In the prior art, when the instantaneous rate of the micro burst traffic exceeds the forwarding capability of the switch, the switch caches the burst data for later transmission, but if the switch does not have enough cache, the exceeded data can only be discarded, so that the congestion packet loss is caused, and the problem of video clip is caused.
In order to solve the above problems, embodiments of the present application provide a TSN-based video service transmission method, device, and medium. By classifying data flows, setting a plurality of gating windows in a preset TSN network, and configuring flow data corresponding to the data flows to the corresponding gating windows. Therefore, lossless transmission of video data streams is realized through a TSN (traffic channel) switching chip technology, the video data streams are output from the gating list preferentially, and the queuing time is not required to be buffered. Meanwhile, impact on video traffic caused by occupation of external interference traffic bandwidth is reduced, stability of a network is enhanced, occurrence of network congestion is reduced, and video transmission quality is improved.
The following describes the technical scheme provided by the embodiment of the application in detail through the attached drawings.
Fig. 1 is a flowchart of a TSN-based video service transmission method according to an embodiment of the present application. As shown in fig. 1, the TSN-based video service transmission method includes the following steps:
s101, classifying received data streams, and mapping the data streams with the same characteristics to the same queue; the data stream is divided into a video stream and a control type information stream.
In one embodiment of the present application, when the data stream is a video stream, different maximum burst configurations are performed on traffic categories in ethernet ports corresponding to each device in the TSN network, so as to limit burst amounts of data packets corresponding to the video stream. And conveying the configured data stream to an edge switch in the TSN network.
Specifically, whether the video stream or the control class information stream is identified through the ACL stream, the data streams with the same characteristics are mapped to the same queue, the video data stream is mapped to the high priority queue, the video stream is smoothed through the front-end TSN switch 802.1Qav, and the burst amount of the data packet which can be sent by each traffic class is limited through a credit-based mechanism. Different maximum burst configurations may be configured for each class of traffic in each ethernet port to which each device in the TSN network corresponds to prevent higher priority traffic from consuming all of the available bandwidth in its slot. And sending the processed data stream to an edge switch in the TSN network so as to transmit the data stream.
It should be noted that the time sensitive network (timesensitive network, TSN) is a completely new industrial communication technology, and a highly reliable deterministic network with ultra-low latency and jitter is built through a set of protocol specifications. Where the sub-802.1 Qav protocol specification defines basic queuing and forwarding functions for data traffic to determine that the flow is not exceeding the maximum traffic allowed to be sent, protecting other TSN flows from impact. The direct forwarding is a mode of processing the message by network equipment or a network chip corresponding to the store forwarding, and the store forwarding is to receive the whole message and then process the message, so that the data length of the message is obtained before the message is processed, traffic strategies, MTU (maximum transmission unit) inspection and the like can be conveniently processed, but the store forwarding mode adds storage delay to the message forwarding, so that the direct forwarding mode is provided, the direct forwarding does not need to receive and store the whole message completely, the packet storage delay of the message is greatly reduced, jitter caused by different message lengths can be reduced, meanwhile, the TAS scheduling based on nanosecond synchronization of 802.1AS can be based, and configured time sensitive flows can reach opposite ends without congestion.
S102, setting a plurality of gating windows in a preset TSN network, and configuring flow data corresponding to the data flow to the corresponding gating windows.
In one embodiment of the application, a gating list configuration is constructed based on traffic data corresponding to the data stream; the gating list at least comprises a transmission gate state, a gating period and a transmission gate state. And configuring the gating window corresponding to the flow data based on the gating list, and sending the configured gating list to the gating window corresponding to the flow data so as to adjust the state of the gating window corresponding to the flow data.
Specifically, the video traffic information related in the embodiment of the present application is a time-sensitive data stream, and needs to be transmitted to the opposite end in real time without packet loss. The whole bandwidth can be occupied in a short time, the continuous transmission can cause network congestion, traffic information affecting the transmission of other traffic is isolated from other information traffic, and the traffic is transmitted in a gating list mode. The gating list related information is as follows:
1. gate-close event: an event that occurs when a transmission gate associated with a queue transitions from an Open state to a Closed state disconnects the transmission selection function of the forwarding process from the queue, preventing it from selecting a frame from the queue.
2. gate-Open event: an event that occurs when a transmission gate associated with the queue transitions from the Closed state to the Open state, connects the transmission selection function of the forwarding process to the queue and allows it to select a frame from the queue.
3. Gating period: the series of operations in the gating list are repeated for a period of time.
4. The transmission gate: the transport selection function of the connect or disconnect forwarding process is from the queue, allowing or preventing it from selecting frames from the queue. The transmission gate has two states, on and off.
Further, the configured gating list is sent to a gating window corresponding to the flow data, so that the state of the gating window corresponding to the flow data is adjusted.
In one embodiment of the present application, when no data stream exists in the current queue, the gating window corresponding to the current queue is converted from the Open state to the Closed state. And under the condition that the current queue has data flow, switching the gating window corresponding to the current queue from the Closed state to the Open state.
Specifically, if the current queue data stream has been transmitted, the state of the gating window corresponding to the current queue is changed, that is, the gating window is converted from the Open state to the Closed state. If the current gating window is in a Closed state and a new data stream is received to be transmitted, the gating window corresponding to the current queue is converted from the Closed state to the Open state.
In one embodiment of the application, the time slots in the gating list are determined; wherein the time slot is of a configurable duration. And respectively carrying out flow configuration on a plurality of time slots in the gating list based on the flow type and the flow quantity corresponding to the flow data so as to lead the video stream to be transmitted preferentially.
Specifically, the video stream enters a scheduling stream queue, and is scheduled preferentially according to the time of a designed gating time list and the door opening and closing state. The gating list period is made up of configurable time slots. Each time slot also has a configurable duration in which one or several traffic classes are allowed to be transmitted.
In one embodiment of the application, the priority of the traffic data is determined based on the traffic type; wherein the video stream is highest priority. The quantity of the traffic data with different priorities is determined, so that the time length required for traffic transmission with different priorities is determined based on the quantity. And respectively carrying out flow configuration on a plurality of time slots in the gating list based on the priority of the flow data and the time length required by the flow transmission.
For example, if the period consists of three time slots. In the first time slot, only traffic for video data is allowed to be transmitted, while in the second time slot, sensor and control traffic class traffic is allowed to be transmitted, and the third time slot transmits the remaining traffic classes.
Further, the number of time slots, duration and allowed traffic categories required may be configured accordingly to control the delay and bandwidth usage of each communication, depending on the requirements of each traffic category. This configuration is independent for each ethernet port of each device on the video network.
Further, in a TSN network, in order to ensure the correct behavior of the gating operation, the first condition is that nanosecond time synchronization is achieved by the IEEE 802.1AS protocol.
S103, based on the queue information corresponding to the queues, respectively, the gating window corresponding to the video stream and the gating windows corresponding to the control type information stream are respectively adjusted so as to realize real-time transmission of the video stream data.
In one embodiment of the present application, in the case that the number of video streams in the queue information is not greater than the first preset threshold, the video streams are forwarded normally by the repeater based on the setting of the current gating window. And under the condition that the number of the video streams in the queue information is larger than a first preset threshold value, increasing the number of gating windows corresponding to the video streams, and forwarding the video streams through a repeater. And under the condition that the number of the control class information flows in the queue information is not larger than a second preset threshold value, reducing the number of gating windows corresponding to the control class information flows, and transmitting the control class information flows to the controller. And under the condition that the number of the control class information flows in the queue information is larger than a second preset threshold value, transmitting the control class information flows to the controller based on the number of the gating windows corresponding to the current control class information flows.
Specifically, the embodiment of the application monitors the flow data in each queue in real time. If the number of the video streams in the queue information is not greater than the first preset threshold value, the current gating window is indicated to normally complete data transmission, and at the moment, the video streams are normally forwarded based on the setting of the current gating window. If the number of video streams in the queue information is greater than the first preset threshold, the current gating window is difficult to normally complete data transmission, and the problems of overlong waiting time and communication delay may exist. At this time, the number of gating windows may be increased according to the number of queued video streams to reduce the data amount of the video streams in each queue, thereby increasing the speed of video stream conversion.
Further, if the number of control class information flows in the current queue is smaller, the number of gating windows corresponding to the control class information is reduced, and if the number of video flows is larger, the gating windows corresponding to the reduced control class information can be converted into gating windows corresponding to the video flow data. If the number of the control class information streams in the current queue is large, under the condition that the video stream can be ensured to be converted normally, the control class information streams are converted based on the currently set gating window. Because the video flows are more, the switch does not have enough buffer, and then the excessive data can only be discarded, so that congestion packet loss is generated, and video clamping is caused. Therefore, the embodiment of the application preferably ensures that the video stream data can be converted normally.
Fig. 2 is a communication frame diagram of a terminal group according to an embodiment of the present application. As shown in fig. 2, the terminal group communication framework includes a video data stream and other data streams. The same data stream maps to the same queue, shown as queues 0 through 7, and each queue corresponds to a gate window, shown as gate 0 through gate N. And uploading each queue state to the GCL, and configuring a gating list through the GCL. And performing configuration management on each gating window based on the configured gating list so as to perform queue management. Therefore, the video output scheme is adjusted in time based on different flow rates, so that timeliness and accuracy of video output are ensured.
Fig. 3 is a schematic structural diagram of a TSN-based video service transmission device according to an embodiment of the present application. As shown in fig. 3, the TSN-based video service transmission apparatus includes: at least one processor; and a memory communicatively coupled to the at least one processor; wherein the memory stores instructions executable by the at least one processor to enable the at least one processor to: classifying the received data streams and mapping the data streams with the same characteristics to the same queue; the data stream is divided into a video stream and a control information stream; setting a plurality of gating windows in a preset TSN network, and configuring flow data corresponding to the data flow to the corresponding gating windows; and respectively adjusting a gating window corresponding to the video stream and a plurality of gating windows corresponding to the control type information stream based on queue information respectively corresponding to a plurality of queues so as to realize real-time transmission of the video stream data.
Embodiments of the present application also provide a non-volatile computer storage medium storing computer-executable instructions configured to: classifying the received data streams and mapping the data streams with the same characteristics to the same queue; the data stream is divided into a video stream and a control information stream; and setting a plurality of gating windows in a preset TSN network, and configuring flow data corresponding to the data flow to the corresponding gating windows. And respectively adjusting a gating window corresponding to the video stream and a plurality of gating windows corresponding to the control type information stream based on queue information respectively corresponding to a plurality of queues so as to realize real-time transmission of the video stream data.
According to the embodiment of the application, the data streams are classified, a plurality of gating windows are set in a preset TSN network, and flow data corresponding to the data streams are configured to the corresponding gating windows. Therefore, lossless transmission of video data streams is realized through a TSN (traffic channel) switching chip technology, the video data streams are output from the gating list preferentially, and the queuing time is not required to be buffered. Meanwhile, impact on video traffic caused by occupation of external interference traffic bandwidth is reduced, stability of a network is enhanced, occurrence of network congestion is reduced, and video transmission quality is improved.
The embodiments of the present application are described in a progressive manner, and the same and similar parts of the embodiments are all referred to each other, and each embodiment is mainly described in the differences from the other embodiments. In particular, for apparatus, devices, non-volatile computer storage medium embodiments, the description is relatively simple, as it is substantially similar to method embodiments, with reference to the section of the method embodiments being relevant.
The foregoing is merely exemplary of the present application and is not intended to limit the present application. Various modifications and changes may be made to the embodiments of the application by those skilled in the art. Such modifications and substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present application.

Claims (10)

1. A TSN-based video service transmission method, the method comprising:
classifying the received data streams and mapping the data streams with the same characteristics to the same queue; the data stream is divided into a video stream and a control information stream;
setting a plurality of gating windows in a preset TSN network, and configuring flow data corresponding to the data flow to the corresponding gating windows;
and respectively adjusting a gating window corresponding to the video stream and a plurality of gating windows corresponding to the control type information stream based on queue information respectively corresponding to a plurality of queues so as to realize real-time transmission of the video stream data.
2. The TSN-based video service transmission method of claim 1, wherein the adjusting the gating window corresponding to the video stream and the gating windows corresponding to the control class information stream based on the queue information corresponding to the queues respectively comprises:
under the condition that the number of video streams in the queue information is not greater than a first preset threshold value, normally forwarding the video streams through a repeater based on the setting of a current gating window;
when the number of video streams in the queue information is larger than the first preset threshold value, increasing the number of gating windows corresponding to the video streams, and forwarding the video streams through a repeater;
reducing the number of gating windows corresponding to the control class information flows under the condition that the number of the control class information flows in the queue information is not greater than a second preset threshold value, and transmitting the control class information flows to a controller;
and transmitting the control class information stream to a controller based on the number of gating windows corresponding to the current control class information stream under the condition that the number of the control class information stream in the queue information is larger than a second preset threshold value.
3. The TSN-based video traffic transmission method of claim 1, wherein after said classifying the received data stream, the method further comprises:
under the condition that the data stream is a video stream, carrying out different maximum burst configuration on traffic categories in Ethernet ports corresponding to each device in a TSN network respectively so as to limit burst quantity of data packets corresponding to the video stream;
and conveying the configured data stream to an edge switch in the TSN network.
4. The TSN-based video service transmission method of claim 1, wherein the configuring the traffic data corresponding to the data stream to the corresponding gating window specifically comprises:
constructing a gating list configuration based on the flow data corresponding to the data flow; wherein, the gating list at least comprises a transmission gate state, a gating period and a transmission gate state;
and configuring the gating window corresponding to the flow data based on the gating list, and sending the configured gating list to the gating window corresponding to the flow data so as to adjust the state of the gating window corresponding to the flow data.
5. The TSN-based video service transmission method of claim 4, wherein configuring the gating window corresponding to the traffic data based on the gating list specifically comprises:
under the condition that the current queue does not have data flow, switching a gating window corresponding to the current queue from an Open state to a Closed state;
and under the condition that the current queue has data flow, switching the gating window corresponding to the current queue from the Closed state to the Open state.
6. The TSN-based video service transmission method of claim 4, wherein after constructing a gating list configuration based on traffic data corresponding to the data stream, the method further comprises:
determining a time slot in the gating list; wherein the time slot is of a configurable duration;
and respectively carrying out flow configuration on a plurality of time slots in the gating list based on the flow type and the flow quantity corresponding to the flow data so as to lead the video stream to be transmitted preferentially.
7. The TSN-based video service transmission method of claim 6, wherein the traffic configuration is performed on the plurality of time slots in the gating list based on the traffic type and the traffic number corresponding to the traffic data, respectively, and specifically includes:
determining the priority of the flow data based on the flow type; wherein the video stream is the highest priority;
determining the quantity of flow data with different priorities so as to determine the time length required by the flow transmission with different priorities based on the quantity;
and respectively carrying out flow configuration on a plurality of time slots in the gating list based on the priority of the flow data and the time length required by the flow transmission.
8. The TSN-based video traffic transmission method of claim 1, wherein after setting a plurality of gating windows in a preset TSN network, the method further comprises:
in the TSN network, the time synchronization of the plurality of gating windows in nanosecond level is realized through an IEEE 802.1AS protocol.
9. A TSN-based video traffic transmission device, comprising:
at least one processor; the method comprises the steps of,
a memory communicatively coupled to the at least one processor; wherein,,
the memory stores instructions executable by the at least one processor to enable the at least one processor to:
classifying the received data streams and mapping the data streams with the same characteristics to the same queue; the data stream is divided into a video stream and a control information stream;
setting a plurality of gating windows in a preset TSN network, and configuring flow data corresponding to the data flow to the corresponding gating windows;
and respectively adjusting a gating window corresponding to the video stream and a plurality of gating windows corresponding to the control type information stream based on queue information respectively corresponding to a plurality of queues so as to realize real-time transmission of the video stream data.
10. A non-transitory computer storage medium storing computer-executable instructions configured to:
classifying the received data streams and mapping the data streams with the same characteristics to the same queue; the data stream is divided into a video stream and a control information stream;
setting a plurality of gating windows in a preset TSN network, and configuring flow data corresponding to the data flow to the corresponding gating windows;
and respectively adjusting a gating window corresponding to the video stream and a plurality of gating windows corresponding to the control type information stream based on queue information respectively corresponding to a plurality of queues so as to realize real-time transmission of the video stream data.
CN202310739979.3A 2023-06-21 2023-06-21 Video service transmission method, device and medium based on TSN Pending CN116708871A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310739979.3A CN116708871A (en) 2023-06-21 2023-06-21 Video service transmission method, device and medium based on TSN

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310739979.3A CN116708871A (en) 2023-06-21 2023-06-21 Video service transmission method, device and medium based on TSN

Publications (1)

Publication Number Publication Date
CN116708871A true CN116708871A (en) 2023-09-05

Family

ID=87840833

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310739979.3A Pending CN116708871A (en) 2023-06-21 2023-06-21 Video service transmission method, device and medium based on TSN

Country Status (1)

Country Link
CN (1) CN116708871A (en)

Similar Documents

Publication Publication Date Title
US8411574B2 (en) Starvation free flow control in a shared memory switching device
US9992130B2 (en) Systems and methods for flow control and quality of service
KR100644445B1 (en) Class-Based Rate Control Using a Multi-Threshold Leaky Bucket
CN109120544B (en) Transmission control method based on host end flow scheduling in data center network
US7061866B2 (en) Metered packet flow for packet switched networks
US8819265B2 (en) Managing flow control buffer
US7573821B2 (en) Data packet rate control
EP2093945B1 (en) A method for realizing back pressure of masses of ports and the device thereof
Siemon Queueing in the Linux network stack
CN113206800B (en) Message caching method and device and network equipment
US20220200858A1 (en) Method and apparatus for configuring a network parameter
US20080089351A1 (en) Flow control in communication networks
EP3032785B1 (en) Transport method in a communication network
WO2022042282A1 (en) Lossless traffic congestion adaption method, system and network device
JP4652314B2 (en) Ether OAM switch device
US7471630B2 (en) Systems and methods for performing selective flow control
CN116708871A (en) Video service transmission method, device and medium based on TSN
GB2355374A (en) Packet forwarding device with selective packet discarding when paused
WO2023207461A1 (en) Congestion flow identification method and apparatus, device, and computer readable storage medium
US11876726B2 (en) Disabling cut-through frame transfer based on a cycle time period and apparatus for disabling
US11671281B1 (en) Handling interface clock rate mismatches between network devices
CN108900418B (en) Network IP shunting method for high-speed rail millimeter wave communication system
KR101049289B1 (en) Transmission speed control device and method in asynchronous transmission system
CN117897936A (en) Message forwarding method and device
CN117255065A (en) Method and device for reducing forwarding delay of network equipment

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