CN102916804B - Two-dimension code coding and decoding method and device based on local color verification - Google Patents

Two-dimension code coding and decoding method and device based on local color verification Download PDF

Info

Publication number
CN102916804B
CN102916804B CN201210311536.6A CN201210311536A CN102916804B CN 102916804 B CN102916804 B CN 102916804B CN 201210311536 A CN201210311536 A CN 201210311536A CN 102916804 B CN102916804 B CN 102916804B
Authority
CN
China
Prior art keywords
quick response
response code
pigmented section
code
coding
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201210311536.6A
Other languages
Chinese (zh)
Other versions
CN102916804A (en
Inventor
林毅申
曹维
刘财兴
林丕源
梁晓婷
肖媚燕
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
South China Agricultural University
Original Assignee
South China Agricultural University
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by South China Agricultural University filed Critical South China Agricultural University
Priority to CN201210311536.6A priority Critical patent/CN102916804B/en
Publication of CN102916804A publication Critical patent/CN102916804A/en
Application granted granted Critical
Publication of CN102916804B publication Critical patent/CN102916804B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention discloses a two-dimension code coding and decoding method and devices based on local color verification. The coding method comprises the following steps of: generating coloring region data randomly according to a predefined coloring region coding and decoding table, and taking the generated coloring region data as a secret key to perform encryption so as to obtain two-dimension code generation information; generating two-dimension code black-and-white images by a two-dimension code generation algorithm; and finally coloring the generated two-dimension code black-and-white images according to the coloring region data to obtain local colored two-dimension code images. The decoding method comprises the following steps of: reading the coloring region data on the two-dimension code images, and using a standard two-dimension code decoding algorithm to decode; and performing decryption on the decoded information by taking the coloring region data as the secret key via a decipherment algorithm to obtain original information of the two-dimension cod images. By using the invention based on original black and white colors, the coloring region information is increased, coding space of two-dimension codes can be expanded, and counterfeited difficulty is increased.

Description

A kind of Quick Response Code based on local color verification is encoded, coding/decoding method and device
Technical field
The present invention relates to Quick Response Code coding, decoding research field, particularly a kind of Quick Response Code coding method based on local color verification, code device and coding/decoding method and decoding device.
Background technology
Quick Response Code is according to certain rules in the chequered with black and white graphic recording data symbol information that plane (on two-dimensional directional) distributes with certain specific geometric figure, coding utilizes the concept of " 0 ", " 1 " bit stream forming computer-internal logical foundations dexterously, the geometrical body using several corresponding with binary system, to represent word numerical information, is processed to realize information automatically by image input device or photoelectric scanning device automatically identifying and reading.It has some general character of barcode technology: often kind of code system has its specific character set; Each character occupies certain width; There is certain verifying function etc.Also have simultaneously and the features such as change are rotated to the information automatic identification function of different rows and processing graphics.
Two-dimensional bar code has the characteristics such as confidentiality is high, traceability is high, damage resistance is strong, redundant is large, cost is low, has now been widely used in the aspects such as list, safe and secret, tracking, license, stock taking, data redundant.But because coding/decoding technology is open, the threshold making the Quick Response Code of personation is also very low.Standard two-dimensional code version is all use black and white two look in addition, and its space encoder is also limited.
Therefore, need a kind of effective anti-counterfeiting mark, Quick Response Code can be made to be strengthened by counterfeit difficulty on the one hand, the space encoder of Quick Response Code can be expanded on the other hand, ensure that Quick Response Code is not tampered.
Summary of the invention
Main purpose of the present invention is that the shortcoming overcoming prior art is with not enough, a kind of Quick Response Code coding method based on local color verification, code device and coding/decoding method and decoding device are provided, above-mentioned coding and decoding device and method are based on local color verification, on the basis of original black and white two look, add pigmented section information, the space encoder of Quick Response Code can be expanded, improve Quick Response Code by counterfeit difficulty simultaneously.
Object of the present invention is realized by following technical scheme:
Based on a Quick Response Code coding method for local color verification, comprise the following steps:
(1) in Quick Response Code template, according to the pigmented section coding and decoding table of predefined, stochastic generation pigmented section data, pigmented section data comprise pigmented section quantity, the shape of each pigmented section, the color of each pigmented section;
(2) the pigmented section data that Quick Response Code raw information generates using step (1) are encrypted as key, obtain Quick Response Code information generated;
(3) Quick Response Code information generated step (2) obtained generates Quick Response Code black and white image by Quick Response Code generating algorithm;
(4) the Quick Response Code template formulated according to step (1) and the pigmented section data of generation dye to the Quick Response Code black and white image that step (3) obtains, and finally obtain partial color image in 2 D code.
Preferably, in described step (1), the pigmented section coding and decoding table of predefined refers to the coding and decoding table that the shape that may occur according to pigmented section in advance and color are set up respectively, in shape coding decoding table, define the corresponding numerical value of each shape, same in color coding decoding table, define each Color pair and answer a numerical value, then together with pigmented section quantity, set up < pigmented section quantity i, the key vector of each pigmented section shape S, each pigmented section color C>.
Preferably, in described step (2), Quick Response Code raw information comprises hiding Info of need encrypting and does not need the cleartext information encrypted, the pigmented section data generated using step (1) that hide Info that need encrypt are encrypted as key, then hiding Info and not needing the cleartext information encrypted to carry out split after the encryption obtained are obtained Quick Response Code information generated.
Further, in described step (2), hiding Info of need encrypting, with the <i that step (1) generates, the key vector of S, C>, (does not need to specify certain according to existing open bidirectional encipher algorithm, can be optional according to prior art) be encrypted, obtain hiding Info after encrypting.
Further, in described step (2), hiding Info after cleartext information and encryption is carried out split and adopts following algorithm: cleartext information is designated as M 1, hiding Info after encryption is designated as M 2, use separator w to splice.A kind of simple connecting method is 2 D code information M=M 1+ w+M 2, cipher-text information, immediately following after cleartext information, can be undertaken expressly and the simple characters string splicing work of ciphertext by Quick Response Code generation side with this thinking.Another kind of simple concatenation mode inserts splicing, 2 D code information M=M 11+ M 21+ M 12+ M 22, be inserted into inside cleartext information according to fixing insertion position hide Info, also can be undertaken expressly and the string-concatenation of ciphertext by Quick Response Code generation side with this thinking.
Preferably, in described step (3), Quick Response Code information generated is generated image in 2 D code and adopts following Quick Response Code generating algorithm: the Quick Response Code information generated obtained according to step (2), the Quick Response Code generating algorithm (such as the generating algorithm of Quick Response Code PDF417, Datamatrix, Maxicode, QR Code, Code 49, Code16K, Vericode, Ultracode) of use standard, generates the Quick Response Code black and white image of standard.
Based on a Quick Response Code coding/decoding method for local color verification, comprise the following steps:
(1) according to the pigmented section coding and decoding table of predefined, read the pigmented section data on image in 2 D code, pigmented section data comprise pigmented section quantity, the shape of each pigmented section, the color of each pigmented section;
(2) read image in 2 D code, using having color region as black region in the image in 2 D code of local dyeing, then image in 2 D code being used as standard black and white image in 2 D code, using standard two-dimensional code decoding algorithm to decode;
(3) decoded information is decrypted by decipherment algorithm for key with pigmented section data, obtains the raw information of image in 2 D code.
Preferably, in described step (2), the Quick Response Code decoding algorithm (such as Quick Response Code PDF417, Datamatrix, Maxicode, QR Code, Code 49, Code 16K, Vericode, Ultracode decoding algorithm) of existing standard is adopted to decode to original image in 2 D code information.
Preferably, in described step (3), decoded information comprises hiding Info of having encrypted and unencrypted cleartext information, and step is as follows: first by splitting algorithm, decoded information is split as hiding Info and unencrypted cleartext information of encryption; Adopt decipherment algorithm to be decrypted as key the pigmented section data that hiding Info of having encrypted generates using step (1) again, finally obtain the raw information of image in 2 D code.
Further, in described step (3), hiding Info after cleartext information and encryption is carried out splitting and adopts following algorithm: in the Quick Response Code simple concatenation information that described step (2) obtains, the separator finding the fractionation foundation of carrying out plaintext and ciphertext (is designated as w), be respectively clear data and encrypt data before and after separator, a kind of simple fractionation mode is according to 2 D code information M=M 1+ w+M 2, split clear data M 1with encrypt data M 2.Obtaining Quick Response Code in described step (2) inserts in concatenation information, according to 2 D code information M=M 11+ M 21+ M 12+ M 22, reduction M 1=M 11+ M 12+ M 13, M 2=M 21+ M 22+ M 23, reduction clear data M 1with encrypt data M 2.
Preferably, in described step (3), to step (2) obtain encrypt data with pigmented section data for the two-way decipherment algorithm of key by standard is decrypted.
Based on a Quick Response Code code device for local color verification, comprising:
Pigmented section data generating device, for generating pigmented section according to the pigmented section coding and decoding table of predefined in Quick Response Code template;
Quick Response Code generating apparatus, comprises encrypting module and Quick Response Code coding module, and described encrypting module is connected with described Quick Response Code coding module, and described Quick Response Code generating apparatus is connected with pigmented section data generating device; Encrypting module, for pigmented section data for hiding Info of need encrypting of double secret key is encrypted; Quick Response Code coding module, for generating Quick Response Code black and white image by the Quick Response Code information generated obtained after encrypting module encryption;
Quick Response Code color image forming apparatus, the data according to pigmented section data generating device dye to the Quick Response Code black and white image that Quick Response Code generating apparatus generates, and obtain the Quick Response Code coloured image of local dyeing.
Preferably, described Quick Response Code generating apparatus also comprises die section, and die section is used for the cleartext information not needing to encrypt and hiding Info of having encrypted to carry out split, then the data after split is sent to Quick Response Code coding module; Described die section is connected with encrypting module, Quick Response Code coding module respectively.
Based on a Quick Response Code decoding device for local color verification, comprising:
Quick Response Code pigmented section reading device, reads pigmented section data in image in 2 D code for the pigmented section coding and decoding table according to predefined;
Quick Response Code reading device, comprising:
Read module, for reading image in 2 D code;
Quick Response Code decoder module, decodes for the image in 2 D code information read read module;
Deciphering module, for pigmented section data hiding Info and be decrypted for encryption after double secret key decoding;
Described read module, Quick Response Code decoder module, deciphering module connect successively.
Preferably, described Quick Response Code reading device also comprises fractionation module, for the information after Quick Response Code decoding module decodes being split into not encrypted cleartext information and encryptedly hiding Info; Described fractionation module is connected with Quick Response Code decoder module, deciphering module respectively.
Compared with prior art, tool has the following advantages and beneficial effect in the present invention:
1, the key of the present invention by hiding Info using pigmented section data as Quick Response Code, make the local color of Quick Response Code and the data pair of Quick Response Code, realize the monitoring to data, supervision, coding method of the present invention, coding/decoding method, code device and decoding device have identical or corresponding technical characteristic: the key hidden Info using pigmented section data as Quick Response Code is encrypted or decrypting process.One aspect of the present invention can be expanded Quick Response Code space encoder by partial color, Quick Response Code fetch equipment of the present invention can be used to read the information be hidden in Quick Response Code on the other hand, ensure that the integrality of Quick Response Code, fail safe and confidentiality, and Quick Response Code can be carried hide Info, strengthen antifalsification and the uniqueness of Quick Response Code, developing Quick Response Code is as the new opplication field outside data label, make Quick Response Code at the links of the process of circulation, the true and false of Quick Response Code can be checked, take precautions against personation phenomenon.
2, the present invention can be widely used in needing label auxiliary commodity circulation, production process control, management process to control etc. all trades and professions, and such as supplier generates by local color superposition algorithm the Quick Response Code that local is colour product information and anti-counterfeiting information on common black and white Quick Response Code basis.Commercially, consumer, by the general Quick Response Code fetch program, reads the product information in Quick Response Code; Supplier by professional fetch equipment, reads hiding Info of partial color in Quick Response Code, reaches the management such as data are traced to the source, sale control.
Accompanying drawing explanation
Fig. 1 is the structural representation of the embodiment of the present invention 1 Quick Response Code code device.
Fig. 2 is the structural representation of the embodiment of the present invention 1 Quick Response Code decoding device.
Fig. 3 is the embodiment of the present invention 1 coding method and the flow chart of coding/decoding method in the application of commodity anti-channel conflict.
Embodiment
Below in conjunction with embodiment and accompanying drawing, the present invention is described in further detail, but embodiments of the present invention are not limited thereto.
Embodiment 1
In the present embodiment based on the Quick Response Code code device of local color verification as shown in Figure 1, this device comprises pigmented section data generating device, Quick Response Code generating apparatus and Quick Response Code color image forming apparatus, and described Quick Response Code generating apparatus comprises the encrypting module, die section and the Quick Response Code coding module that connect successively.
Pigmented section data generating device, for generating the related data (comprising pigmented section quantity, color, shape etc.) of pigmented section in Quick Response Code template according to the pigmented section coding and decoding table of predefined.
Encrypting module, for pigmented section data for hiding Info of need encrypting of double secret key is encrypted.
Data after split, for the cleartext information without encryption with carry out split through hiding Info of encryption, are then sent to Quick Response Code coding module by die section.
Quick Response Code coding module is used for encrypted hiding Info to generate the Quick Response Code black and white image of standard with the cleartext information of not encrypted.Quick Response Code coding module can adopt Quick Response Code PDF417, Datamatrix, Maxicode, QR Code, Code 49, the generating algorithm of Code 16K, Vericode, Ultracode generates.
Quick Response Code color image forming apparatus, the Quick Response Code black and white image that the pigmented section, quantity and the Color pair Quick Response Code generating apparatus that obtain according to pigmented section data generating device generate dyes, and obtains the Quick Response Code coloured image of local dyeing.
In the present embodiment based on the Quick Response Code decoding device of local color verification as shown in Figure 2, Quick Response Code pigmented section reading device and Quick Response Code reading device is comprised; Described Quick Response Code decoding device comprises the read module, Quick Response Code decoder module, fractionation module and the deciphering module that connect successively.
Quick Response Code pigmented section reading device, reads pigmented section data in image in 2 D code for the pigmented section coding and decoding table according to predefined; The data of pigmented section comprise pigmented section quantity, color, shape etc.
Read module, for reading image in 2 D code.
Quick Response Code decoder module, decodes for the image in 2 D code information read read module.
Split module, for splitting into decoded for image in 2 D code information without the cleartext information of encryption and hiding Info through encryption.
Deciphering module, for pigmented section data for double secret key split module split after being decrypted through hiding Info of encryption.
Fig. 3 is the schematic diagram of the present embodiment in the application of commodity anti-channel conflict.As shown in the figure, after the present embodiment completes cataloged procedure according to the coding method shown in Fig. 3, production firm pastes or prints partial color Quick Response Code on product and packaging thereof, and production firm, consumer and sale controlling unit can carry out decoding and Output rusults by the coding/decoding method shown in figure to bar code and Quick Response Code as required.Concrete, the coding method adopted in the present embodiment and coding/decoding method as follows.
Based on the Quick Response Code coding method of local color verification in the present embodiment, comprise the following steps:
(1) in Quick Response Code template (rectangle or square), according to the pigmented section coding and decoding table of predefined, stochastic generation pigmented section data, pigmented section data comprise pigmented section quantity, the shape of each pigmented section, the color of each pigmented section.The pigmented section coding and decoding table of predefined refers to the coding and decoding table that the shape that may occur according to pigmented section in advance and color are set up respectively, in shape coding decoding table, define the corresponding numerical value of each shape, same in color coding decoding table, define each Color pair and answer a numerical value, then together with pigmented section quantity, set up < pigmented section quantity i, the key vector of each pigmented section shape S, each pigmented section color C>.
(2) Quick Response Code raw information comprises the M that hides Info that need encrypt 1do not need the cleartext information M encrypted 2; Use bidirectional encipher algorithm will to hide Info M 1with pigmented section data vector <i, S, C> are encrypted as key, obtain the M that hides Info after encrypting 1'=F (M 1, <i, S, C>); By M 1' and M 2by the split of split algorithm, obtain Quick Response Code information generated M=P (M 1', M 2).A kind of simple connecting method uses separator w to splice, 2 D code information M=M 1+ w+M 2, cipher-text information, immediately following after cleartext information, can be undertaken expressly and the simple characters string splicing work of ciphertext by Quick Response Code generation side with this thinking.Another kind of simple concatenation mode inserts splicing, 2 D code information M=M 11+ M 21+ M 12+ M 22, be inserted into inside cleartext information according to fixing insertion position hide Info, also can be undertaken expressly and the string-concatenation of ciphertext by Quick Response Code generation side with this thinking.
(3) Quick Response Code information generated step (2) obtained, by the Quick Response Code generating algorithm (such as Quick Response Code PDF417, Datamatrix, Maxicode, QR Code, Code 49, Code 16K, Vericode, Ultracode generating algorithm) of standard, generates the Quick Response Code black and white image of standard.
(4) the Quick Response Code template formulated according to step (1) and the pigmented section data of generation dye to the Quick Response Code black and white image that step (3) obtains, and finally obtain partial color image in 2 D code.
Based on the Quick Response Code coding/decoding method of local color verification in the present embodiment, comprise the following steps:
(1) according to the pigmented section coding and decoding table of predefined, read the pigmented section data on image in 2 D code, pigmented section data comprise pigmented section quantity i,, each pigmented section shape S,, each pigmented section color C, obtain pigmented section data vector <i, S, C>.
(2) read image in 2 D code, using having color region as black region in the image in 2 D code of local dyeing, then image in 2 D code being used as standard black and white image in 2 D code, using standard two-dimensional code decoding algorithm to carry out decoding and obtain information M.
(3) by splitting algorithm <M 1', M 2>=P -1(M) M that hides Info through encryption is obtained 1' and the cleartext information M of not encrypted 2; Again by decipherment algorithm to M 1' with pigmented section data vector <i, S, C> are decrypted as key, obtain the M that hides Info before encrypting 1, by raw information M 1and M 2export.
Wherein Quick Response Code can comprise following information: hide Info and comprise anti-counterfeiting information, encrypted message and identifying information; Can be product vendor's information, product distribution business information, product original producton location information, product weight, time of making the product information, keeping life, batch number and product total quantity information; The sales outlet information of certificate, bill, the term of validity, applying unit or personal information, the amount of money, send unit, recruiting unit, send the time, specification, information toward ground return; People or unit information etc. belonging to the certificate term of validity, reviewing authority's information, certificate.Cleartext information can be product ID, product essential information, product are introduced substantially, product vendor's information, product distribution business information, product original producton location information, product weight, time of making the product information, keeping life, batch number and product total quantity information; Sales outlet information, the term of validity, applying unit or personal information, the amount of money of certificate, bill, send unit, recruiting unit, send the time, specification, toward ground return information; People or unit information belonging to the certificate term of validity, reviewing authority's information, certificate; Or the key information etc. that specific password encryption/decoding adopts.
In actual applications, consumer, by mobile phone, PDA, computer camera etc., reads the cleartext information of product serial number in bar code and Quick Response Code.
Sell the Quick Response Code reading device that controlling unit can use the present embodiment, read the cleartext information of Quick Response Code, with pigmented section data hiding Info for key reading Quick Response Code; Can check whether the packing of product conforms to product, whether is opened sale; Carry out the management of production marketing anti-channel conflict; Carry out authenticity of products discriminating.
In addition, encoding/decoding device described in the present embodiment and method also can be applicable in tax invoice, and after completing cataloged procedure by the coding method described in the present embodiment, printing invoice unit prints Quick Response Code on invoice; Consumer and coherence check department can carry out decoding and Output rusults by the coding/decoding method described in the present embodiment to bar code and Quick Response Code as required.
Wherein the content of Quick Response Code comprises cleartext information: invoice issuing unit, commodity detail, the amount of money, taxpayer number, make out an invoice the date etc., also comprise and hiding Info: tax authority's identifier, cleartext information verification etc.
Consumer reads the cleartext information of invoice sequence number and Quick Response Code by mobile phone, PDA, computer camera etc.
Coherence check department, by the Quick Response Code reading device described in the present embodiment, reads hiding Info and cleartext information of Quick Response Code.
Therefore, the present invention can be widely used in commodity circulation, production process control, management process control etc. all trades and professions needing label auxiliary, and it is colored Quick Response Code that such as supplier generates local product information and anti-counterfeiting information by local color superposition algorithm on common black and white Quick Response Code basis.Commercially, consumer, by the general Quick Response Code fetch program, reads the product information in Quick Response Code; Supplier by professional fetch equipment, reads hiding Info of partial color in Quick Response Code, reaches the management such as data are traced to the source, sale control.
Above-described embodiment is the present invention's preferably execution mode; but embodiments of the present invention are not restricted to the described embodiments; change, the modification done under other any does not deviate from Spirit Essence of the present invention and principle, substitute, combine, simplify; all should be the substitute mode of equivalence, be included within protection scope of the present invention.

Claims (6)

1., based on a Quick Response Code coding method for local color verification, it is characterized in that, comprise the following steps:
(1) in Quick Response Code template, according to the pigmented section coding and decoding table of predefined, stochastic generation pigmented section data, pigmented section data comprise pigmented section quantity, the shape of each pigmented section, the color of each pigmented section; The pigmented section coding and decoding table of predefined refers to the coding and decoding table that the shape that may occur according to pigmented section in advance and color are set up respectively, in shape coding decoding table, define the corresponding numerical value of each shape, same in color coding decoding table, define each Color pair and answer a numerical value, then together with pigmented section quantity, set up < pigmented section quantity i, the key vector of each pigmented section shape S, each pigmented section color C>;
(2) Quick Response Code raw information comprises hiding Info of need encrypting and does not need the cleartext information encrypted, the pigmented section data generated using step (1) that hide Info that need encrypt are encrypted as key, then hiding Info and not needing the cleartext information encrypted to carry out split after the encryption obtained are obtained Quick Response Code information generated;
(3) Quick Response Code information generated step (2) obtained generates Quick Response Code black and white image by Quick Response Code generating algorithm;
(4) the Quick Response Code template formulated according to step (1) and the pigmented section data of generation dye to the Quick Response Code black and white image that step (3) obtains, and finally obtain partial color image in 2 D code.
2. the Quick Response Code coding method based on local color verification according to claim 1, it is characterized in that, in described step (2), hiding Info of need encrypting, with the <i that step (1) generates, the key vector of S, C>, be encrypted according to existing open bidirectional encipher algorithm, obtain hiding Info after encrypting;
In described step (2), hiding Info after cleartext information and encryption is carried out split and adopts following algorithm: the first adopts separator, namely cleartext information is designated as M 1, hiding Info after encryption is designated as M 2, use separator w to splice; The second adopts to insert splicing, is namely inserted into hide Info inside cleartext information according to fixing insertion position;
In described step (3), Quick Response Code information generated is generated image in 2 D code and adopts following Quick Response Code generating algorithm: PDF417, Datamatrix, Maxicode, QR Code, Code 49, Code 16K, Vericode or Ultracode.
3., based on a Quick Response Code coding/decoding method for local color verification, it is characterized in that, comprise the following steps:
(1) according to the pigmented section coding and decoding table of predefined, read the pigmented section data on image in 2 D code, pigmented section data comprise pigmented section quantity, the shape of each pigmented section, the color of each pigmented section;
(2) read image in 2 D code, using having color region as black region in the image in 2 D code of local dyeing, then image in 2 D code being used as standard black and white image in 2 D code, using standard two-dimensional code decoding algorithm to decode;
(3) decoded information comprises hiding Info of having encrypted and unencrypted cleartext information, and step is as follows: first by splitting algorithm, decoded information is split as hiding Info and unencrypted cleartext information of encryption; Adopt decipherment algorithm to be decrypted as key the pigmented section data that hiding Info of having encrypted generates using step (1) again, finally obtain the raw information of image in 2 D code.
4. the Quick Response Code coding/decoding method based on local color verification according to claim 3, it is characterized in that, in described step (3), hiding Info after cleartext information and encryption being carried out splitting is that split algorithm according in encryption algorithm decides, if employing separator, then find and carry out expressly and the separator of the fractionation foundation of ciphertext, before and after separator, be respectively clear data and encrypt data; If the insertion splicing adopted, then according to fixing insertion position, to restore respectively with cleartext information hiding Info;
In described step (3), to step (2) obtain encrypt data with pigmented section data for the two-way decipherment algorithm of key by standard is decrypted.
5., based on a Quick Response Code code device for local color verification, it is characterized in that, comprising:
Pigmented section data generating device, for generating pigmented section according to the pigmented section coding and decoding table of predefined in Quick Response Code template;
Quick Response Code generating apparatus, comprises encrypting module and Quick Response Code coding module, and described encrypting module is connected with described Quick Response Code coding module, and described Quick Response Code generating apparatus is connected with pigmented section data generating device; Encrypting module, for pigmented section data for hiding Info of need encrypting of double secret key is encrypted; Quick Response Code coding module, for generating the Quick Response Code black and white image of standard by encrypted hiding Info with the cleartext information of not encrypted;
Quick Response Code color image forming apparatus, the data according to pigmented section data generating device dye to the Quick Response Code black and white image that Quick Response Code generating apparatus generates, and obtain the Quick Response Code coloured image of local dyeing;
Die section, die section is used for the cleartext information not needing to encrypt and hiding Info of having encrypted to carry out split, then the data after split is sent to Quick Response Code coding module; Described die section is connected with encrypting module, Quick Response Code coding module respectively.
6., based on a Quick Response Code decoding device for local color verification, it is characterized in that, comprising:
Quick Response Code pigmented section reading device, reads pigmented section data in image in 2 D code for the pigmented section coding and decoding table according to predefined;
Quick Response Code reading device, comprising:
Read module, for reading image in 2 D code;
Quick Response Code decoder module, decodes for the image in 2 D code information read read module;
Deciphering module, for pigmented section data hiding Info and be decrypted for encryption after double secret key decoding;
Described read module, Quick Response Code decoder module, deciphering module connect successively;
Split module, for the information after Quick Response Code decoding module decodes being split into not encrypted cleartext information and encryptedly hiding Info; Described fractionation module is connected with Quick Response Code decoder module, deciphering module respectively.
CN201210311536.6A 2012-08-28 2012-08-28 Two-dimension code coding and decoding method and device based on local color verification Active CN102916804B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210311536.6A CN102916804B (en) 2012-08-28 2012-08-28 Two-dimension code coding and decoding method and device based on local color verification

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210311536.6A CN102916804B (en) 2012-08-28 2012-08-28 Two-dimension code coding and decoding method and device based on local color verification

Publications (2)

Publication Number Publication Date
CN102916804A CN102916804A (en) 2013-02-06
CN102916804B true CN102916804B (en) 2015-05-20

Family

ID=47615046

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210311536.6A Active CN102916804B (en) 2012-08-28 2012-08-28 Two-dimension code coding and decoding method and device based on local color verification

Country Status (1)

Country Link
CN (1) CN102916804B (en)

Families Citing this family (24)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103310258B (en) * 2013-06-09 2016-02-17 江苏科技大学 A kind of self-adaptation expansion black and white code encoding method
CN103489026B (en) * 2013-09-24 2017-02-15 深圳市中选科技有限公司 Colorful two-dimension code, generating method and generating system thereof and printed article
CN103745252B (en) * 2013-12-27 2017-04-05 广州市宝比万像科技有限公司 Coding row, two-dimentional code encoding method and Quick Response Code coding/decoding method
CN104239927B (en) * 2014-08-01 2017-02-15 周奇 Colored two-dimension code generating method and decoding method
CN104392260A (en) * 2014-12-17 2015-03-04 肖学静 Two-dimensional code anti-counterfeiting method based on additional information
CN104636785B (en) * 2015-02-28 2018-08-07 北京慧眼食珍科技有限公司 Quick Response Code, generation method with Quick Response Code software installation information and recognition methods
CN104636784A (en) * 2015-02-28 2015-05-20 立德高科(北京)数码科技有限责任公司 Two-dimensional code, and generation method and identification method thereof
CN105046306A (en) * 2015-05-05 2015-11-11 华中科技大学 Method for encoding color multi-dimensional codes containing information of variety of biological characteristics
CN105117757B (en) * 2015-08-26 2018-07-06 复旦大学无锡研究院 A kind of Quick Response Code encryption and decryption approaches based on random grain
CN105069498B (en) * 2015-09-09 2017-10-17 杭州甄别网络科技有限公司 The colour-enciphered method and device of Quick Response Code
CN106529633B (en) * 2015-09-10 2019-11-15 阿里巴巴集团控股有限公司 Generation method, coding/decoding method and the device of two dimensional code
JP2017091140A (en) * 2015-11-09 2017-05-25 三星電子株式会社Samsung Electronics Co.,Ltd. Code transmission/reception system, code receiver, code transmitter, code reception method, code transmission method, and program
CN105825257B (en) * 2016-03-09 2018-05-29 东北大学 Information hiding and hiding information extracting method and system based on two-dimensional bar code
CN105976004B (en) * 2016-04-25 2019-05-07 华南农业大学 A kind of color 2 D code multidimensional information coding, coding/decoding method and device
CN106330976B (en) * 2016-11-03 2020-01-03 武汉斗鱼网络科技有限公司 Information encryption and decryption method and device
KR20180113028A (en) * 2017-04-05 2018-10-15 주식회사 멀티코시 Anti-forgery qrcode and image conversion method thereof
CN107423793A (en) * 2017-04-28 2017-12-01 南京邮电大学 A kind of Quick Response Code generation identification technology of new type of safe
CN109756459B (en) * 2017-11-06 2022-03-29 阿里巴巴集团控股有限公司 Data processing method, data identification method, data processing device, data identification device, and data processing medium
CN108268178B (en) * 2018-02-27 2021-07-13 Tcl移动通信科技(宁波)有限公司 Mobile terminal touch screen coordinate output control, mobile terminal and storage medium
CN108921266B (en) * 2018-09-29 2021-01-22 长安大学 Static two-dimensional code encryption display method and device based on image segmentation
CN109784454A (en) * 2019-01-16 2019-05-21 王诗会 A kind of information concealing method based on two dimensional code, device and electronic equipment
CN110705997A (en) * 2019-08-28 2020-01-17 江苏南大数码科技有限公司 Anti-counterfeiting coding method compatible with heterogeneous system
CN111428531A (en) * 2020-03-13 2020-07-17 郑州大学 Art QR code recognition method and device, electronic equipment and storage medium
CN112949800B (en) * 2021-01-27 2024-02-06 中国银联股份有限公司 Method, apparatus and storage medium for generating, playing and processing graphic code video

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009003770A (en) * 2007-06-22 2009-01-08 Nikon Corp Color two-dimensional code reader, its method of reading, and electronic camera
CN102184380A (en) * 2011-05-10 2011-09-14 华南农业大学 Color-superposition two-dimension code system and application method thereof
CN102270294A (en) * 2011-08-12 2011-12-07 华南农业大学 Bar code and two-dimension code hybrid coding and decoding methods and devices
KR20120040773A (en) * 2010-10-20 2012-04-30 김장익 Encryption and decoding method of two dimensional code pattern, distribution management method, and readign equipment by using the same

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009003770A (en) * 2007-06-22 2009-01-08 Nikon Corp Color two-dimensional code reader, its method of reading, and electronic camera
KR20120040773A (en) * 2010-10-20 2012-04-30 김장익 Encryption and decoding method of two dimensional code pattern, distribution management method, and readign equipment by using the same
CN102184380A (en) * 2011-05-10 2011-09-14 华南农业大学 Color-superposition two-dimension code system and application method thereof
CN102270294A (en) * 2011-08-12 2011-12-07 华南农业大学 Bar code and two-dimension code hybrid coding and decoding methods and devices

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
基于移动终端彩色二维条码编解码算法研究与应用;贾华国;《中国优秀硕士学位论文全文数据库 信息科技辑》;20111215(第S1期);全文 *

Also Published As

Publication number Publication date
CN102916804A (en) 2013-02-06

Similar Documents

Publication Publication Date Title
CN102916804B (en) Two-dimension code coding and decoding method and device based on local color verification
CN102902997B (en) A kind of Quick Response Code hybrid coding, decoding device and method
CN102184380B (en) Color-superposition two-dimension code system and application method thereof
CN103198344B (en) Tax control secure two-dimensional code coding, decoding processing method
CN102576394B (en) Unique identification, uniquely identified method and uniquely identified is provided to use
CN102270294A (en) Bar code and two-dimension code hybrid coding and decoding methods and devices
CN102855510B (en) Anti-fake product and recognition methods thereof
CN102930317B (en) Books Quick Response Code identification generation apparatus, Quick Response Code identification recognition device and system
CN104081413B (en) Gradual bar code
CN103020682B (en) Books Quick Response Code identification generation apparatus, Quick Response Code identification recognition device and system
CN105976005A (en) Two-dimensional code encrypting method, two-dimensional code generating device and two-dimensional code scanning device
CN104463016B (en) Data safety storing method suitable for IC cards and two-dimension codes
US9563830B2 (en) Incremental information object with an embedded information region
WO2008086715A1 (en) Sanhe code for identifying merchandises
CN104166871A (en) Anti-counterfeit label and anti-counterfeit method based on combination of two-dimension codes and RFID chips
CN104268610A (en) Method for generating and reading graded QR code
US20150294242A1 (en) Adapting an Incremental Information Object
CN103985082A (en) Verification method and device for electronic certificate information
CN106067121A (en) A kind of product off-line false distinguishing method based on NFC technique
CN104899748A (en) Two-dimensional code and scratch-off code composite identifying method based on identity authentication technology
CN116029745A (en) Digital label anti-counterfeiting tracing method, device and system based on blockchain
CN103765449B (en) Generate increment information object
EP2910042B1 (en) Secure information transfer via bar codes
CN104766212A (en) Identification device and method
CN106712952B (en) Radio frequency tag security identification method and system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant