WO2012155566A1 - Context reuse method and system - Google Patents

Context reuse method and system Download PDF

Info

Publication number
WO2012155566A1
WO2012155566A1 PCT/CN2012/071365 CN2012071365W WO2012155566A1 WO 2012155566 A1 WO2012155566 A1 WO 2012155566A1 CN 2012071365 W CN2012071365 W CN 2012071365W WO 2012155566 A1 WO2012155566 A1 WO 2012155566A1
Authority
WO
WIPO (PCT)
Prior art keywords
context
compressed
packet
compression
decompressor
Prior art date
Application number
PCT/CN2012/071365
Other languages
French (fr)
Chinese (zh)
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 中兴通讯股份有限公司
Publication of WO2012155566A1 publication Critical patent/WO2012155566A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/02Traffic management, e.g. flow control or congestion control
    • H04W28/06Optimizing the usage of the radio link, e.g. header compression, information sizing, discarding information
    • 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
    • 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/22Parsing or analysis of headers

Definitions

  • the present invention relates to the field of wireless communication technologies, and in particular, to a method and system for context reuse. Background technique
  • ROHC Robust Header Compression Protocol
  • ROHC perceptual compression context
  • Each of the same service flows received by the compressor has a compression context for each packet to be compressed, where the compression context includes all relevant information of the packet to be compressed.
  • Each compressed packet has a corresponding compression context in the compressor, and the decompressor also has a decompression context.
  • the to-be-compressed packet is generally divided into a static domain and a dynamic domain, where the static domain refers to a field with little or no change in the packet to be compressed; the dynamic domain refers to a field that changes frequently in the packet to be compressed.
  • the fields of the static domain of the packet to be compressed of the same traffic flow remain unchanged.
  • the compressor needs to send packets to the decompressor.
  • the packets include multiple types, such as IR packets and dynamic domain packets.
  • the IR packet includes the following contents: a context identifier CID, a static header field of the packet to be compressed, and dynamic domain information.
  • the dynamic domain IR packet contains the following contents: The context identifier CID, the packet to be compressed, the header dynamic domain information, and so on, but does not contain the static header information of the packet header of the packet to be compressed.
  • the message used is an IR message.
  • the modes of compressing/decompressing the context include a one-way mode, a bidirectional optimization mode, and a bidirectional reliable mode.
  • the compressor and the decompressor are initialized, the corresponding compression/decompression context mode is a one-way mode.
  • Subsequent migration of the model can be achieved, such as moving to bidirectional optimization mode or to bidirectional reliable mode. Migration.
  • the migration of the mode must be initiated by the decompressor.
  • the above compression/decompression context reuse process has the following problems: If the working mode of the compressor and the decompressor is not the initial one-way mode at this time, it is easy to cause an unsafe working mode switching, affecting the compression/decompression effect, and then affecting User experience. Summary of the invention
  • a primary object of the present invention is to provide a method for context reuse that implements a secure mode of compression/decompression context mode.
  • the present invention proposes a method for context reuse, including:
  • the compressor After selecting and reusing a used compression context for the currently received packet to be compressed, the compressor sets the current working mode of the compression context to an initial one-way mode, and sends an IR message to the decompressor;
  • the decompressor receives the IR packet, searches for a corresponding decompression context according to the context identifier in the IR packet, and sets a current working mode of the decompression context to an initial one-way mode.
  • the precondition for selecting and reusing a used compression context for the currently received packet to be compressed is:
  • the method further includes:
  • the compressor After confirming that the decompressor receives and parses the successful IR message, and after receiving the to-be-compressed packet, the compressor determines whether there is another same to be compressed as the currently received static domain to be compressed.
  • the compression context of the package
  • the selecting and reusing a used compression context for the received packet to be compressed is specifically:
  • the compressor selects a storage space from the used compressed context storage space, clears the selected storage space, and uses the selected storage space to create a compression context for the package to be compressed.
  • the invention further provides a context reuse system, comprising:
  • a compressor configured to: after selecting and reusing a used compression context for the received packet to be compressed, setting a current working mode of the compression context to an initial unidirectional mode, and transmitting a message to the decompressor IR; using a decompressor And receiving the IR packet, searching for a corresponding decompression context according to the context identifier in the IR packet, and setting a current working mode of the decompression context to an initial one-way mode.
  • the precondition for selecting and reusing a used compression context for the currently received packet to be compressed is:
  • the compressor is further configured to: after confirming that the decompressor receives and parses the successful IR message, and when receiving the to-be-compressed packet, determining whether there is the same static domain as the currently received packet to be compressed.
  • the compression context of the other received packets to be compressed determining that the compressed context is present, sending a message containing dynamic domain information but no static domain information to the decompressor.
  • the compressor is further configured to select a storage space from the used compression context storage space, clear the selected storage space, and create a compressed context of the to-be-compressed package by using the selected storage space.
  • the present invention sets the current working mode of the compression context to the initial unidirectional mode, and sends an IR message to the decompressor, and the decompressor searches for the corresponding message according to the IR packet.
  • the decompression context, the current working mode of the decompression context is set to the initial one-way mode, so that the working mode security migration of the compression/decompression context can be realized, and the user experience is improved.
  • FIG. 1 is a flow chart of an embodiment of a method for context reuse of the present invention
  • FIG. 2 is a block diagram showing an embodiment of a system for context reuse of the present invention.
  • an embodiment of a method for context reuse includes: Step S101: After a compressor selects and reuses an used compression context for a currently received packet to be compressed, the current work of the compression context is performed. The mode is set to the initial unidirectional mode, and an IR message is sent to the decompressor;
  • Step S102 The decompressor receives the IR packet, searches for a corresponding decompression context according to the context identifier CID in the IR packet, and sets a current working mode of the decompression context to an initial one-way mode.
  • the compressor after compressing the compression context for the currently received packet to be compressed, the compressor sets the reused compression to the initial unidirectional mode, and notifies the decompressor through the IR message, and the decompressor finds the corresponding decompression context, and
  • the decompression context is set to the initial one-way mode, which ensures that the compressor and the decompressor work in the same mode, laying the foundation for the decompressor to initiate the decompression context mode migration, realizing the safe mode of the compression/decompression context, and improving the user's Experience the effect.
  • the working modes of the above compression context and decompression context include an initial one-way mode, a bidirectional optimization mode, and a bidirectional reliable mode.
  • the migration of the working mode must be initiated by the decompressor. And generally migrate from low working mode to high working mode.
  • the compression context corresponding to the compressor and the working mode of the corresponding decompression context in the decompressor should be consistent before the working mode migration.
  • the order of the working modes is as follows: ie, the decompressor initial unidirectional mode ⁇ bidirectional optimization mode ⁇ bidirectional reliable mode. Therefore, the working mode security migration of the compression/decompression context can be implemented by this embodiment.
  • the precondition for selecting and reusing the used compression context for the currently received packet to be compressed is: there is no other to-be-compressed packet that is the same as the static domain to be compressed.
  • the context is compressed and there is not enough storage space to create a compression context for the to-be-compressed package.
  • a service flow received by the compressor includes a plurality of to-be-compressed packets, and the plurality of to-be-compressed packets are continuously received by the compressor one by one.
  • a to-be-compressed package consists of two parts: static domain and dynamic domain.
  • the static domains in the packets to be compressed in the same service flow may be the same or different, but the dynamic domains of different packets to be compressed in the same service flow are different.
  • the compressor When the compressor receives the first packet to be compressed of a certain service flow, it needs to create a compression context for the to-be-compressed packet.
  • it is first determined whether to receive other to-be-compressed packets of the same service flow that are the same as the static domain of the current to-be-compressed packet. If yes, the compression context of the other to-be-compressed packet is adopted; if not, a new compression context needs to be created for the received packet to be compressed; if there is not enough storage space to create a compression context for the to-be-compressed packet, A compression context is selected and reused in the created compression context.
  • the packet to be compressed corresponding to the reused compression context may be the same service flow as the currently received packet to be compressed, or may be different service flows.
  • the method further includes the following processing: confirming that the decompressor receives and parses the successful IR report.
  • the packet containing the dynamic domain information but not the static domain information is sent to the decompressor, that is, the packet is a packet including dynamic domain information other than the IR packet, such as a dynamic domain. IR message.
  • the received IR packet is an IR packet sent when the compression context is newly created, and the decompressor needs to create a new one. Uncompress the context. If the corresponding decompression context is found, the description is the IR message sent by the compressor when the compression context is reinitialized or when the context is reused. In short, the decompressor does not need to consider the message generated by the IR message. In the above three cases, the same processing is applied to the processing of IR messages.
  • the IR packet includes a static domain and a dynamic domain content of the corresponding packet to be compressed. After confirming that the decompressor receives and parses the successful IR message, it indicates that the decompressor receives the static domain and dynamic domain related information of the packet to be compressed.
  • the compressor does not need to send the static domain related information of the packet to be compressed to the decompressor, and directly sends the current decompressor to the decompressor.
  • Dynamic domain IR packet of the received dynamic domain related information of the packet to be compressed In this manner, the load of the packet is effectively reduced, thereby improving the compression/decompression efficiency of the packet to be compressed.
  • the selecting, and reusing, a used compression context for the received packet to be compressed is specifically: the compressor selects a storage space from the used compression context storage space, and clears the selected space. Storage space, and use the selected storage space to create a compression context for the package to be compressed.
  • the method of context reuse provided by the embodiment of the present invention can implement the safe migration of the compression/decompression context mode, and at the same time reduce the load of the message, thereby improving the compression/decompression efficiency of the packet to be compressed.
  • a system 100 for context reuse including: a compressor 110 and decompression 120.
  • the compressor 110 is configured to: after selecting and reusing a used compression context for the received packet to be compressed, setting a current working mode of the compression context to an initial one-way mode, and sending an IR message to the decompressor 120;
  • the decompressor 120 is configured to receive the IR packet, find a corresponding decompression context according to the CID in the IR packet, and set a current working mode of the decompression context to an initial one-way mode.
  • the compressor 110 sets the reused compression to the initial unidirectional mode, and notifies the decompressor 120 through the IR message, and the decompressor 120 searches according to the IR message.
  • the corresponding decompression context is set, and the decompression context is set to the initial one-way mode, thereby ensuring that the working modes of the compressor 110 and the decompressor 120 are the same, laying the foundation for the decompressor 120 to initiate the decompression context working mode migration, and implementing the compression/decompression context.
  • the safe migration of work mode improves the user experience.
  • the working modes of the above compression context and decompression context include an initial one-way mode, a two-way optimization mode, and a two-way reliable mode.
  • the migration of the working mode must be initiated by the decompressor 120. And generally migrate from low working mode to high working mode.
  • the compression context corresponding to the compressor 110 and the corresponding decompression context in the decompressor 120 should be consistent before the working mode migration.
  • the order of the above operating modes is as follows: that is, the decompressor 120 initial unidirectional mode ⁇ bidirectional optimization mode ⁇ bidirectional reliable mode. Therefore, the working mode security migration of the compression/decompression context can be achieved by this embodiment.
  • the precondition of the compressor 110 selecting and reusing a used compression context for the currently received packet to be compressed is: the same as the static domain of the to-be-compressed packet The compression context of other packets to be compressed, and there is not enough storage space to create a compression context for the to-be-compressed package.
  • a service flow received by the compressor 110 includes a plurality of to-be-compressed packets, and the plurality of to-be-compressed packets are continuously received by the compressor 110 one by one.
  • the static domain and the dynamic domain are composed of two parts.
  • the static domains in the packets to be compressed in the same service flow may be the same or different, but the dynamic domains of different packets to be compressed in the same service flow are different.
  • the compressor 110 When the compressor 110 receives the first packet to be compressed of a certain service flow, it needs to create a compression context for the to-be-compressed packet.
  • the to-be-compressed packet corresponding to the reused compression context may be the same service flow as the current to-be-compressed packet, or may be different service flows.
  • the compressor 110 is further configured to: determine, after receiving the to-be-compressed packet, after confirming that the decompressor 120 receives and parses the IR packet successfully, determining whether there is a current reception a compression context of the other packets to be compressed whose packets are to be compressed in the static domain; when the compression context exists, the packet containing the dynamic domain information but no static domain information is sent to the decompressor 120, that is, the packet is Other than the IR message, the message contains the dynamic domain information, such as the dynamic domain IR message.
  • the decompressor 120 when the decompressor 120 does not find a corresponding decompression context according to the CID in the IR message, the received IR message is an IR message sent when the compression context is newly created, and the decompressor 120 is at this time. Need to create a new decompression context. If the corresponding decompression context is found, it is an IR message sent by the compressor 110 when the compression context is reinitialized or when the context is reused. In summary, the decompressor 120 does not need to consider the message generated by the IR message.
  • the IR packet includes static domain and dynamic domain related information of the corresponding packet to be compressed.
  • the compressor 110 After the compressor 110 confirms that the decompressor 120 receives and parses the successful IR message, it indicates that the decompressor 120 receives the static domain and dynamic domain related information of the packet to be compressed.
  • the static domain to be compressed is the same as the static domain to be compressed corresponding to the IR packet, and the compressor 110 does not need to send the static domain related information of the to-be-compressed packet to the decompressor 120, and directly sends the information to the decompressor 120.
  • Dynamic domain IR packet of the dynamic domain-related information of the packet to be compressed Through the manner of this embodiment, the payload of the packet is effectively reduced, thereby improving the compression/decompression efficiency of the packet to be compressed.
  • the compressor 110 is configured to select a storage space from the used compression context storage space, clear the selected storage space, and create a to-be-compressed package by using the selected storage space. Compression context.
  • the context reuse system 100 provided in this embodiment can implement the safe mode migration of the compression/decompression context, and at the same time reduce the load of the message, thereby improving the compression/decompression efficiency of the packet to be compressed.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Information Transfer Between Computers (AREA)
  • Telephone Function (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The present invention provides a context reuse method, comprising: after selecting and reusing already used compression context for a currently received packet to be compressed, a compressor setting a current working mode of the compression context to an initial unidirectional mode, and sending an IR packet to a decompressor; the decompressor receiving the IR packet, searching for corresponding decompression context according to a context identifier in the IR packet, and setting a current working mode of the decompression context to the initial unidirectional mode. The present invention further provides a context reuse system. The application of the method and system to realize compression/decompression context work mode security migration improves the user experience.

Description

上下文重用的方法及系统 技术领域  Context reuse method and system
本发明涉及无线通讯技术领域, 尤其是涉及一种上下文重用的方法及 系统。 背景技术  The present invention relates to the field of wireless communication technologies, and in particular, to a method and system for context reuse. Background technique
鲁棒性头压缩 ( Robust Header Compression Protocol, ROHC )是一种 基于 IP的通用压缩技术, 主要应用于基站和用户终端之间。  Robust Header Compression Protocol (ROHC) is a general IP-based compression technology mainly used between base stations and user terminals.
上下文上 ROHC中的非常重要的概念, 其分为压缩上下文和解压上下 文。 其中, 压缩器接收的同一业务流中, 每接收一个待压缩包都对应有一 个压缩上下文, 其中压缩上下文包含该待压缩包所有相关信息。 每个待压 缩包在压缩器中都有对应的压缩上下文, 在解压器也对应有一解压上下文。 在 ROHC报文处理中, 一般将待压缩包划分为静态域和动态域, 其中静态 域指待压缩包中变化少或几乎不变的字段; 动态域指待压缩包中变化频繁 的字段。 一般而言, 同一业务流的待压缩包静态域的字段保持不变。  A very important concept in ROHC in context, which is divided into compression context and decompression context. Each of the same service flows received by the compressor has a compression context for each packet to be compressed, where the compression context includes all relevant information of the packet to be compressed. Each compressed packet has a corresponding compression context in the compressor, and the decompressor also has a decompression context. In the ROHC packet processing, the to-be-compressed packet is generally divided into a static domain and a dynamic domain, where the static domain refers to a field with little or no change in the packet to be compressed; the dynamic domain refers to a field that changes frequently in the packet to be compressed. In general, the fields of the static domain of the packet to be compressed of the same traffic flow remain unchanged.
压缩器与解压器业务交互过程中, 压缩器需向解压器发送报文, 其中 报文包括多种类型的, 如 IR报文和动态域报文等等。 其中, IR报文包含 有如下内容: 上下文标识 CID、 待压缩包的报文头部静态域和动态域信息 等内容。 动态域 IR报文包含如下内容: 上下文标识 CID、 待压缩包的报文 头部动态域信息等内容, 但不包含待压缩包的报文头部静态域信息。 在上 下文建立时或上下文重新初始时, 使用的报文为 IR报文。  During the interaction between the compressor and the decompressor, the compressor needs to send packets to the decompressor. The packets include multiple types, such as IR packets and dynamic domain packets. The IR packet includes the following contents: a context identifier CID, a static header field of the packet to be compressed, and dynamic domain information. The dynamic domain IR packet contains the following contents: The context identifier CID, the packet to be compressed, the header dynamic domain information, and so on, but does not contain the static header information of the packet header of the packet to be compressed. When the context is established or the context is reinitialized, the message used is an IR message.
压缩 /解压上下文的模式包括有单向模式、 双向优化模式和双向可靠模 式, 其压缩器和解压器在初始化时, 对应的压缩 /解压上下文模式为单向模 式。 后续可以实现模式的迁移, 如向双向优化模式迁移或向双向可靠模式 迁移。 其中模式的迁移必须由解压器发起。 The modes of compressing/decompressing the context include a one-way mode, a bidirectional optimization mode, and a bidirectional reliable mode. When the compressor and the decompressor are initialized, the corresponding compression/decompression context mode is a one-way mode. Subsequent migration of the model can be achieved, such as moving to bidirectional optimization mode or to bidirectional reliable mode. Migration. The migration of the mode must be initiated by the decompressor.
现有技术中, 同一业务流的压缩 /解压上下文重用, 当压缩上下文被重 用时, 压缩器无法通知解压器压缩上下文发生重用, 解压器仍然保留原有 的压缩上下文存储空间中的内存信息, 并继续采用原有的工作模式。 而压 缩器为了与解压器工作在相同模式下, 需在重用的压缩上下文中, 采用原 有的工作模式。  In the prior art, the compression/decompression context reuse of the same service flow, when the compression context is reused, the compressor cannot notify the decompressor compression context to be reused, and the decompressor still retains the memory information in the original compression context storage space, and Continue to use the original working mode. In order for the compressor to operate in the same mode as the decompressor, the original operating mode needs to be used in the context of reuse compression.
上述的压缩 /解压上下文重用过程中存在如下问题: 若此时压缩器与解 压器采用的工作模式不是初始单向模式, 容易导致不安全的工作模式切换, 影响压缩 /解压缩的效果, 继而影响用户的体验效果。 发明内容  The above compression/decompression context reuse process has the following problems: If the working mode of the compressor and the decompressor is not the initial one-way mode at this time, it is easy to cause an unsafe working mode switching, affecting the compression/decompression effect, and then affecting User experience. Summary of the invention
本发明的主要目的在于提供一种上下文重用的方法, 实现压缩 /解压上 下文的工作模式安全迁移。  SUMMARY OF THE INVENTION A primary object of the present invention is to provide a method for context reuse that implements a secure mode of compression/decompression context mode.
本发明提出一种上下文重用的方法, 包括:  The present invention proposes a method for context reuse, including:
压缩器为当前接收的待压缩包选择并重用一已用的压缩上下文后, 将 所述压缩上下文的当前工作模式置为初始单向模式, 并向解压器发送 IR报 文;  After selecting and reusing a used compression context for the currently received packet to be compressed, the compressor sets the current working mode of the compression context to an initial one-way mode, and sends an IR message to the decompressor;
解压器接收所述 IR报文, 根据所述 IR报文中的上下文标识查找对应 的解压上下文, 并将解压上下文的当前工作模式置为初始单向模式。  The decompressor receives the IR packet, searches for a corresponding decompression context according to the context identifier in the IR packet, and sets a current working mode of the decompression context to an initial one-way mode.
优选地, 所述为当前接收的待压缩包选择并重用一已用的压缩上下文 的前提条件为:  Preferably, the precondition for selecting and reusing a used compression context for the currently received packet to be compressed is:
不存在与该待压缩包静态域相同的其他待压缩包的压缩上下文, 且没 有足够的存储空间为该待压缩包创建压缩上下文。  There is no compression context for other packets to be compressed that is the same as the static domain of the packet to be compressed, and there is not enough storage space to create a compression context for the packet to be compressed.
优选地, 所述向解压器发送 IR报文之后还包括:  Preferably, after the sending the IR message to the decompressor, the method further includes:
压缩器在确认解压器接收并解析成功所述 IR报文之后, 并在接收待压 缩包时, 判断是否存在与该当前接收的待压缩包静态域相同的其他待压缩 包的压缩上下文; After confirming that the decompressor receives and parses the successful IR message, and after receiving the to-be-compressed packet, the compressor determines whether there is another same to be compressed as the currently received static domain to be compressed. The compression context of the package;
若存在所述压缩上下文, 则向解压器发送含有动态域信息、 但不含静 态域信息的报文。  If the compression context exists, a message containing dynamic domain information but no static domain information is sent to the decompressor.
优选地, 所述为接收的待压缩包选择并重用一已用的压缩上下文具体 为:  Preferably, the selecting and reusing a used compression context for the received packet to be compressed is specifically:
压缩器从已用的压缩上下文存储空间选择一存储空间, 清空所选存储 空间, 并利用所选存储空间创建待压缩包的压缩上下文。  The compressor selects a storage space from the used compressed context storage space, clears the selected storage space, and uses the selected storage space to create a compression context for the package to be compressed.
本发明另提出一种上下文重用的系统, 包括:  The invention further provides a context reuse system, comprising:
压缩器, 用于为接收的待压缩包选择并重用一已用的压缩上下文后, 将所述压缩上下文的当前工作模式置为初始单向模式,并向解压器 IR报文; 解压器, 用于接收所述 IR报文, 根据所述 IR报文中的上下文标识查 找对应的解压上下文, 并将解压上下文的当前工作模式置为初始单向模式。  a compressor, configured to: after selecting and reusing a used compression context for the received packet to be compressed, setting a current working mode of the compression context to an initial unidirectional mode, and transmitting a message to the decompressor IR; using a decompressor And receiving the IR packet, searching for a corresponding decompression context according to the context identifier in the IR packet, and setting a current working mode of the decompression context to an initial one-way mode.
优选地, 所述为当前接收的待压缩包选择并重用一已用的压缩上下文 的前提条件为:  Preferably, the precondition for selecting and reusing a used compression context for the currently received packet to be compressed is:
不存在与该待压缩包静态域相同的其他待压缩包的压缩上下文, 且没 有足够的存储空间为该待压缩包创建压缩上下文。  There is no compression context for other packets to be compressed that is the same as the static domain of the packet to be compressed, and there is not enough storage space to create a compression context for the packet to be compressed.
优选地, 所述压缩器, 还用于在确认解压器接收并解析成功所述 IR报 文之后, 并在接收待压缩包时, 判断是否存在与该当前接收的待压缩包静 态域相同的已接收的其他待压缩包的压缩上下文; 确定存在所述压缩上下 文时, 向解压器发送含有动态域信息、 但不含静态域信息的报文。  Preferably, the compressor is further configured to: after confirming that the decompressor receives and parses the successful IR message, and when receiving the to-be-compressed packet, determining whether there is the same static domain as the currently received packet to be compressed. The compression context of the other received packets to be compressed; determining that the compressed context is present, sending a message containing dynamic domain information but no static domain information to the decompressor.
优选地, 所述压缩器, 还用于从已用的压缩上下文存储空间选择一存 储空间, 清空所选存储空间, 并利用所选存储空间创建待压缩包的压缩上 下文。  Preferably, the compressor is further configured to select a storage space from the used compression context storage space, clear the selected storage space, and create a compressed context of the to-be-compressed package by using the selected storage space.
本发明通过重用压缩上下文后, 将该压缩上下文的当前工作模式置为 初始单向模式, 并向解压器发送 IR报文, 解压器根据 IR报文, 查找对应 的解压上下文, 将解压上下文的当前工作模式置为初始单向模式的方式, 从而可以实现压缩 /解压上下文的工作模式安全迁移, 提高了用户的体验效 果。 附图说明 After reusing the compression context, the present invention sets the current working mode of the compression context to the initial unidirectional mode, and sends an IR message to the decompressor, and the decompressor searches for the corresponding message according to the IR packet. The decompression context, the current working mode of the decompression context is set to the initial one-way mode, so that the working mode security migration of the compression/decompression context can be realized, and the user experience is improved. DRAWINGS
图 1是本发明的上下文重用的方法一实施例的流程图;  1 is a flow chart of an embodiment of a method for context reuse of the present invention;
图 2是本发明的上下文重用的系统一实施例的结构示意图。  2 is a block diagram showing an embodiment of a system for context reuse of the present invention.
本发明目的的实现、 功能特点及优点将结合实施例, 参照附图做进一 步说明。 具体实施方式  The implementation, functional features and advantages of the objects of the present invention will be further described in conjunction with the embodiments herein. detailed description
应当理解, 此处所描述的具体实施例仅用以解释本发明, 并不用于限 定本发明。  It is understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
参见图 1 , 提出本发明的一种上下文重用的方法一实施例, 包括: 步驟 S101、 压缩器为当前接收的待压缩包选择并重用已用的压缩上下 文后, 将所述压缩上下文的当前工作模式置为初始单向模式, 并向解压器 发送 IR报文;  Referring to FIG. 1, an embodiment of a method for context reuse according to the present invention includes: Step S101: After a compressor selects and reuses an used compression context for a currently received packet to be compressed, the current work of the compression context is performed. The mode is set to the initial unidirectional mode, and an IR message is sent to the decompressor;
步驟 S102、 解压器接收所述 IR报文, 根据所述 IR报文中的上下文标 识 CID查找对应的解压上下文, 并将解压上下文的当前工作模式置为初始 单向模式。  Step S102: The decompressor receives the IR packet, searches for a corresponding decompression context according to the context identifier CID in the IR packet, and sets a current working mode of the decompression context to an initial one-way mode.
本实施例中, 压缩器为当前接收的待压缩包重用压缩上下文后, 将重 用的压缩上下置为初始单向模式, 并通过 IR报文告知解压器, 解压器查找 到对应的解压上下文, 并将解压上下文置为初始单向模式, 从而保证了压 缩器和解压器的工作模式相同, 为解压器发起解压上下文工作模式迁移奠 定基础, 实现压缩 /解压上下文的工作模式安全迁移, 提高了用户的体验效 果。 上述压缩上下文和解压上下文的工作模式包括初始单向模式、 双向优 化模式和双向可靠模式。 其中, 工作模式的迁移必须由解压器发起。 且一 般由低工作模式向高工作模式迁移。 为保证工作模式迁移的安全性, 在工 作模式迁移之前, 压缩器对应的压缩上下文和解压器中对应的解压上下文 的工作模式应当一致。 所述工作模式的高低顺序如下: 即解压器初始单向 模式 <双向优化模式<双向可靠模式。 因此, 通过本实施例可以实现压缩 /解 压上下文的工作模式安全迁移。 In this embodiment, after compressing the compression context for the currently received packet to be compressed, the compressor sets the reused compression to the initial unidirectional mode, and notifies the decompressor through the IR message, and the decompressor finds the corresponding decompression context, and The decompression context is set to the initial one-way mode, which ensures that the compressor and the decompressor work in the same mode, laying the foundation for the decompressor to initiate the decompression context mode migration, realizing the safe mode of the compression/decompression context, and improving the user's Experience the effect. The working modes of the above compression context and decompression context include an initial one-way mode, a bidirectional optimization mode, and a bidirectional reliable mode. Among them, the migration of the working mode must be initiated by the decompressor. And generally migrate from low working mode to high working mode. To ensure the security of the working mode migration, the compression context corresponding to the compressor and the working mode of the corresponding decompression context in the decompressor should be consistent before the working mode migration. The order of the working modes is as follows: ie, the decompressor initial unidirectional mode <bidirectional optimization mode < bidirectional reliable mode. Therefore, the working mode security migration of the compression/decompression context can be implemented by this embodiment.
进一步地, 上述上下文重用的方法实施例中, 所述为当前接收的待压 缩包选择并重用已用的压缩上下文的前提条件为: 不存在与该待压缩包静 态域相同的其他待压缩包的压缩上下文, 且没有足够的存储空间为该待压 缩包创建压缩上下文。  Further, in the method embodiment of the foregoing context reuse, the precondition for selecting and reusing the used compression context for the currently received packet to be compressed is: there is no other to-be-compressed packet that is the same as the static domain to be compressed. The context is compressed and there is not enough storage space to create a compression context for the to-be-compressed package.
本实施例中, 压缩器接收的一个业务流包括有多个待压缩包, 所述多 个待压缩包逐个连续不断地被压缩器接收。 其中, 一个待压缩包由静态域 和动态域两部分内容组成。 同一业务流中的待压缩包中的静态域可以相同 也可以不同, 但同一业务流中不同的待压缩包的动态域是不同的。  In this embodiment, a service flow received by the compressor includes a plurality of to-be-compressed packets, and the plurality of to-be-compressed packets are continuously received by the compressor one by one. Among them, a to-be-compressed package consists of two parts: static domain and dynamic domain. The static domains in the packets to be compressed in the same service flow may be the same or different, but the dynamic domains of different packets to be compressed in the same service flow are different.
压缩器接收某一业务流的第一个待压缩包时, 需为该待压缩包创建压 缩上下文。 而后续过程中, 接收到同一业务流的待压缩包时, 首先判断之 前是否接收与当前待压缩包静态域相同的同一业务流的其他待压缩包。 若 是, 则采用所述其他待压缩包的压缩上下文; 若否, 则需为接收的待压缩 包创建一个新的压缩上下文; 若没有足够的存储空间为该待压缩包创建压 缩上下文, 则需要从已创建的压缩上下文中选择并重用一压缩上下文。 其 中, 所述重用的压缩上下文对应的待压缩包可以与当前接收的待压缩包为 同一业务流, 也可以不同业务流。  When the compressor receives the first packet to be compressed of a certain service flow, it needs to create a compression context for the to-be-compressed packet. In the subsequent process, when receiving the to-be-compressed packet of the same service flow, it is first determined whether to receive other to-be-compressed packets of the same service flow that are the same as the static domain of the current to-be-compressed packet. If yes, the compression context of the other to-be-compressed packet is adopted; if not, a new compression context needs to be created for the received packet to be compressed; if there is not enough storage space to create a compression context for the to-be-compressed packet, A compression context is selected and reused in the created compression context. The packet to be compressed corresponding to the reused compression context may be the same service flow as the currently received packet to be compressed, or may be different service flows.
进一步地, 上述上下文重用的方法实施例中, 所述压缩器向解压器发 送 IR报文之后还包括如下处理: 在确认解压器接收并解析成功所述 IR报 文之后, 接收待压缩包时, 判断是否存在与该当前接收的待压缩包静态域 相同的其他待压缩包的压缩上下文。 当存在所述压缩上下文, 则向解压器 发送含有动态域信息、 但不含有静态域信息的报文, 即该报文为除 IR报文 以外的其他包含动态域信息的报文, 如动态域 IR报文。 Further, in the method embodiment of the foregoing context reuse, after the compressor sends the IR message to the decompressor, the method further includes the following processing: confirming that the decompressor receives and parses the successful IR report. After receiving the to-be-compressed packet, it is determined whether there is a compression context of other to-be-compressed packets that is the same as the currently received static domain to be compressed. When the compression context exists, the packet containing the dynamic domain information but not the static domain information is sent to the decompressor, that is, the packet is a packet including dynamic domain information other than the IR packet, such as a dynamic domain. IR message.
进一步地, 对解压器而言, 当解压器根据 IR报文中 CID没有找到对应 的解压上下文, 说明收到的 IR报文是压缩上下文新建时发送的 IR报文, 此时解压器需要新建一个解压上下文。 如果找到对应的解压上下文, 说明 是压缩上下文重新初始化时或上下文重用时压缩器发送的 IR报文。 总之, 解压器无需考虑 IR报文是何种情况下产生的报文。上述三种情况下对于 IR 报文的处理都采用同样的处理方式。  Further, for the decompressor, when the decompressor does not find a corresponding decompression context according to the CID in the IR packet, the received IR packet is an IR packet sent when the compression context is newly created, and the decompressor needs to create a new one. Uncompress the context. If the corresponding decompression context is found, the description is the IR message sent by the compressor when the compression context is reinitialized or when the context is reused. In short, the decompressor does not need to consider the message generated by the IR message. In the above three cases, the same processing is applied to the processing of IR messages.
本实施例中,所述 IR报文包含对应的待压缩包的静态域和动态域内容。 当确认解压器接收并解析成功所述 IR报文后, 即表明解压器接收到待压缩 包的静态域和动态域相关信息。 当接收的待压缩包的静态域与所述 IR报文 对应的待压缩包相同, 则此时压缩器无需将该待压缩包的静态域相关信息 发送给解压器, 直接向解压器发送包含当前接收的待压缩包动态域相关信 息的动态域 IR报文。 通过本实施例这种方式, 有效地降低了报文的负荷, 从而提高了待压缩包的压缩 /解压缩效率。  In this embodiment, the IR packet includes a static domain and a dynamic domain content of the corresponding packet to be compressed. After confirming that the decompressor receives and parses the successful IR message, it indicates that the decompressor receives the static domain and dynamic domain related information of the packet to be compressed. When the static domain of the packet to be compressed is the same as the packet to be compressed corresponding to the IR packet, the compressor does not need to send the static domain related information of the packet to be compressed to the decompressor, and directly sends the current decompressor to the decompressor. Dynamic domain IR packet of the received dynamic domain related information of the packet to be compressed. In this manner, the load of the packet is effectively reduced, thereby improving the compression/decompression efficiency of the packet to be compressed.
进一步地, 上述上下文重用的方法实施例中, 所述为接收的待压缩包 选择并重用一已用的压缩上下文具体为: 压缩器从已用的压缩上下文存储 空间选择一存储空间, 清空所选存储空间, 并利用所选存储空间创建待压 缩包的压缩上下文。  Further, in the method embodiment of the foregoing context reuse, the selecting, and reusing, a used compression context for the received packet to be compressed is specifically: the compressor selects a storage space from the used compression context storage space, and clears the selected space. Storage space, and use the selected storage space to create a compression context for the package to be compressed.
本发明通过本实施例所提供的上下文重用的方法, 可实现压缩 /解压上 下文的工作模式安全迁移, 同时可降低报文的负荷, 从而可提高待压缩包 的压缩 /解压缩效率。  The method of context reuse provided by the embodiment of the present invention can implement the safe migration of the compression/decompression context mode, and at the same time reduce the load of the message, thereby improving the compression/decompression efficiency of the packet to be compressed.
参见图 2, 提出一种上下文重用的系统 100, 包括: 压缩器 110和解压 器 120。 Referring to FIG. 2, a system 100 for context reuse is provided, including: a compressor 110 and decompression 120.
压缩器 110, 用于为接收的待压缩包选择并重用一已用的压缩上下文 后, 将所述压缩上下文的当前工作模式置为初始单向模式, 并向解压器 120 发送 IR报文;  The compressor 110 is configured to: after selecting and reusing a used compression context for the received packet to be compressed, setting a current working mode of the compression context to an initial one-way mode, and sending an IR message to the decompressor 120;
解压器 120, 用于接收所述 IR报文, 根据所述 IR报文中的 CID查找 对应的解压上下文, 并将解压上下文的当前工作模式置为初始单向模式。  The decompressor 120 is configured to receive the IR packet, find a corresponding decompression context according to the CID in the IR packet, and set a current working mode of the decompression context to an initial one-way mode.
本实施例中, 压缩器 110为当前接收的待压缩包重用压缩上下文后, 将重用的压缩上下置为初始单向模式, 并通过 IR报文告知解压器 120, 解 压器 120根据 IR报文查找到对应的解压上下文, 并将解压上下文置为初始 单向模式, 从而保证了压缩器 110和解压器 120的工作模式相同, 为解压 器 120发起解压上下文工作模式迁移奠定基础, 实现压缩 /解压上下文的工 作模式安全迁移, 提高了用户的体验效果。  In this embodiment, after compressing the compression context for the currently received packet to be compressed, the compressor 110 sets the reused compression to the initial unidirectional mode, and notifies the decompressor 120 through the IR message, and the decompressor 120 searches according to the IR message. The corresponding decompression context is set, and the decompression context is set to the initial one-way mode, thereby ensuring that the working modes of the compressor 110 and the decompressor 120 are the same, laying the foundation for the decompressor 120 to initiate the decompression context working mode migration, and implementing the compression/decompression context. The safe migration of work mode improves the user experience.
上述压缩上下文和解压上下文的工作模式包括初始单向模式、 双向优 化模式和双向可靠模式。 其中, 工作模式的迁移必须由解压器 120发起。 且一般由低工作模式向高工作模式迁移。 为保证工作模式迁移的安全性, 在工作模式迁移之前压缩器 110对应的压缩上下文和解压器 120中对应的 解压上下文的工作模式应当一致。 所述上述工作模式的高低顺序如下: 即 解压器 120初始单向模式 <双向优化模式<双向可靠模式。 因此, 通过本实 施例可以实现压缩 /解压上下文的工作模式安全迁移。  The working modes of the above compression context and decompression context include an initial one-way mode, a two-way optimization mode, and a two-way reliable mode. Among them, the migration of the working mode must be initiated by the decompressor 120. And generally migrate from low working mode to high working mode. To ensure the security of the working mode migration, the compression context corresponding to the compressor 110 and the corresponding decompression context in the decompressor 120 should be consistent before the working mode migration. The order of the above operating modes is as follows: that is, the decompressor 120 initial unidirectional mode <bidirectional optimization mode < bidirectional reliable mode. Therefore, the working mode security migration of the compression/decompression context can be achieved by this embodiment.
进一步地, 上述上下文重用的系统 100实施例中, 所述压缩器 110为 当前接收的待压缩包选择并重用一已用的压缩上下文的前提条件为: 不存 在与该待压缩包静态域相同的其他待压缩包的压缩上下文, 且没有足够的 存储空间为该待压缩包创建压缩上下文。  Further, in the embodiment 100 of the above-mentioned context reuse system, the precondition of the compressor 110 selecting and reusing a used compression context for the currently received packet to be compressed is: the same as the static domain of the to-be-compressed packet The compression context of other packets to be compressed, and there is not enough storage space to create a compression context for the to-be-compressed package.
本实施例中, 压缩器 110接收的一个业务流包括有多个待压缩包, 该 多个待压缩包逐个连续不断地被压缩器 110接收。 其中, 一个待压缩包由 静态域和动态域两部分内容组成。 同一业务流中的待压缩包中的静态域可 以相同也可以不同, 但同一业务流中不同的待压缩包的动态域是不同的。 In this embodiment, a service flow received by the compressor 110 includes a plurality of to-be-compressed packets, and the plurality of to-be-compressed packets are continuously received by the compressor 110 one by one. Among them, one to be compressed by The static domain and the dynamic domain are composed of two parts. The static domains in the packets to be compressed in the same service flow may be the same or different, but the dynamic domains of different packets to be compressed in the same service flow are different.
压缩器 110接收某一业务流的第一个待压缩包时, 需为该待压缩包创 建压缩上下文。 而后续过程中, 接收到同一业务流的待压缩包时, 首先判 断之前是否已接收与当前待压缩包静态域相同的同一业务流的其他待压缩 包。 若是, 则采用所述其他待压缩包的压缩上下文; 若否, 则需为当前待 压缩包创建一个新的压缩上下文; 若没有足够的存储空间为该当前待压缩 包创建压缩上下文, 则需要从已创建的压缩上下文中选择并重用一压缩上 下文。 其中, 所述重用的压缩上下文对应的待压缩包可以与当前待压缩包 为同一业务流, 也可以不同业务流。  When the compressor 110 receives the first packet to be compressed of a certain service flow, it needs to create a compression context for the to-be-compressed packet. In the subsequent process, when receiving the to-be-compressed packet of the same service flow, it is first determined whether the other to-be-compressed packet of the same service flow that is the same as the static domain of the current to-be-compressed packet has been received. If yes, the compression context of the other to-be-compressed packet is adopted; if not, a new compression context needs to be created for the current to-be-compressed packet; if there is not enough storage space to create a compression context for the current to-be-compressed packet, A compression context is selected and reused in the created compression context. The to-be-compressed packet corresponding to the reused compression context may be the same service flow as the current to-be-compressed packet, or may be different service flows.
进一步地, 上述上下文重用的系统 100实施例, 所述压缩器 110, 还用 于在确认解压器 120接收并解析成功所述 IR报文之后, 接收待压缩包时, 判断是否存在与该当前接收的待压缩包静态域相同的其他待压缩包的压缩 上下文; 当存在所述压缩上下文, 则向解压器 120发送含有动态域信息、 但不含静态域信息的报文, 即所述报文为除了 IR报文以外的其他包含动态 域信息的报文, 如动态域 IR报文。  Further, in the embodiment 100 of the above-mentioned context reuse, the compressor 110 is further configured to: determine, after receiving the to-be-compressed packet, after confirming that the decompressor 120 receives and parses the IR packet successfully, determining whether there is a current reception a compression context of the other packets to be compressed whose packets are to be compressed in the static domain; when the compression context exists, the packet containing the dynamic domain information but no static domain information is sent to the decompressor 120, that is, the packet is Other than the IR message, the message contains the dynamic domain information, such as the dynamic domain IR message.
进一步地, 对解压器 120而言, 当解压器 120根据 IR报文中 CID没有 找到对应的解压上下文,说明收到的 IR报文是压缩上下文新建时发送的 IR 报文, 此时解压器 120需要新建一个解压上下文。 如果找到对应的解压上 下文, 说明是压缩上下文重新初始化时或上下文重用时压缩器 110发送的 IR报文。 总之, 解压器 120无需考虑 IR报文是何种情况下产生的报文。 上 本实施例中, 所述 IR报文包含对应的待压缩包的静态域和动态域相关 信息。 当压缩器 110确认解压器 120接收并解析成功所述 IR报文后, 即表 明解压器 120接收到待压缩包的静态域和动态域相关信息。 当后续接收的 待压缩包静态域与所述 IR报文对应的待压缩包静态域相同, 则此时压缩器 110无需将该待压缩包的静态域相关信息发送给解压器 120, 直接向解压器 120发送包含当前待压缩包动态域相关信息的动态域 IR报文。 通过本实施 例的方式, 有效地降低了报文的负荷, 从而提高了待压缩包的压缩 /解压缩 效率。 Further, for the decompressor 120, when the decompressor 120 does not find a corresponding decompression context according to the CID in the IR message, the received IR message is an IR message sent when the compression context is newly created, and the decompressor 120 is at this time. Need to create a new decompression context. If the corresponding decompression context is found, it is an IR message sent by the compressor 110 when the compression context is reinitialized or when the context is reused. In summary, the decompressor 120 does not need to consider the message generated by the IR message. In this embodiment, the IR packet includes static domain and dynamic domain related information of the corresponding packet to be compressed. After the compressor 110 confirms that the decompressor 120 receives and parses the successful IR message, it indicates that the decompressor 120 receives the static domain and dynamic domain related information of the packet to be compressed. When subsequently received The static domain to be compressed is the same as the static domain to be compressed corresponding to the IR packet, and the compressor 110 does not need to send the static domain related information of the to-be-compressed packet to the decompressor 120, and directly sends the information to the decompressor 120. Dynamic domain IR packet of the dynamic domain-related information of the packet to be compressed. Through the manner of this embodiment, the payload of the packet is effectively reduced, thereby improving the compression/decompression efficiency of the packet to be compressed.
进一步地, 上述上下文重用的系统 100实施例中, 所述压缩器 110, 用 于从已用的压缩上下文存储空间选择一存储空间, 清空所选存储空间, 并 利用所选存储空间创建待压缩包的压缩上下文。  Further, in the embodiment 100 of the context reuse system, the compressor 110 is configured to select a storage space from the used compression context storage space, clear the selected storage space, and create a to-be-compressed package by using the selected storage space. Compression context.
本实施例所提供的上下文重用的系统 100, 可实现压缩 /解压上下文的 工作模式安全迁移, 同时可降低报文的负荷, 从而可提高待压缩包的压缩 / 解压缩效率。  The context reuse system 100 provided in this embodiment can implement the safe mode migration of the compression/decompression context, and at the same time reduce the load of the message, thereby improving the compression/decompression efficiency of the packet to be compressed.
应当理解的是, 以上仅为本发明的优选实施例, 不能因此限制本发明 的专利范围, 凡是利用本发明说明书及附图内容所作的等效结构或等效流 程变换, 或直接或间接运用在其他相关的技术领域, 均同理包括在本发明 的专利保护范围内。  It should be understood that the above is only a preferred embodiment of the present invention, and thus the scope of the invention is not limited thereby, and the equivalent structure or equivalent process transformations made by the description of the invention and the drawings are used directly or indirectly. Other related technical fields are equally included in the scope of patent protection of the present invention.

Claims

权利要求书 Claim
1、 一种上下文重用的方法, 其特征在于, 该方法包括:  A method for context reuse, characterized in that the method comprises:
压缩器为当前接收的待压缩包选择并重用已用的压缩上下文后, 将所 述压缩上下文的当前工作模式置为初始单向模式,并向解压器发送 IR报文; 解压器接收所述 IR报文, 根据所述 IR报文中的上下文标识查找对应 的解压上下文, 并将解压上下文的当前工作模式置为初始单向模式。  After selecting and reusing the used compression context for the currently received packet to be compressed, the compressor sets the current working mode of the compression context to an initial unidirectional mode, and sends an IR message to the decompressor; the decompressor receives the IR The packet searches for a corresponding decompression context according to the context identifier in the IR packet, and sets a current working mode of the decompression context to an initial one-way mode.
2、 根据权利要求 1所述的上下文重用的方法, 其特征在于, 所述为当 前接收的待压缩包选择并重用已用的压缩上下文的前提条件为:  2. The method of context reuse according to claim 1, wherein the precondition for selecting and reusing the used compression context for the currently received packet to be compressed is:
不存在与所述待压缩包静态域相同的其他待压缩包的压缩上下文, 且 没有足够的存储空间为所述待压缩包创建压缩上下文。  There is no compression context of other packets to be compressed that are the same as the static domain of the packet to be compressed, and there is not enough storage space to create a compression context for the packet to be compressed.
3、 根据权利要求 1或 2所述的上下文重用的方法, 其特征在于, 所述 向解压器发送 IR报文之后, 所述方法还包括:  The method of context reuse according to claim 1 or 2, wherein after the sending the IR packet to the decompressor, the method further includes:
压缩器在确认解压器接收并解析成功所述 IR报文之后, 并在接收待压 缩包时, 判断是否存在与当前接收的待压缩包静态域相同的其他待压缩包 的压缩上下文;  After confirming that the demodulator receives and parses the successful IR message, and after receiving the to-be-compressed packet, the compressor determines whether there is a compression context of another to-be-compressed packet that is the same as the currently received static domain to be compressed.
若存在所述压缩上下文, 则向解压器发送含有动态域信息、 但不含静 态域信息的报文。  If the compression context exists, a message containing dynamic domain information but no static domain information is sent to the decompressor.
4、 根据权利要求 3所述的上下文重用的方法, 其特征在于, 所述为接 收的待压缩包选择并重用已用的压缩上下文, 为:  The method of context reuse according to claim 3, wherein the selecting and compressing the used compression context for the received packet to be compressed is:
压缩器从已用的压缩上下文存储空间中选择一个存储空间, 清空所选 存储空间, 并利用所选存储空间创建待压缩包的压缩上下文。  The compressor selects a storage space from the used compressed context storage space, clears the selected storage space, and uses the selected storage space to create a compression context for the package to be compressed.
5、 一种上下文重用的系统, 其特征在于, 该系统包括: 压缩器和解压 器;  5. A context reuse system, the system comprising: a compressor and a decompressor;
压缩器, 用于为接收的待压缩包选择并重用已用的压缩上下文后, 将 所述压缩上下文的当前工作模式置为初始单向模式, 并向解压器发送 IR报 文; a compressor, configured to: after selecting and reusing the used compression context for the received packet to be compressed, setting a current working mode of the compression context to an initial one-way mode, and sending an IR report to the decompressor Text
解压器, 用于接收所述 IR报文, 根据所述 IR报文中的上下文标识查 找对应的解压上下文, 并将解压上下文的当前工作模式置为初始单向模式。  The decompressor is configured to receive the IR packet, find a corresponding decompression context according to the context identifier in the IR packet, and set a current working mode of the decompression context to an initial one-way mode.
6、 根据权利要求 5所述的上下文重用的系统, 其特征在于,  6. The context reuse system of claim 5, wherein
所述为当前接收的待压缩包选择并重用已用的压缩上下文的前提条件 为:  The preconditions for selecting and reusing the used compression context for the currently received packet to be compressed are:
不存在与所述待压缩包静态域相同的其他待压缩包的压缩上下文, 且 没有足够的存储空间为所述待压缩包创建压缩上下文。  There is no compression context of other packets to be compressed that are the same as the static domain of the packet to be compressed, and there is not enough storage space to create a compression context for the packet to be compressed.
7、 根据权利要求 5或 6所述的上下文重用的系统, 其特征在于, 所述压缩器, 还用于在确认解压器接收并解析成功所述 IR报文之后, 并在接收待压缩包时, 判断是否存在与当前接收的待压缩包静态域相同的 其他待压缩包的压缩上下文; 确定存在所述压缩上下文时, 向解压器发送 含有动态域信息、 但不含静态域信息的报文。  The context reuse system according to claim 5 or 6, wherein the compressor is further configured to: after confirming that the decompressor receives and parses the successful IR message, and receives the to-be-compressed packet And determining whether there is a compression context of another to-be-compressed packet that is the same as the static domain to be compressed currently received; determining that the compressed context is present, sending a packet containing dynamic domain information but no static domain information to the decompressor.
8、 根据权利要求 7所述的上下文重用的系统, 其特征在于,  8. The context reuse system of claim 7, wherein:
所述压缩器, 还用于从已用的压缩上下文存储空间中选择一个存储空 间, 清空所选存储空间, 并利用所选存储空间创建待压缩包的压缩上下文。  The compressor is further configured to select a storage space from the used compressed context storage space, clear the selected storage space, and use the selected storage space to create a compression context of the to-be-compressed package.
PCT/CN2012/071365 2011-08-26 2012-02-20 Context reuse method and system WO2012155566A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201110249223.8A CN102300258B (en) 2011-08-26 2011-08-26 The method and system of content reusing
CN201110249223.8 2011-08-26

Publications (1)

Publication Number Publication Date
WO2012155566A1 true WO2012155566A1 (en) 2012-11-22

Family

ID=45360351

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2012/071365 WO2012155566A1 (en) 2011-08-26 2012-02-20 Context reuse method and system

Country Status (2)

Country Link
CN (1) CN102300258B (en)
WO (1) WO2012155566A1 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102300258B (en) * 2011-08-26 2017-10-10 中兴通讯股份有限公司 The method and system of content reusing
CN106332179B (en) * 2015-06-30 2019-10-25 展讯通信(上海)有限公司 A kind of message compression method and mobile terminal
CN106027521B (en) * 2016-05-19 2019-11-01 华为技术有限公司 Compression method, decompressing method, compression set and decompression device
CN109219079B (en) * 2017-07-04 2021-02-02 大唐移动通信设备有限公司 IR message transmission method and communication equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101400083A (en) * 2007-09-29 2009-04-01 华为技术有限公司 Method, system and device for head compression of packet and service stream classified sending
CN101977402A (en) * 2010-10-19 2011-02-16 中兴通讯股份有限公司 Method and device for reusing context in robustness header compression
WO2011057154A1 (en) * 2009-11-06 2011-05-12 Qualcomm Incorporated Header compression for relay nodes in a wireless network
CN102300258A (en) * 2011-08-26 2011-12-28 中兴通讯股份有限公司 Content reusing method and system

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7317724B2 (en) * 2003-07-08 2008-01-08 Cisco Technology, Inc. Performing compression of user datagram protocol packets
CN101594290B (en) * 2008-05-26 2011-11-30 中兴通讯股份有限公司 Processing method and device for compressing context identification by a robust head

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101400083A (en) * 2007-09-29 2009-04-01 华为技术有限公司 Method, system and device for head compression of packet and service stream classified sending
WO2011057154A1 (en) * 2009-11-06 2011-05-12 Qualcomm Incorporated Header compression for relay nodes in a wireless network
CN101977402A (en) * 2010-10-19 2011-02-16 中兴通讯股份有限公司 Method and device for reusing context in robustness header compression
CN102300258A (en) * 2011-08-26 2011-12-28 中兴通讯股份有限公司 Content reusing method and system

Also Published As

Publication number Publication date
CN102300258A (en) 2011-12-28
CN102300258B (en) 2017-10-10

Similar Documents

Publication Publication Date Title
JP7138738B2 (en) Method and apparatus for reconfiguring bearers
JP7218363B2 (en) Method for QOS capability negotiation between user equipment and session management function in 5G system
KR101030469B1 (en) Signalling compression/decompression
US20190312938A1 (en) Data Transmission Method And Apparatus
WO2011160495A1 (en) Feedback method and device for header compression feedback information
US11129227B2 (en) Data transmission method and apparatus, and computer storage medium
WO2019095974A1 (en) Data processing method and device, and computer storage medium
CN111385268B (en) Data packet header compression confirmation method and communication equipment
TW201828736A (en) Base station and communication device can switch between two base stations
US9923695B2 (en) Call processing method and apparatus for use in LTE system
CN101132412B (en) Method, device and system for negotiating message length in iSCSI system
WO2012051883A1 (en) Method and device for reusing context in robust header compression
WO2011079785A1 (en) Method and apparatus for transmitting data packets
JP2022515628A (en) Wireless communication method and equipment
WO2012155566A1 (en) Context reuse method and system
WO2015139324A1 (en) Configuration indication method and communication device
US8621107B2 (en) State-mediated data signaling used for compression in telecommunication services
EP3198928B1 (en) Call processing method and apparatus for use in lte system
CN101197825B (en) Method, system and device for compression message transmission
WO2016154831A1 (en) Method and device for realizing transmission control protocol (tcp) transmission
WO2012171289A1 (en) Method and apparatus for switching working mode of robust header compression protocol layer
WO2022237279A1 (en) Data transmission method and apparatus
JP2022520347A (en) Wireless communication method and equipment
WO2018107368A1 (en) Connection establishment method and device for data transmission
TWI656765B (en) Transmission system and transmission method

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 12785238

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 12785238

Country of ref document: EP

Kind code of ref document: A1