CN103646265A - Two-dimensional code anti-counterfeiting method based on near infrared spectrum analysis - Google Patents
Two-dimensional code anti-counterfeiting method based on near infrared spectrum analysis Download PDFInfo
- Publication number
- CN103646265A CN103646265A CN201310603766.4A CN201310603766A CN103646265A CN 103646265 A CN103646265 A CN 103646265A CN 201310603766 A CN201310603766 A CN 201310603766A CN 103646265 A CN103646265 A CN 103646265A
- Authority
- CN
- China
- Prior art keywords
- near infrared
- dimensional code
- information
- infrared spectrum
- quick response
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Landscapes
- Inspection Of Paper Currency And Valuable Securities (AREA)
- Credit Cards Or The Like (AREA)
Abstract
The invention relates to a two-dimensional code anti-counterfeiting method based on near infrared spectrum analysis, which comprises a two-dimensional code generating process and a two-dimensional code reading process. The two-dimensional code generating process comprises the steps of selecting a certain printing ink to carry out sample making, acquiring a corresponding sample, and collecting near infrared spectrum information of the sample; carrying out principal component analysis on the near infrared spectrum information to acquire a corresponding principal component vector; encrypting the principal component vector to generate an encrypted text; finally storing the content comprising the encrypted text acting as additional information and two-dimensional code original information acting as the two-dimensional code, and generating a product two-dimensional code. The two-dimensional code reading process comprises the steps of collecting the near infrared spectrum information of the product two-dimensional code; carrying out principal component analysis on the near infrared spectrum information to acquire the corresponding principal component vector; comparing the principal component vector of the near infrared spectrum information with the additional information stored in the product two-dimensional code, if the principal component vector is matched with the additional information, authenticating the product two-dimensional code to be true, if not, authenticating the product two-dimensional code to be fake. The method provided by the invention is not only good in anti-counterfeiting effect, but also convenient to manufacture and low in production cost.
Description
Technical field
The present invention relates to two-dimension code anti-counterfeit technical field, particularly a kind of dimension code anti-counterfeit method based on near-infrared spectrum analysis.
Background technology
The figure identifying recording layer symbolic information that Quick Response Code adopts certain particular geometric figure to distribute at two-dimensional directional according to certain rules, can deposit and undertaken false proof by the information of anti-counterfeiting object to imply mode, the superiority of introducing planar bar code technology is greatly to deposit by the customized information of anti-counterfeiting object, comprises pictograph, sound etc.Quick Response Code generation simultaneously and cost of manufacture are lower, have therefore obtained in a lot of fields application.At present, the method for anti-counterfeit based on Quick Response Code mainly comprises following several mode:
The information of 1, Quick Response Code being preserved is encrypted, the encrypted information of recognition Quick Response Code, and can check the information of preserving in Quick Response Code by deciphering.This mode does not really realize false proof object, and the Quick Response Code of preserving enciphered message still can be replicated;
2, in conjunction with database technology, first read the unique identification information of preserving in Quick Response Code, then by network or out of Memory technology remote access Quick Response Code database, and this uniquely identified Quick Response Code is added to access flag in database, guarantee that this Quick Response Code can only be once accessed, thereby realize false proof object.Although this mode can play anti-fake effect to a certain extent, can not guarantee it is all that Quick Response Code corresponding to actual products first accessed each time, easily cause true and false putting upside down;
3, adopt invisible two-dimensional codes and profiling Quick Response Code to combine, wherein invisible two-dimensional codes mainly adopts special ink material or typography to combine, thereby realize the stealthy object that can not scan, duplicate, take a picture, reading of invisible two-dimensional codes information need be undertaken by special-purpose two dimension code reading equipment, in invisible two-dimensional codes and profiling Quick Response Code, store respectively different information, by by the Information Read-Out of depositing in two parts Quick Response Code, and realize false proof object by certain matching strategy.This mode need to be made two Quick Response Codes, has relatively high expectations for making and the typography of invisible two-dimensional codes simultaneously, and holistic cost is increased.
Because the sum of fundamental frequencies of hydric group (CH, OH, NH) vibration and the absorption of frequencys multiplication at different levels in the binder of near infrared spectrum district and printing-ink and organic pigment molecule are consistent, by the near infrared spectrum of scanning Quick Response Code, can obtain printing the eigen vibration information of organic molecule hydric group in Quick Response Code ink.Even same color, as long as its ink composition is different, corresponding near infrared spectrum also has larger difference, therefore, can distinguish different color from ink composition.
Summary of the invention
The object of the invention is to overcome the deficiencies in the prior art, a kind of dimension code anti-counterfeit method based on near-infrared spectrum analysis is provided, the method not only antifalse effect is good, and easy to make, and production cost is low.
For achieving the above object, the technical solution used in the present invention is: a kind of dimension code anti-counterfeit method based on near-infrared spectrum analysis, comprise Quick Response Code generative process and two dimension code reading process, and described Quick Response Code generative process comprises the following steps:
Step a1: select certain ink to draw a design, obtain respective sample, and gather the near infrared light spectrum information of described sample;
Step a2: the near infrared light spectrum information that step a1 is collected carries out principal component analysis (PCA), obtains corresponding major component vector;
Step a3: the major component vector that step a2 is obtained is encrypted, generates ciphertext;
Step a4: the ciphertext that step a3 is obtained is finally stored content together with Quick Response Code raw information as Quick Response Code as additional information, generates product Quick Response Code according to this;
Described two dimension code reading process comprises the following steps:
Step b1: the near infrared light spectrum information that gathers described product Quick Response Code;
Step b2: the near infrared light spectrum information that step b1 is collected carries out principal component analysis (PCA), obtains corresponding major component vector;
Step b3: the major component vector of the near infrared light spectrum information that step b2 is obtained, compares with the additional information of preserving in product Quick Response Code, if both couplings are accredited as very, otherwise are accredited as vacation.
Preferably, in step a1, described ink is the ink containing certain concentration hydrogen group composition.
Preferably, in step a2, near infrared light spectrum information is carried out to principal component analysis (PCA), further comprising the steps:
Step a201: original near infrared spectrum data is expressed as
pindividual variable exists
nthe matrix that the observed reading in the individual moment forms
x:
Wherein,
for
pdimensional vector, represents the
iconstantly right
pthe observed reading of individual variable;
Step a202: by orthonormal basis
e i (
i=1,2 ...,
p) tectonic transition matrix
efor:
And linearity is transformed to:
(3)
Wherein,
ymajor component matrix for original near infrared spectrum data
,the
iindividual major component component
y i for:
Y i =
e i X,
i=1,2,…,
p (4)
Orthonormal basis
e i by the proper vector of original near infrared spectrum data covariance matrix, formed described covariance matrix
c xfor:
Wherein,
Wherein,
with
represent respectively
iwith
jconstantly right
pthe mean value of individual variable observation;
c xset of eigenvectors be
e ' i , characteristic of correspondence value be
λ ' i ;
Step a203: will
λ ' i from big to small rearrangement obtain
λ i , by its order to proper vector
e ' i rearrangement obtain orthonormal basis
e i , wherein,
e 1be the corresponding proper vector of eigenvalue of maximum, the quantity of information comprising is maximum, and
e i (
i=1,2 ...,
p) characteristic of correspondence value reduces successively.
Compared to prior art, the invention has the beneficial effects as follows: by gathering, extract the near infrared spectrum relevant information of printed ink, form product Quick Response Code together with Quick Response Code raw information, and verify at recognition end, realized two-dimension code anti-counterfeit object, the problems such as the making that brings in invisible two-dimensional codes manufacturing process and typography complexity have not only been avoided, and because near-infrared spectrum analysis is mainly to analyze for the ink composition of printing Quick Response Code, even the ink of same color, also can there is larger difference in its corresponding near infrared spectrum, therefore, greatly improved the effect of two-dimension code anti-counterfeit, there is very strong practicality and wide application prospect.
Accompanying drawing explanation
Fig. 1 is the realization flow figure of the embodiment of the present invention.
Fig. 2 is the process flow diagram of Quick Response Code generative process in the embodiment of the present invention.
Embodiment
Below in conjunction with drawings and the specific embodiments, the present invention is further illustrated.
Overview flow chart of the present invention as shown in Figure 1.The present invention is based on the dimension code anti-counterfeit method of near-infrared spectrum analysis, comprise Quick Response Code generative process and two dimension code reading process.
Described Quick Response Code generative process as shown in Figure 2, specifically comprises the following steps:
Step a1: select containing the ink of certain concentration hydrogen group composition and draw a design, obtain respective sample, and gather the near infrared light spectrum information of described sample by near infrared spectrometer.
Step a2: the near infrared light spectrum information that step a1 is collected carries out principal component analysis (PCA), obtains corresponding major component vector.Wherein, near infrared light spectrum information is carried out to principal component analysis (PCA), further comprising the steps:
Step a201: original near infrared spectrum data is expressed as
pindividual variable exists
nthe matrix that the observed reading in the individual moment forms
x:
Wherein,
for
pdimensional vector, represents the
iconstantly right
pthe observed reading of individual variable;
Step a202: by orthonormal basis
e i (
i=1,2 ...,
p) tectonic transition matrix
efor:
And linearity is transformed to:
Wherein,
ymajor component matrix for original near infrared spectrum data
,the
iindividual major component component
y i for:
Y i =
e i X,
i=1,2,…,
p (4)
Orthonormal basis
e i by the proper vector of original near infrared spectrum data covariance matrix, formed described covariance matrix
c xfor:
Wherein,
Wherein,
with
represent respectively
iwith
jconstantly right
pthe mean value of individual variable observation;
c xset of eigenvectors be
e ' i , characteristic of correspondence value be
λ ' i ;
Step a203: will
λ ' i from big to small rearrangement obtain
λ i , by its order to proper vector
e ' i rearrangement obtain orthonormal basis
e i , wherein,
e 1be the corresponding proper vector of eigenvalue of maximum, the quantity of information comprising is maximum, and
e i (
i=1,2 ...,
p) characteristic of correspondence value reduces successively.
Step a3: the major component vector that step a2 is obtained is encrypted, generates ciphertext.
Step a4: the ciphertext that step a3 is obtained is finally stored content together with Quick Response Code raw information as Quick Response Code as additional information, generates product Quick Response Code according to this.
Described two dimension code reading process, specifically comprises the following steps:
Step b1: the near infrared light spectrum information that gathers described product Quick Response Code by near infrared spectrometer;
Step b2: the near infrared light spectrum information that step b1 is collected carries out principal component analysis (PCA), obtains corresponding major component vector;
Step b3: the major component vector of the near infrared light spectrum information that step b2 is obtained, compares with the additional information of preserving in product Quick Response Code, if both couplings are accredited as very, otherwise are accredited as vacation.
Be more than preferred embodiment of the present invention, all changes of doing according to technical solution of the present invention, when the function producing does not exceed the scope of technical solution of the present invention, all belong to protection scope of the present invention.
Claims (3)
1. the dimension code anti-counterfeit method based on near-infrared spectrum analysis, comprises Quick Response Code generative process and two dimension code reading process, it is characterized in that:
Described Quick Response Code generative process comprises the following steps:
Step a1: select certain ink to draw a design, obtain respective sample, and gather the near infrared light spectrum information of described sample;
Step a2: the near infrared light spectrum information that step a1 is collected carries out principal component analysis (PCA), obtains corresponding major component vector;
Step a3: the major component vector that step a2 is obtained is encrypted, generates ciphertext;
Step a4: the ciphertext that step a3 is obtained is finally stored content together with Quick Response Code raw information as Quick Response Code as additional information, generates product Quick Response Code according to this;
Described two dimension code reading process comprises the following steps:
Step b1: the near infrared light spectrum information that gathers described product Quick Response Code;
Step b2: the near infrared light spectrum information that step b1 is collected carries out principal component analysis (PCA), obtains corresponding major component vector;
Step b3: the major component vector of the near infrared light spectrum information that step b2 is obtained, compares with the additional information of preserving in product Quick Response Code, if both couplings are accredited as very, otherwise are accredited as vacation.
2. the dimension code anti-counterfeit method based on near-infrared spectrum analysis according to claim 1, is characterized in that: in step a1, described ink is the ink containing certain concentration hydrogen group composition.
3. the dimension code anti-counterfeit method based on near-infrared spectrum analysis according to claim 1, is characterized in that: in step a2, near infrared light spectrum information is carried out to principal component analysis (PCA), further comprising the steps:
Step a201: original near infrared spectrum data is expressed as
pindividual variable exists
nthe matrix that the observed reading in the individual moment forms
x:
Wherein,
for
pdimensional vector, represents the
iconstantly right
pthe observed reading of individual variable;
Step a202: by orthonormal basis
e i (
i=1,2 ...,
p) tectonic transition matrix
efor:
(2)
And linearity is transformed to:
Wherein,
ymajor component matrix for original near infrared spectrum data
,the
iindividual major component component
y i for:
Y i =
e i X,
i=1,2,…,
p (4)
Orthonormal basis
e i by the proper vector of original near infrared spectrum data covariance matrix, formed described covariance matrix
c xfor:
Wherein,
Wherein,
with
represent respectively
iwith
jconstantly right
pthe mean value of individual variable observation;
c xset of eigenvectors be
e ' i , characteristic of correspondence value be
λ ' i ;
Step a203: will
λ ' i from big to small rearrangement obtain
λ i , by its order to proper vector
e ' i rearrangement obtain orthonormal basis
e i , wherein,
e 1be the corresponding proper vector of eigenvalue of maximum, the quantity of information comprising is maximum, and
e i (
i=1,2 ...,
p) characteristic of correspondence value reduces successively.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310603766.4A CN103646265A (en) | 2013-11-26 | 2013-11-26 | Two-dimensional code anti-counterfeiting method based on near infrared spectrum analysis |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310603766.4A CN103646265A (en) | 2013-11-26 | 2013-11-26 | Two-dimensional code anti-counterfeiting method based on near infrared spectrum analysis |
Publications (1)
Publication Number | Publication Date |
---|---|
CN103646265A true CN103646265A (en) | 2014-03-19 |
Family
ID=50251476
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310603766.4A Pending CN103646265A (en) | 2013-11-26 | 2013-11-26 | Two-dimensional code anti-counterfeiting method based on near infrared spectrum analysis |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103646265A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107203798A (en) * | 2017-05-24 | 2017-09-26 | 南京邮电大学 | A kind of generation and recognition methods for limiting access type figure ground Quick Response Code |
CN107563479A (en) * | 2017-08-28 | 2018-01-09 | 宁夏软件工程院有限公司 | The preparation and recognition methods of a kind of invisible two-dimensional codes |
CN107748993A (en) * | 2017-10-20 | 2018-03-02 | 北京甘湜科技有限公司 | A kind of item verification method and device based on Quick Response Code |
CN109543798A (en) * | 2018-11-29 | 2019-03-29 | 深圳达闼科技控股有限公司 | A kind of method, apparatus and calculating equipment of the product false proof based on spectral information |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20070023523A1 (en) * | 2005-08-01 | 2007-02-01 | Takeshi Onishi | Code pattern image generation apparatus and method, code pattern image reader apparatus and method, and code pattern image medium |
JP2009163720A (en) * | 2007-12-14 | 2009-07-23 | National Institute Of Advanced Industrial & Technology | Two-dimensional code generating device |
CN102609543A (en) * | 2012-02-27 | 2012-07-25 | 华南农业大学 | Multifunctional two-dimensional code product traceability system and traceability method |
CN103226723A (en) * | 2013-04-26 | 2013-07-31 | 福建鸿博印刷股份有限公司 | Combined two-dimensional code anti-counterfeiting method capable of preventing copy |
-
2013
- 2013-11-26 CN CN201310603766.4A patent/CN103646265A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20070023523A1 (en) * | 2005-08-01 | 2007-02-01 | Takeshi Onishi | Code pattern image generation apparatus and method, code pattern image reader apparatus and method, and code pattern image medium |
JP2009163720A (en) * | 2007-12-14 | 2009-07-23 | National Institute Of Advanced Industrial & Technology | Two-dimensional code generating device |
CN102609543A (en) * | 2012-02-27 | 2012-07-25 | 华南农业大学 | Multifunctional two-dimensional code product traceability system and traceability method |
CN103226723A (en) * | 2013-04-26 | 2013-07-31 | 福建鸿博印刷股份有限公司 | Combined two-dimensional code anti-counterfeiting method capable of preventing copy |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107203798A (en) * | 2017-05-24 | 2017-09-26 | 南京邮电大学 | A kind of generation and recognition methods for limiting access type figure ground Quick Response Code |
CN107203798B (en) * | 2017-05-24 | 2019-10-01 | 南京邮电大学 | A kind of generation and recognition methods limiting access type figure ground two dimensional code |
CN107563479A (en) * | 2017-08-28 | 2018-01-09 | 宁夏软件工程院有限公司 | The preparation and recognition methods of a kind of invisible two-dimensional codes |
CN107748993A (en) * | 2017-10-20 | 2018-03-02 | 北京甘湜科技有限公司 | A kind of item verification method and device based on Quick Response Code |
CN109543798A (en) * | 2018-11-29 | 2019-03-29 | 深圳达闼科技控股有限公司 | A kind of method, apparatus and calculating equipment of the product false proof based on spectral information |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103226723B (en) | A kind of can the combined two-dimension code anti-counterfeiting method of anti-copying | |
Muhammad et al. | Pre-trained VGGNet architecture for remote-sensing image scene classification | |
Xue et al. | Simultaneous sparse graph embedding for hyperspectral image classification | |
CN103646265A (en) | Two-dimensional code anti-counterfeiting method based on near infrared spectrum analysis | |
Fang et al. | Dimensionality reduction of hyperspectral images based on robust spatial information using locally linear embedding | |
Osorio-Roig et al. | Stable hash generation for efficient privacy-preserving face identification | |
Zhang et al. | Multi-temporal SAR image classification of coastal plain wetlands using a new feature selection method and random forests | |
CN104527535B (en) | A kind of automotive license plate of band encryption QR Quick Response Code | |
CN106936586A (en) | A kind of biological secret key extracting method based on fingerprint bit string and Error Correction of Coding | |
CN105654122B (en) | Based on the matched spatial pyramid object identification method of kernel function | |
Qian et al. | Robust low-rank regularized regression for face recognition with occlusion | |
CN101540049A (en) | End member extract method of hyperspectral image | |
CN103164689A (en) | Face recognition method and face recognition system | |
Qi et al. | Global-local three-dimensional convolutional transformer network for hyperspectral image classification | |
Tao et al. | Local difference ternary sequences descriptor based on unsupervised min redundancy mutual information feature selection | |
Teoh et al. | Secure speech template protection in speaker verification system | |
CN105260748A (en) | Method for clustering uncertain data | |
CN116597186A (en) | Multi-view subspace clustering method, system, electronic equipment and storage medium | |
CN104809468A (en) | Multi-view classification method based on indefinite kernels | |
CN103049523B (en) | A kind of method using low-rank Semidefinite Programming to solve social recommendation problem | |
Qi et al. | A generative-based image fusion strategy for visible-infrared person re-identification | |
Fondje et al. | Learning domain and pose invariance for thermal-to-visible face recognition | |
Chu et al. | Photo filter classification and filter recommendation without much manual labeling | |
Gupta et al. | An efficient biogeography based face recognition algorithm | |
Zhihua et al. | Weighted infrared face recognition in multiwavelet domain |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20140319 |
|
RJ01 | Rejection of invention patent application after publication |