CN108737392A - The compression method and transmitting terminal and receiving terminal of a kind of terminal reported data - Google Patents
The compression method and transmitting terminal and receiving terminal of a kind of terminal reported data Download PDFInfo
- Publication number
- CN108737392A CN108737392A CN201810415994.1A CN201810415994A CN108737392A CN 108737392 A CN108737392 A CN 108737392A CN 201810415994 A CN201810415994 A CN 201810415994A CN 108737392 A CN108737392 A CN 108737392A
- Authority
- CN
- China
- Prior art keywords
- coding
- phrase
- data
- transferred
- code
- 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
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L69/00—Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
- H04L69/04—Protocols for data compression, e.g. ROHC
Abstract
The embodiment of the present invention provides the compression method and transmitting terminal and receiving terminal of a kind of terminal reported data.The method includes reading data to be transferred, it is made of code word arrangements;According to preset contractive condition, data to be transferred is divided into phrase, the phrase includes at least type of coding and coding information;Coding segment is obtained according to coding rule corresponding with type of coding;Wherein, compressible coding, according to static code table to compressed encoding;It will be sent to receiving terminal after corresponding coding fragment combination, so that the receiving terminal is corresponding phrase according to decoding rule parsing, obtain the data to be transferred, the embodiment of the present invention by the data to be transferred by being divided into multiple phrases, and compressed encoding is obtained to obtain coding segment according to type of coding is fast and effective to the progress of each phrase, it is sent to receiving terminal, so that receiving terminal after decoding by obtaining data to be transferred, to reduce the complexity of compressing data in data transmission procedure, the speed for accelerating compression reduces the consumption of resource.
Description
Technical field
The present embodiments relate to the compression method of mobile communication technology field more particularly to a kind of terminal reported data and
Transmitting terminal and receiving terminal.
Background technology
Mobile terminal device needs the data that real-time report acquires, terminal by 2G/3G/4G come transmission data, and eventually
Hold hardware performance also irregular, transmission speed and stability are also different.Reported data needs to solve there are two problem:A, terminal
Mobile card flow is exceeded;B, since data volume is bigger, there are time delays for reported data.The data of each terminal are to pass through flow
Carry out charging, generally passes through the exclusive monthly fee of monthly tens MB flows.Also the user having uses flow cell, multiple terminals monthly to share
How many GB flows.Flow has limit after all, can be very high beyond part expense, so reducing data size gesture in transmission process
It must go.
It is packaged by data packet in the prior art and rejects identical entry to reduce transmission data flow, but reduce ratio
Less, however it remains data traffic is exceeded.The compression algorithms such as gzip, bzip2,7z according to current mainstream, although data pressure
Shrinkage can be very high and very general, but there is also following Railway Projects:1, it could be embodied by only having when tens KB or more of data size
Compression ratio, reported data its compression ratio within 1KB be not comparatively high;2, the binary code space of compression algorithm is extremely
Few tens KB, and can also there was only several KB with code space in microcontroller, and algorithm computational complexity is high, can influence the fortune of terminal
Row performance;3, the operation of compression algorithm needs memory headroom in 32KB or more, and in microcontroller heap and stack memory headroom
With regard to several KB, it is unable to operate normally at all.
It can be seen that data compression method of the prior art under high compression rate is excessively complicated and is not easy to realize.
Invention content
The embodiment of the present invention provides the compression method and transmitting terminal and receiving terminal of a kind of terminal reported data, existing to solve
There is data compression method of the technology under high compression rate excessively complicated and is not easy to realize.
In a first aspect, an embodiment of the present invention provides a kind of compression methods of terminal reported data, including:
The data to be transferred of preset length is read, the data to be transferred is made of code word arrangements;
According to preset contractive condition, according to the code word put in order the data to be transferred is divided into it is at least one
Phrase, the phrase include at least type of coding and coding information;
According to the coding information of corresponding with the type of coding coding rule and each phrase, obtain and the phrase pair
The coding segment answered;Wherein, if the type of coding is compressible coding, according to the static code table to prestore to corresponding phrase
Coding information carry out compressed encoding to obtain the coding segment of the phrase;
It will be sent to and connect after corresponding coding fragment combination according to each phrase putting in order in the data to be transferred
Receiving end so that the receiving terminal according to decoding corresponding with coding rule rule and the static state code table by each coded slice
Section resolves to corresponding phrase, and the data to be transferred is obtained after combination.
Second aspect, an embodiment of the present invention provides a kind of compression methods of terminal reported data, including:
Receive the coding fragment combination sent by transmitting terminal;The wherein described coded slice section is pre- by reading by the transmitting terminal
If the data to be transferred of length, the data to be transferred is made of code word arrangements, further according to preset contractive condition, according to the code word
Put in order the data to be transferred be divided at least one phrase, the phrase includes at least type of coding and coding is believed
Breath;Then the transmitting terminal root is obtained according to the coding information of corresponding with the type of coding coding rule and each phrase
Coding segment corresponding with the phrase;Wherein, if the type of coding is compressible coding, according to the static code table to prestore
Compressed encoding is carried out to obtain the coding segment of the phrase to the coding information of corresponding phrase, is finally pressed by the transmitting terminal
It will be obtained after corresponding coding fragment combination according to each phrase putting in order in the data to be transferred;
Each coding segment is resolved to pair according to decoding corresponding with coding rule rule and the static state code table
The phrase answered obtains the data to be transferred after combination.
The third aspect, an embodiment of the present invention provides a kind of transmitting terminal of the compression method for terminal reported data, packets
It includes:
Acquisition module, the data to be transferred for reading preset length, the data to be transferred are made of code word arrangements;
Divide module, be used for according to preset contractive condition, according to putting in order the data to be transferred for the code word
It is divided at least one phrase, the phrase includes at least type of coding and coding information;
Coding module, for according to the coding information of corresponding with the type of coding coding rule and each phrase, obtaining
To coding segment corresponding with the phrase;Wherein, if the type of coding is compressible coding, according to the quiet code to prestore
Table carries out compressed encoding to obtain the coding segment of the phrase to the coding information of corresponding phrase;
Sending module, for the putting in order corresponding coding segment group in the data to be transferred according to each phrase
Receiving terminal is sent to after conjunction, so that the receiving terminal is according to decoding corresponding with coding rule rule and the static code table
Each coding segment is resolved into corresponding phrase, the data to be transferred is obtained after combination.
Fourth aspect, an embodiment of the present invention provides a kind of receiving terminal of the compression method for terminal reported data,
It is characterized in that, including:
Receiving module, for receiving the coding fragment combination sent by transmitting terminal;The wherein described coded slice section is by the hair
Sending end is by the data to be transferred of reading preset length, and the data to be transferred is made of code word arrangements, further according to preset compressor bar
The data to be transferred is divided at least one phrase by part according to putting in order for the code word, and the phrase, which includes at least, to be compiled
Code type and coding information;Then the transmitting terminal root is according to coding rule corresponding with the type of coding and each phrase
Coding information obtains coding segment corresponding with the phrase;Wherein, if the type of coding is compressible coding, basis
The static code table to prestore carries out compressed encoding to obtain the coding segment of the phrase, finally to the coding information of corresponding phrase
It will be obtained after corresponding coding fragment combination according to each phrase putting in order in the data to be transferred by the transmitting terminal;
Decoder module, for will each be encoded according to decoding corresponding with coding rule rule and the static code table
Segment resolves to corresponding phrase, and the data to be transferred is obtained after combination.
5th aspect, the embodiment of the present invention additionally provide a kind of electronic equipment, including:
Processor, memory, communication interface and bus;Wherein,
The processor, memory, communication interface complete mutual communication by the bus;
The communication interface is for the information transmission between the communication equipment of the electronic equipment;
The memory is stored with the program instruction that can be executed by the processor, and the processor calls described program to refer to
Order is able to carry out following method:
The data to be transferred of preset length is read, the data to be transferred is made of code word arrangements;
According to preset contractive condition, according to the code word put in order the data to be transferred is divided into it is at least one
Phrase, the phrase include at least type of coding and coding information;
According to the coding information of corresponding with the type of coding coding rule and each phrase, obtain and the phrase pair
The coding segment answered;Wherein, if the type of coding is compressible coding, according to the static code table to prestore to corresponding phrase
Coding information carry out compressed encoding to obtain the coding segment of the phrase;
It will be sent to and connect after corresponding coding fragment combination according to each phrase putting in order in the data to be transferred
Receiving end so that the receiving terminal according to decoding corresponding with coding rule rule and the static state code table by each coded slice
Section resolves to corresponding phrase, and the data to be transferred is obtained after combination.
6th aspect, the embodiment of the present invention additionally provide a kind of storage medium, are stored thereon with computer program, the calculating
Machine program realizes following method when being executed by processor:
The data to be transferred of preset length is read, the data to be transferred is made of code word arrangements;
According to preset contractive condition, according to the code word put in order the data to be transferred is divided into it is at least one
Phrase, the phrase include at least type of coding and coding information;
According to the coding information of corresponding with the type of coding coding rule and each phrase, obtain and the phrase pair
The coding segment answered;Wherein, if the type of coding is compressible coding, according to the static code table to prestore to corresponding phrase
Coding information carry out compressed encoding to obtain the coding segment of the phrase;
It will be sent to and connect after corresponding coding fragment combination according to each phrase putting in order in the data to be transferred
Receiving end so that the receiving terminal according to decoding corresponding with coding rule rule and the static state code table by each coded slice
Section resolves to corresponding phrase, and the data to be transferred is obtained after combination.
The compression method and transmitting terminal and receiving terminal of terminal reported data provided in an embodiment of the present invention, by waiting for described
The data to be transferred is divided into multiple phrases by the traversal for passing data, and respectively according to the type of coding of each phrase to each short
Language carries out the fast and effective compressed encoding that obtains to obtain corresponding coding segment, receiving terminal is then then forwarded to, so that receiving terminal is logical
The data to be transferred is obtained after crossing decoding, thus greatly reduces the complexity of compressing data in data transmission procedure, is accelerated
The speed of compression, reduces the consumption of resource.
Description of the drawings
Fig. 1 is the compression method flow chart of the terminal reported data of the embodiment of the present invention;
Fig. 2 is the compression method flow chart of another terminal reported data of the embodiment of the present invention;
Fig. 3 is the sending end structure schematic diagram of the compression method for terminal reported data of the embodiment of the present invention;
Fig. 4 is the receiving terminal structural schematic diagram of the compression method for terminal reported data of the embodiment of the present invention;
Fig. 5 is the electronic devices structure schematic diagram of the embodiment of the present invention.
Specific implementation mode
In order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with the embodiment of the present invention
In attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is
A part of the embodiment of the present invention, instead of all the embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art
The every other embodiment obtained without creative efforts, shall fall within the protection scope of the present invention.
Fig. 1 is the compression method flow chart of the terminal reported data of the embodiment of the present invention, as shown in Figure 1, the method packet
It includes:
Step S01, the data to be transferred of preset length is read, the data to be transferred is made of code word arrangements.
Transmitting terminal first obtains the data to be transferred for being ready for sending receiving terminal, which passes through arrangement by a large amount of code word
Composition, and length can be set according to the actual needs, such as 1024 bytes, wherein the size of the code word can also root
It is set according to actual needs, such as one or two byte length.
Step S02, according to preset contractive condition, the data to be transferred is divided into according to putting in order for the code word
At least one phrase, the phrase include at least type of coding and coding information.
The data to be transferred is traversed according to the sequencing of code word arrangements, one by one will according to preset contractive condition
The data to be transferred is divided into multiple phrases, and the phrase includes at least a code word, and has to the definition of each phrase corresponding
Type of coding.The coding information of each phrase can also be obtained according to contractive condition.
Further, the type of coding is uncompressed coding, identical coding or matching coding;Wherein, the identical volume
Code and matching are encoded to compressible coding, and correspondingly, the contractive condition is specially:
If the code word for forming the phrase is an identical code word, the type of coding of the phrase is identical coding,
And the coding information of the phrase includes at least phrase length, an identical code word;
If there is code word group identical with the permutation and combination of code word in the phrase in the data to be transferred before the phrase
It closes, then the type of coding of the phrase is that matching encodes, and the coding information of the phrase includes at least phrase length, described short
Language and the offset of identical code word combination apart;
And the type of coding of other phrases is uncompressed coding, and the coding information of the phrase includes at least described in composition
All code words of phrase.
Wherein for the mode classification of type of coding can there are many kinds of, also only with one such in the embodiment of the present invention
Mode is illustrated.
The type of coding can be divided into uncompressed coding and compressible coding, wherein compressible coding is divided into as identical volume
Code and matching coding.
Wherein, the phrase contractive condition to be met of the identical coding is:The code word for forming the phrase is identical
One code word, and then the coding information of the phrase then includes at least phrase length and forms an identical code for the phrase
Word, such as phrase " aaa " are made of 3 code words ' a ', then the type of coding of the phrase is identical coding, and coding information is phrase
Length 3, code word ' a '.
It is described matching coding the phrase contractive condition to be met be:In data to be transferred before the phrase, i.e.,
It completes to exist in the data to be transferred of segmentation and there is the code word combination that aligned identical combines, the code word group with code word in the phrase
Conjunction is not required for being attributed to same phrase.And then the phrase coding information include at least phrase length, the phrase with it is described
The offset of code word combination apart.
And the contractive condition of identical coding had both been unsatisfactory in the data to be transferred, also it is unsatisfactory for the compressor bar of matching coding
The phrase of part may be defined as uncompressed coding, and the coding information of such phrase includes at least all code words of the phrase.
It, then, can be with according to above-mentioned contractive condition for example, data to be transferred is " abcdaaaabcdefbbbbbbbbcdefgh "
The data to be transferred is split from front to back:Wherein,
The type of phrase " abcd " is uncompressed coding, and coding information is ' a ', ' b ', ' c ' and ' d ';Phrase " aaaa "
For identical coding, coding information is phrase length 4, code word ' a ';
Phrase " bcd " in data to be transferred before due to that can find identical code word combination " bcd ", so the phrase
It is encoded for matching, coding information is phrase length 3, offset 7;
Phrase " ef " is unsatisfactory for the contractive condition of identical coding and matching coding, and the described phrase is uncompressed coding,
Coding information is ' e ' and ' f ';
Phrase " bbbbbbbb " is identical coding, and coding information is phrase length 8, code word ' b ';
Phrase " cdef " is that matching encodes, and coding information is phrase length 4, offset 12;
Phrase " gh " is uncompressed coding, and coding information is ' g ' and ' h '.
Step S03, it according to the coding information of corresponding with the type of coding coding rule and each phrase, obtains and institute
State the corresponding coding segment of phrase;Wherein, if the type of coding is compressible coding, according to the static code table to prestore to phase
The coding information for the phrase answered carries out compressed encoding to obtain the coding segment of the phrase.
After the type of coding for obtaining each phrase can according to the coding rule corresponding with each type of coding that prestores,
The coding information of each phrase is encoded to obtain coding segment.Wherein, if the type of coding is compressible coding,
It needs according to the static code table to prestore come the phrase length or offset progress compressed encoding in the coding information to phrase, to obtain
Coding segment corresponding with the phrase.
Step S04, according to each phrase, putting in order in the data to be transferred will be after corresponding coding fragment combination
It is sent to receiving terminal, so that the receiving terminal will be every according to decoding corresponding with coding rule rule and the static code table
A coding segment resolves to corresponding phrase, and the data to be transferred is obtained after combination.
After obtaining the corresponding coding segment of each phrase, so that it may with first according to arrangement of the phrase in the data to be transferred
Corresponding coding segment is combined by sequence afterwards, is then sent to receiving terminal.
The receiving terminal is advised after the combination for receiving the coding segment according to decoding corresponding with the coding rule
Then and the static code table, the coding segment is identified and is parsed, to obtain the corresponding phrase of each coding segment.
There is phrase to be sequentially combined by described, so that it may to obtain the data to be transferred.
The data to be transferred is divided into multiple phrases by the embodiment of the present invention by the traversal to the data to be transferred, and
The fast and effective compressed encoding that obtains is carried out to obtain corresponding coded slice to each phrase according to the type of coding of each phrase respectively
Section, is then then forwarded to receiving terminal, so that receiving terminal thus greatly reduces data by obtaining the data to be transferred after decoding
The complexity of compressing data in transmission process, accelerates the speed of compression, reduces the consumption of resource.
Based on above-described embodiment, further, the coding rule, specially:
If the type of coding is uncompressed coding, corresponding coding segment is each code word in the coding information
It is preceding to increase uncompressed code identification;
If the type of coding is identical coding, corresponding coding segment includes identical code identification, equal length code
With an identical code word;Wherein, the equal length code is the phrase length in the coding information according to corresponding phrase
It is obtained by the static code table;
It is encoded if the type of coding is matching, corresponding coding segment includes offset code and matching length code;Wherein,
The offset code and matching length code respectively according in the coding information of corresponding phrase offset and phrase length pass through it is described
Static code table obtains.
Coding rule in above-described embodiment can be set according to the actual needs, in the embodiment of the present invention
Only it is to give one such illustration.
If the type of coding is uncompressed coding, corresponding coding segment is each code word in the coding information
The preceding mark for increasing uncompressed coding, for example, the coding segment of the phrase " abcd " of uncompressed coding is { 0'a', 0'b', 0'
C', 0'd'}, wherein 0 is a uncompressed code identification.Correspondingly, it is in the decoding rule of receiving terminal, if in coding segment
Start bit is 0, then can directly judge that the latter code word is the code word in uncompressed coded phrase, parse successively in the phrase
All code words.
If the type of coding be identical coding, corresponding coding segment by identical code identification, equal length code and
The identical code word composition, wherein the equal length code is that the phrase in the coding information according to corresponding phrase is long
Degree checks in the static code table.For example, the coding information of the phrase " aaaa " of identical coding is phrase length 4, code word
' a ', the identical code identification is 10000, and the corresponding equal length code in static code table of phrase length 4 is 0001, then
The coding segment of the phrase is { 100000001'a'}.Correspondingly, it is in the decoding rule of receiving terminal, if coding segment is opened
Beginning position is 1, then can be determined that corresponding type of coding is identical coding or matching coding, then intercept four next, if obtaining
10000, then can be determined that corresponding type of coding be identical coding, then intercept corresponding digit parse respectively phrase length with
And code word, to obtain corresponding phrase.
It is encoded if the type of coding is matching, corresponding coding segment is made of offset code and matching length code;Its
In, the offset code and matching length code pass through institute according to the offset and phrase length that correspond in phrase in coding information respectively
Static code table is stated to inquire.For example, the phrase " bcd " of matching coding, wherein offset are 7, and code word size 3, the offset
The corresponding offset code in static code table of amount 7 is 101011, and the corresponding matching length code in static code table of phrase length 3 is
00, last coding result is { 10101100 }.Correspondingly, it is in the decoding rule of receiving terminal, if the start bit of coding segment is
1, and intercept that obtain after four below is not 10000, then it can be determined that corresponding type of coding is that matching encodes, further according to quiet
State code table intercepts corresponding digit and parses offset and phrase length respectively, can be according to offset and phrase length
Corresponding code word combination is found in data to be transferred before parsing, to obtain corresponding phrase.
By taking data to be transferred " abcdaaaabcdefbbbbbbbbcdefgh " as an example, the coded slice of each phrase is respectively obtained
Section is as follows respectively:
By taking each code word is a byte as an example, then the length of data to be transferred is:27*8=216bits, and after encoding
Coding segment total length is 124bits, and compression ratio is:57.4%.
The static state code table can be the mapping table of a unified numerical value and coding segment, can also be according to equal length
Different mapping tables is respectively set in the difference of code, matching length code and offset code, or only two mapping tables mixing of setting make
With.For example, the static state code table can be divided into the first coding schedule and the second coding schedule, and equal length code and offset code are using the
One coding schedule, and matching length code uses the second coding schedule.It is described static state code table setting can come according to the actual needs into
Row, is not specifically limited herein.
Further, the phrase length of the identical coding and matching coding is not less than preset length threshold.
By above-described embodiment it is found that since identical coding and matching encode the volume for needing to be added more coding informations and obtaining
Chip segment is unable to reach the effect of optimization of compression if the phrase is too short.Need to pre-set length threshold thus, for example, 3 or
4, and according to contractive condition to the data to be transferred carry out traversal be divided into phrase when, it is ensured that it is identical coding and matching coding
Phrase length is not less than the length threshold, and all phrases less than the length threshold are defined as uncompressed coding.The length
Spend threshold value cannot it is too short can not be long, can be configured and adjust according to the actual needs, and can be respectively to identical
The length threshold different with matching encoding setting is encoded, is not specifically limited herein.
Correspondingly, when being encoded to the phrase length, can the phrase length first be subtracted into a length threshold,
Pass through the corresponding length code of static Codebook Lookup again.
Further, in the code length of the equal length code, matching length code and offset code and the coding information
The frequency height that corresponding numerical value occurs is related.
In order to further be compressed to the data, the equal length code, matching length code and offset
The constant that the code length of code is not to determine, for example, the equal length code of phrase length 4 is 0001 in above-described embodiment, and it is short
The equal length code of language length 8 is 01001, it is seen then that the code length of the equal length code can be according to corresponding numerical value not
Same and different, the matching length code and offset code are similarly such.The corresponding code length of common numerical value is contracted as far as possible
It is short, it can suitably be lengthened without common code length, it can the further compression ratio that must be improved to data to be transferred with this.
The data to be transferred is divided into multiple phrases by the embodiment of the present invention by the traversal to the data to be transferred, and
The fast and effective compressed encoding that obtains is carried out to obtain corresponding coded slice to each phrase according to the type of coding of each phrase respectively
Section, is then then forwarded to receiving terminal, so that receiving terminal thus greatly reduces data by obtaining the data to be transferred after decoding
The complexity of compressing data in transmission process, accelerates the speed of compression, reduces the consumption of resource.
Fig. 2 is the compression method flow chart of another terminal reported data of the embodiment of the present invention, as shown in Fig. 2, the side
Method includes:
Step S10, the coding fragment combination sent by transmitting terminal is received;The wherein described coded slice section is led to by the transmitting terminal
The data to be transferred for reading preset length is crossed, the data to be transferred is made of code word arrangements, further according to preset contractive condition, according to
The data to be transferred is divided at least one phrase by putting in order for the code word, the phrase include at least type of coding and
Coding information;Then the transmitting terminal root is believed according to the coding of coding rule corresponding with the type of coding and each phrase
Breath, obtains coding segment corresponding with the phrase;Wherein, if the type of coding is compressible coding, according to what is prestored
Static code table carries out compressed encoding to obtain the coding segment of the phrase, finally by described to the coding information of corresponding phrase
Transmitting terminal will be obtained according to each phrase putting in order in the data to be transferred after corresponding coding fragment combination.
Receiving terminal can receive the information sent by transmitting terminal, which is to encode the combination of segment, the coding segment
It is obtained according to coding rule according to the data to be transferred of acquisition by transmitting terminal, detailed process is as follows:
Transmitting terminal first obtains the data to be transferred for being ready for sending receiving terminal, which passes through arrangement by a large amount of code word
Composition.
The data to be transferred is traversed according to the sequencing of code word arrangements, one by one will according to preset contractive condition
The data to be transferred is divided into multiple phrases, and the phrase includes at least a code word, and has to the definition of each phrase corresponding
Type of coding.The coding information of each phrase can also be obtained according to contractive condition.
Further, the type of coding is uncompressed coding, identical coding or matching coding;Wherein, the identical volume
Code and matching are encoded to compressible coding, and correspondingly, the contractive condition is specially:
If the code word for forming the phrase is an identical code word, the type of coding of the phrase is identical coding,
And the coding information of the phrase includes at least phrase length, an identical code word;
If there is code word group identical with the permutation and combination of code word in the phrase in the data to be transferred before the phrase
It closes, then the type of coding of the phrase is that matching encodes, and the coding information of the phrase includes at least phrase length, described short
Language and the offset of identical code word combination apart;
And the type of coding of other phrases is uncompressed coding, and the coding information of the phrase includes at least described in composition
All code words of phrase.
Wherein for the mode classification of type of coding can there are many kinds of, also only with one such in the embodiment of the present invention
Mode is illustrated.
The type of coding can be divided into uncompressed coding and compressible coding, wherein compressible coding is divided into as identical volume
Code and matching coding.
Wherein, the phrase contractive condition to be met of the identical coding is:The code word for forming the phrase is identical
One code word, and then the coding information of the phrase then includes at least phrase length and forms an identical code for the phrase
Word.
It is described matching coding the phrase contractive condition to be met be:In data to be transferred before the phrase, i.e.,
It completes to exist in the data to be transferred of segmentation and there is the code word combination that aligned identical combines, the code word group with code word in the phrase
Conjunction is not required for being attributed to same phrase.And then the phrase coding information include at least phrase length, the phrase with it is described
The offset of code word combination apart.
And the contractive condition of identical coding had both been unsatisfactory in the data to be transferred, also it is unsatisfactory for the compressor bar of matching coding
The phrase of part may be defined as uncompressed coding, and the coding information of such phrase includes at least all code words of the phrase.
After the type of coding for obtaining each phrase can according to the coding rule corresponding with each type of coding that prestores,
The coding information of each phrase is encoded to obtain coding segment.Wherein, if the type of coding is compressible coding,
It needs according to the static code table to prestore come the phrase length or offset progress compressed encoding in the coding information to phrase, to obtain
Coding segment corresponding with the phrase.
After obtaining the corresponding coding segment of each phrase, so that it may with first according to arrangement of the phrase in the data to be transferred
Corresponding coding segment is combined by sequence afterwards, is then sent to receiving terminal.
Step S11, segment will each be encoded according to decoding corresponding with coding rule rule and the static code table
Corresponding phrase is resolved to, the data to be transferred is obtained after combination.
The receiving terminal is advised after the combination for receiving the coding segment according to decoding corresponding with the coding rule
Then and the static code table, the coding segment is identified and is parsed, to obtain the corresponding phrase of each coding segment.
There is phrase to be sequentially combined by described, so that it may to obtain the data to be transferred.
The data to be transferred is divided into multiple phrases by the embodiment of the present invention by the traversal to the data to be transferred, and
The fast and effective compressed encoding that obtains is carried out to obtain corresponding coded slice to each phrase according to the type of coding of each phrase respectively
Section, is then then forwarded to receiving terminal, so that receiving terminal thus greatly reduces data by obtaining the data to be transferred after decoding
The complexity of compressing data in transmission process, accelerates the speed of compression, reduces the consumption of resource.
Fig. 3 is the sending end structure schematic diagram of the compression method for terminal reported data of the embodiment of the present invention, such as Fig. 3
Shown, the transmitting terminal includes at least:Acquisition module 10, segmentation module 11, coding module 12 and sending module 13, wherein
The acquisition module 10 is used to read the data to be transferred of preset length, and the data to be transferred is made of code word arrangements;
The segmentation module 11 is used to, according to preset contractive condition, divide the data to be transferred according to putting in order for the code word
For at least one phrase, the phrase includes at least type of coding and coding information;The coding module 12 is used for basis and institute
The coding information for stating type of coding corresponding coding rule and each phrase obtains coding segment corresponding with the phrase;Its
In, if the type of coding is compressible coding, the coding information of corresponding phrase is carried out according to the static code table to prestore
Compressed encoding is to obtain the coding segment of the phrase;The sending module 13 is used for according to each phrase in the data to be transferred
In put in order and will be sent to receiving terminal after corresponding coding fragment combination so that the receiving terminal according to the coding advise
Then each coding segment is resolved to corresponding phrase by corresponding decoding rule and the static code table, and described wait for is obtained after combination
Pass data.Specifically,
Acquisition module 10 first obtains the data to be transferred for being ready for sending receiving terminal, which is passed through by a large amount of code word
It rearranges.
Again by segmentation module 11 by according to the sequencing of code word arrangements to the data to be transferred that is obtained by acquisition module 10 into
The data to be transferred is divided into multiple phrases by row traversal one by one according to preset contractive condition, and the phrase includes at least one
A code word, and have corresponding type of coding to the definition of each phrase.The coding of each phrase can also be obtained according to contractive condition
Information.
Further, the type of coding is uncompressed coding, identical coding or matching coding;Wherein, the identical volume
Code and matching are encoded to compressible coding, and correspondingly, the contractive condition is specially:
If the code word for forming the phrase is an identical code word, the type of coding of the phrase is identical coding,
And the coding information of the phrase includes at least phrase length, an identical code word;
If there is code word group identical with the permutation and combination of code word in the phrase in the data to be transferred before the phrase
It closes, then the type of coding of the phrase is that matching encodes, and the coding information of the phrase includes at least phrase length, described short
Language and the offset of identical code word combination apart;
And the type of coding of other phrases is uncompressed coding, and the coding information of the phrase includes at least described in composition
All code words of phrase.
Wherein for the mode classification of type of coding can there are many kinds of, also only with one such in the embodiment of the present invention
Mode is illustrated.
The type of coding can be divided into uncompressed coding and compressible coding, wherein compressible coding is divided into as identical volume
Code and matching coding.
Wherein, the phrase contractive condition to be met of the identical coding is:The code word for forming the phrase is identical
One code word, and then the coding information of the phrase then includes at least phrase length and forms an identical code for the phrase
Word.
It is described matching coding the phrase contractive condition to be met be:In data to be transferred before the phrase, i.e.,
It completes to exist in the data to be transferred of segmentation and there is the code word combination that aligned identical combines, the code word group with code word in the phrase
Conjunction is not required for being attributed to same phrase.And then the phrase coding information include at least phrase length, the phrase with it is described
The offset of code word combination apart.
And the contractive condition of identical coding had both been unsatisfactory in the data to be transferred, also it is unsatisfactory for the compressor bar of matching coding
The phrase of part may be defined as uncompressed coding, and the coding information of such phrase includes at least all code words of the phrase.
The type of coding for obtaining each phrase and coding information are sent to coding module 12 by the segmentation module 11.It is described
Coding module 12 can carry out the coding information of each phrase according to the coding rule corresponding with each type of coding that prestores
Coding is to obtain coding segment.Wherein, if the type of coding be compressible coding, need according to the static code table to prestore come
To the phrase length or offset progress compressed encoding in the coding information of phrase, to obtain coding segment corresponding with the phrase.
It will obtain the corresponding coding segment of each phrase and be sent to sending module 13, by sending module 13 according to phrase in institute
Corresponding coding segment is combined by the arrangement sequencing stated in data to be transferred, is then sent to receiving terminal.
The receiving terminal is advised after the combination for receiving the coding segment according to decoding corresponding with the coding rule
Then and the static code table, the coding segment is identified and is parsed, to obtain the corresponding phrase of each coding segment.
There is phrase to be sequentially combined by described, so that it may to obtain the data to be transferred.
Device provided in an embodiment of the present invention for executing the above method, function with specific reference to above method embodiment,
Its specific method flow repeats no more here.
The data to be transferred is divided into multiple phrases by the embodiment of the present invention by the traversal to the data to be transferred, and
The fast and effective compressed encoding that obtains is carried out to obtain corresponding coded slice to each phrase according to the type of coding of each phrase respectively
Section, is then then forwarded to receiving terminal, so that receiving terminal thus greatly reduces data by obtaining the data to be transferred after decoding
The complexity of compressing data in transmission process, accelerates the speed of compression, reduces the consumption of resource.
Fig. 4 is the receiving terminal structural schematic diagram of the compression method for terminal reported data of the embodiment of the present invention, such as Fig. 4
Shown, the receiving terminal includes at least:Receiving module 20 and decoder module 21, wherein
The receiving module 20 is for receiving the coding fragment combination sent by transmitting terminal;The wherein described coded slice section is by institute
Transmitting terminal is stated by the data to be transferred of reading preset length, the data to be transferred is made of code word arrangements, further according to preset pressure
The data to be transferred is divided at least one phrase by contracting condition according to putting in order for the code word, and the phrase at least wraps
Include type of coding and coding information;Then the transmitting terminal root is according to coding rule corresponding with the type of coding and each short
The coding information of language obtains coding segment corresponding with the phrase;Wherein, if the type of coding is compressible coding,
According to the static code table to prestore to the coding information progress compressed encoding of corresponding phrase to obtain the coding segment of the phrase,
It finally will be after corresponding coding fragment combination according to each phrase putting in order in the data to be transferred by the transmitting terminal
It obtains;The decoder module 21 is used to each be compiled according to decoding corresponding with coding rule rule and the static code table
Chip segment resolves to corresponding phrase, and the data to be transferred is obtained after combination.Specifically,
Receiving module 20 can receive the information sent by transmitting terminal, which is to encode the combination of segment, the coding
Segment is obtained according to the data to be transferred of acquisition according to coding rule by transmitting terminal, and detailed process is as follows:
Transmitting terminal first obtains the data to be transferred for being ready for sending receiving terminal, which passes through arrangement by a large amount of code word
Composition.
The data to be transferred is traversed according to the sequencing of code word arrangements, one by one will according to preset contractive condition
The data to be transferred is divided into multiple phrases, and the phrase includes at least a code word, and has to the definition of each phrase corresponding
Type of coding.The coding information of each phrase can also be obtained according to contractive condition.
Further, the type of coding is uncompressed coding, identical coding or matching coding;Wherein, the identical volume
Code and matching are encoded to compressible coding, and correspondingly, the contractive condition is specially:
If the code word for forming the phrase is an identical code word, the type of coding of the phrase is identical coding,
And the coding information of the phrase includes at least phrase length, an identical code word;
If there is code word group identical with the permutation and combination of code word in the phrase in the data to be transferred before the phrase
It closes, then the type of coding of the phrase is that matching encodes, and the coding information of the phrase includes at least phrase length, described short
Language and the offset of identical code word combination apart;
And the type of coding of other phrases is uncompressed coding, and the coding information of the phrase includes at least described in composition
All code words of phrase.
Wherein for the mode classification of type of coding can there are many kinds of, also only with one such in the embodiment of the present invention
Mode is illustrated.
The type of coding can be divided into uncompressed coding and compressible coding, wherein compressible coding is divided into as identical volume
Code and matching coding.
Wherein, the phrase contractive condition to be met of the identical coding is:The code word for forming the phrase is identical
One code word, and then the coding information of the phrase then includes at least phrase length and forms an identical code for the phrase
Word.
It is described matching coding the phrase contractive condition to be met be:In data to be transferred before the phrase, i.e.,
It completes to exist in the data to be transferred of segmentation and there is the code word combination that aligned identical combines, the code word group with code word in the phrase
Conjunction is not required for being attributed to same phrase.And then the phrase coding information include at least phrase length, the phrase with it is described
The offset of code word combination apart.
And the contractive condition of identical coding had both been unsatisfactory in the data to be transferred, also it is unsatisfactory for the compressor bar of matching coding
The phrase of part may be defined as uncompressed coding, and the coding information of such phrase includes at least all code words of the phrase.
After the type of coding for obtaining each phrase can according to the coding rule corresponding with each type of coding that prestores,
The coding information of each phrase is encoded to obtain coding segment.Wherein, if the type of coding is compressible coding,
It needs according to the static code table to prestore come the phrase length or offset progress compressed encoding in the coding information to phrase, to obtain
Coding segment corresponding with the phrase.
After obtaining the corresponding coding segment of each phrase, so that it may with first according to arrangement of the phrase in the data to be transferred
Corresponding coding segment is combined by sequence afterwards, is then sent to receiving terminal.
The receiving module 20 receive it is described coding segment combination by the decoder module 21 according to the volume
The corresponding decoding rule of code rule and the static code table, are identified and parse to the coding segment, each to obtain
Encode the corresponding phrase of segment.There is phrase to be sequentially combined by described, so that it may to obtain the data to be transferred.
Device provided in an embodiment of the present invention for executing the above method, function with specific reference to above method embodiment,
Its specific method flow repeats no more here.
The data to be transferred is divided into multiple phrases by the embodiment of the present invention by the traversal to the data to be transferred, and
The fast and effective compressed encoding that obtains is carried out to obtain corresponding coded slice to each phrase according to the type of coding of each phrase respectively
Section, is then then forwarded to receiving terminal, so that receiving terminal thus greatly reduces data by obtaining the data to be transferred after decoding
The complexity of compressing data in transmission process, accelerates the speed of compression, reduces the consumption of resource.
Fig. 5 is the electronic devices structure schematic diagram of the embodiment of the present invention, as shown in figure 5, the electronic equipment, including:Place
Manage device (processor) 601, memory (memory) 602 and bus 603;
Wherein, the processor 601 and the memory 602 complete mutual communication by the bus 603;
The processor 601 is used to call the program instruction in the memory 602, to execute above-mentioned each method embodiment
The method provided, such as including:The data to be transferred of preset length is read, the data to be transferred is made of code word arrangements;According to
The data to be transferred is divided at least one phrase by preset contractive condition according to putting in order for the code word, described short
Language includes at least type of coding and coding information;According to the coding of corresponding with the type of coding coding rule and each phrase
Information obtains coding segment corresponding with the phrase;Wherein, if the type of coding is compressible coding, basis prestores
Static code table compressed encoding is carried out to obtain the coding segment of the phrase to the coding information of corresponding phrase;According to each
Phrase putting in order in the data to be transferred will be sent to receiving terminal after corresponding coding fragment combination, so that the reception
End resolves to each coding segment according to decoding corresponding with coding rule rule and the static code table corresponding short
Language obtains the data to be transferred after combination.
Further, the embodiment of the present invention discloses a kind of computer program product, and the computer program product includes depositing
The computer program in non-transient computer readable storage medium is stored up, the computer program includes program instruction, when described
When program instruction is computer-executed, computer is able to carry out the method that above-mentioned each method embodiment is provided, such as including:It reads
The data to be transferred of preset length, the data to be transferred is taken to be made of code word arrangements;According to preset contractive condition, according to the code
The data to be transferred is divided at least one phrase by putting in order for word, and the phrase includes at least type of coding and coding is believed
Breath;According to the coding information of corresponding with the type of coding coding rule and each phrase, obtain corresponding with the phrase
Encode segment;Wherein, if the type of coding is compressible coding, according to the static code table to prestore to the volume of corresponding phrase
Code information carries out compressed encoding to obtain the coding segment of the phrase;According to arrangement of each phrase in the data to be transferred
Sequence will be sent to receiving terminal after corresponding coding fragment combination, so that the receiving terminal is according to corresponding with the coding rule
Each coding segment is resolved to corresponding phrase by decoding rule and the static code table, and the data to be transferred is obtained after combination.
Further, the embodiment of the present invention provides a kind of non-transient computer readable storage medium, the non-transient calculating
Machine readable storage medium storing program for executing stores computer instruction, and the computer instruction makes the computer execute above-mentioned each method embodiment institute
The method of offer, such as including:The data to be transferred of preset length is read, the data to be transferred is made of code word arrangements;According to pre-
If contractive condition, the data to be transferred is divided at least one phrase, the phrase according to putting in order for the code word
Including at least type of coding and coding information;Believed according to the coding of coding rule corresponding with the type of coding and each phrase
Breath, obtains coding segment corresponding with the phrase;Wherein, if the type of coding is compressible coding, according to what is prestored
Static code table carries out compressed encoding to obtain the coding segment of the phrase to the coding information of corresponding phrase;According to each short
Language putting in order in the data to be transferred will be sent to receiving terminal after corresponding coding fragment combination, so that the receiving terminal
Each coding segment is resolved into corresponding phrase according to decoding corresponding with coding rule rule and the static code table,
The data to be transferred is obtained after combination.
One of ordinary skill in the art will appreciate that:Realize that all or part of step of above method embodiment can pass through
The relevant hardware of program instruction is completed, and program above-mentioned can be stored in a computer read/write memory medium, the program
When being executed, step including the steps of the foregoing method embodiments is executed;And storage medium above-mentioned includes:ROM, RAM, magnetic disc or light
The various media that can store program code such as disk.
The embodiments such as electronic equipment described above are only schematical, illustrate as separating component wherein described
Unit may or may not be physically separated, and the component shown as unit may or may not be object
Manage unit, you can be located at a place, or may be distributed over multiple network units.It can select according to the actual needs
Some or all of module therein is selected to achieve the purpose of the solution of this embodiment.Those of ordinary skill in the art are not paying wound
In the case of the labour for the property made, you can to understand and implement.
Through the above description of the embodiments, those skilled in the art can be understood that each embodiment can
It is realized by the mode of software plus required general hardware platform, naturally it is also possible to pass through hardware.Based on this understanding, on
Stating technical solution, substantially the part that contributes to existing technology can be expressed in the form of software products in other words, should
Computer software product can store in a computer-readable storage medium, such as ROM/RAM, magnetic disc, CD, including several fingers
It enables and using so that a computer equipment (can be personal computer, server or the network equipment etc.) executes each implementation
Method described in certain parts of example or embodiment.
Finally it should be noted that:The above embodiments are merely illustrative of the technical solutions of the present invention, rather than its limitations;Although
Present invention has been described in detail with reference to the aforementioned embodiments, it will be understood by those of ordinary skill in the art that:It still may be used
With technical scheme described in the above embodiments is modified or equivalent replacement of some of the technical features;
And these modifications or replacements, various embodiments of the present invention technical solution that it does not separate the essence of the corresponding technical solution spirit and
Range.
Claims (10)
1. a kind of compression method of terminal reported data, which is characterized in that including:
The data to be transferred of preset length is read, the data to be transferred is made of code word arrangements;
According to preset contractive condition, according to the code word put in order the data to be transferred is divided into it is at least one short
Language, the phrase include at least type of coding and coding information;
According to the coding information of corresponding with the type of coding coding rule and each phrase, obtain corresponding with the phrase
Encode segment;Wherein, if the type of coding is compressible coding, according to the static code table to prestore to the volume of corresponding phrase
Code information carries out compressed encoding to obtain the coding segment of the phrase;
It will be sent to receiving terminal after corresponding coding fragment combination according to each phrase putting in order in the data to be transferred,
So that the receiving terminal will each encode segment solution according to decoding corresponding with coding rule rule and the static code table
Analysis is corresponding phrase, and the data to be transferred is obtained after combination.
2. according to the method described in claim 1, it is characterized in that, the type of coding be it is uncompressed coding, it is identical coding or
Matching coding;Wherein, the identical coding and matching are encoded to compressible coding, and correspondingly, the contractive condition is specially:
If the code word for forming the phrase is an identical code word, the type of coding of the phrase is identical coding, and institute
The coding information for stating phrase includes at least phrase length, an identical code word;
If there is code word combination identical with the permutation and combination of code word in the phrase in the data to be transferred before the phrase,
The type of coding of the phrase is that matching encodes, and the coding information of the phrase includes at least the phrase length, described short
Language and the offset of identical code word combination apart;
And the type of coding of other phrases is uncompressed coding, and the coding information of the phrase includes at least and forms the phrase
All code words.
3. according to the method described in claim 2, it is characterized in that, the coding rule, specially:
If the type of coding is uncompressed coding, corresponding coding segment is to increase before each code word of the coding information
Add uncompressed code identification;
If the type of coding is identical coding, corresponding coding segment includes identical code identification, equal length code and institute
State an identical code word;Wherein, the equal length code for according to the phrase length in the coding information of corresponding phrase by institute
Static code table is stated to obtain;
It is encoded if the type of coding is matching, corresponding coding segment includes offset code and matching length code;Wherein, described
Offset code and matching length code respectively according in the coding information of corresponding phrase offset and phrase length pass through the static state
Code table obtains.
4. according to the method in claim 2 or 3, which is characterized in that the phrase length of the identical coding and matching coding
Not less than preset length threshold.
5. according to the method described in claim 3, it is characterized in that, the equal length code, matching length code and offset code
Code length is related to the frequency height for corresponding to numerical value appearance in the coding information.
6. a kind of compression method of terminal reported data, which is characterized in that including:
Receive the coding fragment combination sent by transmitting terminal;The wherein described coded slice section is by the transmitting terminal by reading default length
The data to be transferred of degree, the data to be transferred are made of code word arrangements, further according to preset contractive condition, according to the row of the code word
The data to be transferred is divided at least one phrase by row sequence, and the phrase includes at least type of coding and coding information;So
The transmitting terminal root is according to the coding information of corresponding with the type of coding coding rule and each phrase afterwards, obtain with it is described
The corresponding coding segment of phrase;Wherein, if the type of coding is compressible coding, according to the static code table to prestore to corresponding
Phrase coding information carry out compressed encoding to obtain the coding segment of the phrase, finally by the transmitting terminal according to each
Phrase putting in order in the data to be transferred will obtain after corresponding coding fragment combination;
Each coding segment resolved to according to decoding corresponding with coding rule rule and the static state code table corresponding
Phrase obtains the data to be transferred after combination.
7. a kind of transmitting terminal of compression method for terminal reported data, which is characterized in that including:
Acquisition module, the data to be transferred for reading preset length, the data to be transferred are made of code word arrangements;
Divide module, for according to preset contractive condition, dividing the data to be transferred according to putting in order for the code word
For at least one phrase, the phrase includes at least type of coding and coding information;
Coding module, for according to the coding information of corresponding with the type of coding coding rule and each phrase, obtain with
The corresponding coding segment of the phrase;Wherein, if the type of coding is compressible coding, according to the static code table pair to prestore
The coding information of corresponding phrase carries out compressed encoding to obtain the coding segment of the phrase;
Sending module, for will be after corresponding coding fragment combination according to each phrase putting in order in the data to be transferred
It is sent to receiving terminal, so that the receiving terminal will be every according to decoding corresponding with coding rule rule and the static code table
A coding segment resolves to corresponding phrase, and the data to be transferred is obtained after combination.
8. a kind of receiving terminal of compression method for terminal reported data, which is characterized in that including:
Receiving module, for receiving the coding fragment combination sent by transmitting terminal;The wherein described coded slice section is by the transmitting terminal
By reading the data to be transferred of preset length, the data to be transferred is made of code word arrangements, further according to preset contractive condition, presses
The data to be transferred is divided at least one phrase according to putting in order for the code word, the phrase includes at least type of coding
And coding information;Then the transmitting terminal root is believed according to the coding of coding rule corresponding with the type of coding and each phrase
Breath, obtains coding segment corresponding with the phrase;Wherein, if the type of coding is compressible coding, according to what is prestored
Static code table carries out compressed encoding to obtain the coding segment of the phrase, finally by described to the coding information of corresponding phrase
Transmitting terminal will be obtained according to each phrase putting in order in the data to be transferred after corresponding coding fragment combination;
Decoder module, for will each encode segment according to decoding corresponding with coding rule rule and the static code table
Corresponding phrase is resolved to, the data to be transferred is obtained after combination.
9. a kind of electronic equipment, which is characterized in that including memory and processor, the processor and the memory pass through total
Line completes mutual communication;The memory is stored with the program instruction that can be executed by the processor, the processor tune
It is able to carry out the method as described in claim 1 to 6 is any with described program instruction.
10. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the computer program quilt
The method as described in claim 1 to 6 is any is realized when processor executes.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810415994.1A CN108737392B (en) | 2018-05-03 | 2018-05-03 | Compression method for terminal reported data, sending end and receiving end |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810415994.1A CN108737392B (en) | 2018-05-03 | 2018-05-03 | Compression method for terminal reported data, sending end and receiving end |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108737392A true CN108737392A (en) | 2018-11-02 |
CN108737392B CN108737392B (en) | 2020-10-30 |
Family
ID=63936945
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810415994.1A Active CN108737392B (en) | 2018-05-03 | 2018-05-03 | Compression method for terminal reported data, sending end and receiving end |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108737392B (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20110153531A1 (en) * | 2009-12-18 | 2011-06-23 | Canon Kabushiki Kaisha | Information processing apparatus and control method for the same |
CN102783154A (en) * | 2010-02-26 | 2012-11-14 | 捷讯研究有限公司 | Encoding and decoding methods and devices employing dual codesets |
CN106022425A (en) * | 2016-05-15 | 2016-10-12 | 上海思岭信息科技有限公司 | Layered-structure 2D code encoding and decoding method |
CN107820685A (en) * | 2017-09-08 | 2018-03-20 | 北京小米移动软件有限公司 | Distributed physical layer method for mapping resource, device, transmitting terminal and receiving terminal |
-
2018
- 2018-05-03 CN CN201810415994.1A patent/CN108737392B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20110153531A1 (en) * | 2009-12-18 | 2011-06-23 | Canon Kabushiki Kaisha | Information processing apparatus and control method for the same |
CN102783154A (en) * | 2010-02-26 | 2012-11-14 | 捷讯研究有限公司 | Encoding and decoding methods and devices employing dual codesets |
CN106022425A (en) * | 2016-05-15 | 2016-10-12 | 上海思岭信息科技有限公司 | Layered-structure 2D code encoding and decoding method |
CN107820685A (en) * | 2017-09-08 | 2018-03-20 | 北京小米移动软件有限公司 | Distributed physical layer method for mapping resource, device, transmitting terminal and receiving terminal |
Also Published As
Publication number | Publication date |
---|---|
CN108737392B (en) | 2020-10-30 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US4881075A (en) | Method and apparatus for adaptive data compression | |
CN108322220A (en) | Decoding method, device and coding/decoding apparatus | |
US20130307709A1 (en) | Efficient techniques for aligned fixed-length compression | |
CN110690943B (en) | Data encoding method, decoding method, encoding and decoding method, device and storage medium | |
US20090060047A1 (en) | Data compression using an arbitrary-sized dictionary | |
US9112833B2 (en) | Compression of content paths in a digital certificate | |
CN108156173A (en) | A kind of dynamic lossless compression method of JSON data packets | |
CN104199951B (en) | Web page processing method and device | |
CN110990358B (en) | Decompression method, electronic equipment and computer readable storage medium | |
CN110518917A (en) | LZW data compression method and system based on Huffman coding | |
CN112165331A (en) | Data compression method and device, data decompression method and device, storage medium and electronic equipment | |
CN109104405A (en) | Binary protocol coding, coding/decoding method and device | |
CN114666212B (en) | Configuration data issuing method | |
CN108769694A (en) | A kind of method and device of the Alpha channel codings based on FPGA | |
JPS607300B2 (en) | Japanese data compression method | |
WO2017157023A1 (en) | Method and system for transmitting soap message | |
CN112290953B (en) | Array encoding device and method, array decoding device and method for multi-channel data stream | |
CN106027521B (en) | Compression method, decompressing method, compression set and decompression device | |
CN108737392A (en) | The compression method and transmitting terminal and receiving terminal of a kind of terminal reported data | |
CN110113402B (en) | WEB service communication method and device | |
CN116684595A (en) | Ultra-low-time-delay image coding system, method and device and storage medium | |
CN108829872A (en) | Immediate processing method, equipment, system and the storage medium of lossless compression file | |
CN113986820A (en) | Method for converting LZ4 format file into GZIP format file | |
CN109981674B (en) | Remote procedure calling method, device, equipment and medium | |
US7930435B2 (en) | Hub and spoke compression |
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 |