CN102279934A - Method for encoding two-dimensional code - Google Patents

Method for encoding two-dimensional code Download PDF

Info

Publication number
CN102279934A
CN102279934A CN2010101987991A CN201010198799A CN102279934A CN 102279934 A CN102279934 A CN 102279934A CN 2010101987991 A CN2010101987991 A CN 2010101987991A CN 201010198799 A CN201010198799 A CN 201010198799A CN 102279934 A CN102279934 A CN 102279934A
Authority
CN
China
Prior art keywords
code element
code
basic identification
encoding
line
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.)
Pending
Application number
CN2010101987991A
Other languages
Chinese (zh)
Inventor
曹建明
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Individual
Original Assignee
Individual
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 Individual filed Critical Individual
Priority to CN2010101987991A priority Critical patent/CN102279934A/en
Publication of CN102279934A publication Critical patent/CN102279934A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Compression, Expansion, Code Conversion, And Decoders (AREA)

Abstract

The invention discloses a method for encoding a two-dimensional code. The method comprises the following steps of: designing a basic identification point, wherein the basic identification point consists of 3*3 pixel points, and all code patterns consist of basic identification points; generating a combination of all codes according to the distance variation among the basic identification points; designing a pattern encoding shape consisting of 25 basic identification points; setting displacement properties of the basic identification points; and forming an encoding sequence through the displacement variation of the basic identification points. Encoding in the scheme has high invisibility, and the aesthetic degree of publications is not influenced basically by recessive printing; the encoding method is simple and has low requirement on the printing accuracy; decoding operation can be trusted on an ordinary 8-bit singlechip; and the code word redundancy is high, larger printing errors are allowed and the error probability is lowered.

Description

The coding method of two-dimension code
Technical field
The present invention relates to the encoding of graphs field, two-dimensional encoded, the coding/decoding method of especially a kind of mathematics stealth, and printed article is used.
Background technology
The present reading habit of people is with eyes direct reading books, this mode of obtaining information is comparatively uninteresting, especially can not satisfy the requirement that the child obtains information, the limitation because the child becomes literate, and the hobby of information representation (liked more that both pictures and texts are excellent, picture and text sound and luxuriant information representation mode), and can not satisfy physical disabilities' needs, such as the dysopia personage.So sound reading mode, diagram reading method engender.
Present being seen talking book is the plain code printing basically, such as bar code.This coding is unfavorable for whole composing of reading matter and requirement attractive in appearance very much, and can not be hidden within the picture and text.Owing to be plain code, can not satisfy privacy requirements.
That can see at present is stealthy two-dimensional encoded, and its coded system and immature causes the printing precision requirement too highly, and the bit error rate is too high, and decoding is complicated, requires too high to optical accuracy.Can not commercialization
The invisible two-dimensional codes that can see at present can not be really stealthy, influences very much the aesthetics of printing item.
The invisible two-dimensional codes that can see because coding is immature, causes decoding complicated at present, and is too high to the microcomputer performance requirement, is unfavorable for marketing.
Summary of the invention
At the problems referred to above, the present invention aims to provide that a kind of coding is simple, the carrying data volume is big, the low invisible two-dimensional codes coding method of printing error probability.
For realizing this technical purpose, the solution of the present invention is: a kind of coding method of two-dimension code comprises as follows:
The sign indicating number shape that a, design are become by one group of 25 solid black point set of symbols, the valid pixel of described code element is 3 * 3, the mutual gauged distance between the code element is 16 pixels;
B, with first row of each yard shape with first classify position line as, the 4th code element of the 5th code element fifth line of second code element of second row of sign indicating number shape, the 3rd code element of the third line, fourth line is anchor point;
C, the whole code elements except that position line and anchor point are set at the numerical value code element, and carry out high status according to from left to right capable preface and row preface from top to bottom and arrange;
D, each code element set five possible positions, should be (0,0) with respect to its coordinate offset of standard code shape; (2,2); (2 ,-2); (2,2); (2 ,-2), wherein, drop on the position line and anchor point on code element coordinate one be decided to be (0,0); The code element that drops on the numerical point is (0,0) scarcely, but the code element that drops on the numerical point can be (2,2); (2 ,-2); (2,2); Any one of (2 ,-2).
In whole code sets, reserve 43 powers and be used as redundancy check.
The coding of this programme possesses the height hidden property, and recessive printing does not influence the aesthetics of publication substantially; Coding method is simple, and is less demanding to printing precision; Decoding is simple, and general 8 single-chip microcomputers are trusted decoding computing; Code word is redundant big, allows printing error bigger, and error probability reduces.
Description of drawings
Fig. 1 is sign indicating number shape figure of the present invention.
Fig. 2 is a numerical value symbol diagram of the present invention.
Fig. 3 is an element position coding synoptic diagram of the present invention.
Embodiment
Below in conjunction with the drawings and specific embodiments the present invention is described in further details.
The coding method of two-dimension code of the present invention is:
I. the sign indicating number shape:
A sign indicating number shape is made up of one group of 25 code element, and code element is solid stain, and the valid pixel of each code element is 3X3, retouches the black solid dot that is.Mutual gauged distance between the code element is 16 pixels, as shown in Figure 1.
Ii. position line and anchor point:
First row and first of each yard shape is classified position line as, and the 4th code element of the 5th code element fifth line of second code element of second row of sign indicating number shape, the 3rd code element of the third line, fourth line is anchor point.
Iii. numerical value code element:
More than the whole code elements except that position line and anchor point are the numerical value code element, and according to as shown in Figure 2 high low level series arrangement,
Iv. element position:
Each code element has five possible positions.With respect to standard code shape, the coordinate offset of code element should be (0,0); (2,2); (2 ,-2); (2,2); (2 ,-2).As shown in Figure 3.Wherein, drop on the position line and anchor point on code element coordinate one be decided to be (0,0).The code element that drops on the numerical point is (0,0) scarcely, but the code element that drops on the numerical point can be (2,2); (2 ,-2); (2,2); Any one of (2 ,-2).
V. according to more than, all code sets should be 16777216 (4 12 sides), wherein reserve 43 sides and are used as redundancy check, so the available code set of this encoding scheme reality should be 262144 (4 9 sides).
Vi. generate coding:
Instrument generates the individual numbering of 0-262144 (4 9 sides), input redundancy check instrument, and the scope of obtaining is 0-16777216 (4 12 sides') an actual coding sequence, quantity is 262144 (4 9 sides).
Vii. spread sign indicating number:
Shop sign indicating number instrument is according to above-mentioned sign indicating number shape, the individual actual coding sign indicating number shape of output 262144 (4 9 sides).

Claims (2)

1. the coding method of a two-dimension code comprises as follows:
The sign indicating number shape that a, design are become by one group of 25 solid black point set of symbols, the valid pixel of described code element is 3 * 3, the mutual gauged distance between the code element is 16 pixels;
B, with first row of each yard shape with first classify position line as, the 4th code element of the 5th code element fifth line of second code element of second row of sign indicating number shape, the 3rd code element of the third line, fourth line is anchor point;
C, the whole code elements except that position line and anchor point are set at the numerical value code element, and carry out high status according to from left to right capable preface and row preface from top to bottom and arrange;
D, each code element set five possible positions, should be (0,0) with respect to its coordinate offset of standard code shape; (2,2); (2 ,-2); (2,2); (2 ,-2), wherein, drop on the position line and anchor point on code element coordinate one be decided to be (0,0); The code element that drops on the numerical point is (0,0) scarcely, but the code element that drops on the numerical point can be (2,2); (2 ,-2); (2,2); Any one of (2 ,-2).
2. the coding method of two-dimension code according to claim 1 is characterized in that: reserve 43 powers and be used as redundancy check in whole code sets.
CN2010101987991A 2010-06-11 2010-06-11 Method for encoding two-dimensional code Pending CN102279934A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2010101987991A CN102279934A (en) 2010-06-11 2010-06-11 Method for encoding two-dimensional code

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2010101987991A CN102279934A (en) 2010-06-11 2010-06-11 Method for encoding two-dimensional code

Publications (1)

Publication Number Publication Date
CN102279934A true CN102279934A (en) 2011-12-14

Family

ID=45105370

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2010101987991A Pending CN102279934A (en) 2010-06-11 2010-06-11 Method for encoding two-dimensional code

Country Status (1)

Country Link
CN (1) CN102279934A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102615977A (en) * 2012-03-22 2012-08-01 李卫伟 Jet printing method and jet printing machine for coded patterns
CN103336985A (en) * 2013-07-12 2013-10-02 深圳大学 Two-dimensional code identification, reading and micro platemaking method and device
CN108507596A (en) * 2018-03-05 2018-09-07 中国科学院上海光学精密机械研究所 Two-dimentional gold matrixes method for encoding absolute position and its coding/decoding method
CN110858321A (en) * 2018-08-26 2020-03-03 吴成彬 Electronic passive tag coding construction method based on optimal distance judgment
CN112990404A (en) * 2021-02-08 2021-06-18 北京声智科技有限公司 Method and device for generating sample identification code pattern, acquisition method and electronic equipment

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102615977A (en) * 2012-03-22 2012-08-01 李卫伟 Jet printing method and jet printing machine for coded patterns
CN102615977B (en) * 2012-03-22 2014-10-01 北京慧眼智行科技有限公司 Jet printing method and jet printing machine for coded patterns
CN103336985A (en) * 2013-07-12 2013-10-02 深圳大学 Two-dimensional code identification, reading and micro platemaking method and device
CN103336985B (en) * 2013-07-12 2016-07-06 深圳大学 The method of Quick Response Code identification, recognition and micro plate-making and device
CN108507596A (en) * 2018-03-05 2018-09-07 中国科学院上海光学精密机械研究所 Two-dimentional gold matrixes method for encoding absolute position and its coding/decoding method
CN108507596B (en) * 2018-03-05 2020-06-30 中国科学院上海光学精密机械研究所 Two-dimensional gold matrix absolute position coding method and decoding method thereof
CN110858321A (en) * 2018-08-26 2020-03-03 吴成彬 Electronic passive tag coding construction method based on optimal distance judgment
CN110858321B (en) * 2018-08-26 2023-10-13 吴成彬 Electronic passive tag coding construction method based on optimal distance judgment
CN112990404A (en) * 2021-02-08 2021-06-18 北京声智科技有限公司 Method and device for generating sample identification code pattern, acquisition method and electronic equipment
CN112990404B (en) * 2021-02-08 2022-01-28 北京声智科技有限公司 Method and device for generating sample identification code pattern, acquisition method and electronic equipment

Similar Documents

Publication Publication Date Title
CN101334849B (en) Two-dimension code label symbol creation method and apparatus
CN105938569B (en) For generating and printing the method and system of three-dimensional barcode
EP2091007B1 (en) Two-dimension code, decoding method thereof and printing publication for applying two-dimension code
CN102592160B (en) Character two-dimension code encoding and decoding method for short message
CN102279934A (en) Method for encoding two-dimensional code
US20090078475A1 (en) Coding and Decoding Methods and Apparatuses
US20040246529A1 (en) Printed media products including data files provided in multiple layers of encoded, colored dots
US7604180B2 (en) Code pattern, printed matter, image generating apparatus, image processing apparatus, image generating method, and information identifying method
CN101996336B (en) Method and device for generating and decoding two-dimensional bar code
WO2010099738A1 (en) Method for embedding and identifying information in print image
WO2006114827A1 (en) Clear two-dimensional code, article having two-dimensional code, two-dimensional code printing method, and display method
CN101515335A (en) Color two dimension bar code with high compression ratio Chinese character coding capability and its coding and decoding method
WO2017198189A1 (en) Generation and reading method and device for colour identified colour two-dimensional figure code
KR20070036150A (en) Coding and decoding of data
CN205139959U (en) Financial transaction card with 3D prints picture and text surface
US7611067B2 (en) Printed material with identification function, image generating apparatus, image processing apparatus, image generating method, image processing method, and program product therefor
CN101751591A (en) High-capacity two-dimensional barcode capable of recording voice message and reader
JP2003528402A (en) Method and system for storing encoded patterns
US8678296B2 (en) Two-dimensional optical identification device with same gray level
CN102214312A (en) Two-dimensional code and automatic identification voice playing device using same
CN105260896A (en) Anti-counterfeiting method and anti-counterfeiting system
CN103268507A (en) Three-dimension code coding method
CN101707735A (en) Code generation method suitable for mobile phone to touch-read and play multimedia
US20240086670A1 (en) Methods for constructing, generating, and reading dot-matrix code, dot-matrix code generating and reading terminals, and dot-matrix code system
US20080235282A1 (en) Personal Computing Apparatus and a Method Therein

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20111214

RJ01 Rejection of invention patent application after publication