CN102045311B - Robust header compression state transition method and decompressor - Google Patents
Robust header compression state transition method and decompressor Download PDFInfo
- Publication number
- CN102045311B CN102045311B CN200910204376.3A CN200910204376A CN102045311B CN 102045311 B CN102045311 B CN 102045311B CN 200910204376 A CN200910204376 A CN 200910204376A CN 102045311 B CN102045311 B CN 102045311B
- Authority
- CN
- China
- Prior art keywords
- crc
- bag
- state
- wraps
- static information
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L69/00—Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
- H04L69/22—Parsing or analysis of headers
Landscapes
- Engineering & Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
- Numerical Control (AREA)
Abstract
The invention provides a robust header compression state transition method and a decompressor. The method comprises that: the decompressor receives an initial rate (IR) packet under a static context (SC) state, and calculates cyclical redundancy check (CRC) of static information of the IR packet; and whether the static information of the IR packet passes the CRC check is judged, if so, the CRC of the IR packet is calculated and checked and the flow is finished, otherwise, the CRC returns to the no context (NC) state, and the CRC of the IR packet is not calculated. Through the scheme, the static information of the IR packet is subjected to CRC check, and under the condition that the static information of the IR packet does not pass the CRC check, the CRC of the whole IR packet is not calculated and returns to the NC state. Therefore, the calculated amount of the CRC of the IR packet is reduced, the unnecessary state transition is avoided, the message decompression accuracy and quality of service (QoS) are improved and the null interface bandwidth is saved.
Description
Technical field
The present invention relates to robustness header compression (ROHC, RObust Header Compression) technology, espespecially a kind of method of robustness header compression state transition and decompression machine.
Background technology
For some application layer business, the expense of the first-class information of huge IP is very large, such as VoIP business, and the length of its payload is generally 15-20 byte, and IP head just account for 40 bytes; And in the message header field of a certain same data stream, often contain a large amount of redundant informations, make head be collapsed into possibility.
Message is divided into different data flow by ROHC, is distinguished by context token (CID, Context ID).In data flow lifecycle, seldom change or constant information only send limited number of time; And for the information of dynamic change, then adopt corresponding compression algorithm to send, thus reduce the transmission length of data head, improve bandwidth availability ratio.
ROHC can be divided into compressor reducer and decompression machine, compressor reducer and decompression machine respectively have three kinds of different operating states, Fig. 1 is the schematic diagram of the operating state of existing compressor reducer and decompression machine, as shown in Figure 1, compressor reducer operating state is followed successively by initially (IR) state, single order (FO) state and second order (SO) state from low to high; Decompression machine operating state is followed successively by no context (NC, No Context) state, static context (SC, Static Context) state and full context (FC, Full Context) state from low to high.Under different operating states, compressor/decompressor operating efficiency is different.Generally speaking, operating state higher grade, and accessible compressed package type is abundanter, and operating efficiency is higher.
According to the situation of change of data flow header, data header information is divided into static information and multidate information by ROHC, these information exist with the form of static chain and dynamic chain in IR bag, Fig. 2 is the schematic diagram of the IR packet format of profile1, as shown in Figure 2, ROHC can change the operating state of decompression machine according to operating state and decompression result, and utilizes feedback notification compressor reducer transition status.Decompression machine according to cyclic redundancy code (CRC, Cyclical Redundancy Check) verify IR wrap CRC whether by: if the CRC that decompression machine calculates is consistent with the CRC that message carries, so, the CRC that IR wraps is verified; Otherwise checking is not passed through.
According to RFC3095 regulation, when decompression machine is in SC state, the CRC checking of IR bag is not passed through, and needs to move back NC state according to algorithm, and Fig. 3 is the flow chart of existing decompression machine process IR bag when being in SC state, as shown in Figure 3, comprising:
Step 300: decompression machine is operated in SC state, receives IR bag.
Step 301: calculate IR and wrap CRC (not comprising quiet lotus).
Step 302: whether identically judge that IR bag CRC and message carry CRC, if identical, move to FC state; If different, move back to NC state according to algorithm.
But, IR wrap CRC checking by being only because multidate information makes a mistake and causes, when static information is correct, decompression machine has still been moved back NC state, and this moving back is unnecessary.And when the static information of IR bag makes a mistake, decompression machine there is no need the CRC calculating whole IR bag, and only calculates static information CRC.Here, static information is not equal to the static chain of IR bag, also comprises the information such as context token, Packet type, overview (profile).
From the realization of the ROHC state transition shown in existing Fig. 3, add IR and wrap CRC amount of calculation, create unnecessary state transition, thus reduce decompress messages accuracy and service quality (QoS), waste bandwidth of air-interface.
Summary of the invention
In view of this, main purpose of the present invention is a kind of method providing robustness header compression state transition, can reduce IR and wrap CRC amount of calculation, avoid unnecessary state transition, thus improve decompress messages accuracy and QoS, save bandwidth of air-interface.
Another object of the present invention is to provide a kind of decompression machine, IR can be reduced and wrap CRC amount of calculation, avoid unnecessary state transition, thus improve decompress messages accuracy and QoS, save bandwidth of air-interface.
For achieving the above object, technical scheme of the present invention is achieved in that
A method for robustness header compression state transition, comprising:
Decompression machine receives initial state IR and wraps under static context SC state, calculates the cyclic redundancy code CRC of IR bag static information; When not passing through the CRC checking of IR bag static information, then move back to no context NC state.
The method also comprises: if be verified the CRC of described IR bag static information, calculated and verify the CRC that described IR wraps.
Described calculating also verifies that the CRC that IR wraps comprises: if described IR wraps CRC, checking is not passed through, and keeps SC state constant.
If the CRC of described IR bag is verified, migrate to full context FC state.
The CRC of described calculating IR bag static information is: according to context token CID, Packet type, profile and static chain in described IR bag, calculate the CRC of IR bag static information.
Described according to CID, Packet type, profile and the static chain in described IR bag, the CRC calculating IR bag static information is specially: resolve the static chain that described IR wraps, calculate static chain length according to Internet Protocol/User Datagram Protoco (UDP)/RTP IP/UDP/RTP heading information, then calculate the CRC of described IR bag static information.
The CRC of described calculating IR bag is: resolve the dynamic chain that described IR wraps, calculate dynamic chain length according to IP/UDP/RTP heading information; With static CRC for initial value, according to the CRC that dynamic chain length computation IR wraps.
A kind of decompression machine, at least comprises the first correction verification module, the second correction verification module and processing module, wherein,
First authentication module, for receiving IR bag under SC state, calculating the CRC of IR bag static information, and verifying the CRC of IR bag static information, when being verified, sends initiate notification to the second authentication module; When checking is not passed through, send to processing module notice of moving back;
Second authentication module, for receiving the initiate notification from the first authentication module, calculating and verifying the CRC that IR wraps;
Processing module, for receiving the notice of moving back from the first authentication module, decompression machine is moved back to NC state.
Described second authentication module also for, if described IR wrap CRC checking do not pass through, to processing module send keep notice;
Described processing module also for, the maintenance received from the second authentication module notifies, decompression machine keeps current SC state constant.
Described second authentication module also for, if IR bag CRC be verified, to processing module send announcing removal;
Described processing module also for, receive the announcing removal from the second authentication module, decompression machine migrates to FC state.
As can be seen from the technical scheme that the invention described above provides, comprise decompression machine under SC state, receive IR bag, calculate the CRC of IR bag static information; Whether the CRC checking of IR bag static information is passed through, if passed through, calculates and verify the CRC that IR wraps.Process ends; If do not passed through, move back to NC state, and no longer calculate IR bag CRC.From the present invention program, first CRC checking is carried out to IR bag static information, under the CRC of IR bag static information is verified as unsanctioned situation, no longer calculates the CRC that whole IR wraps, and move back to NC state.Like this, decrease IR and wrap CRC amount of calculation, avoid unnecessary state transition, thus improve decompress messages accuracy and QoS, saved bandwidth of air-interface.
Further, if IR wraps CRC, checking is not passed through, and keeps SC state constant; If the CRC of IR bag is verified, migrate to FC state.Visible, after IR bag static information is verified, then the CRC that whole IR wraps is verified, and the CRC checking that whole IR is wrapped not by time, only need keep SC state, and not need to move back again to NC state.Like this, avoid unnecessary state transition, thus improve decompress messages accuracy and QoS, save bandwidth of air-interface.
Accompanying drawing explanation
Fig. 1 is the schematic diagram of the operating state of compressor reducer and decompression machine;
Fig. 2 is the schematic diagram of the IR packet format of profile1;
Fig. 3 is the flow chart of existing decompression machine process IR bag when being in SC state;
Fig. 4 is the flow chart of the method for robustness header compression state transition of the present invention;
Fig. 5 is the composition structural representation of decompression machine of the present invention;
Fig. 6 is the flow chart that the present invention realizes the first embodiment of robustness header compression state transition;
Fig. 7 is the flow chart that the present invention realizes the second embodiment of robustness header compression state transition.
Embodiment
Fig. 4 is the flow chart of the method for robustness header compression state transition of the present invention, as shown in Figure 4, comprising:
Step 400: decompression machine receives IR bag under SC state, calculates the CRC of IR bag static information.
Whether the CRC checking of step 401:IR bag static information is passed through, if passed through, enters step 402; If do not passed through, enter step 403.
Step 402: calculate and verify the CRC that IR wraps.Process ends.
Step 403: move back to NC state, and the CRC no longer calculating IR bag.
From the inventive method, first CRC checking is carried out to IR bag static information, if the CRC checking of IR bag static information is not passed through, then no longer calculate the CRC that whole IR wraps, and move back to NC state.Like this, decrease IR and wrap CRC amount of calculation.
Further, the calculating in the inventive method also verifies that the CRC that IR wraps also comprises: if IR wraps CRC, checking is not passed through, and keeps SC state constant; If the CRC of IR bag is verified, migrate to FC state.Visible, after IR bag static information is verified, then the CRC that whole IR wraps is verified, and the CRC checking that whole IR is wrapped not by time, only need keep SC state, and not need to move back again to NC state.Like this, avoid unnecessary state transition, thus improve decompress messages accuracy and QoS, save bandwidth of air-interface.
Fig. 5 is the composition structural representation of decompression machine of the present invention, as shown in Figure 5, at least comprises the first correction verification module, the second correction verification module and processing module, wherein,
First authentication module, for receiving IR bag under SC state, calculating the CRC of IR bag static information, and verifying the CRC of IR bag static information, when being verified, sends initiate notification to the second authentication module; Do not pass through in checking, send to processing module notice of moving back.
Second authentication module, for receiving the initiate notification from the first authentication module, calculating and verifying the CRC that IR wraps.Further, if IR wraps CRC, checking is not passed through, and sends keep notice to processing module; If the CRC of IR bag is verified, send announcing removal to processing module.
Processing module, for receiving the notice of moving back from the first authentication module, decompression machine is moved back to NC state.Further, the maintenance received from the second authentication module notifies, decompression machine keeps current SC state constant; Receive the announcing removal from the second authentication module, decompression machine migrates to FC state.
Below in conjunction with embodiment, the inventive method is described in detail.
Fig. 6 is the flow chart that the present invention realizes the first embodiment of robustness header compression state transition, in a first embodiment, supposes that decompression machine is in SC state, and IR wraps CRC authentication failed, as shown in Figure 6, comprises the following steps:
Step 600: decompression machine, in SC state, receives IR bag.
Step 601: decompression machine, according to CID, Packet type, profile and static chain, calculates the CRC of IR bag static information.
In this step, decompression machine resolves the static chain of IR bag, calculates static chain length, then calculate the CRC of IR bag static information according to IP/UDP/RTP heading information.
The step 602:IR bag static information CRC with it front upper static information CRC hereinafter preserved compares, if both are different, enters step 606; If both are identical, enter step 603.
Step 603: decompression machine calculates IR bag dynamic chain length.
Step 604: decompression machine with static CRC for initial value, according to dynamic chain length computation IR wrap CRC.
It is different that step 605:IR bag CRC and IR wraps the CRC carried, then IR wraps CRC authentication failed, and decompression machine keeps SC state constant.Process ends.
Step 606: decompression machine is moved back to NC state.
Fig. 7 is the flow chart that the present invention realizes the second embodiment of robustness header compression state transition, in a second embodiment, supposes that decompression machine is in SC state, and IR wraps CRC and is verified, and as shown in Figure 7, comprises the following steps:
Step 700: decompression machine, in SC state, receives IR bag.
Step 701: decompression machine, according to CID, Packet type, profile and static chain, calculates the CRC of IR bag static information.
In this step, decompression machine resolves the static chain of IR bag, calculates static chain length according to Internet Protocol/User Datagram Protoco (UDP)/RTP (IP/UDP/RTP) heading information, then calculates the CRC of IR bag static information.
Step 702: the front upper static information CRC hereinafter preserved is consistent with it to suppose IR bag static information CRC.
Step 703: decompression machine is according to IR bag dynamic chain acquisition of information IR bag dynamic chain length; Decompression machine with static CRC for initial value, according to dynamic chain length computation IR wrap CRC.
The CRC calculating IR bag is: resolve the dynamic chain that described IR wraps, calculate dynamic chain length according to IP/UDP/RTP heading information; With static CRC for initial value, according to the CRC that dynamic chain length computation IR wraps.
It is identical that step 704:IR bag CRC and IR wraps the CRC carried, and IR wraps CRC and is verified, and decompression machine migrates to FC state.
The above, be only preferred embodiment of the present invention, be not intended to limit protection scope of the present invention, and all any amendments done within the spirit and principles in the present invention, equivalent replacement and improvement etc., all should be included within protection scope of the present invention.
Claims (9)
1. a method for robustness header compression state transition, is characterized in that, comprising:
Decompression machine receives initial state IR and wraps under static context SC state, calculates the cyclic redundancy code CRC of IR bag static information; When not passing through the CRC checking of IR bag static information, then move back to no context NC state;
If be verified the CRC of described IR bag static information, calculated and verify the CRC that described IR wraps.
2. method according to claim 1, is characterized in that, described calculating also verifies that the CRC that IR wraps comprises: if described IR wraps CRC, checking is not passed through, and keeps SC state constant.
3. method according to claim 2, is characterized in that, if the CRC that described IR wraps is verified, migrates to full context FC state.
4. the method according to any one of claims 1 to 3, is characterized in that, the CRC of described calculating IR bag static information is: according to context token CID, Packet type, profile and static chain in described IR bag, calculate the CRC of IR bag static information.
5. method according to claim 4, it is characterized in that, described according to CID, Packet type, profile and the static chain in described IR bag, the CRC calculating IR bag static information is specially: resolve the static chain that described IR wraps, heading information according to Internet Protocol IP, User Datagram Protoco (UDP) UDP and realtime transmission protocol RTP calculates static chain length, then calculates the CRC of described IR bag static information.
6. the method according to claim 1,2 or 3, is characterized in that, the CRC of described calculating IR bag is: resolve the dynamic chain that described IR wraps, the heading information according to IP, UDP and RTP calculates dynamic chain length; With static CRC for initial value, according to the CRC that dynamic chain length computation IR wraps.
7. a decompression machine, is characterized in that, at least comprises the first correction verification module, the second correction verification module and processing module, wherein,
First authentication module, for receiving IR bag under SC state, calculating the CRC of IR bag static information, and verifying the CRC of IR bag static information, when being verified, sends initiate notification to the second authentication module; When checking is not passed through, send to processing module notice of moving back;
Second authentication module, for receiving the initiate notification from the first authentication module, calculating and verifying the CRC that IR wraps;
Processing module, for receiving the notice of moving back from the first authentication module, decompression machine is moved back to NC state.
8. decompression machine according to claim 7, is characterized in that, described second authentication module also for, if described IR wrap CRC checking do not pass through, to processing module send keep notice;
Described processing module also for, the maintenance received from the second authentication module notifies, decompression machine keeps current SC state constant.
9. decompression machine according to claim 8, is characterized in that, described second authentication module also for, if IR bag CRC be verified, to processing module send announcing removal;
Described processing module also for, receive the announcing removal from the second authentication module, decompression machine migrates to FC state.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN200910204376.3A CN102045311B (en) | 2009-10-22 | 2009-10-22 | Robust header compression state transition method and decompressor |
PCT/CN2010/075327 WO2011047567A1 (en) | 2009-10-22 | 2010-07-20 | Method for state shifting of robust header compression and decompressor thereof |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN200910204376.3A CN102045311B (en) | 2009-10-22 | 2009-10-22 | Robust header compression state transition method and decompressor |
Publications (2)
Publication Number | Publication Date |
---|---|
CN102045311A CN102045311A (en) | 2011-05-04 |
CN102045311B true CN102045311B (en) | 2015-06-03 |
Family
ID=43899802
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN200910204376.3A Expired - Fee Related CN102045311B (en) | 2009-10-22 | 2009-10-22 | Robust header compression state transition method and decompressor |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN102045311B (en) |
WO (1) | WO2011047567A1 (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102231857B (en) * | 2011-07-01 | 2013-05-08 | 四川长虹电器股份有限公司 | Set-top box starting speed increasing method |
CN102916773B (en) * | 2012-10-10 | 2016-08-03 | 中兴通讯股份有限公司 | A kind of static fields CRC check method and apparatus in robustness header compression |
CN112469084B (en) * | 2020-11-26 | 2023-03-07 | 展讯通信(上海)有限公司 | Data transmission method, device, equipment, storage medium and program product |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1360763A (en) * | 2000-03-29 | 2002-07-24 | 三星电子株式会社 | Method and apparatus for transmitting and receiving wireless packet |
CN1894922A (en) * | 2003-08-08 | 2007-01-10 | 高通股份有限公司 | Header compression enhancement for broadcast/multicast services |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP3512177B2 (en) * | 2001-05-16 | 2004-03-29 | 松下電器産業株式会社 | Packet receiving apparatus and packet transmitting method |
CN1918875A (en) * | 2004-02-06 | 2007-02-21 | 艾利森电话股份有限公司 | Broadcast/multicast services with unidirectional header compression |
KR101100200B1 (en) * | 2005-05-03 | 2011-12-28 | 엘지전자 주식회사 | method of transmitting header information of packet data for point-to-multipoint multimedia multicast service |
-
2009
- 2009-10-22 CN CN200910204376.3A patent/CN102045311B/en not_active Expired - Fee Related
-
2010
- 2010-07-20 WO PCT/CN2010/075327 patent/WO2011047567A1/en active Application Filing
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1360763A (en) * | 2000-03-29 | 2002-07-24 | 三星电子株式会社 | Method and apparatus for transmitting and receiving wireless packet |
CN1894922A (en) * | 2003-08-08 | 2007-01-10 | 高通股份有限公司 | Header compression enhancement for broadcast/multicast services |
Also Published As
Publication number | Publication date |
---|---|
WO2011047567A1 (en) | 2011-04-28 |
CN102045311A (en) | 2011-05-04 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9166931B2 (en) | Method and device for improving robustness of context update message in robust header compression | |
US8718098B2 (en) | Method for compressing and decompressing time stamp and equipment thereof | |
EP1421765B1 (en) | Extension header compression | |
EP2452480B1 (en) | Backward looking robust header compression receiver | |
US7876695B2 (en) | Communication station and method providing flexible compression of data packets | |
EP1258123B1 (en) | Replacement of transport-layer checksum in checksum-based header compression | |
US9392082B2 (en) | Communication interface and method for robust header compression of data flows | |
CN101860904B (en) | Method for calculating checksums based on data packet IP (Internet Protocol) hearder compression technology | |
CN101453463B (en) | Data packet packing, transmitting and receiving method for mobile multimedia broadcast system | |
US20100205497A1 (en) | Method and device for decoding by using window-based least significant bits in robust header compression | |
CN102045311B (en) | Robust header compression state transition method and decompressor | |
WO2000079764A1 (en) | Robust delta encoding with history information | |
CN102045328B (en) | The method of a kind of robustness header compression pattern switching and decompression machine | |
CN113612516A (en) | Compression test method, system and equipment for satellite communication data packet | |
CN103067971A (en) | TCP (transmission control protocol) header compression method in wireless IPv6 (internet protocol version 6) network | |
CN101690072B (en) | A method for repairing the window-based least significant bits decoding in the robust header compression | |
CN101594198A (en) | A kind of based on the radio channel state wireless channel state estimation | |
CN108574684B (en) | Decompression method and device | |
CN101453465A (en) | IP packet compression, decompression method for mobile multimedia broadcast system | |
CN108737349B (en) | Voice data packet processing method and device | |
Jonsson et al. | RObust Header Compression (ROHC): A Link-Layer Assisted Profile for IP/UDP/RTP | |
Woo et al. | Performance analysis of robust header compression over mobile wimax | |
WO2001067715A1 (en) | Pre-verification of checksums used with checksum-based header compression | |
Bakota et al. | Optimal format indication in distributed profiles ROHC compression | |
KR100918961B1 (en) | Method for compressing dynamic area and deciding ncb in wireless communication network |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20150603 Termination date: 20191022 |