CN101594290B - A Robust header compression context identifier processing method and apparatus of - Google Patents

A Robust header compression context identifier processing method and apparatus of Download PDF

Info

Publication number
CN101594290B
CN101594290B CN 200810100138 CN200810100138A CN101594290B CN 101594290 B CN101594290 B CN 101594290B CN 200810100138 CN200810100138 CN 200810100138 CN 200810100138 A CN200810100138 A CN 200810100138A CN 101594290 B CN101594290 B CN 101594290B
Authority
CN
China
Prior art keywords
context
unit
cid
time
packet
Prior art date
Application number
CN 200810100138
Other languages
Chinese (zh)
Other versions
CN101594290A (en
Inventor
储俊林
董文雯
Original Assignee
中兴通讯股份有限公司
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 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Priority to CN 200810100138 priority Critical patent/CN101594290B/en
Publication of CN101594290A publication Critical patent/CN101594290A/en
Application granted granted Critical
Publication of CN101594290B publication Critical patent/CN101594290B/en

Links

Abstract

一种鲁棒性头压缩上下文标识的处理方法,其步骤为:1)压缩器收到一个新包流的数据包后,在上下文队列中查找匹配的上下文;2)根据找到的上下文压缩数据包,并将当前时间记录在上下文的参数T1中;若未找到匹配的上下文,且查当前上下文标识CID空间已耗尽时,则据当前时间T检查上下文的使用时间=|T1-T|:当存在有使用时间大于门限值Max_CIDIdleLifeTime的上下文时,则选择将使用时间最大的上下文对应的CID进行回收,并重新建立上下文来压缩数据包;3)将压缩后的数据包发往解压缩器。 A Robust header compression context identifier processing method, comprising the steps of: 1) receives compressed data packet of a new packet flow context to find the match in the context queue; 2) compressed packet according to the context Found and recording the current time T1, the parameters in the context; context if no match found, and when the search current context identifier CID space is exhausted, then check the current time T according to the context usage time = | T1-T |: when when there is a time greater than a threshold Max_CIDIdleLifeTime context, to select a maximum time corresponding to the CID of the context of the recovery and re-establish context compressed packet; after 3 packets) sent to the compression decompressor. 本发明能保证每次释放的CID空间都是长期不使用的上下文,以对新包流继续用有效的压缩方式压缩,并能避免上下文的频繁删建。 The present invention ensures the release of the context of each CID space is not used for long to continue with efficient compression compresses the new packet flow and avoid build context frequently deleted.

Description

一种鲁棒性头压缩上下文标识的处理方法及装置 A Robust header compression context identifier processing method and apparatus of

技术领域 FIELD

[0001] 本发明涉及流媒体传输技术,尤其涉及流媒体传输过程中鲁棒性头压缩(R0HC, Robust Header Compression)上下文标识(CID,Context IDentifier)的处理方法及装置。 [0001] The present invention relates to a streaming media technology, and particularly relates to a method and apparatus for processing streaming media during transmission robust header compression (R0HC, Robust Header Compression) context identifier (CID, Context IDentifier) ​​of.

背景技术 Background technique

[0002] ROHC技术可以被用来压缩多种格式报文的报头,例如:网际协议(IP,Internet ftOtocol)/用户数据报文协议(UDP,User Datagram Ptorocol)报文的报头、网际协议(IP, Internet Protocol) / 用户数据报文协议(UDP, UserDatagram Ptorocol) / 实时传输协议(RTP,Realtime Transfer Protocol)报文的报头等,以提高信道的传输效率。 [0002] ROHC technique can be used to compress a header in multiple formats of packets, for example: Internet protocol (IP, Internet ftOtocol) / User Datagram Protocol (UDP, User Datagram Ptorocol) packet header, an Internet Protocol (IP , Internet protocol) / user datagram protocol (UDP, UserDatagram Ptorocol) / Real-time transport protocol (RTP, realtime transfer protocol) packet header or the like, in order to improve the efficiency of the transmission channel. ROHC 协议由互联网工程任务组(IETFJnternet Engineering Task Force)的RFC 3095进行描述,并且在2007年2月份由IETF对其进行了修订,修订文档是RFC 4815。 ROHC protocol by the Internet Engineering Task Force (IETFJnternet Engineering Task Force) in RFC 3095 describes, and in February 2007 it was revised by the IETF, revised document is RFC 4815.

[0003] 在RFC 3095中定义了信道,ROHC分组(Packet)是在信道中传输的。 [0003] channel is defined in RFC 3095, ROHC packet (Packet) in the transmission channel. 对于一个信道中,可以传输多种分组业务流(Packet Mream),它们之间互不干扰,每一个业务流通过唯一的CID作为压缩器和解压缩器的标识。 For a channel that can transmit a variety of packet traffic (Packet Mream), interference between them, each of the traffic flow by a unique identifier CID as the compressor and decompressor. 一个信道中支持的最大CID数是由MAX_CID参数决定的,这个参数是根据信道能力通过系统协商得到的。 The maximum number of channels supported by a CID is determined by MAX_CID parameter, the parameter is obtained according to channel capacity by negotiation system.

[0004] 但是在实际压缩过程中,可能会存在信道中传输的业务流的个数大于MAX_CID的个数的情况,它是在上下文标识已经全部被占用时压缩器又收到新的业务流而需要重新建立上下文所出现的,目前,在RFC3095和RFC4815中均未指明这种情况下的处理方式。 [0004] However, the actual compression process, there may be case where the number is greater than the number MAX_CID traffic flow transmitted in a channel, which is when the compressor context identifier have all been occupied receive new traffic stream need to re-establish the context that appears, at present, RFC3095 and RFC4815 were not specified treatment in this case.

[0005] 在没有CID空间时,对于一个新的包流的处理可以有两种方式:一种是回收已经使用的某个CID空间,重新使用它来压缩新的包流;另外一种方式是用不压缩方式(即Uncompress压缩方式)对新的包流进行处理,由于ROHC默认支持不压缩方式,所以这样的处理也是可以的。 [0005] In the absence of CID space, for processing a new packet flow may be in two ways: one is the recovery of a CID space has been used, re-use it to extract the new packet stream; Another way is with no compression (i.e. compression Uncompress) new packet stream is processed, since ROHC compression is not supported by default, so this process is also possible. 但是这两种处理方式的应用场景是不同的,如果决策不当会影响到信道的压缩效率。 But these two scenarios are different ways of handling, improper if the decision will affect the compression efficiency of the channel. 其中,第一种方式下如果当前的应用场景是CID被回收的上下文对应的业务流很快又来了新的数据,由于上下文已经被释放,需要重新申请CID空间建立上下文,这样又会启动一次CID耗尽时的处理,导致上下文被频繁删建,从而影响压缩效率。 Wherein the first mode if the current scenario is recovered CID corresponding service flow context quickly new data again, since the context has been released, it is necessary to re-apply CID space to create a context, this will initiate a when the CID process is exhausted, leading to the construction context is frequently deleted, thus affecting the compression efficiency. 第二种方式下,如果此时已经建立的上下文对应的业务流中有的业务流生命期已经结束,却占用CID 空间不释放,导致新的包流不能被有效压缩,从而导致整个信道压缩效率势必会受到影响。 In the second mode, if the context has been established at this time corresponds to the traffic flow and some traffic flow of life has ended, but does not release the space occupied by CID, lead to a new packet flow can not be effectively compressed, causing the entire channel compression efficiency It is bound to be affected.

发明内容 SUMMARY

[0006] 本发明要解决的技术问题是提供一种鲁棒性头压缩上下文标识的处理方法及装置,能够在ROHC上下文标识耗尽时,尽可能地提高信道的压缩效率。 [0006] The present invention is to solve the technical problem of providing a robust header compression context identifier processing method and apparatus can be exhausted when the ROHC context identifier, channel compression efficiency as possible.

[0007] 为了解决上述技术问题,本发明提供了一种鲁棒性头压缩上下文标识的处理方法,其步骤为: [0007] To solve the above problems, the present invention provides a robust header compression context identifier processing method, comprising the steps of:

[0008] (1)压缩器收到一个新包流的数据包后,在上下文队列中查找匹配的上下文; After [0008] (1) receives compressed data packet of a new packet flow context to find the match in the context queue;

[0009] (2)根据查找到的匹配的上下文压缩数据包,并将当前时间记录在上下文的参数Tl中;若未查找到匹配的上下文,且检查当前上下文标识CID空间已全部耗尽时,则根据当前时间T对上下文队列中的上下文的使用时间=Tl-T进行检查:当存在有上下文的使用时间大于门限值MaxJHDIdleLifeTime的上下文时,则选择将使用时间最大的上下文对应的CID进行回收,并重新建立上下文来压缩数据包; When we did not find the matching context, and checking the current context identifier CID space have been exhausted,; [0009] (2) The compression context to find the matching data packet, and the current time is recorded in the context of the parameters Tl according to the current time T of the time context queue context check = Tl-T: when there is a context time greater than a threshold MaxJHDIdleLifeTime context, to select a maximum time corresponding to the CID of the context of the recovery and re-establish context compressed data packet;

[0010] (3)将压缩后的数据包发往解压缩器。 [0010] (3) the compressed data packet sent to the decompressor.

[0011] 进一步地,步骤(2)当所有上下文的使用时间均小于MaxJHDIdleLifeTime时,对新包流使用非压缩Uncompress方式进行压缩。 [0011] Further, the step (2) when all contexts use time less than MaxJHDIdleLifeTime, the new packet flow incompressible Uncompress compressed mode.

[0012] 进一步地,步骤(¾若未查找到匹配的上下文,且检查当前CID空间未全部耗尽时,则在上下文队列中建立对应的上下文。 [0012] Further, step (¾ context if no matches found, and to check the current CID space is not fully depleted, the corresponding context is established in the context queue.

[0013] 进一步地,本发明方法在步骤(1)前包括步骤:在上下文中引入参数Tl和门限值Max_CIDIdleLifeTime ;其中:T1用于表示使用上下文进行最后一个数据包压缩的处理时间;Max_CIDIdleLifeTime用于表示上下文空闲的最大生存时间。 [0013] Further, the method of the present invention comprises the step (1) prior to the step: introduction of parameters and threshold value Tl Max_CIDIdleLifeTime in context; wherein: T1 represents the context for the processing time of the last packet compression; Max_CIDIdleLifeTime with It represents the maximum survival time in the context idle.

[0014] 进一步地,步骤(3)压缩后的数据包至少包括初始和刷新顶包及Uncompress方式压缩包中的一种。 [0014] Further, the step (3) of the compressed data packet includes at least an initial and a refresh Uncompress way and staged compression package.

[0015] 为了解决上述技术问题,本发明提供了一种鲁棒性头压缩上下文标识的处理装置,包括:包流接收单元、分别与包流接收单元连接的上下文建立单元、数据包压缩单元以及CID空间检查及回收单元,还包括与CID空间检查及回收单元连接的上下文使用时间检查单元、与数据包压缩单元连接的信息发送单元,以及存储器单元;其中: [0015] To solve the above problems, the present invention provides a robust header compression context identifier processing apparatus, comprising: a receiving unit packet flow, packet flow contexts are connected to the receiving unit establishing unit, and a data packet compression unit CID space inspection and recovery unit further comprises a connection context and the CID space check recovery unit time checking means, information transmitting means connected to the unit, and a memory unit and a data packet compression; wherein:

[0016] 包流接收单元,用于将接收到的一个新包流的数据包存储在存储器单元,并检查存储器单元中的上下文队列,若数据包有匹配的上下文,则向数据包压缩单元发带有上下文标识CID及相应压缩方式的“数据包压缩指示”信号;若数据包没有匹配的上下文, 则向CID空间检查及回收单元发出“CID空间检查指示”信号;当收到CID空间检查及回收单元返回的“CID空间回收”信号后,则将信号携带的CID向下文建立单元发出“上下文重建指示”信号;在收到上下文建立单元返回的CID后,将CID与其接收的数据包相对应,并向数据包压缩单元发出“数据包压缩指示”信号; [0016] packet stream receiving unit, configured to store a new data packet flow received packet in the memory cell, the memory cell and checks context queue, if the data packet has a matching context, the data packet sent to the compression unit with the context identifier CID and the corresponding compression method is "compressed packet indicates" signal; if the packet does not match the context, the issue "CID space check indicates" CID space signal to check and recovery unit; CID when receiving space check and after recovery "CID space reclamation" means the return signal, a signal is carried downward packet creation unit sent CID "context indicates reconstructed" signal; CID after receiving unit returns the context establishment, the CID received data packet with its corresponding , and compressed data unit packet sent "packet compression indicates" signal;

[0017] 上下文建立单元,用于在收到“上下文重建指示”信号后,根据信号携带的CID将在上下文队列中相应的上下文释放,并重建上下文;在完成上下文重建后,将上下文对应的CID返回给包流接收单元; After completion of the reconstruction CID context, a corresponding context; Create [0017] The context unit, after receiving "context indicates reconstructed" signal, the corresponding context release context queue in accordance with the signal carried by CID, and the reconstruction context packet flow is returned to the reception unit;

[0018] 数据包压缩单元,用于在收到“数据包压缩指示”信号后,根据信号中携带的CID, 从上下文队列中查找到相应的上下文,并根据上下文中压缩方式指示将数据包压缩,然后将当前的时间记录在相应的上下文的参数Tl中,并向信息发送单元发出“压缩包发送指示”信号; [0018] The packet compression unit, after receiving the "Data compressed packet indicates" signal, in accordance with the CID signal carried in the queue to find the appropriate context from the context, and instructs the packet compressed according to compression context , then the current time is recorded in the appropriate context parameters Tl, the transmitting unit to issue a "compressed transmission instruction" signal information;

[0019] CID空间检查及回收单元,用于在收到“CID空间检查指示”信号后对CID空间进行检查,当检查没有剩余的CID空间时,则向上下文使用时间检查单元发出“上下文使用时间检查”信号;当收到上下文使用时间检查单元返回的“上下文使用时间超限”信号后,则向包流接收单元返回“CID空间回收”信号; [0019] CID space recovery and inspection unit for checking the CID space after receiving the "CID space check indicates" signal, when the CID checking no remaining space, the time checking unit sent to the context "Context time check "signal; when receiving time check unit returns the context" context overrun time "the signal, the flow returns to the packet reception unit," the CID space reclaiming "signal;

[0020] 上下文使用时间检查单元,用于在收到“上下文使用时间检查”信号后,从上下文队列中一一读取上下文的参数Tl,并求取Tl与当前时间T的绝对差值,作为相应的上下文的使用时间与门限值MaxJHDIdleLifeTime —一进行比对,若存在有上下文的使用时间大于MaxJHDIdleLifeTime的上下文,则继续找出用时间超限最大的上下文,并将相应的CID [0020] Context checking unit time, after receiving the "Context time check" signal, one by one read context from the context queue parameters Tl, Tl and obtains the absolute difference between the current time T, as corresponding context usage time with a threshold value MaxJHDIdleLifeTime - for a comparison, if there is a context using context MaxJHDIdleLifeTime longer than, the maximum overrun continue to identify a time context, and the corresponding CID

5随“上下文使用时间超限”信号一起返回给CID空间检查及回收单元; 5 with the "context overrun time" signal is returned to the CID together with the inspection and space recovery unit;

[0021] 信息发送单元,用于在收到“压缩包发送指示”信号后,将压缩后的数据包发向解压缩器; [0021] The information transmitting unit, after receiving "transmission instruction compressed" signal, the compressed data packet sent to the decompressor;

[0022] 存储器单元,分别与包流接收单元、上下文建立单元、数据包压缩单元和上下文使用时间检查单元连接,用于提供存储上下文队列的缓存区。 [0022] The memory cell, respectively, and the packet stream receiving means, means to establish a context, a context packet compression unit and the time checking unit is connected, for providing context queue storing buffer area.

[0023] 进一步地,上下文使用时间检查单元若比对所有上下文的使用时间均小于Max_ CIDIdleLifeTime,则向CID空间检查及回收单元返回“上下文使用时间正常”信号; [0023] Further, context checking unit time than if all of the context of use of time less than Max_ CIDIdleLifeTime, and check the CID space recovery unit returns "context normal time" signal;

[0024] CID空间检查及回收单元,在收到上下文使用时间正常”信号后,则向包流接收单元返回“CID空间不存在”信号; [0024] CID space inspection and recovery unit, receiving the context in normal time, "the signal, the receiver unit returns to the packet flow," the CID space does not exist "signal;

[0025] 包流接收单元,当收到“CID空间不存在”信号后,则向数据包压缩单元发送非压缩Uncompress方式的“数据包压缩指示”信号。 [0025] The packet stream receiving unit, after receipt of 'the CID space is not present "signal, the compressing unit transmits the packet to the non-compressed mode Uncompress" compressed packet indicates "signal.

[0026] 进一步地,CID空间检查及回收单元检查仍有剩余的CID空间时,向包流接收单元返回“CID空间存在”信号; When [0026] Further, CID space recovery and inspection unit checks the CID space is still remaining, the stream receiving unit returns "CID space is present" signal to the packet;

[0027] 包流接收单元,当收到“CID空间存在”信号后,则向上下文建立单元发出“上下文建立指示”信号; [0027] After the packet stream receiving means, when receiving "the CID space is present" signal is sent to the context establishment unit "context establishment indication" signal;

[0028] 上下文建立单元,用于在收到“上下文建立指示”信号后,在上下文队列中新建对应的上下文及其CID,并向包流接收单元返回CID。 Establishing unit [0028] context, after receiving "context establishment indication" signal, in the context of the queue corresponding to the new context and the CID, the packet stream to the receiving unit returns CID.

[0029] 进一步地,本发明的装置实现的前提是:在下文中引入参数Tl和门限值Max_ CIDIdleLifeTime ;其中:T1用于表示使用上下文进行最后一个数据包压缩的处理时间; Max_CIDIdleLifeTime用于表示上下文空闲的最大生存时间。 [0029] Furthermore, provided the device of the present invention is achieved: the introduction of parameters and threshold value Tl Max_ CIDIdleLifeTime below; wherein: T1 represents the context for the processing time of the last packet compression; Max_CIDIdleLifeTime for indicating context the maximum idle time to live.

[0030] 进一步地,压缩后的数据包至少包括初始和刷新顶包及Uncompress方式压缩包中的一种。 [0030] Further, the compressed data packet includes at least an initial and a refresh Uncompress way and staged compression package.

[0031] 采用本发明的方法及装置,在耗尽CID空间时能够保证每次释放的CID空间都是长期不使用的上下文(这些上下文对应的包流业务很可能已经结束),以此避免由于长期不使用的上下文占用CID空间而导致无法对新包流继续用有效的压缩方式进行压缩处理, 并且也避免了上下文的频繁删建,从而最大限度地提高了信道的压缩效率。 [0031] The method and apparatus of the present invention, to ensure that depletion CID space of the context of the CID space is released each long-term use (these contexts corresponding packet flow traffic is likely to have ended), thereby avoiding due to the the context of long-term use of the space occupied by CID resulting compression process can not be continued with the new packet flow and effective compression, and also avoids frequent context deletion construction, to maximize the efficiency of the compression channel. 本发明不仅适用于ROHC头压缩上下文标识的处理方式,对于其它头压缩的上下文标识处理方式也同样适用。 The present invention is applicable not only to treatment ROHC header compression context identifier of header compression context for identifying other approach is also applicable.

附图说明 BRIEF DESCRIPTION

[0032] 图1为本发明的ROHC上下文标识的压缩器处理方法流程图; ROHC compressor context identification processing method of [0032] Figure 1 is a flow chart of the invention;

[0033] 图2为本发明的ROHC上下文标识的解压缩器处理方法流程图; Solutions ROHC context identifier [0033] FIG. 2 of the present invention, a flowchart of a compression processing method;

[0034] 图3为本发明的ROHC上下文标识的处理装置实施例结构框图。 EXAMPLE block diagram showing ROHC context identifier processing apparatus [0034] FIG 3 embodiments of the present invention.

具体实施方式 Detailed ways

[0035] 本发明的ROHC上下文标识的处理方法及装置,是基于原协议(RFC3095或RFC 4815)的关于CID处理的基础之上的。 Processing method and apparatus ROHC context identifier [0035] The present invention is based on the basis of the original protocol (or the RFC3095 RFC 4815) on top of the CID process. 本发明的核心是当压缩器接收新的包流而检查CID 空间不足时,通过判断将长期不使用的上下文所占用的CID空间回收,以对新的包流使用有效的压缩方式进行压缩处理;对正常使用期的上下文的CID空间则保留,而对新的包流使用Uncompress方式进行压缩。 The core of the present invention is that when the compressor receives the new packet flow and check insufficient CID space, by determining whether context is not used for long occupied CID space recovered, in stream using new packet payload compression method performs compression processing; CID space of the context of normal use is retained and used for the new packet flow Uncompress compressed mode. 这样,既能最大限度地保证信道的压缩效率,亦能有效地避免上下文的频繁删建。 Thus, not only to ensure maximum efficiency of the compression channel, can also effectively prevent frequent context deletion construction.

[0036] 本发明的关键在于对已建立的上下文使用时间的判断,该判断需要引入时间参数Tl和门限值MaxJHDIdleLifeTime ;其中,Tl用于表示使用该上下文进行最后一个数据压缩的处理时间,它保存在压缩器的上下文中;门限值MaxJHDIdleLifeTime用于表示上下文空闲的最大生存时间。 [0036] The crux of the invention lies in determining the context of an established time, the need to introduce a time parameter is determined and the threshold value Tl MaxJHDIdleLifeTime; wherein, Tl used to represent the context for a process time of the last data compression, it in the context stored in the compressor; represents a threshold value for the maximum lifetime MaxJHDIdleLifeTime idle context. 当检查存在上下文的Tl与当前系统时间的绝对差值大于Max_ CIDIdleLifeTime时,则将该绝对差值最大的上下文判断为已长期不使用;当检查所有上下文的Tl与当前系统时间的差值均小于MaxJHDIdleLifeTime时,则判断所有上下文均在正常使用期。 When checking present context Tl and the current system time is greater than the absolute difference Max_ CIDIdleLifeTime, then the maximum absolute difference is determined as the long-term context is not used; Tl when checking all the current system time is less than a difference context MaxJHDIdleLifeTime when it is determined that all were in the context of normal use.

[0037] 以下结合附图和具体实施例对本发明的上述技术方案进行详细阐述。 [0037] The following specific embodiments and the detail of the above technical solution of the present invention in conjunction with the accompanying drawings.

[0038] 本发明的ROHC上下文标识的处理方法流程,包括如下步骤: [0038] ROHC context flow identification processing method of the present invention, comprising the steps of:

[0039] (1)压缩器接收到一个新包流的数据包后,在上下文队列中找不到匹配的上下文, 当检查还有CID空间时,则在上下文队列中建立对应的上下文; After [0039] (1) receives compressed data packet is a new packet flow, the context in the context queue no match is found when there is checked CID space is established in the context corresponding context queue;

[0040] (2)压缩器接收到一个数据包后,在上下文队列中找到了匹配的上下文,根据该上下文对该数据包进行压缩,并将当前时间记录在该上下文的参数Tl中; After [0040] (2) compressor receives a packet, a queue is found in the context of the context matching, the context based on the compressed data packet, and the current time is recorded in the context of the parameters Tl;

[0041] (3)压缩器接收到一个新包流的数据包后,在上下文队列中找不到匹配的上下文, 当检查当前CID空间已经全部耗尽时,则对已经建立的上下文的使用时间=I Tl-当前时间Tl进行检查: After [0041] (3) a packet compressor receives a new packet flow, no matching context in the context of a queue, check the current CID when the space has been fully depleted, the time context of established Tl = I Tl- current time checked:

[0042] a)当所有上下文的使用时间均小于MaxJHDIdleLifeTime时,对新包流的数据包使用Uncompress方式进行压缩; [0042] a) when all contexts use time less than MaxJHDIdleLifeTime, data packets of the packet flow using the new Uncompress compressed mode;

[0043] b)如果存在使用时间大于MaxJHDIdleLifeTime的上下文,则选择将该使用时间最大的上下文对应的CID进行回收,并重新建立上下文来压缩新包流的数据包。 [0043] b) If the time is greater than MaxJHDIdleLifeTime present context, this time is selected corresponding to the maximum context CID recovered and re-establish a new context compressed packet of the packet flow.

[0044] 后面的操作重复步骤(1)至步骤(3)。 [0044] The latter operation repeating steps (1) through (3).

[0045] 本发明的ROHC上下文标识的处理方法涉及的解压缩器处理流程,主要包括对各种ftOfile (用于表示包流所采用的协议)的初始和刷新(IRJnitiationand Refresh)包以及Uncompress方式包的处理。 [0045] The processing flow decompressor ROHC context identifier processing method according to the present invention, including various ftOfile (a stream protocol packet representing employed) and the initial refresh (IRJnitiationand Refresh) packet and the packet mode Uncompress processing. 当压缩器端释放一个旧的上下文并回收该上下文对应的CID,用于新建新包流对应的上下文时,压缩器需要发出顶包对解压缩器进行指示;解压缩器在接收到顶包后根据顶包的内容新建对应的上下文。 When the compressor end of the release of an old context and recovering the context corresponding to the CID, a new packet for the new stream corresponding to the context, staged compressor needs to send an indication to the decompressor; The decompressor upon receiving staged New staged content corresponding to the context. 当压缩器没有可回收的CID时采用Uncompress方式压缩新包流,解压缩接收到Uncompress方式包时,按照正常流程进行处理。 When the CID is not recoverable using the compressor compresses Uncompress new packet flow, upon receipt of the decompressed packets Uncompress embodiment, the process according to the normal procedure. 解压缩器在以上两种情况下的处理步骤与原协议描述一致,故此不再赘述。 In the processing of step decompressor both cases consistent with the original protocol description, therefore omitted.

[0046] 以下结合图示中的实施例对上述方法流程进行更详细地描述。 [0046] Hereinafter, the above process flow described in more detail in connection with the embodiments illustrated. 假定当前用户拨号上网,信道支持ROHC压缩,协商的信道参数MAX_CID等于4,压缩支持UDP、RTP及Uncompress三种方式。 Suppose that the current dial-up Internet users, channel support ROHC compression, negotiation channel parameters MAX_CID equal to 4, compression support UDP, RTP and Uncompress three ways. 用户先做下载,进行流媒体播放等业务,已将所有的CID空间耗尽, 此时又需要拨打网络电话,分两种情况:一是已经有些业务完成,二是该用户的所有业务都在进行中,则压缩器的处理流程如图1所示,包括如下步骤: Users do first download, streaming media players and other services, have all the CID space is exhausted, then you need to make Internet phone calls, two possibilities: First, some businesses have been completed, the second is for all of the users are in the business performed, the processing flow of the compressor shown in Figure 1, comprising the steps of:

[0047] 步骤110 :用户拔打网络电话,压缩器接收到一个新的RTP包流; [0047] Step 110: a user dial a telephone network, the compressor receives a new RTP packet stream;

[0048] 步骤120 :检查CID空间是否已满,若是执行步骤130,若否则执行步骤170 ; [0048] Step 120: Check whether the CID space is full, if step 130 is executed, if otherwise step 170;

[0049] 步骤130 :压缩器检查从CIDl到CID4的四个上下文的使用时间,是否有上下文使用时间=Tl-当前系统时间T大于MaxJHDIdleLifeTime的CID,若是执行步骤140,若否则执行步骤160 ; [0049] Step 130: Check the time from the compressor to the four CIDl CID4 the context, whether there is a context time = Tl- T is greater than the current system time of the CID MaxJHDIdleLifeTime, if step 140 is executed, otherwise step 160 if;

[0050] 步骤140 :表示可能有些业务已经完成(第一种情况),找出上下文使用时间最大的CID :其中CID2和CID4对应的上下文的使用时间均大于Max_CIDIdleLifeTime,且CID2 上下文使用时间< CID4的上下文使用时间; [0050] Step 140: it indicates there may be some traffic has been completed (the first case), the maximum use time to find the context CID: wherein CID2 and CID4 context corresponding time greater than Max_CIDIdleLifeTime, CID2 context and time <CID4 of context of use time;

[0051] 步骤150 :回收CID4,并使用CID4重新压缩新的包流,结束流程; [0051] Step 150: CID4 recovered, recompressed and used CID4 new packet flow, flow ends;

[0052] 步骤160 :由于所有CID的上下文使用时间都小于Max_CIDIdleLifeTime,表示所有业务都在进行中(第二种情况),此时没有可回收的CID,只能使用Uncompress方式对新的包流进行压缩,结束流程; [0052] Step 160: Because all contexts used CID time less than Max_CIDIdleLifeTime, represents all services are in progress (the second case), when the CID is not recyclable, can only be used for a new packet mode Uncompress stream compression, the end of the process;

[0053] 步骤170 :按照现有的流程步骤进行,即新建上下文,用RTP方式进行包流压缩,结束流程。 [0053] Step 170: according to the prior process steps, i.e. a new context for the packet flow with compressed RTP manner, the process ends.

[0054] 在上下文标识耗尽时,压缩器处理新包流的情况对应的解压缩器处理方法步骤如图2所示,包括如下流程: [0054] In the context identifier is exhausted, the compressor case of a new packet flow corresponding de-compression processing step processing method shown in Figure 2, the process comprising:

[0055] 步骤210 :解压缩器接收到一个包,判断如果是顶包执行步骤220(即与上述压缩器中第一种情况相应的步骤),如果是Uncompress方式包,则执行步骤280 (即与上述压缩器中第二种情况相应的步骤); [0055] Step 210: the decompressor receives a packet, it is determined if a pass off to step 220 (i.e., the above-described steps in the first case the compressor corresponding), if the package is Uncompress embodiment, step 280 (i.e. and in the second case the compression unit corresponding step);

[0056] 针对第一种情况压缩器回收CID空间用于压缩新的包流: [0056] For the first case the recovery compressor for compressing the new CID space packet flow:

[0057] 步骤220 :解析IR包CID对列中的CID ; [0057] Step 220: parsing CID CID of the IR packet column;

[0058] 步骤230 :检查发现该CID对应的上下文在解压缩器中是否已建立,若是执行步骤MO,若否执行步骤270 ; [0058] Step 230: Check whether the CID is found corresponding to the established context in the decompressor, if step MO, if NO in step 270;

[0059] 步骤MO :判断该CID对应上下文的profile与顶包中的profile是否一致;若否执行步骤250,若是则执行步骤沈0 ; [0059] Step MO: determining whether the context profile corresponding to the CID of the profile consistent with staged; if NO in step 250, if the executed step SHEN 0;

[0060] 步骤250 :解压缩器释放原有上下文,回收CID,并根据顶包的内容重新建立上下文,结束流程; [0060] Step 250: the original release decompressor context, the CID recovered, and re-establishing context according to the contents pass off, and the flow ends;

[0061] 步骤沈0 :解压缩器使用原有上下文空间,根据接收的顶包内容刷新原有上下文, 结束流程; [0061] Shen Step 0: the decompressor context using existing space, context according to original staged refresh content received, the process ends;

[0062] 步骤270 :根据顶包的内容在解压缩器中建立上下文,结束流程; [0062] Step 270: The content staged established in the decompressor context, ending the process;

[0063] 针对第二种情况压缩器使用Uncompress方式压缩新的包流: [0063] For the second case where the compressor compresses Uncompress using new packet flow:

[0064] 步骤观0 :解压缩器正常解析Uncompress方式包,还原出原始包,结束流程。 [0064] Step 0 View: Uncompress decompressor normal mode packet parsing, to restore the original packet, the process ends.

[0065] 如图3所示,为本发明的ROHC上下文标识的处理装置实施例结构框图,该装置300 包括:包流接收单元310、分别与包流接收单元310连接的上下文建立单元320、数据包压缩单元330以及CID空间检查及回收单元340,还包括与CID空间检查及回收单元340连接的上下文使用时间检查单元350、与数据包压缩单元330连接的信息发送单元360,以及存储器单元370;其中: [0065] As shown in FIG. 3, the processing apparatus of the present invention ROHC context identification structure diagram of embodiment, the apparatus 300 comprises: packet stream receiving unit 310, packet flow context respectively receiving unit 310 for establishing a connection unit 320, the data packet compression unit 330 and the CID space checking and recovery unit 340 further comprises a context time checking unit 350, the packet is connected to the CID space inspection and recovery unit 340, compression unit 330 connection information transmitting unit 360, and a memory unit 370; among them:

[0066] 包流接收单元310,用于将接收到的一个新包流的数据包存储在存储器单元370, 并在存储器单元370存储的上下文队列中检查该数据包是否有相匹配的上下文,如果没有则对CID空间检查及回收单元340发出“CID空间检查指示”信号,如果有则对数据包压缩单元330发出相应方式的“数据包压缩指示”信号,信号中携带有与该上下文相应的CID。 [0066] The packet stream receiving unit 310, for the received data packet to a new packet flow is stored in the memory unit 370, and checks the memory unit 370 stores context queue in the context of whether the packet has matched, if no issuing "CID space check indicates" signal CID space inspection and recovery unit 340, if the packet compressing unit 330 to issue the corresponding mode "packet compression indicates" signal, the signal carries corresponding to the context CID . 当收到CID空间检查及回收单元340返回的“CID空间存在”信号后,则向上下文建立单元320发出“上下文建立指示”信号;在收到上下文建立单元320返回的CID后,将该CID与其接收的数据包相对应,并向数据包压缩单元330发出相应方式的“数据包压缩指示”信号; 当收到CID空间检查及回收单元340返回的“CID空间不存在”信号后,则向数据包压缩单元330发送非压缩方式的“数据包压缩指示”信号;当收到CID空间检查及回收单元340返回的“CID空间回收”信号后,则将该信号所携带的CID向上下文建立单元320发出“上下文重建指示”信号; When the "CID space existing" signal is received and checked CID space recovery unit 340 is returned, the establishing unit 320 issued to the context "Context establishment indication" signal; CID after establishing unit 320 returns receipt context, the CID thereto corresponding to the received packet, unit 330 emits a corresponding manner "indicates packet compression" signal to the compressed packet; CID Upon receiving space and the recovery check unit 340 returns the "CID space absent" signal, then the data "compressed packet indicates" compressed packet signal transmitting unit 330 of the non-compressed mode; when the "CID space reclaiming" the received signal and the CID space recovery check unit 340 is returned, then the CID signal 320 carried by the context establishing means issued "context indicates reconstructed" signal;

[0067] 上下文建立单元320,用于在收到“上下文建立指示”信号后,在存储器单元370存储的上下文队列中添加建立对应的上下文及其CID ;在收到“上下文重建指示”信号后,根据信号中携带的CID在上下文队列中找到相应的上下文进行释放和重建;在完成上下文建立或上下文重建后,将上下文对应的CID返回给包流接收单元310 ; [0067] Context establishment unit 320, after receiving "context establishment indication" signal, to add context and create a corresponding CID queue in the memory unit 370 stores the context of; after receiving the "context indicates reconstructed" signal, the CID signal carried to find the appropriate context to be released in the context queue and reconstruction; after completion of the reconstruction of a context or context establishment, the context corresponding to the CID is returned to the packet stream receiving unit 310;

[0068] 数据包压缩单元330,用于在收到“数据包压缩指示”信号后,根据信号中携带的CID,从存储器单元370的上下文队列中查找到相应的上下文,并根据该上下文的压缩方式指示对包流接收单元310中相应的数据包进行压缩,这里的压缩方式也包括Uncompress方式(如前所述一种压缩比非常低的压缩方式)的包压缩处理;压缩处理结束后将当前的时间记录在相应的上下文的参数Tl中,并向信息发送单元360发出“压缩包发送指示”信号; [0068] The packet compression unit 330, after receiving the "Data compressed packet indicates" signal, according to the CID carried by the signal, the memory cell from the lookup context queue 370 to the appropriate context, and compression context according to the mode indication receiving unit 310 of the packet stream corresponding to compress packets, herein also include compression Uncompress manner (as described above for compressing a very low compression ratio) of the packet compression processing; end of the compression process after the current time recorded in the corresponding parameters in the context of Tl, and issues a "transmission instruction compressed" signal information transmitting unit 360;

[0069] CID空间检查及回收单元340,用于在收到“CID空间检查指示”信号后,对CID空间进行检查,当检查仍有剩余的CID空间时,向包流接收单元310返回“CID空间存在”信号;当检查没有剩余的CID空间时,则向上下文使用时间检查单元350发出携带有CID的“上下文使用时间检查”信号;当收到上下文使用时间检查单元350返回的“上下文使用时间正常”信号或“上下文使用时间超限”信号后,则向包流接收单元310返回“CID空间不存在”信号或“CID空间回收”信号; [0069] CID space recovery unit 340 and checks, after receiving "CID space check indicates" signal, to check CID space, when there is a surplus checked CID space, returns the packet to the stream reception unit 310 "CID space existing "signal; when checking no remaining CID space, the time checking unit 350 issues to the context carries a CID" context check time "signal; context when receiving time checking unit 350 returns a" context time normal "signal or" overrun time context, "the signal, the receiving unit 310 to the packet flow returns" the CID space "signal or" the CID space reclaiming "signal is not present;

[0070] 上下文使用时间检查单元350,用于在收到“上下文使用时间检查”信号后,从存储器单元370的上下文队列中一一读取各上下文参数Tl,并求取Tl与当前时间T的绝对差值,作为相应的上下文的使用时间一一与门限值MaxJHDIdleLifeTime进行比对,若结果所有上下文的使用时间均小于MaxJHDIdleLifeTime,则向CID空间检查及回收单元340返回“上下文使用时间正常”信号,若查到有上下文的使用时间大于MaxJHDIdleLifeTime,则继续找出使用时间超限最大的上下文,并将相应的CID随“上下文使用时间超限”信号一起返回给CID空间检查及回收单元340 ; [0070] Context time checking unit 350, after receiving the "Context time check" signal, each context parameter Tl eleven read from the memory unit context queue 370, and obtains the current time T and Tl absolute difference, one by comparison with a threshold value corresponding to a time MaxJHDIdleLifeTime context, if the context of the results of all less than MaxJHDIdleLifeTime time, the CID space to the inspection and recovery unit returns "context normal time" signal 340 If there is found longer than contexts MaxJHDIdleLifeTime, then continue to identify the maximum overrun time context, and with a corresponding CID "context overrun time" signal is returned to the CID together with the recovery unit 340 and the examination space;

[0071 ] 信息发送单元360,用于在收到数据包压缩单元330发出的“压缩包发送指示,,信号后,将压缩后的包发向解压缩器(图中未示出),这里的压缩包不仅包括普通的压缩包, 也包括顶包和Uncompress方式压缩包; [0071] The information transmitting unit 360, configured to receive a data packet sent compression unit 330 ",, after compressed transmission instruction signal, and the compressed packets sent to the Decompression unit (not shown), where It includes not only ordinary compressed archive, and also includes a staged manner Uncompress compressed;

[0072] 存储器单元,分别与包流接收单元310、上下文建立单元320、数据包压缩单元330 和上下文使用时间检查单元350连接,用于提供存储上下文队列的缓存区。 [0072] The memory cell respectively receive the stream packet unit 310, a context establishment unit 320, a data compression unit 330 and packet context queue provides storage buffer area on the context in time checking unit 350 is connected, for.

[0073] 综上所述,本发明在耗尽CID空间时能够保证每次释放的上下文都是长期不使用的上下文,因而既可避免长期不使用的上下文占用CID空间,导致新的包流无法使用有效的压缩方式进行压缩处理,亦可避免上下文的频繁删建,从而最大限度地提高了信道的压缩效率。 [0073] In summary, the present invention can ensure space depletion CID context is released each time the context of long-term use, and therefore can avoid occupying the context of long-term use of the CID space, can not lead to a new packet flow efficient compression using the compression process, but also to avoid frequent context deletion construction, to maximize the efficiency of the compression channel. 本发明的方法及装置不仅适用于ROHC头压缩方式,对于其它使用上下文标识的头压缩方式也同样适用。 The method and apparatus of the present invention is applicable not only to the ROHC header compression, header compression used for other identified context is also applicable.

[0074] 当然,本发明还可有其它多种实施例,在不背离本发明精神及其实质的情况下,熟悉本领域的技术人员当可根据本发明作出各种相应的变形和润饰,但这些相应的变形和润饰都应属于本发明所附的权利要求的保护范围。 [0074] Of course, the present invention may have a variety of other embodiments, without departing from the spirit and essence of the present invention, those skilled in the art can make various corresponding modifications and variations according to the present invention, but the corresponding deformation and modifications shall fall within the scope of the appended claims. 譬如,CID空间检查及回收单元340和上下文使用时间检查单元350可以合并在一个单元内;或者,信息发送单元360可与数据包压缩单元330合并在一起等等。 For example, CID space and the recovery check unit 340 and the context in which the time checking unit 350 may be combined in one unit; Alternatively, the information transmitting unit 360 may merge unit 330 like the packet compression.

Claims (8)

1. 一种鲁棒性头压缩上下文标识的处理方法,其特征在于,所述方法步骤为:在上下文中引入参数Tl和门限值MaxJHDIdleLifeTime ;其中:所述Tl用于表示使用所述上下文进行最后一个数据包压缩的处理时间;所述MaxJHDIdleLifeTime用于表示所述上下文空闲的最大生存时间;(1)压缩器收到一个新包流的数据包后,在上下文队列中查找匹配的上下文;(2)根据查找到的所述匹配的上下文压缩所述数据包,并将当前时间T记录在所述上下文的参数Tl中;若未查找到所述匹配的上下文,且检查当前上下文标识CID空间已全部耗尽时,则根据当前时间T对所述上下文队列中的所述上下文的使用时间=Tl-T进行检查:当存在有所述上下文的使用时间大于门限值MaxJHDIdleLifeTime的所述上下文时, 则选择将所述使用时间最大的所述上下文对应的所述CID进行回收,并重新建立上下文来压缩 Context identification processing method 1. A robust header compression, characterized in that the method steps of: introducing a threshold value Tl, and parameters in the context MaxJHDIdleLifeTime; wherein: Tl is used to indicate the context for the use of Finally, a compressed packet processing time; MaxJHDIdleLifeTime for the context indicates the maximum idle time of survival; (1) receives compressed data packet of a new packet flow context to find the match in the context queue; ( 2) the compression context to find the matching of the data packets, and records the current time T in the context of the parameters Tl; failure to find the matching context, and checking the current context identifier CID space is when all consumed, according to the current time of the time T for use in the context queue context = Tl-T checked: when there is the context of the use of time greater than a threshold value of the context MaxJHDIdleLifeTime, selecting the maximum use time corresponding to the CID of the context recovery, and re-establishing compression context 述数据包;(3)将压缩后的数据包发往解压缩器。 Said data packet; (3) the compressed data packet sent to the decompressor.
2.按照权利要求1所述的方法,其特征在于,步骤(¾当所有所述上下文的使用时间均小于所述Max_CIDIdleLifeTime时,对所述新包流使用非压缩Uncompress方式进行压缩。 2. The method according to claim 1, wherein the step (¾ when all of the context of the usage time is less than Max_CIDIdleLifeTime, the new packet flow incompressible Uncompress compressed mode.
3.按照权利要求1所述的方法,其特征在于,步骤(2)若未查找到所述匹配的上下文, 且检查所述当前CID空间未全部耗尽时,则在所述上下文队列中建立对应的上下文。 3. The method according to claim 1, wherein the step (2) if no match is found the context, and checking the current CID space is not fully depleted, is established in the context queue corresponding context.
4.按照权利要求1至3任一项所述的方法,其特征在于,步骤C3)所述压缩后的数据包至少包括初始和刷新顶包及Uncompress方式压缩包中的一种。 4. The method of any one of claims 1 to 3, wherein the step C3) of the compressed data packet comprises at least one packet and the initial refresh mode Uncompress and staged compression.
5. 一种鲁棒性头压缩上下文标识的处理装置,其特征在于,所述装置包括:包流接收单元、分别与所述包流接收单元连接的上下文建立单元、数据包压缩单元以及CID空间检查及回收单元,还包括与所述CID空间检查及回收单元连接的上下文使用时间检查单元、与所述数据包压缩单元连接的信息发送单元,以及存储器单元;在上下文中引入参数Tl和门限值MaxJHDIdleLifeTime ;其中:所述Tl用于表示使用所述上下文进行最后一个数据包压缩的处理时间;所述MaxJHDIdleLifeTime用于表示所述上下文空闲的最大生存时间;其中:所述包流接收单元,用于将接收到的一个新包流的数据包存储在所述存储器单元,并检查所述存储器单元中的上下文队列,若所述数据包有匹配的上下文,则向所述数据包压缩单元发出携带有上下文标识CID及相应压缩方式的“数据包压缩指示” A robust header compression context identifier processing apparatus, wherein, said means comprising: a packet stream reception unit to receive the packet stream, respectively context unit for establishing a connection unit, a data compression unit and a packet CID space inspection and recovery unit further comprises a context time checking unit is connected to the CID space of the inspection and recovery means, connected to the information transmission unit unit, and a memory unit of the compressed data packet; Tl, and a threshold parameter introduced in the context of MaxJHDIdleLifeTime value; wherein: Tl for the indication of the time of the last context for processing compressed data packet; MaxJHDIdleLifeTime for representing the maximum time span of the idle context; wherein: the packet stream receiving unit, with the packets are stored in a new data packet flow received in the memory unit and the memory unit checks the context queue, if the data packet has a context match, the compression unit to the data packet sent to carry there context identifier CID and the corresponding compression method is "compressed packet indicates" 号;若所述数据包没有匹配的上下文,则向所述CID空间检查及回收单元发出“CID空间检查指示”信号; 当收到所述CID空间检查及回收单元返回的“CID空间回收”信号后,则将所述信号携带的CID向所述上下文建立单元发出“上下文重建指示”信号;在收到所述上下文建立单元返回的CID后,将所述CID与其接收的所述数据包相对应,并向所述数据包压缩单元发出所述“数据包压缩指示”信号;所述上下文建立单元,用于在收到所述“上下文重建指示”信号后,根据所述信号携带的所述CID将在所述上下文队列中相应的上下文释放,并重建上下文;在完成上下文重建后,将上下文对应的CID返回给所述包流接收单元;所述数据包压缩单元,用于在收到所述“数据包压缩指示”信号后,根据所述信号中携带的所述CID,从所述上下文队列中查找到相应的上下文, Number; if the context does not match the data packet is issued "CID space check indicates" signal to the CID space inspection and recovery unit; checking upon receipt of the CID space recovery unit and returning "CID space reclamation" signal after the signal is then carried establishing unit sends CID "context indicates reconstructed" signal to the context; after receiving the CID unit returns the context establishment, the data packets of the received CID corresponds thereto , and the data packet sent to the compression unit "compressed packet indicates" signal; the context establishment unit after receiving the "context indicates reconstructed" signal, the signal according to the CID carried the corresponding context is released in the context queue, and the context of the reconstruction; after completion of the reconstruction of the context, the context corresponding to the CID of the packet is returned to the stream reception unit; said packet compression unit for receiving the "packet compression indicates" the signal, according to the CID carried by the signal, from the lookup context queue to the appropriate context, 根据所述上下文中压缩方式指示将所述数据包压缩,然后将当前的时间记录在相应的所述上下文的参数Tl中,并向所述信息发送单元发出“压缩包发送指示”信号;所述CID空间检查及回收单元,用于在收到所述“CID空间检查指示”信号后对CID空间进行检查,当检查没有剩余的所述CID空间时,则向所述上下文使用时间检查单元发出“上下文使用时间检查”信号;当收到所述上下文使用时间检查单元返回的“上下文使用时间超限”信号后,则向所述包流接收单元返回“CID空间回收”信号;所述上下文使用时间检查单元,用于在收到所述“上下文使用时间检查”信号后,从所述上下文队列中一一读取所述上下文的所述参数Tl,并求取所述Tl与当前时间T的绝对差值,作为相应的上下文的使用时间一一与门限值MaxJHDIdleLifeTime进行比对,若存在有所述上下文的 The compression method in the context of the data indicative of the compressed packet, then the current time is recorded in the respective context parameters Tl, the transmitting unit sends the information to the "compressed transmission instruction" signal; the CID space recovery and inspection unit for checking the CID space after receiving the "CID space check indicates" signal, when the CID checking no remaining space, the time checking unit sends to the context " context checking time "signal; context upon receipt of the time checking unit returns" context using the time Limit, "the signal, the receiving unit returns to the packet flow," the CID space reclaiming "signal; the time context checking unit, configured to receive the "time context review" signal is read from the queue in the context of the context of the eleven parameters Tl, Tl and obtains the current time and T is the absolute difference, one by comparing with a threshold value as the corresponding context MaxJHDIdleLifeTime time, if there is a context 用时间大于所述MaxJHDIdleLifeTime的所述上下文,则继续找出所述使用时间超限最大的所述上下文,并将相应的CID随“上下文使用时间超限”信号一起返回给所述CID空间检查及回收单元;所述信息发送单元,用于在收到所述“压缩包发送指示”信号后,将压缩后的数据包发向解压缩器;所述存储器单元,分别与所述包流接收单元、所述上下文建立单元、所述数据包压缩单元和所述上下文使用时间检查单元连接,用于提供存储上下文队列的缓存区。 With said time is greater than the MaxJHDIdleLifeTime context, then continue to identify the maximum use time overrun the context, and returns the corresponding CID together with the "context overrun time" signal to the CID space check and recovery unit; said information transmitting unit, configured to receive the "compressed transmission instruction," the signal, the compressed data packet sent to the compressor solution; flow unit receiving the memory cell, respectively, and the packet the context establishment unit, said compression unit and said packet data context in the time checking unit is connected, for providing context queue storing buffer area.
6.按照权利要求5所述的装置,其特征在于,所述上下文使用时间检查单元,若比对所有所述上下文的使用时间均小于所述Max_ CIDIdleLifeTime,则向所述CID空间检查及回收单元返回“上下文使用时间正常”信号;所述CID空间检查及回收单元,在收到所述“上下文使用时间正常”信号后,则向所述包流接收单元返回“CID空间不存在”信号;所述包流接收单元,当收到所述“CID空间不存在”信号后,则向所述数据包压缩单元发送非压缩Uncompress方式的“数据包压缩指示”信号。 6. The apparatus according to claim 5, wherein the context checking unit time, than if all of the context of the usage time is less than Max_ CIDIdleLifeTime, the CID space to the inspection and recovery means Back "context normal time" signal; and checking the CID space recovery unit, after receiving the "normal context time" signal, the packet stream to the receiving unit returns "CID space does not exist" signal; the said packet stream receiving unit, after receiving the "absence of the CID space" signal, the compression unit to the data packet transmission of the non-compressed mode Uncompress "compressed packet indicates" signal.
7.按照权利要求5所述的装置,其特征在于,所述CID空间检查及回收单元,当检查仍有剩余的所述CID空间时,向所述包流接收单元返回“CID空间存在”信号;所述包流接收单元,当收到所述“CID空间存在”信号后,则向所述上下文建立单元发出“上下文建立指示”信号;所述上下文建立单元,用于在收到所述“上下文建立指示”信号后,在所述上下文队列中新建对应的上下文及其CID,并向所述包流接收单元返回所述CID。 7. The apparatus according to claim 5, characterized in that, the inspection and recovery unit CID space, when there is a surplus checking the CID space, the receiving unit returns "CID space is present" signal to the packet stream ; the packet stream receiving unit, when the "presence of the CID space" of the received signal is sent to the context establishing means "context establishment indication" signal; the context establishment unit, configured to receive the " after establishing the context indicates "signal, in the context queue corresponding to the new context and the CID, and the packet stream receiving unit returns the CID.
8.按照权利要求5至7任一项所述的装置,其特征在于,所述压缩后的数据包至少包括初始和刷新顶包及Uncompress方式压缩包中的一种。 8. The device according to any one of claim 5 to 7, wherein the compressed data packet includes at least an initial and a refresh Uncompress way and staged compression package.
CN 200810100138 2008-05-26 2008-05-26 A Robust header compression context identifier processing method and apparatus of CN101594290B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 200810100138 CN101594290B (en) 2008-05-26 2008-05-26 A Robust header compression context identifier processing method and apparatus of

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 200810100138 CN101594290B (en) 2008-05-26 2008-05-26 A Robust header compression context identifier processing method and apparatus of

Publications (2)

Publication Number Publication Date
CN101594290A CN101594290A (en) 2009-12-02
CN101594290B true CN101594290B (en) 2011-11-30

Family

ID=41408745

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 200810100138 CN101594290B (en) 2008-05-26 2008-05-26 A Robust header compression context identifier processing method and apparatus of

Country Status (1)

Country Link
CN (1) CN101594290B (en)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102378258A (en) * 2010-08-16 2012-03-14 中兴通讯股份有限公司 Transmission control method and device in robust header compression system
CN101977402B (en) * 2010-10-19 2015-04-01 中兴通讯股份有限公司 Method and device for reusing context in robustness header compression
CN102045769A (en) * 2010-12-23 2011-05-04 南京邮电大学 Heading compress text transfer method in Internet of things (IOT) prestressed handover
CN102291406B (en) 2011-08-12 2017-02-15 中兴通讯股份有限公司 Robust header compression processing method and a robust header compression processor
CN102300258B (en) * 2011-08-26 2017-10-10 中兴通讯股份有限公司 Method and system for context reuse
CN102457901B (en) * 2011-12-22 2017-11-07 中兴通讯股份有限公司 Robust header compression apparatus and method adapted version
US20150089052A1 (en) * 2012-05-04 2015-03-26 Qun Yang Lin Context-Aware HTTP Compression
CN102694811B (en) * 2012-06-06 2015-07-29 华为技术有限公司 Robust header compression apparatus and method of processing the identified context

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1462534A (en) 2000-09-22 2003-12-17 诺基亚有限公司 Defining context identifier in header field compression
CN1874306A (en) 2006-03-15 2006-12-06 华为技术有限公司 Method and equipment of ageing treatment for header compressed list items of context in Internet protocol

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1462534A (en) 2000-09-22 2003-12-17 诺基亚有限公司 Defining context identifier in header field compression
CN1874306A (en) 2006-03-15 2006-12-06 华为技术有限公司 Method and equipment of ageing treatment for header compressed list items of context in Internet protocol

Also Published As

Publication number Publication date
CN101594290A (en) 2009-12-02

Similar Documents

Publication Publication Date Title
US7430617B2 (en) Method and system for header compression
KR100913900B1 (en) A method and apparatus for transmitting/receiving packet data using predefined length indicator in mobile communication system
EP1376878B1 (en) Protocol message compression in a wireless communications system
US8416788B2 (en) Compression of data packets while maintaining endpoint-to-endpoint authentication
JP3559271B2 (en) Defining a context identifier when header field compression
JP3730835B2 (en) Packet transmission method, a relay device and the data terminal
EP1222789B1 (en) Robust header compression in packet communications
JP3559019B2 (en) System and method for achieving robust ip / udp / rtp header compression if the untrusted network exists
EP1641193A1 (en) Method for telecommunications using internet protocol
US20070086481A1 (en) RTP Payload Format For VC-1
FI111777B (en) the transfer of IP data communication system
CN102196497B (en) Bi-directional packet data transmission system and method
CN102804725B (en) Network cache architecture
CN101204068B (en) Dynamic robust header compression
CN1197281C (en) Header compression in real time services
CN100525289C (en) System and methods for VOIP wireless terminals
JP4602568B2 (en) Communication method used in a packet server
KR101037263B1 (en) Session description message extensions
EP1718025A1 (en) Packet header compression
US20050123042A1 (en) Moving picture streaming file, method and system for moving picture streaming service of mobile communication terminal
JP3701271B2 (en) Data transmitting and receiving system and method
CN1174588C (en) Grouping receiver and transmission method thereof
CN1513252A (en) Real-time packetization and retransmission in streaming applications
JP3628359B2 (en) Data transfer method, the data transmission apparatus, a data receiving apparatus and a video mail system
CN1617540A (en) A technique for compressing a header field in a data packet

Legal Events

Date Code Title Description
C06 Publication
C10 Entry into substantive examination
C14 Grant of patent or utility model
TR01 Transfer of patent right
CF01 Termination of patent right due to non-payment of annual fee