CN102810171B - Chinese-sensible code and construction method thereof - Google Patents

Chinese-sensible code and construction method thereof Download PDF

Info

Publication number
CN102810171B
CN102810171B CN201110147199.7A CN201110147199A CN102810171B CN 102810171 B CN102810171 B CN 102810171B CN 201110147199 A CN201110147199 A CN 201110147199A CN 102810171 B CN102810171 B CN 102810171B
Authority
CN
China
Prior art keywords
position sensing
code word
information
sequence
symbol
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
Application number
CN201110147199.7A
Other languages
Chinese (zh)
Other versions
CN102810171A (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.)
Aisino Corp
Original Assignee
Aisino Corp
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 Aisino Corp filed Critical Aisino Corp
Priority to CN201110147199.7A priority Critical patent/CN102810171B/en
Publication of CN102810171A publication Critical patent/CN102810171A/en
Application granted granted Critical
Publication of CN102810171B publication Critical patent/CN102810171B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention discloses a Chinese-sensible code and a construction method thereof. The method comprises the following steps of: analyzing input data streams and converting the input data streams into codeword sequences; placing the codeword sequences in a matrix in a subsection way; generating format information, arranging the length-width ratio of each module size to be 1.2:1, constructing a Chinese-sensible code sign and saving the generated image into a set format; and outputting an image with the set format to a nine-pin type printer and printing the image to a multi-connected note according to the set resolution.

Description

Chinese letter co and construction method thereof
Technical field
The present invention relates to two-dimensional bar code field, in particular to a kind of Chinese letter co and construction method thereof.
Background technology
Chinese letter co standard GB/T/T21049-2007 defines a kind of matrix two-dimensional barcode, and in 5.2 of standard, introduce Chinese letter co symbol is the quadrate array be made up of n nominal square modules.The view finding figure introducing Chinese letter co in the 5.2.2 of standard is made up of 4 position sensing figures, lays respectively at the upper left corner of Chinese letter co symbol, the upper right corner, the lower left corner and the lower right corner.Position sensing feature size is 7*7 module, from structure, 5 overlapping square compositions different according to the size of lower right corner alignment can be regarded as, they are respectively 7*7 dark module, a 6*6 light module, a 5*5 dark module, a 4*4 light module, a 3*3 dark module, and the characteristic ratio of its scanning is 1: 1: 1: 1: 3 and 3: 1: 1: 1: 1.In the placement of position sensing figure, the position sensing figure in the lower left corner is that the position sensing figure dextrorotation in the upper left corner turn 90 degrees and obtains, the position sensing figure in the lower right corner is that the position sensing figure dextrorotation in the lower left corner turn 90 degrees and obtains, and the position sensing figure in the upper right corner is that the position sensing figure in the lower right corner is rotated counterclockwise 90 degree and obtains.In other parts of 5.2, further describe each several part feature of the symbolic construction composition of Chinese letter co.
The module described in above-mentioned standard is square or name square, this dimension definitions for bar code printer without any problem, but for special printing device, such as use the words that 9 needle type printers print, there is very large problem, first, the true picture print resolution of 9 needle type printers does not support horizontal and vertical identical resolution, does not that is show good square Quick Response Code; Secondly, use the least bit printing technique of printer, can the Quick Response Code of the side of printing by force, but dimension scale does not meet the requirement of Quick Response Code, more serious phenomenon is because the significantly overlap of point simultaneously, causes paper to be battered down, what general use stylus printer printed is all legal bill, need long-term preservation, paper is battered down just to be done at that time, took out use again after saying nothing of long-term preservation.In this case, the related definition in Chinese letter co standard just cannot be applied, and needs to make improvement.
Summary of the invention
The invention provides a kind of Chinese letter co and construction method thereof, in order to realize the Chinese letter co that applicable stylus printer prints, multiple part bills can be preserved for a long time.
For achieving the above object, the invention provides a kind of Chinese letter co, its symbolic construction comprises code figure and white space, and code figure comprises:
Position sensing figure, is positioned at the upper left corner of yard figure, the upper right corner, the lower left corner and the lower right corner;
Position sensing figure marker space, is positioned at right side and the downside of position sensing figure;
Function information region, around position sensing figure marker space;
Information encoding region, is arranged in the region of yard figure except position sensing figure, position sensing figure marker space, function information region and white space;
Wherein, the module length breadth ratio of position sensing figure, position sensing figure marker space, function information region and information encoding region is 1.2: 1.
For achieving the above object, present invention also offers a kind of construction method of Chinese letter co, the method comprises the following steps:
The raw data represented needing symbol is analyzed, and is converted into code word data sequence;
Code word data sequence is put into matrix piecemeal to arrange;
The length breadth ratio of modules size is set to 1.2: 1, builds Chinese letter co symbol, and be setting form by the Image Saving generated;
The image of setting form is outputted to 9 needle type printers according to setting resolution printing on multiple part bills.
Preferably, the raw data represented needing symbol is analyzed, and is converted into code word data sequence step and comprises:
The raw data represented needing symbol is analyzed, data to be encoded;
Select coding mode to carry out data encoding to data to be encoded, form information bit stream;
According to the version determined in corresponding error-correction level and data analysis, comformed information code word number, according to information code number of words, is converted to information codeword sequence by information bit stream;
According to Chinese letter co symbol version and error-correction level, information codeword sequence is carried out piecemeal, and generate corresponding error correction codeword sequence by block;
Be code word data sequence by information codeword sequence and error correction code word combined sequence.
Preferably, code word data sequence is put into matrix piecemeal deposition step to comprise:
Code word data sequence is carried out piecemeal and obtains code word module;
Position sensing figure, position sensing figure separator, correction graph are put into matrix together with code word module.
Preferably, setting form is TIFF (Tagged Image File Format, Tagged Image File (TIF) Format).
Preferably, setting resolution is 120*72dpi.
In the above-described embodiments, the length breadth ratio of the modules of Chinese letter co is set to 1.2: 1, and the two-dimensional code symbol of structure is saved as the picture format of applicable stylus printer identification, and then by 9 needle type printers according to setting resolution printing on multiple part bills, Chinese letter co character position detection dimension of picture is regular, figure is clear for code, can by the identification of HR200 barcode scanner, simultaneously because the true picture print resolution employing printer prints, print point is without repeatedly overlapping, paper, without breakage, can be preserved for a long time.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, be briefly described to the accompanying drawing used required in embodiment or description of the prior art below, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is Chinese letter co schematic diagram according to an embodiment of the invention;
Fig. 2 is the construction method process flow diagram of Chinese letter co according to an embodiment of the invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, be clearly and completely described the technical scheme in the embodiment of the present invention, obviously, described embodiment is only the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not paying the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
Fig. 1 is Chinese letter co schematic diagram according to an embodiment of the invention.As shown in Figure 1, this Chinese letter co comprises:
Position sensing figure, is positioned at the upper left corner of yard figure, the upper right corner, the lower left corner and the lower right corner;
Position sensing figure marker space, is positioned at right side and the downside of position sensing figure;
Function information region, around position sensing figure marker space;
Information encoding region, is arranged in the region of yard figure except position sensing figure, position sensing figure marker space, function information region and white space;
Wherein, the module length breadth ratio of position sensing figure, position sensing figure marker space, function information region and information encoding region is 1.2: 1.
In the present embodiment, each functional graphic module of Chinese letter co is identical with the standard Chinese letter co in standard GB/T/T21049-2007 with code area format module, and the length breadth ratio of each functional graphic module and code area format module is set to 1.2: 1, be suitable for 9 needle type printers according to setting resolution printing on multiple part bills, Chinese sensible code position detection pattern structured size after printing, figure is clear for code, can by the identification of HR200 barcode scanner, print point is without repeatedly overlapping simultaneously, paper, without breakage, can be preserved for a long time.
Fig. 2 is the construction method process flow diagram of Chinese letter co according to an embodiment of the invention.As shown in Figure 2, the method comprises the following steps:
S102, the raw data represented needing symbol is analyzed, and is converted into code word data sequence;
S104, puts into matrix piecemeal and arranges by code word data sequence;
S106, is set to 1.2: 1 by the length breadth ratio of modules size, builds Chinese letter co symbol, and is setting form by the Image Saving generated;
S108, outputs to 9 needle type printers according to setting resolution printing on multiple part bills by the image of setting form.
In the present embodiment, the length breadth ratio of the modules of Chinese letter co is set to 1.2: 1, and the two-dimensional code symbol of structure is saved as the picture format of applicable stylus printer identification, and then by 9 needle type printers according to setting resolution printing on multiple part bills, Chinese letter co character position detection dimension of picture is regular, figure is clear for code, can by the identification of HR200 barcode scanner, simultaneously because the true picture print resolution employing printer prints, print point is without repeatedly overlapping, paper, without breakage, can be preserved for a long time.
Such as, the raw data represented needing symbol is analyzed, and is converted into code word data sequence step and comprises:
The raw data represented needing symbol is analyzed, data to be encoded;
Select coding mode to carry out data encoding to data to be encoded, form information bit stream;
According to the version determined in corresponding error-correction level and data analysis, comformed information code word number, according to information code number of words, is converted to information codeword sequence by information bit stream;
According to Chinese letter co symbol version and error-correction level, information codeword sequence is carried out piecemeal, and generate corresponding error correction codeword sequence by block;
Be code word data sequence by information codeword sequence and error correction code word combined sequence.
Such as, code word data sequence is put into matrix piecemeal deposition step to comprise:
Code word data sequence is carried out piecemeal and obtains code word module;
Position sensing figure, position sensing figure separator, correction graph are put into matrix together with code word module.
Such as, setting form is TIFF.
Such as, setting resolution is 120*72dpi.
Be below a preferred embodiment of the present invention:
Building Chinese letter co symbol, is tiff format by the Image Saving of generation.In generative process, module size is defined as long 0.42 millimeter, wide 0.35 millimeter, meets the ratio of 1.2: 1.By this size, according to the construction method of Chinese letter co standard, build the Chinese letter co symbol of version 11, error-correction level selects L1, version 11 comprises 43 modules, so final Chinese letter co symbol is of a size of long 18.06 millimeters, wide is 15.05 millimeters, the tiff format Chinese letter co glyph image built, use SK810 model 9 needle type printer setup under real image printing resolution 120*72dpi printout to tetrad no carbon paper, Chinese letter co symbol each several part structured size, figure is clear for code, can by the identification of HR200 barcode scanner, simultaneously because the true picture print resolution employing printer prints, print point is without repeatedly overlapping, paper is without breakage, can preserve for a long time.
One of ordinary skill in the art will appreciate that: accompanying drawing is the schematic diagram of an embodiment, the module in accompanying drawing or flow process might not be that enforcement the present invention is necessary.
One of ordinary skill in the art will appreciate that: the module in the device in embodiment can describe according to embodiment and be distributed in the device of embodiment, also can carry out respective change and be arranged in the one or more devices being different from the present embodiment.The module of above-described embodiment can merge into a module, also can split into multiple submodule further.
One of ordinary skill in the art will appreciate that: all or part of step realizing said method embodiment can have been come by the hardware that programmed instruction is relevant, aforesaid program can be stored in a computer read/write memory medium, this program, when performing, performs the step comprising said method embodiment; And aforesaid storage medium comprises: ROM, RAM, magnetic disc or CD etc. various can be program code stored medium.
Last it is noted that above embodiment is only in order to illustrate technical scheme of the present invention, be not intended to limit; Although with reference to previous embodiment to invention has been detailed description, those of ordinary skill in the art is to be understood that: it still can be modified to the technical scheme described in previous embodiment, or carries out equivalent replacement to wherein portion of techniques feature; And these amendments or replacement, do not make the essence of appropriate technical solution depart from the spirit and scope of embodiment of the present invention technical scheme.

Claims (5)

1. a Chinese letter co, its symbolic construction comprises code figure and white space, it is characterized in that, described code figure comprises:
Position sensing figure, is positioned at the upper left corner of yard figure, the upper right corner, the lower left corner and the lower right corner;
Position sensing figure marker space, is positioned at right side and the downside of described position sensing figure;
Function information region, around described position sensing figure marker space;
Information encoding region, is arranged in the region of yard figure except described position sensing figure, described position sensing figure marker space, described function information region and white space;
Wherein, the module length breadth ratio of described position sensing figure, described position sensing figure marker space, described function information region and described information encoding region is 1.2:1.
2. a construction method for Chinese letter co, is characterized in that, comprises the following steps:
The raw data represented needing symbol is analyzed, and is converted into code word data sequence;
Described code word data sequence is put into matrix piecemeal to arrange;
The length breadth ratio of modules size is set to 1.2:1, builds Chinese letter co symbol, and be setting form by the Image Saving generated;
The image of described setting form is outputted to 9 needle type printers according to setting resolution printing on multiple part bills;
Wherein, the raw data represented needing symbol is analyzed, and is converted into code word data sequence step and comprises:
The raw data represented needing symbol is analyzed, data to be encoded;
Select coding mode to carry out data encoding to described data to be encoded, form information bit stream;
According to the version determined in corresponding error-correction level and data analysis, comformed information code word number, according to information code number of words, is converted to information codeword sequence by information bit stream;
According to Chinese letter co symbol version and error-correction level, information codeword sequence is carried out piecemeal, and generate corresponding error correction codeword sequence by block;
Be code word data sequence by described information codeword sequence and described error correction code word combined sequence.
3. construction method according to claim 2, is characterized in that, described code word data sequence is put into matrix piecemeal deposition step and comprises:
Described code word data sequence is carried out piecemeal and obtains code word module;
Position sensing figure, position sensing figure separator, correction graph are put into matrix together with described code word module.
4. construction method according to claim 2, is characterized in that, described setting form is TIFF.
5. construction method according to claim 2, is characterized in that, described setting resolution is 120*72dpi.
CN201110147199.7A 2011-06-02 2011-06-02 Chinese-sensible code and construction method thereof Active CN102810171B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110147199.7A CN102810171B (en) 2011-06-02 2011-06-02 Chinese-sensible code and construction method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110147199.7A CN102810171B (en) 2011-06-02 2011-06-02 Chinese-sensible code and construction method thereof

Publications (2)

Publication Number Publication Date
CN102810171A CN102810171A (en) 2012-12-05
CN102810171B true CN102810171B (en) 2015-06-10

Family

ID=47233875

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110147199.7A Active CN102810171B (en) 2011-06-02 2011-06-02 Chinese-sensible code and construction method thereof

Country Status (1)

Country Link
CN (1) CN102810171B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105139058B (en) * 2015-09-07 2018-11-09 郝迎喜 A kind of coding method of Quick Response Code
CN106067052B (en) * 2016-05-25 2019-09-17 济南通商条码技术有限公司 Branding code and its construction method, device

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1336583A (en) * 2001-09-03 2002-02-20 吴建明 Matrix code printing and identifying method
CN1877600A (en) * 2006-07-07 2006-12-13 中国物品编码中心 Two dimensional bar code symbol generation method

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0634262B2 (en) * 1988-05-10 1994-05-02 株式会社ジェーエスケー Optically read code and information transmission method
JP5018686B2 (en) * 2008-03-28 2012-09-05 株式会社デンソーウェーブ Information code, information code generation method, and information code display method

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1336583A (en) * 2001-09-03 2002-02-20 吴建明 Matrix code printing and identifying method
CN1877600A (en) * 2006-07-07 2006-12-13 中国物品编码中心 Two dimensional bar code symbol generation method

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
国家质量监督检验检疫总局.汉信码.《GB/T 21049-2007 汉信码》.2007,第4-23页. *

Also Published As

Publication number Publication date
CN102810171A (en) 2012-12-05

Similar Documents

Publication Publication Date Title
CN101221625B (en) Processing method capable of embedding information on bar code
US20050061882A1 (en) Tagged surface printer
AU2004326049B2 (en) Information input/output method using dot pattern
JP2012009000A (en) Business form processing system, ocr device, ocr processing program, business form creation device, business form creation program, and business form processing method
CN101127089B (en) Implement method for embedding large amount of information on printing media
CN102810170B (en) Quick response matrix code and building method thereof
US8854322B2 (en) Image processing apparatus, computer readable medium, and image processing method
CN102810171B (en) Chinese-sensible code and construction method thereof
CN101503037B (en) Processing method for embedding information on paper medium file
JP2015084199A (en) Information code creation method, information code, information code reading device, and information code use system
CN102810149B (en) Quick response matrix code position sensing figure and construction method thereof
CN100498586C (en) Printing method for document including duplication preventing bottom grain
US8687919B2 (en) Image processing apparatus, computer readable medium, and image processing method
JP5720182B2 (en) Image processing apparatus and image processing program
CN102810169B (en) Special-shaped two-dimensional matrix barcode construction method
CN102810172B (en) Chinese sensible code position detection pattern and construction method thereof
JP6166976B2 (en) Data structure of barcode font data, page data generation device, raster data generation device, raster data generation method and program
US7697160B1 (en) Resolution and device independent plain-paper input system
CN103909741A (en) Method and apparatus for printing two-dimensional code by use of 9-pin printer in embedded system
JP5434273B2 (en) Image processing apparatus and image processing program
JP5924035B2 (en) Information processing apparatus and information processing program
JP2004213061A (en) Optical character reader and reading method of two-dimensional code
JP5434272B2 (en) Information processing apparatus and information processing program
US20150331844A1 (en) Information processing apparatus and non-transitory computer readable medium
CN1777223A (en) CCD having memory, image-forming device having the same, and image-forming method

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