CN102194091A - Method for coding invisible two-dimensional code, presswork and reading method - Google Patents

Method for coding invisible two-dimensional code, presswork and reading method Download PDF

Info

Publication number
CN102194091A
CN102194091A CN2010102309100A CN201010230910A CN102194091A CN 102194091 A CN102194091 A CN 102194091A CN 2010102309100 A CN2010102309100 A CN 2010102309100A CN 201010230910 A CN201010230910 A CN 201010230910A CN 102194091 A CN102194091 A CN 102194091A
Authority
CN
China
Prior art keywords
code
reference symbol
code element
invisible
virtual
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN2010102309100A
Other languages
Chinese (zh)
Other versions
CN102194091B (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.)
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 CN2010102309100A priority Critical patent/CN102194091B/en
Publication of CN102194091A publication Critical patent/CN102194091A/en
Application granted granted Critical
Publication of CN102194091B publication Critical patent/CN102194091B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention relates to a method for coding an invisible two-dimensional code, a presswork and a reading method. The positioning part of the invisible two-dimensional code comprises an elongated reference code element and a directional code element placed mutually vertically; the data part of the invisible two-dimensional code comprises a plurality of data code elements; virtual net lines distributed uniformly along the transverse direction and the vertical direction are virtually arranged in each code word area according to a first distance L, the cross points of the virtual net lines form virtual lattice points, and the centers of the reference code element and the directional code element are positioned one of the virtual lattice points respectively; a data code element is arranged at other each virtual lattice point along the transverse direction or/and the vertical direction shifting the forward direction or the reverse direction for a second distance d; and all the data code elements undergo weighting cascade combination according to the weight of each virtual lattice point and the weight of each shifting azimuth of the data code elements in the same code element area, and corresponding code values can be acquired. The invisible two-dimensional code has larger code value space under the same code word area and the same code element density condition.

Description

The coding method of invisible two-dimensional codes, printed matter, and reading method
Technical field
The present invention relates to planar bar code technology, particularly a kind of coding method of invisible two-dimensional codes, be printed with the printed matter of this invisible two-dimensional codes and the reading method of this invisible two-dimensional codes.
Background technology
Two-dimension code is because big, the plurality of advantages such as coding range is wide, error correcting capability is strong, good confidentiality of its information capacity, be used widely in all trades and professions rapidly, QR sign indicating number (two-dimension code a kind of, QR is the abbreviation of Quick Response) has printed by national standard on the train ticket that uses of system of real name in China.
Popular two-dimension code mostly is square matrix code at present, represents data 1 or 0 with regularly arranged black, white blocks in the rectangular area of an agreement.The all possible data field that is arranged to form this 2 D code system of black, white blocks diverse location in the rectangular area of agreement.
For ease of narration, below we are called " code word " with top said " rectangular area of agreement "; Black, white blocks are called " code element "; Certain combination numeric value represented of code element in the code word is called " code value "; All code values that can characterize code word call " sign indicating number territory "; The code value total amount that comprises in the sign indicating number territory is called " sign indicating number amount ".
Except can characterization data, two-dimension code also must be able to correctly be distinguished, otherwise two-dimension code is just without any practical value.Usually, the two-dimension code deviser can embed some changeless graphic (Pattern) location and directed foundation as the recognition code word in code word.For example, that three location are set in the upper left corner, the upper right corner, the lower left corner of its code word is graphic for QR sign indicating number shown in Figure 1; DM sign indicating number shown in Figure 2 is at the left side and the following complete black frame or the like that is provided with of its code word.These graphic effects are positions of location code word and read a yard direction.
Having many uses of two-dimension code can be printed as attribute that plain code is used to identify commodity, specification etc., also can be printed as the dark line that naked eyes are difficult for discovering and be embedded in the printed article, as anti-counterfei waterprint or certain sign.A kind of special application is, diverse location at printed article embeds the different two-dimension code of code value, by custom-designed recognizer the printed article diverse location is distinguished, obtain being embedded in the two-dimension code code value of this position, carry out predetermined actions according to the code value that obtains then, such as sending corresponding sound, playing corresponding video frequency program etc.In this application, usually recognizer is designed to lip pencil, be called talking pen visually; Abbreviate this special two-dimension code as stealthy sign indicating number; The printed article that embeds stealthy sign indicating number is called multi-media book.
Obviously, in talking pen is used,, disturbs body matter for fear of being formed, must must be as far as possible little symbol design, and the density between the code element is rare as far as possible.In addition, in order accurately to identify the fine pattern that intersection is gathered, the area of code word is the smaller the better.Therefore, concerning talking pen was used, the invisible two-dimensional codes of employing must be in the code word area of trying one's best little, to try one's best little and few code element of trying one's best, to obtain the big sign indicating number of trying one's best and measure.
Fig. 3 is a kind of code word synoptic diagram of invisible two-dimensional codes.Wherein, a code word is divided into 4 * 4 rectangular blocks 301, four jiaos of lattice points 302 that a location usefulness is all arranged of each rectangular block 301, the center 303 of each rectangular block 301 is layout centers of data symbols 304, and data symbols 304 is arranged on upper and lower, the left side of central point 303 or the right avertence position from distance to a declared goal by the requirement of represented code value.The lattice point 305 in code word bosom is towards a certain direction skew distance to a declared goal, so that the direction of recognition code word to be provided.Like this, the data symbols 304 in each rectangular block 301 can be represented one 2 bit, and 16 2 bits of 16 rectangular block 301 representatives can be represented (22) 16=2 32=4,294,967,269 decimal numbers, promptly the sign indicating number amount is 4,294,967,269.
At application number is 200610075770.8, and publication number is in the patented claim of CN101064013A, and above-mentioned two-dimension code has been carried out improvement as shown in Figure 4.Wherein, code word 401 comprises a table header 402 and a data portion 403.Comprise a plurality of location code elements 404 of arranging in the table header 402, be used to provide the direction and the boundary of recognition code word by predetermined way.Data portion 403 is divided into some state regions 405, and a data code element 406 is set in each state region 405, and data symbols 406 is positioned at according to the numerical value that characterizes among any one of 4 virtual regions dividing equally state region 405.In code word shown in Figure 4,7 location code elements of table header, 9 data code elements of data portion.9 data code elements can represent (2 2) 9=2 18=262,144 decimal numbers, the sign indicating number amount of the two-dimension code after promptly so improving is 262,144.
In fact, the symbol design of data division is identical in the code word of Fig. 3 and Fig. 4, and the improvement of Fig. 4 mainly is table header, i.e. localization part.Because the code element that is used to locate reduces to some extent, its code word area utilization increases, thereby can design code word littler, makes it littler to the influence of body matter.Obviously, with respect to code word shown in Figure 3, the improvement code word of Fig. 4 is more suitable for using in the talking pen field.
Yet still there is the inadequate problem of code word area utilization in this code word, to such an extent as to the sign indicating number amount of this kind invisible two-dimensional codes is less.
Summary of the invention
Still there is less, the inadequate problem of code word area utilization of sign indicating number amount in code word at existing invisible two-dimensional codes, the present invention proposes a kind of better invisible two-dimensional codes system and reading method thereof, on littler code word area, under the prerequisite that does not increase code element density and recognition difficulty, obtain bigger sign indicating number amount.
For solving the problems of the technologies described above, the present invention proposes a kind of coding method of invisible two-dimensional codes, in each code word district, comprise localization part and data division, comprise strip reference symbol and directed code element of strip vertical with described reference symbol on direction of a horizontal or vertical placement in the described localization part; Comprise a plurality of circles or square data code elements in the described data division; In the described code word district of each invisible two-dimensional codes with the first spacing L virtual be provided with along laterally, vertically by the virtual netting twine of m * n arranged, described virtual netting twine intersects m * n virtual lattice point of formation, and the center of described reference symbol and directed code element lays respectively at one of them virtual lattice point place, and m wherein, n are the natural number greater than 1; Based on each virtual lattice point along laterally and/or different permutation and combination vertical and/or that laterally vertically be offset the second spacing d earlier more respectively form a plurality of virtual holes that are used to be provided with data symbols, and only in a described virtual hole data code element is set therein based on each virtual lattice point.
In a preferred embodiment of the present invention, described directed code element is positioned at from described reference symbol along its lateral excursion M doubly the first spacing L and along its vertical skew N position of the first spacing L doubly; M wherein, N be not for equaling 0 integer simultaneously; And when m=n, the absolute value of described M, N can not equal m/2 simultaneously.
In the preferred version of the present invention, the virtual lattice point that described virtual netting twine intersect to form can form 3 * 3,3 * 4,4 * 4 or the matrix of other combinations, wherein two virtual lattice points are used to be provided with reference symbol and directed code element, and remaining virtual lattice point is used to be provided with data symbols.
Among the present invention, described reference symbol and directed code element can be solid line strip or dotted line strip.Described dotted line strip code element is that the color lump of size a, identical with described data symbols and color is formed by two center distance preferably, and the minimum spacing A between any two adjacent data code elements should be greater than more than 1.5 times of described spacing a in the described data division.
The present invention also provides a kind of printed matter that is printed with above-mentioned invisible two-dimensional codes, and for example the multi-media book product cooperates aforementioned talking pen can form the Sound teaching material system again.
The present invention also proposes a kind of method that above-mentioned invisible two-dimensional codes is distinguished, and it is characterized in that, may further comprise the steps:
(1), receives from the image that contains at least 1 code word of the printed article photographs gained that is printed with described invisible two-dimensional codes;
(2), in image by from left to right, mode from top to bottom, seeks a strip code element, and to establish it be imaginary reference symbol;
(3), be the center with described imaginary reference symbol, the direction of pointing to along the narrow limit of its strip is offset M * L to the right, offsets downward N * the L position, level and vertical both direction ± seek in the L/2 scope, if find one with respect to the vertical strip code element of placing of described imaginary reference symbol, then this strip code element is directed code element, and the described imaginary reference symbol of simultaneous verification is real reference symbol.If do not find described directed code element, illustrate that then described imaginary reference symbol is not real reference symbol, get back to step (2) this moment, seeks next imaginary reference symbol and handle equally, up to finding directed code element;
(4), according to the position of described reference symbol, directed code element, and they are in the rule of arranging in described code element district, calculate the position of each virtual lattice point; Near each virtual lattice point, seek corresponding data symbols then; According to the weight of described each data symbols, can determine the digit value of each data symbols in the representative of this code element district to the direction of displacement of virtual lattice point; According to the weight of virtual lattice point in whole code value that data symbols centered on, all data symbols are weighted the cascade combination again, can obtain the code value of current code word image representative.
Owing to taked technique scheme, compare with the code word of existing two-dimension code, reference symbol, directed code element only take in total code element 2 among the present invention, obviously have bigger code value space under same code word area and code element density conditions.
Description of drawings
Fig. 1 is the code word synoptic diagram of QR sign indicating number in the prior art;
Fig. 2 is the code word synoptic diagram of DM sign indicating number in the prior art;
Fig. 3 is the code word synoptic diagram of a kind of invisible two-dimensional codes in the prior art;
Fig. 4 is the code word synoptic diagram of the invisible two-dimensional codes after a kind of improvement the in the prior art;
Fig. 5 is that the element position of the invisible two-dimensional codes of one embodiment of the invention concerns synoptic diagram;
Fig. 6 is that data symbols shown in Figure 5 illustrates synoptic diagram from the direction of displacement of virtual lattice point and the weight of corresponding numerical value;
Fig. 7 is that the code value of invisible two-dimensional codes in the one embodiment of the invention is the code word synoptic diagram of octal numeral 0123456765;
Fig. 8 is that the code word that 64 code values of the invisible two-dimensional codes of one embodiment of the invention are octal numeral 0123456765 is arranged the synoptic diagram of printing by 8 * 8 matrix forms;
Fig. 9 is that reference symbol and directed code element are the synoptic diagram of two point formula dotted line strip code element in the code word of a preferred embodiment of the invention;
Figure 10 is that the code value of being made up of 16 code elements of a preferred embodiment of the invention is the code word synoptic diagram of octal numeral 01234567654321;
Figure 11 is that the code word of 44 * 4 code elements of a preferred embodiment of the invention is pressed the printing synoptic diagram of 2 * 2 arranged;
Figure 12 is directed code element and the irrational synoptic diagram of reference symbol putting position in the code word of one embodiment of the invention;
Figure 13 is the software flow pattern of the reading method of invisible two-dimensional codes of the present invention.
Embodiment
In one embodiment of the present of invention, the code word figure of invisible two-dimensional codes as shown in Figure 5.Wherein, a vertical strip reference symbol 502 that is used to locate of placing is arranged in the upper left corner in code word district 501, at reference symbol 502 centers to the right (laterally) skew 3L downwards (vertically) be offset the strip orientation code element 503 that the 2L place is a horizontal positioned.
Center with reference symbol 502 and directed code element 503 is to angular vertex, is laterally carrying out 3 five equilibriums, is vertically carrying out 2 five equilibriums and calculate the virtual netting twine 504 that spacing is L and the virtual lattice point 505 at netting twine intersection point place.
Based on each virtual lattice point 505 along laterally, vertical, and laterally vertical more earlier each offset distance d 8 virtual holes 507 of code element are arranged, form a code element district 506.Herein " skew " in virtual hole comprise forward and reverse skew, horizontal skew-d left for example, or horizontal offset d to the right; Vertically then be to be offset up or down; Earlier horizontal in addition vertical again skew also can be earlier vertical horizontal again skew, comes to the same thing.A data code element 508 can only be contained in each code element district 506, and this data symbols 508 must be arranged within 8 virtual holes 507 in this code element district 506 any one.All data symbols 508 all are small circular or square code elements.During concrete enforcement, also can only use the virtual hole of part wherein, for example only use wherein 4 or 6 virtual holes as the virtual hole that data symbols can be set.
The virtual hole 507 of 8 code elements in same code element district 506 has different weights, represents different numerical value when data symbols 508 is positioned at different virtual hole 507.In the present embodiment, represent 0 when specified data code element 508 is positioned at the virtual hole of the code element in 506 lower left corners, code element district, other that be positioned at thus to the right, make progress counterclockwise are represented numerical value 1-7 respectively during virtual hole, and promptly a code element district 506 can represent (2 3=) 8 numerical value.Data symbols 508 in code element district 506 the position and the relation of the numerical value of representative as shown in Figure 6.
In the present embodiment, except the virtual lattice point that reference symbol 502 and directed code element 503 take, also have 10 virtual lattice points, corresponding 10 code element districts can hold 10 8 system data bit.Therefore, the sign indicating number amount of present embodiment is for (2 3) 10=2 30=1,073,741,824.
In the practical application, the virtual netting twine of drawing among Fig. 5 504, " * " on the virtual lattice point 505 and virtual hole 507 do not exist, and it is drawn out just for the position relation of each code element is described.Fig. 7 is the practical code word synoptic diagram after code word shown in Figure 5 is cancelled these virtual elements.
Among Fig. 5, from reference symbol, 10 code element districts 506 are arranged to the right, downwards respectively, the data symbols in each code element district lays respectively at that weight is followed successively by in 0,1,2,3,4,5,6,7,6,5 the virtual hole in the district, so 10 data code elements are represented the number 0,1,2,3,4,5,6,7,6,5 of octal numeral respectively among the figure.In addition, regulation is from reference symbol, to the right, each code element district weight in whole code value of being arranged in order downwards is respectively 8 9, 8 8, 8 7, 8 6, 8 5, 8 4, 8 3, 8 2, 8 1, 8 0, the code value of the code word among Fig. 7 should be octal numeral 0123456765 as can be known.
Fig. 8 is of the present invention by the synoptic diagram of 64 code values shown in Figure 7 code word that is octal numeral 0123456765 by the printing of 8 * 8 matrix forms.Invisible two-dimensional codes often is embedded in the printed article as dark line with this matrix form array configuration in the practicality, forms the product that is printed with invisible two-dimensional codes, and for example the multi-media book product cooperates aforementioned talking pen can form the Sound teaching material system again.
Obviously, compare with code word shown in Figure 4, the code word area of Fig. 5 has reduced 1/4 (being reduced to 12 code elements by 16 code elements), the sign indicating number amount increases by 2 12Times, and do not increase code element density substantially.For the application of talking pen, the present invention has significant advantage.
Must be pointed out that so-called among the present invention " strip " code element both can be a solid line strip code element, also can be dotted line strip code element.If adopt dotted line strip code element, then both can be the dotted line strip code element between black-white point (white point refers to the point of background colour) homogeneous phase, also can be the different dotted line strip code element of black-white point size or length.Preferably, adopt two point type dotted line strip code element, its two ends are that centre distance is the stain of a, with the reference symbol in the code word shown in Figure 5 and directed code element change into after the rectangular code element of two point type dotted line the code word synoptic diagram as shown in Figure 9.With reference to Fig. 9, for avoiding distinguishing mistake, two point dotted line strip code element must make the data symbols 508 in adjacent code element district 506 ask more than 1.5 times of the centre distance a of possible minor increment A greater than two end points of the rectangular code element of two point type dotted line when design.
In the practicality, if the printing precision that adopts is 1200dpi, one group of relatively more suitable design parameter is the disk that data symbols is designed to diameter 0.042333mm; The spacing L=0.33867mm of virtual lattice point; The offset distance d=0.0635mm of center, virtual hole and virtual lattice point; The centre distance of two end points of two point type dotted line strip code element is a=0.084667mm or a=0.0635mm.Like this, the area of a code word has only 1.016 * 1.35467mm 2, the code word area utilization obviously is very high.
In addition, Fig. 5 or code word design shown in Figure 9 are one embodiment of the present of invention, are not construed as limiting the invention.Have a lot of variations to include but not limited to following several in the practicality for selecting for use:
(1), can adopt the code element of varying number to constitute code word, as 3 row, 3 row, 3 row, 4 row, 4 row, 4 row, 4 row, 5 row, 5 row, 5 row or the capable n row of other any m.Figure 10 adopts the code word synoptic diagram of 16 code elements by another embodiment of 4 * 4 arranged, and its yard amount is increased to (2 3) 14=2 42=4,398,046,511,104.
(2), reference symbol and directed code element in code word the position and towards can suitably changing.Such as, reference symbol horizontal positioned, the vertical placement of directed code element etc.
(3), reference symbol and directed code element not necessarily just in time be positioned at code word to angular vertex, can be positioned at other appropriate locations, code word district.Such as, in the code word shown in Figure 10, the reference symbol position there is not change, and directed code element is close to reference symbol and places, and such configuration is more convenient for distinguishing and rotation.
What be worth particularly pointing out is that the disposing way of directed code element and reference symbol makes codeword size have the adaptivity of multi-code type in the code word shown in Figure 10.We are explained with Figure 11.
Figure 11 is the synoptic diagram of the code word of 44 * 4 code elements as shown in figure 10 according to the printing of 2 * 2 arranged.Find out by figure, though each code word 11-1 has only a reference symbol 11-2 and a directed code element 11-3, but because code word all is according to evenly distributed matrix-style printing in the practicality, therefore the reference symbol 11-1 of the reference symbol 11-4 of adjacent code word and this code word constitutes four summits of a rectangular area 11-6, and these 4 summits can be used to determine the size of code word.For this point is described, we are labeled as L with the directed code element 11-3 of this code word apart from the distance of reference symbol 11-2, the distance of the reference symbol 11-4 of the adjacent code word of reference symbol 11-2 and horizontal direction is labeled as W, the distance of the reference symbol 11-4 of reference symbol 11-2 and the adjacent code element of vertical direction is labeled as H.If W=4L illustrates that this code word has 4 code elements in the horizontal direction; If W=3L illustrates that this code word has 3 code elements in the horizontal direction; Usually, if W=mL illustrates that this code word has m code element in the horizontal direction.Similarly, if H=nL illustrates that this code word has n code element in vertical direction.In other words, no matter the size of code word is 3 * 3,3 * 4,4 * 4,4 * 5,5 * 5 or other any m * n dot matrix, can distinguish by same recognition pen.
But the relative position of directed code element 11-3 and reference symbol 11-2 can not arbitrarily be put.In the code word as Figure 12, directed code element 12-2 just in time is half of symbol width W and code element height H apart from the distance D of reference symbol 12-1, and this does not influence recognizer 12-3 recognition is correct code word.If but the image that photographs has rotated 90 degree, then recognizer may be treated as reference symbol with directed code element 12-4, and reference symbol 12-6 is used as directed code element, will be a code word with 12-5 recognition like this, and this obviously is wrong.Therefore, directed code element should be avoided this situation apart from the putting position of reference symbol.
Analyze as can be known, this situation only occurs under the situation of square code word.Usually, for the square code word that arranged is used, directed code element can not just in time be positioned at the square center of the reference symbol composition of 4 adjacent code words.That is, directed code element can not just in time all be half of W (or H) apart from the distance of reference symbol.
Below with reference to the reading method of Fig. 5 and Figure 11 explanation for the invisible two-dimensional codes in the above embodiment of the present invention, corresponding process flow diagram is seen Figure 13.
(1), take pictures facing to the printed article that is printed with invisible two-dimensional codes of the present invention, the image area that obtains should be enough big, makes wherein to contain at least 4 reference symbols with the optics talking pen.
(2), the taking lens in the talking pen has special light sources, the image of shooting carries out filtering to other colors, the image that obtains only contains the color and background look of printed book invention invisible two-dimensional codes.In case of necessity, can also carry out binary conversion treatment to the image of taking, obtain only containing accurately the black white image of invisible two-dimensional codes of the present invention with software.
(3), in image from the upper left corner, by from left to right, mode from top to bottom, seek a strip code element, with it as the first imaginary reference symbol 11-2.
(4), because invisible two-dimensional codes all is by evenly distributed matrix-style printing, and take in the gained image and contain 4 imaginary reference symbols at least, continue in this way to seek, must find the imaginary reference symbol 11-4 of 3 adjacent code words, the center of they and the first imaginary reference symbol 11-2 constitutes 4 summits of a rectangular area in theory.
(5), consider when taking generally accurate perpendicular alignmnet paper not of camera lens, so the image of taking is understood some distortion, if what therefore (4) center that goes on foot 4 rectangular code elements that find constituted is not an accurate rectangle, then needing with the first imaginary reference symbol is that basic point is out of shape correction to image, makes these 4 code element centers be positioned at 4 summits of rectangle just.
(6) moreover, the image of shooting can just in time not be a level generally, promptly the pixel orientation of code word direction and image is normally inconsistent.Must be that the center of circle is rotated image with the center of the first imaginary reference symbol 11-2 according to (5) rectangular area that obtains of step, make the imaginary reference symbol center of the adjacent code word in the right just in time be on the horizontal pixel line by the first imaginary reference symbol 11-2 center.
(7), seek the directed code element 11-3 vertical in correction, postrotational horizontal rectangular zone with the first imaginary reference symbol, if can not find the directed code element of expection, be judged to the printing quality problem, can abandon this code word, with the imaginary reference symbol of next adjacent code word as the first illusion reference symbol repeat (4), the searching in (7) step, up to the directed code element 11-3 that finds expection.
(8) if the offset distance and the predetermined value of the reference symbol code element directed with it that finds in step (4) or (7) are not inconsistent, illustrate that (3) the first imaginary reference symbol that finds of step is not real reference symbol, can take turns three imaginary reference symbols in addition that (4) step of changing commanders finds and check offset distance with the directed code element that finds one by one.If have an imaginary reference symbol and the offset distance of the directed code element that finds to meet predetermined value, illustrate that then this imaginary reference symbol is only real reference symbol 11-2.
(9) if directed code element that finds and (4) offset distance that goes on foot 4 imaginary reference symbols that find all do not meet predetermined value, illustrate that then 4 imaginary reference symbols all are directed code element in fact, change the directed code element that will find into as the first imaginary reference symbol this moment, repeat the process of (4), (7), (8), up to finding real directed code element.
(10) if in correction, postrotational horizontal rectangular zone, find two directed code elements vertical, mean then and find two code words that desirable complete code wherein is as effective code word with imaginary reference symbol.If two all is complete code, the code word that the present invention's regulation is got near the image upper left corner is effective code word.
(11), find real reference symbol and directed code element after, according to the multiple between the offset distance of the distance between the reference symbol of adjacent code word and directed code element and reference symbol relation, judge the line number and the columns of the code element array in the code word.
(12), after this, the rectangle of forming according to the reference symbol of adjacent code word calculates the position of each virtual lattice point; Near each virtual lattice point, find corresponding data symbols then; According to the weight of data symbols, determine the digit value of each data symbols representative to the direction of displacement of virtual lattice point; Weight according to the virtual lattice point that data symbols centered on is weighted the cascade combination to all data symbols then, obtains the code value of this code word representative.
Invisible two-dimensional codes sign indicating number amount of the present invention is very big, can tell the error checking and correction (ECC) computing that a part is used for code word recognition, so that the mistake in shooting and the printing is detected and corrects.
In actual the use, take in the image that obtains and generally comprise a more than code word.The present invention regulation, the code word that finds for the first time according to above-mentioned reading method is effective code word, other code words that this shooting obtains only are used for effective code word is carried out auxiliary positioning and the code value of effective code word is carried out error checking and correction, do not use as actual code value.

Claims (9)

1. the coding method of an invisible two-dimensional codes comprises localization part and data division in each code word district, it is characterized in that,
Strip reference symbol (502) and the directed code element (503) of strip vertical with described reference symbol (502) on direction of comprising a horizontal or vertical placement in the described localization part;
Comprise a plurality of circles or square data code elements (508) in the described data division;
In described each code word district with the first spacing L virtual be provided with along laterally, vertically by the virtual netting twine (504) of m * n arranged, described virtual netting twine (504) intersects m * n virtual lattice point (505) of formation, and the center of described reference symbol (502) and directed code element (503) lays respectively at one of them virtual lattice point (505) and locates, and m wherein, n are the natural number greater than 1;
Based on each virtual lattice point (505) along laterally and/or different permutation and combination vertical and/or that laterally vertically be offset the second spacing d earlier more respectively form a plurality of virtual holes (507) that are used to be provided with data symbols, and only in the described virtual hole (507) a data code element (508) is set therein based on each virtual lattice point (505).
2. the coding method of invisible two-dimensional codes according to claim 1 is characterized in that, described directed code element (503) is positioned at from described reference symbol (502) along its lateral excursion M doubly the first spacing L and along its vertical skew N position of the first spacing L doubly; M wherein, N be not for equaling 0 integer simultaneously; And when m=n, the absolute value of described M, N can not equal m/2 simultaneously.
3. the coding method of invisible two-dimensional codes according to claim 1 and 2 is characterized in that, described reference symbol (502) and directed code element (503) are solid line strip or dotted line strip.
4. the coding method of invisible two-dimensional codes according to claim 3, it is characterized in that, described dotted line strip code element is that the color lump of size a, identical with described data symbols and color is formed by two center distance, and the minimum spacing A between any two adjacent data code elements should be greater than more than 1.5 times of described spacing a in the described data division.
5. a printed matter is characterized in that, wherein is printed with the invisible two-dimensional codes that gets by each described method designing institute among the claim 1-4.
6. the method that the invisible two-dimensional codes that gets by each described method designing institute among the claim 1-4 is distinguished is characterized in that, may further comprise the steps:
(S1), take pictures facing to the printed article that is printed with invisible two-dimensional codes of the present invention with the optics talking pen;
(S2), in image from the upper left corner, by from left to right, mode from top to bottom, seek a strip code element, with it as the first imaginary reference symbol;
(S3), be the center with the described first imaginary reference symbol, continue to search adjacent imaginary reference symbol, until finding 4 imaginary reference symbols, these 4 imaginary reference symbols constitute 4 summits of a rectangle in theory;
(S4), seek in described rectangular area whether the directed code element vertical with the described first imaginary reference symbol is arranged, if found would judge the described first imaginary reference symbol again and the directed code element that finds between offset distance whether equal predetermined value, be real reference symbol if then show the described first imaginary reference symbol;
(S5), concern with respect to the multiple between the offset distance between the described first imaginary reference symbol and its directed code element according to the distance between the imaginary reference symbol of adjacent code word, calculate the line number and the columns of the code element array in the described code word, further calculate the position of each virtual lattice point again; Near each virtual lattice point, find corresponding data symbols then;
(S6), according to the weight of data symbols to the direction of displacement of virtual lattice point, determine the digit value of each data symbols representative; Weight according to the virtual lattice point that data symbols centered on is weighted the cascade combination to all data symbols then, obtains the code value of this code word representative.
7. reading method according to claim 6, it is characterized in that, carrying out described step (S4) before, also comprise step (S3-2), be that basic point is out of shape correction to image wherein, make these 4 imaginary reference symbol centers be positioned at 4 summits of rectangle just with the described first imaginary reference symbol; Center with the described first imaginary reference symbol is that the center of circle is rotated image again, makes the imaginary reference symbol center of the adjacent code word in the right just in time be on the horizontal pixel line by the first imaginary reference symbol center.
8. reading method according to claim 6, it is characterized in that, in described step (S4), if can not find the directed code element of expection, then abandon this code word, and with the imaginary reference symbol of next adjacent code word as the first illusion reference symbol, repeat this step, until the directed code element that finds expection.
9. reading method according to claim 6, it is characterized in that, in described step (S4), if offset distance and predetermined value between the first imaginary reference symbol that finds and its directed code element are not inconsistent, then with in addition three imaginary reference symbols of finding in the step (S3) one by one with step (S4) in the directed code element that finds check offset distance, if some imaginary reference symbols meet predetermined value with the offset distance of the directed code element that finds, illustrate that then this imagination reference symbol is real reference symbol; If the offset distance of 4 imaginary reference symbols in the step (S3) does not all meet predetermined value, then change into the directed code element that finds in the step (S4) as the first imaginary reference symbol, repeat this step (4), until finding real directed code element.
CN2010102309100A 2010-03-09 2010-07-06 Method for coding invisible two-dimensional code, presswork and reading method Expired - Fee Related CN102194091B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2010102309100A CN102194091B (en) 2010-03-09 2010-07-06 Method for coding invisible two-dimensional code, presswork and reading method

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
CN201010121154.8 2010-03-09
CN201010121154A CN101794404A (en) 2010-03-09 2010-03-09 Method for coding and reading invisible two-dimensional codes
CN2010102309100A CN102194091B (en) 2010-03-09 2010-07-06 Method for coding invisible two-dimensional code, presswork and reading method

Publications (2)

Publication Number Publication Date
CN102194091A true CN102194091A (en) 2011-09-21
CN102194091B CN102194091B (en) 2013-11-20

Family

ID=42587082

Family Applications (2)

Application Number Title Priority Date Filing Date
CN201010121154A Pending CN101794404A (en) 2010-03-09 2010-03-09 Method for coding and reading invisible two-dimensional codes
CN2010102309100A Expired - Fee Related CN102194091B (en) 2010-03-09 2010-07-06 Method for coding invisible two-dimensional code, presswork and reading method

Family Applications Before (1)

Application Number Title Priority Date Filing Date
CN201010121154A Pending CN101794404A (en) 2010-03-09 2010-03-09 Method for coding and reading invisible two-dimensional codes

Country Status (1)

Country Link
CN (2) CN101794404A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102800243A (en) * 2012-07-18 2012-11-28 湖南大学科技园有限公司 Anti-counterfeiting annular code and encoding method thereof
CN103605974A (en) * 2013-11-15 2014-02-26 刘建生 A coordinate positioning method based on two dimensional codes and a multimedia and handwriting data acquisition method
CN109919278A (en) * 2019-02-28 2019-06-21 尤尼泰克(嘉兴)信息技术有限公司 A kind of orientation method of symmetric figure two dimensional code
CN109978107A (en) * 2017-12-27 2019-07-05 田雪松 Dot matrix encoded medium and dot matrix code identification method
WO2020181592A1 (en) * 2019-03-13 2020-09-17 杭州百伴生物技术有限公司 Matrix qr code, generating method and device therefor and decoding method and device therefor

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102298688B (en) * 2011-05-18 2015-03-04 深圳市鑫全图科技有限公司 Data output and input method for invisible three-dimensional coding
CN104200251B (en) * 2011-12-26 2018-01-12 华南理工大学 A kind of method for building up of Quick Response Code
CN102831373B (en) * 2012-07-25 2015-09-09 罗晨 The data output method of multi-cascade coding
CN103679241B (en) * 2013-12-17 2016-08-17 深圳市美哲点读技术有限公司 A kind of generation method of invisible two-dimension code anti-counterfeit label and recognition methods
CN104866801B (en) * 2015-06-12 2017-11-10 矽图(厦门)科技有限公司 The identification device of more GTG invisible two-dimensional codes
CN105373823B (en) * 2015-12-08 2018-07-13 北京意锐新创科技有限公司 Generation, read method and its device of dynamic two-dimension code
CN106022201B (en) * 2016-05-10 2018-04-17 深圳龙贝物联网科技发展有限公司 Omnidirectional's readable two-dimensional bar code system and its reading method
CN110046688B (en) * 2019-04-19 2022-04-19 南京江行联加智能科技有限公司 Bar code positioning and identifying method
CN110187708B (en) * 2019-06-10 2022-07-08 大有智能科技(嘉兴)有限公司 Positioning system and method

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH10261058A (en) * 1997-03-21 1998-09-29 Dainippon Printing Co Ltd Two-dimensional data code
EP1160720A2 (en) * 2000-06-02 2001-12-05 Matsushita Electric Industrial Co., Ltd. A method for locating and reading a two-dimensional barcode
CN1963843A (en) * 2006-11-16 2007-05-16 深圳矽感科技有限公司 Two-dimension code, decode method thereof and printing publication used the same
CN101167084A (en) * 2005-04-28 2008-04-23 吉田健治 Information I/O method using dot pattern
CN101334849A (en) * 2008-07-01 2008-12-31 北大方正集团有限公司 Two-dimension code label symbol creation method and apparatus and two-dimension code label structure

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH10261058A (en) * 1997-03-21 1998-09-29 Dainippon Printing Co Ltd Two-dimensional data code
EP1160720A2 (en) * 2000-06-02 2001-12-05 Matsushita Electric Industrial Co., Ltd. A method for locating and reading a two-dimensional barcode
CN101167084A (en) * 2005-04-28 2008-04-23 吉田健治 Information I/O method using dot pattern
CN1963843A (en) * 2006-11-16 2007-05-16 深圳矽感科技有限公司 Two-dimension code, decode method thereof and printing publication used the same
CN101334849A (en) * 2008-07-01 2008-12-31 北大方正集团有限公司 Two-dimension code label symbol creation method and apparatus and two-dimension code label structure

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102800243A (en) * 2012-07-18 2012-11-28 湖南大学科技园有限公司 Anti-counterfeiting annular code and encoding method thereof
CN103605974A (en) * 2013-11-15 2014-02-26 刘建生 A coordinate positioning method based on two dimensional codes and a multimedia and handwriting data acquisition method
CN103605974B (en) * 2013-11-15 2017-10-17 刘建生 Coordinate location method, multimedia and handwriting data acquisition methods based on Quick Response Code
CN109978107A (en) * 2017-12-27 2019-07-05 田雪松 Dot matrix encoded medium and dot matrix code identification method
CN109919278A (en) * 2019-02-28 2019-06-21 尤尼泰克(嘉兴)信息技术有限公司 A kind of orientation method of symmetric figure two dimensional code
WO2020181592A1 (en) * 2019-03-13 2020-09-17 杭州百伴生物技术有限公司 Matrix qr code, generating method and device therefor and decoding method and device therefor

Also Published As

Publication number Publication date
CN102194091B (en) 2013-11-20
CN101794404A (en) 2010-08-04

Similar Documents

Publication Publication Date Title
CN102194091B (en) Method for coding invisible two-dimensional code, presswork and reading method
US7982929B2 (en) Method of sensing symmetric coded tags
CN102622626A (en) Two-dimension code and method for recognizing same
CA2606135A1 (en) Information input/output method using dot pattern
CN105426844B (en) A kind of answer card identification method
CN103632182A (en) Three-dimensional (3D) image code generating and analyzing methods and device thereof
JPH10503304A (en) Machine readable binary code
CN103605974B (en) Coordinate location method, multimedia and handwriting data acquisition methods based on Quick Response Code
EP1559063A1 (en) Orientation-indicating cyclic position codes
CN104346640A (en) Two dimensional code and method of creating same
CN103336985A (en) Two-dimensional code identification, reading and micro platemaking method and device
CN102081748B (en) Bar code pattern and bar code group pattern formed by node matrix and node line, and generation and identification method thereof
CN103164723A (en) Coding method, coding device, decoding method, decoding device and printing method
CN110114781A (en) Method for detecting and identifying long-range high density visual indicia
CN106228103A (en) A kind of recognition methods of double-deck code
CN101131735A (en) Lattice type pattern designing and decoding method and device thereof
JP2013528302A (en) Coded information system
CN107392283A (en) The generation method and system of cylindrical distortion bar code
US20100224687A1 (en) Information Indicating Memory Mark
WO2013027234A1 (en) Satellite dot type two-dimensional code and method for reading same
CN1458619A (en) Two-way readable two-dimensional bar code system and its reading method
CN102810153A (en) Equi-grey scale two-dimensional optical identification code device
US6478232B1 (en) Compact optically readable data encoding
CN209118329U (en) A kind of two-dimension code label
CN106022201B (en) Omnidirectional's readable two-dimensional bar code system and its reading 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
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20131120

Termination date: 20210706

CF01 Termination of patent right due to non-payment of annual fee