CN113869913A - Anti-counterfeiting method, server, system, two-dimensional code generation method and electronic product - Google Patents

Anti-counterfeiting method, server, system, two-dimensional code generation method and electronic product Download PDF

Info

Publication number
CN113869913A
CN113869913A CN202111061553.4A CN202111061553A CN113869913A CN 113869913 A CN113869913 A CN 113869913A CN 202111061553 A CN202111061553 A CN 202111061553A CN 113869913 A CN113869913 A CN 113869913A
Authority
CN
China
Prior art keywords
counterfeiting
product
real
character string
time
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.)
Granted
Application number
CN202111061553.4A
Other languages
Chinese (zh)
Other versions
CN113869913B (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.)
Shenzhen Time Yaa Electronic Technology Co ltd
Original Assignee
Shenzhen Time Yaa Electronic Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Time Yaa Electronic Technology Co ltd filed Critical Shenzhen Time Yaa Electronic Technology Co ltd
Priority to CN202111061553.4A priority Critical patent/CN113869913B/en
Publication of CN113869913A publication Critical patent/CN113869913A/en
Application granted granted Critical
Publication of CN113869913B publication Critical patent/CN113869913B/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
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/903Querying
    • G06F16/90335Query processing
    • G06F16/90344Query processing by using string matching techniques
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/955Retrieval from the web using information identifiers, e.g. uniform resource locators [URL]
    • G06F16/9554Retrieval from the web using information identifiers, e.g. uniform resource locators [URL] by using bar codes
    • 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/02Marketing; Price estimation or determination; Fundraising
    • G06Q30/0207Discounts or incentives, e.g. coupons or rebates
    • G06Q30/0214Referral reward systems
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/30Computing systems specially adapted for manufacturing

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Databases & Information Systems (AREA)
  • Accounting & Taxation (AREA)
  • Development Economics (AREA)
  • Finance (AREA)
  • Strategic Management (AREA)
  • Entrepreneurship & Innovation (AREA)
  • General Business, Economics & Management (AREA)
  • Marketing (AREA)
  • Economics (AREA)
  • Data Mining & Analysis (AREA)
  • General Engineering & Computer Science (AREA)
  • Computational Linguistics (AREA)
  • Game Theory and Decision Science (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention discloses an anti-counterfeiting method, a server and an anti-counterfeiting system, which comprise the following steps: identifying an initial two-dimensional code of an electronic product to obtain an initial anti-counterfeiting character string of the product; responding to a webpage address of a product real-time two-dimensional code access database scanned by a user side; obtaining a real-time anti-counterfeiting character string of the product according to the webpage address; and performing anti-counterfeiting verification on the real-time anti-counterfeiting character string according to the initial anti-counterfeiting character string to obtain a verification result and feeding the verification result back to the webpage address. The real-time anti-counterfeiting character string obtained through the real-time two-dimensional code can dynamically verify whether the product is stolen or not, and the anti-counterfeiting capability of the product is effectively enhanced. And when the user inquires whether the electronic product is true or false, the user does not need to manually input the serial number inquiry of the product, and the user terminal directly scans and identifies the code, so that the operation is convenient, and the experience is good. The invention also discloses a two-dimension code generation method and an electronic product, which are used for generating the initial two-dimension code of the product and the real-time two-dimension code of the product, and are simple and convenient to operate.

Description

Anti-counterfeiting method, server, system, two-dimensional code generation method and electronic product
Technical Field
The invention relates to the technical field of anti-counterfeiting verification, in particular to an anti-counterfeiting method, a server, a system, a two-dimensional code generation method and an electronic product.
Background
In order to make information of products, production enterprises and the like more public and transparent, accept public supervision, prevent the phenomena of goods fleeing and counterfeit and inferior, realize the whole-process traceability of the products, improve the credibility of the enterprises and shape brand images, the enterprises need to perform anti-counterfeiting traceability on the products produced and sold by the enterprises.
At present, in the anti-counterfeiting and original tracing of electronic products, a widely adopted method is to record a serial number of a product into a database in advance, query the serial number in the database during query, print anti-counterfeiting verification information on a packaging box, wherein common anti-counterfeiting verification information is in a two-dimensional code form, but the two-dimensional code printed in the mode is a static code, a counterfeiter only needs to copy the two-dimensional code to finish the imitation, and therefore the anti-counterfeiting strength is not high.
Therefore, how to realize reliable and efficient anti-counterfeiting of products so as to guarantee the reasonable rights of enterprises and users is a technical problem to be solved urgently by technical personnel in the field.
Disclosure of Invention
In order to solve the above technical problems, the present invention aims to provide an anti-counterfeiting method; the invention also provides a server, a two-dimensional code generation method, an electronic product and an anti-counterfeiting system.
The technical scheme provided by the invention is as follows:
an anti-counterfeiting method comprising:
identifying an initial two-dimensional code of an electronic product to obtain an initial anti-counterfeiting character string of the product;
responding to a webpage address accessed by a user side scanning real-time product two-dimensional code to obtain a real-time product anti-counterfeiting character string;
and performing anti-counterfeiting verification on the real-time anti-counterfeiting character string according to the initial anti-counterfeiting character string to obtain a verification result and feeding the verification result back to the webpage address.
By adopting the technical scheme, the real-time anti-counterfeiting character string obtained by the real-time two-dimensional code can dynamically verify whether the product is stolen, and the anti-counterfeiting capability of the product is effectively enhanced. And when the user inquires whether the electronic product is genuine, the user does not need to manually input the serial number inquiry of the product, and the user side directly scans and identifies the code, so that the operation is convenient and the experience is good.
Preferably, the initial anti-counterfeiting character string and the real-time anti-counterfeiting character string both comprise a sequence number parameter, a signature parameter and a random parameter;
the sequence frequency parameter consists of a sequence number and two-dimensional code generation frequency;
and obtaining the signature parameters according to a preset signature rule and the sequence time parameters.
By adopting the technical scheme, the sequence frequency parameter is divided into two sections which are separated by the separation symbol, the part before the separation symbol is the equipment serial number, the back of the separation symbol is an incremental number, the length of the number is 16 characters, the number is set to be 0 before the product leaves a factory, the number is incremented every time the two-dimensional code is generated after the product leaves the factory, and the server can verify whether the number is incremented or not through the generation frequency of the two-dimensional code, because if the two-dimensional code is stolen by a person, the generation frequencies of the two sides are in conflict definitely and cannot be always incremented; the signature parameters are signature fields, and the sequence number parameters are subjected to a preset signature rule to obtain signature parameters; the random parameters are random numbers which are different every time, and the random parameters are reserved for filling the electronic product, so that the generated two-dimensional code is more attractive, and can be aligned with data.
Preferably, the method for identifying the initial two-dimensional code of the electronic product to obtain the initial anti-counterfeiting character string of the product further comprises the following steps:
extracting the electronic product serial number from the initial anti-counterfeiting character string;
and according to the electronic product serial number, associating with the product information stored in the database, and registering and saving.
By adopting the technical scheme, the initial anti-counterfeiting character string contains the serial number of the electronic product, the server can extract the serial number of the electronic product, and the product information comprises product attributes, product production date and the like, for example: a batch of red electronic cigarettes are input into the database, information such as color, batch, production date and the like of the batch of electronic cigarettes is associated with the serial number, and the information is registered and stored in the database, so that a user can conveniently inquire the information.
Preferably, the performing anti-counterfeiting verification on the real-time anti-counterfeiting character string according to the initial anti-counterfeiting character string to obtain a verification result and feeding the verification result back to the webpage address includes:
performing anti-counterfeiting verification according to the initial anti-counterfeiting character string and/or the real-time anti-counterfeiting character string;
if the generation times of the two-dimensional codes of the real-time anti-counterfeiting character string are randomly increased relative to the generation times of the two-dimensional codes of the initial anti-counterfeiting character string or relative to the generation times of the two-dimensional codes of the real-time anti-counterfeiting character string during the last anti-counterfeiting verification, and the signature parameters of the real-time anti-counterfeiting character string are consistent with the signature parameters obtained by a preset signature rule, the verification is passed, and the product information of the electronic product associated in the database and the successful verification result are fed back to the webpage address;
otherwise, the verification fails and the result of the verification failure is fed back to the webpage address.
By adopting the technical scheme, the generation times of the two-dimensional code which can be increased progressively each time are used, and the signature rule for signature parameter verification is added into the server, so that the input of production information of a plastic source is increased in production, the universality is higher, and the anti-counterfeiting capability is also higher.
Preferably, after the verification is passed and the product information of the electronic product and the result of successful verification associated in the database are fed back to the web address, the method further comprises:
binding the user side and the product serial number to obtain a binding distribution relation;
and when the real-time two-dimensional code of the equipment corresponding to the product serial number is scanned again, distribution is realized, and distribution rewards are distributed to the user side based on the binding distribution relationship.
By adopting the technical scheme, after the user scans the code and the electronic product is successfully verified, the real-time two-dimensional code can uniquely identify one electronic product, and then the binding distribution relation is established between the user and the electronic equipment, so that a distributor can conveniently perform distribution agency.
A server, comprising:
a first memory for storing a first computer program;
a first processor for implementing the steps of an anti-counterfeiting method as described in any one of the above when the first computer program is executed.
By adopting the technical scheme, the anti-counterfeiting method is presented in the form of a computer readable code and stored in the first memory, and after the first computer program is installed, when the first processor runs the computer readable code in the first memory, the steps of the anti-counterfeiting method are executed to realize reliable and efficient anti-counterfeiting of the product, so that the reasonable rights and interests of enterprises and users are guaranteed.
A two-dimensional code generation method comprises the following steps:
generating an initial two-dimensional code according to the obtained product serial number;
acquiring a gravity acceleration real-time value of a product;
comparing the magnitude of the real-time value of the gravitational acceleration according to a preset gravitational acceleration triggering threshold;
if the real-time value of the gravity acceleration is not less than a preset gravity acceleration trigger threshold, generating a trigger signal;
and generating a real-time two-dimensional code according to the product serial number and the trigger signal.
By adopting the technical scheme, the electronic product generates an initial two-dimensional code according to the obtained product serial number before leaving the factory, and is displayed on a screen, so that the scanning, registration and storage in the production and packaging process are facilitated; after leaving the factory, when a user takes the electronic product to verify, the electronic product is shaken to trigger generation and display of the real-time two-dimensional code, and the user operation is simple and convenient.
An electronic product, comprising:
the gravity acceleration sensor is used for acquiring a gravity acceleration real-time value of the electronic product;
a second memory for storing a second computer program;
a second processor, configured to implement the steps of the two-dimensional code generation method as described above when executing the second computer program.
By adopting the technical scheme, the two-dimension code generation method is presented in the form of a computer readable code and stored in the second memory, and after the second computer program is installed, when the second processor runs the computer readable code in the second memory, the steps of the two-dimension code generation method are executed to obtain the real-time two-dimension code, so that the operation is simple and convenient.
An anti-counterfeiting verification system based on two-dimensional codes comprises:
the electronic product is used for generating the product initial two-dimension code and the product real-time two-dimension code;
the user side is used for responding to the scanning of the real-time two-dimensional code of the product and accessing a preset webpage address;
the server is used for acquiring an initial anti-counterfeiting character string of the product according to the initial two-dimensional code of the product; the system is used for responding to the access of the user end to the webpage address to obtain a real-time anti-counterfeiting character string of a product; and the real-time anti-counterfeiting character string is also used for performing anti-counterfeiting verification on the real-time anti-counterfeiting character string according to the initial anti-counterfeiting character string to obtain a verification result and feed the verification result back to the webpage address.
By adopting the technical scheme, the electronic product is responsible for generating and displaying the initial two-dimensional code and the real-time two-dimensional code, the user terminal scans the real-time two-dimensional code of the product, accesses the pre-configured webpage address to identify the real-time two-dimensional code of the product, obtains the real-time anti-counterfeiting character string and sends the real-time anti-counterfeiting character string to the server, the server verifies the real-time anti-counterfeiting character string and the initial anti-counterfeiting character string which is pre-recorded and stored in the database, and the obtained verification result is fed back to the webpage address to be displayed by the user terminal. The real-time anti-counterfeiting character string obtained through the real-time two-dimensional code can dynamically verify whether the product is stolen or not, and the anti-counterfeiting capability of the product is effectively enhanced. And when the user inquires whether the electronic product is true or false, the user does not need to manually input the serial number inquiry of the product, and the user terminal directly scans and identifies the code, so that the operation is convenient, and the experience is good.
In summary, in the anti-counterfeiting method provided by the invention, the initial two-dimensional code of the electronic product is identified to obtain the initial anti-counterfeiting character string of the product; responding to a webpage address of a product real-time two-dimensional code access database scanned by a user side; obtaining a real-time anti-counterfeiting character string of the product according to the webpage address; and performing anti-counterfeiting verification on the real-time anti-counterfeiting character string according to the initial anti-counterfeiting character string to obtain a verification result and feeding the verification result back to the webpage address. The real-time anti-counterfeiting character string obtained through the real-time two-dimensional code can dynamically verify whether the product is stolen or not, and the anti-counterfeiting capability of the product is effectively enhanced. The server, the two-dimension code generation method, the electronic product and the anti-counterfeiting system provided by the invention also solve the corresponding technical problems.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings needed to be 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 described in the present application, and other drawings can be obtained by those skilled in the art without creative efforts.
Fig. 1 is a schematic structural diagram of an anti-counterfeiting system according to an embodiment of the present invention.
Fig. 2 is a schematic flow chart of an anti-counterfeiting method according to an embodiment of the present invention.
Fig. 3 is a schematic diagram of performing anti-counterfeiting verification on a real-time anti-counterfeiting character string according to an initial anti-counterfeiting character string to obtain a verification result and feeding the verification result back to a webpage address according to an embodiment of the present invention.
Fig. 4 is a schematic structural diagram of a server according to an embodiment of the present invention.
Fig. 5 is a schematic flow chart of a two-dimensional code production method according to an embodiment of the present invention.
Fig. 6 is a schematic structural diagram of an electronic product according to an embodiment of the present invention.
Reference numerals: 1-an electronic product; 101-a gravitational acceleration sensor; 102-a second memory; 103-a second processor;
2-a user terminal;
3-a server; 301-a first memory; 302-first processor.
Detailed Description
In order to make those skilled in the art better understand the technical solutions in the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
It will be understood that when an element is referred to as being "fixed" or "disposed" on another element, it can be directly on the other element or be indirectly disposed on the other element; when an element is referred to as being "connected to" another element, it can be directly connected to the other element or be indirectly connected to the other element.
It will be understood that the terms "length," "width," "upper," "lower," "front," "rear," "left," "right," "vertical," "horizontal," "top," "bottom," "inner," "outer," and the like, refer to an orientation or positional relationship illustrated in the drawings for convenience in describing the present application and to simplify description, and do not indicate or imply that the referenced device or element must have a particular orientation, be constructed and operated in a particular orientation, and thus should not be construed as limiting the present application.
Furthermore, the terms "first", "second" and "first" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature. In the description of the present application, "plurality" or "a plurality" means two or more unless specifically limited otherwise.
It should be understood that the structures, ratios, sizes, and the like shown in the drawings are only used for matching the disclosure of the specification, so as to be understood and read by those skilled in the art, and are not used to limit the practical limit conditions of the present application, so that the modifications of the structures, the changes of the ratio relationships, or the adjustment of the sizes, do not have the technical essence, and the modifications, the changes of the ratio relationships, or the adjustment of the sizes, are all within the scope of the technical contents disclosed in the present application without affecting the efficacy and the achievable purpose of the present application.
The embodiments of the present application are written in a progressive manner.
Referring to fig. 1, an anti-counterfeit system provided in an embodiment of the present invention includes:
the electronic product 1 is used for generating an initial product two-dimensional code and a real-time product two-dimensional code;
the user side 2 is used for responding to the scanning of the real-time two-dimensional code of the product and accessing a preset webpage address;
the server 3 is used for acquiring an initial anti-counterfeiting character string of the product according to the initial two-dimensional code of the product; the system is used for responding to the access of a user end to a webpage address to obtain a real-time anti-counterfeiting character string of a product; and the anti-counterfeiting system is also used for carrying out anti-counterfeiting verification on the real-time anti-counterfeiting character string according to the initial anti-counterfeiting character string to obtain a verification result and feeding the verification result back to the webpage address.
In the embodiment of the invention, a chip is arranged in an electronic product 1, a unique product serial number and a unique program are recorded in the chip, an initial two-dimensional code and a real-time two-dimensional code can be generated and displayed, the electronic product generates the initial two-dimensional code before leaving a factory, and enterprise staff scan the initial two-dimensional code through a code scanning device to collect the generated serial number of the electronic product; after the electronic product leaves the factory, the electronic product exits the product information configuration mode through the program set by the running chip after the initial two-dimensional code is successfully identified, and the initial two-dimensional code disappears. The user purchases and obtains the electronic product, the real-time two-dimensional code is generated by shaking the electronic product, the real-time two-dimensional code of the product is scanned through the user side 2, the pre-configured webpage address is accessed, the real-time two-dimensional code of the product is identified, the real-time anti-counterfeiting character string is obtained, and the real-time anti-counterfeiting character string is sent to the server 3. The server 3 responds to the webpage address to obtain the real-time anti-counterfeiting character string and verifies the real-time anti-counterfeiting character string with the initial anti-counterfeiting character string which is pre-recorded and stored in the database, a plurality of pieces of product information are stored in the database, the matching and verification of the product information of the electronic product and the product serial number can be completed, and the obtained verification result is fed back to the webpage address for the user to display. The real-time anti-counterfeiting character string obtained through the real-time two-dimensional code can dynamically verify whether the product is stolen or not, and the anti-counterfeiting capability of the product is effectively enhanced. And when the user inquires whether the electronic product is true or false, the user does not need to manually input the serial number inquiry of the product, and the user terminal directly scans and identifies the code, so that the operation is convenient, and the experience is good.
Referring to fig. 2, in combination with the above anti-counterfeiting system, an embodiment of the present invention provides an anti-counterfeiting method based on a server 3, including:
s201, identifying an initial two-dimensional code of an electronic product to obtain an initial anti-counterfeiting character string of the product;
in this embodiment, before the electronic product is produced, packaged and delivered from the factory, the electronic product generates an initial two-dimensional code, and the enterprise staff scans the initial two-dimensional code through the code scanning device, and transmits a code scanning signal to the server to obtain an initial anti-counterfeiting character string of the product through decoding and identifying. Compared with the traditional packaging process, the scheme collects the serial numbers of the generated electronic products by scanning the initial two-dimensional codes, does not need to increase the production cost and optimizes the enterprise benefits.
S202, responding to a webpage address accessed by a user side scanning real-time product two-dimensional code to obtain a real-time product anti-counterfeiting character string;
in this embodiment, after the electronic product leaves the factory, the user scans the real-time two-dimensional code of the electronic product through the user side to generate a web address for accessing the database, and the server responds to the access. The common user side is a mobile phone, which is not limited to a mobile phone, and may be other electronic devices capable of being used for scanning and accessing. And the server obtains the real-time anti-counterfeiting character string of the product according to the webpage address. The domain name of the web page address is configured according to the actual situation of the server.
S203, performing anti-counterfeiting verification on the real-time anti-counterfeiting character string according to the initial anti-counterfeiting character string to obtain a verification result and feeding the verification result back to the webpage address.
In this embodiment, the server performs anti-counterfeiting verification according to the initial anti-counterfeiting character string and the real-time anti-counterfeiting character string, feeds back a verification result to the web address, and the user side displays the verification result fed back according to the web address to complete one-time anti-counterfeiting verification of the electronic product.
In the embodiment of the invention, a server identifies an initial two-dimensional code of an electronic product to obtain an initial anti-counterfeiting character string of the product; responding to a webpage address of a product real-time two-dimensional code access database scanned by a user side; obtaining a real-time anti-counterfeiting character string of the product according to the webpage address; and performing anti-counterfeiting verification on the real-time anti-counterfeiting character string according to the initial anti-counterfeiting character string to obtain a verification result and feeding the verification result back to the webpage address. The real-time anti-counterfeiting character string obtained through the real-time two-dimensional code can dynamically verify whether the product is stolen or not, and the anti-counterfeiting capability of the product is effectively enhanced. And when the user inquires whether the electronic product is genuine, the user does not need to manually input the serial number inquiry of the product, and the user side directly scans and identifies the code, so that the operation is convenient and the experience is good.
In the above embodiment, the initial anti-fake character string and the real-time anti-fake character string are not described in detail, and optionally, the initial anti-fake character string and the real-time anti-fake character string both include a sequence number parameter, a signature parameter, and a random parameter; the sequence frequency parameter consists of a serial number and two-dimensional code generation frequency; and obtaining a signature parameter according to a preset signature rule and a sequence number parameter.
The preset signature rule is as follows:
1) the sequence number parameter is processed to MD5(Message Digest Algorithm MD5, fifth edition), the calculated result is 16 bytes and is recorded as MD5_ i
2) Defining a key, wherein the key server also stores the key for use in verification, and the key is 16 bytes in length and is marked as key
3) And extracting each byte of the calculated MD5_ i, circularly calculating the following numerical values, recording the extracted data as MD5_ a, performing modulus extraction on 16, and recording the result after modulus extraction as key _ idx
4) And extracting the Key _ idx in the keys, carrying out exclusive OR on the MD5_ a and Key _ idx, and storing the exclusive OR result
5) And carrying out Hex encoding on the 16-byte XOR result, wherein the encoded result is the signature parameter.
In the embodiment of the invention, the webpage address and the anti-fake character string are exemplified as follows: the webpage address for scanning the two-dimensional code of the electronic product to access the database is http:// abcd.efg.com/di ═ 00000000001111111x00000000& s ═ 0CC175B9C0F1B6A831C399E269772661& r ═ abcd; wherein http:// abcd. efg.com/d is a domain name and is configured according to the actual condition of the server; the sequence number parameter i is divided into two sections which are separated by an x symbol, the part before the x symbol is an equipment serial number, the part after the x symbol is an incremental number, the length of the incremental number is 16 characters, the incremental number is set to be 0 before products leave a factory, and the two-dimensional code is generated once after the products leave the factory and randomly increases by 1-20; the signature parameter s is a signature field, and the sequence frequency parameter i is subjected to a preset signature rule to obtain a signature parameter s; the random parameter r is a random number, is different every time, and is reserved for filling electronic products, at least 1 byte can be ignored, so that the generated two-dimensional code is more attractive, and data alignment can be realized.
In the above embodiment, in order to facilitate the user to query the product information, the serial number of the electronic product and the product information need to be associated and entered into the database of the server, so optionally, the identifying the electronic product initial two-dimensional code in step S201 obtains the product initial anti-counterfeiting character string, and then further includes:
extracting an electronic product serial number from the initial anti-counterfeiting character string;
and according to the electronic product serial number, the electronic product serial number is associated with the product information stored in the database, and is registered and saved.
In the embodiment of the present invention, the initial anti-counterfeit character string includes an electronic product serial number, the server may extract the serial number of the electronic product, and the product information includes product attributes, product production date, and the like, for example: a batch of red electronic cigarettes are input into the database, information such as color, batch, production date and the like of the batch of electronic cigarettes is associated with the serial number, and the information is registered and stored in the database, so that a user can conveniently inquire the information.
As shown in fig. 3, fig. 3 is a schematic diagram of performing anti-counterfeit verification on the real-time anti-counterfeit character string according to the initial anti-counterfeit character string to obtain a verification result and feeding the verification result back to the web address in step S203 of the embodiment in fig. 2, and the schematic diagram includes:
s2031, performing anti-counterfeiting verification according to the initial anti-counterfeiting character string and/or the real-time anti-counterfeiting character string;
s2032, if the generation times of the two-dimensional codes of the real-time anti-counterfeiting character string are randomly increased relative to the generation times of the two-dimensional codes of the initial anti-counterfeiting character string or relative to the generation times of the two-dimensional codes of the real-time anti-counterfeiting character string during the last anti-counterfeiting verification, and the signature parameters of the real-time anti-counterfeiting character string are consistent with the signature parameters obtained by the preset signature rule operation, the verification is passed, and the product information of the associated electronic product in the database and the successful verification result are fed back to the webpage address;
s2033, otherwise, the verification fails and the result of the verification failure is fed back to the webpage address.
In the embodiment of the invention, after a user takes the electronic product, a real-time two-dimensional code interface is opened, a corresponding webpage address can be opened by using code scanning identification of a user side, a server responds to the access of the webpage address to report a real-time anti-counterfeiting character string to a database, after the database receives the real-time anti-counterfeiting character string, the database verifies whether the real-time anti-counterfeiting character string is falsified or not by using a signature rule which is consistent with that in the electronic product, if the real-time anti-counterfeiting character string is not falsified, the generation frequency of the two-dimensional code is verified to be less than that of the two-dimensional code in the last verification, if the frequency parameter is increased progressively, the two-dimensional code is possibly embezzled, all verifications pass through the steps of inquiring production information corresponding to the serial number of the electronic product in the database, and returning the verification result to the webpage address, and the user side displays the webpage address according to the feedback content. The successful verification result includes information such as verification times, last verification location, last verification time and the like.
In the above embodiment, in order to facilitate the distributor to perform distribution agency, the distribution user needs to be bound with the electronic product, optionally, if the verification passes, the verification passes is notified, and the product information and the verification result are fed back, and then the method further includes:
binding the user side with the product serial number to obtain a binding distribution relation;
and when the real-time two-dimensional code of the equipment corresponding to the product serial number is scanned again, distribution is realized, and distribution rewards are distributed to the user side based on the binding distribution relationship.
In the embodiment of the invention, after the code scanning electronic product of the user is successfully verified, the real-time two-dimensional code can uniquely identify one electronic product, then the user bound with the electronic product can be found according to the electronic product, and a binding distribution relationship is established between the user and the electronic equipment. For example, the user A buys an electronic product, feels very good after registration and binding, and then is recommended to the user B, and the user B only needs to scan the two-dimensional code, click a preset commodity purchasing link in an obtained verification result display interface, guide the user to enter an electronic mall for purchasing, can bind the distribution relationship, and then give a cashback reward to the user A in a certain proportion in a background. The distribution mode is very suitable for devices which can be carried around, such as electronic cigarettes and the like.
Referring to fig. 4, fig. 4 is a schematic structural diagram of a server 3 according to an embodiment of the present invention.
The server 3 provided in the embodiment of the present invention includes:
a first memory 301 for storing a first computer program;
a first processor 302, configured to execute a first computer program to implement the steps of an anti-counterfeiting method as described in any one of the embodiments above.
For the description of the relevant parts in the server provided by the embodiment of the present invention, reference is made to the detailed description of the corresponding parts in the anti-counterfeiting method provided by the embodiment of the present invention, which is not repeated herein.
Based on the electronic product 1, the invention also provides a two-dimensional code generation method, which has the corresponding effect of the electronic product 1 provided by the embodiment of the invention. Referring to fig. 5, fig. 5 is a schematic flow chart of a two-dimensional code production method according to an embodiment of the present invention.
The two-dimensional code production method provided by the embodiment of the invention is applied to the electronic product described in any embodiment, and may include:
s501, generating an initial two-dimensional code according to the obtained product serial number;
s502, acquiring a gravity acceleration real-time value of a product;
s503, comparing the magnitude of the real-time value of the gravitational acceleration according to a preset gravitational acceleration triggering threshold;
s504, if the real-time value of the gravity acceleration is not smaller than a preset gravity acceleration trigger threshold, generating a trigger signal;
and S505, generating a real-time two-dimensional code according to the product serial number and the trigger signal.
In the embodiment of the invention, the electronic product generates the initial two-dimensional code according to the obtained product serial number before leaving the factory, and the initial two-dimensional code is displayed on a screen, so that the scanning, registration and storage in the production and packaging process are facilitated; after leaving the factory, when a user takes the electronic product to verify, the electronic product is shaken to trigger generation and display of the real-time two-dimensional code, and the user operation is simple and convenient.
Referring to fig. 6, fig. 6 is a schematic structural diagram of an electronic product 1 according to an embodiment of the present invention.
An electronic product 1 provided in an embodiment of the present invention includes:
the gravity acceleration sensor 101 is used for acquiring a gravity acceleration real-time value of the electronic product;
a second memory 102 for storing a second computer program;
a second processor 103, configured to implement the steps of a two-dimensional code generation method as described above when executing the second computer program.
For a description of a relevant part in an electronic product provided by the embodiment of the present invention, reference is made to detailed descriptions of a corresponding part in a two-dimensional code production method provided by the embodiment of the present invention, which are not repeated herein.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the invention. Thus, the present invention is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (9)

1. An anti-counterfeiting method, comprising:
identifying an initial two-dimensional code of an electronic product to obtain an initial anti-counterfeiting character string of the product;
responding to a webpage address accessed by a user side scanning real-time product two-dimensional code to obtain a real-time product anti-counterfeiting character string;
and performing anti-counterfeiting verification on the real-time anti-counterfeiting character string according to the initial anti-counterfeiting character string to obtain a verification result and feeding the verification result back to the webpage address.
2. The anti-counterfeiting method according to claim 1, wherein the initial anti-counterfeiting character string and the real-time anti-counterfeiting character string comprise a sequence number parameter, a signature parameter and a random parameter;
the sequence frequency parameter consists of a sequence number and two-dimensional code generation frequency;
and obtaining the signature parameters according to a preset signature rule and the sequence time parameters.
3. The anti-counterfeiting method according to claim 2, wherein the step of identifying the initial two-dimensional code of the electronic product to obtain an initial anti-counterfeiting character string of the product further comprises the following steps:
extracting the electronic product serial number from the initial anti-counterfeiting character string;
and according to the electronic product serial number, associating with the product information stored in the database, and registering and saving.
4. The anti-counterfeiting method according to claim 3, wherein the anti-counterfeiting verification is performed on the real-time anti-counterfeiting character string according to the initial anti-counterfeiting character string, and a verification result is obtained and fed back to the webpage address, comprising the following steps:
performing anti-counterfeiting verification according to the initial anti-counterfeiting character string and/or the real-time anti-counterfeiting character string;
if the generation times of the two-dimensional codes of the real-time anti-counterfeiting character string are randomly increased relative to the generation times of the two-dimensional codes of the initial anti-counterfeiting character string or relative to the generation times of the two-dimensional codes of the real-time anti-counterfeiting character string during the last anti-counterfeiting verification, and the signature parameters of the real-time anti-counterfeiting character string are consistent with the signature parameters obtained by a preset signature rule, the verification is passed, and the product information of the electronic product associated in the database and the successful verification result are fed back to the webpage address;
otherwise, the verification fails and the result of the verification failure is fed back to the webpage address.
5. The anti-counterfeiting method according to claim 4, wherein after the verification is passed and the product information of the electronic product associated in the database and the result of successful verification are fed back to the webpage address, the method further comprises:
binding the user side and the product serial number to obtain a binding distribution relation;
and when the real-time two-dimensional code of the equipment corresponding to the product serial number is scanned again, distribution is realized, and distribution rewards are distributed to the user side based on the binding distribution relationship.
6. A server, comprising:
a first memory for storing a first computer program;
a first processor for implementing the steps of an anti-counterfeiting method according to any one of claims 1 to 5 when executing the first computer program.
7. A two-dimensional code generation method is characterized by comprising the following steps:
generating an initial two-dimensional code according to the obtained product serial number;
acquiring a gravity acceleration real-time value of a product;
comparing the magnitude of the real-time value of the gravitational acceleration according to a preset gravitational acceleration triggering threshold;
if the real-time value of the gravity acceleration is not less than a preset gravity acceleration trigger threshold, generating a trigger signal;
and generating a real-time two-dimensional code according to the product serial number and the trigger signal.
8. An electronic product, comprising:
the gravity acceleration sensor is used for acquiring a gravity acceleration real-time value of the electronic product;
a second memory for storing a second computer program;
a second processor for implementing the steps of a two-dimensional code generation method as claimed in claim 7 when executing said second computer program.
9. An anti-counterfeiting authentication system, comprising:
the electronic product of claim 8, configured to generate an initial product two-dimensional code and a real-time product two-dimensional code;
the user side is used for responding to the scanning of the real-time two-dimensional code of the product and accessing a preset webpage address;
the server is the server in claim 6 and is used for acquiring an initial anti-counterfeiting character string of the product according to the initial two-dimensional code of the product; the system is used for responding to the access of the user end to the webpage address to obtain a real-time anti-counterfeiting character string of a product; and the real-time anti-counterfeiting character string is also used for performing anti-counterfeiting verification on the real-time anti-counterfeiting character string according to the initial anti-counterfeiting character string to obtain a verification result and feed the verification result back to the webpage address.
CN202111061553.4A 2021-09-10 2021-09-10 Anti-counterfeiting method, server, system, two-dimension code generation method and electronic product Active CN113869913B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111061553.4A CN113869913B (en) 2021-09-10 2021-09-10 Anti-counterfeiting method, server, system, two-dimension code generation method and electronic product

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111061553.4A CN113869913B (en) 2021-09-10 2021-09-10 Anti-counterfeiting method, server, system, two-dimension code generation method and electronic product

Publications (2)

Publication Number Publication Date
CN113869913A true CN113869913A (en) 2021-12-31
CN113869913B CN113869913B (en) 2023-06-27

Family

ID=78995214

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111061553.4A Active CN113869913B (en) 2021-09-10 2021-09-10 Anti-counterfeiting method, server, system, two-dimension code generation method and electronic product

Country Status (1)

Country Link
CN (1) CN113869913B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117745299A (en) * 2023-10-31 2024-03-22 北京国立信科技术有限公司 Two-dimensional code-based anti-counterfeiting method and system

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104281954A (en) * 2014-04-30 2015-01-14 上海高研明鉴信息技术有限公司 Anti-counterfeiting method for product
CN109360008A (en) * 2018-11-20 2019-02-19 吴祥富 Product false proof electronic tag and product false proof certification update method and system
CN111210229A (en) * 2019-12-27 2020-05-29 绍兴心越科技有限公司 Product circulation authenticity verification method

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104281954A (en) * 2014-04-30 2015-01-14 上海高研明鉴信息技术有限公司 Anti-counterfeiting method for product
CN109360008A (en) * 2018-11-20 2019-02-19 吴祥富 Product false proof electronic tag and product false proof certification update method and system
CN111210229A (en) * 2019-12-27 2020-05-29 绍兴心越科技有限公司 Product circulation authenticity verification method

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
U011068702: "Android之手机摇一摇震动刷新(支持ListView、GridView、WebView)并生成我的二维码", 《IT610,HTTPS://WWW.IT610.COM/ARTICLE/5215752.HTM》 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117745299A (en) * 2023-10-31 2024-03-22 北京国立信科技术有限公司 Two-dimensional code-based anti-counterfeiting method and system

Also Published As

Publication number Publication date
CN113869913B (en) 2023-06-27

Similar Documents

Publication Publication Date Title
CN104835046B (en) A kind of data false distinguishing method for two-dimension code safe verification
CN107194449B (en) Printing anti-counterfeiting and information tracing method based on combination of digital watermark and two-dimensional code
US8542871B2 (en) Brand protection and product authentication using portable devices
KR101511918B1 (en) QR code for counterfeit and forgery prevention, a system for automatically producing QR codes for counterfeit and forgery prevention and the operating method therefor
CN111587445A (en) Security tag
JP2017504866A (en) System and method for verifying clock synchronous dynamic password forgery prevention label legality in real time
CN103593773A (en) Product anti-fake method and system and client terminal
CN105046504A (en) Multiple key checking, inspection and forgery prevention source forming method and forgery prevention label
US9721259B2 (en) Rules-based selection of counterfeit detection techniques
CN103886469A (en) Product two-dimension code generation and query system
CN105761091A (en) Red packet code two-stage two-dimensional code security coding method
CN105528709A (en) Uncopy two-dimension code anti-fake system based on one-time identification and realization method
CN102663590A (en) System and method of commodity anti-counterfeiting authentication based on restriction of authentication frequency
CN109165958A (en) A kind of commodity traceability system and method based on image information safe practice
CN113869913B (en) Anti-counterfeiting method, server, system, two-dimension code generation method and electronic product
CN107977845A (en) Food traceability system and method based on label information
CN111951026A (en) Commodity anti-counterfeiting verification method, device, equipment and system based on two-dimensional code
CN112085511A (en) Anti-counterfeiting tracing code generation method, anti-counterfeiting tracing method and related system
KR100524176B1 (en) Mobile phone capable of reading genuine article verifying information stored in a RF-tag and method for administrating service management executable in a computer communicating with the same phone
KR20160041680A (en) QR code for counterfeit and forgery prevention, a system for automatically producing QR codes for counterfeit and forgery prevention and the operating method therefor
US20140185934A1 (en) Process and system for authenticating ownership of a physical book to a third party via a mobile application
CN104408499A (en) Product anti-counterfeiting system
CN109034850A (en) A kind of commodity anti-channel conflict information and method based on image information safe practice
CN111311281A (en) Anti-counterfeiting method and anti-counterfeiting system based on website information
CN205375971U (en) Multilayer antifalsification label and verification system thereof

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