CN107316072B - Offline synchronous two-dimensional code anti-counterfeiting method, anti-counterfeiting verification method and anti-counterfeiting device - Google Patents

Offline synchronous two-dimensional code anti-counterfeiting method, anti-counterfeiting verification method and anti-counterfeiting device Download PDF

Info

Publication number
CN107316072B
CN107316072B CN201710564274.7A CN201710564274A CN107316072B CN 107316072 B CN107316072 B CN 107316072B CN 201710564274 A CN201710564274 A CN 201710564274A CN 107316072 B CN107316072 B CN 107316072B
Authority
CN
China
Prior art keywords
dimensional code
counterfeiting
displayed
information
data content
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
CN201710564274.7A
Other languages
Chinese (zh)
Other versions
CN107316072A (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.)
Peng Han Han
Original Assignee
彭戴予晗
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 彭戴予晗 filed Critical 彭戴予晗
Priority to CN201710564274.7A priority Critical patent/CN107316072B/en
Publication of CN107316072A publication Critical patent/CN107316072A/en
Application granted granted Critical
Publication of CN107316072B publication Critical patent/CN107316072B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K17/00Methods or arrangements for effecting co-operative working between equipments covered by two or more of main groups G06K1/00 - G06K15/00, e.g. automatic card files incorporating conveying and reading operations
    • G06K17/0022Methods or arrangements for effecting co-operative working between equipments covered by two or more of main groups G06K1/00 - G06K15/00, e.g. automatic card files incorporating conveying and reading operations arrangements or provisious for transferring data to distant stations, e.g. from a sensing device
    • G06K17/0025Methods or arrangements for effecting co-operative working between equipments covered by two or more of main groups G06K1/00 - G06K15/00, e.g. automatic card files incorporating conveying and reading operations arrangements or provisious for transferring data to distant stations, e.g. from a sensing device the arrangement consisting of a wireless interrogation device in combination with a device for optically marking the record carrier
    • 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
    • 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

Abstract

The invention relates to an off-line synchronous two-dimensional code anti-counterfeiting method, an anti-counterfeiting verification method and an anti-counterfeiting device, wherein the anti-counterfeiting method comprises the following steps: randomly selecting a plurality of two-dimensional code pictures to be displayed for the current product; sequencing and numbering a plurality of selected two-dimensional code pictures to be displayed; establishing a two-dimensional code anti-counterfeiting information list for a current product and storing the two-dimensional code anti-counterfeiting information list, wherein the two-dimensional code anti-counterfeiting information list comprises height information and material information of a two-dimensional code to be manufactured, and number information and product anti-counterfeiting information of a plurality of selected two-dimensional code pictures to be displayed; generating an anti-counterfeiting two-dimensional code according to the two-dimensional code anti-counterfeiting information list, the selected multiple two-dimensional code pictures to be displayed and the data content; wherein the data content is pre-stored data content or randomly generated data content. Through the technical scheme of the invention, the problem that the two-dimensional code is easy to forge in the prior art can be solved.

Description

Offline synchronous two-dimensional code anti-counterfeiting method, anti-counterfeiting verification method and anti-counterfeiting device
Technical Field
The invention relates to the technical field of two-dimension code anti-counterfeiting, in particular to an off-line synchronous two-dimension code anti-counterfeiting method, an anti-counterfeiting verification method and an anti-counterfeiting device.
Background
Two-dimensional codes are also called QR codes, and QR is called Quick Response, which is an ultra-popular coding mode on mobile equipment in recent years, and can store more information and represent more data types than traditional Bar Code Bar codes.
The two-dimensional bar code/two-dimensional code (2-dimensional bar code) records data symbol information by using black and white alternate graphs which are distributed on a plane (two-dimensional direction) according to a certain rule by using a certain specific geometric figure; the concept of '0' and '1' bit stream which forms the internal logic base of computer is skillfully utilized in coding, a plurality of geometric shapes corresponding to binary system are used for representing literal numerical information, and the information is automatically read by an image input device or an optoelectronic scanning device so as to realize the automatic processing of the information: it has some commonality of barcode technology: each code system has its specific character set; each character occupies a certain width; has certain checking function and the like. Meanwhile, the method also has the function of automatically identifying information of different rows and processing the graph rotation change points.
Although the current two-dimensional code has strong information storage capacity, a user cannot directly obtain data information of the two-dimensional code, the shape design and color selection range of the two-dimensional code are limited, and although a color two-dimensional code generator and a color two-dimensional code exist at present, the two-dimensional code is only dyed by a hard two-dimensional code, and the two-dimensional code is not functionally different from an ordinary black-and-white two-dimensional code. Or some two-dimensional codes only simply reduce the picture size and embed the picture into a two-dimensional code picture, and the two have no correlation.
Because the two-dimensional code is planar shape nowadays, illegal merchants can easily copy the two-dimensional code of the genuine products and use the two-dimensional code in counterfeit products, a large number of counterfeit products appear, and most people only scan the anti-counterfeiting two-dimensional code on the products singly at present to verify the authenticity of the products, so that genuine product manufacturers suffer huge economic loss and reputation loss.
Disclosure of Invention
In view of the above, the present invention provides an offline synchronized two-dimensional code anti-counterfeiting method, an offline synchronized two-dimensional code anti-counterfeiting verification method, and an offline synchronized two-dimensional code anti-counterfeiting device, so as to solve the problem that a two-dimensional code is easily forged in the prior art.
In order to achieve the purpose, the invention adopts the following technical scheme:
an off-line synchronous two-dimensional code anti-counterfeiting method comprises the following steps:
s101, randomly selecting a plurality of two-dimensional code pictures to be displayed for a current product;
s102, sequencing and numbering a plurality of selected two-dimensional code pictures to be displayed;
step S103, establishing a two-dimension code anti-counterfeiting information list for the current product and storing the two-dimension code anti-counterfeiting information list, wherein the two-dimension code anti-counterfeiting information list comprises height information and material information of a two-dimension code to be manufactured, and number information and product anti-counterfeiting information of a plurality of selected two-dimension code pictures to be displayed;
s104, generating an anti-counterfeiting two-dimensional code according to the two-dimensional code anti-counterfeiting information list, the selected two-dimensional code pictures to be displayed and the data content;
the method comprises the steps that a first two-dimensional code picture is displayed in a default mode according to the sequence of a plurality of selected two-dimensional code pictures to be displayed; the data content is pre-stored data content or randomly generated data content.
Preferably, the step S102 further includes: selecting a switching mode of the sorted two-dimensional code pictures to be displayed;
the two-dimensional code anti-counterfeiting information list also comprises a switching mode of a plurality of sequenced two-dimensional code pictures to be displayed.
Preferably, the step S102 further includes: setting a display time interval for the sequenced two-dimensional code pictures to be displayed;
the two-dimension code anti-counterfeiting information list further comprises display time interval information of a plurality of two-dimension code pictures to be displayed.
Preferably, in step S104, if the data content is randomly generated data content, the data content is generated according to the following steps:
step S1041, presetting an initial vector IV;
step S1042, selecting algorithm g randomly1(IV,T,T0) Dynamically generating data content x by randomly selecting algorithm g2(x) Randomly selecting a display form of the data content x; wherein T is the current time, T0Is a preset initial value of time.
An off-line synchronous two-dimensional code anti-counterfeiting verification method comprises the following steps:
step S201, scanning an anti-counterfeiting two-dimensional code on a product packaging box to obtain height information and material information of the two-dimensional code carried by the anti-counterfeiting two-dimensional code, and number information and product anti-counterfeiting information of a plurality of selected to-be-displayed two-dimensional code pictures;
step S202, if the product anti-counterfeiting information on the product packaging box is consistent with the scanned product anti-counterfeiting information, the height information and the material information of the anti-counterfeiting two-dimensional code arranged on the product packaging box are consistent with the height information and the material information of the scanned anti-counterfeiting two-dimensional code, and the number information of the scanned two-dimensional code pictures is consistent with the number information of the two-dimensional code pictures which are actually displayed, judging that the anti-counterfeiting two-dimensional code on the current product packaging box is a true code, otherwise, judging that the anti-counterfeiting two-dimensional code is a false code.
Preferably, the step S201 further comprises:
step S203, the server presets an initial vector IV;
step S204, the server randomly selects an algorithm g1(IV,T,T0) Dynamically generating data content x by randomly selecting algorithm g2(x) Randomly selecting a display form of the data content x; wherein T is the current time, T0Is a preset time initial value;
step S201 further includes:
scanning an anti-counterfeiting two-dimensional code on a product packaging box to obtain data content x carried by the anti-counterfeiting two-dimensional code;
step S202 specifically includes:
if the scanned data content x is consistent with the data content x of the product displayed in the server, the product anti-counterfeiting information on the product packaging box is consistent with the scanned product anti-counterfeiting information, the height information and the material information of the anti-counterfeiting two-dimensional code arranged on the product packaging box are consistent with the height information and the material information of the scanned anti-counterfeiting two-dimensional code, and the number information of the scanned two-dimensional code pictures is consistent with the number information of the two-dimensional code picture actually displayed, the anti-counterfeiting two-dimensional code on the current product packaging box is judged to be a true code, otherwise, the anti-counterfeiting two-dimensional code is a false code.
An off-line synchronous two-dimensional code anti-counterfeiting device comprises: a controller, a read-only memory and a display module which are respectively and electrically connected with the controller,
a plurality of two-dimensional code pictures to be displayed are prestored in the read-only memory;
the controller is used for randomly selecting a plurality of two-dimensional code pictures to be displayed for the current product, and sequencing and numbering the selected two-dimensional code pictures to be displayed; the system is also used for establishing a two-dimensional code anti-counterfeiting information list for the current product and storing the two-dimensional code anti-counterfeiting information list in the read-only memory, wherein the two-dimensional code anti-counterfeiting information list comprises height information and material information of a two-dimensional code to be manufactured, and number information and product anti-counterfeiting information of a plurality of selected two-dimensional code pictures to be displayed;
the controller is further used for generating an anti-counterfeiting two-dimensional code according to the two-dimensional code anti-counterfeiting information list, the selected multiple two-dimensional code pictures to be displayed and the data content, and displaying the anti-counterfeiting two-dimensional code through the display module, wherein the selected multiple two-dimensional code pictures to be displayed display a first one by default according to the sequence.
Preferably, the offline synchronized two-dimensional code anti-counterfeiting device further comprises a timer electrically connected with the controller, and the timer is synchronized with a server for timing.
Preferably, the rom further stores a preset initial vector IV and a preset initial time value T0
The controller is configured to select the algorithm g by random1(IV,T,T0) Dynamically generating data content x by randomly selecting algorithm g2(x) Randomly selecting a display form of the data content x; the anti-counterfeiting information list is used for displaying a plurality of two-dimensional code pictures to be displayed and data content x; wherein T is the current time.
Preferably, the controller is a microprocessor, an integrated circuit with control functions, or a programmable logic device.
By adopting the technical scheme, the invention at least has the following beneficial effects:
according to the technical scheme, on the premise of not influencing the function of the two-dimensional code, the height information and the material information of the two-dimensional code to be manufactured are extracted, the number information of a plurality of two-dimensional code pictures to be displayed and the anti-counterfeiting information of a product are selected as anti-counterfeiting characteristic information and added into the two-dimensional code, and due to the fact that the number of the two-dimensional code pictures to be displayed is random and uncertain, all two-dimensional code data can be prevented from being obtained by exhaustive operation of lawbreakers, and copying and counterfeiting of the two-dimensional code are effectively avoided.
In addition, the switching mode of the sequenced two-dimensional code pictures to be displayed is randomly selected according to the image switching technology. Therefore, because the two-dimensional code picture and the switching mode thereof are random, the possibility that the two-dimensional code is copied and forged is further increased.
Furthermore, the data content is dynamically and randomly generated, so that lawbreakers cannot copy the anti-counterfeiting mark by means of violent attack, physical copying and the like. The difficulty of copying and forging the two-dimensional code is further improved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a schematic flow chart of an offline synchronous two-dimensional code anti-counterfeiting method according to an embodiment of the present invention;
fig. 2 is a schematic flow chart of an offline synchronous two-dimensional code anti-counterfeiting verification method according to an embodiment of the present invention;
fig. 3 is a schematic block diagram of an offline synchronized two-dimensional code anti-counterfeiting device according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of an offline synchronous two-dimensional code anti-counterfeiting device according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the technical solutions of the present invention will be described in detail below. It is to be understood that the described embodiments are merely exemplary of the invention, and not restrictive of the full scope of the invention. All other embodiments, which can be derived by a person skilled in the art from the examples given herein without any inventive step, are within the scope of the present invention.
The technical solution of the present invention is further described in detail by the accompanying drawings and embodiments.
Referring to fig. 1, an offline synchronized two-dimensional code anti-counterfeiting method provided in an embodiment of the present invention includes:
s101, randomly selecting a plurality of two-dimensional code pictures to be displayed for a current product;
s102, sequencing and numbering a plurality of selected two-dimensional code pictures to be displayed;
step S103, establishing a two-dimension code anti-counterfeiting information list for the current product and storing the two-dimension code anti-counterfeiting information list, wherein the two-dimension code anti-counterfeiting information list comprises height information and material information of a two-dimension code to be manufactured, and number information and product anti-counterfeiting information of a plurality of selected two-dimension code pictures to be displayed;
s104, generating an anti-counterfeiting two-dimensional code according to the two-dimensional code anti-counterfeiting information list, the selected two-dimensional code pictures to be displayed and the data content;
the method comprises the steps that a first two-dimensional code picture is displayed in a default mode according to the sequence of a plurality of selected two-dimensional code pictures to be displayed; the data content is pre-stored data content or randomly generated data content.
It should be noted that the number of the multiple two-dimensional code pictures to be displayed randomly selected for the current product at a time is random.
According to the technical scheme, on the premise of not influencing the function of the two-dimensional code, the height information and the material information of the two-dimensional code to be manufactured are extracted, the number information of a plurality of two-dimensional code pictures to be displayed and the anti-counterfeiting information of a product are selected as anti-counterfeiting characteristic information and added into the two-dimensional code, and due to the fact that the number of the two-dimensional code pictures to be displayed is random and uncertain, all two-dimensional code data can be prevented from being obtained by exhaustive operation of lawbreakers, and copying and counterfeiting of the two-dimensional code are effectively avoided.
Preferably, the step S102 further includes: selecting a switching mode of the sorted two-dimensional code pictures to be displayed;
the two-dimensional code anti-counterfeiting information list also comprises a switching mode of a plurality of sequenced two-dimensional code pictures to be displayed.
Preferably, the switching mode of the sequenced two-dimensional code pictures to be displayed is randomly selected according to an image switching technology. Therefore, because the two-dimensional code picture and the switching mode thereof are random, the possibility that the two-dimensional code is copied and forged is further increased.
Preferably, the step S102 further includes: setting a display time interval for the sequenced two-dimensional code pictures to be displayed;
the two-dimension code anti-counterfeiting information list further comprises display time interval information of a plurality of two-dimension code pictures to be displayed.
It can be understood that the time interval of displaying a plurality of to-be-displayed two-dimensional code pictures is increased, so that the difficulty of copying and forging the two-dimensional code is further increased, and the safety factor of the two-dimensional code is improved.
Preferably, in step S104, if the data content is randomly generated data content, the data content is generated according to the following steps:
step S1041, presetting an initial vector IV;
step S1042, selecting algorithm g randomly1(IV,T,T0) Dynamically generating data content x by randomly selecting algorithm g2(x) Randomly selecting a display form of the data content x; wherein T is the current time, T0Is a preset initial value of time.
In addition, IV, T0As influencing factor, a stochastic algorithm g1When the (IV, T, T0) is selected, whether the random detection standard conforms to the national code administration GM/T00050-.
It can be understood that the data content is dynamically and randomly generated, so that lawbreakers cannot use means such as brute force attack or physical copying to copy the anti-counterfeiting mark. The difficulty of copying and forging the two-dimensional code is further improved.
Referring to fig. 2, the invention further provides an offline synchronous two-dimensional code anti-counterfeiting verification method, which includes:
step S201, scanning an anti-counterfeiting two-dimensional code on a product packaging box to obtain height information and material information of the two-dimensional code carried by the anti-counterfeiting two-dimensional code, and number information and product anti-counterfeiting information of a plurality of selected to-be-displayed two-dimensional code pictures;
step S202, if the product anti-counterfeiting information on the product packaging box is consistent with the scanned product anti-counterfeiting information, the height information and the material information of the anti-counterfeiting two-dimensional code arranged on the product packaging box are consistent with the height information and the material information of the scanned anti-counterfeiting two-dimensional code, and the number information of the scanned two-dimensional code pictures is consistent with the number information of the two-dimensional code pictures which are actually displayed, judging that the anti-counterfeiting two-dimensional code on the current product packaging box is a true code, otherwise, judging that the anti-counterfeiting two-dimensional code is a false code.
Preferably, the step S201 further comprises:
step S203, the server presets an initial vector IV;
step S204, the server randomly selects an algorithm g1(IV,T,T0) Dynamically generating data content x by randomly selecting algorithm g2(x) Randomly selecting a display form of the data content x; wherein T is the current time, T0Is a preset time initial value;
step S201 further includes:
scanning an anti-counterfeiting two-dimensional code on a product packaging box to obtain data content x carried by the anti-counterfeiting two-dimensional code;
step S202 specifically includes:
if the scanned data content x is consistent with the data content x of the product displayed in the server, the product anti-counterfeiting information on the product packaging box is consistent with the scanned product anti-counterfeiting information, the height information and the material information of the anti-counterfeiting two-dimensional code arranged on the product packaging box are consistent with the height information and the material information of the scanned anti-counterfeiting two-dimensional code, and the number information of the scanned two-dimensional code pictures is consistent with the number information of the two-dimensional code picture actually displayed, the anti-counterfeiting two-dimensional code on the current product packaging box is judged to be a true code, otherwise, the anti-counterfeiting two-dimensional code is a false code.
It will be appreciated that in the server, the initial vectors IV, T are also stored at the same time0T and random selection algorithm g1(IV,T,T0)、g2(x) And the server acquires the current position information of the user and stores the result. People can access the server to obtain the data content currently displayed in the server and compare the data content with the data content scanned and displayed, so that whether the two-dimensional code is forged or not can be verified.
Referring to fig. 3 and 4, the present invention further provides an offline synchronized two-dimensional code anti-counterfeiting device 300, including: a controller 301, and a rom 302 and a display module 303 electrically connected to the controller 301, respectively, wherein,
a plurality of two-dimensional code pictures to be displayed are prestored in the read-only memory 302;
the controller 301 is configured to randomly select a plurality of two-dimensional code pictures to be displayed for a current product, and sequence and number the selected plurality of two-dimensional code pictures to be displayed; the two-dimensional code anti-counterfeiting information list is also used for establishing a two-dimensional code anti-counterfeiting information list for the current product and storing the two-dimensional code anti-counterfeiting information list in the read only memory 302, wherein the two-dimensional code anti-counterfeiting information list comprises height information and material information of a two-dimensional code to be manufactured, and number information and product anti-counterfeiting information of a plurality of selected two-dimensional code pictures to be displayed;
the controller 301 is further configured to generate an anti-counterfeiting two-dimensional code according to the two-dimensional code anti-counterfeiting information list, the selected multiple two-dimensional code pictures to be displayed, and the data content, and display the anti-counterfeiting two-dimensional code through the display module 303, where the selected multiple two-dimensional code pictures to be displayed display a first one by default according to the sequence.
Preferably, the offline synchronized two-dimensional code anti-counterfeiting device 300 further comprises a timer 304 electrically connected to the controller 301, and the timer 304 is synchronized with a server.
Preferably, the rom 302 further stores a preset initial vector IV and a preset initial time value T0
The controller 301 is configured to select the algorithm g randomly1(IV,T,T0) Dynamically generating data content x by randomly selecting algorithm g2(x) Randomly selecting a display form of the data content x; the anti-counterfeiting information list is used for displaying a plurality of two-dimensional code pictures to be displayed and data content x; wherein T is the current time.
Preferably, the controller 301 is a microprocessor, an integrated circuit with control function, or a programmable logic device.
The above description is only for the specific embodiments of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present invention, and all the changes or substitutions should be covered within the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the appended claims. The terms "first" and "second" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance. The term "plurality" means two or more unless expressly limited otherwise.

Claims (4)

1. An off-line synchronous two-dimensional code anti-counterfeiting method is characterized by comprising the following steps:
s101, randomly selecting a plurality of two-dimensional code pictures to be displayed for a current product by an offline synchronous two-dimensional code anti-counterfeiting terminal;
s102, sequencing and numbering a plurality of selected two-dimensional code pictures to be displayed by the off-line synchronous two-dimensional code anti-counterfeiting terminal; selecting a switching mode of the sorted two-dimensional code pictures to be displayed;
s103, establishing a two-dimensional code anti-counterfeiting information list for the current product by the off-line synchronous two-dimensional code anti-counterfeiting terminal, and storing the two-dimensional code anti-counterfeiting information list, wherein the two-dimensional code anti-counterfeiting information list comprises height information and material information of a two-dimensional code to be manufactured, and number information and product anti-counterfeiting information of a plurality of selected two-dimensional code pictures to be displayed; the two-dimension code anti-counterfeiting information list also comprises a switching mode of a plurality of sequenced two-dimension code pictures to be displayed;
s104, generating an anti-counterfeiting two-dimensional code by the off-line synchronous two-dimensional code anti-counterfeiting terminal according to the two-dimensional code anti-counterfeiting information list, the selected multiple two-dimensional code pictures to be displayed and the data content; the method comprises the steps that a first two-dimensional code picture is displayed in a default mode according to the sequence of a plurality of selected two-dimensional code pictures to be displayed;
the data content is randomly generated data content and is generated according to the following steps:
step S1041, presetting an initial vector IV;
step S1042, selecting algorithm g randomly1(IV,T,T0) Dynamically generating data content x by randomly selecting algorithm g2(x) Randomly selecting a display form of the data content x; wherein T is the current time, T0Is a preset time initial value;
the method further comprises the following steps:
step S203, the server presets an initial vector IV;
step S204, the server randomly selects an algorithm g1(IV,T,T0) Dynamically generating data content x by randomly selecting algorithm g2(x) Randomly selecting a display form of the data content x; wherein T is the current time, T0Is a preset time initial value;
in the server, the initial vectors IV, T are also stored0And a random selection algorithm g1(IV,T,T0)、g2(x) The anti-counterfeiting terminal and the anti-counterfeiting terminal synchronously run to dynamically generate data content;
step S201, scanning an anti-counterfeiting two-dimensional code on a product packaging box by an off-line synchronous two-dimensional code anti-counterfeiting terminal to acquire height information and material information of the two-dimensional code carried by the anti-counterfeiting two-dimensional code, and number information and product anti-counterfeiting information of a plurality of selected two-dimensional code pictures to be displayed; scanning an anti-counterfeiting two-dimensional code on a product packaging box to obtain data content x carried by the anti-counterfeiting two-dimensional code;
step S202, if the data content x scanned by the offline synchronous two-dimensional code anti-counterfeiting terminal is consistent with the data content x of the product displayed in the server, the product anti-counterfeiting information on the product packaging box is consistent with the scanned product anti-counterfeiting information, the height information and the material information of the anti-counterfeiting two-dimensional code arranged on the product packaging box are consistent with the height information and the material information of the scanned anti-counterfeiting two-dimensional code, and the number information of the scanned two-dimensional code pictures is consistent with the number information of the actually displayed two-dimensional code picture, the anti-counterfeiting two-dimensional code on the current product packaging box is judged to be a true code, otherwise, the anti-counterfeiting two-dimensional code is judged to be a false code.
2. The method according to claim 1, wherein the step S102 further comprises: setting a display time interval for the sequenced two-dimensional code pictures to be displayed;
the two-dimension code anti-counterfeiting information list further comprises display time interval information of a plurality of two-dimension code pictures to be displayed.
3. The method according to claim 1, wherein the offline synchronized two-dimensional code anti-counterfeiting terminal comprises: a controller, a read-only memory and a display module which are respectively and electrically connected with the controller, and a timer which is electrically connected with the controller and synchronously times with the server, wherein,
a plurality of two-dimensional code pictures to be displayed are prestored in the read-only memory;
the read-only memory also stores a preset initial vector IV and a preset time initial value T0
4. The method of claim 3, wherein the controller is a microprocessor, an integrated circuit with control functions, or a programmable logic device.
CN201710564274.7A 2017-07-12 2017-07-12 Offline synchronous two-dimensional code anti-counterfeiting method, anti-counterfeiting verification method and anti-counterfeiting device Active CN107316072B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710564274.7A CN107316072B (en) 2017-07-12 2017-07-12 Offline synchronous two-dimensional code anti-counterfeiting method, anti-counterfeiting verification method and anti-counterfeiting device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710564274.7A CN107316072B (en) 2017-07-12 2017-07-12 Offline synchronous two-dimensional code anti-counterfeiting method, anti-counterfeiting verification method and anti-counterfeiting device

Publications (2)

Publication Number Publication Date
CN107316072A CN107316072A (en) 2017-11-03
CN107316072B true CN107316072B (en) 2020-11-06

Family

ID=60177943

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710564274.7A Active CN107316072B (en) 2017-07-12 2017-07-12 Offline synchronous two-dimensional code anti-counterfeiting method, anti-counterfeiting verification method and anti-counterfeiting device

Country Status (1)

Country Link
CN (1) CN107316072B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107844820B (en) * 2017-11-06 2020-11-17 中国东方电气集团有限公司 Two-dimensional code anti-counterfeiting method for metal piece
CN107798373B (en) * 2017-11-24 2020-09-29 成都智元汇信息技术股份有限公司 Two-dimensional code anti-copying method and system
CN113859668B (en) * 2021-09-18 2024-01-05 台州市新大陆电子科技有限公司 Adaptive system and method for binding machine and wire tray

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104615791A (en) * 2015-03-09 2015-05-13 浪潮集团有限公司 Three-dimensional code generating and parsing method and device
CN105173369A (en) * 2015-07-30 2015-12-23 熊贤浪 Intelligent anti-fake system
CN105260695A (en) * 2015-11-17 2016-01-20 杭州视赚网络技术有限公司 Code scanning method for scanning dynamic three-dimensional codes on display screen
CN105469132A (en) * 2016-01-13 2016-04-06 上海众烁信息科技有限公司 Duplicate coding internet of things traceability security label and 2-dimensional bar code security traceability method

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20120127011A (en) * 2011-05-13 2012-11-21 정봉춘 Advertising leaflet managing system using garbage bag
US20150169928A1 (en) * 2012-03-01 2015-06-18 Sys-Tech Solutions, Inc. Methods and a system for verifying the identity of a printed item
JP6465723B2 (en) * 2015-04-09 2019-02-06 キヤノン株式会社 COMMUNICATION DEVICE, COMMUNICATION DEVICE CONTROL METHOD, AND PROGRAM

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104615791A (en) * 2015-03-09 2015-05-13 浪潮集团有限公司 Three-dimensional code generating and parsing method and device
CN105173369A (en) * 2015-07-30 2015-12-23 熊贤浪 Intelligent anti-fake system
CN105260695A (en) * 2015-11-17 2016-01-20 杭州视赚网络技术有限公司 Code scanning method for scanning dynamic three-dimensional codes on display screen
CN105469132A (en) * 2016-01-13 2016-04-06 上海众烁信息科技有限公司 Duplicate coding internet of things traceability security label and 2-dimensional bar code security traceability method

Also Published As

Publication number Publication date
CN107316072A (en) 2017-11-03

Similar Documents

Publication Publication Date Title
CN107316072B (en) Offline synchronous two-dimensional code anti-counterfeiting method, anti-counterfeiting verification method and anti-counterfeiting device
CN102663600B (en) Anti-counterfeiting system based on digital watermarks and barcodes, anti-counterfeiting method for anti-counterfeiting system and application of anti-counterfeiting system
JP6505732B2 (en) Two-dimensional barcode and authentication method of such barcode
US7020327B2 (en) Machine readable code image and method of encoding and decoding the same
WO2001086582A1 (en) Machine readable code and method and device of encoding and decoding the same
US20210334490A1 (en) Contrast edge barcodes
TWI644261B (en) Data transmission using optical codes
CN103761799A (en) Bill anti-counterfeit method and device based on texture image characteristics
JP6512706B2 (en) Watermarked two-dimensional code, authentication system, authentication method, and program
KR101587501B1 (en) Method of authenticating goods using identification code image and apparatus performing the same
CN109636417A (en) A kind of method for anti-counterfeit and device
CN106899609A (en) Code and its generation, verification method and device in a kind of code
JP7101258B2 (en) 2D barcode generation method, authentication method, server, and 2D barcode
CN113392664B (en) Anti-counterfeiting two-dimensional code generation method, anti-counterfeiting method and device
US5946416A (en) Image processing device and method for detecting and removing fine lines in an image pattern
CN104376280B (en) A kind of image code generation method towards Google glass
CN104376523B (en) A kind of image code false-proof system composing method towards Google glass
CN104376314B (en) A kind of constructive method towards Google glass Internet of Things web station system
CN113988242A (en) Multi-region-based anti-counterfeiting code generation and verification method, system, equipment and medium
CN115329919A (en) Random additional point anti-counterfeiting method and device based on micro-point code
CN115511030A (en) Anti-counterfeiting verification method and device and electronic equipment
CN114758162A (en) Commodity anti-counterfeiting identification method and device, electronic equipment and storage medium
CN112418371B (en) Secure three-dimensional code for blockchains and methods of generating and decoding
CN109840574B (en) Two-dimensional code information hiding method and device, electronic equipment and storage medium
CN113988244A (en) Anti-counterfeiting dot matrix generation and verification method, system, equipment and medium

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
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20181227

Address after: 100089 Beijing University of Aeronautics and Astronautics, 37 College Road, Haidian District

Applicant after: Peng Han Han

Address before: No. 8, Xingyi Road, Guiyang National High-tech Industrial Development Zone, Guiyang City, Guizhou Province, with No. 12 attached

Applicant before: Guizhou Xin'an Technology Co. Ltd.

GR01 Patent grant
GR01 Patent grant