CN106447003A - Method for manufacturing and identifying two-dimensional code anti-counterfeit label of agricultural product - Google Patents
Method for manufacturing and identifying two-dimensional code anti-counterfeit label of agricultural product Download PDFInfo
- Publication number
- CN106447003A CN106447003A CN201610935320.5A CN201610935320A CN106447003A CN 106447003 A CN106447003 A CN 106447003A CN 201610935320 A CN201610935320 A CN 201610935320A CN 106447003 A CN106447003 A CN 106447003A
- Authority
- CN
- China
- Prior art keywords
- information
- code
- pattern
- agricultural product
- invisible
- 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
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06K—GRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
- G06K19/00—Record carriers for use with machines and with at least a part designed to carry digital markings
- G06K19/06—Record carriers for use with machines and with at least a part designed to carry digital markings characterised by the kind of the digital marking, e.g. shape, nature, code
- G06K19/06009—Record carriers for use with machines and with at least a part designed to carry digital markings characterised by the kind of the digital marking, e.g. shape, nature, code with optically detectable marking
- G06K19/06046—Constructional details
- G06K19/06056—Constructional details the marking comprising a further embedded marking, e.g. a 1D bar code with the black bars containing a smaller sized coding
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
The invention discloses a method for manufacturing and identifying a two-dimensional code anti-counterfeit label of an agricultural product. The method has the advantages that the anti-counterfeit information of the agricultural product is mixed and encrypted by DES (data encryption standard) and RSA (Rivest Shamir Adleman) algorithms, and is encoded to generate a hidden two-dimensional code pattern, so that the operation amount is small, the efficiency is high, and the safety is high; the hidden two-dimensional code pattern is divided into a positioning code pattern and an information code pattern, and the positioning code pattern and the information code pattern are respectively printed onto the designated locations of the anti-counterfeit label by at least two types of fluorescent carbon powder with different waveband light sensing; by adopting the two layers of code types, the information amount of codes is large, the anti-counterfeit effect is better, and the easiness in counterfeiting is avoided; the production cost is lower, and the manufacturing engineering is simple.
Description
Technical field
The invention belongs to two-dimension code anti-counterfeit technical field, it is related to a kind of two-dimensional code anti-counterfeiting label, specifically a kind of agricultural product
The making of two-dimensional code anti-counterfeiting label and recognition methods.
Background technology
Quick Response Code is because its information capacity is big, coding range is wide, error correcting capability is strong, good confidentiality many advantages, such as,
It is used widely in all trades and professions rapidly, the recently used train ticket of China has printed QR code (two by national standard
One kind of dimension code, QR is the abbreviation of Quick Response, i.e. fast reaction).
Currently a popular Quick Response Code mostly is square matrix code, with regularly arranged black, white in the rectangular area of an agreement
Block represents data 1 or 0.Black, white blocks all possible of diverse location in the rectangular area of agreement is arranged to form this
The data field of 2 D code system.
Except can be in addition to characterize data, Quick Response Code must also be able to correctly be distinguished, and otherwise Quick Response Code does not just have any reality
With being worth.Generally, Quick Response Code designer can embed some changeless schemas (Pattern) as recognition code in code word
The positioning of word and orientation foundation.For example, QR code arranges three positioning schemas in the upper left corner of its code word, the upper right corner, the lower left corner;DM
In completely black frame in the left side of its code word and following setting etc., the effect of these schemas is position and the reading code of positioning code word to code
Direction.
The having many uses of Quick Response Code, you can print and be used for identifying attribute, specification of commodity etc. for plain code, also can print as meat
The eye dark line that is difficult to discover is embedded in printed article, and as anti-counterfei waterprint or certain mark, it is to can information memory capacity and safety
The requirement of property is high.
Content of the invention
It is an object of the invention to provide a kind of antifalse effect preferably, be not easy to be forged, manufacturing process is simple, produce into
This is relatively low, coding information quantity the is larger making of agricultural product two-dimensional code anti-counterfeiting label and recognition methods.
The purpose of the present invention can be achieved through the following technical solutions:
A kind of preparation method of agricultural product two-dimensional code anti-counterfeiting label, comprises the following steps:
Step S101, generates software, the anti-counterfeiting information of input agricultural product using the Quick Response Code specified;
Anti-counterfeiting information is encrypted using des encryption algorithm and obtains encryption information, and generates corresponding by step S102
Des encryption key;
Step S103, is encrypted to des encryption key using RSA cryptographic algorithms, and is saved in the data of encryption information
In head;
Step S104, is encoded to encryption information using two-dimentional code coder, generates invisible two-dimensional codes pattern;
Step S105, invisible two-dimensional codes pattern is divided into alignment code pattern and information code pattern, and generates corresponding two
The layer film;
Alignment code pattern and information code pattern are printed to the specific bit of antifalsification label respectively by step S106 using printer
Put.
Further, the coded system in described step S104 encodes for QR.
Further, in described step S106, printed using the photosensitive fluorescence carbon dust of at least two different-wavebands.
A kind of recognition methods of agricultural product two-dimensional code anti-counterfeiting label, comprises the following steps:
Step S201, the antifalsification label being printed on invisible two-dimensional codes is put into the Quick Response Code identifier specified:Wherein, described
The inside of Quick Response Code identifier is provided with camera, and the first LED of two kinds of different luminescence band and the second LED;
Step S202, the camera of Quick Response Code identifier is navigated to the invisible two-dimensional codes pattern position of antifalsification label;
Step S203, opens the first LED, camera shoots to invisible two-dimensional codes pattern, obtains alignment code pattern;
Step S204, opens the second LED, camera shoots to invisible two-dimensional codes pattern, obtains information code pattern;
Step S205, Quick Response Code identifier goes out alignment code information according to alignment code pattern identification;
Step S206, Quick Response Code identifier goes out information code according to alignment code information and information code pattern identification;
Step S207, carries out QR using QR decoding software to information code and decodes and obtain encryption information;
Step S208, extracts data head in encryption information, close using the des encryption preserving in RSA Algorithm ciphertext data head
Key;
Step S209, using des encryption key, applies DES algorithm deciphering encryption information, obtains the false proof letter of agricultural product
Breath.
Beneficial effects of the present invention:The anti-counterfeiting information of agricultural product after DES and RSA Algorithm Hybrid Encryption, is led to by the present invention
Cross coding and generate invisible two-dimensional codes pattern, operand is little, efficiency high, safe;And invisible two-dimensional codes pattern is divided into positioning
Code pattern and information code pattern, using the photosensitive fluorescence carbon dust of at least two different-wavebands by alignment code pattern and information code pattern
Print to respectively in the specified location of antifalsification label, due to using two-layer pattern, so its coding information quantity is larger, antifalse effect
Preferably it is not easy to be forged, and production cost is relatively low, and fabrication is simple.
Brief description
With specific embodiment, the present invention is described in further detail below in conjunction with the accompanying drawings.
Fig. 1 is the flow chart of invisible two-dimension code anti-counterfeit label preparation method of the present invention.
Fig. 2 is the flow chart of invisible two-dimension code anti-counterfeit label recognition methods of the present invention.
Specific embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete
Site preparation description is it is clear that described embodiment is only a part of embodiment of the present invention, rather than whole embodiments.It is based on
Embodiment in the present invention, it is all other that those of ordinary skill in the art are obtained under the premise of not making creative work
Embodiment, broadly falls into the scope of protection of the invention.
As shown in figure 1, the invention provides a kind of preparation method of agricultural product two-dimensional code anti-counterfeiting label, walking including following
Suddenly:
Step S101, generates software, the anti-counterfeiting information of input agricultural product using the Quick Response Code specified;Wherein, anti-counterfeiting information
Including agricultural product information, agricultural product growing environment information and processing of farm products information.
Anti-counterfeiting information is encrypted using des encryption algorithm and obtains encryption information, and generates corresponding by step S102
Des encryption key;Wherein, anti-counterfeiting information is encrypted and obtains encryption information, 2 D code information can be strengthened by encryption and imitated
The difficulty made.
Step S103, is encrypted to des encryption key using RSA cryptographic algorithms, and is saved in the data of encryption information
In head;Wherein, DES key is encrypted by RSA Algorithm, increase the security of 2 D code information.
Step S104, is encoded to encryption information using two-dimentional code coder, generates invisible two-dimensional codes pattern;Wherein,
Encryption information is carried out with coding and generates invisible two-dimensional codes pattern, the difficulty copied can be further enhanced by coding, increase peace
Quan Xing.In the present embodiment, the above-mentioned QR that is encoded to encodes, and will above-mentioned encryption information be encoded using QR code.
Step S105, invisible two-dimensional codes pattern is divided into alignment code pattern and information code pattern, and generates corresponding two
The layer film;Wherein, alignment code pattern has individual film layer, and information code pattern also has individual film layer, due to using alignment code pattern and
Two layers of information code pattern, so its Quick Response Code coding information quantity is big, substantially exceed common invisible two-dimensional codes coding information, general
Logical invisible two-dimensional codes can only encode several Chinese characters to most tens Chinese characters, and due to being set using two-layer pattern in the present invention
Meter is so that coding information can reach more than 1000 Chinese characters.
Alignment code pattern and information code pattern are printed to the specific bit of antifalsification label respectively by step S106 using printer
Put;Wherein, printed material adopts the photosensitive fluorescence carbon dust of at least two different-wavebands, and in the present embodiment, invisible two-dimensional codes are to make
Form a Quick Response Code with two-layer pattern, need the fluorescence carbon dust of two kinds of different wavelength photoreceptors, need to be printed twice.So
Antifalse effect can be made to strengthen, the difficulty copied is larger.
As shown in Fig. 2 present invention also offers a kind of recognition methods of agricultural product two-dimensional code anti-counterfeiting label, walking including following
Suddenly:
Step S201, the antifalsification label being printed on invisible two-dimensional codes is put into the Quick Response Code identifier specified:Wherein, will be printed on
The Quick Response Code identifier specified put into by the antifalsification label of invisible two-dimensional codes, and the inside of this Quick Response Code identifier is provided with camera, separately
First LED and second LED of two kinds of different luminescence band are additionally provided with this Quick Response Code identifier outer, that is, a LED
The luminescence band of lamp is at different wave bands from the luminescence band of the second LED.
Step S202, the camera of Quick Response Code identifier is navigated to the invisible two-dimensional codes pattern position of antifalsification label.
Step S203, opens the first LED, camera shoots to invisible two-dimensional codes pattern, obtains alignment code pattern.
Step S204, opens the second LED, camera shoots to invisible two-dimensional codes pattern, obtains information code pattern.
Step S205, Quick Response Code identifier goes out alignment code information according to alignment code pattern identification.
Step S206, Quick Response Code identifier goes out information code according to alignment code information and information code pattern identification.
Step S207, carries out QR using QR decoding software to information code and decodes and obtain encryption information.
Step S208, extracts data head in encryption information, close using the des encryption preserving in RSA Algorithm ciphertext data head
Key.
Step S209, using des encryption key, applies DES algorithm deciphering encryption information, obtains the false proof letter of agricultural product
Breath.
The anti-counterfeiting information of agricultural product after DES and RSA Algorithm Hybrid Encryption, is generated stealthy two dimension by coding by the present invention
Code pattern, operand is little, efficiency high, safe;And invisible two-dimensional codes pattern is divided into alignment code pattern and information code pattern,
Using at least two different-wavebands photosensitive fluorescence carbon dust, alignment code pattern and information code pattern are printed to antifalsification label respectively
Specified location on, due to using two-layer pattern, so its coding information quantity is larger, antifalse effect preferably it is not easy to be forged,
And production cost is relatively low, fabrication is simple.
In the description of this specification, the description of reference term " embodiment ", " example ", " specific example " etc. means
It is contained at least one enforcement of the present invention in conjunction with the specific features of this embodiment or example description, structure, material or feature
In example or example.In this manual, identical embodiment or example are not necessarily referring to the schematic representation of above-mentioned term.
And, the specific features of description, structure, material or feature can be to close in any one or more embodiments or example
Suitable mode combines.
Above content is only to present configuration example and explanation, affiliated those skilled in the art couple
Described specific embodiment is made various modifications or supplements or substituted using similar mode, without departing from invention
Structure or surmount scope defined in the claims, all should belong to protection scope of the present invention.
Claims (4)
1. a kind of preparation method of agricultural product two-dimensional code anti-counterfeiting label is it is characterised in that comprise the following steps:
Step S101, generates software, the anti-counterfeiting information of input agricultural product using the Quick Response Code specified;
Anti-counterfeiting information is encrypted using des encryption algorithm and obtains encryption information by step S102, and generates corresponding DES and add
Key;
Step S103, is encrypted to des encryption key using RSA cryptographic algorithms, and is saved in the data head of encryption information;
Step S104, is encoded to encryption information using two-dimentional code coder, generates invisible two-dimensional codes pattern;
Step S105, invisible two-dimensional codes pattern is divided into alignment code pattern and information code pattern, and it is luxuriant and rich with fragrance to generate corresponding two-layer
Woods;
Alignment code pattern and information code pattern are printed to the specified location of antifalsification label respectively by step S106 using printer.
2. a kind of preparation method of agricultural product two-dimensional code anti-counterfeiting label according to claim 1 is it is characterised in that described step
Coded system in rapid S104 encodes for QR.
3. a kind of preparation method of agricultural product two-dimensional code anti-counterfeiting label according to claim 1 is it is characterised in that described step
In rapid S106, printed using the photosensitive fluorescence carbon dust of at least two different-wavebands.
4. a kind of recognition methods of agricultural product two-dimensional code anti-counterfeiting label is it is characterised in that comprise the following steps:
Step S201, the antifalsification label being printed on invisible two-dimensional codes is put into the Quick Response Code identifier specified:Wherein, described two dimension
The inside of code identifier is provided with camera, and the first LED of two kinds of different luminescence band and the second LED;
Step S202, the camera of Quick Response Code identifier is navigated to the invisible two-dimensional codes pattern position of antifalsification label;
Step S203, opens the first LED, camera shoots to invisible two-dimensional codes pattern, obtains alignment code pattern;
Step S204, opens the second LED, camera shoots to invisible two-dimensional codes pattern, obtains information code pattern;
Step S205, Quick Response Code identifier goes out alignment code information according to alignment code pattern identification;
Step S206, Quick Response Code identifier goes out information code according to alignment code information and information code pattern identification;
Step S207, carries out QR using QR decoding software to information code and decodes and obtain encryption information;
Step S208, extracts data head in encryption information, using the des encryption key preserving in RSA Algorithm ciphertext data head;
Step S209, using des encryption key, applies DES algorithm deciphering encryption information, obtains the anti-counterfeiting information of agricultural product.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610935320.5A CN106447003A (en) | 2016-11-01 | 2016-11-01 | Method for manufacturing and identifying two-dimensional code anti-counterfeit label of agricultural product |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610935320.5A CN106447003A (en) | 2016-11-01 | 2016-11-01 | Method for manufacturing and identifying two-dimensional code anti-counterfeit label of agricultural product |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106447003A true CN106447003A (en) | 2017-02-22 |
Family
ID=58178106
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610935320.5A Pending CN106447003A (en) | 2016-11-01 | 2016-11-01 | Method for manufacturing and identifying two-dimensional code anti-counterfeit label of agricultural product |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106447003A (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106875567A (en) * | 2017-04-17 | 2017-06-20 | 深圳汉华科技股份有限公司 | One kind digitlization food and food selling equipment |
CN107248135A (en) * | 2017-04-26 | 2017-10-13 | 阿里巴巴集团控股有限公司 | Generation, recognition methods and device, the computer-readable storage medium of anti-counterfeiting image |
CN108646993A (en) * | 2018-05-17 | 2018-10-12 | 张安东 | Output file uniqueness ensuring method based on biological attribute and fluorescent printing technology |
CN108960387A (en) * | 2018-07-12 | 2018-12-07 | 南京林业大学 | A kind of anti-counterfeiting two dimensional code and its generation and recognition methods |
CN110084949A (en) * | 2019-06-10 | 2019-08-02 | 北京意锐新创科技有限公司 | Multifunctional door prohibition system |
CN110197546A (en) * | 2019-06-10 | 2019-09-03 | 北京意锐新创科技有限公司 | Support the access control equipment reading method and device of invisible two-dimensional codes |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101320433A (en) * | 2008-06-20 | 2008-12-10 | 王立国 | Anti-counterfeit method by graded encryption |
CN103198344A (en) * | 2013-03-01 | 2013-07-10 | 重庆市远大印务有限公司 | Tax-control safety two-dimensional code encoding and decoding processing method |
CN103679241A (en) * | 2013-12-17 | 2014-03-26 | 深圳市美哲点读技术有限公司 | Generation method and identification method for invisible two-dimension code anti-counterfeit label |
CN105809015A (en) * | 2014-12-30 | 2016-07-27 | 航天信息股份有限公司 | Electronic ticket information hiding and verifying method, device and system |
-
2016
- 2016-11-01 CN CN201610935320.5A patent/CN106447003A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101320433A (en) * | 2008-06-20 | 2008-12-10 | 王立国 | Anti-counterfeit method by graded encryption |
CN103198344A (en) * | 2013-03-01 | 2013-07-10 | 重庆市远大印务有限公司 | Tax-control safety two-dimensional code encoding and decoding processing method |
CN103679241A (en) * | 2013-12-17 | 2014-03-26 | 深圳市美哲点读技术有限公司 | Generation method and identification method for invisible two-dimension code anti-counterfeit label |
CN105809015A (en) * | 2014-12-30 | 2016-07-27 | 航天信息股份有限公司 | Electronic ticket information hiding and verifying method, device and system |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106875567A (en) * | 2017-04-17 | 2017-06-20 | 深圳汉华科技股份有限公司 | One kind digitlization food and food selling equipment |
CN107248135A (en) * | 2017-04-26 | 2017-10-13 | 阿里巴巴集团控股有限公司 | Generation, recognition methods and device, the computer-readable storage medium of anti-counterfeiting image |
CN107248135B (en) * | 2017-04-26 | 2021-01-12 | 创新先进技术有限公司 | Anti-counterfeiting image generation and identification method and device and computer storage medium |
CN108646993A (en) * | 2018-05-17 | 2018-10-12 | 张安东 | Output file uniqueness ensuring method based on biological attribute and fluorescent printing technology |
CN108960387A (en) * | 2018-07-12 | 2018-12-07 | 南京林业大学 | A kind of anti-counterfeiting two dimensional code and its generation and recognition methods |
CN108960387B (en) * | 2018-07-12 | 2021-10-12 | 南京林业大学 | Anti-counterfeiting two-dimensional code and generation and identification method thereof |
CN110084949A (en) * | 2019-06-10 | 2019-08-02 | 北京意锐新创科技有限公司 | Multifunctional door prohibition system |
CN110197546A (en) * | 2019-06-10 | 2019-09-03 | 北京意锐新创科技有限公司 | Support the access control equipment reading method and device of invisible two-dimensional codes |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106447003A (en) | Method for manufacturing and identifying two-dimensional code anti-counterfeit label of agricultural product | |
CN102184380B (en) | Color-superposition two-dimension code system and application method thereof | |
CN102916804B (en) | Two-dimension code coding and decoding method and device based on local color verification | |
CN105718981B (en) | A kind of processing method preparing New Two Dimensional code image holographic false proof label | |
CA2586274C (en) | Mixed code, and method and apparatus for generating the same, and method and apparatus for decoding the same | |
CN105550730B (en) | Safe two-dimensional code manufacture method and decoding method, and safe two-dimensional code identifier | |
CN103310252B (en) | CCQR (Colorful Coded Quick Response) anti-counterfeiting mark | |
CN105976004A (en) | Color two-dimensional code multi-dimensional information encoding and decoding methods and devices | |
CN102184433A (en) | System and method for generating origin place packing label of agricultural products | |
US9934457B2 (en) | Method of securing a two-dimensional barcode | |
SA114360123B1 (en) | Marking comprising two patterns on a surface | |
CN102081747A (en) | Two-dimensional bar code | |
CN105303221A (en) | Stereoscopic label, manufacturing method and anti-counterfeiting identification method | |
CN106326961A (en) | Method for protecting the authenticity of an object, item, document, packaging and/or a label from imitation, forgery and theft | |
CN102842053B (en) | A kind of false proof figure code label and manufacture method thereof | |
CN204406897U (en) | Novel combination type anti-counterfeiting mark | |
CN104239926A (en) | Child straying preventing clothes based on two-dimension code technology | |
CN110516777A (en) | A kind of pattern in 2 D code and generation method | |
CN108734048A (en) | Various dimensions Quick Response Code based on proprietary code generates and interpretation method | |
CN103824102B (en) | A kind of two-dimension code anti-counterfeit encryption method | |
CN201552817U (en) | Holographical anti-fake stamp | |
WO2023005996A1 (en) | Customizable anti-counterfeiting element and anti-counterfeiting product | |
CN201319191Y (en) | Recognizing anti-fake voice pen | |
CN205003955U (en) | False -proof brand | |
CN101546452B (en) | GLD information coding integrated anti-forgery and recognition method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20170222 |