Invention content
It is found by the applicant that:Another anti-fake two-dimension code technology is to make Quick Response Code using various anti-fake materials, made
Quick Response Code can visually identify, can also naked eyes not can recognize that.It is anti-fake that this kind of anti-fake two-dimension code uses physics, chemistry
Technology has certain anti-counterfeiting.But this kind of Quick Response Code can not tie security feature well with 2 D code information
It closes, for the identifiable anti-fake two-dimension code of naked eyes, anti-counterfeiting performance with 2 D code information is isolated to be two-part, as long as that is,
There is security feature to be judged to not verifying information very, this reduces the difficulty forged to it;It can not for naked eyes
The anti-fake two-dimension code of identification lacks public 2 D code information entrance, often becomes a kind of means that anti-fake material uses.
In view of at least one of above technical problem, the present invention provides a kind of self checking anti-fake two-dimension code and making
Anti-fake and the Quick Response Code true and false the self-correcting to open Quick Response Code may be implemented in method and apparatus, anti-fake self checking method and apparatus
It tests.
According to an aspect of the present invention, a kind of self checking anti-fake two-dimension code, including base material, open Quick Response Code figure are provided
Shape and at least one anti-fake two-dimension code figure, wherein:
Visually identifiable open two-dimension code pattern is set on base material;
Anti-fake two-dimension code figure is set in open two-dimension code pattern region, and anti-fake two-dimension code figure naked eyes not can recognize that,
Anti-fake two-dimension code figure is for realizing the self checking to self checking anti-fake two-dimension code.
In some embodiments of the invention, the symbol figure of open two-dimension code pattern is printed by conventional printing ink, conventional oil
The figure naked eyes for inking system are recognizable;
The symbol figure of anti-fake two-dimension code figure is printed by anti-forgery ink, the anti-fake two-dimension code figure of anti-forgery ink printing
Naked eyes not can recognize that.
In some embodiments of the invention, the anti-forgery ink includes but not limited to fluoresent printing ink, it is seen that light is glimmering
Light ink, IR fluorescence ink, anti-Stokes ink, infrared absorbing inks, at least one of magnetic ink.
In some embodiments of the invention, the open 2 D code information in open two-dimension code pattern can be by arbitrarily sweeping
Decoding apparatus barcode scanning obtains;
Anti-fake two-dimension code information in anti-fake two-dimension code figure is obtained by machine-readable equipment under given conditions.
In some embodiments of the invention, the specified conditions are specific light source condition, or use specific machine-readable barcode scanning
Device barcode scanning, wherein the specific light source is corresponding light source used in anti-fake two-dimension code for identification;It is described specific machine-readable
Barcode scanning device is the device that can receive anti-forgery ink signal specific used in anti-fake two-dimension code for identification.
In some embodiments of the invention, anti-fake two-dimension code information for realizing to self checking anti-fake two-dimension code from
Verification.
In some embodiments of the invention, anti-fake two-dimension code information includes using predetermined cryptographic algorithm to open two dimension
The anti-fake ciphertext of operation generation is encrypted in code information.
In some embodiments of the invention, anti-fake two-dimension code information includes using predetermined cryptographic algorithm and at least one
Open 2 D code information is encrypted the anti-fake ciphertext of operation generation in encryption parameter.
In some embodiments of the invention, the code of the symbol figure and anti-fake two-dimension code figure of open two-dimension code pattern
Element pattern is arranged in a manner of merging.
In some embodiments of the invention, in the symbol figure of anti-fake two-dimension code figure and open two-dimension code pattern
In the case of symbol figure is nonoverlapping, the symbol figure of anti-fake two-dimension code figure is printed by the first anti-forgery ink, the first anti-fake oil
The figure naked eyes for inking system not can recognize that;
In the partly overlapping situation of symbol figure of the symbol figure and open two-dimension code pattern of anti-fake two-dimension code figure
Under, the anti-fake two-dimension code figure of non-overlapping part is printed by the first anti-forgery ink;The open two-dimension code pattern of non-overlapping part by
Conventional printing ink is printed;The symbol region of lap is printed by the second anti-forgery ink, and the second anti-forgery ink is in naked eyes visual effect
It is upper consistent with open two-dimension code pattern, and include anti-fake two-dimension code information identical with the first anti-forgery ink;
In the symbol figure of the open two-dimension code pattern situation completely overlapped with the symbol figure of anti-fake two-dimension code figure
Under, the symbol region of lap is printed by the second anti-forgery ink.
In some embodiments of the invention, all symbol figures and anti-fake two-dimension code figure of open two-dimension code pattern
All symbol figures be arranged with overlapped way on base material.
In some embodiments of the invention, the symbol figure of anti-fake two-dimension code figure is printed by anti-fake stacking ink, is prevented
The figure naked eyes of puppet stacking ink printing not can recognize that;
The symbol figure of open two-dimension code pattern is by being routinely laminated ink printing, the conventional figure meat that ink printing is laminated
Eye is recognizable;
The layered relationship of the anti-fake stacking ink and the conventional stacking ink can be arbitrary combination, be laminated between ink
The identification of the identification and anti-fake two-dimension code of the disclosure that is independent of each other Quick Response Code, the stacking ink includes the anti-fake stacking ink
With the conventional stacking ink.
According to another aspect of the present invention, a kind of anti-fake self checking method of self checking anti-fake two-dimension code is provided, including:
Barcode scanning obtains the open 2 D code information of self checking anti-fake two-dimension code, wherein the self checking anti-fake two-dimension code is
The self checking anti-fake two-dimension code as described in above-mentioned any embodiment;
Judge whether specified conditions being capable of the barcode scanning acquisition anti-fake two dimensions of self checking anti-fake two-dimension code by machine-readable equipment
Code information;
If barcode scanning success can obtain anti-fake two-dimension code information, according to self checking described in anti-fake two-dimension code Information Authentication
Anti-fake two-dimension code it is true and false;
If barcode scanning failure cannot obtain anti-fake two-dimension code information, judge that the self checking anti-fake two-dimension code is false.
In some embodiments of the invention, described according to the anti-fake two dimension of self checking described in anti-fake two-dimension code Information Authentication
Code true and false includes:
For each anti-fake two-dimension code figure, sentenced according to the corresponding anti-fake two-dimension code information of the anti-fake two-dimension code figure
Whether the anti-fake two-dimension code figure that breaks is true;
If all anti-fake two-dimension code figures are true, judge that the self checking anti-fake two-dimension code is true;
If it is false to have any one anti-fake two-dimension code figure, judge that the self checking anti-fake two-dimension code is false.
In some embodiments of the invention, for each anti-fake two-dimension code figure, according to the anti-fake two-dimension code figure
Corresponding anti-fake two-dimension code information judges whether the anti-fake two-dimension code figure is really to include:
For each anti-fake two-dimension code figure, the corresponding anti-fake two-dimension code information of the anti-fake two-dimension code figure is obtained,
In, the anti-fake two-dimension code information includes predetermined cryptographic algorithm code name and anti-fake ciphertext, and the anti-fake ciphertext is in advance using pre-
Determine Encryption Algorithm and operation generation is encrypted to open 2 D code information;
Operation is encrypted to the open 2 D code information that barcode scanning obtains according to predetermined cryptographic algorithm and obtains interim ciphertext;
Judge whether anti-fake ciphertext is consistent with interim ciphertext;
If anti-fake ciphertext is consistent with interim ciphertext, judge that the anti-fake two-dimension code figure is true;
If anti-fake ciphertext and interim ciphertext are inconsistent, judge that the anti-fake two-dimension code figure is false.
In some embodiments of the invention, the anti-fake two-dimension code information further includes at least one encryption parameter;
It is described according to predetermined cryptographic algorithm to the open 2 D code information that barcode scanning obtains be encrypted operation obtain it is interim close
Text includes:
The open 2 D code information that barcode scanning obtains is encrypted according to predetermined cryptographic algorithm and at least one encryption parameter
Operation obtains interim ciphertext.
According to another aspect of the present invention, a kind of anti-fake self-correcting experiment device of self checking anti-fake two-dimension code is provided, including:
Open two-dimension code pattern identification module, the open 2 D code information of self checking anti-fake two-dimension code is obtained for barcode scanning,
The wherein described self checking anti-fake two-dimension code is the self checking anti-fake two-dimension code as described in above-mentioned any embodiment;
Anti-fake two-dimension code pattern recognition module, for obtaining the self-correcting by machine-readable equipment barcode scanning under given conditions
Test anti-fake two-dimension code anti-fake two-dimension code information;
Correction verification module, for judge under specified conditions by machine-readable equipment whether can barcode scanning to obtain the self checking anti-
Pseudo- two-dimension code anti-counterfeit 2 D code information;In the success of anti-fake two-dimension code pattern recognition module barcode scanning, anti-fake two-dimension code letter can be obtained
In the case of breath, according to the true and false of self checking anti-fake two-dimension code described in anti-fake two-dimension code Information Authentication;And in anti-fake two-dimension code
The failure of pattern recognition module barcode scanning in the case of cannot obtaining anti-fake two-dimension code information, judges the anti-fake two dimension of the self checking
Code is false.
In some embodiments of the invention, correction verification module, for anti-fake two-dimension code pattern recognition module barcode scanning at
Work(, in the case of anti-fake two-dimension code information can be obtained, for each anti-fake two-dimension code figure, according to the anti-fake two-dimension code
The corresponding anti-fake two-dimension code information of figure judges whether the anti-fake two-dimension code figure is true;In all anti-fake two-dimension code figures
In the case of being genuine, judge that the self checking anti-fake two-dimension code is true;It is false there is any one anti-fake two-dimension code figure
In the case of, judge that the self checking anti-fake two-dimension code is false.
In some embodiments of the invention, correction verification module includes:
Anti-fake two-dimension code information acquisition unit obtains the anti-fake two-dimension code for being directed to each anti-fake two-dimension code figure
The corresponding anti-fake two-dimension code information of figure, wherein the anti-fake two-dimension code information includes predetermined cryptographic algorithm code name and anti-fake close
Text, the anti-fake ciphertext are that operation generation is encrypted to open 2 D code information using predetermined cryptographic algorithm in advance;
Interim ciphertext acquiring unit, for being carried out to the open 2 D code information that barcode scanning obtains according to predetermined cryptographic algorithm
Cryptographic calculation obtains interim ciphertext;
Verification unit, for judging whether anti-fake ciphertext is consistent with interim ciphertext;It is consistent with interim ciphertext in anti-fake ciphertext
In the case of, judge that the anti-fake two-dimension code figure is true;In the case of anti-fake ciphertext and inconsistent interim ciphertext, judgement
The anti-fake two-dimension code figure is false.
In some embodiments of the invention, the anti-fake two-dimension code information further includes at least one encryption parameter;
Interim ciphertext acquiring unit, for what is obtained to barcode scanning according to predetermined cryptographic algorithm and at least one encryption parameter
Open 2 D code information is encrypted operation and obtains interim ciphertext.
In some embodiments of the invention, the anti-fake self-correcting experiment device of the self checking anti-fake two-dimension code, for executing reality
The operation of the anti-fake self checking method of self checking anti-fake two-dimension code now as described in above-mentioned any embodiment.
According to another aspect of the present invention, a kind of anti-fake self-correcting experiment device of self checking anti-fake two-dimension code is provided, including:
Self checking memory, for storing instruction;
Self checking processor, for executing described instruction so that the anti-fake self-correcting experiment device of self checking anti-fake two-dimension code
Execute the operation for realizing the anti-fake self checking method of self checking anti-fake two-dimension code as described in above-mentioned any embodiment.
According to another aspect of the present invention, a kind of self checking anti-fake two-dimension code production method is provided, including:
The identifiable open two-dimension code pattern of naked eyes is generated on base material;
In open two-dimension code pattern region, at least one unrecognizable anti-fake two-dimension code figure of naked eyes is generated, so as to
By open two-dimension code pattern and the combination of anti-fake two-dimension code figure, the self checking anti-fake two as described in above-mentioned any embodiment is constituted
Tie up code.
In some embodiments of the invention, described that the identifiable open two-dimension code pattern packet of naked eyes is generated on base material
It includes:
Open Quick Response Code is generated by open 2 D code information according to predetermined two-dimentional code encoding method;
Open two-dimension code pattern is printed on base material using conventional printing ink.
In some embodiments of the invention, described in open two-dimension code pattern region, generate at least one naked eyes not
Identifiable anti-fake two-dimension code figure includes:
Open 2 D code information is encrypted using predetermined cryptographic algorithm the anti-fake ciphertext of operation generation;
Anti-fake two-dimension code is generated by anti-fake two-dimension code information according to predetermined two-dimentional code encoding method, wherein described anti-fake two
It includes predetermined cryptographic algorithm code name and anti-fake ciphertext to tie up code information;
Anti-fake two-dimension code figure is printed in open two-dimension code pattern region using anti-forgery ink.
According to another aspect of the present invention, a kind of self checking anti-fake two-dimension code producing device is provided, including:
Open two-dimensional code generation module, for generating the identifiable open two-dimension code pattern of naked eyes on base material;
Anti-fake two-dimension code generation module can not be known in open two-dimension code pattern region, generating at least one naked eyes
Other anti-fake two-dimension code figure constitutes such as any of the above-described reality to disclose two-dimension code pattern and the combination of anti-fake two-dimension code figure
Apply the self checking anti-fake two-dimension code described in example.
In some embodiments of the invention, the self checking anti-fake two-dimension code producing device is realized as above for executing
State the operation of the self checking anti-fake two-dimension code production method described in any embodiment.
According to another aspect of the present invention, a kind of self checking anti-fake two-dimension code producing device is provided, including:
Memory is made, for storing instruction;
Processor is made, for executing described instruction so that the self checking anti-fake two-dimension code producing device executes realization
The operation of self checking anti-fake two-dimension code production method as described in above-mentioned any embodiment.
According to another aspect of the present invention, a kind of computer readable storage medium, the computer-readable storage medium are provided
Matter is stored with computer instruction, realizes that the self checking as described in above-mentioned any embodiment is anti-when described instruction is executed by processor
Pseudo- two-dimension code anti-counterfeit self checking method, and/or the self checking anti-fake two-dimension code production method as described in above-mentioned any embodiment.
The self checking anti-fake two-dimension code of the present invention self checking can judge the two dimension in the case where no external information inputs
The true and false of code, makes 2 D code information be difficult to forge.
Specific implementation mode
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation describes, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.Below
Description only actually at least one exemplary embodiment be it is illustrative, never as to the present invention and its application or
Any restrictions used.Based on the embodiments of the present invention, those of ordinary skill in the art are not before making creative work
The every other embodiment obtained is put, shall fall within the protection scope of the present invention.
Unless specifically stated otherwise, positioned opposite, the digital table of the component and step that otherwise illustrate in these embodiments
It is not limited the scope of the invention up to formula and numerical value.
Simultaneously, it should be appreciated that for ease of description, the size of attached various pieces shown in the drawings is not according to reality
What the proportionate relationship on border was drawn.
Technology, method and apparatus known to person of ordinary skill in the relevant may be not discussed in detail, but suitable
In the case of, the technology, method and apparatus should be considered as authorizing part of specification.
In shown here and discussion all examples, any occurrence should be construed as merely illustrative, without
It is as limitation.Therefore, the other examples of exemplary embodiment can have different values.
It should be noted that:Similar label and letter indicate similar terms in following attached drawing, therefore, once a certain item exists
It is defined, then it need not be further discussed in subsequent attached drawing in one attached drawing.
Fig. 1 is the schematic diagram of some embodiments of self checking anti-fake two-dimension code of the present invention.As shown in Figure 1, self checking anti-fake two
Dimension code may include base material 1, disclose two-dimension code pattern 2 and at least one anti-fake two-dimension code figure 3, wherein:
Visually identifiable open two-dimension code pattern 2 is set on base material 1.
In some embodiments of the invention, the naked eyes it is recognizable refer to 2 naked eyes of open two-dimension code pattern it is visible,
And the open 2 D code information in open two-dimension code pattern 2 can be obtained by arbitrary barcode scanning equipment barcode scanning, wherein described
Barcode scanning of anticipating equipment can be the image recognition apparatus such as mobile phone camera.
Anti-fake two-dimension code figure 3 is set in 2 region of open two-dimension code pattern, and 3 naked eyes of anti-fake two-dimension code figure can not be known
Not.Anti-fake two-dimension code figure 3, for realizing the self checking to self checking anti-fake two-dimension code.
In some embodiments of the invention, the symbol figure of open two-dimension code pattern 2 can be printed by conventional printing ink,
The figure naked eyes of conventional printing ink printing are recognizable.
In some embodiments of the invention, open two-dimension code pattern 2 can be by open 2 D code information according to predetermined two
Code encoding method is tieed up to generate.
In some embodiments of the invention, the predetermined two-dimentional code encoding method can be PDF417, QR Code
(Quick Response Code, ultrahigh speed recognition code), Date Matrix, MaxiCode, Code 49, Code 16K, Code
The coding method of the Quick Response Codes such as One.
The open two-dimension code pattern can be PDF417, QR Code, Date Matrix, MaxiCode, Code 49,
The two-dimension code patterns such as Code 16K, Code One.
In some embodiments of the invention, the symbol figure of anti-fake two-dimension code figure 3 can be printed by anti-forgery ink,
The naked eyes of anti-fake two-dimension code figure 3 of anti-forgery ink printing are invisible, naked eyes not can recognize that.The anti-fake two dimension of anti-forgery ink printing
Code figure 3 can be identified under given conditions by machine-readable equipment.
In some embodiments of the invention, the anti-forgery ink is made of anti-fake material.
In some embodiments of the invention, the anti-forgery ink can include but is not limited to fluoresent printing ink, it is seen that
Light fluorescent ink, IR fluorescence ink, anti-Stokes ink, infrared absorbing inks, the ink such as magnetic ink.
In some embodiments of the invention, anti-fake two-dimension code figure 3 can be by anti-fake two-dimension code information according to predetermined two
Code encoding method is tieed up to generate.
The anti-fake two-dimension code figure 3 can be PDF417, QR Code, Date Matrix, MaxiCode, Code
49, the two-dimension code patterns such as Code 16K, Code One.
In some embodiments of the invention, the naked eyes are not recognizable refers to that 3 naked eyes of anti-fake two-dimension code figure can not
See and the anti-fake two-dimension code information in anti-fake two-dimension code figure 3 can be obtained under given conditions by machine-readable equipment.
In some embodiments of the invention, the specified conditions are specific light source condition (such as under ultraviolet light),
Or using specific machine-readable barcode scanning device (such as anti-fake self-correcting experiment device of self checking anti-fake two-dimension code of the present invention) barcode scanning.
In some embodiments of the invention, the specific light source refers to what anti-fake two-dimension code for identification must use
Corresponding light source, for example for fluoresent printing ink, the specific light source refers to ultraviolet source.
In some embodiments of the invention, the specific barcode scanning device refers to anti-fake two-dimension code for identification and must make
The device of anti-forgery ink signal specific can be received, such as infrared absorbing inks, specific barcode scanning device refers to carry out
The barcode scanning device of infrared imaging.
In some embodiments of the invention, anti-fake two-dimension code information can be used to implement to self checking anti-fake two-dimension code
Self checking.
In some embodiments of the invention, anti-fake two-dimension code information includes using predetermined cryptographic algorithm to open two dimension
The anti-fake ciphertext A of operation generation is encrypted in code information.
In other embodiments of the present invention, anti-fake two-dimension code information includes using predetermined cryptographic algorithm and at least one
Open 2 D code information is encrypted the anti-fake ciphertext A of operation generation in a encryption parameter.
In some embodiments of the invention, the anti-fake self-correcting experiment device of self checking anti-fake two-dimension code can be used for barcode scanning and obtain
It is derived from the open 2 D code information of verification anti-fake two-dimension code;The self-correcting is obtained by machine-readable equipment barcode scanning under given conditions
Test anti-fake two-dimension code anti-fake two-dimension code information;In the success of anti-fake two-dimension code pattern recognition module barcode scanning, anti-fake two dimension can be obtained
In the case of code information, according to the true and false of self checking anti-fake two-dimension code described in anti-fake two-dimension code Information Authentication.
Based on the self checking anti-fake two-dimension code that the above embodiment of the present invention provides, which can be
Self checking judges the true and false of the Quick Response Code in the case of no external information input.
The anti-fake self-correcting experiment device of self checking anti-fake two-dimension code of the above embodiment of the present invention may be implemented to open Quick Response Code
Anti-fake and the Quick Response Code true and false self checking, make 2 D code information be difficult to forge.
In some embodiments of the invention, the symbol figure with anti-fake two-dimension code figure 3 of open two-dimension code pattern 2
Symbol figure is arranged in a manner of merging.
The self checking anti-fake two-dimension code of Fig. 1-Fig. 3 embodiments is all made of the open two-dimension code pattern of amalgamation mode setting and prevents
Pseudo- two-dimension code pattern.
In the embodiment of some amalgamation modes of the present invention, as shown in Figure 1, in the symbol diagram of anti-fake two-dimension code figure 3
In the case of the symbol figure of shape and open two-dimension code pattern 2 is nonoverlapping, the symbol figure of anti-fake two-dimension code figure 3 is by first
Anti-forgery ink is printed, and the figure naked eyes of the first anti-forgery ink printing not can recognize that.
Fig. 2 is the schematic diagram of other embodiments of self checking anti-fake two-dimension code of the present invention.As shown in Fig. 2, in anti-fake two dimension
In the case of the symbol figure of code figure 3 and the symbol figure of open two-dimension code pattern 2 are partly overlapping, non-overlapping part is prevented
Pseudo- two-dimension code pattern 3 is printed by the first anti-forgery ink, and the figure naked eyes of the first anti-forgery ink printing not can recognize that.Non-overlapping portion
The open two-dimension code pattern 2 divided is printed by conventional printing ink, and the figure naked eyes of conventional printing ink printing are recognizable.The code of lap
First region is printed by the second anti-forgery ink, and the second anti-forgery ink is consistent with open two-dimension code pattern 2 in naked eyes visual effect
(that is, naked eyes are recognizable), and include anti-fake two-dimension code information identical with the first anti-forgery ink.That is, the lap
Symbol region had not only included the anti-fake two-dimension code information that can be identified by machine-readable equipment under specified conditions, but also included that can visually know
Other open 2 D code information.
Fig. 3 is the schematic diagram of the other embodiment of self checking anti-fake two-dimension code of the present invention.As shown in Fig. 3, in open two dimension
In the case that the symbol figure of code figure 2 and the symbol figure of anti-fake two-dimension code figure 3 are completely overlapped, the symbol of lap
It is printed by the second anti-forgery ink in region.The symbol region of the lap had both included that can be set by machine-readable under specified conditions
The anti-fake two-dimension code information of standby identification, and include the identifiable open 2 D code information of naked eyes.
In other embodiments of the present invention, all symbol figures and anti-fake two-dimension code figure of open two-dimension code pattern 2
All symbol figures of shape 3 are arranged on base material 1 with overlapped way.
In some embodiments of the invention, described for printing the anti-fake stacking ink of anti-fake two-dimension code and for printing
The layered relationship of the conventional stacking ink of the open Quick Response Code of system can be arbitrary combination, but need to ensure that ink (conventional stacking oil is laminated
Black and various anti-fake stacking ink) between be independent of each other the identification of open Quick Response Code and the identification of anti-fake two-dimension code.
Such as:Open Quick Response Code can be with as shown in figure 4, the first layer being arranged on base material, and will be at least one layer of anti-fake
Quick Response Code setting is on open Quick Response Code;The first layer that can also be set anti-fake two-dimension code on base material, open two dimension
Code is arranged in top layer;Alternatively, middle layer can also be set open Quick Response Code to, it is shortly disclosed Quick Response Code and is set to multilayer
Between anti-fake two-dimension code.
Fig. 4 is the schematic diagram of self checking anti-fake two-dimension code still other embodiments of the present invention.The self checking of Fig. 4 embodiments is anti-
Pseudo- Quick Response Code is all made of the open two-dimension code pattern of overlapped way setting and anti-fake two-dimension code figure.
In the embodiment of some overlapped ways of the present invention, as shown in figure 4, first layer is open Quick Response Code, the i.e. public
The two-dimension code pattern that can arbitrarily distinguish.
The symbol figure of open two-dimension code pattern 2 is by being routinely laminated ink printing, the conventional figure meat that ink printing is laminated
Eye is recognizable and does not influence the reading of anti-fake two-dimension code information in anti-fake two-dimension code figure 3.
As shown in figure 4, the second layer anti-fake two-dimension code figure on open Quick Response Code, the figure is by particular encryption
Algorithm and encryption parameter are encrypted the cipher-text information generated after calculating to open two-dimension code pattern and generate, and the figure is used
Naked eyes not can recognize that, is made of machine readable identification material under given conditions.
As shown in figure 4, in the identification for not influencing every layer of anti-fake two-dimension code figure, it can be in the second layer anti-fake two
Tie up superposition third layer or Multi-layer anti-counterfeit two-dimension code pattern on code figure.
The symbol figure of anti-fake two-dimension code figure 3 can be printed by anti-fake stacking ink, the figure of anti-fake stacking ink printing
Shape naked eyes are not recognizable and do not influence the naked eyes identification of open two-dimension code pattern 2, nor affect on other layers of anti-fake two dimension
Machinery equipment under code 3 specified conditions of figure is read.
As shown in figure 4, the second layer uses the anti-fake stacking that different anti-fake materials are constituted to the 4th layer of anti-fake two-dimension code figure
Ink is printed.
It is different that the corresponding specified conditions of each layer of anti-fake two-dimension code figure or specific machine read equipment.
Each layer of anti-fake two-dimension code figure does not influence the machinery equipment under the specified conditions of other layers of anti-fake two-dimension code figure
It reads, nor affects on the reading of open Quick Response Code.
The self checking anti-fake two-dimension code of the above embodiment of the present invention can the self checking in the case where no external information inputs
Judge the true and false of the Quick Response Code.
The above embodiment of the present invention can be by controlling used in the number of species and anti-fake two-dimension code of anti-fake two-dimension code figure
The type of anti-fake material, the type of Encryption Algorithm and parameter can increase the difficulty forged with geometry grade.
Fig. 5 is the schematic diagram of some embodiments of self checking anti-fake two-dimension code production method of the present invention.As shown in figure 5, described
Make the method such as any of the above-described embodiment (such as Fig. 1-Fig. 4 any embodiments) of the invention self checking anti-fake two-dimension code
May include:
Step 51, the identifiable open two-dimension code pattern of naked eyes is generated on base material.
In some embodiments of the invention, step 51 may include:
Step 511, open Quick Response Code is generated by open 2 D code information according to predetermined two-dimentional code encoding method.
In some embodiments of the invention, the predetermined two-dimentional code encoding method can be PDF417, QR Code,
The coding method of the Quick Response Codes such as Date Matrix, MaxiCode, Code 49, Code 16K, Code One.
Step 512, open two-dimension code pattern is printed on base material using conventional printing ink, wherein the figure of conventional printing ink printing
Shape naked eyes are recognizable.
In some embodiments of the invention, the open two-dimension code pattern can be PDF417, QR Code, Date
The two-dimension code patterns such as Matrix, MaxiCode, Code 49, Code 16K, Code One.
Step 52, in open two-dimension code pattern region, at least one unrecognizable anti-fake two-dimension code figure of naked eyes is generated
Shape constitutes the self checking as described in above-mentioned any embodiment to disclose two-dimension code pattern and the combination of anti-fake two-dimension code figure
Anti-fake two-dimension code.
Step 521, the anti-fake ciphertext of operation generation open 2 D code information is encrypted using predetermined cryptographic algorithm.
Step 522, anti-fake two-dimension code is generated by anti-fake two-dimension code information according to predetermined two-dimentional code encoding method, wherein institute
It includes predetermined cryptographic algorithm code name and anti-fake ciphertext to state anti-fake two-dimension code information.
Step 523, anti-fake two-dimension code figure is printed in open two-dimension code pattern region using anti-forgery ink, wherein anti-
The anti-fake two-dimension code figure naked eyes of pseudo- ink printing are invisible, naked eyes not can recognize that;The anti-forgery ink is by anti-fake material system
At;The anti-fake two-dimension code figure 3 of anti-forgery ink printing can be identified under given conditions by machine-readable equipment.
In some embodiment of the invention, the anti-fake two-dimension code figure 3 can be PDF417, QR Code, Date
The two-dimension code patterns such as Matrix, MaxiCode, Code 49, Code 16K, Code One.
In some embodiments of the invention, the anti-forgery ink can include but is not limited to fluoresent printing ink, it is seen that
Light fluorescent ink, IR fluorescence ink, anti-Stokes ink, infrared absorbing inks, the ink such as magnetic ink.
In some embodiments of the invention, the specified conditions are specific light source condition (such as under ultraviolet light),
Or using specific machine-readable barcode scanning device (such as anti-fake self-correcting experiment device of self checking anti-fake two-dimension code of the present invention) barcode scanning.
In some embodiments of the invention, the specific light source refers to what anti-fake two-dimension code for identification must use
Corresponding light source, for example for fluoresent printing ink, the specific light source refers to ultraviolet source.
In some embodiments of the invention, the specific barcode scanning device refers to anti-fake two-dimension code for identification and must make
The device of anti-forgery ink signal specific can be received, such as infrared absorbing inks, specific barcode scanning device refers to carry out
The barcode scanning device of infrared imaging.Based on the self checking anti-fake two-dimension code production method that the above embodiment of the present invention provides, the system
Make the self checking anti-fake two-dimension code of method making self checking can judge the Quick Response Code in the case where no external information inputs
The true and false.
In some embodiments of the invention, the symbol figure with anti-fake two-dimension code figure 3 of open two-dimension code pattern 2
The amalgamation mode combination settings such as any embodiment in Fig. 1-Fig. 3 may be used in symbol figure.
Such as:In Fig. 1 embodiments, the symbol diagram of the symbol figure of anti-fake two-dimension code figure 3 and open two-dimension code pattern 2
Shape is not overlapped.The symbol figure of anti-fake two-dimension code figure 3 is printed using the first anti-forgery ink, the figure of the first anti-forgery ink printing
Shape naked eyes not can recognize that;The symbol figure of open two-dimension code pattern 2 is printed using conventional printing ink, the figure of conventional printing ink printing
Naked eyes are recognizable.
In Fig. 2 embodiments, the symbol visuals of the symbol figure of anti-fake two-dimension code figure 3 and open two-dimension code pattern 2
Overlapping.Wherein:The anti-fake two-dimension code figure 3 of lap is printed by the first anti-forgery ink, the figure of the first anti-forgery ink printing
Naked eyes not can recognize that.The open two-dimension code pattern 2 of non-overlapping part is printed by conventional printing ink, the figure meat of conventional printing ink printing
Eye is recognizable.The symbol region of lap is printed by the second anti-forgery ink, and the second anti-forgery ink is in naked eyes visual effect
With open two-dimension code pattern 2 consistent (that is, naked eyes are recognizable), and it include anti-fake two-dimension code identical with the first anti-forgery ink
Information.
In Fig. 3 embodiments, the symbol figure and the symbol figure of anti-fake two-dimension code figure 3 of open two-dimension code pattern 2 are complete
Overlapping.The symbol region of lap is printed by the second anti-forgery ink.The symbol region of the lap had both included specific item
The anti-fake two-dimension code information that can be identified by machine-readable equipment under part, and include the identifiable open 2 D code information of naked eyes.
In other embodiments of the present invention, as shown in figure 4, disclosing all symbol figures of two-dimension code pattern 2 and preventing
All symbol figures of pseudo- two-dimension code pattern 3 are arranged on base material 1 with overlapped way.The anti-fake two dimension of self checking of Fig. 4 embodiments
Code is all made of the open two-dimension code pattern of overlapped way setting and anti-fake two-dimension code figure.
As shown in figure 4, first layer is open Quick Response Code, i.e., the two-dimension code pattern that the public can arbitrarily distinguish.Positioned at disclosing two
The second layer anti-fake two-dimension code figure on code is tieed up, the figure is by particular encryption algorithm and encryption parameter to open Quick Response Code figure
Shape is encrypted the cipher-text information generated after calculating and generates, and the figure not can recognize that with the naked eye, machine-readable under given conditions
Identification material is made.It, can be in second layer anti-fake two-dimension code figure in the identification for not influencing every layer of anti-fake two-dimension code figure
Third layer or Multi-layer anti-counterfeit two-dimension code pattern are superimposed in shape.
The above embodiment of the present invention can control anti-fake used in the number of species and anti-fake two-dimension code of anti-fake two-dimension code figure
The type of material, the type of Encryption Algorithm and parameter can increase the difficulty forged with geometry grade.
Fig. 6 is the schematic diagram of some embodiments of self checking anti-fake two-dimension code producing device of the present invention.As shown in fig. 6, described
Self checking anti-fake two-dimension code producing device may include disclosing two-dimensional code generation module 61 and anti-fake two-dimension code generation module 62,
Wherein:
Open two-dimensional code generation module 61, for generating the identifiable open two-dimension code pattern of naked eyes on base material.
Anti-fake two-dimension code generation module 62, in open two-dimension code pattern region, generating at least one naked eyes can not
The anti-fake two-dimension code figure of identification is constituted to disclose two-dimension code pattern and the combination of anti-fake two-dimension code figure as any of the above-described
Self checking anti-fake two-dimension code described in embodiment (such as Fig. 1-Fig. 4 any embodiments).
In some embodiments of the invention, the self checking anti-fake two-dimension code producing device is realized as above for executing
State the operation of the self checking anti-fake two-dimension code production method described in any embodiment (such as Fig. 5 embodiments).
Fig. 7 is the schematic diagram of other embodiments of self checking anti-fake two-dimension code producing device of the present invention.As shown in fig. 7, institute
Self checking anti-fake two-dimension code producing device is stated to may include making memory 71 and make processor 72, wherein:
Memory 71 is made, for storing instruction.
Processor 72 is made, for executing described instruction so that the self checking anti-fake two-dimension code producing device executes reality
The now operation of the self checking anti-fake two-dimension code production method as described in above-mentioned any embodiment (such as Fig. 5 embodiments).
Based on the above embodiment of the present invention provide self checking anti-fake two-dimension code producing device, the production method make
Self checking anti-fake two-dimension code self checking can judge the true and false of the Quick Response Code in the case where no external information inputs.
Fig. 8 is the schematic diagram of some embodiments of the anti-fake self checking method of self checking anti-fake two-dimension code of the present invention.Preferably,
The present embodiment can be executed by the anti-fake self-correcting experiment device of self checking anti-fake two-dimension code of the present invention.As shown in figure 8, the method can be with
Including:
Step 100, barcode scanning obtains the open 2 D code information of self checking anti-fake two-dimension code, wherein the self checking is anti-fake
Quick Response Code is such as above-mentioned any embodiment (such as Fig. 1-Fig. 4 any embodiments) described self checking anti-fake two-dimension code.
Step 200, judge whether specified conditions being capable of the barcode scanning acquisition self checking anti-fake two-dimension codes by machine-readable equipment
Anti-fake two-dimension code information.
In some embodiments of the invention, the specified conditions are specific light source condition (such as under ultraviolet light),
Or use specific machine-readable barcode scanning device barcode scanning.
In some embodiments of the invention, the specific light source refers to what anti-fake two-dimension code for identification must use
Corresponding light source, for example for fluoresent printing ink, the specific light source refers to ultraviolet source.
In some embodiments of the invention, the specific barcode scanning device refers to anti-fake two-dimension code for identification and must make
The device of anti-forgery ink signal specific can be received, such as infrared absorbing inks, specific barcode scanning device refers to carry out
The barcode scanning device of infrared imaging.
Step 300, if barcode scanning is successful, can obtain anti-fake two-dimension code information, according to anti-fake two-dimension code Information Authentication institute
State the true and false of self checking anti-fake two-dimension code.
In some embodiments of the invention, described according to self-correcting described in anti-fake two-dimension code Information Authentication in step 300
The true and false step for testing anti-fake two-dimension code may include step 310- steps 330, wherein:
Step 310, for each anti-fake two-dimension code figure 3, according to the anti-fake two-dimension code figure 3 corresponding anti-fake two
Dimension code information judges whether the anti-fake two-dimension code figure 3 is true.
In some embodiments of the invention, step 310 may include step 311- steps 315, wherein:
Step 311, for each anti-fake two-dimension code figure 3, the anti-fake two-dimension code figure 3 corresponding anti-fake two is obtained
Tie up code information, wherein the anti-fake two-dimension code information includes predetermined cryptographic algorithm code name and anti-fake ciphertext, the anti-fake ciphertext
To use predetermined cryptographic algorithm that operation generation is encrypted to open 2 D code information in advance.
Step 312, operation is encrypted to the open 2 D code information that barcode scanning obtains according to predetermined cryptographic algorithm to be faced
Shi Miwen.
In some embodiments of the invention, the anti-fake two-dimension code information can also include at least one encryption parameter.
In the case where anti-fake two-dimension code information includes at least one encryption parameter, step 312 may include:It is calculated according to predetermined encryption
Method and at least one encryption parameter are encrypted operation to the open 2 D code information that barcode scanning obtains and obtain interim ciphertext.
Step 313, judge whether anti-fake ciphertext is consistent with interim ciphertext.
Step 314, if anti-fake ciphertext is consistent with interim ciphertext, judge that the anti-fake two-dimension code figure 3 is true.
Step 315, if anti-fake ciphertext and interim ciphertext are inconsistent, judge that the anti-fake two-dimension code figure 3 is false.
Step 320, if all anti-fake two-dimension code figures 3 are true, judge that the self checking anti-fake two-dimension code is true.
Step 330, if it is false to have any one anti-fake two-dimension code figure 3, judge that the self checking anti-fake two-dimension code is
It is false.
Step 400, if barcode scanning fails, cannot obtain anti-fake two-dimension code information, judge the self checking anti-fake two-dimension code
It is false.
It, can be without outer based on the anti-fake self checking method of self checking anti-fake two-dimension code that the above embodiment of the present invention provides
The true and false of self checking judgement self checking anti-fake two-dimension code in the case of boundary's information input.The self checking of the above embodiment of the present invention
The anti-fake self checking method of anti-fake two-dimension code may be implemented, to anti-fake and the Quick Response Code true and false the self checking of open Quick Response Code, to make two
Dimension code information is difficult to forge.
Fig. 9 is the schematic diagram of other embodiments of the anti-fake self checking method of self checking anti-fake two-dimension code of the present invention.It is preferred that
, the present embodiment can be executed by the anti-fake self-correcting experiment device of self checking anti-fake two-dimension code of the present invention.As shown in figure 9, the method can
To include:
Step 1, open two-dimension code pattern is generated, and generates corresponding two kinds respectively according to particular encryption algorithm and prevents
Pseudo- two-dimension code pattern.
In some embodiments of the invention, the number of species and anti-fake two of control anti-fake two-dimension code figure can be passed through
The type of anti-fake material, the type of Encryption Algorithm and parameter generate a variety of different anti-fake two-dimension code figures respectively used in dimension code.
Step 2, open Quick Response Code is combined with anti-fake two-dimension code, completes self checking anti-fake two-dimension code and makes.
Step 3, open two-dimension code pattern can arbitrary barcode scanning, obtain open 2 D code information, do not know the true and false.
Step 4, under specific light source or with specific machine-readable barcode scanning device barcode scanning.
Step 4.1, barcode scanning fails, and does not contain anti-fake two-dimension code.
Step 4.2, this self checking anti-fake two-dimension code is judged to forge;Other steps of the present embodiment are no longer executed later.
Step 4.3, barcode scanning success, obtains anti-fake two-dimension code information, and information includes encryption algorithm type code name, encryption ginseng
Number (nothing is multiple), ciphertext A.
Step 4.4, it according to Encryption Algorithm and parameter, encrypts open 2 D code information to obtain interim ciphertext B.
Step 4.5, whether consistent ciphertext A and ciphertext B is compared.
Step 4.5.1 judges this anti-fake two-dimension code to forge if ciphertext A and ciphertext B are inconsistent.
Step 4.5.2 judges that such anti-fake two-dimension code is true if ciphertext A is consistent with ciphertext B;Later in specific light source
It is lower or with specific machine-readable barcode scanning device barcode scanning another kind anti-fake two-dimension code figure.
Step 4.5.2.1, if barcode scanning fails, judgement does not contain anti-fake two-dimension code, this self checking anti-fake two-dimension code is puppet
It makes.That is, if barcode scanning fails, 4.1 are thened follow the steps.
Step 4.5.2.2 obtains anti-fake two-dimension code information if barcode scanning success, and information includes encryption algorithm type generation
Number, encryption parameter (without or it is multiple), ciphertext C.
Step 4.5.2.3 encrypts open 2 D code information to obtain interim ciphertext D according to Encryption Algorithm and parameter.
Whether consistent step 4.5.2.4 compares ciphertext C and ciphertext D.
Step 4.5.2.4.1 judges this anti-fake two-dimension code to forge, self checking is anti-if ciphertext C and ciphertext D are inconsistent
Pseudo- Quick Response Code is to forge.
Step 4.5.2.4.2 judges that this self checking anti-fake two-dimension code is true if ciphertext C is consistent with ciphertext D.
The above embodiment of the present invention can be by controlling used in the number of species and anti-fake two-dimension code of anti-fake two-dimension code figure
The type of anti-fake material, the type of Encryption Algorithm and parameter generate a variety of different anti-fake two-dimension code figures respectively, so as to
Geometry grade increases the difficulty forged.
Figure 10 is the schematic diagram of some embodiments of the anti-fake self-correcting experiment device of self checking anti-fake two-dimension code of the present invention.Such as Figure 10
Shown, the anti-fake self-correcting experiment device of self checking anti-fake two-dimension code may include open two-dimension code pattern identification module 101, prevent
Pseudo- two-dimension code pattern identification module 102 and correction verification module 103, wherein:
Open two-dimension code pattern identification module 101 obtains the open Quick Response Code letter of self checking anti-fake two-dimension code for barcode scanning
Breath, wherein the self checking anti-fake two-dimension code is the self checking anti-fake two-dimension code as described in above-mentioned any embodiment.
Anti-fake two-dimension code pattern recognition module 102, for described certainly by the acquisition of machine-readable equipment barcode scanning under given conditions
Verify anti-fake two-dimension code anti-fake two-dimension code information.
Correction verification module 103, for judge under specified conditions by machine-readable equipment whether can barcode scanning obtain the self checking
Anti-fake two-dimension code anti-fake two-dimension code information;In the success of 102 barcode scanning of anti-fake two-dimension code pattern recognition module, anti-fake two can be obtained
In the case of tieing up code information, according to the true and false of self checking anti-fake two-dimension code described in anti-fake two-dimension code Information Authentication;And anti-fake
The failure of 102 barcode scanning of two-dimension code pattern identification module in the case of cannot obtaining anti-fake two-dimension code information, judges the self checking
Anti-fake two-dimension code is false.
In some embodiments of the invention, correction verification module 103 can be used in anti-fake two-dimension code pattern recognition module
102 barcode scannings success, anti-fake two-dimension code information can be obtained in the case of, for each anti-fake two-dimension code figure 3, according to described
3 corresponding anti-fake two-dimension code information of anti-fake two-dimension code figure judges whether the anti-fake two-dimension code figure 3 is true;All anti-
In the case of pseudo- two-dimension code pattern 3 is genuine, judge that the self checking anti-fake two-dimension code is true;Have any one anti-fake two
In the case that dimension code figure 3 is vacation, judge that the self checking anti-fake two-dimension code is false.
Figure 11 is the schematic diagram of correction verification module in some embodiments of the invention.As shown in figure 11, the school in Figure 10 embodiments
It may include anti-fake two-dimension code information acquisition unit 1031, interim ciphertext acquiring unit 1032 and verification unit to test module 103
1033, wherein:
Anti-fake two-dimension code information acquisition unit 1031 obtains described anti-fake for being directed to each anti-fake two-dimension code figure 3
3 corresponding anti-fake two-dimension code information of two-dimension code pattern, wherein the anti-fake two-dimension code information includes predetermined cryptographic algorithm code name
With anti-fake ciphertext, the anti-fake ciphertext is that operation production is encrypted to open 2 D code information using predetermined cryptographic algorithm in advance
Raw.
Interim ciphertext acquiring unit 1032, the open 2 D code information for being obtained to barcode scanning according to predetermined cryptographic algorithm
Operation is encrypted and obtains interim ciphertext.
In some embodiments of the invention, the anti-fake two-dimension code information can also include at least one encryption parameter;
The interim ciphertext acquiring unit 1032 can be also used for obtaining barcode scanning according to predetermined cryptographic algorithm and at least one encryption parameter
To open 2 D code information operation be encrypted obtain interim ciphertext.
Verification unit 1033, for judging whether anti-fake ciphertext is consistent with interim ciphertext;In anti-fake ciphertext and interim ciphertext
Under unanimous circumstances, judge that the anti-fake two-dimension code figure 3 is true;In the case of anti-fake ciphertext and inconsistent interim ciphertext,
Judge that the anti-fake two-dimension code figure 3 is false.
It, can be without outer based on the anti-fake self-correcting experiment device of self checking anti-fake two-dimension code that the above embodiment of the present invention provides
The true and false of self checking judgement self checking anti-fake two-dimension code in the case of boundary's information input.The self checking of the above embodiment of the present invention
The anti-fake self-correcting experiment device of anti-fake two-dimension code may be implemented, to anti-fake and the Quick Response Code true and false the self checking of open Quick Response Code, to make two
Dimension code information is difficult to forge.
Figure 12 is the schematic diagram of other embodiments of the anti-fake self-correcting experiment device of self checking anti-fake two-dimension code of the present invention.Such as figure
Shown in 12, the anti-fake self-correcting experiment device of self checking anti-fake two-dimension code may include self checking memory 121 and self checking processing
Device 122, wherein:
Self checking memory 121, for storing instruction.
Self checking processor 122, for executing described instruction so that the anti-fake self checking of self checking anti-fake two-dimension code
Device, which executes, realizes that the self checking anti-fake two-dimension code as described in above-mentioned any embodiment (such as Fig. 8 or Fig. 9 embodiments) is anti-fake certainly
The operation of method of calibration.
The above embodiment of the present invention can be by controlling used in the number of species and anti-fake two-dimension code of anti-fake two-dimension code figure
The type of anti-fake material, the type of Encryption Algorithm and parameter generate a variety of different anti-fake two-dimension code figures respectively, so as to
Geometry grade increases the difficulty forged.
According to another aspect of the present invention, a kind of computer readable storage medium, the computer-readable storage medium are provided
Matter is stored with computer instruction, realizes that the self checking as described in above-mentioned any embodiment is anti-when described instruction is executed by processor
Pseudo- two-dimension code anti-counterfeit self checking method, and/or the self checking anti-fake two-dimension code production method as described in above-mentioned any embodiment.
Based on the computer readable storage medium that the above embodiment of the present invention provides, the self checking anti-fake two-dimension code of making
Self checking it can judge the true and false of the self checking anti-fake two-dimension code in the case where no external information inputs.The present invention is above-mentioned
The computer readable storage medium of embodiment may be implemented, to anti-fake and the Quick Response Code true and false the self checking of open Quick Response Code, to make
2 D code information is difficult to forge.
So far, the present invention is described in detail.In order to avoid the design of the masking present invention, this field institute is not described
Some well known details.Those skilled in the art as described above, can be appreciated how to implement skill disclosed herein completely
Art scheme.
One of ordinary skill in the art will appreciate that realizing that all or part of step of above-described embodiment can pass through hardware
It completes, relevant hardware can also be instructed to complete by program, the program can be stored in a kind of computer-readable
In storage medium, storage medium mentioned above can be read-only memory, disk or CD etc..