CN101494526A - Optimizing method and apparatus for compression real time protocol - Google Patents

Optimizing method and apparatus for compression real time protocol Download PDF

Info

Publication number
CN101494526A
CN101494526A CN 200910128856 CN200910128856A CN101494526A CN 101494526 A CN101494526 A CN 101494526A CN 200910128856 CN200910128856 CN 200910128856 CN 200910128856 A CN200910128856 A CN 200910128856A CN 101494526 A CN101494526 A CN 101494526A
Authority
CN
China
Prior art keywords
available bandwidth
ratio
preestablishing
context state
message
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
CN 200910128856
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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies 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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN 200910128856 priority Critical patent/CN101494526A/en
Publication of CN101494526A publication Critical patent/CN101494526A/en
Priority to PCT/CN2010/070900 priority patent/WO2010105527A1/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/04Protocols for data compression, e.g. ROHC

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The invention provides an optimization method of a compressed real-time protocol. The method comprises the following steps of: detecting available bandwidth of a link periodically; informing an upper layer of central microprocessor when the available bandwidth is less than the preset proportion and forbid responding message of the context state. In addition, the invention also provides a compressed end device which comprises a detecting module used for detecting the available bandwidth of a link periodically; a comparison module used for comparing whether the available bandwidth is less than the preset proportion; and a response module used for informing the upper layer of central microprocessor when the comparison result of the comparison module is that the available bandwidth is less than the preset proportion; and the upper layer of central microprocessor informs a bottom layer of network processor of no permission. In a narrow band link applying a CRTP compressed protocol, if flow congestion occurs, the invention can be used for effectively relieving avalanche effect of intensified congestion caused by the original protocol algorithm, and more fully utilizes the bandwidth, thus improving the transmission efficiency.

Description

The optimization method of Compressed Real-Time Protocol and device
Technical field
The present invention relates to a kind of information processing method, relate in particular to a kind of optimization method and device of Compressed Real-Time Protocol.
Background technology
Along with RTP (RTP, Real-time Transport Protocol) becomes formal Internet standard (RFC, Request For Comments) distribution, people are for utilizing RTP to realize that the interest of interoperability between different network audio-video application programs is also growing.Yet when using low speed chain circuit such as 14.4Kb/s or 28.8Kb/s dialing, the RTP head of 12 bytes expense all too for the load that 20 bytes are only arranged is big.In order to reduce the byte that head takies, some are used and use self-defining agreement usually, and have cut down the relevant function of RTP like this.
Also can make IP/UDP/RTP that packet header diminishes, as Compressed Real-Time Protocol (CRTP (RFC2508)) by compress technique.As shown in Figure 1, compression can be directed to the RTP head (HEADER) in end-to-end application, the IP in perhaps using at Link-by-Link, UDP, the combination head of RTP.The combination head of 40 bytes is carried out RTP tool on the first watch actual effect that compression ratio only compresses 12 bytes together, because the result sizes under two kinds of situations is about 2-4 byte.Simultaneously, because delay and Loss Rate are all very low, application is compressed to Link-by-Link, and performance is also better.CRTP do not send User Datagram Protoco (UDP) (UDP, User Datagram Protocol) verification and situation under, the IP/UDP/RTP head of most of bags is compressed to 2 bytes, be compressed to 4 bytes at tape verifying and Shi Ze.
CRTP is a point-to-point compression algorithm commonly used on the E1 link, the CRTP algorithm can IP/UDP/RTP the heading of totally 36 bytes be compressed to the 6-9 byte, improve link utilization greatly.Shown in Fig. 2 A, compression side's structure FULL HEAD message when compression starts, this message comprises compressing mark, and (CID Compressidentification) with complete IP/UDP/RTP header fields, passes to and separates pressure side for separating pressure side textural hereinafter (CONTEXT) list item.Separate after pressure side sets up the mapping relations of CID-IP/UDP/RTP, the follow-up transmission of compression end only comprises the message of CID compressing head and saves bandwidth.Separating pressure side tables look-up according to the CID of compressing head and recovers the IP/UDP/RTP header fields.Separate pressure side and check validity and the continuity of CID simultaneously, if find that CID loses, then represent to have taken place on the circuit error of transmission, separate pressure side and can construct context state (context state) message and issue compression end, come the requirement compression end to resend entire header (FULLHEAD) message so that rebuild the mapping item of CID-IP/UDP/RTP.Under the normal situation of link, this mechanism can well be accomplished wrong the re-transmission.
But shown in Fig. 2 B, under network congestion, if the distolateral discovery packet loss of decompress(ion), it is synchronous to initiate context state message request to compression end.Compression end is understood concurrent many entire header (FULL HEAD) message that sends on multilink after receiving context state message.And FULL HEAD message has more IP/UDP/RTP packet header than the compressing head (Compress head) of usually transmission and amounts to 32 bytes, and occupied bandwidth is bigger, can cause one to take turns new congestedly, produces the avalanche effect that transmission worsens, thereby reduces efficiency of transmission greatly.
Summary of the invention
The purpose of the embodiment of the invention is to provide a kind of optimization method and device of Compressed Real-Time Protocol, can avoid the avalanche effect that decompress(ion) side data packet loss generation transmission worsens under network congestion.
The purpose of the embodiment of the invention is to provide a kind of optimization method of Compressed Real-Time Protocol, and this method comprises: regularly detect the link available bandwidth; And if available bandwidth is when preestablishing ratio, notice upper strata central processing unit forbids responding the context state message.
The embodiment of the invention also provides a kind of compression end device, and this device comprises: detection module is used for regularly detecting the link available bandwidth; Whether comparison module is used for more described available bandwidth less than preestablishing ratio; And respond module, if the comparative result of comparison module is an available bandwidth less than described when preestablishing ratio, notice upper strata central processing unit, described upper strata central processing unit notice bottom-layer network processor forbids responding the context state message.
On the narrow band link of using the CRTP compression protocol, if flow congestion takes place, use the avalanche effect that the congested aggravation that former protocol algorithm causes can be effectively alleviated in the present invention, utilize bandwidth more fully, improve efficiency of transmission.
Description of drawings
Accompanying drawing described herein is used to provide further understanding of the present invention, constitutes the application's a part, does not constitute limitation of the invention.In the accompanying drawings:
Fig. 1 is the schematic diagram of RTP data packet format before and after compression.
Fig. 2 A is the compression end of CRPT under the normal condition and is compressed operation chart between the end.
Fig. 2 B is the compression end of CRPT under the congested transmission and is compressed operation chart between the end.
Fig. 3 is the flow chart according to optimization method one embodiment of Compressed Real-Time Protocol of the present invention.
Fig. 4 is the flow chart according to another embodiment of optimization method of Compressed Real-Time Protocol of the present invention.
Fig. 5 is the structural representation according to an embodiment of compression end device of the present invention.
Embodiment
For the purpose, technical scheme and the advantage that make the embodiment of the invention is clearer,, the embodiment of the invention is described in further details below in conjunction with embodiment and accompanying drawing.At this, illustrative examples of the present invention and explanation thereof are used to explain the present invention, but not as a limitation of the invention.
Embodiment one
With reference to Fig. 3, the embodiment of the invention provides a kind of optimization method of Compressed Real-Time Protocol.Followingly the embodiment of the invention is elaborated with reference to accompanying drawing.
This method comprises carries out following steps by compression end after flow congestion takes place:
Step S301: regularly detect the link available bandwidth, comprise that specifically reading in predetermined instant T0 reads link transmission message byte number Byte_T0, read link at next predetermined instant T1 and send message byte number Byte_T1, thereby obtain actual bandwidth Band=(Byte_T1-Byte_T0)/(T1-T0), so can realize regularly detecting the link available bandwidth by the link transmission message byte number of each predetermined instant; And
Step S302: when described available bandwidth when preestablishing ratio, do not respond the context state message.
Preset proportion can be 20% in this step, when available bandwidth less than whole bandwidth 20% the time, can notify upper strata CPU, forbid responding the context state message.
Alternatively, present embodiment may further include:
When described available bandwidth greater than described when preestablishing ratio, notice upper strata CPU, upper strata CPU notify bottom-layer network processor (NP, Network processor), allows to respond context state message (contextstate).For example, upper strata CPU marker bit is set to allow the state of response context state message (contextstate), and by this marker bit notice bottom NP.
When present embodiment can on the narrow band link of using the CRTP compression protocol flow congestion take place, effectively alleviate the avalanche effect of the congested aggravation that former protocol algorithm causes, utilize bandwidth more fully, improve efficiency of transmission.
Embodiment two
With reference to Fig. 4, the embodiment of the invention provides the optimization method of another kind of Compressed Real-Time Protocol.Followingly the embodiment of the invention is elaborated with reference to accompanying drawing.
This method comprises carries out following steps by compression end after flow congestion takes place:
Step S401: timing detection of dynamic link available bandwidth, concrete grammar is the same;
Step S402: whether judge described available bandwidth greater than preset ratio, if greater than preset ratio, execution in step S403 then; If less than preset ratio, execution in step S405 then;
For example, the actual conditions according to bandwidth is used can preset ratio be set to 20%;
Step S403: response context state message (context state); In this step, notice upper strata CPU, upper strata CPU notice bottom NP, allow response context state, for example, upper strata CPU marker bit is set to allow the state of response context state message (context state), and by this marker bit notice bottom NP;
Step S404: construct complete compression head (FULL HEAD) message and send to the decompress(ion) end device;
Step S405: do not respond the context state message, in this step, notice upper strata CPU, upper strata CPU notice bottom-layer network processor NP, setting forbids responding context state, for example, upper strata CPU marker bit is set to forbid responding the state of context state message (context state), and by this marker bit notice bottom NP;
Step S406: regulate flow, make flow adapt to described available bandwidth environment, wherein can realize flow control by making traffic sources end reduction of speed.
When present embodiment can on the narrow band link of using the CRTP compression protocol flow congestion take place, the avalanche effect of effectively alleviating the congested aggravation that former protocol algorithm causes was further controlled flow speed simultaneously, utilizes bandwidth more fully, improves efficiency of transmission.
Embodiment three
With reference to Fig. 5, the embodiment of the invention provides a kind of compression end device of optimizing Compressed Real-Time Protocol.With reference to the accompanying drawings the embodiment of the invention is elaborated.
This compression end device 500 comprises:
Detection module 501 is used for regularly detecting the link available bandwidth;
Whether comparison module 502 is used for more described available bandwidth greater than preestablishing ratio;
For example, the actual conditions according to bandwidth is used can preset ratio be set to 20%;
Respond module 503 is used for the comparative result according to comparison module 502, determines whether to respond the context state message; If comparative result be available bandwidth greater than preestablishing ratio, respond module 503 notice upper strata CPU then, upper strata CPU allows response context state with notice bottom NP; If comparative result be available bandwidth smaller or equal to preestablishing ratio, respond module 503 notice upper strata CPU then, upper strata CPU notice bottom NP forbids responding context state.
The state that above-mentioned upper strata CPU can be set to allow to respond the state of context state by default marker bit or forbid responding context state is notified bottom NP.
In other embodiments, this compression end device 500 can also comprise:
Entire header message device 504 is used for sending FULL HEAD message to the decompress(ion) end device when respond module 503 is determined response context state message;
Flow-control module 505 is used for control flow when respond module 503 is determined not respond the context state message, regulates flow to adapt to described available bandwidth environment.Further, flow-control module 505 can be regulated flow by the flow speed that reduces the traffic sources end.
When present embodiment can on the narrow band link of using the CRTP compression protocol flow congestion take place, effectively alleviate the avalanche effect of the congested aggravation that former protocol algorithm causes, utilize bandwidth more fully, improve efficiency of transmission.
Above-described specific embodiment; purpose of the present invention, technical scheme and beneficial effect are further described; institute is understood that; the above only is specific embodiments of the invention; and be not intended to limit the scope of the invention; within the spirit and principles in the present invention all, any modification of being made, be equal to replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (10)

1. the optimization method of a Compressed Real-Time Protocol is characterized in that, this method comprises:
Regularly detect the link available bandwidth;
If described available bandwidth is when preestablishing ratio, notice upper strata central processing unit forbids responding the context state message.
2. method according to claim 1 is characterized in that: the described ratio that preestablishes is 20%.
3. method according to claim 1 is characterized in that: if described available bandwidth when preestablishing ratio, sends whole message to separating pressure side.
4. method according to claim 1 is characterized in that, described method further comprises: if described available bandwidth is greater than described when preestablishing ratio, notice upper strata central processing unit allows response context state message.
5. method according to claim 4 is characterized in that, also comprises: when preestablishing ratio, regulate flow greater than described when described available bandwidth, make flow adapt to described available bandwidth.
6. method according to claim 5 is characterized in that, described adjusting flow comprises: the flow speed that reduces the traffic sources end.
7. a compression end device is characterized in that, this device comprises:
Detection module is used for regularly detecting the link available bandwidth;
Whether comparison module is used for more described available bandwidth smaller or equal to preestablishing ratio; And
Respond module, if the comparative result of described comparison module is described available bandwidth smaller or equal to described when preestablishing ratio, notice upper strata central processing unit, described upper strata central processing unit notice bottom-layer network processor forbids responding the context state message.
8. device according to claim 7 is characterized in that: described respond module also is used for comparative result when described comparison module, and to be described available bandwidth when preestablishing ratio, allow response context state message greater than described.
9. device according to claim 8 is characterized in that: also comprise flow-control module, be used for comparative result when described comparison module and be described available bandwidth and when preestablishing ratio, reduce the flow speed of traffic sources end greater than described.
10. device according to claim 7 is characterized in that: also comprise entire header message module, when preestablishing ratio, send whole message to separating pressure side smaller or equal to described when the comparative result of described comparison module is described available bandwidth.
CN 200910128856 2009-03-17 2009-03-17 Optimizing method and apparatus for compression real time protocol Pending CN101494526A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN 200910128856 CN101494526A (en) 2009-03-17 2009-03-17 Optimizing method and apparatus for compression real time protocol
PCT/CN2010/070900 WO2010105527A1 (en) 2009-03-17 2010-03-07 Compressed real-time protocol optimization method and apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 200910128856 CN101494526A (en) 2009-03-17 2009-03-17 Optimizing method and apparatus for compression real time protocol

Publications (1)

Publication Number Publication Date
CN101494526A true CN101494526A (en) 2009-07-29

Family

ID=40924950

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 200910128856 Pending CN101494526A (en) 2009-03-17 2009-03-17 Optimizing method and apparatus for compression real time protocol

Country Status (2)

Country Link
CN (1) CN101494526A (en)
WO (1) WO2010105527A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2010105527A1 (en) * 2009-03-17 2010-09-23 华为技术有限公司 Compressed real-time protocol optimization method and apparatus
CN110022364A (en) * 2019-04-04 2019-07-16 北京北信源信息安全技术有限公司 A kind of document down loading method and server

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101179561B (en) * 2006-11-06 2012-02-15 华为技术有限公司 Method for user facility to attach to network and system thereof
WO2008088262A1 (en) * 2007-01-18 2008-07-24 Telefonaktiebolaget Lm Ericsson (Publ) Dividing rtcp bandwidth between compound and non- compound rtcp packets
CN100591053C (en) * 2007-10-25 2010-02-17 华为技术有限公司 Packet transmission method and network node device
CN101222296B (en) * 2008-01-31 2010-06-09 上海交通大学 Self-adapting transmission method and system in ascending honeycomb video communication
CN101494526A (en) * 2009-03-17 2009-07-29 华为技术有限公司 Optimizing method and apparatus for compression real time protocol

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2010105527A1 (en) * 2009-03-17 2010-09-23 华为技术有限公司 Compressed real-time protocol optimization method and apparatus
CN110022364A (en) * 2019-04-04 2019-07-16 北京北信源信息安全技术有限公司 A kind of document down loading method and server

Also Published As

Publication number Publication date
WO2010105527A1 (en) 2010-09-23

Similar Documents

Publication Publication Date Title
EP2424144B1 (en) Communication method and equipment of the header compression
CN101184052B (en) Congestion control method of implementing reliable UDP transmission
US9350663B2 (en) Enhanced large data transmissions and catastrophic congestion avoidance over TCP/IP networks
CN101568144B (en) Header compression method applicable to wireless ad hoc network
US9166931B2 (en) Method and device for improving robustness of context update message in robust header compression
CN103166974B (en) A kind of Streaming Media radio transmitting method based on TCP/UDP hybrid protocol
WO2011054259A1 (en) Data transmission method, device and system
US9392082B2 (en) Communication interface and method for robust header compression of data flows
US10320520B2 (en) Communication device, system and method
CN102833783B (en) Method for optimizing terminal control protocol (TCP) under wireless environment
CN102820915B (en) Satellite link system for improving TCP (transmission control protocol) transmission performance and use method of system
CN100591053C (en) Packet transmission method and network node device
US9601097B2 (en) Reliable real-time transmission of musical sound control data over wireless networks
CN103825869A (en) Compression and decompression method for Ethernet message header, and compression and decompression device thereof
CN101945427A (en) Efficient streaming media transmission method
JP2014509483A (en) Mechanisms to improve the performance of transmission control protocols in wireless networks
CN104486690A (en) Mobile video transmission optimization method based on TCP (transmission control protocol)
CN104618260A (en) UDP (User Datagram Protocol) based matchable strategy data transmission method
CN104394117A (en) RTP packet transmission method and device
CN113542148B (en) Message aggregation method and device, network card and readable storage medium
CN101494526A (en) Optimizing method and apparatus for compression real time protocol
CN102045328B (en) The method of a kind of robustness header compression pattern switching and decompression machine
CN104811265A (en) Base-band frame encapsulation method and de-encapsulation method
WO2013091373A1 (en) Robust header compression feedback management method and device, and decompressor
WO2016095387A1 (en) Initial-state packet transmission controlling method, compressor, decompressor and system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C12 Rejection of a patent application after its publication
RJ01 Rejection of invention patent application after publication

Open date: 20090729