CN107404506A - A kind of compression of data transfer, decompression method and system - Google Patents

A kind of compression of data transfer, decompression method and system Download PDF

Info

Publication number
CN107404506A
CN107404506A CN201610341313.2A CN201610341313A CN107404506A CN 107404506 A CN107404506 A CN 107404506A CN 201610341313 A CN201610341313 A CN 201610341313A CN 107404506 A CN107404506 A CN 107404506A
Authority
CN
China
Prior art keywords
mac header
compressed
compression
data
mac
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.)
Withdrawn
Application number
CN201610341313.2A
Other languages
Chinese (zh)
Inventor
袁建设
赵春平
许瑞锋
赵成
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Xinwei Telecom Technology Inc
Original Assignee
Beijing Xinwei Telecom Technology Inc
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 Beijing Xinwei Telecom Technology Inc filed Critical Beijing Xinwei Telecom Technology Inc
Priority to CN201610341313.2A priority Critical patent/CN107404506A/en
Publication of CN107404506A publication Critical patent/CN107404506A/en
Withdrawn legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services
    • H04L67/565Conversion or adaptation of application format or content
    • H04L67/5651Reducing the amount or size of exchanged application data
    • 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
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/004Arrangements for detecting or preventing errors in the information received by using forward error control

Landscapes

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

Abstract

The invention discloses a kind of compression of data transfer, decompression method and system, a kind of data transmission compression method, wherein, including according to the compressive state data of IP bags compression processing is done to MAC header, and the MAC header for completing to compress processing is combined into the formation one compressed data packets output of the first tentation data;In data packet compressing, establish the IP Header compression relations of MAC header compression, in decompression procedure, decompression processing is done to MAC header using the incidence relation between MAC header compression and IP Header compressions, compressed by establishing MAC header compression with IP Header compression relational implementations MAC header, the related feedback mechanism of IP Header compressions and CRC check mechanism etc. can be applied in MAC header compression, save bandwidth resources and systematic function.

Description

A kind of compression of data transfer, decompression method and system
Technical field
The present embodiments relate to data communication technology, more particularly to a kind of compression of data transfer, decompression method and System.
Background technology
In electronic information technical field now, digitized multimedia messages especially digital video, audio signal Data volume is larger, is difficult to be on the actual application if without carrying out it effective compression.Therefore data compression technique into For a crucial common technology in current digital communication, broadcast, storage and multimedia recreation.
During existing Ethernet exchanges, single message is divided into multiple scattered packets and is transmitted, these scattered numbers Transmit in one or more networks along different paths according to bag, and reconfigured in destination.
Usual packet content comprises at least MAC header (hardware address), IP bags (carry data, including IP packet header and IP only Inclusion), the part such as CRC (cyclic redundancy check) data, the wherein data volume in IP packet header is larger, occupies most of bandwidth money Source.In order to more efficient utilization bandwidth resources, it is necessary to do compression processing to IP packet header, in the prior art more common pressure Contracting mode is ROHC (Robust Header Compression, robustness Header compression) mode of robustness, specifically, together In one data flow, great redundancy would generally be contained between a packet and adjacent packet, by relevant information It is respectively stored in the context of compression side and decompression side, and is reasonably compressed using these information, except de-redundancy Information, data packet header length is with regard to that can be substantially reduced.Can be in the communication environment of extreme difference, by IP/ using ROHC compress modes UDP/RTP bags Header compression is to byte or so.ROHC improves the performance that data are carried on wireless network, improves low The quality of voice transfer on fast internet.But ROHC compress modes are only to IP layers and its Header compression of the above, without right MAC header carries out related compression.Incidence relation then is not set up between IP/UDP/RTP Header compressions and MAC header compression, is being compressed In decompression procedure, CRC data can not be verified and fed back to IP/UDP/RTP packet header, MAC header simultaneously, greatly waste broadband money Source, data transmission period is extended, reduce systematic entirety energy.
The content of the invention
The present invention provides a kind of compression of data transfer, decompression method and system, and MAC header is compressed into association IP/UDP/ The head compression of RTP bags, on the one hand can realize that MAC header compresses, and on the other hand the head of IP/UDP/RTP bags can also be compressed into phase The feedback mechanism of pass and CRC check mechanism etc. are applied in MAC header compression, save bandwidth resources and systematic function.
In a first aspect, a kind of compression method of data transfer of the embodiment of the present invention, wherein, including
Compression processing is done to MAC header according to the compressive state data of IP bags;
The MAC header for completing compression processing is combined into the first tentation data and forms compressed data packets output.
Preferably, the compression method of above-mentioned data transfer, wherein, MAC header is done according to the compressive state data of IP bags Compression is handled, and the MAC header for completing to compress processing is formed into compressed data packets output, specific bag with reference to the first tentation data Include:
Compressed IP packet header simultaneously generates the compressive state data output;
According to compressive state data, processing is compressed to MAC header to form MAC header compressing mark;
MAC header after the IP packet header after compression, the MAC header compressing mark, compression and CRC data are merged Form the compressed data packets output.
Preferably, the compression method of above-mentioned data transfer, wherein, the compressive state data include compressed context mark Know and compress classification, according to compressive state data, MAC header is compressed to form MAC header compressing mark;Including:
Judge the compression classification,
In the state of the compression classification is entered as 1, is identified according to the compressed context and obtain the matching MAC header Compressed context,
The MAC header is compressed according to the compressed context, forms the MAC header compressing mark.
Preferably, the compression method of above-mentioned data transfer, wherein, institute is not got according to compressed context mark In the state of the compressed context for stating the matching of MAC packet header, initial compressed context is established.
Preferably, the compression method of above-mentioned data transfer, wherein, it is defeated in the state of the compression classification is entered as 0 Go out the MAC header compressing mark and unpressed MAC header.
Preferably, the compression method of above-mentioned data transfer, wherein, in the state of the compression classification is entered as 1, root The compressed context of the acquisition matching MAC header is identified according to the compressed context to be included:
When the compression classification is entered as 1, according to compressed context described in the compressed context identifier lookup;
Judge whether the compressed context matches MAC compressed contexts;
Mismatched in the compressed context under the MAC compressed contexts state;Directly export the MAC header compression mark MAC header after knowing and compressing;And by the MAC header compressing mark be 0, and do clearing processing to compressing literary count value;
Matched in the compressed context under the MAC compressed contexts state, the compressed context count value is done Handled from increasing 1,
Judge whether compressed context count value is equal to Ni, wherein, N >=2, i are natural number;
It is equal to N in the compressed context count valuei, export the MAC header compressing mark and unpressed MAC bags Head;The MAC header compressing mark is entered as 0;
It is not equal to N in compressed context mark count valuei, the MAC header is carried out according to the compressed context Compression;The MAC header compressing mark is entered as 1.
On the one hand, the present invention provides a kind of decompression method of data transfer again, wherein, including,
Decompression processing is done to MAC header according to the decompressed state data of IP bags;
The MAC header for completing decompression processing is combined into the second tentation data and forms a decompression packet output.
Preferably, the decompression method of above-mentioned data transfer, wherein, its decompression processing specifically includes,
Leader is compressed according to MAC and knows the processing that split to the compressed data packets,
IP bags are decompressed, and generate decompressed state data;
MAC header is decompressed according to decompression states data.
Preferably, the decompression method of above-mentioned data transfer, wherein, the decompressed state data include decompression mark and Stored decompression context identifies, and when being decompressed according to decompressed state data to MAC packet header, specifically includes,
In the state of the decompression mark is entered as 1, the compressed data packets matched with the decompression mark are abandoned;
In the state of the decompression mark is entered as 0, the MAC header compressing mark is read;
1 state is identified as in the MAC Header compressions, searches the MAC matched with stored decompression context mark Source address, destination address and the data type of bag simultaneously export;
0 state is identified as in the MAC Header compressions, the stored decompression context is identified to the MAC of matching receiving Source address, destination address and the type of bag are updated to MAC bags source address, destination address and the type received and exported.
Preferably, the decompression method of above-mentioned data transfer, wherein, formed according to the MAC header, IP bags, CRC data Padding data, regular length, merge the MAC header, IP bags, CRC data, Padding data, regular length formed it is described Decompress packet output.
On the other hand, the present invention provides a kind of data transfer compressibility, wherein, including,
Compression module, to do compression processing to MAC header according to the compressive state data of IP bags, and compression processing will be completed MAC header combine one first tentation data formed a compressed data packets output.
Preferably, above-mentioned data transfer compressibility, wherein, the compression module specifically includes:
Split cells is compressed, to receive a packet, and the packet split and obtains MAC header, IP bags;
IP packet compression units, to receive the IP bags, the IP bags are normally compressed, and generate the compression shape State data output;
MAC header compression unit, to receive the MAC header, compressive state data, according to the compressive state data to institute MAC header is stated to be compressed processing and form MAC header compressing mark;
Compress combining unit, to by the IP bags after compression, the MAC header compressing mark, compress after MAC header, And CRC data merges to form the compressed data packets output.
Preferably, above-mentioned data transfer compressibility, wherein, the compressive state data identify including compressed context With compression classification, the MAC header compression unit specifically includes:
Judging unit is compressed, judges the compression classification,
Context acquiring unit, in the state of the compression classification is entered as 1, obtained according to compressed context mark Take and match the context of the MAC header to the MAC header compression unit,
The MAC header is compressed according to the compressed context, forms the MAC header compressing mark.
Preferably, above-mentioned data transfer compressibility, wherein, the compressed context acquiring unit is according to the compression Context identifier does not get the compressed context of the MAC packet header matching, then establishes initial compression context.
Preferably, above-mentioned data transfer compressibility, wherein, it is described in the state of the compression classification is entered as 0 MAC header compression unit export the MAC header compressing mark, it is uncompressed after MAC header, the MAC header compressing mark is 0.
Preferably, above-mentioned data transfer compressibility, wherein, the context acquiring unit includes,
The first requestor is compressed, when the compression classification is entered as 1, according to the compressed context identifier lookup MAC Compressed context;
First determining device, judges whether the compressed context matches the MAC compressed contexts;
Mismatched in the compressed context under the MAC compressed contexts state;Described in the MAC compression units output MAC header compressing mark, the unpressed MAC header;And by the MAC header compressing mark be 0, and to compressed context count value Do clearing processing;
Second determining device, matched in the MAC compressed contexts under the compressed context state, above and below the compression Literary count value is done from 1 processing is increased, and judges whether compressed context count value is equal to Ni, wherein, N >=2, i are natural number;
It is equal to N in the compressed context count valueiUnder state, the MAC header compression unit exports the MAC header compression Mark, the unpressed MAC packet header;The MAC header compressing mark is entered as 0;
It is not equal to N in compressed context mark count valueiUnder state, the MAC header compression unit is according to the pressure Contracting context is compressed to the MAC header;The MAC header compressing mark is entered as 1.
On the other hand, the present invention provides a kind of data transfer decompression systems, wherein, including,
Decompression module, to do decompression processing to MAC header according to the decompressed state data of IP bags, and decompression processing will be completed MAC header combine the second tentation data formed one decompression packet output.
Preferably, above-mentioned data transfer decompression systems, wherein, decompression module specifically includes:
Split cells is decompressed, after the processing formation compression that split to the compressed data packets is known according to MAC compression leaders IP bags after MAC header, compression,
IP decompression units, receive the IP bags after compression, the IP bags after compression are decompressed, and generate decompression Status data;
MAC header decompression units, receive the MAC header after compression, MAC header is solved according to decompression states data Pressure;
Combining unit is decompressed, it is defeated that the MAC header for completing decompression processing is combined into the decompression packet of the second tentation data formation one Go out.
Preferably, above-mentioned data transfer decompression systems, wherein, the decompressed state data include decompression mark and conciliate Context identifier is pressed, when being decompressed according to decompressed state data to MAC packet header, is specifically included,
Judging unit is decompressed, processing is made a decision to the decompression mark;
In the state of the decompression is identified as 1, the decompression module abandons the pressure matched with the decompression mark Contracting packet;
Stored decompression context acquiring unit, in the state of the decompression is identified as 0, read the MAC header compressing mark;Also Including:
The first requestor is decompressed, 1 state is identified as in the MAC Header compressions, searches and the stored decompression context mark Know source address, destination address and the data type of the MAC bags of matching and export;
Updating block is decompressed, 0 state is identified as in the MAC Header compressions, the stored decompression context is identified and matched Receive the MAC bags source address, destination address and type be updated to receiving the MAC bags source address, destination address and Type simultaneously exports.
Preferably, above-mentioned data transfer decompression systems, wherein, formed according to the MAC header, IP bags, CRC data Padding data, regular length, merge the MAC header, IP bags, CRC data, Padding data, regular length formed it is described Decompress packet output.
In the present invention, in data packet compressing, compression processing is done to MAC header according to the compressive state data of IP bags, is established The IP Header compression relations of MAC header compression, in decompression procedure, compressed using MAC header and associate pass between IP Header compressions System, decompression processing is done to MAC header according to the decompressed state data of IP bags, in the application, by establishing MAC header compression and IP packet header Compression context realizes that MAC header compresses, while can be applied to the related feedback mechanism of IP Header compressions and CRC check mechanism etc. In MAC header compression, bandwidth resources and systematic function are saved.
Brief description of the drawings
Fig. 1 is a kind of flow chart of the compression method of data transfer in the embodiment of the present invention;
Fig. 2 is a kind of flow chart of the compression method of data transfer in the embodiment of the present invention;
Fig. 3 is a kind of flow chart of the compression method of data transfer in the embodiment of the present invention;
Fig. 4 is a kind of flow chart of the compression method of data transfer in the embodiment of the present invention;
Fig. 5 is a kind of flow chart of the decompression method of data transfer in the embodiment of the present invention;
Fig. 6 is a kind of flow chart of the decompression method of data transfer in the embodiment of the present invention;
Fig. 7 is a kind of flow chart of the decompression method of data transfer in the embodiment of the present invention;
Fig. 8 is a kind of flow chart of data transmission method in the embodiment of the present invention;
Fig. 9 is a kind of structural representation of data transfer compressibility in the embodiment of the present invention;
Figure 10 is a kind of structural representation of data transfer compressibility in the embodiment of the present invention;
Figure 11 is a kind of structural representation of data transfer decompression systems in the embodiment of the present invention;
Figure 12 is a kind of structural representation of data transfer decompression systems in the embodiment of the present invention.
Embodiment
The present invention is described in further detail with reference to the accompanying drawings and examples.It is understood that this place is retouched The specific embodiment stated is used only for explaining the present invention, rather than limitation of the invention.It also should be noted that in order to just Part related to the present invention rather than entire infrastructure are illustrate only in description, accompanying drawing.
Embodiment one
Fig. 1 is a kind of flow chart of the compression method for data transfer that the embodiment of the present invention one provides, and the present embodiment can fit For in McWiLL broadband multimedia cluster system wireless data transmissions, specifically comprising the following steps:
Step S1, receive the data service ether bag after wireless chain control layer separation, data service ether bag is torn open Office is managed to form MAC bags, IP bags, Padding sections, CRC data, and MAC header is done at compression according to the compressive state data of IP bags Reason, and the MAC header for completing to compress processing is formed into compressed data packets output with reference to one first tentation data;Wherein, number is compressed It may include MAC header, IP compression data packets, CRC data after MAC header compressing mark, compression according to bag.
In data packet compressing, compression processing is done to MAC header according to the compressive state data of IP bags, MAC header is compressed and closed Join IP Header compressions, in the application, compressed by establishing MAC header compression with IP Header compression relational implementations MAC header, can be by IP The related feedback mechanism of Header compression and CRC check mechanism etc. are applied in MAC header compression, save bandwidth resources and systematicness Energy.
Embodiment two
On the basis of above-mentioned technical proposal, classification processing is carried out to packet according to frequency or cycle, according to predetermined calculation Method does compression processing to packet, while causes being maintained and updating for context in compression process.
Fig. 2 is a kind of flow chart of the compression method for data transfer that the embodiment of the present invention two provides, step S1, according to IP The compressive state data of bag do compression processing to MAC header, and the MAC header for completing to compress processing is combined into one first tentation data shape Exported into a compressed data packets, its compression processing specifically includes:
Step S11, IP packet header is normally compressed, and generates the compressive state data output;
Step S12, according to compressive state data, MAC header is compressed and handles and formed MAC header compressing mark;Wherein, The compressive state data include compressed context and identify and compress classification.
Fig. 3 is a kind of flow chart of data transmission method provided in an embodiment of the present invention, right according to compressive state data MAC header is compressed when forming MAC header compressing mark;Specifically include:
Step S121, judge the compression classification, step S122 is performed in the state of being 1 in the compression classification, in institute State in the state of compression classification is 0 and perform step S125,
Step S122, it is 1 in the compression classification, is identified according to the compressed context and obtain the matching MAC header Context;
Step S123, the MAC header is compressed according to the context, forms the MAC header compressing mark;According to The compressed context mark management MAC header compressed context and stored decompression context of IP bags, it is superfluous between IP bags and MAC header to remove Remaining information, the resource that packet takes is reduced, improve transmission performance.
Step S124, do not get the compressed context of the MAC packet header matching according to compressed context mark, then build Found the initial compressed context;Established in the case where not getting the IP matched with the MAC packet header and wrapping context state initial Compressed context, to prevent MAC packet header from can not completely be decompressed upon compression.
Step S125, in the state of the compression classification is 0, the MAC header compressing mark, uncompressed processing are exported MAC header, the MAC header compressing mark be 0.It is 0 in the compression classification, MAC header is not compressed completely, is assigned in compression classification It is worth for 1, MAC header is compressed completely.
Step S13 by the IP bags after compression, the MAC header compressing mark, compression after the MAC header, a CRC numbers The compressed data packets output is formed according to merging.
As further preferred embodiment, on above-described embodiment basis, principle and/or cycle are approached by optimism Property principle realize transfer between MAC header compressive state, wherein, after optimism approaches principle to continuously transmit N number of packet, according to Pre-defined algorithm makes some packets be not compressed completely, and periodicity principle is to send one every T time to be completely not compressed Packet, the purpose that principle and/or periodicity principle realize the transfer between MAC header compressive state is approached using optimism and is, So that compression, in decompression procedure context maintenance and renewal.
Fig. 4 is a kind of flow chart of the compression method of data transfer provided in an embodiment of the present invention, in the execution step When S122, specifically include,
Step S1221 is when the compression classification is 1, according to the compressed context identifier lookup standard MAC context;
Step S1222 judges whether the MAC compressed contexts match the compressed context;
Step S1223 is mismatched under the compressed context state in the MAC compressed contexts;Directly described in output MAC header compressing mark, the uncompressed MAC header;And by the MAC header compressing mark be 0, and to compressed context count Value does clearing processing;
Step S1224 is matched under the compressed context state in the MAC compressed contexts, to the compressed context Count value is done from the processing of increasing 1,
Step S1225 judges whether compressed context count value is equal to Ni, wherein, N >=2, i are natural number;
Step S1226 is equal to N in the compressed context count valuei, export the MAC header compressing mark, uncompressed The MAC packet header;The MAC header compressing mark is entered as 0;
Step S1227 is not equal to N in compressed context mark count valuei, according to the compressed context to described MAC header is compressed;The MAC header compressing mark is entered as 1.
In above-described embodiment, it is assumed that N=2, then the 2ndiIndividual packet, which is not compressed, directly transmits complete packet.Pass through 2ndiIndividual packet is safeguarded, renewal is compressed, the context in decompression procedure.
Embodiment three
Fig. 5 is a kind of flow chart of the decompression method for data transfer that the embodiment of the present invention three provides, and the present embodiment can Suitable for McWiLL broadband multimedia cluster system wireless data transmissions, specifically comprise the following steps:
Step S2, the compressed data packets of DAC units output are received, after the processing that split to compressed data packets forms compression IP bags, CRC data after MAC header, compression, do according to the decompressed state data of the IP bags in the compressed data packets to MAC header Decompression processing, and the MAC header for completing decompression processing is combined into the second tentation data and forms a decompression packet output, wherein, solution Pressure packet may include MAC header, IP bags, CRC data.
The operation principle of the data transmission method:In decompression procedure, using between MAC header compression and IP Header compressions Incidence relation, decompression processing is done to MAC header according to the decompressed state data of IP bags, in the application, because IP Header compressions associate MAC Head compression, IP packet header can be decompressed to related feedback mechanism and CRC check mechanism etc. and be applied in MAC header decompression, section Bandwidth-saving resource and systematic function.
Fig. 6 is the flow chart of the decompression method of data transfer provided in an embodiment of the present invention, in above-mentioned technical proposal base On plinth, judge whether to continue that MAC bags are continued to do decompression processing according to the decompressed state data of IP bags, to reduce MAC packet header not Necessity decompression loss.As further preferred embodiment, on the basis of above-mentioned technical proposal, step S2, according to the pressure The decompressed state data of IP bags in contracting packet do decompression processing to MAC header, and the MAC header for completing decompression processing is combined into the Two tentation datas form a decompression packet output, and its decompression processing specifically includes:
Step S21, leader is compressed according to MAC and knows the processing that split to the compressed data packets,
Step S22, IP bags are decompressed, and generates decompressed state data;
Step S23, MAC header is decompressed according to decompression states data;
Step S24, the MAC header for completing decompression processing is combined into the second tentation data and forms a decompression packet output.Root Form Padding data, regular length according to the MAC header, IP bags, CRC data, merge the MAC header, IP bags, CRC data, Padding data, regular length form the decompression packet and exported to upper strata.
Fig. 7 is the flow chart of the decompression method of data transfer provided in an embodiment of the present invention, wherein, in execution according to solution When pressure condition data decompress to MAC header, decompressed state data include decompression mark and decompression Context identifier, specific bag Include,
Step S231, in the state of the decompression is identified as 1, the compression number matched with the decompression mark is abandoned According to bag;
Step S232, in the state of the decompression is identified as 0, the MAC header compressing mark is read;
Step S233,1 state is identified as in the MAC Header compressions, searches and is matched with stored decompression context mark The MAC bags source address, destination address and data type and export;
Step S234,0 state is identified as in the MAC Header compressions, the stored decompression context is identified into matching receives The MAC bags source address, destination address and type be updated to receive MAC bags source address, destination address and the type And export.
Example IV
Fig. 8 is the flow implementation figure of data transmission method provided in an embodiment of the present invention, and the present embodiment is applicable to In McWiLL broadband multimedia cluster system wireless data transmissions, specific work process includes:
Step S1, receive the data service ether bag after wireless chain control layer separation, data service ether bag is torn open Office is managed to form MAC bags, IP bags, Padding sections, CRC data, and MAC header is done at compression according to the compressive state data of IP bags Reason, and the MAC header for completing to compress processing is formed into compressed data packets output with reference to one first tentation data;Step S2, receive DAC units output compressed data packets, processing that compressed data packets are split formed compression after MAC header, compression after IP bags, CRC data, decompression processing is done to MAC header according to the decompressed state data of the IP bags in the compressed data packets, and will complete to solve Pressure processing MAC header combine the second tentation data formed one decompression packet output, wherein, decompression packet may include MAC header, IP bags, CRC data.
In data packet compressing, compression processing is done to MAC header according to the compressive state data of IP bags, MAC header is compressed and closed Join IP Header compressions, in decompression procedure, using the incidence relation between MAC header compression and IP Header compressions, according to IP bags Decompressed state data do decompression processing to MAC header, in the application, by establishing MAC header compression and IP Header compression relational implementations MAC header is compressed, while the related feedback mechanism of IP Header compressions and CRC check mechanism etc. can be applied in MAC header compression, Save bandwidth resources and systematic function.
Embodiment five
Fig. 9 show the structural representation of data transfer compressibility provided in an embodiment of the present invention, and the present embodiment can fit For in McWiLL broadband multimedia cluster system wireless data transmissions, the concrete structure of the data transfer compressibility to be such as Under:
Compression module, receive the data service ether bag after wireless chain control layer separation, data service ether bag is done Deconsolidation process forms MAC bags, IP bags, Padding sections, CRC data, and MAC header is done to the compressive state data according to IP bags Compression is handled, and the MAC header for completing to compress processing is formed into compressed data packets output with reference to one first tentation data;Wherein, Compressed data packets may include MAC header, IP compression data packets, CRC data after MAC header compressing mark, compression.
The operation principle of the data transmission system is:
In data packet compressing, compression processing is done to MAC header according to the compressive state data of IP bags, MAC header is compressed and closed Join IP Header compressions, in the application, compressed by establishing MAC header compression with IP Header compression relational implementations MAC header, can be by IP The related feedback mechanism of Header compression and CRC check mechanism etc. are applied in MAC header compression, save bandwidth resources and systematicness Energy.
Reference picture 10 is the structural representation of data transfer compressibility provided in an embodiment of the present invention, and the present embodiment is upper On the basis of stating each embodiment, the compression module specifically includes:Receive wireless chain control layer separation after data service with To wrap very much, the processing that split to data service ether bag forms MAC bags, IP bags, Padding sections, CRC data,
Split cells is compressed, to receive a packet, and the packet split and obtains MAC header, IP bags,
IP packet compression units, to receive the IP bags, the IP bags are normally compressed, and generate the compression shape State data output;Wherein described compressive state data include compressed context and identify and compress classification.
MAC header compression unit, to receive the MAC header, compressive state data, according to the compressed context to described MAC header is compressed, and forms the MAC header compressing mark.Specifically include:
Judging unit is compressed, judges the compression classification, in the state of the compression classification is 0, the MAC header compression Unit exports the MAC header compressing mark, the MAC header, and the MAC header compressing mark is 0.
Context acquiring unit, it is 1 in the compression classification, is identified according to the compressed context described in obtaining matching MAC compressed contexts to the MAC header compression unit, the compressed context acquiring unit identifies according to the compressed context The MAC compressed contexts are not got, then establish the initial compressed context.
Combining unit is compressed, to by the IP bags after compression, the MAC header compressing mark, the MAC header, a CRC Data merge to form the compressed data packets output.
Wherein, further, the compressed context acquiring unit includes,
The first requestor is compressed, when the compression classification is 1, is compressed according to the compressed context identifier lookup MAC Context;
First determining device, judges whether the MAC compressed contexts match the compressed context;
Mismatched in the MAC compressed contexts under the compressed context state;Described in the MAC compression units output MAC header compressing mark, the MAC header;And by the MAC header compressing mark be 0, and compressed context count value is done at clearing Reason;
Second determining device, matched in the MAC compressed contexts under the compressed context state, above and below the compression Literary count value is done from 1 processing is increased, and judges whether compressed context count value is equal to Ni, wherein, N >=2, i are natural number;
It is equal to N in the compressed context count valueiUnder state, the MAC header compression unit exports the MAC header compression Mark, the MAC packet header;The MAC header compressing mark is entered as 0;
It is not equal to N in compressed context mark count valueiUnder state, the MAC header compression unit is according to the pressure Contracting context is compressed to the MAC header;The MAC header compressing mark is entered as 1.
On the basis of above-mentioned technical proposal, classification processing is carried out to packet according to frequency or cycle, according to predetermined calculation Method is done to packet compresses or does not compress processing, while causes being maintained and updating for context in compression process.
Embodiment six
Figure 11 show the structural representation of data transfer decompression systems provided in an embodiment of the present invention, and the present embodiment can Suitable for McWiLL broadband multimedia cluster system wireless data transmissions, the specific knot of the data transfer decompression systems Structure is as follows:
Decompression module, receive the compressed data packets of DAC units output, after the processing that split to compressed data packets forms compression MAC header, compression after IP bags, CRC data, to the decompressed state data pair according to the IP bags in the compressed data packets MAC header does decompression processing, and the MAC header for completing decompression processing is combined into the second tentation data and forms a decompression packet output. Wherein, decompression packet may include MAC header, IP bags, CRC data, and compression module and decompression module can be formed at same hardware In equipment.
The operation principle of the data transfer decompression systems is:In decompression procedure, pressed using MAC header compression with IP packet header Incidence relation between contracting, decompression processing is done to MAC header according to the decompressed state data of IP bags, in the application, by establishing MAC Head compression is compressed with IP Header compression relational implementations MAC header, can be by IP Header compressions related feedback mechanism and CRC check machine System etc. is applied in MAC header compression, saves bandwidth resources and systematic function.
Figure 11 is the structural representation of data transfer decompression systems provided in an embodiment of the present invention, and the present embodiment is above-mentioned On the basis of each embodiment, decompression module specifically includes:
Split cells is decompressed, after the processing formation compression that split to the compressed data packets is known according to MAC compression leaders IP bags after MAC header, compression,
IP decompression units, receive the IP bags after compression, the IP bags after compression are decompressed, and generate decompression Status data;
MAC header decompression units, receive the MAC header after compression, MAC header is solved according to decompression states data Pressure;
Combining unit is decompressed, it is defeated that the MAC header for completing decompression processing is combined into the decompression packet of the second tentation data formation one Go out.Specifically, Padding data, regular length are formed according to the MAC header, IP bags, CRC data, merges the MAC header, IP Bag, CRC data, Padding data, regular length form the decompression packet output.
Wherein, the decompressed state data include decompression mark and decompression Context identifier, according to decompressed state data When being decompressed to MAC packet header, MAC header decompression units specifically include,
Judging unit is decompressed, processing is made a decision to the decompression mark;
In the state of the decompression is identified as 1, the decompression module abandons the pressure matched with the decompression mark Contracting packet;
Reading unit is decompressed, in the state of the decompression is identified as 0, reads the MAC header compressing mark;Also include:
The first requestor is decompressed, 1 state is identified as in the MAC Header compressions, searches and the stored decompression context mark Know source address, destination address and the data type of the MAC bags of matching and export;
Updating block is decompressed, 0 state is identified as in the MAC Header compressions, the stored decompression context is identified and matched Receive the MAC bags source address, destination address and type be updated to receiving the MAC bags source address, destination address and Type simultaneously exports.
The operation principle of above-mentioned data transmission system is identical with above-mentioned data transmission method, and here is omitted.
The said goods can perform the method that any embodiment of the present invention is provided, and possess the corresponding functional module of execution method And beneficial effect.
Although various aspects of the invention provide in the independent claim, the other side of the present invention includes coming from The feature of described embodiment and/or with independent claims feature dependent claims combination, and not only It is the combination clearly provided in claim.
Although it is to be noted here that the foregoing describing the example embodiment of the present invention, these descriptions are not It should be understood in a limiting sense.Will without departing from such as appended right on the contrary, several change and modifications can be carried out The scope of the present invention defined in asking.
Pay attention to, above are only presently preferred embodiments of the present invention and institute's application technology principle.It will be appreciated by those skilled in the art that The invention is not restricted to specific embodiment described here, can carry out for a person skilled in the art various obvious changes, Readjust and substitute without departing from protection scope of the present invention.Therefore, although being carried out by above example to the present invention It is described in further detail, but the present invention is not limited only to above example, without departing from the inventive concept, also Other more equivalent embodiments can be included, and the scope of the present invention is determined by scope of the appended claims.

Claims (19)

  1. A kind of 1. compression method of data transfer, it is characterised in that including
    Compression processing is done to MAC header according to the compressive state data of IP bags;
    The MAC header for completing compression processing is combined into the first tentation data and forms compressed data packets output.
  2. 2. the compression method of data transfer according to claim 1, it is characterised in that according to the compressive state data of IP bags Compression processing is done to MAC header, and the MAC header for completing to compress processing is defeated with reference to one compressed data packets of the first tentation data formation Go out, specifically include:
    Compressed IP packet header simultaneously generates the compressive state data output;
    According to compressive state data, processing is compressed to MAC header to form MAC header compressing mark;
    MAC header after the IP packet header after compression, the MAC header compressing mark, compression and CRC data are merged to be formed The compressed data packets output.
  3. 3. the compression method of data transfer according to claim 2, it is characterised in that the compressive state data include pressure Contracting Context identifier and compression classification, according to compressive state data, are compressed to form MAC header compressing mark to MAC header;Bag Include:
    Judge the compression classification,
    In the state of the compression classification is entered as 1, is identified according to the compressed context and obtain the pressure for matching the MAC header Contracting context,
    The MAC header is compressed according to the compressed context, forms the MAC header compressing mark.
  4. 4. the compression method of data transfer according to claim 3, it is characterised in that identified according to the compressed context In the state of the compressed context for not getting the MAC packet header matching, initial compressed context is established.
  5. 5. the compression method of data transfer according to claim 3, it is characterised in that be entered as 0 in the compression classification In the state of, export the MAC header compressing mark and unpressed MAC header.
  6. 6. the compression method of data transfer according to claim 3, it is characterised in that be entered as 1 in the compression classification In the state of, the compressed context of the acquisition matching MAC header is identified according to the compressed context to be included:
    When the compression classification is entered as 1, according to compressed context described in the compressed context identifier lookup;
    Judge whether the compressed context matches MAC compressed contexts;
    Mismatched in the compressed context under the MAC compressed contexts state;Directly export the MAC header compressing mark, And the MAC header after compression;And by the MAC header compressing mark be 0, and do clearing processing to compressing literary count value;
    Match under the MAC compressed contexts state, the compressed context count value is done from increasing 1 in the compressed context Processing,
    Judge whether compressed context count value is equal to Ni, wherein, N >=2, i are natural number;
    It is equal to N in the compressed context count valuei, export the MAC header compressing mark and uncompressed MAC packet header; The MAC header compressing mark is entered as 0;
    It is not equal to N in compressed context mark count valuei, the MAC header is compressed according to the compressed context; The MAC header compressing mark is entered as 1.
  7. A kind of 7. decompression method of data transfer, it is characterised in that including,
    Decompression processing is done to MAC header according to the decompressed state data of IP bags;
    The MAC header for completing decompression processing is combined into the second tentation data and forms a decompression packet output.
  8. 8. the decompression method of data transfer according to claim 7, it is characterised in that according to the decompressed state number of IP bags Decompression processing is done according to MAC header, is specifically included,
    Leader is compressed according to MAC and knows the processing that split to the compressed data packets,
    IP bags are decompressed, and generate decompressed state data;
    MAC header is decompressed according to decompression states data.
  9. 9. the decompression method of data transfer according to claim 7, it is characterised in that the decompressed state data include Decompression mark and decompression Context identifier, when being decompressed according to decompressed state data to MAC packet header, are specifically included,
    In the state of the decompression mark is entered as 1, the compressed data packets matched with the decompression mark are abandoned;
    In the state of the decompression mark is entered as 0, the MAC header compressing mark is read;
    1 state is identified as in the MAC Header compressions, searches and identifies the MAC bags matched with the stored decompression context Source address, destination address and data type simultaneously export;
    0 state is identified as in the MAC Header compressions, the stored decompression context is identified to the MAC bags of matching receiving Source address, destination address and type are updated to MAC bags source address, destination address and the type received and exported.
  10. 10. the decompression method of data transfer according to claim 9, it is characterised in that according to the MAC header, IP bags, CRC data forms Padding data, regular length, merges the MAC header, IP bags, CRC data, Padding data, fixed length Degree forms the decompression packet output.
  11. A kind of 11. data transfer compressibility, it is characterised in that including,
    Compression module, to do MAC header compression processing according to the compressive state data of IP bags, and it will complete to compress processing MAC header combines one first tentation data and forms compressed data packets output.
  12. 12. data transfer compressibility according to claim 11, it is characterised in that the compression module specifically includes:
    Split cells is compressed, to receive a packet, and the packet split and obtains MAC header, IP bags,
    IP packet compression units, to receive the IP bags, the IP bags are normally compressed, and generate the compressive state number According to output;
    MAC header compression unit, to receive the MAC header, compressive state data, according to the compressive state data to described MAC header, which is compressed, handles and is formed MAC header compressing mark;
    Compress combining unit, to by the IP bags after compression, the MAC header compressing mark, compress after MAC header and CRC data merges to form the compressed data packets output.
  13. 13. data transfer compressibility according to claim 12, it is characterised in that the compressive state data include pressure Contracting Context identifier and compression classification, the MAC header compression unit specifically include:
    Judging unit is compressed, judges the compression classification,
    Context acquiring unit, in the state of the compression classification is entered as 1, according to compressed context mark acquisition Context with the MAC header to the MAC header compression unit,
    The MAC header is compressed according to the compressed context, forms the MAC header compressing mark.
  14. 14. data transfer compressibility according to claim 13, it is characterised in that the compressed context acquiring unit Do not get the compressed context of the MAC packet header matching according to compressed context mark, then establish above and below initial compression Text.
  15. 15. data transfer compressibility according to claim 13, it is characterised in that be entered as 0 in the compression classification In the state of, the MAC header compression unit export the MAC header compressing mark, it is uncompressed after MAC header, the MAC header pressure Contracting is identified as 0.
  16. 16. data transfer compressibility according to claim 13, it is characterised in that the context acquiring unit bag Include,
    The first requestor is compressed, when the compression classification is entered as 1, is compressed according to the compressed context identifier lookup MAC Context;
    First determining device, judges whether the compressed context matches the MAC compressed contexts;
    Mismatched in the compressed context under the MAC compressed contexts state;The MAC compression units export the MAC Head compressing mark, the uncompressed MAC header;And by the MAC header compressing mark be 0, and to compressed context count value Do clearing processing;
    Second determining device, matched in the MAC compressed contexts under the compressed context state, to the compressed context meter Numerical value is done from 1 processing is increased, and judges whether compressed context count value is equal to Ni, wherein, N >=2, i are natural number;
    It is equal to N in the compressed context count valueiUnder state, the MAC header compression unit export the MAC header compressing mark, The uncompressed MAC packet header;The MAC header compressing mark is entered as 0;
    It is not equal to N in compressed context mark count valueiUnder state, the MAC header compression unit according to the compression above and below Text is compressed to the MAC header;The MAC header compressing mark is entered as 1.
  17. A kind of 17. data transfer decompression systems, it is characterised in that including,
    Decompression module, to do decompression processing to MAC header according to the decompressed state data of IP bags, and decompression processing will be completed MAC header combines the second tentation data and forms a decompression packet output, wherein,
    Decompression module specifically includes:
    Split cells is decompressed, the MAC after leader knows the processing formation compression that split to the compressed data packets is compressed according to MAC IP bags after head, compression,
    IP decompression units, receive the IP bags after compression, the IP bags after compression are decompressed, and generate decompressed state Data;
    MAC header decompression units, receive the MAC header after compression, MAC header is decompressed according to decompression states data;
    Combining unit is decompressed, the MAC header for completing decompression processing is combined into the second tentation data forms a decompression packet output.
  18. 18. data transfer decompression systems according to claim 17, it is characterised in that the decompressed state data include Decompression mark and decompression Context identifier, when being decompressed according to decompressed state data to MAC packet header, are specifically included,
    Judging unit is decompressed, processing is made a decision to the decompression mark;
    In the state of the decompression is identified as 1, the decompression module abandons the compression number matched with the decompression mark According to bag;
    Stored decompression context acquiring unit, in the state of the decompression is identified as 0, read the MAC header compressing mark;Also wrap Include:
    The first requestor is decompressed, 1 state is identified as in the MAC Header compressions, is searched and stored decompression context mark Source address, destination address and the data type of the MAC bags matched somebody with somebody simultaneously export;
    Updating block is decompressed, 0 state is identified as in the MAC Header compressions, the stored decompression context is identified into matching receives The MAC bags source address, destination address and type be updated to receive MAC bags source address, destination address and the type And export.
  19. 19. data transfer decompression systems according to claim 18, it is characterised in that according to the MAC header, IP bags, CRC data forms Padding data, regular length, merges the MAC header, IP bags, CRC data, Padding data, fixed length Degree forms the decompression packet output.
CN201610341313.2A 2016-05-20 2016-05-20 A kind of compression of data transfer, decompression method and system Withdrawn CN107404506A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610341313.2A CN107404506A (en) 2016-05-20 2016-05-20 A kind of compression of data transfer, decompression method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610341313.2A CN107404506A (en) 2016-05-20 2016-05-20 A kind of compression of data transfer, decompression method and system

Publications (1)

Publication Number Publication Date
CN107404506A true CN107404506A (en) 2017-11-28

Family

ID=60389569

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610341313.2A Withdrawn CN107404506A (en) 2016-05-20 2016-05-20 A kind of compression of data transfer, decompression method and system

Country Status (1)

Country Link
CN (1) CN107404506A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110290474A (en) * 2018-03-19 2019-09-27 成都鼎桥通信技术有限公司 Cluster calling method, communication device and storage medium
WO2020164611A1 (en) * 2019-02-14 2020-08-20 Mediatek Inc. Simple ethernet header compression
WO2022027653A1 (en) * 2020-08-07 2022-02-10 华为技术有限公司 Information transmission method, communication apparatus, and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1663215A (en) * 2001-01-10 2005-08-31 诺基亚有限公司 Relocating context information in header compression
CN101129005A (en) * 2004-08-25 2008-02-20 汤姆逊许可公司 Wired data service compressing method
CN101350768A (en) * 2007-07-19 2009-01-21 中兴通讯股份有限公司 Method for conveying IP packet in broadcast network
CN101453298A (en) * 2007-12-07 2009-06-10 华为技术有限公司 Processing method, system and apparatus for header compression in wireless network

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1663215A (en) * 2001-01-10 2005-08-31 诺基亚有限公司 Relocating context information in header compression
CN101129005A (en) * 2004-08-25 2008-02-20 汤姆逊许可公司 Wired data service compressing method
CN101350768A (en) * 2007-07-19 2009-01-21 中兴通讯股份有限公司 Method for conveying IP packet in broadcast network
CN101453298A (en) * 2007-12-07 2009-06-10 华为技术有限公司 Processing method, system and apparatus for header compression in wireless network
WO2009074101A1 (en) * 2007-12-07 2009-06-18 Huawei Technologies Co., Ltd. A method, system and apparatus for processing header compression in wireless network

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110290474A (en) * 2018-03-19 2019-09-27 成都鼎桥通信技术有限公司 Cluster calling method, communication device and storage medium
WO2020164611A1 (en) * 2019-02-14 2020-08-20 Mediatek Inc. Simple ethernet header compression
CN111869183A (en) * 2019-02-14 2020-10-30 联发科技股份有限公司 Simple Ethernet header compression
US11563829B2 (en) 2019-02-14 2023-01-24 Mediatek Inc. Simple ethernet header compression
WO2022027653A1 (en) * 2020-08-07 2022-02-10 华为技术有限公司 Information transmission method, communication apparatus, and storage medium

Similar Documents

Publication Publication Date Title
RU2377670C2 (en) Data compression
US8045585B2 (en) Method and apparatus providing media aggregation in a packet-switched network
CN100544439C (en) A kind of method and system of supporting the media data of multiple coded format
US20060104278A1 (en) Apparatus and method for compressing headers in a broadband wireless communication system
US7289497B2 (en) Implicit packet type identification
US9392082B2 (en) Communication interface and method for robust header compression of data flows
AU2012207704B2 (en) Apparatus and method for transmitting multimedia data in a broadcast system
JP2004096717A (en) Protocol message compression in radio communication system
EP3163837B1 (en) Header compression for ccn messages using a static dictionary
CN108012106A (en) A kind of method and system regarding networking monitoring source synchronous
CN107404506A (en) A kind of compression of data transfer, decompression method and system
US8418037B2 (en) Method and device for decoding by using window-based least significant bits in robust header compression
CN110430024A (en) A kind of data transmission method, device, electronic equipment and storage medium
CN100456673C (en) Network device and data transmission method for efficient data transmission and reception in mobile ad hoc network environment
Abdelfadeel et al. Lschc: Layered static context header compression for lpwans
Abualhaj et al. Effective Voice Frame Pruning Method to Increase VoIP Call Capacity.
US8559463B2 (en) Systems and methods for providing efficient bandwidth utilization in packet switched networks
EP1614220A1 (en) State-mediated data signaling used for compression in telecommunication services
KR100965944B1 (en) Efficient encoding out of order data packets in a network
CN110430168A (en) A kind of method and apparatus of data compression
WO2012171289A1 (en) Method and apparatus for switching working mode of robust header compression protocol layer
CN109167965A (en) A kind of method and apparatus of data processing
CN102045311B (en) Robust header compression state transition method and decompressor
Chen et al. A survey of ROHC header compression schemes
CN114095108A (en) Smart broadcasting method applied to client

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
WW01 Invention patent application withdrawn after publication
WW01 Invention patent application withdrawn after publication

Application publication date: 20171128