CN107094144A - The method for packing and de-encapsulation method of base band frame - Google Patents

The method for packing and de-encapsulation method of base band frame Download PDF

Info

Publication number
CN107094144A
CN107094144A CN201710300441.7A CN201710300441A CN107094144A CN 107094144 A CN107094144 A CN 107094144A CN 201710300441 A CN201710300441 A CN 201710300441A CN 107094144 A CN107094144 A CN 107094144A
Authority
CN
China
Prior art keywords
data
base band
band frame
compressed
packet
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.)
Granted
Application number
CN201710300441.7A
Other languages
Chinese (zh)
Other versions
CN107094144B (en
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.)
Shanghai National Engineering Research Center of Digital Television Co Ltd
Original Assignee
Shanghai National Engineering Research Center of Digital Television Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shanghai National Engineering Research Center of Digital Television Co Ltd filed Critical Shanghai National Engineering Research Center of Digital Television Co Ltd
Priority to CN201710300441.7A priority Critical patent/CN107094144B/en
Publication of CN107094144A publication Critical patent/CN107094144A/en
Application granted granted Critical
Publication of CN107094144B publication Critical patent/CN107094144B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/04Protocols for data compression, e.g. ROHC
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/0001Systems modifying transmission characteristics according to link quality, e.g. power backoff
    • H04L1/0006Systems modifying transmission characteristics according to link quality, e.g. power backoff by adapting the transmission format
    • H04L1/0007Systems modifying transmission characteristics according to link quality, e.g. power backoff by adapting the transmission format by modifying the frame length
    • 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

Landscapes

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

Abstract

The method for packing and de-encapsulation method of a kind of base band frame, wherein method for packing include:The uncompressed packet received is stored in input data buffering area;All uncompressed packets in present input data buffering area are compressed to form compressed data packets;Compressed data packets are replaced into existing compressed data packets in compressed data buffering area;When the maximum data length that the data length of two buffering area memory storages is equal to or more than one base band frame can be accommodated, the packet of the selection wherein shorter buffering area memory storage of data length is used as data to be transmitted block;The maximum data length that wherein length of the data to be transmitted block can accommodate for a base band frame;Data to be transmitted block is encapsulated as base band frame, and whether the data to be transmitted block is identified through overcompression in the frame head of base band frame.The technical program solves existing broadcast system and does not consider to be compressed input data optimization and adapt to the technical problem that different types of data is compressed optimization.

Description

The method for packing and de-encapsulation method of base band frame
The application is the divisional application of original bill, the application number 201410043596.3 of original bill, January 29 2014 applying date Day, invention and created name " method for packing and de-encapsulation method of base band frame ".
Technical field
The present invention relates to the transmission technique field for being wirelessly transferred base band frame, the method for packing of more particularly to a kind of base band frame and De-encapsulation method.
Background technology
With radio broadcasting and the development of communication service, diversified spy is presented in the data content transmitted in Radio Link Levy, IP packets turn into main data type.IP packets are made up of data packet head and data load two parts, and the former is used for Mark sends and receives address, protocol type etc.;The latter is used to carry the data content to be transmitted, and can be further divided into The different agreements such as UDP or TCP.All there is certain redundancy in this two parts data.In addition, some other radio broadcasting and communication Usable data type can be arrived in business, such as TS packets, also there is redundancy to a certain degree.In order to improve radio chains The efficiency of transmission on road, transmitting terminal data are compressed and receiving terminal decompressed recover without loss former data be can Capable and favourable.
In the prior art, do not consider to be compressed input data optimization in some wireless broadcast systems;At some In wireless communication system, the Header compression function with feedback is used, unidirectional radio network is not particularly suited for;It is wireless at some In broadcast system, the compression methods such as RoHC agreements have been used, specific data type have been only applicable to, it is impossible to which application type is more extensive Other data types or some new types of data types.
The problem of compression transmitting methods of data is mainly needed and solved in Radio Link base band frame includes:On the one hand it is directed to Different input data types and feature, and the parameter of base band frame in itself, are applicable different compression methods, to improve efficiency; On the other hand consider that the complexity of wireless transmission environments, with badly, error of transmission can be detected in time and recover normal work in time Make state.But comparatively ideal solution is not provided in the prior art.
The content of the invention
The problem of present invention is solved is that existing broadcast system does not consider to be compressed input data optimization and adapted to Different types of data is compressed optimization.
To solve the above problems, the embodiment of the present invention provides a kind of method for packing of base band frame, comprise the following steps:It will connect The uncompressed packet received is stored in input data buffering area;To all uncompressed numbers in the current input data buffering area It is compressed to form compressed data packets according to bag;The compressed data packets are replaced into existing compressed data in compressed data buffering area Bag;When the maximum data length that the data length of two buffering area memory storages is equal to or more than one base band frame can be accommodated When, the packet of the selection wherein shorter buffering area memory storage of data length is used as data to be transmitted block;The wherein number to be transmitted The maximum data length that can be accommodated for a base band frame according to the length of block;The data to be transmitted block is encapsulated as base band frame, And the data to be transmitted block is identified in the frame head of the base band frame whether through overcompression.
Optionally, the method for packing of base band frame also comprises the following steps:If in the shorter buffering area of the data length of selection The length of all packets of storage is more than the maximum data length that a base band frame can be accommodated, then stores remaining data bag The head to another buffering area is stored in the head of the buffering area, and by the remaining data packet replication.
Optionally, the method for packing of base band frame also comprises the following steps:No matter the remaining data bag is uncompressed packet Or compressed data packets, the remaining data bag is no longer compressed.
Optionally, the method for packing of base band frame also comprises the following steps:Often encapsulate after a base band frame, by input data Other packets in buffering area and compressed data buffering area in addition to remaining data bag are reset.
Optionally, the method for packing of base band frame also comprises the following steps:Timeout threshold is set, and is reset in data buffer zone When simultaneously reset timer;Counted since being performed the step of uncompressed packet received is stored in into input data buffering area When, when timer reaches the timeout threshold, no matter the data length of the compressed data packets of compressed data buffering area memory storage is It is no to be equal to or more than the maximum data length that a base band frame be accommodated, by what is stored in the current compressed data buffering area Compressed data packets are used as data to be transmitted block;The data to be transmitted block is encapsulated as base band frame, and in the frame head of the base band frame The data to be transmitted block is identified to have been compressed.
Optionally, the data length that the input data buffering area and the compressed data buffering area can be accommodated is at least big The maximum data length that can be accommodated in a base band frame.
Optionally, the uncompressed packet and compressed data packets be IP packets or UDP message bag or TCP data bag or TS bags or other not specified type data packets.
Optionally, all uncompressed packets in the current input data buffering area are compressed to form pressure Contracting packet comprises the following steps:1) it is compressed, and is counted after its compression using all uncompressed packets as an entirety Length;2) according to the different type of the uncompressed packet received, content rearrangement is carried out to all uncompressed packets;3) Packet header in all uncompressed packets by content rearrangement is compressed to form compressed data packets packet header;4) will be described Compressed data packets packet header is stitched together to form pressure with the data payload in all uncompressed packets reset by content Contracting packet, and count the length of the compressed data packets;5) above-mentioned steps 1 are compared) and step 4) obtained length, selection is wherein Packet is put into compressed data buffering area after a shorter compression of length;6) compression letter is set on the head of compressed data packets Breath, the compression information includes the type of the compression method and bag of the compressed data.
The embodiment of the present invention additionally provides a kind of de-encapsulation method of base band frame, comprises the following steps:Base band frame is received, its Described in base band frame be using above-mentioned base band frame method for packing encapsulation form;The frame head of the base band frame is detected to judge the base band Whether the transmission packet of frame in is through overcompression;If the determination result is YES, then in the transmission packet for extracting current base band frame in Remaining data bag in all compressed data packets in addition to remaining data bag, and the transmission packet of next base band frame in It is spliced into a complete compressed data packets;The complete compressed data packets are decompressed to obtain initial data;Will be current The frame head of base band frame is stitched together with the initial data, and identifies the initial data in the frame head of current base band frame and solved Compression.
Optionally, the de-encapsulation method of base band frame also comprises the following steps:If judged result is no, current base band is extracted All uncompressed packets in the transmission packet of frame in addition to remaining data bag, and next base band frame in transmission Remaining data bag in packet is spliced into a complete uncompressed packet;By the frame head of current base band frame with it is described complete Uncompressed data be stitched together.
Optionally, the uncompressed packet, compressed data packets and transmission packet are IP packets or UDP message bag Or TCP data bag or TS bags or other not specified type data packets.
Optionally, the compressed data packets packet header in compressed data packets is extracted;According to the flag bit in compression information, selection pair Remaining data are decompressed;Or only compressed data packets packet header is decompressed to obtain each packet header, hereafter by each packet header Corresponding data payload is entered rearrangement according to order and spliced to obtain raw data packets.
Compared with prior art, technical solution of the present invention has the advantages that:
1) compression is stored in after being compressed to the uncompressed packet being stored in input data buffering area received Data buffer zone, and compare the data length of the packet in two buffering areas, the selection wherein shorter buffering area of data length Interior packet is optimized as data to be transmitted block with the efficiency of transmission for realizing base band frame.
2) in base band frame encapsulation process, timeout threshold is set, it is super more than this when the time of one base band frame encapsulation of processing When threshold value when, stop handling the compression of uncompressed packet, the compression number that will have been stored in the current compressed data buffering area According to bag as data to be transmitted block, so that avoid causes to need because the packet information redundancy of input is high, compression efficiency is high The encapsulation for completing a base band frame is taken a long time, the normal transmission of base band frame is influenceed.
3) for IP packets or UDP message bag or TCP data bag or TS bags, in compression process, do not press all first Contracting packet carries out content rearrangement, and packet header therein taking-up merging is compressed to form compressed data packets packet header, then with institute There is the data payload in uncompressed packet to be stitched together to form compressed data packets, so as to reduce operand, improve compression Efficiency.
4) in compression process, to IP packets or UDP message bag or TCP data bag or TS bags or other not specified types Packet, can also be regarded as general data and completely be compressed.By the method institute for comparing this method and above-mentioned rearrangement-compression Obtained compressed data packet length, selects more excellent one kind, to improve compression efficiency.
Brief description of the drawings
Fig. 1 is a kind of schematic flow sheet of the embodiment of the method for packing of base band frame of the present invention;
Fig. 2 is a kind of schematic flow sheet of the embodiment of the de-encapsulation method of base band frame of the present invention.
Embodiment
Inventor has found that existing broadcast system does not consider to be compressed input data optimization and adapts to different pieces of information Type is compressed optimization.
In view of the above-mentioned problems, inventor by research there is provided a kind of method for packing of base band frame and de-encapsulation method, with Realize that the efficiency of transmission of base band frame is optimized.
It is understandable to enable the above objects, features and advantages of the present invention to become apparent, below in conjunction with the accompanying drawings to the present invention Embodiment be described in detail.
As shown in Fig. 1 the schematic flow sheet of the embodiment of the method for packing of a kind of base band frame of the invention. With reference to Fig. 1, the method for packing of base band frame comprises the following steps:
Step S11:The uncompressed packet received is stored in input data buffering area;
Step S12:All uncompressed packets in the current input data buffering area are compressed to form compression Packet;
Step S13:The compressed data packets are replaced into existing compressed data packets in compressed data buffering area;
Step S14:When the data length of two buffering area memory storages is equal to or more than one base band frame can accommodate During maximum data length, the packet of the selection wherein shorter buffering area memory storage of data length is used as data to be transmitted block;Its In the data to be transmitted block the maximum data length that can be accommodated for a base band frame of length;
Step S15:The data to be transmitted block is encapsulated as base band frame, and it is to be passed in the frame head of the base band frame to identify this Whether transmission of data block is through overcompression.
In the present embodiment, when transmitting terminal makees the encapsulation of base band frame, two buffering areas can be set, respectively input data is delayed Area and compressed data buffering area are rushed, and the data that the input data buffering area and the compressed data buffering area can be accommodated are long The maximum data length that at least above one base band frame of degree can be accommodated.
When starting to transmit uncompressed packet, two buffering areas are first reset.Then, by the uncompressed packet received Input data buffering area (as described in step S11) is stored in, wherein the uncompressed packet can be IP packets or UDP numbers According to bag or TCP data bag or TS bags or other not specified type data packets.
Then, as described in step S12, all uncompressed packets in the current input data buffering area are compressed To form compressed data packets.As described in step S13, the compressed data packets are replaced into existing compression number in compressed data buffering area According to bag.
Specifically, after receiving first uncompressed packet and being stored in input data buffering area, compression is enabled Device is compressed to form compressed data packets to first uncompressed packet.Then, the compressed data packets are stored in pressure In contracting data buffer zone and replace existing compressed data packets.It should be noted that now not yet being deposited in compressed data buffering area Any compressed data packets are stored up, it is empty packet to replace existing compressed data packets.
Next, receive second uncompressed packet and be stored in after input data buffering area, be by first not Compressed data packets and second uncompressed packet as after overall be compressed to form compressed data packets.Then should then, Compressed data packets are stored in compressed data buffering area and replace existing compressed data packets, the existing compression number now replaced It is first previous compressed data packets according to bag.
By that analogy, successively all uncompressed packets in the current input data buffering area are compressed to be formed Compressed data packets, and the compressed data packets are replaced into existing compressed data packets in compressed data buffering area.
Then, as described in step S14, when the data length of two buffering area memory storages is equal to or more than one base band frame During the maximum data length that can be accommodated, the packet of the selection wherein shorter buffering area memory storage of data length is as to be transmitted Data block.Wherein, the maximum data length that the length of the data to be transmitted block can accommodate for a base band frame.
Specifically, the mode according to above-mentioned steps S11 to step S13 is compressed to the uncompressed packet received Processing, until the maximum data that the data length of two buffering area memory storages is equal to or more than one base band frame can be accommodated is long When spending, the packet of the selection wherein shorter buffering area memory storage of data length is used as data to be transmitted block.
Here it is divided into two kinds of situations:
1) when the data length of two buffering area memory storages is equal to the maximum data length that a base band frame can be accommodated When, the packet of any of which buffering area memory storage can be selected as data to be transmitted block, and in this case, appoint All packets do not have remaining data bag all in a base band frame in transmission in one buffering area.
2) when the data length of two buffering area memory storages is both greater than the maximum data length that a base band frame can be accommodated When, the packet of the selection wherein shorter buffering area memory storage of data length is used as data to be transmitted block.Specifically, when input number When being more than the data length in compressed data buffering area according to the data length in buffering area, illustrate the data of the packet after compression Length is less, so as to select compressed data packets (packet i.e. in compressed data buffering area) as data to be transmitted block.When defeated When entering the data length that data length in data buffer zone is less than in compressed data buffering area, illustrate the packet after compressing Data length is big all the better (being not carried out data compression, packet redundancies many on the contrary), at this moment selects uncompressed packet (packet i.e. in input data buffering area) is used as data to be transmitted block.
As described in step S15, the data to be transmitted block is encapsulated as base band frame, and identified in the frame head of the base band frame Whether the data to be transmitted block is through overcompression.Wherein, the encapsulation process for data to be transmitted block being encapsulated as into base band frame can be with existing Technology is realized, will not be repeated here.One flag bit (such as CMP, for informing receiving terminal is set in the frame head of base band frame Whether the transmission packet of current base band frame have passed through compression, and length is 1 bit).As CMP=0, not enabled packet is represented Compression function, receiving terminal according to domain content can be parsed and used according to original standard logarithmic;As CMP=1, expression enables number According to packet compression function, receiving terminal is gone and parses and use again after data field content need to first being decompressed.
It should be noted that can be accommodated most when the data length of two buffering area memory storages is both greater than a base band frame During big data length, the packet of the selection wherein shorter buffering area memory storage of data length is as data to be transmitted block, and this is treated The maximum data length that the length of transmission data block can accommodate for a base band frame.So by some data in buffering area Bag (being referred to as remaining data bag), which needs to be placed in next base band frame, to be transmitted, and the processing mode for the remaining data bag is as follows:
Remaining data bag is stored in the head of the shorter buffering area of selected data length, and by the remaining data bag Storage is replicated to the head of another buffering area.For example, when selected buffering area is input data buffering area, the remainder The head of input data buffering area is stored according to bag, and replicates the head for being stored in compressed data buffering area.When selected slow When rushing area for compressed data buffering area, the remaining data bag is stored in the head of compressed data buffering area, and replicate be stored in it is defeated Enter the head of data buffer zone.
Further, no matter the remaining data bag is uncompressed packet or compressed data packets, and the remaining data bag is not It is compressed again.That is, receiving new uncompressed packet in follow-up input data buffering area and it being compressed When, the remaining data bag that no longer will be stored in head is compressed.
Mode according to above-described embodiment is packaged to each base band frame, and has often been encapsulated after a base band frame, will Other packets in input data buffering area and compressed data buffering area in addition to remaining data bag are reset.
Inventor it may be further contemplated, if the information redundance of the uncompressed packet of input is high and compression efficiency is high, compress Data volume very little afterwards, it will the uncompressed packet for resulting in the need for much inputting, which is compressed, can just fill up compressed data buffering Area, so as to take a long time to the encapsulation for completing a base band frame.
Therefore, based on above-described embodiment, inventor has done following improvement:
1) timeout threshold is set, and timer is reset simultaneously when data buffer zone is reset;
2) timing since being performed the step of uncompressed packet received is stored in into input data buffering area, in meter When device when reaching the timeout threshold, no matter the data length of the compressed data packets of compressed data buffering area memory storage whether be equal to or The maximum data length that more than one base band frame can be accommodated, the compressed data that will have been stored in the current compressed data buffering area Bag is used as data to be transmitted block;
3) the data to be transmitted block is encapsulated as base band frame, and the data to be transmitted block is identified in the frame head of the base band frame Have been compressed.
By so improving, so that avoid causes to need because the packet information redundancy of input is high, compression efficiency is high The encapsulation for completing a base band frame is taken a long time, the efficiency of transmission of base band frame is influenceed.
On the other hand, for the mode being compressed to uncompressed packet, the present embodiment provides and mode is implemented as follows, i.e., Above-mentioned steps S12 comprises the following steps:
1) it is compressed using all uncompressed packets as an entirety, and counts the length after its compression;
2) according to the different type of the uncompressed packet received, content rearrangement is carried out to all uncompressed packets;
3) packet header in all uncompressed packets by content rearrangement is compressed to form compressed data packets bag Head;
4) the compressed data packets packet header is spelled with the data payload in all uncompressed packets by content rearrangement It is connected together to form compressed data packets, and counts the length of the compressed data packets;
5) above-mentioned steps 1 are compared) and step 4) obtained length, packet after a shorter compression of selection wherein length It is put into compressed data buffering area;
6) compression information is set on the head of compressed data packets, and the compression information includes the compression side of the compressed data Method and the type of bag.
In the present embodiment, it is to the implementation process that all uncompressed packets carry out content rearrangement:Each is not pressed The packet header of contracting packet is extracted, and these packet header are merged and processing is compressed to form compressed data packets bag Head;And extract the data payload of each uncompressed packet, these data payloads are merged, but these are counted Compression processing is not done according to load, so as to reduce operand, compression efficiency is improved.
It should be noted that such compress mode is applied to IP packets or UDP message bag or TCP data bag or TS Bag.For other kinds of packet, reset without content, processing directly is compressed to its entirety.For IP packets Or UDP message bag or TCP data bag or TS bags, it can also be reset without content, processing directly is compressed to its entirety.
The embodiment of the present invention additionally provides a kind of de-encapsulation method of base band frame.As shown in Fig. 2 one kind of the invention The schematic flow sheet of the embodiment of the de-encapsulation method of base band frame.With reference to Fig. 2, the decapsulation mode of base band frame is included such as Lower step:
Step S21:Base band frame is received, wherein the base band frame is formed using the method for packing encapsulation of above-mentioned base band frame;
Step S22:The frame head of the base band frame is detected to judge the transmission packet of the base band frame in whether through overcompression;
Step S23:If the determination result is YES, then extract in the transmission packet of current base band frame in except remaining data bag with Remaining data bag in outer all compressed data packets, and the transmission packet of next base band frame in is spliced into one completely Compressed data packets;
Step S24:The complete compressed data packets are decompressed to obtain initial data;
Step S25:The frame head of current base band frame and the initial data are stitched together, and in the frame of current base band frame The initial data is identified in head to have decompressed.
In the present embodiment, receiving terminal is received after base band frame, detects the frame head of the base band frame to judge the base band frame in Transmission packet whether through overcompression.
If the determination result is YES, then extract and remaining data bag (if yes) is removed in the transmission packet of current base band frame in Remaining data bag in all compressed data packets in addition, and the transmission packet of next base band frame in be spliced into one it is complete Whole compressed data packets.Then, the complete compressed data packets are decompressed to obtain initial data;Then, by current base Frame head with frame is stitched together with the initial data, and identifies the initial data in the frame head of current base band frame and decompressed Contracting, transfers to the next stage processing unit of receiving terminal to be handled.
Wherein, the complete compressed data packets are decompressed includes following steps to obtain initial data:
Step S241:Extract the compression information in compressed data packets;
Step S242:According to the flag bit in compression information, selection is decompressed to total data;Or only to compressed data Bag packet header is decompressed to obtain each packet header, and the corresponding data payload in each packet header hereafter is entered into rearrangement according to order And splice to obtain raw data packets.
In fact, the step S241 and step S242 are uncompressed packet to be compressed with shape in foregoing embodiments Into the inverse process of compressed data packets.
If judged result is no, extract all in addition to remaining data bag in the transmission packet of current base band frame in Remaining data bag in uncompressed packet, and the transmission packet of next base band frame in is spliced into one and complete not pressed Contracting packet;Then, the frame head of current base band frame is stitched together with the complete uncompressed data, transfers to receiving terminal Next stage processing unit is handled.
In the present embodiment, the uncompressed packet, compressed data packets and transmission packet are IP packets or UDP The packet of packet or TCP data bag or TS bags or other not specified types.
Although the present invention is disclosed as above with preferred embodiment, it is not for limiting the present invention, any this area Technical staff without departing from the spirit and scope of the present invention, may be by the methods and techniques content of the disclosure above to this hair Bright technical scheme makes possible variation and modification, therefore, every content without departing from technical solution of the present invention, according to the present invention Any simple modifications, equivalents, and modifications made to above example of technical spirit, belong to technical solution of the present invention Protection domain.

Claims (12)

1. a kind of method for packing of base band frame, it is characterised in that comprise the following steps:
The uncompressed packet received is stored in input data buffering area;
All uncompressed packets in presently described input data buffering area are compressed to form compressed data packets;
The compressed data packets are replaced into existing compressed data packets in compressed data buffering area;
When the data length of the input data buffering area and the compressed data buffering area memory storage is equal to or more than one During the maximum data length that base band frame can be accommodated, the packet conduct of the selection wherein shorter buffering area memory storage of data length Data to be transmitted block, wherein, the maximum data length that the length of the data to be transmitted block can accommodate for a base band frame;With And
The data to be transmitted block is encapsulated as base band frame, and identifies in the frame head of the base band frame data to be transmitted block Whether through overcompression.
2. the method for packing of base band frame as claimed in claim 1, it is characterised in that also comprise the following steps:
If the length of all packets of the shorter buffering area memory storage of the data length of selection is more than a base band frame and can held Remaining data bag, then be stored in the head of the buffering area by the maximum data length received, and by the remaining data packet replication Store the head of another buffering area.
3. the method for packing of base band frame as claimed in claim 2, it is characterised in that also comprise the following steps:It is no matter described surplus Remaining packet is uncompressed packet or compressed data packets, and the remaining data bag is no longer compressed.
4. the method for packing of base band frame as claimed in claim 1, it is characterised in that also comprise the following steps:Often encapsulate one After individual base band frame, by other numbers in the input data buffering area and the compressed data buffering area in addition to remaining data bag Reset according to bag.
5. the method for packing of base band frame as claimed in claim 1, it is characterised in that also comprise the following steps:
Timeout threshold is set, and timer is reset simultaneously when data buffer zone is reset;
The timing since being performed the step of uncompressed packet received is stored in into the input data buffering area, described When timer reaches the timeout threshold, no matter the data length of the compressed data packets of the compressed data buffering area memory storage is It is no to be equal to or more than the maximum data length that a base band frame be accommodated, it will be stored in presently described compressed data buffering area Compressed data packets be used as the data to be transmitted block;And
The data to be transmitted block is encapsulated as base band frame, and the data to be transmitted block has been identified in the frame head of the base band frame Through overcompression.
6. the method for packing of base band frame as claimed in claim 1, it is characterised in that the input data buffering area and the pressure The maximum data length that at least above one base band frame of the data length that contracting data buffer zone can be accommodated can be accommodated.
7. the method for packing of base band frame as claimed in claim 1, it is characterised in that the uncompressed packet and compressed data Wrap as IP packets or UDP message bag or TCP data bag or TS bags or other not specified type data packets.
8. the method for packing of base band frame as claimed in claim 7, it is characterised in that in presently described input data buffering area All uncompressed packets specifically include the step of be compressed to form compressed data packets:
1) it is compressed using all uncompressed packets as an entirety, and counts the length after compression;
2) according to the different type of the uncompressed packet received, content rearrangement is carried out to all uncompressed packets;
3) packet header in all uncompressed packets by content rearrangement is compressed to form compressed data packets packet header;
4) the compressed data packets packet header is existed with the data payload splicing in all uncompressed packets by content rearrangement Together, to form compressed data packets, and the length of the compressed data packets is counted;
5) above-mentioned steps 1 are compared) and step 4) obtained length, after a shorter compression of selection wherein length, by packet It is put into the compressed data buffering area;And
6) compression information is set on the head of compressed data packets, and the compression information includes the compression method of the compressed data packets With the type of bag.
9. a kind of de-encapsulation method of base band frame, it is characterised in that comprise the following steps:
Base band frame is received, wherein the base band frame is formed using the method for packing encapsulation of the base band frame described in claim 1;
The frame head of the base band frame is detected to judge the transmission packet of the base band frame in whether through overcompression;
If the determination result is YES, then all compressions in addition to remaining data bag in the transmission packet of current base band frame in are extracted Remaining data bag in packet, and the transmission packet of next base band frame in, is spliced into a complete compressed data Bag;
The complete compressed data packets are decompressed to obtain initial data;And
The frame head of current base band frame and the initial data are stitched together, and mark is described in the frame head of current base band frame Initial data has been decompressed.
10. the de-encapsulation method of base band frame as claimed in claim 9, it is characterised in that also comprise the following steps:
If judged result is no, that extracts in the transmission packet of current base band frame in addition to remaining data bag all does not press Remaining data bag in contracting packet, and the transmission packet of next base band frame in, be spliced into one it is complete uncompressed Packet;And
The frame head of current base band frame is stitched together with the complete uncompressed packet.
11. the de-encapsulation method of base band frame as claimed in claim 10, it is characterised in that the uncompressed packet, compression Packet and transmission packet are IP packets or UDP message bag or TCP data bag or TS bags or other not specified number of types According to bag.
12. the de-encapsulation method of base band frame as claimed in claim 11, it is characterised in that to the complete compressed data packets The step of being decompressed to obtain initial data specifically includes:
Extract the compression information in compressed data packets;
According to the flag bit in compression information, selection is decompressed to total data, or only compressed data packets packet header is solved The corresponding data payload in each packet header is entered rearrangement according to order afterwards and spliced by pressure to obtain each packet header, with To initial data.
CN201710300441.7A 2014-01-29 2014-01-29 Encapsulation method and de-encapsulation method of baseband frame Active CN107094144B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710300441.7A CN107094144B (en) 2014-01-29 2014-01-29 Encapsulation method and de-encapsulation method of baseband frame

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201710300441.7A CN107094144B (en) 2014-01-29 2014-01-29 Encapsulation method and de-encapsulation method of baseband frame
CN201410043596.3A CN104811265B (en) 2014-01-29 2014-01-29 The packaging method and de-encapsulation method of base band frame

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
CN201410043596.3A Division CN104811265B (en) 2014-01-29 2014-01-29 The packaging method and de-encapsulation method of base band frame

Publications (2)

Publication Number Publication Date
CN107094144A true CN107094144A (en) 2017-08-25
CN107094144B CN107094144B (en) 2021-01-19

Family

ID=53695795

Family Applications (2)

Application Number Title Priority Date Filing Date
CN201410043596.3A Active CN104811265B (en) 2014-01-29 2014-01-29 The packaging method and de-encapsulation method of base band frame
CN201710300441.7A Active CN107094144B (en) 2014-01-29 2014-01-29 Encapsulation method and de-encapsulation method of baseband frame

Family Applications Before (1)

Application Number Title Priority Date Filing Date
CN201410043596.3A Active CN104811265B (en) 2014-01-29 2014-01-29 The packaging method and de-encapsulation method of base band frame

Country Status (1)

Country Link
CN (2) CN104811265B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107295568A (en) * 2017-07-06 2017-10-24 武汉虹信通信技术有限责任公司 Data compression method and system based on probability statistics in a kind of TD LTE

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108228738B (en) * 2017-12-13 2021-12-17 河南辉煌科技股份有限公司 Real-time data compression storage method for monitoring system
CN108173623B (en) * 2018-01-16 2020-08-14 四川安迪科技实业有限公司 User-defined baseband frame packaging method based on sliding CRC
CN109120687B (en) * 2018-08-09 2020-07-24 深圳市腾讯网络信息技术有限公司 Data packet transmitting method, device, system, equipment and storage medium
CN114337992A (en) * 2022-03-09 2022-04-12 深圳市华星联科技有限公司 Multi-node-based long-distance data low-loss transmission method

Citations (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2000067382A2 (en) * 1999-04-30 2000-11-09 General Instrument Corporation Method and apparatus for data compression
EP1109419A2 (en) * 1999-12-14 2001-06-20 Nec Corporation Frame construction method and device, and data transfer system capable of accommodating STM traffic and best effort traffic in common frame format
CN101075237A (en) * 2006-06-28 2007-11-21 腾讯科技(深圳)有限公司 Method for storing, fetching and indexing data
CN101132412A (en) * 2007-09-26 2008-02-27 杭州华三通信技术有限公司 Method, device and system for negotiating message length in iSCSI system
CN101645883A (en) * 2008-08-08 2010-02-10 比亚迪股份有限公司 Data transmitting method, a data sending method and a data receiving method
CN101771597A (en) * 2008-12-26 2010-07-07 中国科学院沈阳自动化研究所 Multi-message convergence transmission method for field level industrial wireless network
CN102025983A (en) * 2010-09-19 2011-04-20 北京邮电大学 Data transmission processing method and system and corresponding light-emitting diode (LED) display system
US20110142049A1 (en) * 2009-12-10 2011-06-16 William Paul Harding-Jones Media over ip performance enhancement
JP2011193143A (en) * 2010-03-12 2011-09-29 Miharu Communications Co Ltd Rf-ip transmitting/receiving method and rf-ip transmitter/receiver
US20120030520A1 (en) * 2010-08-02 2012-02-02 Arm Limited Storage and output of trace data
CN102591737A (en) * 2011-01-13 2012-07-18 群联电子股份有限公司 Data writing and reading method, memory controller and memory storage device
CN102882879A (en) * 2012-10-08 2013-01-16 中国电子科技集团公司第五十四研究所 Internet protocol (IP) data compression transmission method applicable to satellite channel
CN102904954A (en) * 2012-10-15 2013-01-30 浙江工业大学 Reliable fragmented transmission method based on network coding for 6LoWPAN (IPv6 over Low Power Wireless Personal Area Network)
CN103078919A (en) * 2012-12-28 2013-05-01 中国人民解放军国防科学技术大学 Data transmission method for secondary encapsulation
CN103139222A (en) * 2013-03-19 2013-06-05 成都卫士通信息产业股份有限公司 Internet protocol security (IPSEC) tunnel data transmission method and device thereof
CN103198105A (en) * 2013-03-25 2013-07-10 清华大学深圳研究生院 Searching device and method for Ethernet internet protocol security (IPSec) database
CN103227802A (en) * 2013-05-24 2013-07-31 江苏物联网研究发展中心 Multivariate data transmission method based on UDP (user datagram protocol)/TCP (transmission control protocol)
CN103327027A (en) * 2013-06-28 2013-09-25 清华大学 Content-centric network bottom implementation method, content-centric network and communication method
CN103414956A (en) * 2013-08-13 2013-11-27 中安消技术有限公司 Real-time data transmission method and system based on transmission control protocol

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6614370B2 (en) * 2001-01-26 2003-09-02 Oded Gottesman Redundant compression techniques for transmitting data over degraded communication links and/or storing data on media subject to degradation

Patent Citations (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2000067382A2 (en) * 1999-04-30 2000-11-09 General Instrument Corporation Method and apparatus for data compression
EP1109419A2 (en) * 1999-12-14 2001-06-20 Nec Corporation Frame construction method and device, and data transfer system capable of accommodating STM traffic and best effort traffic in common frame format
CN101075237A (en) * 2006-06-28 2007-11-21 腾讯科技(深圳)有限公司 Method for storing, fetching and indexing data
CN101132412A (en) * 2007-09-26 2008-02-27 杭州华三通信技术有限公司 Method, device and system for negotiating message length in iSCSI system
CN101645883A (en) * 2008-08-08 2010-02-10 比亚迪股份有限公司 Data transmitting method, a data sending method and a data receiving method
CN101771597A (en) * 2008-12-26 2010-07-07 中国科学院沈阳自动化研究所 Multi-message convergence transmission method for field level industrial wireless network
US20110142049A1 (en) * 2009-12-10 2011-06-16 William Paul Harding-Jones Media over ip performance enhancement
JP2011193143A (en) * 2010-03-12 2011-09-29 Miharu Communications Co Ltd Rf-ip transmitting/receiving method and rf-ip transmitter/receiver
US20120030520A1 (en) * 2010-08-02 2012-02-02 Arm Limited Storage and output of trace data
CN102025983A (en) * 2010-09-19 2011-04-20 北京邮电大学 Data transmission processing method and system and corresponding light-emitting diode (LED) display system
CN102591737A (en) * 2011-01-13 2012-07-18 群联电子股份有限公司 Data writing and reading method, memory controller and memory storage device
CN102882879A (en) * 2012-10-08 2013-01-16 中国电子科技集团公司第五十四研究所 Internet protocol (IP) data compression transmission method applicable to satellite channel
CN102904954A (en) * 2012-10-15 2013-01-30 浙江工业大学 Reliable fragmented transmission method based on network coding for 6LoWPAN (IPv6 over Low Power Wireless Personal Area Network)
CN103078919A (en) * 2012-12-28 2013-05-01 中国人民解放军国防科学技术大学 Data transmission method for secondary encapsulation
CN103139222A (en) * 2013-03-19 2013-06-05 成都卫士通信息产业股份有限公司 Internet protocol security (IPSEC) tunnel data transmission method and device thereof
CN103198105A (en) * 2013-03-25 2013-07-10 清华大学深圳研究生院 Searching device and method for Ethernet internet protocol security (IPSec) database
CN103227802A (en) * 2013-05-24 2013-07-31 江苏物联网研究发展中心 Multivariate data transmission method based on UDP (user datagram protocol)/TCP (transmission control protocol)
CN103327027A (en) * 2013-06-28 2013-09-25 清华大学 Content-centric network bottom implementation method, content-centric network and communication method
CN103414956A (en) * 2013-08-13 2013-11-27 中安消技术有限公司 Real-time data transmission method and system based on transmission control protocol

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107295568A (en) * 2017-07-06 2017-10-24 武汉虹信通信技术有限责任公司 Data compression method and system based on probability statistics in a kind of TD LTE

Also Published As

Publication number Publication date
CN107094144B (en) 2021-01-19
CN104811265A (en) 2015-07-29
CN104811265B (en) 2018-12-18

Similar Documents

Publication Publication Date Title
CN103973645B (en) A kind of data transmission method and relevant apparatus
CN105706387B (en) For reconfiguring the method and apparatus of carrying
FI107000B (en) Title compression in real-time services
KR100913900B1 (en) A method and apparatus for transmitting/receiving packet data using predefined length indicator in mobile communication system
CN101553009B (en) Mobile communication method and system
TWI616083B (en) Method and device for data transmission
CN107094144A (en) The method for packing and de-encapsulation method of base band frame
CN101212404B (en) Robust header compressed group data transmission method and system
CN102882879A (en) Internet protocol (IP) data compression transmission method applicable to satellite channel
CN110891287B (en) Method and apparatus for compressing and decompressing Ethernet packet header, and readable storage medium
KR100703494B1 (en) Apparatus and Method for Transporting/receiving of Voice over Internet Protocol Packets with a User Datagram Protocol checksum in a mobile communication system
CN101977402B (en) Method and device for reusing context in robustness header compression
WO2013167013A2 (en) Compression and decompression method of ethernet header and device of same
CN101350812A (en) Data transmission method, communication apparatus and communication system
CN102118792B (en) Method and device for transmitting data packets
CN106416175A (en) Protocol stack adaptation method and apparatus
US11323914B2 (en) Methods for compression and decompression of headers of internet protocol packets, devices, computer programs and computer program products
WO2015168840A1 (en) Data processing method and apparatus
CN101860904A (en) Method for calculating checksums based on data packet IP (Internet Protocol) hearder compression technology
US8249103B2 (en) Method for transmitting and receiving control data in mobile telecommunications system and transmitter and receiver of mobile telecommunications
CN112769743B (en) Header compression method, device and equipment
CN101534291A (en) Method for sending and receiving IP message and device thereof
CN102118791A (en) Method and device for transmitting data packets
CN102215236A (en) Working mode switching method and device of robust header compression protocol (ROHC) layer
CN103746930B (en) A kind of improved method of arrowband serial link TCP message header suppression

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
GR01 Patent grant
GR01 Patent grant