CN103236844B - A kind of electronic tag code compression method - Google Patents
A kind of electronic tag code compression method Download PDFInfo
- Publication number
- CN103236844B CN103236844B CN201310100255.0A CN201310100255A CN103236844B CN 103236844 B CN103236844 B CN 103236844B CN 201310100255 A CN201310100255 A CN 201310100255A CN 103236844 B CN103236844 B CN 103236844B
- Authority
- CN
- China
- Prior art keywords
- code
- group
- specific code
- specific
- 8421bcd
- 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.)
- Active
Links
Landscapes
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
- Compression, Expansion, Code Conversion, And Decoders (AREA)
Abstract
The present invention discloses a kind of electronic tag code compression method, compression storage is achieved by the 8421BCD code during label is encoded by three yard of one group coding method, three yards one group is that former label code is divided into some groups, often organizing length is 11bit, often by organizing, head and specific code or general code are formed group, group head represents the number of specific code, and the number of specific code or general code is 3, and group head, specific code and general code store by sequence next-door neighbour. The coded system of the present invention often organizes the storage space saving 1bit, reduces the cost that electronic tag is universal.
Description
Technical field
The compression method that patent of the present invention relates to electronic tag coding realizes, and is applicable to ECP code and barcode.
Background technology
Electronic tag is the article identification technology based on RFID technique, and extensively for asset management and tracking of products, its coding criterion has formed international standard. Current EPC coding criterion defines code length and has 64 and 96, and for electronic tag physical store, the code storage cost prohibitive that code length is longer, is unfavorable for the extensive use of electronic tag.
People when carrying out article code, according to type of items by label coding be divided into some sections, deposit 1 ten's digit with the storage space of 4bit, simultaneously to coding be also step-by-step identification, waste storage space to a certain extent. Ten's digit 0��7 can by the binary number representation of 3bit, and use frequency height, utilize this characteristic and reasonable coding ten's digit 8 and 9, it is possible to realize 8421BCD code compression store.
Summary of the invention
The object of the invention is exactly the defect in order to make up prior art, it is provided that a kind of electronic tag code compression method.
The present invention is achieved by the following technical solutions:
A kind of electronic tag code compression method, it is characterized in that, after analysis ten's digit is scaled 8421BCD code, the 8421BCD code of 0��7 possesses compressibility, by three yard of one prescription formula to the decimal system label coding recompile of original product, it is achieved the compression of product coding in electronic tag stores; Concrete grammar is as follows:
(1) length is the decimal system product coding C of Ndec, it is scaled binary 8421BCD code Cbcd, its length is 4Nbit, CdecIn binary code of the corresponding 4bit of each coding;
(2) the 8421BCD code that ten's digit 0��9 is corresponding respectively is: 0000,0001,0010,0011,0100,0101,0110,0111,1000,1001;
(3) ten's digit 0��7 uniquely can represent with the bit of 3bit, is respectively: 000,001,010,011,100,101,110,111, is called general code;
(4) ten's digit 8 and 9 with the binary number representation of 4bit, can only be designated as specific code;
The coded system of (5) three yards one group: be the C of 4Nbit for lengthdec, dividing in groups, the group head that often group is 2bit by a length represents the number of specific code, and 00 this group of expression does not have this group of specific code 8 or 9,01 expression to have 1 specific code, and 10 indicate 2 specific code, and 11 indicate 3 specific code;
(6) specific code is in close proximity to group head in the way of depositing continuously, the wherein concrete deposit position of 2 bit representation specific code in group before specific code, 01 this code bit of expression in group first, 10 these code bits of expression in group the 2nd, 11 these code bits of expression in group the 3rd;
(7) the 3rd this code of bit representation of specific code is specifically worth, and 0 represents 8,1 expressions 9;
(8) general code is close to last specific code and deposits continuously.
(9) the code set length produced taking the coded system of three yards a group, as 11, compares 8421BCD coding and saves 1bit, reach the effect of compression.
It is an advantage of the invention that:
The coded system of the present invention often organizes the storage space saving 1bit, reduces the cost that electronic tag is universal.
Accompanying drawing explanation
Fig. 1 is three yard of one group coding form schematic diagram.
Fig. 2 is three yard of one group coding schema.
Fig. 3 is three yards of one group of decoding process figure.
Embodiment
In order to make the realization rate of the present invention, object is easy to understand understanding with reaching, and sets forth the present invention further below in conjunction with concrete enforcement.
A kind of electronic tag code compression method, after analysis ten's digit is scaled 8421BCD code, the 8421BCD code of 0��7 possesses compressibility, by three yard of one prescription formula to the decimal system label coding recompile of original product, it is achieved the compression of product coding in electronic tag stores; Concrete grammar is as follows:
(1) length is the decimal system product coding C of Ndec, it is scaled binary 8421BCD code Cbcd, its length is 4Nbit, CdecIn binary code of the corresponding 4bit of each coding;
(2) the 8421BCD code that ten's digit 0��9 is corresponding respectively is: 0000,0001,0010,0011,0100,0101,0110,0111,1000,1001;
(3) ten's digit 0��7 uniquely can represent with the bit of 3bit, is respectively: 000,001,010,011,100,101,110,111, is called general code;
(4) ten's digit 8 and 9 with the binary number representation of 4bit, can only be designated as specific code;
The coded system of (5) three yards one group: as shown in Figure 1 is the C of 4Nbit for lengthdec, dividing in groups, the group head that often group is 2bit by a length represents the number of specific code, and 00 this group of expression does not have this group of specific code 8 or 9,01 expression to have 1 specific code, and 10 indicate 2 specific code, and 11 indicate 3 specific code;
(6) specific code is in close proximity to group head in the way of depositing continuously, the wherein concrete deposit position of 2 bit representation specific code in group before specific code, 01 this code bit of expression in group first, 10 these code bits of expression in group the 2nd, 11 these code bits of expression in group the 3rd;
(7) the 3rd this code of bit representation of specific code is specifically worth, and 0 represents 8,1 expressions 9;
(8) general code is close to last specific code and deposits continuously;
(9) the code set length produced taking the coded system of three yards a group, as 11, compares 8421BCD coding and saves 1bit, and coding flow process is such as accompanying drawing 2, and decoding process is such as accompanying drawing 3;
(10) illustrate: in ECP coding standard, sequence code length is 36, adopt 8421BCD code coding can deposit 9 ten's digit Cdec" 456691458 ". The coded system of three yards a group of employing the present invention, can by CdecBeing divided into three groups, often group is all three ten's digits (first group: 00100101110; 2nd group: 01101110001; 3rd group: 01110100101), total length is 33bit, and compression rates is 33/36.
Claims (1)
1. an electronic tag code compression method, it is characterized in that, after analysis ten's digit is scaled 8421BCD code, the 8421BCD code of 0��7 possesses compressibility, by three yard of one prescription formula to the decimal system label coding recompile of original product, it is achieved the compression of product coding in electronic tag stores; Concrete grammar is as follows:
(1) length is the decimal system product coding C of Ndec, it is scaled binary 8421BCD code Cbcd, its length is 4Nbit, CdecIn binary code of the corresponding 4bit of each coding;
(2) the 8421BCD code that ten's digit 0��9 is corresponding respectively is: 0000,0001,0010,0011,0100,0101,0110,0111,1000,1001;
(3) ten's digit 0��7 uniquely can represent with the bit of 3bit, is respectively: 000,001,010,011,100,101,110,111, is called general code;
(4) ten's digit 8 and 9 with the binary number representation of 4bit, can only be designated as specific code;
The coded system of (5) three yards one group: be the C of 4Nbit for lengthdec, dividing in groups, the group head that often group is 2bit by a length represents the number of specific code, and 00 this group of expression does not have this group of specific code 8 or 9,01 expression to have 1 specific code, and 10 indicate 2 specific code, and 11 indicate 3 specific code;
(6) specific code is in close proximity to group head in the way of depositing continuously, the wherein concrete deposit position of 2 bit representation specific code in group before specific code, 01 this code bit of expression in group first, 10 these code bits of expression in group the 2nd, 11 these code bits of expression in group the 3rd;
(7) the 3rd this code of bit representation of specific code is specifically worth, and 0 represents 8,1 expressions 9;
(8) general code is close to last specific code and deposits continuously;
(9) the code set length produced taking the coded system of three yards a group, as 11, compares 8421BCD coding and saves 1bit, reach the effect of compression.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310100255.0A CN103236844B (en) | 2013-03-26 | 2013-03-26 | A kind of electronic tag code compression method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310100255.0A CN103236844B (en) | 2013-03-26 | 2013-03-26 | A kind of electronic tag code compression method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103236844A CN103236844A (en) | 2013-08-07 |
CN103236844B true CN103236844B (en) | 2016-06-01 |
Family
ID=48884866
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310100255.0A Active CN103236844B (en) | 2013-03-26 | 2013-03-26 | A kind of electronic tag code compression method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103236844B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106254967A (en) * | 2015-06-12 | 2016-12-21 | 中兴通讯股份有限公司 | The generation method and apparatus of intelligent label and intelligent label in optical distribution network |
CN110210588A (en) * | 2019-06-03 | 2019-09-06 | 北京宏诚创新科技有限公司 | A kind of data memory format of blood information, parsing method and system |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
GB0102154D0 (en) * | 2001-01-27 | 2001-03-14 | Ibm | Decimal to binary coder/decoder |
US8364734B2 (en) * | 2005-09-15 | 2013-01-29 | International Business Machines Corporation | Converting from decimal floating point into scaled binary coded decimal |
-
2013
- 2013-03-26 CN CN201310100255.0A patent/CN103236844B/en active Active
Also Published As
Publication number | Publication date |
---|---|
CN103236844A (en) | 2013-08-07 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101923569B (en) | Storage method of structure type data of real-time database | |
PH12019550059A1 (en) | Method and apparatus for the access to bioinformatics data structured in access units | |
CN111127045B (en) | Traceability anti-channel conflict system and method based on Internet of things and blockchain | |
CN109120272B (en) | RFID tag data compression method for discrete manufacturing workshop | |
CN103246902A (en) | Intelligent book positioning system based on ultrahigh frequency RFID technology | |
CN103236844B (en) | A kind of electronic tag code compression method | |
CN103870782A (en) | Anti-collision method based on label confliction IDs | |
CN103955800A (en) | Code management method for product classification and identification | |
WO2017194401A3 (en) | Method and device for context-adaptive binary arithmetic coding a sequence of binary symbols representing a syntax element related to video data | |
CN105468712A (en) | Data storage compatibility method | |
CN102724505A (en) | Run-length coding FPGA (field programmable gate array) implementing method in JPEG-LS (joint photographic experts group-lossless standard) | |
CN107463335A (en) | A kind of location track big data high-efficiency storage method | |
CN102064833A (en) | Regular expression compressing method for DFA (Discriminant Function Analysis) | |
CN104331495A (en) | Data compressing method | |
CN101697194A (en) | Data processing system and method for improving reliability of RFID application | |
CN103218588A (en) | Radio frequency identification device (RFID) of transport vehicle | |
CN205210997U (en) | Security lock system used in logistic warehouse | |
CN104318410A (en) | Logistics in-transit real-time monitoring system based on Internet of Things | |
CN220949219U (en) | Metal container suitable for digital information acquisition under array stacking scene | |
CN208522900U (en) | A kind of three-dimensional animation is from encoding/decoding device | |
CN204557941U (en) | Dicode type bar code label | |
CN104467870A (en) | Structured data transmission method and device and high-speed railway system | |
LONG et al. | Estimation algorithm of radio frequency identification tags based on non-empty slot number | |
CN205451076U (en) | Storehouse storing and shipping equipment positioning system based on RF RFID tag | |
CN111597834B (en) | PIE decoding method only for judging high level |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
TR01 | Transfer of patent right |
Effective date of registration: 20210218 Address after: 245000 No.50, Meilin Avenue, Huangshan Economic Development Zone, Huangshan City, Anhui Province Patentee after: Huangshan Development Investment Group Co.,Ltd. Address before: 230009 No. 193, Tunxi Road, Hefei, Anhui Patentee before: Hefei University of Technology |
|
TR01 | Transfer of patent right |