CN107358284A - Generation method, read method, generating means and the reading device of Quick Response Code - Google Patents

Generation method, read method, generating means and the reading device of Quick Response Code Download PDF

Info

Publication number
CN107358284A
CN107358284A CN201710558839.0A CN201710558839A CN107358284A CN 107358284 A CN107358284 A CN 107358284A CN 201710558839 A CN201710558839 A CN 201710558839A CN 107358284 A CN107358284 A CN 107358284A
Authority
CN
China
Prior art keywords
code
quick response
area
information
response code
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201710558839.0A
Other languages
Chinese (zh)
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.)
Beijing Jie Run Technology Co Ltd
Original Assignee
Beijing Jie Run Technology Co Ltd
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 Beijing Jie Run Technology Co Ltd filed Critical Beijing Jie Run Technology Co Ltd
Priority to CN201710558839.0A priority Critical patent/CN107358284A/en
Publication of CN107358284A publication Critical patent/CN107358284A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K19/00Record carriers for use with machines and with at least a part designed to carry digital markings
    • G06K19/06Record 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/06009Record 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/06037Record 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 multi-dimensional coding
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K19/00Record carriers for use with machines and with at least a part designed to carry digital markings
    • G06K19/06Record 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/06009Record 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/06046Constructional details
    • G06K19/06075Constructional details the marking containing means for error correction
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K19/00Record carriers for use with machines and with at least a part designed to carry digital markings
    • G06K19/06Record 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/06009Record 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/06046Constructional details
    • G06K19/06093Constructional details the marking being constructed out of a plurality of similar markings, e.g. a plurality of barcodes randomly oriented on an object
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K7/00Methods or arrangements for sensing record carriers, e.g. for reading patterns
    • G06K7/10Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation
    • G06K7/14Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation using light without selection of wavelength, e.g. sensing reflected white light
    • G06K7/1404Methods for optical code recognition
    • G06K7/1408Methods for optical code recognition the method being specifically adapted for the type of code
    • G06K7/14172D bar codes
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K7/00Methods or arrangements for sensing record carriers, e.g. for reading patterns
    • G06K7/10Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation
    • G06K7/14Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation using light without selection of wavelength, e.g. sensing reflected white light
    • G06K7/1404Methods for optical code recognition
    • G06K7/1408Methods for optical code recognition the method being specifically adapted for the type of code
    • G06K7/1434Barcodes with supplemental or add-on codes
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K7/00Methods or arrangements for sensing record carriers, e.g. for reading patterns
    • G06K7/10Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation
    • G06K7/14Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation using light without selection of wavelength, e.g. sensing reflected white light
    • G06K7/1404Methods for optical code recognition
    • G06K7/146Methods for optical code recognition the method including quality enhancement steps
    • G06K7/1473Methods for optical code recognition the method including quality enhancement steps error correction

Abstract

The invention provides a kind of generation method of Quick Response Code, read method, generating means and reading device, wherein, the generation method of Quick Response Code includes:When the generation for getting Quick Response Code instructs, open 2 D code information is write into the first code area;According to cipher mode corresponding to hiding 2 D code information, hiding 2 D code information is write into second code area;According to the first code area and second code area, the image of Quick Response Code is generated.Pass through technical scheme, by the space for placing error correction content will be placed into encrypted content in the prior art, to generate the Quick Response Code with encrypted content, realize the antiforge function of Quick Response Code, Quick Response Code is set to be provided with a variety of store functions, the security of Quick Response Code is improved, improves the usage experience of user.

Description

Generation method, read method, generating means and the reading device of Quick Response Code
Technical field
The present invention relates to Quick Response Code field, more particularly to a kind of generation method of Quick Response Code, read method, generating means and Reading device.
Background technology
With the development of science and technology the continuous lifting of enterprise management idea, the market that enterprise increasingly payes attention to itself brand is protected Shield and logistics management;Still further aspect, in the market counterfeit behavior remain incessant after repeated prohibition, while enterprise dealer falsifying behavior is increasingly tight Weight, threaten the image and benefit of enterprise;Under the growth requirement and severe external environment condition collective effect of enterprise itself, enterprise pair Anti-counterfeiting technology proposes higher demand.
Quick Response Code entire content mainly includes two parts:Actual content, error correction content, it is popular say normal Quick Response Code this Two contents are the same, be mainly used in Quick Response Code it is destroyed after it is also possible to by textual research and explain, design is a kind of with encrypted content Quick Response Code, fake products can either be prevented well, additionally it is possible to which specification circulation market prevents agents from the falsifying row of business or dealer For, it has also become technical problem urgently to be resolved hurrily.
The content of the invention
The purpose of the present invention is to solve the shortcomings of the prior art and provide a kind of generation method of Quick Response Code, reading side Method, generating means and reading device, the antiforge function of Quick Response Code is realized, Quick Response Code is possessed a variety of store functions, lifting two dimension The security of code, lift Consumer's Experience.
To reach above-mentioned purpose, the present invention is achieved through the following technical solutions.
A kind of generation method of Quick Response Code, the Quick Response Code have the first code area and second code area, and described first compiles Code area be Quick Response Code data encoding area, the second code area be Quick Response Code Error Correction of Coding area, the generation of the Quick Response Code Method includes:
The cipher mode and the corresponding relation of the type of the hiding 2 D code information are preset, is getting the two dimension During the generation instruction of code, open 2 D code information is write into first code area;
According to cipher mode corresponding to hiding 2 D code information, by hiding 2 D code information write-in second coding Area, specifically include following steps:Determine to hide symmetric encipherment algorithm corresponding to 2 D code information first, secondly according to described symmetrical The hiding 2 D code information is write the second code area by AES;
According to first code area and the second code area, the image of the Quick Response Code is generated.
Further, the hiding 2 D code information includes at least one of numeral, word, picture and video.
Further, the open 2 D code information is product information, and the hiding 2 D code information is anti-counterfeiting information.
A kind of read method of Quick Response Code, the Quick Response Code have the first code area and second code area, and described first compiles Code area be Quick Response Code data encoding area, the second code area be Quick Response Code Error Correction of Coding area, the reading of the Quick Response Code Method includes step:
When getting the two field picture of the Quick Response Code, the first code area of the two field picture is parsed, two are disclosed with generation Tie up code information;
The second code area of the two field picture is parsed, to generate hiding 2 D code information to be decrypted;
According to decryption key, decryption oprerations are performed to the hiding 2 D code information to be decrypted, hide two dimension to generate Code information.
A kind of generating means of Quick Response Code, the Quick Response Code have the first code area and second code area, and described first compiles Code area be Quick Response Code data encoding area, the second code area be Quick Response Code Error Correction of Coding area, the generation of the Quick Response Code Device includes:
Writing unit, for that when getting the generation instruction of the Quick Response Code, will disclose described in 2 D code information write-in First code area;For the cipher mode according to corresponding to hiding 2 D code information, by described in the hiding 2 D code information write-in Second code area;
Generation unit, for according to first code area and the second code area, generating the image of the Quick Response Code.
Default unit, for presetting the cipher mode and the corresponding relation of the type of the hiding 2 D code information;
Determining unit, for determining that hiding 2 D code information corresponds to the algorithm of cipher mode.
Further, the cipher mode includes symmetric cryptography mode and accidental enciphering mode.
Further, said write unit is additionally operable to, and is believed the hiding Quick Response Code according to the algorithm of the cipher mode Breath writes the second code area.
Further, the hiding 2 D code information includes at least one of numeral, word, picture and video.
Further, the open 2 D code information is product information, and the hiding 2 D code information is anti-counterfeiting information.
A kind of reading device of Quick Response Code, the Quick Response Code have the first code area and second code area, and described first compiles Code area is the data encoding area of Quick Response Code, and the second code area is the Error Correction of Coding area of Quick Response Code, it is characterised in that;It is wrapped Include:
Resolution unit, for when getting the two field picture of the Quick Response Code, parsing the first code area of the two field picture, With the open 2 D code information of generation;For parsing the second code area of the two field picture, to generate hiding Quick Response Code to be decrypted Information;
Decryption unit, for according to key is decrypted, decryption oprerations to be performed to the hiding 2 D code information to be decrypted, with 2 D code information is hidden in generation.
The present invention realizes the antiforge function of Quick Response Code, Quick Response Code is possessed a variety of store functions, lifts the peace of Quick Response Code Quan Xing, user can independently carry out two-dimentional code encryption, and core ciphered data information user independently grasps, between different clients software Digital information can not exchange acquisition, security performance is high, improves Consumer's Experience.
Brief description of the drawings
Fig. 1 shows the schematic flow diagram of the generation method of the Quick Response Code according to the present invention;
Fig. 2 shows the schematic flow diagram of the read method of the Quick Response Code according to the present invention;
Fig. 3 shows the schematic block diagram of the generating means of the Quick Response Code according to the present invention;
Fig. 4 shows the schematic block diagram of the reading device of the Quick Response Code according to the present invention;
Fig. 5 shows the schematic diagram of the generation scheme of Quick Response Code according to an embodiment of the invention;
Fig. 6 shows the Quick Response Code schematic diagram of the generation schemes generation of the Quick Response Code of the another embodiment according to the present invention;
Fig. 7 shows the schematic diagram of the read schemes of Quick Response Code according to an embodiment of the invention;
Fig. 8 shows the schematic diagram of the structure of Quick Response Code.
Embodiment
With reference to embodiment, the present invention will be further described, but is not limited to the content on specification.
It is below in conjunction with the accompanying drawings and specific real in order to be more clearly understood that the above objects, features and advantages of the present invention Mode is applied the present invention is further described in detail.It should be noted that in the case where not conflicting, the implementation of the application Feature in example and embodiment can be mutually combined.
Many details are elaborated in the following description to facilitate a thorough understanding of the present invention, still, the present invention may be used also Implemented in a manner of being different from third party described here using third party, therefore, protection scope of the present invention is not by following The limitation of disclosed specific embodiment.
Fig. 1 shows the schematic flow diagram of the generation method of Quick Response Code according to an embodiment of the invention.
As shown in figure 1, two kinds of information contents in Quick Response Code be present, a kind of information content opens to domestic consumer, is referred to as public affairs Open 2 D code information;A kind of information opens to professional user by encryption, referred to as hides 2 D code information.And Quick Response Code is outer See and existing Quick Response Code does not have any difference.
The generation method of Quick Response Code according to an embodiment of the invention, including:Step 102, Quick Response Code is being got Generation instruction when, open 2 D code information is write into the first code area;Step 104, according to corresponding to hiding 2 D code information Cipher mode, hiding 2 D code information is write into second code area;Step 106, it is raw according to the first code area and second code area Into the image of Quick Response Code.
In the technical scheme, by the space for placing error correction content will be placed into encrypted content in the prior art, with life Into the Quick Response Code with encrypted content, i.e. second code area is the Error Correction of Coding area of Quick Response Code, and the first code area is Quick Response Code Data encoding area, the antiforge function of Quick Response Code is so realized, Quick Response Code is provided with a variety of store functions, improve Quick Response Code Security, improve the usage experience of user.
As shown in figure 8, the structure of Quick Response Code 1 includes clear area 2 and the body 1 being arranged on clear area 2, body includes work( Energy graph area 11 and data field 12, functional graphic area 11 include position sensing figure 111, position sensing figure marker space 112, determined Bit pattern 113 and correction graph 114, data field 12 include format information area 121, version information area 122 and code area 123, compile Code area 123 includes data encoding area 1231 and Error Correction of Coding area 1232, and the two collectively forms the information content synthesis of Quick Response Code, number It is sequentially distributed according to code area 1231 and Error Correction of Coding area 1232 according to the generating principle of Quick Response Code in code area 12.
In the above-mentioned technical solutions, it is preferable that when the generation for getting Quick Response Code instructs, open 2 D code information is write Before entering the first code area, in addition to:The corresponding relation of predetermined encryption mode and the type of hiding 2 D code information.
In the technical scheme, pass through the corresponding relation of predetermined encryption mode and the type of hiding 2 D code information, user Can be and corresponding with the decryption program of recognizer from master encryption algorithm.
In any of the above-described technical scheme, it is preferable that according to cipher mode corresponding to hiding 2 D code information, will hide 2 D code information writes second code area, specifically includes following steps:Calculated it is determined that hiding symmetric cryptography corresponding to 2 D code information Method;Hiding 2 D code information is write by second code area according to symmetric encipherment algorithm.
In the technical scheme, by setting symmetric encipherment algorithm, generate and hide 2 D code information, understand and hide Quick Response Code Information needs to use the algorithm for inversion for encrypting used key and identical algorithms that ciphertext is decrypted, and it can just reverted to readable In plain text, i.e., the content of ciphering two-dimension code, user can independently carry out two-dimentional code encryption, and core ciphered data information user independently slaps Hold, the digital information between different clients software can not exchange acquisition, and security performance is high.
Specifically, symmetric encipherment algorithm is used for that the information such as sensitive data, summary, signature are encrypted, and conventional is symmetrical AES includes:DES(Data Encryption Standard):Data encryption standards, speed are big suitable for encrypting Measure the occasion of data;3DES(Triple DES):It is to be based on DES, a block number according to three different keys three times add Close, intensity is higher;RC2 and RC4:Mass data is encrypted with variable length key, it is faster than DES;IDEA(International Data Encryption Algorithm) IDEA, very strong security is provided using 128 keys; RSA:Invented by RSA companies, be the public key algorithm of a support variable length key, it is necessary to which the fast length of file of encryption is also Variable;DSA(Digital Signature Algorithm):Digital Signature Algorithm, it is a kind of DSS (digital signature of standard Standard).
In any of the above-described technical scheme, it is preferable that hiding 2 D code information includes numeral, word, picture and regard At least one of frequency.
In any of the above-described technical scheme, it is preferable that open 2 D code information is product information, hides 2 D code information For anti-counterfeiting information.
Fig. 2 shows the schematic flow diagram of the read method of Quick Response Code according to an embodiment of the invention.
As shown in Fig. 2 the read method of Quick Response Code according to an embodiment of the invention, including:Step 202, obtaining When getting the two field picture of Quick Response Code, the first code area of two field picture is parsed, to generate open 2 D code information;Step 204, parse The second code area of two field picture, to generate hiding 2 D code information to be decrypted;Step 206, according to decryption key, to be decrypted Hiding 2 D code information perform decryption oprerations, to generate hiding 2 D code information.
In the technical scheme, by according to decryption key, hiding 2 D code information to be decrypted being decrypted, with life Into the particular content of hiding 2 D code information, on the one hand, user can independently carry out Quick Response Code decryption, and core ciphered data information is used Family is independently grasped, and the digital information between different clients software can not exchange acquisition, on the other hand, only has decryption key User could give and check the content of hiding 2 D code information, security performance is high.
Fig. 3 shows the schematic block diagram of the generating means of Quick Response Code according to an embodiment of the invention.
As shown in figure 3, the generating means 300 of Quick Response Code according to an embodiment of the invention, including:Writing unit 302, for when getting the generation instruction of Quick Response Code, open 2 D code information to be write into the first code area;Writing unit 302 It is additionally operable to:According to cipher mode corresponding to hiding 2 D code information, hiding 2 D code information is write into second code area;Quick Response Code Generating means 300 also include:Generation unit 304, for according to the first code area and second code area, generating the figure of Quick Response Code Picture.
In the technical scheme, by the space for placing error correction content will be placed into encrypted content in the prior art, with life Into the Quick Response Code with encrypted content, the antiforge function of Quick Response Code is realized, Quick Response Code is provided with a variety of store functions, lifted The security of Quick Response Code, improve the usage experience of user.
In any of the above-described technical scheme, it is preferable that also include:Default unit 306, for predetermined encryption mode with it is hidden Hide the corresponding relation of the type of 2 D code information.
In the technical scheme, pass through the corresponding relation of predetermined encryption mode and the type of hiding 2 D code information, user Can be and corresponding with the decryption program of recognizer from master encryption algorithm.
In any of the above-described technical scheme, it is preferable that also include:Determining unit 308, for determining to hide Quick Response Code letter Symmetric encipherment algorithm corresponding to breath.
In the technical scheme, by setting symmetric encipherment algorithm, generate and hide 2 D code information, understand and hide Quick Response Code Information needs to use the algorithm for inversion for encrypting used key and identical algorithms that ciphertext is decrypted, and it can just reverted to readable In plain text, i.e., the content of ciphering two-dimension code, user can independently carry out two-dimentional code encryption, and core ciphered data information user independently slaps Hold, the digital information between different clients software can not exchange acquisition, and security performance is high.
Specifically, symmetric encipherment algorithm is used for that the information such as sensitive data, summary, signature are encrypted, and conventional is symmetrical AES includes:DES(Data Encryption Standard):Data encryption standards, speed are big suitable for encrypting Measure the occasion of data;3DES(Triple DES):It is to be based on DES, a block number according to three different keys three times add Close, intensity is higher;RC2 and RC4:Mass data is encrypted with variable length key, it is faster than DES;IDEA(International Data Encryption Algorithm) IDEA, very strong security is provided using 128 keys; RSA:Invented by RSA companies, be the public key algorithm of a support variable length key, it is necessary to which the fast length of file of encryption is also Variable;DSA(Digital Signature Algorithm):Digital Signature Algorithm, it is a kind of DSS (digital signature of standard Standard).
In any of the above-described technical scheme, it is preferable that hiding 2 D code information includes numeral, word, picture and regard At least one of frequency.
In any of the above-described technical scheme, it is preferable that open 2 D code information is product information, hides 2 D code information For anti-counterfeiting information.
Fig. 4 shows the schematic block diagram of the reading device of Quick Response Code according to an embodiment of the invention.
As shown in figure 4, the reading device 400 of Quick Response Code according to an embodiment of the invention, including:Resolution unit 402, for when getting the two field picture of Quick Response Code, parsing the first code area of two field picture, to generate open 2 D code information; Resolution unit 402 is additionally operable to:The second code area of two field picture is parsed, to generate hiding 2 D code information to be decrypted;Quick Response Code Reading device 400 also include:Decryption unit 404, for according to decryption key, being performed to hiding 2 D code information to be decrypted Decryption oprerations, to generate hiding 2 D code information.
In the technical scheme, by according to decryption key, hiding 2 D code information to be decrypted being decrypted, with life Into the particular content of hiding 2 D code information, on the one hand, user can independently carry out Quick Response Code decryption, and core ciphered data information is used Family is independently grasped, and the digital information between different clients software can not exchange acquisition, on the other hand, only has decryption key User could give and check the content of hiding 2 D code information, security performance is high.
Specific embodiment:
Fig. 5 is that the data of 2 D code information import interface, and input coding Information 502 is shown as open 2 D code information, Regular handset client, handheld device are recognizable, and input hiding information column 504, importing is non-public hiding information data, It must be identified by recognizing apparatus.
QR codes (Quick Response) are the meanings of one kind, i.e. fast reaction of two-dimensional bar code, that is, wish that QR codes can allow Its content is quickly decoded.
As shown in figure 5, QR code input paramete informations interface, QR code parameters include:Version information, error correction information, mask side Formula and data pattern, the input information of input coding Information 502 is " Department of Public Security of Guangdong Province entry-exit management NO: 4265001 ", the input information on input hiding information column 504 is " system correspondence NO:GD4265001 ", click on " it is determined that " generation Image in 2 D code, click on " cancellation " and re-enter.
Fig. 6 shows the Quick Response Code of the generation schemes generation of Quick Response Code according to another embodiment of the invention.
The Quick Response Code that Fig. 6 generates according to above two input data, the public affairs that the public can be read by two dimension code reading equipment Opening information is:Department of Public Security of Guangdong Province entry-exit management NO:4265001.
Fig. 7 is that the user with decryption key uses recognition software PC version clients, and it is " wide to distinguish out open 2 D code information Eastern Department of Public Security of Shanxi Province's entry-exit management NO:4265001 " with distinguish out hiding 2 D code information " system correspondence NO: GD4265001”。
Technical scheme is described in detail above in association with accompanying drawing, by the way that error correction content will will be placed in the prior art Space place encrypted content, with generate with encrypted content Quick Response Code, realize the antiforge function of Quick Response Code, make Quick Response Code A variety of store functions are provided with, improve the security of Quick Response Code, improve the usage experience of user.
Obviously, above-mentioned embodiment of the invention is only intended to clearly illustrate example of the present invention, and is not Restriction to embodiments of the present invention.For those of ordinary skill in the field, on the basis of the above description also It can make other changes in different forms.Here all embodiments can not be exhaustive.It is every to belong to this Row of the obvious changes or variations that the technical scheme of invention is extended out still in protection scope of the present invention.

Claims (10)

1. a kind of generation method of Quick Response Code, the Quick Response Code has the first code area and second code area, first coding Area is the data encoding area of Quick Response Code, and the second code area is the Error Correction of Coding area of Quick Response Code, it is characterised in that:The two dimension The generation method of code includes:
The cipher mode and the corresponding relation of the type of the hiding 2 D code information are preset, is getting the Quick Response Code During generation instruction, open 2 D code information is write into first code area;
According to cipher mode corresponding to hiding 2 D code information, the hiding 2 D code information is write into the second code area, Specifically include following steps:Determine to hide symmetric encipherment algorithm corresponding to 2 D code information first, secondly symmetrically added according to described The hiding 2 D code information is write the second code area by close algorithm;
According to first code area and the second code area, the image of the Quick Response Code is generated.
2. the generation method of Quick Response Code according to claim 1, it is characterised in that:The hiding 2 D code information includes number At least one of word, word, picture and video.
3. the generation method of Quick Response Code according to claim 1, it is characterised in that:The open 2 D code information is product Information, the hiding 2 D code information are anti-counterfeiting information.
4. a kind of read method of Quick Response Code, the Quick Response Code has the first code area and second code area, first coding Area is the data encoding area of Quick Response Code, and the second code area is the Error Correction of Coding area of Quick Response Code, it is characterised in that:The two dimension The read method of code includes step:
When getting the two field picture of the Quick Response Code, the first code area of the two field picture is parsed, to generate open Quick Response Code Information;
The second code area of the two field picture is parsed, to generate hiding 2 D code information to be decrypted;
According to decryption key, decryption oprerations are performed to the hiding 2 D code information to be decrypted, hide Quick Response Code letter to generate Breath.
5. a kind of generating means of Quick Response Code, the Quick Response Code has the first code area and second code area, first coding Area is the data encoding area of Quick Response Code, and the second code area is the Error Correction of Coding area of Quick Response Code, it is characterised in that:The two dimension The generating means of code include:
Writing unit, for when getting the generation instruction of the Quick Response Code, open 2 D code information to be write into described first Code area;For the cipher mode according to corresponding to hiding 2 D code information, by the hiding 2 D code information write-in described second Code area;
Generation unit, for according to first code area and the second code area, generating the image of the Quick Response Code.
Default unit, for presetting the cipher mode and the corresponding relation of the type of the hiding 2 D code information;
Determining unit, for determining that hiding 2 D code information corresponds to the algorithm of cipher mode.
6. the generating means of Quick Response Code according to claim 5, it is characterised in that:The cipher mode includes symmetric cryptography Mode and accidental enciphering mode.
7. the generating means of the Quick Response Code according to claim 5 and 6, it is characterised in that:Said write unit is additionally operable to, root The hiding 2 D code information is write into the second code area according to the algorithm of the cipher mode.
8. the generating means of the Quick Response Code according to claim 5 and 6, it is characterised in that:The hiding 2 D code information bag Include at least one of numeral, word, picture and video.
9. the generating means of the Quick Response Code according to claim 5 and 6, it is characterised in that:The open 2 D code information is Product information, the hiding 2 D code information are anti-counterfeiting information.
10. a kind of reading device of Quick Response Code, the Quick Response Code has the first code area and second code area, first coding Area is the data encoding area of Quick Response Code, and the second code area is the Error Correction of Coding area of Quick Response Code, it is characterised in that;It includes:
Resolution unit, for when getting the two field picture of the Quick Response Code, the first code area of the two field picture being parsed, with life Into open 2 D code information;For parsing the second code area of the two field picture, to generate hiding 2 D code information to be decrypted;
Decryption unit, for according to decryption key, decryption oprerations being performed to the hiding 2 D code information to be decrypted, with generation Hide 2 D code information.
CN201710558839.0A 2017-07-11 2017-07-11 Generation method, read method, generating means and the reading device of Quick Response Code Pending CN107358284A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710558839.0A CN107358284A (en) 2017-07-11 2017-07-11 Generation method, read method, generating means and the reading device of Quick Response Code

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710558839.0A CN107358284A (en) 2017-07-11 2017-07-11 Generation method, read method, generating means and the reading device of Quick Response Code

Publications (1)

Publication Number Publication Date
CN107358284A true CN107358284A (en) 2017-11-17

Family

ID=60292051

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710558839.0A Pending CN107358284A (en) 2017-07-11 2017-07-11 Generation method, read method, generating means and the reading device of Quick Response Code

Country Status (1)

Country Link
CN (1) CN107358284A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107992923A (en) * 2017-12-22 2018-05-04 北京中星仝创科技有限公司 A kind of QR Quick Response Codes generation and the method read
CN108550043A (en) * 2018-04-16 2018-09-18 北京佳艺徕经贸有限责任公司 The method for anti-counterfeit of commodity sign, the verification method of device and commodity true and false, device
CN110210270A (en) * 2019-05-28 2019-09-06 中国电力科学研究院有限公司 Two-dimensional barcode information safety encryption and system and image in 2 D code analytic method and system
WO2020237881A1 (en) * 2019-05-31 2020-12-03 平安科技(深圳)有限公司 Method and apparatus for injecting anti-counterfeit information, computer device, and storage medium
CN113610206A (en) * 2021-08-19 2021-11-05 北京印刷学院 Two-dimensional code and encryption and decryption method thereof
CN113850356A (en) * 2021-09-24 2021-12-28 支付宝(杭州)信息技术有限公司 Two-dimensional code generation method and device and electronic equipment

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002077135A (en) * 2000-09-05 2002-03-15 Ntt Fanet Systems Corp Encrypting method, decrypting method and their equipment
JP2008005046A (en) * 2006-06-20 2008-01-10 Oki Electric Ind Co Ltd Encryption communication system
CN101377837A (en) * 2007-08-29 2009-03-04 北京方维银通科技有限公司 Method for generating and checking electronic check two-dimension code credence
CN101840521A (en) * 2010-02-25 2010-09-22 浪潮齐鲁软件产业有限公司 Show ticket anti-counterfeiting method based on electronic information security
CN104408505A (en) * 2014-12-05 2015-03-11 王若漪 Integrated type RFID two-dimension code tag
CN104702404A (en) * 2015-04-09 2015-06-10 中国科学技术大学 Encryption method and system based on error correcting code and low wheel AES
CN105825257A (en) * 2016-03-09 2016-08-03 东北大学 Information hiding and hidden information extraction method based on two-dimensional barcode and information hiding and hidden information extraction system thereof
US20160344428A1 (en) * 2014-01-30 2016-11-24 Hewlett Packard Enterprise Development Lp Joint encryption and error correction encoding
CN106815544A (en) * 2017-01-16 2017-06-09 武汉大学 A kind of information concealing method based on Quick Response Code

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002077135A (en) * 2000-09-05 2002-03-15 Ntt Fanet Systems Corp Encrypting method, decrypting method and their equipment
JP2008005046A (en) * 2006-06-20 2008-01-10 Oki Electric Ind Co Ltd Encryption communication system
CN101377837A (en) * 2007-08-29 2009-03-04 北京方维银通科技有限公司 Method for generating and checking electronic check two-dimension code credence
CN101840521A (en) * 2010-02-25 2010-09-22 浪潮齐鲁软件产业有限公司 Show ticket anti-counterfeiting method based on electronic information security
US20160344428A1 (en) * 2014-01-30 2016-11-24 Hewlett Packard Enterprise Development Lp Joint encryption and error correction encoding
CN104408505A (en) * 2014-12-05 2015-03-11 王若漪 Integrated type RFID two-dimension code tag
CN104702404A (en) * 2015-04-09 2015-06-10 中国科学技术大学 Encryption method and system based on error correcting code and low wheel AES
CN105825257A (en) * 2016-03-09 2016-08-03 东北大学 Information hiding and hidden information extraction method based on two-dimensional barcode and information hiding and hidden information extraction system thereof
CN106815544A (en) * 2017-01-16 2017-06-09 武汉大学 A kind of information concealing method based on Quick Response Code

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107992923A (en) * 2017-12-22 2018-05-04 北京中星仝创科技有限公司 A kind of QR Quick Response Codes generation and the method read
CN108550043A (en) * 2018-04-16 2018-09-18 北京佳艺徕经贸有限责任公司 The method for anti-counterfeit of commodity sign, the verification method of device and commodity true and false, device
CN110210270A (en) * 2019-05-28 2019-09-06 中国电力科学研究院有限公司 Two-dimensional barcode information safety encryption and system and image in 2 D code analytic method and system
CN110210270B (en) * 2019-05-28 2024-04-09 中国电力科学研究院有限公司 Two-dimensional code information security reinforcement method and system and two-dimensional code image analysis method and system
WO2020237881A1 (en) * 2019-05-31 2020-12-03 平安科技(深圳)有限公司 Method and apparatus for injecting anti-counterfeit information, computer device, and storage medium
CN113610206A (en) * 2021-08-19 2021-11-05 北京印刷学院 Two-dimensional code and encryption and decryption method thereof
CN113610206B (en) * 2021-08-19 2023-10-13 北京印刷学院 Two-dimensional code and encryption and decryption method thereof
CN113850356A (en) * 2021-09-24 2021-12-28 支付宝(杭州)信息技术有限公司 Two-dimensional code generation method and device and electronic equipment

Similar Documents

Publication Publication Date Title
CN107358284A (en) Generation method, read method, generating means and the reading device of Quick Response Code
CN103198344B (en) Tax control secure two-dimensional code coding, decoding processing method
CN105024803B (en) Behavior fingerprint in white box realization
CN101295343B (en) Two-dimensional code multi-enciphering anti-fake printing method
Pizzolante et al. On the protection of consumer genomic data in the Internet of Living Things
CN107992923A (en) A kind of QR Quick Response Codes generation and the method read
CN102656840A (en) System and method for securing media content
CN105022937B (en) For white box to be realized to the interface compatibility method for being tightly attached to program around
CN107516045A (en) Document protection method and device
CN109726565A (en) Whitepack is used in anti-leakage primitive
Rejani et al. Pixel pattern based steganography on images
CN107273724A (en) Input and output watermarking for whitepack embodiment
Hazarika et al. A novel partial image encryption using chaotic logistic map
CN114461988A (en) Image encryption method and device, image decryption method and device
JP6149749B2 (en) Information processing apparatus, information processing system, and program
JP2006163956A (en) Security printing system, printer or multifunctional copying apparatus with printer function, ic card and information processing apparatus
CN103491384B (en) Encrypting method and device of video and decrypting method and device of video
Rajendran et al. An update on medical data steganography and encryption
Choche et al. A methodology to conceal QR codes for security applications
WO2007091336A1 (en) Character-encrypting method, and encrypted-character-code depicting method and program
Mandal et al. Utilizing Extended Visual Cryptography for Ensuring Safety and Accuracy of PDF File in Cloud Storage
US20210143978A1 (en) Method to secure a software code performing accesses to look-up tables
JP5343659B2 (en) Image processing apparatus and image processing program
Nagdive et al. Visual cryptography and steganography: a review
Hasan et al. Efficient Image Steganography Using Adaptive Cryptographic Algorithms

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
DD01 Delivery of document by public notice
DD01 Delivery of document by public notice

Addressee: Beijing Jie run Technology Co., Ltd.

Document name: Notification of Passing Preliminary Examination of the Application for Invention

SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination