CN107481020B - Anti-counterfeiting method of two-dimensional code, anti-counterfeiting two-dimensional code and commodity anti-counterfeiting method - Google Patents

Anti-counterfeiting method of two-dimensional code, anti-counterfeiting two-dimensional code and commodity anti-counterfeiting method Download PDF

Info

Publication number
CN107481020B
CN107481020B CN201710699780.7A CN201710699780A CN107481020B CN 107481020 B CN107481020 B CN 107481020B CN 201710699780 A CN201710699780 A CN 201710699780A CN 107481020 B CN107481020 B CN 107481020B
Authority
CN
China
Prior art keywords
dimensional code
counterfeiting
conductive
dimensional
area
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
CN201710699780.7A
Other languages
Chinese (zh)
Other versions
CN107481020A (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.)
Hunan University of Technology
Original Assignee
Hunan University of Technology
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 Hunan University of Technology filed Critical Hunan University of Technology
Priority to CN201710699780.7A priority Critical patent/CN107481020B/en
Publication of CN107481020A publication Critical patent/CN107481020A/en
Application granted granted Critical
Publication of CN107481020B publication Critical patent/CN107481020B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/018Certifying business or products
    • G06Q30/0185Product, service or business identity fraud
    • 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

Landscapes

  • Business, Economics & Management (AREA)
  • Theoretical Computer Science (AREA)
  • Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Physics & Mathematics (AREA)
  • Marketing (AREA)
  • Finance (AREA)
  • Strategic Management (AREA)
  • Economics (AREA)
  • General Business, Economics & Management (AREA)
  • Development Economics (AREA)
  • Accounting & Taxation (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Credit Cards Or The Like (AREA)
  • Cash Registers Or Receiving Machines (AREA)

Abstract

The anti-counterfeiting method of the two-dimensional code adopts a computer program to randomly generate a conductive area in the two-dimensional code, the conductive area is printed by conductive ink, and the common area is printed by common ink to form the two-dimensional code. The resistance value information of the conductive area and the position information in the two-dimensional code are correspondingly stored with the ID number to form a database, the ID number is obtained by reading the two-dimensional code, the resistance value information of the conductive area in the two-dimensional code and the position information in the two-dimensional code can be inquired from the database, the resistance value of the conductive area in the two-dimensional code is detected, the detected value is compared with the inquired value, the authenticity of the two-dimensional code is judged, the detection and judgment method is simple and reliable, and the anti-counterfeiting reliability of the two-dimensional code is high. The invention also provides an anti-counterfeiting two-dimensional code and a commodity anti-counterfeiting method.

Description

Anti-counterfeiting method of two-dimensional code, anti-counterfeiting two-dimensional code and commodity anti-counterfeiting method
Technical Field
The invention relates to an anti-counterfeiting method of a two-dimensional code, which is used for judging the authenticity of the two-dimensional code and realizing the anti-counterfeiting of the two-dimensional code, and also relates to an anti-counterfeiting two-dimensional code and a commodity anti-counterfeiting method.
Background
Along with the development of market economy and globalization, counterfeit and shoddy products become more rampant, which not only disturbs the market order, but also jeopardizes the rights and interests of consumers. Therefore, the commodity package is taken as a carrier, and an effective anti-counterfeiting means is added to reduce the counterfeiting risk, so that the commodity package becomes the first choice of enterprises. Anti-counterfeit packages must meet three basic requirements, namely, easy identification, low cost, and difficulty in counterfeiting. At present, the two-dimensional code is used as a widely used information carrier, has the characteristics of large information amount, easy identification, low cost and the like, can be conveniently and quickly acquired by a consumer when applied to a package, and simultaneously enhances the interactivity between the consumer and the package. However, the two-dimensional code is very easy to copy and does not have an anti-counterfeiting function. To be used as commodity anti-counterfeiting, the two-dimensional code must be imitated by other technical means.
The two-dimensional code records data symbol information according to a specific geometric figure and black and white figures distributed in a two-dimensional direction according to a certain rule, and the information is read by identifying the image through image input equipment or scanning equipment. At present, Variable two-dimensional code labels randomly generated by using Variable Data Printing (VDP) have anti-counterfeiting function, and have been commercially applied. The VDP technology is used for continuously printing printed matters with the image-text contents needing to be changed under the condition of no shutdown, so that two-dimensional code patterns with different contents can be randomly generated, the uniqueness of commodities is guaranteed, and the defect of copying still exists. Other common solutions for realizing two-dimensional code anti-counterfeiting are to combine with other anti-counterfeiting methods, such as physical anti-counterfeiting, digital watermarking, anti-counterfeiting coating, etc., to form a comprehensive anti-counterfeiting system for packaging, such as CN103465606A, CN105303959A, CN106935131A and CN105469132A, although the anti-counterfeiting reliability is improved, the anti-counterfeiting cost of the packaging is also increased.
CN 103955658A, providing a two-dimensional code anti-counterfeiting method and system, the method includes the following steps: randomly selecting one or more two-dimensional codes as sampling two-dimensional codes from one or more printed two-dimensional codes with one or more specific random characteristics generated in the printing process; extracting one or more specific random features of the sampling two-dimensional code; counting each specific random feature to obtain a random feature statistical value of each specific random feature; storing the random feature statistic value and the set threshold value of each specific random feature; extracting one or more specific random features of the two-dimensional code to be verified; comparing each extracted specific random feature of the two-dimensional code to be verified with the stored random feature statistical value of the specific random feature, and comparing the comparison result with a threshold value; and judging whether the two-dimensional code to be verified is a true code or a pseudo code based on the comparison result. The anti-counterfeiting technology that the VDP technology randomly generates the variable two-dimensional code is applied in the scheme, but the scheme can only be used for the anti-counterfeiting of the variable two-dimensional code and cannot be used for the anti-counterfeiting of the static two-dimensional code.
Therefore, the reliability, applicability, anti-counterfeiting cost and other aspects of the two-dimensional code anti-counterfeiting in the prior art need to be improved.
Disclosure of Invention
The anti-counterfeiting method of the two-dimensional code is high in anti-counterfeiting reliability, the variable two-dimensional code and the static two-dimensional code are both suitable for being used on commodity packaging, the anti-counterfeiting cost of the commodity packaging can be effectively reduced, and effective anti-counterfeiting of commodities is realized.
In order to achieve the purpose, the invention adopts the technical scheme that:
the anti-counterfeiting method of the two-dimensional code is characterized by comprising the following steps:
generating a conductive area in the two-dimensional code at random by using a computer program, printing the conductive area by using conductive ink, and printing a common area by using common ink to form the two-dimensional code;
secondly, an ID number corresponding to the two-dimensional code is created according to the resistance value information of the conductive area and the position information in the two-dimensional code, and the two-dimensional code and the ID number are in one-to-one correspondence;
thirdly, correspondingly storing the resistance value information of the conductive area and the position information in the two-dimensional code with the ID number to form a database;
reading the two-dimensional code by using two-dimensional code reading equipment to obtain an ID number corresponding to the two-dimensional code, and inquiring resistance value information of the conductive area and position information in the two-dimensional code from a database through the ID number;
detecting the resistance value of the conductive area in the two-dimensional code according to the inquired position information of the conductive area in the two-dimensional code, and judging whether the detected resistance value of the conductive area is consistent with the resistance value information of the conductive area inquired by the two-dimensional code reading equipment or not;
and (VI) judging the authenticity of the two-dimensional code according to the judgment result of the previous step, so as to realize two-dimensional code anti-counterfeiting.
Preferably, the conductive area comprises a position detection pattern area in the two-dimensional code and at least one conductive black dot in the two-dimensional code randomly generated by a computer program.
Preferably, the ID number is composed of three segments from left to right, the first segment is the first two significant digits of the resistance value of the position detection pattern region, the second segment is the first two significant digits of the resistance value of the conductive black dot, and the third segment is a digit sequence formed by coordinate arrangement of the conductive black dot in the two-dimensional code, wherein the conductive black dot of the two-dimensional code is a1, a2,. ann, the coordinates of the conductive black dot in the two-dimensional code are a1 (x 1, y 1), a2 (x 2, y 2), … An (xn, yn), the coordinate arrangement of the conductive black dot in the two-dimensional code is from small to large according to the abscissa, and when the abscissas of the black dot are equal, the coordinate arrangement of the conductive black dot is from small to large according to the ordinate.
Preferably, verification codes corresponding to the two-dimensional codes one by one are created according to coordinates of the conductive black dots in the two-dimensional codes, the verification codes are led into a database to form ID numbers and the verification codes to be stored correspondingly, and after the two-dimensional codes are read by two-dimensional code reading equipment in the step IV, the verification codes corresponding to the two-dimensional codes are required to be input to obtain the ID numbers corresponding to the two-dimensional codes.
Preferably, the verification code creating method is as follows:
firstly, determining the coordinates of a conductive black point in a two-dimensional code as A1, A2,. An, A1 (x 1, y 1), A2 (x 2, y 2), … An (xn, yn);
then, the abscissa of the conductive black dot is converted into a letter, wherein 1 is converted into a, 2 is converted into B, …, 26 is converted into Z, 27 is converted into AA, 28 is converted into AB, … 52 is converted into AZ, 53 is converted into BA,54 is converted into BB, …;
then, arranging the conductive black points in the order from small to large on the ordinate, and when the ordinate is equal, arranging the conductive black points in the order from small to large on the abscissa;
and finally, taking the abscissa of the conductive black point to form a letter sequence, namely the verification code.
Preferably, the number of the conductive black dots is three, four or five.
The anti-counterfeiting two-dimensional code is characterized in that the anti-counterfeiting two-dimensional code is anti-counterfeiting by adopting the anti-counterfeiting method of the two-dimensional code, wherein the anti-counterfeiting two-dimensional code specifically adopts a conductive area printed by conductive ink and a common area printed by common ink.
The commodity anti-counterfeiting method is characterized in that the anti-counterfeiting method of the two-dimensional code is adopted to perform anti-counterfeiting on commodities, the two-dimensional code is printed on a commodity package, resistance value information of a conductive area and position information in the two-dimensional code are correspondingly stored in a database with the production time, batch, sales area codes and commodity package identification codes of the commodities, so that the production time, batch and commodity package identification codes of the commodities correspond to ID numbers one by one, two-dimensional code reading equipment is used for reading the two-dimensional code, and the production time, batch and commodity package identification codes of the commodities are inquired.
Preferably, the resistance value information of the position detection pattern area is stored correspondingly to the production time and batch of the commodity, the resistance value information of the conductive black point is stored correspondingly to the sales area code of the commodity, and the coordinate of the conductive black point in the two-dimensional code is stored correspondingly to the commodity package identification code.
Preferably, the two-dimensional code is printed on the commodity package by using a variable data printing technology, so that the two-dimensional code image on each commodity package is different, and the verification code corresponding to the two-dimensional code is printed on the commodity package and covered by the anti-counterfeiting coating.
The anti-counterfeiting method of the two-dimensional code of the invention sets the conductive area printed by conductive ink in the two-dimensional code, the distribution of the conductive area on the two-dimensional code is randomly generated by using a computer program, the uniqueness of the conductive area in a single two-dimensional code is ensured, an ID number corresponding to the two-dimensional code is created according to the resistance value information of the conductive area and the position information in the two-dimensional code, a one-to-one correspondence relation of one code and one number is formed, the resistance value information of the conductive area and the position information in the two-dimensional code are correspondingly stored with the ID number to form a database, the ID number is obtained by reading the two-dimensional code, the resistance value information of the conductive area in the two-dimensional code and the position information in the two-dimensional code can be inquired from the database, the resistance value of the conductive area in the two-dimensional code is detected, the detected value is compared with the inquired value, the authenticity, the anti-counterfeiting reliability of the two-dimensional code is high.
The conductive ink is adopted to print the conductive area in the two-dimensional code, the conductivity, the printability and the randomness of the distribution of the conductive area on the two-dimensional code are utilized to realize the one-dimensional property of the two-dimensional code, the anti-counterfeiting function of the variable two-dimensional code can be enhanced when the variable two-dimensional code is applied, and the static two-dimensional code has the anti-counterfeiting function, is wide in application and easy to popularize and apply.
The anti-counterfeiting method is applied to commodity packaging to form a commodity anti-counterfeiting method, commodity information, resistance information of the conductive area, position information and an ID number on the two-dimensional code are correspondingly stored to form a corresponding relation of one code, one number and one commodity information, and the anti-counterfeiting method of the two-dimensional code is utilized to realize effective anti-counterfeiting of the commodity, improve the anti-counterfeiting reliability and authenticity of the commodity, and also effectively reduce the anti-counterfeiting difficulty and anti-counterfeiting cost of the commodity packaging.
Drawings
Fig. 1 is an anti-counterfeiting flow chart of the anti-counterfeiting method of the two-dimensional code of the invention.
Fig. 2 is a distribution diagram of a coordinate system of a two-dimensional code.
Fig. 3 is a distribution diagram of conductive black dots in a coordinate system of a two-dimensional code.
Detailed Description
The following describes an embodiment of the present invention in detail with reference to fig. 1 to 3.
The anti-counterfeiting method of the two-dimensional code is characterized by comprising the following steps:
generating a conductive area in the two-dimensional code at random by using a computer program, printing the conductive area by using conductive ink, and printing a common area by using common ink to form the two-dimensional code;
secondly, an ID number corresponding to the two-dimensional code is created according to the resistance value information of the conductive area and the position information in the two-dimensional code, and the two-dimensional code and the ID number are in one-to-one correspondence;
thirdly, correspondingly storing the resistance value information of the conductive area and the position information in the two-dimensional code with the ID number to form a database;
reading the two-dimensional code by using two-dimensional code reading equipment to obtain an ID number corresponding to the two-dimensional code, and inquiring resistance value information of the conductive area and position information in the two-dimensional code from a database through the ID number;
detecting the resistance value of the conductive area in the two-dimensional code according to the inquired position information of the conductive area in the two-dimensional code, and judging whether the detected resistance value of the conductive area is consistent with the resistance value information of the conductive area inquired by the two-dimensional code reading equipment or not;
and (VI) judging the authenticity of the two-dimensional code according to the judgment result of the previous step, so as to realize two-dimensional code anti-counterfeiting.
Firstly, a computer program is utilized to randomly generate conductive areas in the two-dimensional code, and then conductive ink and common ink are adopted to print the two-dimensional code according to the distribution of the conductive areas. Then, an automatic coding program is utilized, an ID number corresponding to the two-dimensional code is created according to the resistance value information of the conductive area and the position information in the two-dimensional code, the two-dimensional code and the ID number are in one-to-one correspondence, and then an information loading program is utilized to correspondingly store the resistance value information of the conductive area and the position information in the two-dimensional code and the ID number to form a database; when the two-dimensional code is subjected to anti-counterfeiting identification, the two-dimensional code is read by a two-dimensional code reading device to obtain an ID number corresponding to the two-dimensional code, resistance value information of a conductive area and position information in the two-dimensional code are inquired from a database through the ID number, the resistance value of the inquired conductive area is detected according to an inquiry result, whether the detected value is consistent with the inquired value or not is judged, if so, the two-dimensional code is a true code, and if not, the two-dimensional code is a false code, namely, the anti-counterfeiting of the two-dimensional code is realized.
Preferably, the conductive area comprises a position detection pattern area B in the two-dimensional code and at least one conductive black dot A in the two-dimensional code randomly generated by a computer program. The position of the position detection pattern area is fixed, the positions of the conductive black points are randomly generated by using a computer program, the positions of the conductive black points in each two-dimensional code are different, the position detection pattern area and the conductive black points form a conductive area, the printing difficulty of the conductive area is reduced, and the printing efficiency of the two-dimensional code is higher.
Preferably, the ID number is composed of three segments from left to right, the first segment is the first two significant digits of the resistance value of the position detection pattern region, the second segment is the first two significant digits of the resistance value of the conductive black dot, and the third segment is a digit sequence formed by coordinate arrangement of the conductive black dot in the two-dimensional code, wherein the conductive black dot of the two-dimensional code is a1, a2,. ann, the coordinates of the conductive black dot in the two-dimensional code are a1 (x 1, y 1), a2 (x 2, y 2), … An (xn, yn), the coordinate arrangement of the conductive black dot in the two-dimensional code is from small to large according to the abscissa, and when the abscissas of the black dot are equal, the coordinate arrangement of the conductive black dot is from small to large according to the ordinate. The preferred number of the conductive black dots is three to five.
For example, as shown in fig. 3, the coordinates of four conductive black dots are distributed on a two-dimensional code, the positions of the four conductive black dots are randomly generated by a computer program, and since the two-dimensional code is a matrix code, binary "1" is represented by "dot" and binary "0" is represented by "empty" at the corresponding element position of the matrix. Searching 4 random positions in a 0-1 matrix of 29 multiplied by 29 (parameters can be changed according to matrix codes of different two-dimensional codes), displaying the positions on a coordinate system of the two-dimensional codes, distributing the positions of conductive black points on the coordinate system to be A1(10,10), A2(13,23), A3(21,15) and A4(26,10), selecting 4 points for printing according to the 29 multiplied by 29 coordinate system, and printing with C4 29×29The distribution condition can ensure the uniqueness of random distribution, and the anti-counterfeiting function is achieved. Assuming that the resistance of the position detection pattern region is 1.80 + -0.1 k omega, the resistance of the conductive black dot is 0.55 + -0.1 k omega, when the positions of the conductive black dot in the coordinate system are (10,10), (13,23), (21,15), (26,10), the first segment of the ID number corresponding to the two-dimensional code is 18, the second segment is 55, the third segment is a numerical sequence formed by arranging the coordinates of the conductive black dot in the two-dimensional code and arranging the conductive black dot according to the coordinates from small to large of the abscissa, when the abscissas of the black dot are equal, the numerical sequence formed by arranging the coordinates of the conductive black dot from small to large of the ordinate is 1010132321152610, so that the ID number corresponding to the two-dimensional code is 18551010132321152610, the ID number is matched with the resistance value of the pattern detection region, the resistance value of the conductive black dot and the distribution position of the conductive black dot in the coordinate system of the two-dimensional code, and correspondingly storing to form a database.
Preferably, verification codes corresponding to the two-dimensional codes one by one are created according to coordinates of the conductive black dots in the two-dimensional codes, the verification codes are led into a database to form ID numbers and the verification codes to be stored correspondingly, and after the two-dimensional codes are read by two-dimensional code reading equipment in the step IV, the verification codes corresponding to the two-dimensional codes are required to be input to obtain the ID numbers corresponding to the two-dimensional codes.
The verification code creating method comprises the following steps:
firstly, determining the coordinates of a conductive black point in a two-dimensional code as A1, A2,. An, A1 (x 1, y 1), A2 (x 2, y 2), … An (xn, yn);
then, the abscissa of the conductive black dot is converted into a letter, wherein 1 is converted into a, 2 is converted into B, …, 26 is converted into Z, 27 is converted into AA, 28 is converted into AB, … 52 is converted into AZ, 53 is converted into BA,54 is converted into BB, …;
then, arranging the conductive black points in the order from small to large on the ordinate, and when the ordinate is equal, arranging the conductive black points in the order from small to large on the abscissa;
and finally, taking the abscissa of the conductive black point to form a letter sequence, namely the verification code.
The verification code is generated according to the coordinates of the conductive black points in a coordinate system, for example, coordinates of the conductive black points in fig. 3 are a1(10,10), a2(13,23), A3(21,15), a4(26,10), the abscissa of the conductive black points is converted into letters, i.e., a1(J,10), a2(M,23), A3(U,15), a4(Z,10), the conductive black points are arranged in order of ascending ordinate, when the ordinate is equal, the conductive black points are arranged in order of ascending abscissa, i.e., a1(J,10) a4(Z,10) A3(U,15) a2(M,23), and finally, the abscissa of the conductive black points is taken to form a letter sequence, i.e., JZUM is the verification code. The verification code and the two-dimensional code form a one-to-one corresponding relation, the verification code and the ID code are correspondingly stored in a database, and a storage relation corresponding to the ID code, the verification code, the resistance value information of the conductive area and the position information in the two-dimensional code is formed, so that the anti-counterfeiting reliability of the two-dimensional code is further improved.
The invention also protects an anti-counterfeiting two-dimensional code, wherein the anti-counterfeiting two-dimensional code specifically adopts a conductive area printed by conductive ink and a common area printed by common ink, and the anti-counterfeiting method of the two-dimensional code is adopted for anti-counterfeiting, so that the anti-counterfeiting difficulty is high, and the anti-counterfeiting reliability is high.
The invention also protects a commodity anti-counterfeiting method, which is characterized in that the anti-counterfeiting method of the two-dimensional code is adopted to perform anti-counterfeiting on a commodity, the two-dimensional code is printed on a commodity package, the resistance value information of the conductive area and the position information in the two-dimensional code are correspondingly stored in a database with the production time, the batch, the sales area code and the commodity package identification code of the commodity, so that the production time, the batch and the commodity package identification code of the commodity are in one-to-one correspondence with the ID number, a two-dimensional code reading device is used for reading the two-dimensional code, and the production time, the batch and the commodity package identification code of the commodity are.
The resistance value information of the position detection graphic area is correspondingly stored with the production time and the batch of the commodity, the resistance value information of the conductive black point is correspondingly stored with the sales area code of the commodity, and the coordinate of the conductive black point in the two-dimensional code is correspondingly stored with the commodity packaging identification code.
The two-dimensional code is printed on the commodity package by using a variable data printing technology, so that the two-dimensional code image on each commodity package is different, and the verification code corresponding to the two-dimensional code is printed on the commodity package and covered by the anti-counterfeiting coating.
The process of anti-counterfeiting the commodity by using the commodity anti-counterfeiting method comprises the following steps:
firstly, a computer program is utilized to randomly generate conductive areas in the two-dimensional code, then the two-dimensional code is printed on a commodity package by using conductive ink and common oil according to the distribution of the conductive areas, and resistance value information of the conductive areas and position information in the two-dimensional code are imported into an automatic coding program.
And then, an automatic coding program is used for creating an ID number and a verification code corresponding to the two-dimensional code according to the resistance value information of the conductive area and the position information in the two-dimensional code, so that the two-dimensional code, the ID number and the verification code correspond to each other.
Thirdly, the resistance value information of the conductive area, the position information in the two-dimensional code, the ID number, the verification code and the commodity information (production time, batch, sales area code and commodity package identification code) are correspondingly stored in a database by using an information loading program.
And fourthly, printing the verification code corresponding to the two-dimensional code on a commodity package, and coating the verification code with an anti-counterfeiting coating.
Fifthly, when a consumer obtains the commodity, scanning the two-dimensional code by using two-dimensional code reading equipment to enter an anti-counterfeiting query system established by using a database;
scraping the anti-counterfeiting coating on the commodity package to obtain a verification code, and inputting the verification code into an anti-counterfeiting inquiry system;
and seventhly, the anti-counterfeiting query system feeds back a query result to the two-dimensional code reading device, wherein the query result comprises the production time, the batch and the commodity package identification code of the commodity, the resistance value information of the conductive area and the position information in the two-dimensional code.
And finally, detecting the resistance value of the conductive area in the two-dimensional code according to the inquired position information of the conductive area in the two-dimensional code, and judging whether the detected resistance value of the conductive area is consistent with the resistance value information of the conductive area inquired by the two-dimensional code reading equipment, wherein if the detected resistance value is consistent, the commodity is a genuine product, and if the detected resistance value is inconsistent, the commodity is a counterfeit product, so that the anti-counterfeiting of the commodity is realized.
The technical solutions of the embodiments of the present invention are fully described above with reference to the accompanying drawings, and it should be noted that the described embodiments are only some embodiments of the present invention. All other embodiments, which can be obtained by a person skilled in the art without any inventive step based on the embodiments of the present invention, are within the scope of the present invention.

Claims (7)

1. An anti-counterfeiting method of a two-dimensional code is characterized by comprising the following steps:
generating a conductive area in the two-dimensional code at random by using a computer program, printing the conductive area by using conductive ink, and printing a common area by using common ink to form the two-dimensional code;
secondly, an ID number corresponding to the two-dimensional code is created according to the resistance value information of the conductive area and the position information in the two-dimensional code, and the two-dimensional code and the ID number are in one-to-one correspondence;
thirdly, correspondingly storing the resistance value information of the conductive area and the position information in the two-dimensional code with the ID number to form a database;
reading the two-dimensional code by using two-dimensional code reading equipment to obtain an ID number corresponding to the two-dimensional code, and inquiring resistance value information of the conductive area and position information in the two-dimensional code from a database through the ID number;
detecting the resistance value of the conductive area in the two-dimensional code according to the inquired position information of the conductive area in the two-dimensional code, and judging whether the detected resistance value of the conductive area is consistent with the resistance value information of the conductive area inquired by the two-dimensional code reading equipment or not;
judging the authenticity of the two-dimensional code according to the judgment result of the previous step, and realizing two-dimensional code anti-counterfeiting;
the conductive area comprises a position detection graphic area in the two-dimensional code and at least one conductive black dot in the two-dimensional code randomly generated by a computer program;
the ID number is composed of three sections from left to right, the first section is the first two effective digits of the resistance value of the position detection graph area, the second section is the first two effective digits of the resistance value of the conductive black point, the third section is a digit sequence formed by coordinate arrangement of the conductive black point in the two-dimensional code, the conductive black point of the two-dimensional code is A1, A2,. An, the coordinate of the conductive black point in the two-dimensional code is A1 (x 1, y 1), A2 (x 2, y 2), … An (xn, yn), the coordinate arrangement of the conductive black point in the two-dimensional code is from small to large according to the abscissa, and when the abscissas the black point is equal, the conductive black point coordinate arrangement from small to large according to the ordinate;
and (3) creating verification codes corresponding to the two-dimensional codes one by one according to the coordinates of the conductive black points in the two-dimensional codes, importing the verification codes into a database to form ID numbers and corresponding storage of the verification codes, and inputting the verification codes corresponding to the two-dimensional codes to obtain the ID numbers corresponding to the two-dimensional codes after reading the two-dimensional codes by using two-dimensional code reading equipment in the step IV.
2. The anti-counterfeiting method of the two-dimensional code according to claim 1, wherein the verification code creating method comprises the following steps:
firstly, determining the coordinates of a conductive black point in a two-dimensional code as A1, A2,. An, A1 (x 1, y 1), A2 (x 2, y 2), … An (xn, yn);
then, the abscissa of the conductive black dot is converted into a letter, wherein 1 is converted into a, 2 is converted into B, …, 26 is converted into Z, 27 is converted into AA, 28 is converted into AB, … 52 is converted into AZ, 53 is converted into BA,54 is converted into BB, …;
then, arranging the conductive black points in the order from small to large on the ordinate, and when the ordinate is equal, arranging the conductive black points in the order from small to large on the abscissa;
and finally, taking the abscissa of the conductive black point to form a letter sequence, namely the verification code.
3. The anti-counterfeiting method of the two-dimensional code according to claim 1, wherein the number of the conductive black dots is three, four or five.
4. An anti-counterfeiting two-dimensional code, which is characterized in that the anti-counterfeiting two-dimensional code is anti-counterfeiting by adopting the anti-counterfeiting method of the two-dimensional code according to any one of claims 1 to 3, wherein the anti-counterfeiting two-dimensional code specifically adopts a conductive area printed by conductive ink and a common area printed by common ink.
5. An anti-counterfeiting method for commodities is characterized in that the anti-counterfeiting method for the two-dimensional codes of any one of claims 1 to 3 is adopted to perform anti-counterfeiting on the commodities, the two-dimensional codes are printed on commodity packages, resistance value information of a conductive area and position information in the two-dimensional codes are correspondingly stored in a database together with the production time, batch, sales area codes and commodity package identification codes of the commodities, the production time, batch and commodity package identification codes of the commodities are in one-to-one correspondence with ID numbers, two-dimensional code reading equipment is used for reading the two-dimensional codes, and the production time, batch and commodity package identification codes of the commodities are inquired.
6. The merchandise anti-counterfeiting method according to claim 5, wherein the resistance value information of the position detection pattern area is stored corresponding to the production time and the batch of the merchandise, the resistance value information of the conductive black dot is stored corresponding to the sales area code of the merchandise, and the coordinates of the conductive black dot in the two-dimensional code are stored corresponding to the merchandise package identification code.
7. The merchandise anti-counterfeiting method according to claim 5, wherein the two-dimensional code is printed on the merchandise package by using a variable data printing technology, so that the two-dimensional code image on each merchandise package is different, and the verification code corresponding to the two-dimensional code is printed on the merchandise package and covered with the anti-counterfeiting coating.
CN201710699780.7A 2017-08-16 2017-08-16 Anti-counterfeiting method of two-dimensional code, anti-counterfeiting two-dimensional code and commodity anti-counterfeiting method Active CN107481020B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710699780.7A CN107481020B (en) 2017-08-16 2017-08-16 Anti-counterfeiting method of two-dimensional code, anti-counterfeiting two-dimensional code and commodity anti-counterfeiting method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710699780.7A CN107481020B (en) 2017-08-16 2017-08-16 Anti-counterfeiting method of two-dimensional code, anti-counterfeiting two-dimensional code and commodity anti-counterfeiting method

Publications (2)

Publication Number Publication Date
CN107481020A CN107481020A (en) 2017-12-15
CN107481020B true CN107481020B (en) 2021-07-13

Family

ID=60600599

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710699780.7A Active CN107481020B (en) 2017-08-16 2017-08-16 Anti-counterfeiting method of two-dimensional code, anti-counterfeiting two-dimensional code and commodity anti-counterfeiting method

Country Status (1)

Country Link
CN (1) CN107481020B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114330621B (en) * 2021-11-23 2024-04-09 深圳市祯源科技有限公司 Two-dimensional code anti-counterfeiting method, device and storage medium based on identification information

Citations (3)

* Cited by examiner, † Cited by third party
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
CN103794135A (en) * 2014-02-17 2014-05-14 立德高科(北京)数码科技有限责任公司 Mark formed by dot matrixes and two-dimensional code and generation and identification method of mark
CN104408505A (en) * 2014-12-05 2015-03-11 王若漪 Integrated type RFID two-dimension code tag

Patent Citations (3)

* Cited by examiner, † Cited by third party
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
CN103794135A (en) * 2014-02-17 2014-05-14 立德高科(北京)数码科技有限责任公司 Mark formed by dot matrixes and two-dimensional code and generation and identification method of mark
CN104408505A (en) * 2014-12-05 2015-03-11 王若漪 Integrated type RFID two-dimension code tag

Also Published As

Publication number Publication date
CN107481020A (en) 2017-12-15

Similar Documents

Publication Publication Date Title
CN103761799B (en) A kind of bill anti-counterfeit method based on texture image feature and device
US10235618B2 (en) Authentication feature in a barcode
CN102930440B (en) A kind ofly by internet, method that is false proof and discrimination is carried out to commodity
JP5528457B2 (en) Geometric code authentication method and apparatus
CN102708391B (en) A kind of antifalsification label based on fractal graph and anti-counterfeit authentication method
CN109190736B (en) Anti-counterfeiting two-dimensional code and generation method and generation application system thereof
EP2915098A1 (en) Product, image, or document authentication, verification, and item identification
CN101957905A (en) Checking technology and security label
CN104820854A (en) Combined anti-counterfeiting mark, and generation method and generation device of combined anti-counterfeiting mark
CN103119613A (en) Two-dimensional identification pattern, article including such a pattern, and methods for marking and identifying such a pattern
CN102292700A (en) System and method for enhancing security printing
US8123139B2 (en) Virtual code window
US10068237B2 (en) Transmit an authentication mark
CN103577986A (en) Multi-level two-dimension code fake preventing method
CN103268510A (en) Ultra-short password anti-counterfeiting marker
CN109754037A (en) A kind of one yard of commodity counterfeit prevention of an object and traceability system based on digital watermarking two dimensional code
CN104995623A (en) Method and system for marking an item, an item so marked and a method and system for authenticating a marked item
CN111563753A (en) Query method and device for product tracing information, server and storage medium
CN113392664A (en) Anti-counterfeiting two-dimensional code generation method, anti-counterfeiting method and anti-counterfeiting device
CN107481020B (en) Anti-counterfeiting method of two-dimensional code, anti-counterfeiting two-dimensional code and commodity anti-counterfeiting method
CN103857531B (en) For the method and system of the anti-fake mark of print product
CN103279784B (en) A kind of two-dimensional anti-counterfeit label and production method thereof
CN106934756B (en) Method and system for embedding information in single-color or special-color image
CN109313701B (en) Method, imaging device and system for generating a measure of the authenticity of an object
CN113408526A (en) Image recognition anti-counterfeiting method and image recognition anti-counterfeiting system based on Handle identification positioning

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant