CN110505533A - A kind of method that TCP transmission of video carries out error code Retransmission control - Google Patents

A kind of method that TCP transmission of video carries out error code Retransmission control Download PDF

Info

Publication number
CN110505533A
CN110505533A CN201910614779.9A CN201910614779A CN110505533A CN 110505533 A CN110505533 A CN 110505533A CN 201910614779 A CN201910614779 A CN 201910614779A CN 110505533 A CN110505533 A CN 110505533A
Authority
CN
China
Prior art keywords
error code
packet loss
transmission
tcp
congestion
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.)
Granted
Application number
CN201910614779.9A
Other languages
Chinese (zh)
Other versions
CN110505533B (en
Inventor
杨工明
李衡
徐勇
周子容
叶隽毅
李嘉仪
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hangzhou Yisheng Information Technology Co Ltd
Original Assignee
Hangzhou Yisheng Information 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 Hangzhou Yisheng Information Technology Co Ltd filed Critical Hangzhou Yisheng Information Technology Co Ltd
Priority to CN201910614779.9A priority Critical patent/CN110505533B/en
Publication of CN110505533A publication Critical patent/CN110505533A/en
Application granted granted Critical
Publication of CN110505533B publication Critical patent/CN110505533B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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/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
    • 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
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Computer Security & Cryptography (AREA)
  • Communication Control (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Detection And Prevention Of Errors In Transmission (AREA)

Abstract

The invention discloses a kind of methods that TCP transmission of video carries out error code Retransmission control.Current mechanism will lead to transmission speed reduction, and a large amount of video stream data message delay is caused to reach.The method of the present invention recipient judges whether packet loss and detects error code after receiving message, if there is error code, calculates the packet loss and the bit error rate of the message.Recipient is handled according to packet loss with error condition respectively: packet loss is 0 or is less than threshold value, continues normal transmission;Packet loss is more than or equal to threshold value, and the bit error rate is less than threshold value, does not do error code and retransmits notice processing, starts congestion avoidance mechanism and slow turn-on mechanism;Packet loss and the bit error rate are all larger than equal to threshold value, after observing a period of time, are handled according to different situations, if packet loss continues normal acceleration without aggravation phenomenon, otherwise explanation exists simultaneously congestion phenomenon, slows down according to TCP rule.The method of the present invention can greatly reduce triggering network congestion, smooth network environment.

Description

A kind of method that TCP transmission of video carries out error code Retransmission control
Technical field
The invention belongs to fields of communication technology, and in particular to it is a kind of using Transmission Control Protocol video transmitting procedure in, to by The packet loss caused by error code reason retransmits the error code re-transmission controlling method optimized
Background technique
TCP (transmission control protocol, Transmission Control Protocol) is a kind of connection-oriented, reliable , transport layer communication protocol based on byte stream, be the prevailing transmission control association that current Internet environment carries out transmission of video View provides reliable transmission service sequentially between each host.TCP congestion control is the major reason of its successful application, i.e., only It wants terminal to be tested with loss of data, is considered caused by network congestion, then call congestion control mechanism, this is for link matter It is suitable for measuring preferable cable environment.Congestion refers to that router reaches flow because that can not handle high-speed, and is forced to abandon number It is believed that the phenomenon that breath.Congestion control, which refers to, prevents excessive data to be injected into network, can make the router in network in this way Or link will not overload and generally use the mechanism such as slow turn-on, Congestion Avoidance.Wherein, slow turn-on refers to just has opened in sender's host Begin the situation that a lower network is first detected when sending datagram, if Network status is good, sender is every to send primary literary section The confirmation message segment of other side can correctly be received.The size of increase congestion window so just from small to large, that is, increase and send The size of window.Congestion Avoidance refers to the growth that congestion window (cwnd) slowly increases rather than doubles, and often lives through primary Two-way time just makes congestion window (cwnd) to increase by 1, rather than doubles, and increases cwnd slowly in this way.As long as judging network There is congestion to be set as sending the half (>=2) of window, cwnd it is necessary to which slow turn-on is started thresholding (ssthresh) It is set as 1, then reuses slowstart algorithm, thus host can be rapidly reduced and transmit data into network, make to gather around The router of plug can finish the packet transaction accumulated in queue.
In the transmission of video under based on wireless environment, since wireless environment is compared with cable environment, usually have higher Bit error rate (BER), variation bandwidth, time delay be big and frequent mobility, set traditional based on cable environment When the TCP technology of meter is applied to wireless environment, significantly degraded performance will cause.This is because in wireless environments, losing Caused by the reason of packet is not necessarily congestion, packet loss most of the time is undesirable by channel self character, such as signal is dry It disturbs, multipath fading etc., or as caused by moving and switch, TCP handles packet loss caused by error code as congestion, and drops Low packet sending speed, it is clear that be inappropriate.Therefore how packet loss reason is effectively distinguished in wireless network, and made accordingly correct anti- The key for improving wireless network winding thread TCP transmission video flowing performance should just be become.
In congestion packet loss, congestion avoidance algorithm is called, reduces data package transmission velocity;In Wireless Losses, using aobvious Formula retransmits, and keeps original transmission rate.
Influence of the high bit-error to TCP performance includes following two:
(1) influence of the random error to TCP: if seldom, can be restored using error correcting code;Excessive error code then may cause Message is dropped before reaching transport layer;Cause Fast retransmission;Window is reduced, throughput reduces;
(2) time-out influence of the error burst to TCP performance: may be caused;Slow turn-on, throughput reduce;Fast retransmission is led It causes to retransmit and loses message, reduces congestion window, throughput reduces.
Error code refers to that digital signal is inadequate by extraneous interference, the quality of route exchange device during wireless transmission It is ideal and be distorted the signal of transmission, or since channel width not enough causes distorted signals etc., so that receiving end can not The phenomenon that normally receiving correct message and being dropped.
Explicit Congestion notice (ECN) (RFC 3168) in Transmission Control Protocol discloses a kind of router report and response of host Mechanism.When congestion occurs, sending host must be still in the transmission rate for reducing them.However, by avoiding losing for packet It loses, sends host and be not necessarily to enter retransmission processes, losing sensitive data packet stream will not be greatly affected because of congestion.IP ECN is supported using the unused field in packet header with TCP.
At network layer (IP), a transmission host allows for showing itself to carry out ECN, and router must in forwarding It must can show that it is undergoing congestion.
At transport layer (TCP), the end TCP must show other side that itself can carry out ECN operation.Receiving end must be able to Enough notice transmitting terminal it have received the congestion notification from router.Transmitting terminal allows for notice receiving end, and it is received Notice from receiving end and transmission rate is reduced.
Meanwhile most importantly, this and the acceptable degree of error code can not be configured, can not adaptive video stream The presence of the acceptable bit error rate in transmission can be reduced since a large amount of error codes retransmit the load down to network.When a large amount of error codes When can not also judge that error code Retransmission control must be used.
There are also a kind of schemes, using Congestion Avoidance and slow turn-on mechanism, when network since mass data report can not be normal (either due to error code or packet loss) when receiving and congestion occur, TCP can start congestion avoidance mechanism immediately, reduce and send window Mouthful, then use slow turn-on.If occur in network the reason of congestion due to being largely delayed, packet loss, enabling congestion mechanism can Congestion is reduced with smooth and control.But due in a wireless communication environment, packet loss (negligible amounts caused by transmission of video error code Situation) it is image Caton or part mosaic phenomenon that of short duration influence video flowing transmits, at this moment if regarding normal congestion Slow turn-on is started thresholding (ssthresh) immediately and is set as sending the half of window by control, and cwnd is set as 1, so After reuse slowstart algorithm, although can rapidly reduce host in this way injects data into network, make occur congestion routing Device can finish the packet transaction accumulated in queue, but just because of the connection-oriented characteristic of TCP, congestion control policy pole The transmission speed for reducing the connection of some video greatly will cause a large amount of video stream data message delay and reach, to cause video Serious delay, even serious Caton, and may grow in intensity, it gradually aggravates or even runs quickly to burst.
In existing TCP, slow turn-on mechanism and congestion avoidance mechanism are all that acceleration slowly is sent, when encountering packet loss then Speed halves.Especially when wireless environment video transmits, the reason of may can not receive correct message is error code, Er Feiyong Plug.So improvement is, recipient has found packet loss, passes through real-time measurement quality of wireless channel: if packet loss is lower than some threshold value A, video quality are still endured, then in the confirmation message fed back " indicating need not retransmit ", avoid re-transmission from causing bandwidth waste, simultaneously Error code information is prompted in the confirmation message of feedback;If packet loss is higher than threshold value A, but the bit error rate is higher than threshold value B, illustrates packet loss very Caused by may be error code, then TCP does not slow down and does not accelerate yet, observation a period of time, if packet loss continues normal without aggravation phenomenon Accelerate, otherwise explanation exists simultaneously congestion phenomenon, slows down according to TCP rule;If packet loss is higher than threshold value A, and the bit error rate is lower than Threshold value B caused by illustrating that packet loss is likely due to congestion, slows down according to TCP rule is normal.
Summary of the invention
The object of the present invention is to provide a kind of methods that TCP transmission of video carries out error code Retransmission control.
Transmission of video based on TCP establishes connection, and enters normal data exchange.Due to video flowing transmission duration, It establishes after connection unless reasons, the connections such as active break or network disconnect keep time-continuing process.In some time point, due to wireless network There is the message of error code, error code message in the reasons such as interference, variation, the switching of network environment, the certain groupings for causing sender to send May be it is individual, may also continuous message error code.The situation occurs, needs to carry out error code re-transmission.Error code retransmits specific control Method is as follows:
(1) sender persistently sends message, and recipient is receiving serial number M1 message, judging whether packet loss and detect Error code, if there is error code, then the code message number for carrying out t time window adds up S, calculates the packet loss PLR and the bit error rate of the message SER;
T is the calculating period of time window, is set as 1 second;S is error code accumulative total, if there is error code in the t period, then S Adding 1, S is four figures value.
(2) recipient judges packet loss and error condition, and does following processing:
Packet loss does not occur and keeps present transmission state for A.PLR=0, expression, continues normal transmission, does not do error code and retransmits notice Processing, 6 reserved fields of TCP acknowledgment message header that recipient sends set 0 entirely;Sender receives TCP acknowledgment message, confirmation In 6 reserved fields of message header first 2 be 00 when, determination need not retransmit.
B.PLR < τ 1, there is shown now a small amount of message error code, the influence for video flowing can receive, and keep current transmission State continues normal transmission, does not do error code and retransmits notice processing.6 reserved fields of TCP acknowledgment message header that recipient sends In preceding 2 position 0, expression need not retransmit, and latter 4 are S value, and error code accumulative total S carries out the tired of error code message number by t time window Meter.τ 1 be setting packet loss threshold value, 5 × 10-4~5 × 10-3.Sender receives TCP acknowledgment message, confirmation message header 6 Position reserved field in first 2 be 00 when, determination need not retransmit.
C.PLR >=τ 1 and SER < τ 2, caused by indicating that packet loss is likely due to congestion, according to TCP congestion avoidance mechanism It is normal to slow down, error code is not done retransmits notice processing;Preceding 2 position in 6 reserved fields of TCP acknowledgment message header that recipient sends 01, indicate that congestion is slowed down, latter 4 are S value.Sender receives TCP acknowledgment message, in 6 reserved fields of confirmation message header First 2 when being 01, start congestion avoidance mechanism and slow turn-on mechanism.τ 2 be setting bit error rate threshold, 5 × 10-5~5 × 10-4
There is error code in D.PLR >=τ 1 and SER >=τ 2, expression, and close to error code tolerance limit, processing method is using first at this time Do not accelerate not slow down yet, observe a period of time k, if packet loss continues normal acceleration, otherwise explanation exists simultaneously without aggravation phenomenon Congestion phenomenon is slowed down according to TCP rule.K is observing time window, is set as 0.5~2 second.Specific error code retransmits notice processing such as Under:
A. when there is PLR >=τ 1 and SER >=τ 2 for the first time, 6 reserved fields of TCP acknowledgment message header of recipient's transmission In preceding 2 position 10, indicate error code observation, latter 4 be S value, while start error code observation timing;Sender receives confirmation message Afterwards, it does not retransmit, does not also slow down, continue normal transmission.
B. after the k period, still PLR >=τ 1 and SER >=τ 2, but PLR is not increased, indicates that packet loss without aggravation phenomenon, connects Preceding 2 position 10 in 6 reserved fields of TCP acknowledgment message header that debit sends indicates error code observation, and latter 4 are S value, simultaneously Start error code and observes timing;After sender receives confirmation message, continuation is not retransmitted, and is not also slowed down, and normal transmission is continued.
C. after the k period, still PLR >=τ 1 and SER >=τ 2, PLR increasing, but SER is not increased, there is shown and existing congestion adds Acute phenomenon, preceding 2 position 01 indicates congestion deceleration in 6 reserved fields of TCP acknowledgment message header that recipient sends, and latter 4 are S value, while starting error code observation timing;Sender from 6 reserved fields of confirmation message header first 2 be 01 when, starting is gathered around Fill in avoidance mechanism and slow turn-on mechanism.
D. after the k period, still PLR >=τ 1 and SER >=τ 2, PLR increasing and SER are increased, there is shown existing error code aggravation Phenomenon, and since error code is more than that threshold value influences actual use, it carries out retrieving+error code re-transmission.The TCP that recipient sends is true Recognizing preceding 2 position 11 in 6 reserved fields of message header indicates to slow down and retransmit, and latter 4 are S value, while starting error code observation meter When.When to analyze preceding 2 in 6 reserved fields of sender's confirmation message header be 11, starting congestion avoidance mechanism and slow turn-on machine System, while error code re-transmission is carried out, re-transmission message number is 0.5 times of S value.
Do not start packet lost by corruption using the acceptable a small amount of error code of the method for the present invention to retransmit, triggering network can be greatly reduced and gathered around Plug;Using message field (MFLD) transmission error code severity and reduction of speed+reissue commands are retained, it is not necessarily to overhead;It is regarded in wireless transmission In the environment of frequency flows, the re-transmission of each video flowing will double to impact to network, and starting retransmits on demand, can smooth network Environment.
Specific embodiment
Video flowing recipient has found packet loss, passes through real-time measurement quality of wireless channel: if packet loss is higher than given threshold, accidentally Code rate is also above given threshold, and caused by illustrating that packet loss is likely to error code, then TCP does not slow down and do not accelerate yet, when observing one section Between, if packet loss continues normal acceleration without aggravation phenomenon, otherwise explanation exists simultaneously congestion phenomenon, slows down according to TCP rule; If packet loss is higher than given threshold, and the bit error rate is lower than given threshold, caused by illustrating that packet loss is likely due to congestion, according to TCP rule is normal to slow down.
Video flowing recipient has found packet loss, passes through real-time measurement quality of wireless channel: if packet loss is lower than some threshold value, depending on Frequently reasonable to endure, then in the confirmation message fed back " indicating need not retransmit ", avoid re-transmission from causing bandwidth waste, while anti- Error code information is prompted in the confirmation message of feedback;The serial number of confirmation fills in the maximum fragment serial number received;But if it is higher than packet loss threshold value, The label of " need not retransmit " is not beaten then, and the serial number of confirmation fills in the loss fragment serial number received;
Recipient has found that the bit error rate is higher than threshold value, then fills in warning information in the reserved bit of confirmation message;Sender receives It is analyzed to confirmation message, recognizes error code warning information, if the bit error rate is higher than threshold value, taken immediate measure, adjust nothing The measures such as line channel quality, including adjust automatically antenna direction, transmission power.
Judge that the method for the bit error rate feeds back the method for " need not retransmit " or the bit error rate using the reserved bit of confirmation message.
Transmission of video based on TCP establishes connection, and enters normal data exchange.Due to video flowing transmission duration, It establishes after connection unless reasons, the connections such as active break or network disconnect keep time-continuing process.In some time point, due to wireless network There is the message of error code, error code message in the reasons such as interference, variation, the switching of network environment, the certain groupings for causing sender to send May be it is individual, may also continuous message error code.The situation occurs, needs to carry out error code re-transmission.TCP transmission of video carries out error code The method of Retransmission control is specific as follows:
(1) sender persistently sends message, and recipient is receiving serial number M1 message, judging whether packet loss and detect Error code, if there is error code, then the code message number for carrying out t time window adds up S, calculates the packet loss PLR and the bit error rate of the message SER;
T is the calculating period of time window, is set as 1 second;S is error code accumulative total, if there is error code in the t period, then S Adding 1, S is four figures value.
(2) recipient judges packet loss and error condition, and does following processing:
Packet loss does not occur and keeps present transmission state for A.PLR=0, expression, continues normal transmission, does not do error code and retransmits notice Processing, 6 reserved fields of TCP acknowledgment message header that recipient sends set 0 entirely;Sender receives TCP acknowledgment message, confirmation In 6 reserved fields of message header first 2 be 00 when, determination need not retransmit.
B.PLR < τ 1, there is shown now a small amount of message error code, the influence for video flowing can receive, and keep current transmission State continues normal transmission, does not do error code and retransmits notice processing.6 reserved fields of TCP acknowledgment message header that recipient sends In preceding 2 position 0, expression need not retransmit, and latter 4 are S value, and error code accumulative total S carries out the tired of error code message number by t time window Meter.τ 1 be setting packet loss threshold value, 5 × 10-4~5 × 10-3, the present embodiment τ 1=0.001.Sender receives TCP acknowledgment Message, first 2 when being 00 in 6 reserved fields of confirmation message header, determination need not be retransmitted.
C.PLR >=τ 1 and SER < τ 2, caused by indicating that packet loss is likely due to congestion, according to TCP congestion avoidance mechanism It is normal to slow down, error code is not done retransmits notice processing;Preceding 2 position in 6 reserved fields of TCP acknowledgment message header that recipient sends 01, indicate that congestion is slowed down, latter 4 are S value.Sender receives TCP acknowledgment message, in 6 reserved fields of confirmation message header First 2 when being 01, start congestion avoidance mechanism and slow turn-on mechanism.τ 2 be setting bit error rate threshold, 5 × 10-5~5 × 10-4, the present embodiment τ 2=0.0001.
There is error code in D.PLR >=τ 1 and SER >=τ 2, expression, and close to error code tolerance limit, processing method is using first at this time Do not accelerate not slow down yet, observe a period of time k, if packet loss continues normal acceleration, otherwise explanation exists simultaneously without aggravation phenomenon Congestion phenomenon is slowed down according to TCP rule.K is observing time window, is set as 0.5~2 second, the present embodiment k=1s.Specific error code It is as follows to retransmit notice processing:
A. when there is PLR >=τ 1 and SER >=τ 2 for the first time, 6 reserved fields of TCP acknowledgment message header of recipient's transmission In preceding 2 position 10, indicate error code observation, latter 4 be S value, while start error code observation timing;Sender receives confirmation message Afterwards, it does not retransmit, does not also slow down, continue normal transmission.
B. after the k period, still PLR >=τ 1 and SER >=τ 2, but PLR is not increased, indicates that packet loss without aggravation phenomenon, connects Preceding 2 position 10 in 6 reserved fields of TCP acknowledgment message header that debit sends indicates error code observation, and latter 4 are S value, simultaneously Start error code and observes timing;After sender receives confirmation message, continuation is not retransmitted, and is not also slowed down, and normal transmission is continued.
C. after the k period, still PLR >=τ 1 and SER >=τ 2, PLR increasing, but SER is not increased, there is shown and existing congestion adds Acute phenomenon, preceding 2 position 01 indicates congestion deceleration in 6 reserved fields of TCP acknowledgment message header that recipient sends, and latter 4 are S value, while starting error code observation timing;Sender from 6 reserved fields of confirmation message header first 2 be 01 when, starting is gathered around Fill in avoidance mechanism and slow turn-on mechanism.
D. after the k period, still PLR >=τ 1 and SER >=τ 2, PLR increasing and SER are increased, there is shown existing error code aggravation Phenomenon, and since error code is more than that threshold value influences actual use, it carries out retrieving+error code re-transmission.The TCP that recipient sends is true Recognizing preceding 2 position 11 in 6 reserved fields of message header indicates to slow down and retransmit, and latter 4 are S value, while starting error code observation meter When.When to analyze preceding 2 in 6 reserved fields of sender's confirmation message header be 11, starting congestion avoidance mechanism and slow turn-on machine System, while error code re-transmission is carried out, re-transmission message number is 0.5 times of S value.

Claims (3)

1. a kind of method that TCP transmission of video carries out error code Retransmission control, which is characterized in that control method is specific as follows:
(1) sender persistently sends message, and recipient is receiving serial number M1 message, judge whether packet loss and detecting error code, If there is error code, then the code message number for carrying out t time window adds up S, calculates the packet loss PLR and bit error rate SER of the message;
T is the calculating period of time window, is set as 1 second;S is error code accumulative total, and if there is error code in the t period, then S adds 1, S is four figures value;
(2) recipient judges packet loss and error condition, and does following processing:
Packet loss does not occur and keeps present transmission state for A.PLR=0, expression, continues normal transmission, does not do error code and retransmits at notice Reason, 6 reserved fields of TCP acknowledgment message header that recipient sends set 0 entirely;Sender receives TCP acknowledgment message, confirmation report In 6 reserved fields of literary header first 2 be 00 when, determination need not retransmit;
B.PLR < τ 1, there is shown now a small amount of message error code, the influence for video flowing can receive, and keep present transmission state, Continue normal transmission, does not do error code and retransmit notice processing;In 6 reserved fields of TCP acknowledgment message header that recipient sends Preceding 2 position 0, expression need not retransmit, and latter 4 are S value, and error code accumulative total S carries out the accumulative of error code message number by t time window;τ1 For the packet loss threshold value of setting;Sender receives TCP acknowledgment message, and first 2 are 00 in 6 reserved fields of confirmation message header When, determination need not retransmit;
C.PLR >=τ 1 and SER < τ 2 are normal according to TCP congestion avoidance mechanism caused by indicating that packet loss is likely due to congestion Slow down, does not do error code and retransmit notice processing;Preceding 2 position 01 in 6 reserved fields of TCP acknowledgment message header that recipient sends, Indicate that congestion is slowed down, latter 4 are S value;Sender receives TCP acknowledgment message, preceding 2 in 6 reserved fields of confirmation message header When position is 01, start congestion avoidance mechanism and slow turn-on mechanism;τ 2 is the bit error rate threshold of setting;
There is error code in D.PLR >=τ 1 and SER >=τ 2, expression, and close to error code tolerance limit, processing method is used and is first not added at this time Speed is not also slowed down, and a period of time k is observed, if packet loss without aggravation phenomenon, continues normally to accelerate, otherwise explanation exists simultaneously congestion Phenomenon is slowed down according to TCP rule;K is observing time window;It is as follows that specific error code retransmits notice processing:
A. when for the first time there is PLR >=τ 1 and SER >=τ 2 when, recipient send 6 reserved fields of TCP acknowledgment message header in front of 2 positions 10 indicate error code observation, and latter 4 are S value, while starting error code observation timing;After sender receives confirmation message, no It retransmits, does not also slow down, continue normal transmission;
B. after the k period, still PLR >=τ 1 and SER >=τ 2, but PLR is not increased, indicates packet loss without aggravation phenomenon, recipient Preceding 2 position 10 in 6 reserved fields of TCP acknowledgment message header of transmission indicates error code observation, and latter 4 are S value, starts simultaneously Error code observes timing;After sender receives confirmation message, continuation is not retransmitted, and is not also slowed down, and normal transmission is continued;
C. after the k period, still PLR >=τ 1 and SER >=τ 2, PLR increasing, but SER is not increased, there is shown and existing congestion aggravation is existing As, preceding 2 position 01 indicates that congestion is slowed down in 6 reserved fields of TCP acknowledgment message header that recipient sends, and latter 4 are S value, Start error code observation timing simultaneously;Sender from 6 reserved fields of confirmation message header first 2 be 01 when, starting congestion keep away Exempt from mechanism and slow turn-on mechanism;
D. after the k period, still PLR >=τ 1 and SER >=τ 2, PLR increasing and SER are increased, there is shown and existing error code aggravates phenomenon, And since error code is more than that threshold value influences actual use, carry out retrieving+error code re-transmission;The TCP acknowledgment report that recipient sends Preceding 2 position 11 indicates to slow down and retransmit in 6 reserved fields of literary header, and latter 4 are S value, while starting error code observation timing;
When to analyze preceding 2 in 6 reserved fields of sender's confirmation message header be 11, starting congestion avoidance mechanism and slow turn-on machine System, while error code re-transmission is carried out, re-transmission message number is 0.5 times of S value.
2. the method that a kind of TCP transmission of video as described in claim 1 carries out error code Retransmission control, it is characterised in that: 1 > τ of τ 2, τ 1=5 × 10-4~5 × 10-3, 2=5 × 10 τ-5~5 × 10-4
3. the method that a kind of TCP transmission of video as described in claim 1 carries out error code Retransmission control, it is characterised in that: k= 0.5~2s.
CN201910614779.9A 2019-07-09 2019-07-09 Method for error code retransmission control in TCP video transmission Active CN110505533B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910614779.9A CN110505533B (en) 2019-07-09 2019-07-09 Method for error code retransmission control in TCP video transmission

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910614779.9A CN110505533B (en) 2019-07-09 2019-07-09 Method for error code retransmission control in TCP video transmission

Publications (2)

Publication Number Publication Date
CN110505533A true CN110505533A (en) 2019-11-26
CN110505533B CN110505533B (en) 2021-06-01

Family

ID=68586157

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910614779.9A Active CN110505533B (en) 2019-07-09 2019-07-09 Method for error code retransmission control in TCP video transmission

Country Status (1)

Country Link
CN (1) CN110505533B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112492646A (en) * 2020-11-27 2021-03-12 清华大学 Congestion control method and device based on congestion cause identification
CN112543296A (en) * 2020-11-26 2021-03-23 中移(杭州)信息技术有限公司 Delay control method, delay control device and network equipment
CN115426317A (en) * 2022-11-03 2022-12-02 新华三信息技术有限公司 Data transmission rate control method and device and electronic equipment
CN115603870A (en) * 2022-09-02 2023-01-13 杭州航天电子技术有限公司(Cn) Non-buffer bit error rate real-time detection method based on incremental number

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101645765A (en) * 2009-08-03 2010-02-10 四川大学 Reliable transmission acceleration method facing networks with high error rate and long delay characteristics
CN101854738A (en) * 2010-05-21 2010-10-06 南京邮电大学 Transmission control protocol method for satellite network
CN102387559A (en) * 2010-09-03 2012-03-21 中兴通讯股份有限公司 Cross-layer route optimization method and device for wireless Mesh network
CN103607255A (en) * 2013-10-21 2014-02-26 国家电网公司 Wireless channel video communication packet loss rate control method
US20140244805A1 (en) * 2013-02-26 2014-08-28 Samsung Electronics Co., Ltd. Bandwidth estimation-based streaming content processing method and apparatus of terminal
CN104486690A (en) * 2014-12-25 2015-04-01 北京理工大学 Mobile video transmission optimization method based on TCP (transmission control protocol)
WO2015161133A1 (en) * 2014-04-16 2015-10-22 Apsi Wifi, Llc Reduction of network congestion
CN105376172A (en) * 2014-08-29 2016-03-02 华平信息技术股份有限公司 Method for controlling network congestion
US20170208498A1 (en) * 2016-01-20 2017-07-20 Samsung Electronics Co., Ltd. Apparatus and method for controlling transmission on high thoughput wireless network
CN107395522A (en) * 2017-08-25 2017-11-24 深圳市华讯方舟空间信息产业科技有限公司 Loss treating method and computer-readable recording medium based on Transmission Control Protocol
CN109391847A (en) * 2017-08-08 2019-02-26 中国电信股份有限公司 The monitoring method and monitoring device of Streaming Media Caton

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101645765A (en) * 2009-08-03 2010-02-10 四川大学 Reliable transmission acceleration method facing networks with high error rate and long delay characteristics
CN101854738A (en) * 2010-05-21 2010-10-06 南京邮电大学 Transmission control protocol method for satellite network
CN102387559A (en) * 2010-09-03 2012-03-21 中兴通讯股份有限公司 Cross-layer route optimization method and device for wireless Mesh network
US20140244805A1 (en) * 2013-02-26 2014-08-28 Samsung Electronics Co., Ltd. Bandwidth estimation-based streaming content processing method and apparatus of terminal
CN103607255A (en) * 2013-10-21 2014-02-26 国家电网公司 Wireless channel video communication packet loss rate control method
WO2015161133A1 (en) * 2014-04-16 2015-10-22 Apsi Wifi, Llc Reduction of network congestion
CN105376172A (en) * 2014-08-29 2016-03-02 华平信息技术股份有限公司 Method for controlling network congestion
CN104486690A (en) * 2014-12-25 2015-04-01 北京理工大学 Mobile video transmission optimization method based on TCP (transmission control protocol)
US20170208498A1 (en) * 2016-01-20 2017-07-20 Samsung Electronics Co., Ltd. Apparatus and method for controlling transmission on high thoughput wireless network
CN109391847A (en) * 2017-08-08 2019-02-26 中国电信股份有限公司 The monitoring method and monitoring device of Streaming Media Caton
CN107395522A (en) * 2017-08-25 2017-11-24 深圳市华讯方舟空间信息产业科技有限公司 Loss treating method and computer-readable recording medium based on Transmission Control Protocol

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
ABHAY KUMAR SINGH ET AL.: ""PMCC: A Probabilistic Model For Congestion Control(Dealing with Needless Retransmission and Waiting)"", 《2015 INTERNATIONAL CONFERENCE ON COMMUNICATION, CONTROL AND INTELLIGENT SYSTEMS (CCIS)》 *
POOJA CHAUDHARY ET AL.: ""Comparative Study of TCP Variants for Congestion Control in Wireless Network"", 《INTERNATIONAL CONFERENCE ON COMPUTING, COMMUNICATION AND AUTOMATION (ICCCA2017)》 *

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112543296A (en) * 2020-11-26 2021-03-23 中移(杭州)信息技术有限公司 Delay control method, delay control device and network equipment
CN112492646A (en) * 2020-11-27 2021-03-12 清华大学 Congestion control method and device based on congestion cause identification
CN115603870A (en) * 2022-09-02 2023-01-13 杭州航天电子技术有限公司(Cn) Non-buffer bit error rate real-time detection method based on incremental number
CN115603870B (en) * 2022-09-02 2024-05-28 杭州航天电子技术有限公司 Buffer-free bit error rate real-time detection method based on increment number
CN115426317A (en) * 2022-11-03 2022-12-02 新华三信息技术有限公司 Data transmission rate control method and device and electronic equipment
CN115426317B (en) * 2022-11-03 2023-03-24 新华三信息技术有限公司 Data transmission rate control method and device and electronic equipment

Also Published As

Publication number Publication date
CN110505533B (en) 2021-06-01

Similar Documents

Publication Publication Date Title
CN110505533A (en) A kind of method that TCP transmission of video carries out error code Retransmission control
US6535482B1 (en) Congestion notification from router
US6625118B1 (en) Receiver based congestion control
US20120063493A1 (en) Transmission rate control method, transmission unit, and communication system
US7460472B2 (en) System and method for transmitting information in a communication network
US6741555B1 (en) Enhancement of explicit congestion notification (ECN) for wireless network applications
CN109639340B (en) TCP acceleration method suitable for satellite link
JP4778453B2 (en) Communication terminal, congestion control method, and congestion control program
EP1344359B1 (en) Method of enhancing the efficiency of data flow in communication systems
CN104113884B (en) Real-time multimedia transfer rate control mechanism in a kind of wireless network
US7760638B2 (en) High-throughput communication system, communication terminal, session relay, and communication protocol
EP0955749A1 (en) Receiver based congestion control and congestion notification from router
KR20040027176A (en) congestion control method over wireless link
Peng et al. An effective way to improve TCP performance in wireless/mobile networks
US8755282B2 (en) Provision of path characterization information in networks
Lahanas et al. Improving TCP performance over networks with wireless components using ‘probing devices’
Fu et al. BIPR: a new TCP variant over satellite networks
Sarkar et al. A Proactive Transport Protocol for Performance Enhancement of Satellite based Networks
EP2553885B1 (en) Provision of path characterisation information in networks
Aaron et al. Techniques to improve TCP over wireless links
Podolsky et al. An extension to the selective acknowledgement (SACK) option for TCP
Akyildiz et al. TCP PeachPlus: Enhancement of TCP Peach for Satellite IP Networks
Wu et al. RESOLVING BUFFERBLOAT PROBLEM IN 802.11 n WLAN BY WEAKENING MAC LOSS RECOVERY FOR TCP STREAM
Semeria et al. Supporting Differentiated Service Classes: TCP Congestion Control Mechanisms
Viswanathan et al. Router assisted schemes for performance improvement in the Internet

Legal Events

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