CN111385667A - Video data processing method, device and computer readable storage medium - Google Patents

Video data processing method, device and computer readable storage medium Download PDF

Info

Publication number
CN111385667A
CN111385667A CN201811605749.3A CN201811605749A CN111385667A CN 111385667 A CN111385667 A CN 111385667A CN 201811605749 A CN201811605749 A CN 201811605749A CN 111385667 A CN111385667 A CN 111385667A
Authority
CN
China
Prior art keywords
service flow
preset service
message
data processing
video data
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
CN201811605749.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.)
China Telecom Corp Ltd
Original Assignee
China Telecom Corp 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 China Telecom Corp Ltd filed Critical China Telecom Corp Ltd
Priority to CN201811605749.3A priority Critical patent/CN111385667A/en
Publication of CN111385667A publication Critical patent/CN111385667A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/60Network structure or processes for video distribution between server and client or between remote clients; Control signalling between clients, server and network components; Transmission of management data between server and client, e.g. sending from server to client commands for recording incoming content stream; Communication details between server and client 
    • H04N21/63Control signaling related to video distribution between client, server and network components; Network processes for video distribution between server and clients or between remote clients, e.g. transmitting basic layer and enhancement layers over different transmission paths, setting up a peer-to-peer communication via Internet between remote STB's; Communication protocols; Addressing
    • H04N21/647Control signaling between network components and server or clients; Network processes for video distribution between server and clients, e.g. controlling the quality of the video stream, by dropping packets, protecting content from unauthorised alteration within the network, monitoring of network load, bridging between two different networks, e.g. between IP and wireless
    • H04N21/64784Data processing by the network
    • H04N21/64792Controlling the complexity of the content stream, e.g. by dropping packets
    • 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/21Server components or server architectures
    • H04N21/218Source of audio or video content, e.g. local disk arrays
    • H04N21/2187Live feed
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/60Network structure or processes for video distribution between server and client or between remote clients; Control signalling between clients, server and network components; Transmission of management data between server and client, e.g. sending from server to client commands for recording incoming content stream; Communication details between server and client 
    • H04N21/63Control signaling related to video distribution between client, server and network components; Network processes for video distribution between server and clients or between remote clients, e.g. transmitting basic layer and enhancement layers over different transmission paths, setting up a peer-to-peer communication via Internet between remote STB's; Communication protocols; Addressing
    • H04N21/643Communication protocols
    • H04N21/64322IP
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/60Network structure or processes for video distribution between server and client or between remote clients; Control signalling between clients, server and network components; Transmission of management data between server and client, e.g. sending from server to client commands for recording incoming content stream; Communication details between server and client 
    • H04N21/63Control signaling related to video distribution between client, server and network components; Network processes for video distribution between server and clients or between remote clients, e.g. transmitting basic layer and enhancement layers over different transmission paths, setting up a peer-to-peer communication via Internet between remote STB's; Communication protocols; Addressing
    • H04N21/647Control signaling between network components and server or clients; Network processes for video distribution between server and clients, e.g. controlling the quality of the video stream, by dropping packets, protecting content from unauthorised alteration within the network, monitoring of network load, bridging between two different networks, e.g. between IP and wireless
    • H04N21/64723Monitoring of network processes or resources, e.g. monitoring of network load
    • H04N21/64738Monitoring network characteristics, e.g. bandwidth, congestion level

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Computer Security & Cryptography (AREA)
  • Databases & Information Systems (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

The invention discloses a video data processing method, a video data processing device and a computer readable storage medium, and relates to the technical field of network transmission. The video data processing method comprises the following steps: identifying a message of a preset service flow in the acquired video flow; determining the message discarding probability corresponding to a preset service flow; and based on the message discarding probability corresponding to the preset service flow, performing packet discarding processing on the message of the corresponding preset service flow. The embodiment of the invention can identify the message of each preset service flow and carry out corresponding packet loss processing according to the message loss probability corresponding to each service flow. Therefore, the congestion control aiming at the specific service flow is realized, and meanwhile, the service quality can be ensured not to be influenced. And the calculation amount is small, and the congestion control efficiency is high.

Description

Video data processing method, device and computer readable storage medium
Technical Field
The present invention relates to the field of network transmission technologies, and in particular, to a video data processing method, an apparatus, and a computer-readable storage medium.
Background
The 4K/8K, AR/VR ultra high definition video service has very strict requirements on the bearer network. Taking a 4K video as an example, the requirements for smooth playing of the 4K video are as follows: the network end-to-end time delay should be less than 10ms, and the average packet loss rate should be less than 0.5%.
The time delay and packet loss are mainly caused by network congestion, and when a port of network equipment is congested, a message enters a queue to wait for scheduling, so that the time delay is increased; when the number of packets is greater than the port line speed and the buffer capacity, packet loss occurs.
In order to avoid network congestion, methods such as a Random Early Detection (RED) algorithm, a Weighted Random Early Detection (wet) algorithm, a Flow Random Early prediction (Flow RED, reed) algorithm, and the like are mainly used in the related art.
Disclosure of Invention
The inventors have realized that RED algorithms do not differentiate traffic, not applicable to QoS services; the WRED algorithm may distinguish between traffic classes, but not every traffic flow; the FRED algorithm can compute each flow, but the computation is very large. In addition, packet loss strategies of technical means such as RED, WRED, and FRED have randomness, and the number of packet loss cannot be accurately controlled for each service flow, which is a main factor affecting the quality of ultra-high-definition video service.
Therefore, the related art cannot perform efficient congestion control for a specific traffic.
The embodiment of the invention aims to solve the technical problem that: how to improve the efficiency of congestion control on a specific service flow and ensure the quality of services.
According to a first aspect of some embodiments of the present invention, there is provided a video data processing method, comprising: identifying a message of a preset service flow in the acquired video flow; determining the message discarding probability corresponding to a preset service flow; and based on the message discarding probability corresponding to the preset service flow, performing packet discarding processing on the message of the corresponding preset service flow.
In some embodiments, the predetermined traffic flow is an ultra high definition video traffic flow.
In some embodiments, a preset type of message in the obtained video traffic is identified according to a value of a Differentiated Services Code Point (DSCP) in a service Type (TOS) identifier of an IP header of the message; and identifying the message of the preset service flow in the acquired message of the preset category according to the destination IP address of the message.
In some embodiments, the packet loss probability corresponding to the preset service flow has a positive correlation with the average length of the waiting queue and the highest packet loss rate corresponding to the preset service flow.
In some embodiments, the message discarding probability P corresponding to the preset service flow is determined by using the following formula:
P=Pmax*(Lavr-THmin)/(THmax-THmin)
wherein, PmaxPresetting the highest packet loss rate of the service flow; l isavrIs the average length of the wait queue; THminIs the minimum length of the wait queue; THmaxThe maximum length of the wait queue.
In some embodiments, the packet loss processing on the packet of the corresponding preset service flow based on the packet loss probability corresponding to the preset service flow includes: counting the number of messages corresponding to a preset service flow; discarding a packet of the preset service flow in response to the counted number of the packets corresponding to the preset service flow reaching the reciprocal of the packet discarding probability corresponding to the preset service flow; and clearing the statistical result of the number of the messages corresponding to the current preset service flow.
In some embodiments, when the average length of the waiting queue is greater than the minimum length of the waiting queue and less than the maximum length of the waiting queue, packet loss processing is performed on packets of a corresponding preset service flow based on a packet loss probability corresponding to the preset service flow.
According to a second aspect of some embodiments of the present invention, there is provided a video data processing apparatus comprising: the message identification module is configured to identify a message of a preset service flow in the acquired video flow; a discarding probability determining module configured to determine a packet discarding probability corresponding to a preset service flow; and the packet loss processing module is configured to perform packet loss processing on the packet of the corresponding preset service flow based on the packet loss probability corresponding to the preset service flow.
According to a third aspect of some embodiments of the present invention, there is provided a video data processing apparatus comprising: a memory; and a processor coupled to the memory, the processor configured to perform any of the foregoing video data processing methods based on instructions stored in the memory.
According to a fourth aspect of some embodiments of the present invention, there is provided a computer readable storage medium having a computer program stored thereon, wherein the program, when executed by a processor, implements any one of the video data processing methods described above.
Some embodiments of the above invention have the following advantages or benefits: the embodiment of the invention can identify the message of each preset service flow and carry out corresponding packet loss processing according to the message loss probability corresponding to each service flow. Therefore, the congestion control for the specific service flow is realized, and the service quality is not influenced. And the calculation amount is small, and the congestion control efficiency is high.
Other features of the present invention and advantages thereof will become apparent from the following detailed description of exemplary embodiments thereof, which proceeds with reference to the accompanying drawings.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to these drawings without creative efforts.
Fig. 1 is a flow diagram of a video data processing method according to some embodiments of the invention.
Fig. 2 is a flow diagram of a traffic flow identification method according to some embodiments of the invention.
Fig. 3 is a flow diagram of a video data processing method according to some embodiments of the invention.
Fig. 4 is a schematic structural diagram of a video data processing apparatus according to some embodiments of the present invention.
Fig. 5 is a schematic structural diagram of a video data processing apparatus according to other embodiments of the present invention.
Fig. 6 is a schematic structural diagram of a video data processing apparatus according to still other embodiments of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. The following description of at least one exemplary embodiment is merely illustrative in nature and is in no way intended to limit the invention, its application, or uses. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The relative arrangement of the components and steps, the numerical expressions and numerical values set forth in these embodiments do not limit the scope of the present invention unless specifically stated otherwise.
Meanwhile, it should be understood that the sizes of the respective portions shown in the drawings are not drawn in an actual proportional relationship for the convenience of description.
Techniques, methods, and apparatus known to those of ordinary skill in the relevant art may not be discussed in detail but are intended to be part of the specification where appropriate.
In all examples shown and discussed herein, any particular value should be construed as merely illustrative, and not limiting. Thus, other examples of the exemplary embodiments may have different values.
It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, further discussion thereof is not required in subsequent figures.
Fig. 1 is a flow diagram of a video data processing method according to some embodiments of the invention. As shown in fig. 1, the video data processing method of this embodiment includes steps S102 to S106.
In step S102, a message of a preset service flow in the acquired video traffic is identified.
The preset service flow may be a service flow that needs to preferentially guarantee video quality. For example, the service flow can be ultra-high-definition video service flow, and can also be other service flows selected by a user in advance.
In some embodiments, the message of the preset service flow in the obtained video traffic may be identified according to the destination IP address of the message.
In step S104, a message discarding probability corresponding to a preset service flow is determined. The minimum length of the waiting queue is a preset value. The message discarding probability corresponding to the preset service flow can be determined according to the corresponding quality requirement. In some embodiments, the determination may be based on the highest packet discarding probability corresponding to each preset traffic flow.
In step S106, based on the packet discarding probability corresponding to the preset service flow, packet discarding processing is performed on the packet of the corresponding preset service flow. For example, the number of packets and the packet discarding probability of the obtained preset traffic flow may be calculated, the number of packets that need to be discarded is calculated, and the number of packets that are discarded or less than the number of packets may be discarded.
In some embodiments, the number of packets corresponding to a preset service flow may be counted; discarding a packet of the preset service flow in response to the counted number of the packets corresponding to the preset service flow reaching the reciprocal of the packet discarding probability corresponding to the preset service flow; and clearing the statistical result of the number of the messages corresponding to the current preset service flow.
For example, the count value of a counter for counting the number of packets corresponding to a certain service flow is Ci, and the packet discard probability corresponding to the service flow is Pi. In response to Ci being 1/Pi, a message discard may be triggered. After discarding a packet, Ci is cleared, so that the number of packets of the service flow after packet discarding can be counted again.
Therefore, the packet discarding process can be uniformly carried out, so that the packet loss is smoother, and the service quality is not influenced.
In some embodiments, when the average length of the waiting queue is greater than the minimum length of the waiting queue and less than the maximum length of the waiting queue, packet loss processing is performed on a packet of a corresponding preset service flow.
By the method of the embodiment, the message of each preset service flow can be identified, and corresponding packet loss processing is performed according to the message loss probability corresponding to each service flow. Therefore, the congestion control aiming at the specific service flow is realized, and the service quality is not influenced. And the calculation amount is small, and the congestion control efficiency is high.
In some embodiments, traffic of a particular type, a particular service, may be identified. An embodiment of the method for identifying a default service flow according to the present invention is described below with reference to fig. 2.
Fig. 2 is a flow diagram of a traffic flow identification method according to some embodiments of the invention. As shown in fig. 2, the traffic flow identification method of this embodiment includes steps S202 to S204.
In step S202, a preset Type of packet in the acquired video traffic is identified according to a value of a DSCP (Differentiated Services Code Point) in a TOS (Type of Service) identifier of an IP header of the packet.
Different DSCP values represent different traffic classes. For example, AF1 may be used to carry private line traffic that is not very important, AF2 may be used to carry VOD traffic, AF3 may be used to carry live traffic for IPTV, AF4 may be used to carry signaling traffic for voice, and so on.
In step S204, the message of the preset service flow in the obtained preset type of video traffic is identified according to the destination IP address of the message.
Taking the IPTV live broadcast scenario as an example, since live broadcast has strong real-time performance and needs to be guaranteed with continuity and high throughput, the packets with DSCP value AF3 can be extracted for statistics to obtain live broadcast type packets. Then, according to the destination IP address of the packet, the packets belonging to each service flow in the packets of the live broadcast category, such as the live broadcast traffic packet of the a user, the live broadcast traffic packet of the B user, and so on, can be distinguished.
By the method of the embodiment, the messages of different service flows can be identified based on the identification of the message header, so that different packet loss processing can be performed on each message.
In some embodiments, the packet loss probability corresponding to the preset service flow has a positive correlation with the average length of the waiting queue and the highest packet loss rate corresponding to the preset service flow. Formula (1) is an example of a method for calculating a packet discard probability corresponding to a service flow.
P=Pmax*(Lavr-THmin)/(THmax-THmin) (1)
In the formula (1), PmaxPresetting the highest packet loss rate of the service flow; l isavrIs the average length of the wait queue; THminIs the minimum length of the wait queue; THmaxThe maximum length of the wait queue. THminAnd THmaxIs a preset value.
Therefore, the packet discarding probability of the service flow can be determined based on the maximum tolerance degree of the service flow to the packet discarding rate and the current congestion condition.
In some embodiments, there are other traffic flows in the waiting queue of the packet besides the preset traffic flow. The embodiment of the invention can perform corresponding processing aiming at different service flows. An embodiment of the video data processing method of the present invention is described below with reference to fig. 3.
Fig. 3 is a flow diagram of a video data processing method according to some embodiments of the invention. As shown in fig. 3, the video data processing method of this embodiment includes steps S302 to S316.
In step S302, each message in the acquired video traffic is identified. The identified messages include one or more preset service flow messages and also include one or more other service flow messages.
In step S304, the length of the wait queue is monitored.
In step S306, the average length of the waiting queue is compared with the minimum length of the waiting queue and the maximum length of the waiting queue.
In case the average length of the waiting queue is smaller than the minimum length of the waiting queue, performing step S308; executing step S310 if the average length of the waiting queue is greater than the minimum length of the waiting queue and less than the maximum length of the waiting queue; in case the average length of the waiting queue is larger than the maximum length of the waiting queue, step S316 is performed.
In step S308, the message is not discarded.
In step S310, it is determined whether the traffic flow is a preset traffic flow.
In step S312, for the preset service flows, based on the packet discarding probability corresponding to each preset service flow, packet discarding processing is performed on the packets of the corresponding preset service flows.
In step S314, for other traffic flows except the preset traffic flow, packet loss processing is performed based on processing manners in related technologies such as RED and WRED.
In step S316, all messages are discarded.
By the method of the embodiment, the service which needs priority guarantee and other services can be subjected to packet loss processing by adopting different strategies. For example, for each service flow of the ultra-high definition service, packet loss processing is performed by using the packet loss probability provided in the embodiment of the present invention; and processing each service flow except for the ultra-high definition service by adopting a conventional means. Thus, the efficiency of congestion control for a particular traffic flow may be improved.
An embodiment of the video data processing apparatus of the present invention is described below with reference to fig. 4.
Fig. 4 is a schematic structural diagram of a video data processing apparatus according to some embodiments of the present invention. As shown in fig. 4, the video data processing apparatus 40 of this embodiment includes: a message identification module 410 configured to identify a message of a preset service flow in the acquired video traffic; a discard probability determining module 420 configured to determine a packet discard probability corresponding to a preset service flow; the packet loss processing module 430 is configured to perform packet loss processing on the packet of the corresponding preset service flow based on the packet loss probability corresponding to the preset service flow.
In some embodiments, the predetermined traffic flow is an ultra high definition video traffic flow.
In some embodiments, the packet identifying module 410 is further configured to identify a preset category of packets in the acquired video traffic according to a value of a differentiated services code point DSCP in a service type TOS identifier of an IP header of the packet; and identifying the message of the preset service flow in the acquired message of the preset category according to the destination IP address of the message.
In some embodiments, the packet loss probability corresponding to the preset service flow has a positive correlation with the average length of the waiting queue and the highest packet loss rate corresponding to the preset service flow.
In some embodiments, the discard probability determining module 420 is further configured to determine the packet discard probability P corresponding to the preset traffic flow by using the following formula:
P=Pmax*(Lavr-THmin)/(THmax-THmin)
wherein, PmaxPresetting the highest packet loss rate of the service flow; l isavrIs the average length of the wait queue; THminIs the minimum length of the wait queue; THmaxThe maximum length of the wait queue.
In some embodiments, the packet loss processing module 430 is further configured to count the number of packets corresponding to the preset service flow; discarding a packet of the preset service flow in response to the counted number of the packets corresponding to the preset service flow reaching the reciprocal of the packet discarding probability corresponding to the preset service flow; and clearing the statistical result of the number of the messages corresponding to the current preset service flow.
In some embodiments, the packet loss processing module 430 is further configured to perform packet loss processing on the packet of the corresponding preset service flow based on the packet dropping probability corresponding to the preset service flow when the average length of the waiting queue is greater than the minimum length of the waiting queue and less than the maximum length of the waiting queue.
Fig. 5 is a schematic structural diagram of a video data processing apparatus according to other embodiments of the present invention. As shown in fig. 5, the video data processing apparatus 50 of this embodiment includes: a memory 510 and a processor 520 coupled to the memory 510, the processor 520 being configured to perform the video data processing method of any of the previous embodiments based on instructions stored in the memory 510.
Memory 510 may include, for example, system memory, fixed non-volatile storage media, and the like. The system memory stores, for example, an operating system, an application program, a Boot Loader (Boot Loader), and other programs.
Fig. 6 is a schematic structural diagram of a video data processing apparatus according to still other embodiments of the present invention. As shown in fig. 6, the video data processing apparatus 60 of this embodiment includes: the memory 610 and the processor 620 may further include an input/output interface 630, a network interface 640, a storage interface 650, and the like. These interfaces 630, 640, 650 and the connections between the memory 610 and the processor 620 may be, for example, via a bus 660. The input/output interface 630 provides a connection interface for input/output devices such as a display, a mouse, a keyboard, and a touch screen. The network interface 640 provides a connection interface for various networking devices. The storage interface 650 provides a connection interface for external storage devices such as an SD card and a usb disk.
An embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, wherein the computer program is configured to implement any one of the video data processing methods when executed by a processor.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable non-transitory storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents, improvements and the like that fall within the spirit and principle of the present invention are intended to be included therein.

Claims (10)

1. A video data processing method, comprising:
identifying a message of a preset service flow in the acquired video flow;
determining the message discarding probability corresponding to a preset service flow;
and based on the message discarding probability corresponding to the preset service flow, performing packet discarding processing on the message of the corresponding preset service flow.
2. The video data processing method according to claim 1, wherein the preset traffic flow is an ultra high definition video traffic flow.
3. The video data processing method according to claim 1,
identifying a preset type of message in the acquired video flow according to the value of a differential service code point DSCP in a service type TOS identifier of the IP header of the message;
and identifying the message of the preset service flow in the acquired message of the preset category according to the destination IP address of the message.
4. The video data processing method according to claim 1, wherein a positive correlation between a packet loss probability corresponding to a preset service flow and an average length of a waiting queue and a highest packet loss probability corresponding to the preset service flow is formed.
5. The video data processing method according to claim 4, wherein the packet dropping probability P corresponding to the preset service flow is determined by using the following formula:
P=Pmax*(Lavr-THmin)/(THmax-THmin)
wherein, PmaxThe highest packet loss rate of the preset service flow is obtained; l isavrIs the average length of the wait queue; THminIs the minimum length of the wait queue; THmaxThe maximum length of the wait queue.
6. The video data processing method according to claim 1, wherein the packet loss processing on the packet of the corresponding preset service flow based on the packet loss probability corresponding to the preset service flow includes:
counting the number of messages corresponding to a preset service flow;
discarding a packet of the preset service flow in response to the counted number of the packets corresponding to the preset service flow reaching the reciprocal of the packet discarding probability corresponding to the preset service flow;
and clearing the statistical result of the number of the messages corresponding to the current preset service flow.
7. The video data processing method according to claim 1, wherein when the average length of the waiting queue is greater than the minimum length of the waiting queue and less than the maximum length of the waiting queue, packet loss processing is performed on packets of a corresponding preset service flow based on a packet loss probability corresponding to the preset service flow.
8. A video data processing apparatus comprising:
the message identification module is configured to identify a message of a preset service flow in the acquired video flow;
a discarding probability determining module configured to determine a packet discarding probability corresponding to a preset service flow;
and the packet loss processing module is configured to perform packet loss processing on the packet of the corresponding preset service flow based on the packet loss probability corresponding to the preset service flow.
9. A video data processing apparatus comprising:
a memory; and
a processor coupled to the memory, the processor configured to perform the video data processing method of any of claims 1-7 based on instructions stored in the memory.
10. A computer-readable storage medium, on which a computer program is stored which, when executed by a processor, implements the video data processing method of any of claims 1 to 7.
CN201811605749.3A 2018-12-27 2018-12-27 Video data processing method, device and computer readable storage medium Pending CN111385667A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811605749.3A CN111385667A (en) 2018-12-27 2018-12-27 Video data processing method, device and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811605749.3A CN111385667A (en) 2018-12-27 2018-12-27 Video data processing method, device and computer readable storage medium

Publications (1)

Publication Number Publication Date
CN111385667A true CN111385667A (en) 2020-07-07

Family

ID=71217828

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811605749.3A Pending CN111385667A (en) 2018-12-27 2018-12-27 Video data processing method, device and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN111385667A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113783794A (en) * 2020-11-27 2021-12-10 北京京东尚科信息技术有限公司 Congestion control method and device
CN113923488A (en) * 2021-09-15 2022-01-11 青岛海信网络科技股份有限公司 Bus, video flow control method and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1549508A (en) * 2003-05-09 2004-11-24 ��Ϊ�������޹�˾ System flow controlling method
US20070133419A1 (en) * 2005-12-13 2007-06-14 Alcatel Communication traffic congestion management systems and methods
CN101232455A (en) * 2008-02-04 2008-07-30 中兴通讯股份有限公司 Congestion control method and apparatus
CN108600118A (en) * 2018-03-30 2018-09-28 新华三技术有限公司 Message processing method, device and electronic equipment

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1549508A (en) * 2003-05-09 2004-11-24 ��Ϊ�������޹�˾ System flow controlling method
US20070133419A1 (en) * 2005-12-13 2007-06-14 Alcatel Communication traffic congestion management systems and methods
CN101232455A (en) * 2008-02-04 2008-07-30 中兴通讯股份有限公司 Congestion control method and apparatus
CN108600118A (en) * 2018-03-30 2018-09-28 新华三技术有限公司 Message processing method, device and electronic equipment

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113783794A (en) * 2020-11-27 2021-12-10 北京京东尚科信息技术有限公司 Congestion control method and device
CN113923488A (en) * 2021-09-15 2022-01-11 青岛海信网络科技股份有限公司 Bus, video flow control method and storage medium
CN113923488B (en) * 2021-09-15 2024-04-16 青岛海信网络科技股份有限公司 Bus, video flow control method and storage medium

Similar Documents

Publication Publication Date Title
EP3516833B1 (en) Methods, systems, and computer readable media for discarding messages during a congestion event
US10218620B2 (en) Methods and nodes for congestion control
US9674102B2 (en) Methods and network device for oversubscription handling
JP5659125B2 (en) Relay device and relay method
KR20090004166A (en) Apparatus and method for limiting packet transmission rate in a communication system
CN108600118B (en) Message processing method and device and electronic equipment
CN110138610B (en) Service message sending method and device
EP3128704A1 (en) Method and apparatus for limiting rate by means of token bucket, and computer storage medium
CN108234455B (en) Message forwarding control method and device, computer device and storage medium
CN107872401B (en) Network key service guarantee method and device
US11606448B2 (en) Efficient capture and streaming of data packets
RU2009144127A (en) SERVICE QUALITY MANAGEMENT BASED ON MONITORING THE STATE OF THE STREAM STREAM WITHOUT USER SIGNALING
WO2018113436A1 (en) Method and device for network congestion processing
CN110138678B (en) Data transmission control method and device, network transmission equipment and storage medium
CN111324886A (en) Service request processing method and device and server
CN111385667A (en) Video data processing method, device and computer readable storage medium
US8867350B2 (en) Method and apparatus for packet buffering measurement
CN113746700B (en) Elephant flow rapid detection method and system based on probability sampling
WO2021234764A1 (en) Burst traffic detection device, burst traffic detection method and burst traffic detection program
JP5611171B2 (en) Packet processing method and packet processing apparatus
CN116582493A (en) Data center network link selection method and device and electronic equipment
US7933204B2 (en) Method for organizing packets belonging to streams, and associated equipment
CN110336759B (en) RDMA (remote direct memory Access) -based protocol message forwarding method and device
RU2728948C1 (en) Method for early detection of occurrence moment of poisson's teletraffic overload
CN113806083B (en) Method and device for processing aggregate flow data

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20200707

RJ01 Rejection of invention patent application after publication