CN102890768B - A kind of anti-crack method of two-dimensional bar code - Google Patents

A kind of anti-crack method of two-dimensional bar code Download PDF

Info

Publication number
CN102890768B
CN102890768B CN201110204310.1A CN201110204310A CN102890768B CN 102890768 B CN102890768 B CN 102890768B CN 201110204310 A CN201110204310 A CN 201110204310A CN 102890768 B CN102890768 B CN 102890768B
Authority
CN
China
Prior art keywords
dot matrix
information
bar code
dimensional bar
code
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201110204310.1A
Other languages
Chinese (zh)
Other versions
CN102890768A (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.)
ABOLUO INFORMATIN TECHNOLOGY Co Ltd TIANJIN CITY
Original Assignee
ABOLUO INFORMATIN TECHNOLOGY Co Ltd TIANJIN CITY
Filing date
Publication date
Application filed by ABOLUO INFORMATIN TECHNOLOGY Co Ltd TIANJIN CITY filed Critical ABOLUO INFORMATIN TECHNOLOGY Co Ltd TIANJIN CITY
Priority to CN201110204310.1A priority Critical patent/CN102890768B/en
Publication of CN102890768A publication Critical patent/CN102890768A/en
Application granted granted Critical
Publication of CN102890768B publication Critical patent/CN102890768B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The present invention relates to the anti-crack method of a kind of New Two Dimensional bar code in field of information processing, it is characterized in that: benchmark dot matrix can be separated by the method with information dot matrix, therefore it is difficult to extrapolate the rule of dot matrix, illegal person's cracking code content can be prevented, and illegally read code, the safety of code can be improved, and false proof effectiveness, it is also adaptable for the printer of low precision simultaneously, while printing printing image, by various patterns, word embedment bulk information, make printing image attractive in appearance, the information that the most also can make embedment will not be replicated, realize the antifalse effect of commodity and tax reciept, thus, thoroughly solve bill to forge, distort, the problems such as commodity fraud spread socially, promote the harmonious development of society.

Description

A kind of anti-crack method of two-dimensional bar code
Technical field
The invention belongs to field of information processing, the anti-crack method of a kind of two-dimensional bar code.
Background technology
Along with the fast development of China's economy, the applicating and exploitation of barcode technology is false proof by tax reciept, and commodity are prevented The concern in each bar fields such as puppet.
Bar code is to be managed postgraduate's invention of subject by the Ha Fu university of the U.S. the earliest, and conception originally is; Client by inventory select oneself required commodity, by with these commodity corresponding to get with punched-card machine Card take delivery of cargo window, so that it may obtain required commodity.This card correction quantity in stock can be passed through in shop, Or as asking for the request slip of expense to client.As so advanced logistics means, but because of labour force at that time The cheapest and do not popularized.Nowadays each supermarket in the whole world, in shop on the commodity of display, Bar code is ubiquitous.Outwardly bar code because of each record information lines occupy the biggest area, because of This is easier recognition, in fact just as the area that occupies of this bar code is relatively big, not only affects commodity packaging Attractive in appearance, it is additionally, since and needs more special optical system, be the most also the recognizer cost root that is difficult to reduce Source.
Enter the later stage of the eighties, due to the particular/special requirement of gem, quasiconductor, medicine and machinery industry, Needing the information realizing more capacity on print media to describe, enterprise is given in the particularly application of bar code Industry brings huge income, and people concentrate sight the research and development having pointed to two-dimensional bar code.At this moment one is The motion of row two-dimensional bar code is fallen over each other to come out of steamer.It is exactly still to have entitled " message code and letter to Japan in 2011 The generation method of breath code " patent about two-dimensional bar code of (JP 2011-134211) is disclosed.But The progress that the most conventional two-dimensional bar code is the most breakthrough compared with a bar code technically.The most only With the square representative information " 1 " of black, and with the square representative information " 0 " of white, it is still desirable to special Printing space, it is impossible to utilize printing image embedment information.Particularly, two-dimensional bar code gives the attractive in appearance of printing image Bring infringement, this be make us always puzzled main cause.It is exactly on remote reading, due to needs Focus, there is reading speed slow, the problem that precision is low the most always.
In the later stage nineties, people start to consider to play sound on leaflet, it is desirable to have bigger information to remember State the exploitation of the code of ability.Japan has concentrated whole strength to propose with entitled " code printing in Olympus Device and the code print media being suitable for thereof " (Patent 8-208196) be a large amount of patent applications of representative.Should Motion proposes the point bigger using four summits as datum mark, can carry out several two-dimensional bar code modules and connect, Therefore voice data directly can be described by this bar code.But this two-dimensional bar code, except each point The size of battle array is less than ordinary two dimensional bar code, and can carry out outside two-dimensional bar code module connection, with common two Dimension bar code difference is little.This code was once expected to have the biggest economic benefit and application prospect, but Being eventually because needing to carry out the scanning of larger area, its operability extreme difference when distinguishing, could not finally realize former Some expected values and come to an end.
Since entering 2000, the technology of two-dimensional bar code occurs in that the progress advanced by leaps and bounds.For a dot matrix, Being described by the information of the single bit of common bar code, the information having developed into many bits describes.Occupied by needs The ordinary two dimensional bar code in independent space has developed into without occupying separate space, directly buries in printing image Enter information.A Nutou (Anoto) company of Sweden has applied for entitled " being applicable to optical read in this area The symbolization paper taken " patent (special table 2003-511761), the patent proposes and a dot matrix is laid On four positions of imaginary centres, can represent four information, this is the blank that many bit informations describe. But, this patent is only limited in this narrow scope of imaginary centres, and only considers that describing paper is situated between The coordinate figure of the two-dimensional space of matter, and the description of code information can not be realized.Under the inspiration of this patent Dagger-axe Reed (Grid) company of Japan also been proposed entitled " data inputting method based on dot pattern " (W2004/084125).This patent proposes on four summits of a given little rectangle, lays four Benchmark dot matrix, on the basis of the imaginary centres that these four benchmark dot matrix are formed, lays an information dot matrix On eight positions of imaginary centres, eight information can be represented.This company is thinking use these four at that time Summit is the core of invention, therefore by the name of company summit (Grid) this word, but, this carries Case is limited in this narrow scope of imaginary centres formed by four apex reference point battle arrays.One in fact Information dot matrix to describe inadequate science in efficiency in information, say, that four corresponding to four apex reference point battle arrays Individual apex reference point battle array might not have and there is meaning.
Half-tone screen code patent is with " can note down the half-tone screen code control method of data in a large number " on paper in the meantime For topic (CN1598873), except for printing net-point, in the case of the gray scale system not changing site, lead to Crossing the difformity changing site, diverse location, different directions, centralization and decentralization etc. can describe many bits Information.This patent, provides the most theoretical and method for imbedding information on printed medium.The most above-mentioned The phenomenon that the information that A Nutou (Anoto) company of Sweden is proposed describes, can essentially be construed to be given One same color, the dot matrix of formed objects, it is arranged in a shading according to same intervals, is not changing a little In the case of the size of battle array, by changing the position of dot matrix, so that it may describe many bit informations.Utilize dot matrix Diverse location describes why information obtains such concern, just as it can be realized by minimum dot matrix Maximum information record, the most so has the shading of information simultaneously it is also contemplated that screen characteristic, with print Its result after brush picture registration, the impact on printing image can accomplish minimum, say, that such dot matrix side Formula is suitable for the information embedment for printing image.
The theoretical basis of half-tone screen code is through utilizing screen characteristic, it is achieved imbed information in printing image After, do not affect the effect of picture quality.But, in low precision prints, such as below 200dpi precision Printing, each dot matrix has exceeded the size that naked eyes that Ruili criterion calculates are not visible, in this case, Information embedment effect attractive in appearance how can not be realized by screen characteristic?How while information is imbedded, Antifalse effect can be realized again?This will be present patent application problem to be solved.
Summary of the invention
Present invention aims to the deficiency that the constructive method of above-mentioned traditional two-dimensional bar code exists, propose A kind of method preventing code form to be cracked, the method also can possess does not destroys printing image or U.S. of commodity See, there is again security feature simultaneously.
The present invention solves it and technical problem is that and take techniques below scheme to realize:
The present invention proposes the constructive method of a kind of two-dimensional bar code, at least has following a kind of feature:
(1) information constituting two-dimensional bar code describes the set that module is the dot matrix distribution at common two-dimensional bar code In, according to including finding out distribution uniform, dot matrix is separated from each other, and increases the Hamming distances between code, Reducing the similar degree between code, improve code distributing homogeneity, the maximization of code distribution area, code divides Minimizing of cloth area, etc. the combination distribution of the dot matrix that quantity dot matrix is constituted at least one interior purpose; Or several information modules are constituted written form;
(2) the anti-means cracked constituting two-dimensional bar code include existence when benchmark dot matrix is different from information dot matrix Means, at least the point of a benchmark dot matrix is not distributed in the means on the position of reference point, actual base On schedule when the information of carrying out is imbedded, it is by least one means in the means of the form preservation of data base;Or profit With by produced for dot matrix combination dot matrix random alignment in two-dimensional space, not there is unique solution, and add After one group of benchmark dot matrix, so that it may represent that the characteristic of the one group of data determined constitutes AES;
(3) the information dot matrix in each community can carry out table by the difference of the gray value of coloured image entirety Show, or represent by different colors, maybe can less to image contributions by the bitmap of coloured image, As long as the method that the obvious low level of random distribution and information content carry out replacing is ensureing in interior at least one Under conditions of capacity of decomposition, realize, by difference, the method that information describes.
The invention allows for the recognition methods of a kind of two-dimensional bar code, at least there is following a kind of feature:
(1) image of the two-dimensional bar code read by imageing sensor, is calculated by known reference point location Go out not to be distributed in the physical location of datum mark on reference position, or it is whole to describe module by configuration information The coordinate basis of body calculates the position of the reference point being hidden, or reads from data base and to be hidden In the position of reference point, at least one method calculates reference lattice position;Or utilization adds one group After benchmark dot matrix, so that it may produced for dot matrix combination dot matrix random alignment in two-dimensional space is not had only The solution of one, the method obtaining the one group of data determined;
(2) by the set that the dot matrix of common two-dimensional bar code is distributed, according to including finding out, distribution is more equal Even, dot matrix is separated from each other, and increases the Hamming distances between code, reduces the similar degree between code, carries High code distributing homogeneity, the maximization of code distribution area, minimizing of code distribution area, etc. quantity The rule of combination of the dot matrix that dot matrix is constituted at least one interior purpose;Or several information modules are constituted The code value that the rule of written form identifies.
And, two-dimensional bar code dot matrix be by being formed containing carbon printing ink in the case of, can be at the table of two-dimensional bar code , by printing, affixing one's seal in face, laser irradiates marking and includes carbon-free oil at interior a kind of form coincidence another kind Ink, the color of R, G, B color space can not be converted directly into C, and the color of M, Y, K color space exists The image that interior a kind of ink is formed.
And, above-mentioned including carbon-free ink, the color of R, G, B color space can not be converted directly into The image that the color of C, M, Y, K color space is formed at interior a kind of ink is if latticed form Under image conditions, AES can be passed through, be combined with two-dimensional bar code.
And, described geometric dot matrix distribution refers to, constitutes the dot matrix distribution of two-dimensional bar code, is by it The presence or absence of information dot matrix, the difference of the position of information dot matrix, the difference in the direction of information dot matrix, information dot matrix The difference of shape, the difference of the quantity of information dot matrix, the result of dot matrix combination is at least one interior form The two-dimensional bar code that formed of geometric characteristic.
And, described physical dot matrix distribution refers to: constitute the distribution of the information dot matrix of two-dimensional bar code, It is the difference of modulation system by information dot matrix, the difference of the result of the phase-modulation of information dot matrix, information point The difference of the direction of propagation of battle array, the difference of the Mechanics Vector of information dot matrix, the frequency of information dot matrix distribution is not With interior, the two-dimensional bar code that the physical characteristic of at least one form is formed.
And, the view data of two-dimensional bar code is by including character library form, vector data format, picture number It is sent to ink jet numbering machine, Laser marker, numeral according to form, ink jet numbering machine or digital printer private data format In printer.
And, the image of two-dimensional bar code is formed by including the direct print form of computer, computer master making Form, virtual printing form, cover printing form, character library form, directly generate printed data and be installed to Ink jet numbering machine, digital printer, at least one form in the equipment of Laser marker realizes.
Advantages of the present invention and good effect be:
The present invention proposes the anti-crack method of a kind of two-dimensional bar code, and the method can be by benchmark dot matrix and information point Battle array separates, and is therefore difficult to extrapolate the rule of dot matrix, can prevent illegal person's cracking code content, and illegally Read code, the safety of code, and false proof effectiveness can be improved, be also adaptable for beating of low precision simultaneously Print machine, while printing printing image, by various patterns, word embedment bulk information, makes printing figure As attractive in appearance, the information of embedment the most also can be made to be replicated, it is achieved false proof effect.
Accompanying drawing explanation
Fig. 1 is the flow chart that tax reciept system beaten by machine;
Fig. 2 is the flow chart of the recognition methods of a kind of two-dimensional bar code;
Fig. 3 is the schematic diagram of the different many bit informations of directional spreding record by information dot matrix;
Fig. 4 is the schematic diagram by the many bit informations of graphic recording that information dot matrix is different;
Fig. 5 is the schematic diagram being described module by the information concentrating site and dispersion site to be constituted;
Fig. 6 is the schematic diagram of the many bit informations of result record according to different positions and phase-modulation;
Fig. 7 is the schematic diagram of the many bit informations of physical phase modulation recording of the difference by information dot matrix;
Fig. 8 is to be distributed by diverse location and the schematic diagram of the many bit informations of phase-modulation result record;
Fig. 9 is the dot matrix distribution schematic diagram that the combination configuration information by dot matrix describes module;
Figure 10 is the dot matrix distribution schematic diagram that the another kind of combination configuration information by dot matrix describes module;
Figure 11 is that the color utilizing RGB Yu CMYK to convert realizes false proof schematic diagram;
Figure 12 is addition camouflage color dot matrix, the schematic diagram of camouflage color labelling in two-dimensional bar code;
Figure 13 is the schematic diagram with the bill having two-dimensional bar code of 600dpi press printing;
Figure 14 is the schematic diagram with the bill having two-dimensional bar code of 200dpi press printing;
Figure 15 is in the space of two-dimensional bar code dot matrix, inserts the schematic diagram of camouflage color dot matrix;
Figure 16 is the schematic diagram of the composition of the two-dimensional bar code in the case of two kinds of different spectrum;
Figure 17 is the schematic diagram all represented with two-dimensional bar code by bill customized information;
The information of the quantity dot matrix such as Figure 18 is distribution describes the schematic diagram of principle;
Figure 19 is that the information that the quantity dot matrix such as employing are constituted describes module schematic diagram;
Figure 20 is the form of expression schematic diagram of the bitmap of coloured image;
Figure 21 is the schematic diagram of the two-dimensional bar code constituted with written form;
Figure 22 is the application schematic diagram of the two-dimensional bar code of the form with word;
Figure 23 is the application schematic diagram of the two-dimensional bar code with lace pattern form;
Figure 24 is the application schematic diagram of the two-dimensional bar code with shading form;
Figure 25 is pair code schematic diagram using Laser marker to realize two-dimensional bar code;
Figure 26 is the schematic diagram imbedding information with two-dimensional bar code in normal image;
Figure 27 is the schematic diagram that two-dimensional bar code has encryption character;
Figure 28 is regardless of cloth schematic diagram on reference position by benchmark dot matrix;
Figure 29 is the schematic diagram that the information hidden by reference dot matrix describes module;
Figure 30 is the schematic diagram of a kind of method of laser beam marking.
In figure:
301 is a site
302 is an information dot matrix in site
303 is another information dot matrix in site
501 is the information dot matrix of AM screen
502 is the information dot matrix of FM screen
601 is a site
602 is the information dot matrix in site
701 is a site
702 is an information dot matrix in site
800 is the dot pattern of a two-dimensional bar code
801-804 is information dot matrix
805-809 is positioning datum dot matrix
900 is the two-dimensional bar code realized by dot matrix combination
901 dot matrix representing information " 1 "
902 dot matrix representing information " 0 "
903 represent positioning datum dot matrix
1001 represent perpendicular positioning dot matrix
1002 intervals representing perpendicular positioning dot matrix
1003 represent horizontal location dot matrix
1004 intervals representing horizontal location dot matrix
1005 represent information dot matrix
1201 for using the sample ticket of the bill anti-counterfeit of two-dimensional bar code realization
1202 is two-dimensional bar code
1203 is camouflage color dot matrix
1204 is camouflage color labelling
1501 is a site of two-dimensional bar code
1502 is an information dot matrix of two-dimensional bar code
1503 is a camouflage color dot matrix of two-dimensional bar code
1701 is information record dot matrix
Dot matrix on the basis of 1702
2001 represent perpendicular positioning dot matrix
2002 intervals representing perpendicular positioning dot matrix
2003 represent horizontal location dot matrix
2004 intervals representing horizontal location dot matrix
2005 communities representing 2*2
2006 represent an information dot matrix in the community of 2*2
2201 is the information description module of 7*9 dot matrix
2202 is also the information description module of 7*9 dot matrix
2203 is the information description module of 7*17 dot matrix
2204 is the information description module of 7*7 dot matrix
2205 is the information description module of 9*11 dot matrix
2206 is the information description module of 9*7 dot matrix
2207 is the information description module of 9*7 dot matrix
2208 is the information description module of 5*7 dot matrix
2209 is the information description module of 7*7 dot matrix
2210 is the information description module of 11*7 dot matrix
2211 is the information description module of 9*7 dot matrix
2212 is the information description module of 11*9 dot matrix
2901 is actual distribution benchmark dot matrix on vertical reference position
2902 is the benchmark dot matrix not being distributed on reference position
2903 is the directional reference dot matrix that information describes module
2904 is actual distribution benchmark dot matrix on horizontal reference position
2905 is the benchmark dot matrix not being distributed on reference position
2906 is information dot matrix
3001,3004 and 3007 describe, for information, the coordinate basis dot matrix that module is overall
3002,3003,3006 and 3008 is the benchmark dot matrix occurred with hiding form
3009,3010,3011,3012 is information dot matrix
Detailed description of the invention
Below in conjunction with accompanying drawing, the embodiment of the present invention is further described, but embodiment of the present invention is to say Bright property rather than determinate.
Below in introducing present embodiment, described dot matrix be constitute two-dimensional bar code least unit, be by The gathering of several printing points forms, and printing points is the least unit can printed by printing equipment,.
The definition of heretofore described two-dimensional bar code: be can to describe information and there is certain decorating feature Computer graphical coding.
Information describes the definition of module: be the ingredient of the information description of two-dimensional bar code, a general two dimension Bar code is described module by several information and constitutes.When two-dimensional bar code comprises only an information description module, Two-dimensional bar code is equal to information and describes module.
The definition of information dot matrix: for describing the dot matrix of information.
The definition of location dot matrix: the position of calibration information dot matrix, the order of information dot matrix, and two-dimensional bar code The dot matrix in direction.
The definition of the full combination of dot matrix: in the region that a given information describes, the flat n of water sheet can be carried out Individual segmentation, splits with vertical m, thus constitutes n*m community, if the size of this community is a bit Information dot matrix required size, then the collection being entirely combined as the full combination that K arranges in n*m community of dot matrix Close,
Here,
K11, k12..., k1n
K=k21, k22..., k2n
……
Kn1, kn2..., knm
The definition of the combination of dot matrix: according to fixed purpose, therein in the full composite set of dot matrix The small set of individual combination.
The definition of capacity of decomposition: the discernible lattice dimensions of minimum of two-dimensional bar code.
Describe embodiments of the present invention in detail below.
First beat the generation process of the two-dimensional bar code introducing the present invention as a example by tax reciept system by machine, Fig. 1 is that machine is beaten The flow chart of tax reciept system.As shown in the figure: for can be in existing system, it is achieved the printing of two-dimensional bar code, And laser beam marking, the method selecting emulation to print here, i.e. in terminal, install one and there is two-dimensional bar code The emulation print routine of printing function, as independent tax reciept print system operationally, user is at needs When printing tax reciept, the driver that optional emulation prints.After selecting emulation print driver, two-dimensional bar code The program of emulation printing portion, reads bill images, the reading number of two-dimensional bar code from emulation print driver From hard disk, the data of ticket contents, the embedment message part program of two-dimensional bar code is read according to the program of part According to the such as character and graphic specified in advance, pattern, lace or burelage etc., a upper program is read The tax reciept data got are transformed into each information description module that may make up two-dimensional bar code, simultaneously by each information Describe module and be respectively filled in specified such as character and graphic, pattern, in lace or burelage, then The such as character and graphic specified by tax reciept content information, pattern, lace or burelage row will be embedded with Being listed on the position specified by tax reciept image, the program finally by emulation printing portion will have two-dimensional bar code Tax reciept image be sent to printer and print.
Here, the information description module constituting two-dimensional bar code is by including geometric distribution or physical In distribution, at least one form describes information.
The printing of tax reciept is that thermal printing exists by laser printing, ink jet printing, stylus printing, thermal transfer Any one interior printing form realizes.
For in the authentication of commodity, two-dimensional bar code laser directly can be marked on commodity, Carry out in tax reciept printing, can would indicate that the two-dimensional bar code lithographic press of the variable information of tax reciept prints.? Carry out in tobacco bale anti-counterfeit printing, can would indicate that the two-dimensional bar code intaglio press of false proof variable information prints. In carrying out antifalsification label printing, can would indicate that the variable information of label anti-counterfeit two-dimensional bar code resin plate or Adagio press printing.
If the color that the printer of above-mentioned tax reciept prints be containing carbon printing ink in the case of, can be at two-dimensional bar code Surface cover one similar with this color, but carbon-free ink or R, the color of G, B color space C, the seal of the ink of the color of M, Y, K color space can not be converted directly into, even if this tax reciept can be made The image formed by high-precision scanning, the color of two-dimensional bar code and seal color all will become a kind of color Or original color can not be become faithfully, therefore there is the antiforge function preventing replicating.
On the position of the two-dimensional bar code that will print, can also be used by printing process in tax reciept prints Carbon-free ink or R, the color of G, B color space can not be converted directly into C, M, Y, K face The ink printing of the color of the colour space goes out some patterns or camouflage color dot matrix.
Here, described geometric dot matrix distribution refers to: constitutes the dot matrix distribution of two-dimensional bar code, is by it The presence or absence of information dot matrix, the difference of the position of information dot matrix, the difference in the direction of information dot matrix, information dot matrix The difference of shape, the difference of the quantity of information dot matrix, require the collection being distributed by binary array according to user Close the result carrying out the dot matrix combination that dot matrix combination is filtered out the geometric spy of at least one interior form The two-dimensional bar code that property is formed.
And described physical dot matrix distribution refers to: constitute the dot matrix distribution of two-dimensional bar code, be by information The difference of the modulation system of dot matrix, the difference of the result of the phase-modulation of information dot matrix, the propagation of information dot matrix The difference in direction, the difference of the Mechanics Vector of information dot matrix, the difference of frequency of information point distribution interior, The two-dimensional bar code that the physical characteristic of at least one form is formed.
On common high-speed digital printer, it is achieved two-dimensional bar code is made character library by the method for high speed printing Form, it is encased in the composing system of code-spraying printer, the composing system of code-spraying printer is according to word Form processes, the two-dimensional bar code digital and corresponding with variable information number by all of variable information, Generate printed data, printed data is installed directly in high-speed digital printer, thus, it is achieved high velocity spray Code printing.
Realize the another kind of method of high speed code-spraying printing, it is simply that, by digital for all of variable information and with can Become the printing image of two-dimensional bar code corresponding to information number, printing position, the information such as printed dimensions by program, Or tool software is fabricated to the printing number of the document forms such as PDF, TIFF, PS, EPS, JPEG or BMP According to, or it is fabricated to the printed data of the print image file form of other printer vendors dictate, number will be printed According to being installed directly in high-speed digital printer, it is possible to realize high speed code-spraying printing.
That is;When being realized the printing of two-dimensional bar code by high velocity spray ink recorder or digital printer, two dimension The data of bar code are by including character library form, vector data format, image data format, ink jet numbering machine or number Word printer private data format is sent in ink jet numbering machine or digital printer.
Two-dimensional bar code can be by the two-dimensional strip of character library form in the composing system of code-spraying printer or printer Code carries out the printing of variable information, it is also possible to by the way of virtual printer, at the driver of printer On, the driver of a virtual printer is installed, the driver of this virtual printer is passed through program Connect code-spraying printer or printer, from the driver of code-spraying printer or printer, be achieved with one Printing image, this printing image in, according on the position that user specifies by relevant to variable information two Dimension bar code image sticks, and then, then is sent to code-spraying printer or printer enforcement printing or prints, repeating Above-mentioned operating process, finally achieves that the printing to whole variable information or printing.
The printing of variable information can also use the method covering printing (Overly Print), i.e. specifies user On position, the overall printing image that the image of the two-dimensional bar code relevant to variable information is sticked, it is placed on tool Have in the internal memory covered specified by the code-spraying printer of printing functionality or printer, code-spraying printer or printer Automatically by this printing image and bill, product packaging or label printing image carries out cover printing, repeat on The operating process stated, finally achieves that the printing to whole variable information or printing.
The printing of variable information can also use the method directly printed, and i.e. by program at same bill, produces The variable information printing position of the printing image of product packaging or label, often adds variable information data, with And on the picture position of the two-dimensional bar code relevant to variable information, often stick one relevant to variable information The view data of two-dimensional bar code is just sent to code-spraying printer or printer, implements printing or prints, until whole The printing of variable information or be completed for printing.
In a word, the printing of variable information data and two-dimensional bar code is by including the direct print form of computer, Computer master making form, virtual printing form, cover printing form, character library form, directly generate printing number According to and at least one form of being installed in the form in ink jet numbering machine or digital printer realize.
Fig. 2 is the flow chart of the recognition methods of a kind of two-dimensional bar code.
As shown in Figure 2: the recognition methods of a kind of two-dimensional bar code is made up of five steps.
First, in the step reading two-dimensional barcode image, by including scanner, CCD, CMOS, hands Machine camera gun reads the image of two-dimensional bar code at any one interior imageing sensor.
Here, including scanner, CCD, CMOS, cell phone cameras camera lens passes at any one interior image Sensor is when reading two-dimensional barcode image, towards two-dimensional barcode image.
Secondly, in the step of image procossing, the gray level image of two-dimensional bar code that will read in previous step, It is transformed into bianry image, is carrying out Thinning process, find out each lattice position of two-dimensional bar code.
In the step of code division, the information in each pattern is described module and is partitioned into, in order to identify it Code value.
In the step of cognizance code value, by can directly record the geometric of information or physical distribution Information describe the rule of module and identify the code value of two-dimensional bar code.
Finally, in the step of the code value of output two-dimensional bar code, show or export the code value of two-dimensional bar code.
Evaluator, when identifying two-dimensional bar code, typically uses infrared illumination, and infrared imaging sensor is carried out Identify, main ink or powdered ink or the transparent infrared ray absorbing ink etc. considering two-dimensional bar code uses carbon containing Carrying out printing, utilize these printed materials to have the characteristic to infrared ray absorbing, and C, M, Y color is to red The characteristic of outside line transmission, it is thus possible to be imbedded in two-dimensional bar code in coloured image.When using thermal printing During machine printing, due to not carbon containing in the image that thermal printer prints out, therefore can not use infrared ray evaluator It is identified, the image recognizer of visible ray therefore can be used to be identified.
Fig. 3 is the schematic diagram of the different many bit informations of directional spreding record by dot matrix.Site 301 is The two-dimensional bar code being made up of information dot matrix 302 and 303, is constituted not according to information dot matrix 302 and 303 The different information of equidirectional expression.
In figure 3, figure a can represent that information 0, figure b can represent information 1, and figure c can be with table Show that information 2, figure d can represent information 3.Two-dimensional bar code a, b, c, d obviously can regard as by not Same direction and different electromagnetic wave propagation directions, different Mechanics Vector results realizes the many bits of computer Information record.
Information shown in Fig. 3 describes the lattice arrangement of module can regard a combination during dot matrix combines entirely as As a result, i.e. the combination of dot matrix.
Fig. 4 is the schematic diagram by the different many bit informations of graphic recording computer.In the diagram, figure a Can represent that information 0, figure b can represent that information 1, figure c can represent information 2, figure d is permissible Expression information 3.
Information shown in Fig. 4 describes the lattice arrangement of module can also regard a group during dot matrix combines entirely as Close the combination of result, i.e. dot matrix.
Fig. 5 is the schematic diagram being described module by the information concentrating site and dispersion site to be constituted.Such as Fig. 5 institute Show, all of printing points in a site is constituted concentration site a that dot matrix constituted with at least The spaced point b of one scattered site composition constitutes the example of the fine roots that can imbed information.Concentrating net Point a is set as that the value of information " 1 ", dispersion site b are set as the value of information " 0 ".On the contrary, can be concentrating net Point a is set as that the value of information " 0 ", dispersion site b are set as the value of information " 1 ".
It addition, in order to constitute standard dot pattern, as it is shown in figure 5, the high H of point 501 concentrating site a50 As the diameter value of two printing points (the minimum printable size of printer), the point 501 concentrating site a Width W50Diameter value as a printing points.The point 502 of dispersion site b functions only as shading gray scale The effect of homogenization, is not used in identification, the height H of the point 502 of dispersion site51With width W51All make It it is the diameter value of a printing points.The height of site is H52, width is W52
As it is shown in figure 5, can regard amplitude modulation mode as concentrating site a is (AM) screen, decentralized network It is (FM) screen that some b regards mode of frequency regulation as.I.e. can come according to the different dot pattern of modulation system Record information.
It addition, because low frequency number site can be regarded as concentrating site a, disperses site b to regard altofrequency as Number site, it is possible to say that concentration site a is that the member record that becomes according to different frequency number is believed with dispersion site b Breath.
And then, the gray value concentrating each site of site a is big, the gray scale of each site of dispersion site b It is worth little, so alternatively concentrating site a and dispersion site b is coming of the different gray values for a point Record information.
In other words, the size concentrating the point of site a is big, and the size of each point of dispersion site b is little, so It may be said that concentrating site a and dispersion site b is to record information according to the dot pattern varied in size.
About above content, it is also possible to there is a lot of meanss of interpretation.If but with the phase of above dot pattern If Tong, within belonging to the scope of the present invention.
Fig. 6 is to be realized the many bits of computer by information dot matrix according to the result of different positions and phase-modulation The schematic diagram of information record.As shown in Figure 6: figure (a) can represent information 0, figure (b) can represent letter Breath 1, figure (c) can represent that information 2 and figure (d) can represent information 3, figure (e) and figure f Positioning datum information can be represented.
It addition, Fig. 7 is the dot matrix 701 that the given information shown in Fig. 6 describes module, by information dot matrix The point transmitting signal of the physical phase-modulation of the difference (PM) of 702 constituted (a, b, c) and (d) four Plant the schematic diagram of the result of out of phase modulation (PM).
The derivation of the mathematical model of the dot pattern being made up of phase-modulation shown in Fig. 6 with Fig. 7 is as follows Shown in.
If the function of the dot pattern being made up of the square lattice of interval T is that (x, y), then (x y) is marked ζ ζ Result after standardization is as follows:
ζ ( x , y ) = Σ i = - ∞ ∞ Σ j = - ∞ ∞ ζ i . j × η ( x - i × T , y - j × T )
Here, the signal response function for the dot pattern of phase-modulation is:
η (x-i × T, y-j × T)=η (m × T, n × T)
The level m being standardized, and the centre coordinate value of the point of vertical n-th dot pattern be (m × T, n × T), the additionally displacement of each the relative centre coordinate of point (mZ × T, n × T) of dot pattern Function be [ε (and m, n), δ (m, n)], then, the set D of dot pattern is as follows:
η (m × T, n × T)=η { ε (m, n) × T, δ (m, n) × T}+
η [1-ε (m, n)] × T, [1-δ (m, n)] × T}+ ...+
η [∞-ε (m, n)] × T, [∞-δ (m, n)] × T}+
η [1+ ε (m, n)] × T, [1+ δ (m, n)] × T}+ ...+
η [∞+ε (m, n)] × T, [∞+δ (m, n)] × T}
I.e.
[m × T+ ε (m, n) × T], [and n × T+ δ (m, n) × T] } ∈ D
Thus, input signal response function η { [i+ ε (m, n)] × T, [j+ δ (m, n)] × T} bring into after phase-shifted amount ζM-i, n-jOutput signal be:
ψ m , n = Σ i = - ∞ ∞ Σ j = - ∞ ∞ ζ m - i , n - j × η { [ i + ϵ ( m , n ) ] × T , [ j + δ ( m , n ) ] × T }
Here, control ε (m, n) and δ (m, n), so that it may realize for transmitting signal { ζ m, n} Phase-modulation.
Information shown in Fig. 6 describes the lattice arrangement of module still can regard during dot matrix combines entirely as The combination of combined result, i.e. dot matrix.
Fig. 8 is one and is distributed and the many bit informations of phase-modulation result record by the diverse location of information dot matrix Schematic diagram.As shown in Figure 8: 800 describe module image for information.801,802,803 and 804 are Information dot matrix, each point according to representing numerical value 0 to 3 shown in Fig. 6, i.e. 2 bit informations, four Point just can represent numerical value 0 to 255, i.e. 8 bit informations.Each point also may indicate that numerical value 0 to 7, I.e. 3 bit informations, four points just can represent numerical value 0 to 4096, i.e. 12 bit informations.805, 806 is horizontal direction positioning datum dot matrix, is mainly used in as information dot matrix 801-804 determining in the horizontal direction Position benchmark, or the horizontal direction initial value of phase-modulation, 808,809 is vertical direction positioning datum dot matrix, It is mainly used in as information dot matrix 801-804 at the positioning datum of vertical direction, or the vertical direction of phase-modulation Initial value.
Information shown in Fig. 8 describes the information recording method of module, it is also possible to regard relative by information dot matrix as Horizontal location dot matrix, and perpendicular positioning dot matrix diverse location distribution record many bit informations.Fig. 8 institute The information shown describes the combined result that the lattice arrangement of module can be regarded as during dot matrix combines entirely, i.e. point The combination of battle array.
Information describes module character library lattice arrangement and is possible not only to be 1*1 dot matrix, 1*2 dot matrix, 3*3 dot matrix, also Can be 3*4, or 4*4 dot matrix, or 4*5, or 5*5 dot matrix, or 5*6 dot matrix, or 6*6 dot matrix, or N*n dot matrix, as long as the geometric or physical lattice arrangement that the present invention proposes, the character library being made is all Within belonging to the interest field of the present invention.
Fig. 9 is the dot matrix distribution schematic diagram that the combination configuration information by dot matrix describes module.As shown in Figure 9: Realize another means of two-dimensional bar code, be to find out one group in the set of the dot matrix distribution of common two-dimensional bar code There is the code distribution including printing net screen characteristics, or dot matrix distribution is relatively uniform, or hamming between code The i.e. similar degree minimum that distance is maximum, or the combined result of other purposes, or the knowledge according to fixed focal length Reading feature, reduces the lattice dimensions of code, constitutes a two-dimensional bar code.
Fig. 9 is the example of the information description dot matrix module of 20*20 dot matrix, and in figure, 900 is 20*20 dot matrix Information describes dot matrix module, has a little 901 expression information dot matrix " 1 ", no point 902 expression information " 0 ", week The dot matrix 903 enclosed represents positioning datum dot matrix.As it is shown in figure 9, the dot matrix at common two-dimensional bar code is distributed Set in, according to printing net screen characteristics, find out distribution uniform, a kind of combination point that dot matrix is separated from each other Cloth, such as in each group of 6*6 dot matrix of common two-dimensional bar code, by each group of 3*3 point being separated from each other Battle array two-dimensional bar code shown in pie graph 9, the information of point one byte of matrix representation of each 3*3, it can be seen that Compared with ordinary two dimensional bar code, each dot matrix is separated from each other, and dot matrix distribution ratio is more uniform, although with above-mentioned two Dimension bar code is compared, and has some irregular distributions, but owing to describing the information of module record than above-mentioned information Amount wants big, therefore, has certain Practical significance.
It addition, for ordinary two dimensional bar code according to the needs of application, such as increase the Hamming distances between code, Reducing the similar degree between code, improve code distributing homogeneity, the maximization of code distribution area, code divides Minimizing etc. of cloth area, it is possible to achieve various dot matrix combine, and form various code shape Formula, meanwhile, can generate the character library of various dot pattern, within these all belong to the scope of the present invention.
Figure 10 is the dot matrix distribution schematic diagram that the another kind of combination configuration information by dot matrix describes module.Such as figure Shown in 10: 1001 represent perpendicular positioning dot matrix, and 1002 represent the interval of perpendicular positioning dot matrix, and 1003 represent Horizontal location dot matrix, 1004 represent the interval of horizontal location dot matrix, and 1005 represent information dot matrix.
Approximate with ordinary two dimensional bar code, here with all of community in region shared by two-dimensional bar code, i.e. have The dot matrix region of decomposable asymmetric choice net ability describes the information of a bit, information " 1 " and information " 0 " in each community Can with the black of bianry image with represent from the beginning, it is also possible to carry out table by the difference of the overall gray value of coloured image Show, it is also possible to different colors represents, it is also possible to less to image contributions by the bitmap of coloured image, The obvious low level of random distribution, rule and information content according to Figure 10 are replaced, in a word, often In one community, information " 1 " and information " 0 " are as long as under conditions of ensureing capacity of decomposition, realizing by difference Information describes.
Figure 11 is that the color region utilizing RGB color and CMYK color space to convert realizes preventing The schematic diagram of pseudo-printing.The color space that general scanner is used is RGB form, and common printing presses The color space used is CMYK form.As shown in figure 11: if color selecting is at RGB/CMYK Color region in, the image gone out printed by it can be replicated faithfully by scanner and print out, i.e. this face Territory, zone is reproducible region.The most as shown in figure 11: if selecting RGB color region or CMYK color The image gone out printed by region can not be replicated faithfully by scanner.Such principle is utilized to realize false proof The effect of printing.Such as, the color selecting K version of two-dimensional bar code, use can be printed on two-dimensional bar code The image of the trichroism composition of CMY, and for example the color of image of the fruit trichroism composition of CMY is relatively deep, and actual have black Composition, but owing to not containing carbon with in the color of image of the trichroism composition of CMY, be transmission to infrared ray, The most do not affect the recognition of the two-dimensional bar code of K version.But, if above-mentioned image is replicated by scanner, institute The color of image of the composition with black of the trichroism composition of the image printed out, originally CMY, when dividing version just In K version to be reflected in, clash with the original two-dimensional bar code in K version, therefore can not correctly read Two-dimensional bar code in K version, thus reach false proof effect.
Figure 12 is addition camouflage color dot matrix, the schematic diagram of camouflage color labelling in two-dimensional bar code.As shown in figure 12: 1201 is bill images, and 1202 is two-dimensional bar code, and 1203 is camouflage color dot matrix, and 1204 is camouflage color labelling.Two Dimension bar code uses the ink of the property distinguished, and powdered ink, a kind of printed material in ink prints, and here, can know The ink of the property read refers to;Readable printed material is used to implement printing on print media, the image after its printing, Under the illumination and corresponding imageing sensor of institute's standing wave length, can be read by imageing sensor.Camouflage color Dot matrix and camouflage color labelling use the ink of the non-property distinguished, powdered ink, and a kind of printed material in ink prints, Here, the ink of the non-property distinguished refers to;Non-readable printed material is used to implement printing on print media, its Image after printing, under the illumination and corresponding imageing sensor of institute's standing wave length, can not pass through image Sensor reads.Such as: use infrared illumination, and when infrared imaging sensor is distinguished, exist Under the conditions of this, common C, each color of M, Y all present transparent by blank sheet of paper reflective after, the most no matter by this The random color of three kinds of color synthesis, the image read at infrared ray sensor is white image, therefore, Common C, each color of M, Y broadly falls into the printed material of the non-property distinguished for infrared ray sensor.And K Version color is due to carbon containing, therefore, uses infrared illumination, and when infrared imaging sensor is distinguished, K color presents the characteristic to infrared ray absorbing with this understanding, and the image read at infrared ray sensor is Black image, therefore, with the image of K color printing, can clearly distinguish out, it is meant that at infrared ray For the ink of the property distinguished under sensor.
Camouflage color dot matrix, is mainly used in fascination machine, makes optical pickup device can not read two-dimensional bar code.Fan The size of color dot matrix is similar with two-dimensional bar code as far as possible, and arrangement can consider various, can be with two dimension The lattice arrangement of bar code is similar, it is also possible to be different.Can be neat arrangement, it is possible to so that random Arrangement.The angle of dot matrix distribution, can with the distribution angle of two-dimensional bar code always, it is also possible to different.In a word, As long as illegal person can be made cannot to be plucked out by the dot matrix of two-dimensional bar code by artificial method just may be used.
Bill images, camouflage color dot matrix, camouflage color labelling, therefore can same bill because being non-personalized data As one reinstates common offset press, relief printing plate or intaglio press and prints, and two-dimensional bar code high speed coding Machine prints.Certainly, when printing without customized information, two-dimensional bar code also can be convex with common offset press Version or intaglio press print.Camouflage color dot matrix can be a lot, and overlap with two-dimensional bar code dot matrix, also Can be arranged in the space of two-dimensional bar code dot matrix.
Camouflage color labelling is primarily used to fascination human eye, makes human eye be not readily apparent two-dimensional bar code, therefore, it can lead Enter vision mode, can be that hanging point single color printing does not becomes a pattern, it is also possible to be to become one with lattice arrangement Pattern, surface can be dull color, it is also possible to be camouflage color shape pattern, it is also possible to be made up of several patterns.
Two-dimensional bar code can be individually present, it is also possible to collectively constitutes a two dimension with camouflage color dot matrix or camouflage color labelling Bar code, say, that;Camouflage color dot matrix or camouflage color labelling can become an ingredient of two-dimensional bar code.
Figure 13 is the schematic diagram with the bill having two-dimensional bar code of 600dpi press printing.600dpi's Under printing precision, the two-dimensional bar code printed out, the size of each index point is about 0.042mm, according to Ruili criterion, visible a size of below the 0.1mm of human eye, as shown in the figure: print on SCURITY mark The two-dimensional bar code with invoice number identical information of brush is difficult to be identified by naked eyes, and adding two-dimensional bar code is print Brush by the trichroism SCURITY mark with black component formed of CMY, as it has been described above, i.e. use The most high-precision scanner is not easy to copy two-dimensional bar code.Therefore can play one mark one yard on the basis of again There is the most reproducible antifalse effect.
Figure 14 is the schematic diagram with the bill having two-dimensional bar code of 200dpi press printing.200dpi's Under printing precision, the two-dimensional bar code printed out, the size of each index point is at least about 0.13mm, root According to visible a size of below the 0.1mm of Ruili criterion human eye, as shown in the figure: print on SCURITY mark Although the two-dimensional bar code with invoice number identical information of brush can may be seen indistinctly, but, due to two-dimensional bar code It is to be printed on by the trichroism SCURITY mark with black component formed of CMY, even if as it has been described above, Still two-dimensional bar code can not be copied completely with photocopier or the most high-precision scanner.Can play equally one On the basis of marking one yard, there is again the most reproducible antifalse effect.
Bill is printed with bill identification information, beats installation two-dimensional bar code evaluator on invoice machinery at machine, just The bill identification system of invoice machinery beaten by the machine of may make up, and that can take precautions against that illegal person's false tickets really beat to reap staggering profits shows As occurring.
Figure 15 is in the space of two-dimensional bar code dot matrix, inserts the schematic diagram of camouflage color dot matrix.As shown in figure 15: 1501 describe an information recording unit of module for information, and 1502 describe an Information Matrix of module for information Point, 1503 is a point of camouflage color dot matrix.As above giving an account of as continuing, information describes the information dot matrix of module The ink printing of the employing property distinguished, camouflage color dot matrix uses the ink printing of the non-property distinguished, thus while add Having entered camouflage color dot matrix, recognizer still can accurate identify.But, if with common scanner, The information dot matrix of recessive bar code and camouflage color dot matrix all be read as a kind of color, and scanner cannot be differentiated Go out any dot matrix, if carrying out manpower intervention, scratching picture by artificial method, also not knowing which is information Describing the information dot matrix of module, which is camouflage color dot matrix, and this is just served and prevents from being scratched by high accuracy scanning The purpose that the method for picture is forged.
Figure 16 is the composition schematic diagram with read method of the two-dimensional bar code in the case of two kinds of different spectrum.As Shown in Figure 16: in a two-dimensional bar code, can be made up of information record dot matrix 1701 and benchmark dot matrix 1702, Information record dot matrix 1701 can be set in the case of a certain spectrum as having the property distinguished, due to benchmark dot matrix 1702 in the case of another kind of spectrum for having the property distinguished, they present orthogonality, i.e. information record dot matrix 1701 in the case of a certain spectrum for having the property distinguished, and have and can not know in the case of another kind spectrum The property read.In like manner, 1702 in the case of another kind of spectrum for having the property distinguished, and in former spectrum situation Under have can not the property distinguished.They also can present semi-orthogonal, i.e. at information record dot matrix 1701 and datum mark Between battle array 1702, a side is had to meet above-mentioned orthogonality.Such a considers to be primarily used to prevent illegal person profit With the optical image sensor cracking code of a certain spectrum, because, when printing two parts of two-dimensional bar code, A point version goes out in one image, therefore the position between information record dot matrix 1701 and benchmark dot matrix 1702 The relation of putting will not be destroyed because being divided into two versions, and illegal person can only be respectively to two differences when forging The image of spectrum be read out, will necessarily destroy between information record dot matrix 1701 and benchmark dot matrix 1702 Position relationship.
AES is used for the information record dot matrix of above-mentioned two-dimensional bar code, benchmark dot matrix and camouflage color dot matrix, By their position, order and numerical value are encrypted, and obtain the printing image of a random distribution.In like manner, Using decipherment algorithm by their position, order and numerical value are decrypted, and obtain original two-dimensional bar code Printing image.The purpose of this process, is scratched as replicating two-dimensional bar code by artificial also for preventing illegal person.
Figure 17 is the schematic diagram all represented with two-dimensional bar code by bill customized information.As shown in figure 17: Purchasing unit, Description of Goods, quantity, price, the amount of tax to be paid, the information such as sales unit, in password area, completely Information embedment is carried out with two-dimensional bar code.Due to be use impact printer print, although printing precision is very Low, but still can obtain quantity of information, arrange reasonable effect attractive in appearance.
The information of the quantity dot matrix such as Figure 18 is distribution describes the schematic diagram of principle.This is also the combination by dot matrix Configuration information describes the example of the dot matrix distribution of module, is also to describe many bit informations by diverse location simultaneously Geometric distribution, be also the physical distribution being described many bit informations by phase-modulation.
As shown in figure 18: utilize four dot matrix regions with decomposable asymmetric choice net ability can describe 2 by a dot matrix The information of bit, although information than Figure 10 describes few one times of the description quantity of information of module, the information due to no matter Value be how many, and the quantity of information description module dot matrix is constant, sees the most on the whole, code random It is distributed less, the density of information description and the compatible effect of aesthetic property of code can be obtained.Such as in figure (a) Can represent information " 0 ", (b) can represent information " 1 ", and (c) can represent information " 2 ", and (d) is permissible Expression information " 3 ".
Figure 19 is that the information that the quantity dot matrix such as employing are constituted describes module schematic diagram.As shown in figure 19: 2001 Representing perpendicular positioning dot matrix, 2002 represent the interval of perpendicular positioning dot matrix, and 2003 represent horizontal location dot matrix, 2004 intervals representing horizontal location dot matrix, 2005 represent the community of 2*2, and 2006 represent in the community of 2*2 In an information dot matrix.Each information dot matrix four diverse locations in the community of fixed 2*2, point Do not represent different information.
Figure 20 is the form of expression schematic diagram of the bitmap of coloured image.As shown in figure 20: any one represents The image of 256 gray scales is to be represented by the code of 8 bits, may make up the image of each bit, high ratio Special position, it can be seen that the profile of original image, the lowest image of figure place is the fuzzyyest, and image more presents random distribution. That is the lowest impact on original image of figure place is the least, utilizes this characteristic, can be by above-mentioned two-dimensional strip Code is replaced with a minimum bitmap, or replaces with several minimum bitmaps, then printout, just An available printing image being embedded with information.Here it is possible to embedment is believed in R, a kind of color of G, B Breath, it is possible to simultaneously imbed information in two or three color.
Figure 21 is the schematic diagram of the two-dimensional bar code constituted with written form.As shown in figure 21: " depend on " at word In have 12 information to describe modules, 2201 is that the information of 7*9 dot matrix describes module, and 2202 is also 7*9 point The information of battle array describes module, and 2203 is the information description module of 7*17 dot matrix, and 2204 is the letter of 7*7 dot matrix Breath describes module, and 2205 is the information description module of 9*11 dot matrix, and 2206 is the information description of 9*7 dot matrix Module, 2207 is the information description module of 9*7 dot matrix, and 2208 is the information description module of 5*7 dot matrix, 2209 Being the information description module of 7*7 dot matrix, 2210 is the information description module of 11*7 dot matrix, and 2211 is 9*7 The information of dot matrix describes module, and 2212 is the information description module of 11*9 dot matrix.
Here, the principle of information embedment is: word outline to keep the original shape of word not have as far as possible The phenomenon of broken string, the most smooth, there is the span of two points running in the case of the curve of 45 degree, should Mend a point.Need not mend a little close to during straight line, word brilliance of should trying one's best is attractive in appearance in a word.Benchmark dot matrix " 1 " with The interval of other dot matrix is greater than 1 grid, and the interval of benchmark dot matrix " 0 " and other dot matrix is greater than 2 Grid, the interval of information dot matrix and other dot matrix is greater than 2 grids.
There is certain interval in the surrounding of each group of information description module, in order to carries out program segmentation.At word The quantity of information of the information of middle embedment is big as far as possible, and the information that can lay describes the gross area of module and will to the greatest extent may be used Can be big.
Figure 22 is the application schematic diagram of the two-dimensional bar code of the form with word.As shown in figure 22: using pin Beating in tax reciept, the content that tax reciept prints can carry out information embedment with " paying tax in accordance with the law " four words, Solve, owing to stylus printer tax reciept uses common two-dimensional bar code to affect the problem that nominal value is attractive in appearance, can be printed by tax reciept again Content is all embedded in two-dimensional bar code.
Figure 23 is the application schematic diagram of the two-dimensional bar code with lace pattern form.As shown in figure 23: using In stylus printer tax reciept, tax reciept print content can carry out information embedment by the form of lace, can solve due to Stylus printer tax reciept uses common two-dimensional bar code to affect the problem that nominal value is attractive in appearance, tax reciept can be printed content again whole It is embedded in two-dimensional bar code.
Figure 24 is the application schematic diagram of the two-dimensional bar code with shading form.As shown in figure 24: using stylus printer In tax reciept, tax reciept print content can carry out information embedment by the form of full version shading, can solve due to Stylus printer tax reciept uses common two-dimensional bar code to affect the problem that nominal value is attractive in appearance, tax reciept can be printed content again whole It is embedded in two-dimensional bar code.
Figure 25 is pair code schematic diagram using Laser marker to realize two-dimensional bar code.As shown in figure 25: use Laser marker can carry out authentication for commodity the most on a production line, can accomplish commodity and packaging Unified, merchandise control and commodity counterfeit prevention, the unification of commodity inspection.
Figure 26 is the schematic diagram imbedding information with two-dimensional bar code in normal image.As shown in figure 26: utilize Human eye than relatively low visual characteristic to the identification ability of gradation of image, uses overall gray difference, or only exists The difference of the gradation of image on low bitmap, is embedded to information in image.Here, as in normal image The information of embedment information describes the dot matrix distribution of module, can be such as Figure 10, and Figure 19, Fig. 9 are such to be appointed The distribution of a kind of dot matrix of anticipating combination, it is also possible to be such as Fig. 3, geometric as Fig. 4, Fig. 5, Fig. 8 Distribution or physical distribution.
Figure 27 is the schematic diagram that two-dimensional bar code has encryption character.As shown in figure 27: set P (t) as one with Machine function, the produced dot matrix of dot matrix combination is:
d11, d12..., d1f
D=d21, d22..., d2f
……
dg1, dg2..., dgf
The battle array that sets up an office again random alignment position function in two-dimensional space is: ζ [p (x), p (y)], then dot matrix group Close produced each dot matrix dijPosition be: ζij[p(xij), p (yij)]。
If (a) of Figure 27 is the produced dot matrix d of dot matrix combinationijRandom alignment ζ in two-dimensional spaceij[p(xij), p (yij)], according to Fig. 6, the information of the dot matrix shown in Fig. 8 describes principle, and dot matrix combination is produced Dot matrix dijAt ζij[p(xij), p (yij)] on position, although one group of data determined can be represented, but, Owing to without reference to benchmark, this group data therefore can not be identified, only as (b) of Figure 27, Add one group of benchmark dot matrix, now, so that it may produced for dot matrix combination dot matrix dijRepresented determination One group of data identifies.
Two-dimensional space especially as electronic image can be carried out infinitely on X-coordinate axle, with Y coordinate axle Division, the characteristic being distributed hence with above-mentioned dot matrix, it is possible to achieve than the safety of current conventional encryption algorithm The data encryption effect that property is much higher.
If further, the electronic image of same reality combines, it is also possible to accomplish to obtain high security Encryption, can realize again the encryption of the hidden greater security of data simultaneously.
As in the application of anti-counterfeit field, it is desirable to the rule of the information that the dot matrix distribution of two-dimensional bar code can describe Then have can not cracking, general two-dimensional bar code, the lattice block (Symbol) of black is information " 1 ", The lattice block of white is information " 0 ", and benchmark dot matrix is also exposed to surface, therefore be easy to by illegally in addition The recognizer made reads genuine commodity sign, to reach the purpose disrupted the market.Utilize the principle of Figure 27, The effect preventing illegal person malice from reading two-dimensional bar code data can be obtained.
For reaching above-mentioned purpose, can be by being distributed by diverse location and phase-modulation result record shown in Fig. 8 The information of many bit informations describes module and carries out following improvement.
Figure 28 is regardless of cloth schematic diagram on reference position by benchmark dot matrix.As shown in figure 28: 2901 For actual distribution benchmark dot matrix on vertical reference position, 2902 is the base not being distributed on reference position Battle array on schedule, when the information of identification describes the code value of module, is by 2901 lattice positions and 2902 dot matrix Dead reckoning goes out the actual lattice position of 2902, and 2903 is the directional reference dot matrix that information describes module, and 2904 For actual distribution benchmark dot matrix on horizontal reference position, 2905 is the base not being distributed on reference position Battle array on schedule, when the information of identification describes the code value of module, is by 2904 lattice positions and 2905 dot matrix Dead reckoning goes out the actual lattice position of 2905, and 2906 is information dot matrix, according to reference position and letter The position of breath dot matrix 2906 just can calculate information and describe the code value of module.
Figure 29 is the schematic diagram that the information hidden by reference dot matrix describes module.As shown in figure 29: 3001, The coordinate basis that 3004 and 3,007 3 dot matrix configuration informations description modules are overall, reference point 3002, 3003,3006 and 3008 all occur with hiding form, when the information of identification describes the code value of module, are The coordinate basis describing module overall by 3001,3004 and 3,007 three dot matrix configuration informations calculates reality Border datum mark, according to reference point and the distributing position of information dot matrix 3009,3010,3011,3012 Code value can be calculated.
Reference dot matrix, when the information of carrying out is imbedded, can preserve by the form of data base, carry out two dimension During bar code identification, then read from data base, identify the content wherein buried the most again.
Figure 30 is the schematic diagram of a kind of method of laser beam marking.Result in view of laser beam marking is generally not Burn broken a certain position by heat, but by cavitation effect produced by the high energy of local, make object local Evaporation, therefore directly by the result of laser beam marking, the position marked not carbon containing, in order to solve this Problem, the method that Figure 30 can be used.As shown in figure 30: at the body surface marked, first pass through print The method of brush or coating etc. forms the coating 3103 that a light source to recognizer absorbs, in the coating of 3103, Form a coating to the source reflection of recognizer by the method for printing or coating etc. again, so, swashing Under the irradiation of light light beam, 3102 coatings are partially stripped, and expose 3103 coatings, so, are shone by laser beam Penetrate the image of formed two-dimensional bar code, just become the image that the light source to recognizer absorbs, therefore can be straight Tap into the identification of line code value.
It is above the anti-method cracked of a kind of two-dimensional bar code that the present invention proposes, in a particular application, because of a piece Width is limited only to be merely lists some simply examples, describes module dot matrix for information in actual application, Information dot matrix and the relation of benchmark dot matrix, camouflage color labelling, in the case of camouflage color dot matrix, and different spectrum The composition of two-dimensional bar code and read method there is also Protean disposal skill, processing mode etc., this A little is all the concrete application problem under the guiding theory of the present invention, within broadly falling into the interest field of the present invention.

Claims (2)

1. an anti-crack method for two-dimensional bar code, at least has following a kind of feature:
(1) information constituting two-dimensional bar code describes the set that module is the dot matrix distribution at common two-dimensional bar code In, according to including finding out distribution uniform, dot matrix is separated from each other, and increases between code Hamming distances, reduces the similar degree between code, improves code distributing homogeneity, code distribution face Long-pending maximization, minimizing of code distribution area, etc. quantity dot matrix at least one interior mesh The dot matrix constituted combination distribution;Or several information modules are constituted written form;
(2) the anti-means cracked constituting two-dimensional bar code include existence when benchmark dot matrix is different from information dot matrix Means, at least the point of a benchmark dot matrix is not distributed in the means on the position of reference point, Reference point when the information of carrying out is imbedded, be in the means preserved by the form of data base at least A kind of means;Or utilize produced for dot matrix combination dot matrix random alignment in two-dimensional space Not there is unique solution, and after adding one group of benchmark dot matrix, so that it may represent the one group of number determined According to characteristic constitute AES;
(3) the information dot matrix in each community can carry out table by the difference of the gray value of coloured image entirety Show, or represent by different colors, maybe can by the bitmap of coloured image to image shadow Ringing less, the method that the obvious low level of random distribution and information content carry out replacing is interior As long as at least one is under conditions of ensureing capacity of decomposition, realize, by difference, the side that information describes Method.
2. a recognition methods for two-dimensional bar code, at least has following a kind of feature:
(1) image of the two-dimensional bar code read by imageing sensor, is calculated by known reference point location Go out not to be distributed in the physical location of datum mark on reference position, or remembered by configuration information State the overall coordinate basis of module and calculate the position of the reference point being hidden, or from data At least one method in the position of the reference point being hidden that reads in storehouse calculates reference point Battle array position;Or after utilization adds one group of benchmark dot matrix, so that it may by produced for dot matrix combination point Battle array random alignment in two-dimensional space does not have unique solution, obtains one group of data determining Method;
(2) by the set that the dot matrix of common two-dimensional bar code is distributed, according to including finding out, distribution is more equal Even, dot matrix is separated from each other, and increases the Hamming distances between code, reduces the class between code Like degree, improve code distributing homogeneity, the maximization of code distribution area, code distribution area Minimize, etc. the rule of combination of the dot matrix that quantity dot matrix is constituted at least one interior purpose; Or several information modules are constituted the code value that the rule of written form identifies.
CN201110204310.1A 2011-07-21 A kind of anti-crack method of two-dimensional bar code Active CN102890768B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110204310.1A CN102890768B (en) 2011-07-21 A kind of anti-crack method of two-dimensional bar code

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110204310.1A CN102890768B (en) 2011-07-21 A kind of anti-crack method of two-dimensional bar code

Publications (2)

Publication Number Publication Date
CN102890768A CN102890768A (en) 2013-01-23
CN102890768B true CN102890768B (en) 2016-11-30

Family

ID=

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1588430A (en) * 2004-07-20 2005-03-02 东莞市惠峰商业有限公司 Perspective information anti-fake print and its verifying tool and verifying method and anti-fake stamp
CN101127089A (en) * 2007-07-02 2008-02-20 天津市阿波罗信息技术有限公司 Implement method for embedding large amount of information on printing media
CN101727593A (en) * 2009-11-20 2010-06-09 天津市阿波罗信息技术有限公司 Method for processing digitalized paper card
CN101819647A (en) * 2010-05-08 2010-09-01 福建鸿博印刷股份有限公司 Anti-counterfeiting printing method by using invisible two-dimensional codes

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1588430A (en) * 2004-07-20 2005-03-02 东莞市惠峰商业有限公司 Perspective information anti-fake print and its verifying tool and verifying method and anti-fake stamp
CN101127089A (en) * 2007-07-02 2008-02-20 天津市阿波罗信息技术有限公司 Implement method for embedding large amount of information on printing media
CN101727593A (en) * 2009-11-20 2010-06-09 天津市阿波罗信息技术有限公司 Method for processing digitalized paper card
CN101819647A (en) * 2010-05-08 2010-09-01 福建鸿博印刷股份有限公司 Anti-counterfeiting printing method by using invisible two-dimensional codes

Similar Documents

Publication Publication Date Title
CN102887003B (en) A kind of laser beam marking method of New Two Dimensional bar code
CN102890787B (en) A kind of constructive method of two-dimensional bar code
CN103390183B (en) A kind of generation method of the anti-counterfeiting codes suitable for handset identity
CN102407703A (en) Another processing method for digitized anti-fake printing
CN102890788B (en) Constituting method for access control system with decorative two-dimensional bar code
CN102411717A (en) Digital anti-counterfeit printing processing method
CN103390146B (en) Method for generating dot matrix pattern capable of recording multiple-bit information
EP1377028B1 (en) Method for protecting printed items intended for public use with glossmarks
CN101331501B (en) Information recording medium and method of reading information from information recording medium, and image detection apparatus
CN108764420A (en) A kind of Quick Response Code and its coding, have anti-fraud functional product at recognition methods
EP1869624B1 (en) A secure printing method to thwart counterfeiting
CN205665721U (en) Present label that machine readable vision is showed
MXPA04005404A (en) Method and apparatus for making articles.
CN109476173A (en) The method for manufacturing safety device
JP2007505762A (en) Article authentication system and method
CN112313716B (en) Method for producing a security element in an image that is invisible to the human eye and that is not reproducible, and printed image
CN106156821A (en) A kind of optical readability bar code anti-counterfeit structure and implementation method
CN102381065B (en) A kind of invisible two dimensional barcode character library realizes the method for variable information printing
CN103386829A (en) Code attaching method for anti-fake code by using laser device
CN102310672A (en) Processing method for novel anti-counterfeiting label
CN103390184A (en) Image information embedding method suitable for anti-fake codes identified through mobile phone
CN103577859A (en) Novel construction method for mobile phone identification coding system
CN109376833A (en) Triple anti-fake two-dimension codes of pseudo-random information double exposure digital fluorescence images
JP4352168B2 (en) Halftone image data authentication program, halftone print authentication system, and halftone image data authentication system
CN102890768B (en) A kind of anti-crack method of two-dimensional bar code

Legal Events

Date Code Title Description
PB01 Publication
SE01 Entry into force of request for substantive examination
GR01 Patent grant