CN103295141A - Two-dimensional code based associated anti-counterfeiting method and verification method - Google Patents
Two-dimensional code based associated anti-counterfeiting method and verification method Download PDFInfo
- Publication number
- CN103295141A CN103295141A CN2013101985241A CN201310198524A CN103295141A CN 103295141 A CN103295141 A CN 103295141A CN 2013101985241 A CN2013101985241 A CN 2013101985241A CN 201310198524 A CN201310198524 A CN 201310198524A CN 103295141 A CN103295141 A CN 103295141A
- Authority
- CN
- China
- Prior art keywords
- product
- identification code
- obtains
- clouds server
- 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
Links
Images
Landscapes
- Credit Cards Or The Like (AREA)
Abstract
The invention is applicable to the technical field of anti-counterfeiting and electronics, and provides a two-dimensional code based associated anti-counterfeiting method. The method includes: a cloud server receives a production identification code S1, a package identification code S2, product characteristic information S3 and large package identification code P4 of a product inputted by a manufacturer; the cloud server combines the S1, the S2 and the S3 to a high-dimensional vector S, generates the package identification code, the production identification code, the P4 and the product characteristic information to a high-dimensional vector P, establishes a mapping relationship between the P and the S, respectively encrypts the S and the P by the aid of an AES (advanced encryption standard) algorithm to obtain a corresponding point S' of the S and a corresponding point P' of the P, encodes the S' and the P' to obtain a two-dimensional code S'' and a two-dimensional code P'' and sends the two-dimensional codes S'' and P'' to a manufacturer printer to enable the manufacturer printer to print the S'' on the product and the P'' on a small package of the product. The two-dimensional code based associated anti-counterfeiting method has the advantages of good anti-counterfeiting effect.
Description
Technical field
The invention belongs to false proof and electronic applications, relate in particular to a kind of related method for anti-counterfeit and verification method based on two-dimension code.
Background technology
Anti-counterfeiting technology refers to the measure taked in order to reach false proof purpose, and it can accurately be discerned the false from the genuine within the specific limits, and is difficult for the technology being copied and copy.Briefly be exactly to prevent from copying counterfeit technology.Be a kind of precaution technical measures of protecting brand names, protection market, protection consumers in general legitimate rights and interests to take.
The deficiency that existing anti-counterfeiting technology exists: anti-counterfeiting technology in the market adopts special special-purpose paper, special ink, printed patterns mostly, fretwork technology carries out false proof, the general general character of these technology is to make relatively difficulty, and cost is higher, and product recipient identification is relatively poor; Part adopts digital verification sign indicating number and official's telephone service, and this kind fake certification efficient is lower, itself is easy to be forged;
And now most anti-counterfeiting technology is confined to false proof to single product, can not give up the consumer fully after a kind of method for anti-counterfeit checking often the true and false of product is carried out complete judgement. can not pass through multiple pipeline, the multi-faceted checking to the product realization true and false, ineffective security
Summary of the invention
The purpose of the embodiment of the invention is to provide a kind of related method for anti-counterfeit based on two-dimension code, is intended to solve the problem of the anti-counterfeiting technology ineffective security of prior art.
The embodiment of the invention is achieved in that a kind of related method for anti-counterfeit based on two-dimension code, and described method comprises:
The high in the clouds server receives production identification code S1, packing identification code S2, the Product Feature Information S3 of the product of producer's input and packs identification code P4 greatly;
The high in the clouds server is formed a high dimension vector S with above-mentioned S1, S2, S3, above-mentioned packing identification code, production identification code, P4 and Product Feature Information are generated a high dimension vector P, set up the mapping relations of P and S, adopt aes algorithm S, P to be encrypted the corresponding point S' that obtains S respectively, the corresponding point P' of P, S', P' encoded obtains two-dimension code S'' and two-dimension code P'';
The high in the clouds server sends to producer's printer so that producer's printer is printed on S'' on the product with two-dimension code S'' and P'', P'' is printed on the inner wrapping of product.
Optionally, described method also comprises:
The high in the clouds server receives the identification code B3 of all inner wrappings in packing number B2 and the big packing; The high in the clouds server will be packed identification code greatly, and B2, B3 form high dimension vector B, adopt aes algorithm that B is encrypted and obtain B', and B' is encoded obtains two-dimension code B''; Two-dimension code B'' is sent to producer's printer so that producer's printer is printed on B'' on the big packing of product.
On the other hand, provide a kind of correlating validation method based on two-dimension code, described method comprises:
High in the clouds server mobile terminal receive scanning product two-dimension code S'' and the S' that decoding obtains to S''; S' is decrypted operation obtains S;
The high in the clouds server obtains the production identification code S1 in the S, finds out another high dimension vector P that includes S1 in database;
The high in the clouds server sends information to portable terminal, and this information is used for the two-dimension code P'' of prompting scanning input product inner wrapping;
The P' that high in the clouds server mobile terminal receive obtains P'' decoding back; P' is decrypted obtains P'''; Whether P''' is consistent with P in contrast, and as unanimity, sending product to portable terminal is the affirmation message of genuine piece, as inconsistent, sends the affirmation message that product is false product to portable terminal.
Optionally, described method also comprises:
The high in the clouds server obtains the big packing identification code P4 in the P, finds out another high dimension vector B that includes P4; The big packing two-dimension code of high in the clouds server prompts scanning input B'', the B' that obtains behind the mobile terminal receive decoding B''; The high in the clouds server is decrypted B' and obtains high dimension vector B''', and whether B''' is consistent with B in contrast, and as unanimity, sending product to portable terminal is the affirmation message of genuine piece, as inconsistent, sends the affirmation message that product is false product to portable terminal.
The embodiment of the invention compared with prior art, beneficial effect is: technical scheme of the present invention has the good advantage of antifalse effect.
Description of drawings
Fig. 1 is the process flow diagram of a kind of related method for anti-counterfeit based on two-dimension code of providing of the embodiment of the invention;
Fig. 2 is the checking process flow diagram of a kind of related method for anti-counterfeit based on two-dimension code of providing of the embodiment of the invention.
Embodiment
In order to make purpose of the present invention, technical scheme and advantage clearer, below in conjunction with drawings and Examples, the present invention is further elaborated.Should be appreciated that specific embodiment described herein only in order to explaining the present invention, and be not used in restriction the present invention.
The specific embodiment of the invention provides a kind of related method for anti-counterfeit based on two-dimension code, and this method is finished by the high in the clouds server, and this method comprises as shown in Figure 1:
101, the high in the clouds server receives production identification code S1, packing identification code S2, the Product Feature Information S3 of the product of producer's input and packs identification code P4 greatly;
102, the high in the clouds server is formed a high dimension vector S with above-mentioned S1, S2, S3, above-mentioned packing identification code, production identification code, P4 and Product Feature Information are generated a high dimension vector P, set up the mapping relations of P and S, adopt aes algorithm S, P to be encrypted the corresponding point S' that obtains S respectively, the corresponding point P' of P, S', P' encoded obtains two-dimension code S'' and two-dimension code P'';
Wherein S'=AESEncrypt (S, key), p'=AESEncrypt (p, key); Wherein key is the key of aes algorithm; S''=QREncode (S'), P''=QREncode (P');
103, the high in the clouds server sends to producer's printer so that producer's printer is printed on S'' on the product with two-dimension code S'' and P'', P'' is printed on the inner wrapping of product.
Method provided by the invention adopts multichannel two-dimension code to realize the false proof of product, so it has the good advantage of antifalse effect, its false proof method is specifically as follows, mobile scanning terminal S'' obtains S'' corresponding codes character string, S'' corresponding codes character string is sent to the high in the clouds server, and the high in the clouds server obtains high dimension vector S after deciphering; S1 by the S correspondence finds another high dimension vector P(P1, P2, P3, the P4 that comprises this S1 in database), wherein above-mentioned P1=S2, P2=S1, P3 are big packaging label sign indicating number, P4=S3; The two-dimension code P'' of the inner wrapping of prompting scanning input product, the coded string of this P'' that mobile terminal receive sends is decrypted the coded string of P'' and obtains high dimension vector P''', equate with P as P''', confirm that then product is genuine piece, unequal as P''' and P, determine that then product is fake products.Because its false proof method adopts the related false proof mode of two two-dimension codes, so it has the good advantage of antifalse effect.
Optionally, said method also comprises:
The high in the clouds server receives the identification code B3 of all inner wrappings in packing number B2 and the big packing; The high in the clouds server will be packed identification code greatly, and B2, B3 form high dimension vector B, adopt aes algorithm that B is encrypted and obtain B', and B' is encoded obtains two-dimension code B''; Two-dimension code B'' is sent to producer's printer so that producer's printer is printed on B'' on the big packing of product.B'=AESEncrypt (B, key) B''=QREncode (B') wherein.Said method can be after 101 front or the back of arbitrary steps.
The specific embodiment of the invention also provides a kind of correlating validation method based on two-dimension code, and this method comprises as shown in Figure 2:
201, high in the clouds server mobile terminal receive scanning product two-dimension code S'' and decoding obtains to S'' S'; S' is decrypted operation obtains S;
202, the high in the clouds server obtains the production identification code S1 in the S, finds out another high dimension vector P that includes S1 in database;
203, the high in the clouds server sends information to portable terminal, and this information is used for the two-dimension code P'' of prompting scanning input product inner wrapping;
204, server mobile terminal receive in high in the clouds is to the P' of P'' decoding back acquisition; P' is decrypted obtains P'''; Whether P''' is consistent with P in contrast, and as unanimity, sending product to portable terminal is the affirmation message of genuine piece, as inconsistent, sends the affirmation message that product is false product to portable terminal.
Optionally, said method can also comprise after 204:
The high in the clouds server obtains the big packing identification code P4 in the P, finds out another high dimension vector B that includes P4; The big packing two-dimension code of high in the clouds server prompts scanning input B'', the B' that obtains behind the mobile terminal receive decoding B''; The high in the clouds server is decrypted B' and obtains high dimension vector B''', and whether B''' is consistent with B in contrast, and as unanimity, sending product to portable terminal is the affirmation message of genuine piece, as inconsistent, sends the affirmation message that product is false product to portable terminal.
The implication of above-mentioned high dimension vector S is specifically as shown in table 1:
Table 1:
Attribute | Mark | Remarks |
The production identification code | S1 | This is key, and is corresponding one by one with each product |
The packing identification code | S2 | The identification code of product external packaging |
Other information of product | S3 | As name of product, manufacturer, specification etc. |
The implication of above-mentioned high dimension vector P is specifically as shown in table 2:
Table 2:
Attribute | Mark | Remarks |
The packing identification code | P1 | This is key, and is corresponding one by one with each packing |
The production identification code | P2 | The identification code of product in the packing |
Big packing identification code | P3 | The identification code of the big packing in this packing outside |
Other information of product | P4 | Other information of product in the packing |
The implication of above-mentioned high dimension vector B is specifically as shown in table 3:
Table 3
Attribute | Mark | Remarks |
Big packing identification code | B1 | This is key, and is corresponding one by one with each big packing |
The packing number | B2 | The number of inner wrapping in the big packing |
The inner wrapping identification code | B3 | The identification code of all inner wrappings in the big packing |
The above only is preferred embodiment of the present invention, not in order to limiting the present invention, all any modifications of doing within the spirit and principles in the present invention, is equal to and replaces and improvement etc., all should be included within protection scope of the present invention.
Claims (4)
1. related method for anti-counterfeit based on two-dimension code is characterized in that described method comprises:
The high in the clouds server receives production identification code S1, packing identification code S2, the Product Feature Information S3 of the product of producer's input and packs identification code P4 greatly;
The high in the clouds server is formed a high dimension vector S with above-mentioned S1, S2, S3, described packing identification code, production identification code, P4 and Product Feature Information are generated a high dimension vector P, set up the mapping relations of P and S, adopt aes algorithm S, P to be encrypted the corresponding point S' that obtains S respectively, the corresponding point P' of P, S', P' encoded obtains two-dimension code S'' and two-dimension code P'';
The high in the clouds server sends to producer's printer so that producer's printer is printed on S'' on the product with two-dimension code S'' and P'', P'' is printed on the inner wrapping of product.
2. method according to claim 1 is characterized in that, described method also comprises:
The high in the clouds server receives the identification code B3 of all inner wrappings in packing number B2 and the big packing; The high in the clouds server will be packed identification code greatly, and B2, B3 form high dimension vector B, adopt aes algorithm that B is encrypted and obtain B', and B' is encoded obtains two-dimension code B''; Two-dimension code B'' is sent to producer's printer so that producer's printer is printed on B'' on the big packing of product.
3. correlating validation method based on two-dimension code is characterized in that described method comprises:
High in the clouds server mobile terminal receive scanning product two-dimension code S'' and the S' that decoding obtains to S''; S' is decrypted operation obtains high dimension vector S;
The high in the clouds server obtains the production identification code S1 in the S, finds out another high dimension vector P that includes S1 in database;
The high in the clouds server sends information to portable terminal, and this information is used for the two-dimension code P'' of prompting scanning input product inner wrapping;
The P' that high in the clouds server mobile terminal receive obtains P'' decoding back; P' is decrypted obtains P'''; Whether P''' is consistent with P in contrast, and as unanimity, sending product to portable terminal is the affirmation message of genuine piece, as inconsistent, sends the affirmation message that product is false product to portable terminal.
4. method according to claim 3 is characterized in that, described method also comprises:
The high in the clouds server obtains the big packing identification code P4 in the P, finds out another high dimension vector B that includes P4; The big packing two-dimension code of high in the clouds server prompts scanning input B'', the B' that obtains behind the mobile terminal receive decoding B''; The high in the clouds server is decrypted B' and obtains high dimension vector B''', and whether B''' is consistent with B in contrast, and as unanimity, sending product to portable terminal is the affirmation message of genuine piece, as inconsistent, sends the affirmation message that product is false product to portable terminal.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2013101985241A CN103295141A (en) | 2013-05-24 | 2013-05-24 | Two-dimensional code based associated anti-counterfeiting method and verification method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2013101985241A CN103295141A (en) | 2013-05-24 | 2013-05-24 | Two-dimensional code based associated anti-counterfeiting method and verification method |
Publications (1)
Publication Number | Publication Date |
---|---|
CN103295141A true CN103295141A (en) | 2013-09-11 |
Family
ID=49095955
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2013101985241A Pending CN103295141A (en) | 2013-05-24 | 2013-05-24 | Two-dimensional code based associated anti-counterfeiting method and verification method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103295141A (en) |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103729770A (en) * | 2013-12-26 | 2014-04-16 | 重庆文理学院 | Novel anti-fake traceability system and method |
CN104680392A (en) * | 2015-03-26 | 2015-06-03 | 成都爱维科创科技有限公司 | Identity-based product tracing system and method |
CN104796379A (en) * | 2014-01-16 | 2015-07-22 | 中国电信股份有限公司 | Two-dimensional code authentication method, two-dimensional code authentication platform and two-dimensional code authentication system |
CN105023136A (en) * | 2015-08-14 | 2015-11-04 | 深圳正品创想科技有限公司 | Two-dimensional code operating method and apparatus of commodity |
CN105761087A (en) * | 2016-02-03 | 2016-07-13 | 上海皆普信息科技有限公司 | Packaging product two-dimensional matching verification anti-fake method and system |
CN106325784A (en) * | 2016-08-18 | 2017-01-11 | 沈迪 | Method and system for printing instant message on package surface and mobile terminal |
CN106557670A (en) * | 2015-10-28 | 2017-04-05 | 北京索斯克科技开发有限公司 | A kind of printing terminal and the method for anti-counterfeit of file printout |
CN108268921A (en) * | 2018-01-15 | 2018-07-10 | 上海众人网络安全技术有限公司 | Quick Response Code generates and coding/decoding method, device, transaction system and storage medium |
CN113673653A (en) * | 2021-08-25 | 2021-11-19 | 合肥友高物联网标识设备有限公司 | Method for assigning and associating light and shade codes of prefabricated packaging bag |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103034884A (en) * | 2012-12-07 | 2013-04-10 | 北京印刷学院 | Commodity packaging anti-fake device and device and system for anti-fake recognition with built-in secret key |
-
2013
- 2013-05-24 CN CN2013101985241A patent/CN103295141A/en active Pending
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103034884A (en) * | 2012-12-07 | 2013-04-10 | 北京印刷学院 | Commodity packaging anti-fake device and device and system for anti-fake recognition with built-in secret key |
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103729770A (en) * | 2013-12-26 | 2014-04-16 | 重庆文理学院 | Novel anti-fake traceability system and method |
CN103729770B (en) * | 2013-12-26 | 2017-07-07 | 重庆文理学院 | A kind of anti-fake traceability system and its method |
CN104796379A (en) * | 2014-01-16 | 2015-07-22 | 中国电信股份有限公司 | Two-dimensional code authentication method, two-dimensional code authentication platform and two-dimensional code authentication system |
CN104680392A (en) * | 2015-03-26 | 2015-06-03 | 成都爱维科创科技有限公司 | Identity-based product tracing system and method |
CN105023136A (en) * | 2015-08-14 | 2015-11-04 | 深圳正品创想科技有限公司 | Two-dimensional code operating method and apparatus of commodity |
CN106557670A (en) * | 2015-10-28 | 2017-04-05 | 北京索斯克科技开发有限公司 | A kind of printing terminal and the method for anti-counterfeit of file printout |
CN105761087A (en) * | 2016-02-03 | 2016-07-13 | 上海皆普信息科技有限公司 | Packaging product two-dimensional matching verification anti-fake method and system |
CN106325784A (en) * | 2016-08-18 | 2017-01-11 | 沈迪 | Method and system for printing instant message on package surface and mobile terminal |
CN108268921A (en) * | 2018-01-15 | 2018-07-10 | 上海众人网络安全技术有限公司 | Quick Response Code generates and coding/decoding method, device, transaction system and storage medium |
CN113673653A (en) * | 2021-08-25 | 2021-11-19 | 合肥友高物联网标识设备有限公司 | Method for assigning and associating light and shade codes of prefabricated packaging bag |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103295141A (en) | Two-dimensional code based associated anti-counterfeiting method and verification method | |
CN107194449B (en) | Printing anti-counterfeiting and information tracing method based on combination of digital watermark and two-dimensional code | |
CN105719120B (en) | A method of encryption express delivery list privacy information | |
US8249350B2 (en) | Brand protection and product autentication using portable devices | |
CN103093361A (en) | Commodity double-layer anti-fake method based on technologies of internet of things | |
US20140095398A1 (en) | Double ID Anti-Counterfeit Method and System | |
CN104217241A (en) | Electronic anti-fake label and realizing method | |
CN104156862A (en) | Wechat-platform-based two-dimensional code anti-fake and anti-channel conflict inquiry system and method | |
CN104299140A (en) | Two-dimensional code anti-counterfeiting traceability system and method based on e-commerce | |
TW201614560A (en) | Electronic tag and processing system and method for securing electronic tag | |
CN103824202A (en) | CPK (Combined Public Key) identification authentication technology based RFID (Radio Frequency Identification Device) and two-dimensional code composite truth-identification and anti-fake source-tracing method | |
Chen et al. | An IoT-based traceable drug anti-counterfeiting management system | |
CN104680392A (en) | Identity-based product tracing system and method | |
CN103295142A (en) | Two-dimensional code based anti-counterfeiting method and system | |
CN104574119B (en) | A kind of method that commodity Jianzhen traces to the source | |
CN104361378A (en) | Internet of things anti-counterfeiting label based on two-dimensional code encryption technology and verification method of Internet of things anti-counterfeiting label | |
CN104680202A (en) | Methods for generating and verifying two-dimension code of invoice | |
US10068237B2 (en) | Transmit an authentication mark | |
CN107743132A (en) | The identification of Internet of Things trusted identity and control method based on id password | |
CN104063731A (en) | Two-dimension code anti-counterfeiting printing and verification method adopting digital watermark technology | |
CN104504427A (en) | Novel express sheet based on one-dimensional barcode and AES encrypted QR code | |
WO2013075547A1 (en) | Product anti-forgery method and system, and product identity information generation method and device | |
CN102385710A (en) | Method and system for verifying fact or fiction | |
CN103714455A (en) | Personal information protection method for C2C electronic trading platform | |
CN104794626A (en) | Anti-counterfeiting method and anti-counterfeiting device based on hardware information |
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 |
Application publication date: 20130911 |
|
RJ01 | Rejection of invention patent application after publication |