CN108596636B - Anti-counterfeiting method and device and terminal equipment - Google Patents

Anti-counterfeiting method and device and terminal equipment Download PDF

Info

Publication number
CN108596636B
CN108596636B CN201810362068.2A CN201810362068A CN108596636B CN 108596636 B CN108596636 B CN 108596636B CN 201810362068 A CN201810362068 A CN 201810362068A CN 108596636 B CN108596636 B CN 108596636B
Authority
CN
China
Prior art keywords
product
detected
verification code
counterfeiting
block chain
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
CN201810362068.2A
Other languages
Chinese (zh)
Other versions
CN108596636A (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.)
China United Network Communications Group Co Ltd
Original Assignee
China United Network Communications Group 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 China United Network Communications Group Co Ltd filed Critical China United Network Communications Group Co Ltd
Priority to CN201810362068.2A priority Critical patent/CN108596636B/en
Publication of CN108596636A publication Critical patent/CN108596636A/en
Application granted granted Critical
Publication of CN108596636B publication Critical patent/CN108596636B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/018Certifying business or products
    • G06Q30/0185Product, service or business identity fraud
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • 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/0029Methods 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 being specially adapted for wireless interrogation of grouped or bundled articles tagged with wireless record carriers

Landscapes

  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • Marketing (AREA)
  • Strategic Management (AREA)
  • Finance (AREA)
  • Development Economics (AREA)
  • Economics (AREA)
  • Accounting & Taxation (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • General Engineering & Computer Science (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)
  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)

Abstract

The embodiment of the invention provides an anti-counterfeiting method, an anti-counterfeiting device and terminal equipment. The method comprises the following steps: acquiring an anti-counterfeiting mark of a product to be detected; inquiring and acquiring batch information, identification information and a first verification code of the product to be detected from a block chain account book according to the anti-counterfeiting identification; calculating a second verification code of the product to be detected according to the batch information, the identification information and the anti-counterfeiting identification of the product to be detected; and performing anti-counterfeiting verification on the product to be detected according to the first verification code and the second verification code. The accuracy of carrying out anti-fake verification to the product is improved.

Description

Anti-counterfeiting method and device and terminal equipment
Technical Field
The embodiment of the invention relates to the technical field of communication, in particular to an anti-counterfeiting method, an anti-counterfeiting device and terminal equipment.
Background
In the prior art, a user wants a product purchased by the user to be a genuine product, and therefore, the user needs to verify the authenticity of the product.
In the prior art, a user can only detect whether the record information of a product is stored in a server by inquiring a bar code or a two-dimensional code on the product package, but the authenticity of the product cannot be accurately verified.
Disclosure of Invention
The embodiment of the invention provides an anti-counterfeiting method, an anti-counterfeiting device and terminal equipment, which are used for improving the accuracy of anti-counterfeiting verification on a product.
In a first aspect, an embodiment of the present invention provides an anti-counterfeiting method, including:
acquiring an anti-counterfeiting mark of a product to be detected;
inquiring and acquiring batch information, identification information and a first verification code of the product to be detected from a block chain account book according to the anti-counterfeiting identification;
calculating a second verification code of the product to be detected according to the batch information, the identification information and the anti-counterfeiting identification of the product to be detected;
and performing anti-counterfeiting verification on the product to be detected according to the first verification code and the second verification code.
Optionally, the performing anti-counterfeit verification on the product to be detected according to the first verification code and the second verification code includes:
if the first verification code is the same as the second verification code, determining that the product to be detected is a genuine product;
and if the first verification code is different from the second verification code, determining that the product to be detected is a counterfeit product.
Optionally, the obtaining of the anti-counterfeit mark of the product to be detected includes:
and scanning the two-dimensional code on the product to be detected to obtain the anti-counterfeiting mark of the product to be detected.
Optionally, the querying and obtaining the batch information, the identification information, and the first verification code of the product to be detected from the block chain book according to the anti-counterfeit identifier includes:
sending the anti-counterfeiting mark to a block chain node, wherein the block chain node stores the block chain account book, and the block chain account book stores batch information, mark information and a first verification code of the product to be detected, which correspond to the anti-counterfeiting mark;
and receiving the batch information, the identification information and the first verification code of the product to be detected from the block chain link point.
Optionally, the method further includes:
receiving a broadcast message from a manufacturer server, the broadcast message including batch information, identification information, and a verification code of a product;
and storing the batch information, the identification information and the verification code of the product into the block chain account book.
In a second aspect, an embodiment of the present invention provides an anti-counterfeit device, including:
the acquisition module is used for acquiring the anti-counterfeiting mark of the product to be detected;
the query module is used for querying and acquiring batch information, identification information and a first verification code of the product to be detected from the block chain account book according to the anti-counterfeiting mark;
the calculation module is used for calculating a second verification code of the product to be detected according to the batch information, the identification information and the anti-counterfeiting identification of the product to be detected;
and the verification module is used for performing anti-counterfeiting verification on the product to be detected according to the first verification code and the second verification code.
Optionally, the verification module is specifically configured to:
when the first verification code is the same as the second verification code, determining that the product to be detected is a genuine product;
and when the first verification code is different from the second verification code, determining that the product to be detected is a counterfeit product.
Optionally, the obtaining module is specifically configured to:
and scanning the two-dimensional code on the product to be detected to obtain the anti-counterfeiting mark of the product to be detected.
Optionally, the query module includes: a transmitting unit and a receiving unit;
the sending unit is used for sending the anti-counterfeiting mark to a block chain node, the block chain node stores the block chain account book, and the block chain account book stores batch information, mark information and a first verification code of the product to be detected corresponding to the anti-counterfeiting mark;
the receiving unit is used for receiving the batch information, the identification information and the first verification code of the product to be detected from the block chain link points.
Optionally, the anti-counterfeiting device further comprises:
the system comprises a receiving module, a verification module and a processing module, wherein the receiving module is used for receiving a broadcast message from a manufacturer server, and the broadcast message comprises batch information, identification information and a verification code of a product;
and the storage module is used for storing the batch information, the identification information and the verification code of the product into the block chain account book.
In a third aspect, an embodiment of the present invention provides a terminal device, including:
a memory;
a processor; and
a computer program;
wherein the computer program is stored in the memory and configured to be executed by the processor to implement the method of the first aspect.
In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, on which a computer program is stored, the computer program being executed by a processor to implement the method of the first aspect.
According to the anti-counterfeiting method, the anti-counterfeiting device and the terminal equipment, the anti-counterfeiting mark of the product to be detected is obtained, the batch information, the identification information and the first verification code of the product to be detected are inquired and obtained from the block chain book according to the anti-counterfeiting mark, the second verification code of the product to be detected is calculated according to the batch information, the identification information and the anti-counterfeiting mark of the product to be detected, the anti-counterfeiting verification can be performed on the product to be detected by comparing whether the first verification code and the second verification code are consistent, and the accuracy of the anti-counterfeiting verification on the product is improved.
Drawings
Fig. 1 is a schematic diagram of a communication system according to an embodiment of the present invention;
FIG. 2 is a flow chart of an anti-counterfeit method according to an embodiment of the present invention;
fig. 3 is a schematic diagram of another communication system provided by an embodiment of the present invention;
FIG. 4 is a flow chart of an anti-counterfeit method according to another embodiment of the present invention;
fig. 5 is a schematic structural diagram of an anti-counterfeiting device according to an embodiment of the present invention;
FIG. 6 is a schematic structural diagram of another anti-counterfeiting device according to an embodiment of the invention;
FIG. 7 is a schematic structural diagram of another anti-counterfeit device according to an embodiment of the present invention;
fig. 8 is a schematic structural diagram of a terminal device according to an embodiment of the present invention.
With the foregoing drawings in mind, certain embodiments of the disclosure have been shown and described in more detail below. These drawings and written description are not intended to limit the scope of the disclosed concepts in any way, but rather to illustrate the concepts of the disclosure to those skilled in the art by reference to specific embodiments.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
The anti-counterfeiting method provided by the invention can be applied to the communication system shown in figure 1. As shown in fig. 1, the communication system includes: access network device 11, terminal device 12 and server 13. It should be noted that the communication System shown in fig. 1 may be applicable to different network formats, for example, may be applicable to Global System for Mobile communication (GSM), Code Division Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Time Division-Synchronous Code Division Multiple Access (TD-SCDMA), Long Term Evolution (Long Term Evolution, LTE), and future 5G network formats. Optionally, the communication system may be a system in a scenario of high-reliability Low-Latency Communications (URLLC) transmission in a 5G communication system.
Therefore, optionally, the access Network device 11 may be a base Station (BTS) and/or a base Station Controller in GSM or CDMA, a base Station (NodeB, NB) and/or a Radio Network Controller (RNC) in WCDMA, an evolved Node B (eNB or eNodeB) in LTE, or a relay Station or an access point, or a base Station (gbb) in a future 5G Network, and the present invention is not limited thereto.
The terminal device 12 may be a wireless terminal or a wired terminal. A wireless terminal may refer to a device that provides voice and/or other traffic data connectivity to a user, a handheld device having wireless connection capability, or other processing device connected to a wireless modem. A wireless terminal, which may be a mobile terminal such as a mobile telephone (or "cellular" telephone) and a computer having a mobile terminal, for example, a portable, pocket, hand-held, computer-included, or vehicle-mounted mobile device, may communicate with one or more core Network devices via a Radio Access Network (RAN), and may exchange language and/or data with the RAN. For another example, the Wireless terminal may also be a Personal Communication Service (PCS) phone, a cordless phone, a Session Initiation Protocol (SIP) phone, a Wireless Local Loop (WLL) station, a Personal Digital Assistant (PDA), or the like. A wireless Terminal may also be referred to as a system, a Subscriber Unit (Subscriber Unit), a Subscriber Station (Subscriber Station), a Mobile Station (Mobile), a Remote Station (Remote Station), a Remote Terminal (Remote Terminal), an Access Terminal (Access Terminal), a User Terminal (User Terminal), a User Agent (User Agent), and a User Device or User Equipment (User Equipment), which are not limited herein. Optionally, the terminal device 12 may also be a smart watch, a tablet computer, or the like.
The anti-counterfeiting method provided by the invention aims to solve the technical problems in the prior art.
The following describes the technical solutions of the present invention and how to solve the above technical problems with specific embodiments. The following several specific embodiments may be combined with each other, and details of the same or similar concepts or processes may not be repeated in some embodiments. Embodiments of the present invention will be described below with reference to the accompanying drawings.
Fig. 2 is a flowchart of an anti-counterfeiting method according to an embodiment of the present invention. The embodiment of the invention provides an anti-counterfeiting method aiming at the technical problems in the prior art, and the method comprises the following specific steps:
step 201, obtaining an anti-counterfeiting mark of a product to be detected.
In this embodiment, an anti-counterfeit mark is provided on a product entity purchased by a user, the anti-counterfeit mark may be an anti-counterfeit password key-code, and here, a product purchased by the user is recorded as a product to be detected.
As an implementation manner, the acquiring the anti-counterfeit mark of the product to be detected includes: and scanning the two-dimensional code on the product to be detected to obtain the anti-counterfeiting mark of the product to be detected.
For example, a two-dimensional code is arranged on a product entity purchased by a user, and the user can scan the two-dimensional code through the terminal device 12 shown in fig. 1 to obtain the anti-counterfeit password key-code of the product to be detected.
Step 202, inquiring and acquiring batch information, identification information and a first verification code of the product to be detected from a block chain account book according to the anti-counterfeiting mark.
Further, the terminal device 12 queries and obtains batch information, such as a batch number, identification information, such as an ID number, and a first verification code of the product to be detected from the blockchain book according to the anti-counterfeit password key-code of the product to be detected, where the first verification code is denoted as Vercode 1. Optionally, the block chain account book stores the anti-counterfeit password key-code, the batch number, the ID number, and the first verification code of the product to be detected, and the first verification code Vercode1 is determined according to the anti-counterfeit password key-code, the batch number, and the ID number, for example, Vercode1 ═ f (batch number, ID number, anti-counterfeit password key-code), where f represents a function, and the embodiment does not limit the specific form of the function, and the batch number, the ID number, and the anti-counterfeit password key-code may specifically be parameters of the function.
As an implementation manner, the querying and acquiring batch information, identification information, and a first verification code of the product to be detected from a block chain book according to the anti-counterfeit identifier includes: sending the anti-counterfeiting mark to a block chain node, wherein the block chain node stores the block chain account book, and the block chain account book stores batch information, mark information and a first verification code of the product to be detected, which correspond to the anti-counterfeiting mark; and receiving the batch information, the identification information and the first verification code of the product to be detected from the block chain link point.
As shown in fig. 3, on the basis of the communication system shown in fig. 1, the communication system may further include a blockchain node 14, where the blockchain node 14 stores a blockchain ledger, and the blockchain ledger stores an anti-counterfeit password key-code, a batch number, an ID number, and a first verification code of the product to be detected. After the terminal device 12 obtains the anti-counterfeit key-code of the product to be detected, the anti-counterfeit key-code of the product to be detected is sent to the blockchain node 14 through the access network device 11, the blockchain node 14 obtains the batch number, the ID number and the first verification code of the product to be detected by querying the blockchain book, and sends the batch number, the ID number and the first verification code of the product to be detected to the terminal device 12 through the access network device 11.
Optionally, the server 13 is a manufacturer server, the manufacturer server may send the anti-counterfeit password key-code, the batch number, the ID number, and the first verification code of each product issued and sold by the manufacturer server to the blockchain node 14 through a broadcast message, and the blockchain node 14 stores the anti-counterfeit password key-code, the batch number, the ID number, and the first verification code of each product in the blockchain account book.
And 203, calculating a second verification code of the product to be detected according to the batch information, the identification information and the anti-counterfeiting identification of the product to be detected.
After the terminal device 12 acquires the batch number, the ID number, and the first verification code of the product to be detected from the block link point 14, a second verification code is calculated according to the anti-counterfeiting password key-code, the batch number, and the ID number of the product to be detected, where the second verification code is denoted as Vercode2, and Vercode2 is f (batch number, ID number, anti-counterfeiting password key-code).
And 204, performing anti-counterfeiting verification on the product to be detected according to the first verification code and the second verification code.
The first verification code Vercode1 is stored in the blockchain account book and is acquired from the blockchain account book by the terminal device 12, the second verification code Vercode2 is calculated by the terminal device 12 according to the anti-counterfeiting code key-code, the batch number and the ID number of the product to be detected, and the terminal device 12 performs anti-counterfeiting verification on the product to be detected by comparing the first verification code Vercode1 with the second verification code Vercode 2.
As an implementation manner, the performing anti-counterfeit verification on the product to be detected according to the first verification code and the second verification code includes: if the first verification code is the same as the second verification code, determining that the product to be detected is a genuine product; and if the first verification code is different from the second verification code, determining that the product to be detected is a counterfeit product.
For example, when the first verification code Vercode1 of the product to be detected stored in the blockchain account book is the same as the second verification code Vercode2 calculated by the terminal device 12 according to the anti-counterfeiting code key-code, the batch number and the ID number of the product to be detected, the terminal device 12 may determine that the product to be detected is a genuine product, otherwise, the product to be detected is a counterfeit product.
The anti-counterfeiting verification method and the device can perform anti-counterfeiting verification on the product to be detected by acquiring the anti-counterfeiting mark of the product to be detected, inquiring and acquiring batch information, mark information and a first verification code of the product to be detected from a block chain account book according to the anti-counterfeiting mark, calculating a second verification code of the product to be detected according to the batch information, the mark information and the anti-counterfeiting mark of the product to be detected, and comparing whether the first verification code and the second verification code are consistent or not, so that the accuracy of the anti-counterfeiting verification on the product is improved.
Fig. 4 is a flowchart of an anti-counterfeit method according to another embodiment of the present invention. On the basis of the above embodiment, the anti-counterfeiting method provided by this embodiment specifically includes the following steps:
step 401, receiving a broadcast message from a factory server, wherein the broadcast message includes batch information, identification information and a verification code of a product.
As another implementation manner, the terminal device 12 may also serve as a block chain node, optionally, the server 13 is a manufacturer server, and the manufacturer server may send the anti-counterfeit password key-code, the batch number, the ID number, and the first verification code of each product that is issued and sold by the manufacturer server to the terminal device 12 through a broadcast message.
Step 402, storing the batch information, the identification information and the verification code of the product into the block chain account book.
The terminal device 12 stores the anti-counterfeiting password key-code, the batch number, the ID number and the first verification code of each product in the block chain ledger. Optionally, the terminal device 12 stores the block chain ledger.
And 403, acquiring the anti-counterfeiting mark of the product to be detected.
The implementation and specific principles of step 403 are consistent with those of step 201, and are not described herein again.
And step 404, inquiring and acquiring batch information, identification information and a first verification code of the product to be detected from the block chain account book according to the anti-counterfeiting mark.
Optionally, after the terminal device 12 obtains the anti-counterfeit key-code of the product to be detected, the batch number, the ID number, and the first verification code of the product to be detected are directly obtained by querying from the block chain book stored in the terminal device 12.
Step 405, calculating a second verification code of the product to be detected according to the batch information, the identification information and the anti-counterfeiting identification of the product to be detected.
Step 405 is consistent with the implementation and specific principles of step 203, and is not described herein again.
And 406, performing anti-counterfeiting verification on the product to be detected according to the first verification code and the second verification code.
Step 406 is consistent with step 204 in terms of implementation and specific principles, and will not be described herein.
The anti-counterfeiting verification method and the device can perform anti-counterfeiting verification on the product to be detected by acquiring the anti-counterfeiting mark of the product to be detected, inquiring and acquiring batch information, mark information and a first verification code of the product to be detected from a block chain account book according to the anti-counterfeiting mark, calculating a second verification code of the product to be detected according to the batch information, the mark information and the anti-counterfeiting mark of the product to be detected, and comparing whether the first verification code and the second verification code are consistent or not, so that the accuracy of the anti-counterfeiting verification on the product is improved.
Fig. 5 is a schematic structural diagram of an anti-counterfeiting device according to an embodiment of the present invention. The anti-counterfeiting device provided by the embodiment of the present invention can execute the processing flow provided by the embodiment of the anti-counterfeiting method, as shown in fig. 5, the anti-counterfeiting device 50 includes: an acquisition module 51, a query module 52, a calculation module 53 and a verification module 54; the obtaining module 51 is used for obtaining the anti-counterfeiting mark of the product to be detected; the query module 52 is configured to query and acquire batch information, identification information, and a first verification code of the product to be detected from the block chain book according to the anti-counterfeit identifier; the calculation module 53 is configured to calculate a second verification code of the product to be detected according to the batch information of the product to be detected, the identification information, and the anti-counterfeit identification; the verification module 54 is configured to perform anti-counterfeit verification on the product to be detected according to the first verification code and the second verification code.
Optionally, the verification module 54 is specifically configured to: when the first verification code is the same as the second verification code, determining that the product to be detected is a genuine product; and when the first verification code is different from the second verification code, determining that the product to be detected is a counterfeit product.
Optionally, the obtaining module 51 is specifically configured to: and scanning the two-dimensional code on the product to be detected to obtain the anti-counterfeiting mark of the product to be detected.
The anti-counterfeiting device of the embodiment shown in fig. 5 can be used for implementing the technical solutions of the above method embodiments, and the implementation principles and technical effects are similar, and are not described herein again.
Fig. 6 is a schematic structural diagram of another anti-counterfeiting device according to an embodiment of the present invention. As shown in fig. 6, on the basis of fig. 5, the query module 52 includes a sending unit 521 and a receiving unit 522; the sending unit 521 is configured to send the anti-counterfeit identifier to a blockchain node, where the blockchain node stores the blockchain account book, and the blockchain account book stores batch information, identification information, and a first verification code of the to-be-detected product corresponding to the anti-counterfeit identifier; the receiving unit 522 is configured to receive the batch information, the identification information, and the first verification code of the product to be detected from the block link point.
The anti-counterfeiting device of the embodiment shown in fig. 6 can be used for implementing the technical solutions of the above method embodiments, and the implementation principles and technical effects are similar, and are not described herein again.
Fig. 7 is a schematic structural diagram of another anti-counterfeiting device according to an embodiment of the present invention. As shown in fig. 6, the anti-counterfeiting device 50 further includes, on the basis of fig. 5: a receiving module 55 and a storage module 56; the receiving module 55 is configured to receive a broadcast message from a manufacturer server, where the broadcast message includes batch information of a product, identification information, and a verification code; the storage module 56 is configured to store the batch information, the identification information, and the verification code of the product in the blockchain ledger.
The anti-counterfeiting device of the embodiment shown in fig. 7 can be used for implementing the technical solutions of the above method embodiments, and the implementation principles and technical effects are similar, and are not described herein again.
Fig. 8 is a schematic structural diagram of a terminal device according to an embodiment of the present invention. The terminal device provided by the embodiment of the present invention may execute the processing flow provided by the embodiment of the anti-counterfeiting method, as shown in fig. 8, the terminal device 80 includes a memory 81, a processor 82, a computer program, and a communication interface 83; the computer program is stored in the memory 81 and configured to be executed by the processor 82 to perform the anti-counterfeiting method as described above, and the detailed process is not described herein.
The terminal device in the embodiment shown in fig. 8 may be configured to execute the technical solution of the method embodiment, and the implementation principle and the technical effect are similar, which are not described herein again.
In addition, the present embodiment also provides a computer-readable storage medium, on which a computer program is stored, where the computer program is executed by a processor to implement the anti-counterfeiting method according to the foregoing embodiment.
In the embodiments provided in the present invention, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, or in a form of hardware plus a software functional unit.
The integrated unit implemented in the form of a software functional unit may be stored in a computer readable storage medium. The software functional unit is stored in a storage medium and includes several instructions to enable a computer device (which may be a personal computer, a server, or a network device) or a processor (processor) to execute some steps of the methods according to the embodiments of the present invention. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
It is obvious to those skilled in the art that, for convenience and simplicity of description, the foregoing division of the functional modules is merely used as an example, and in practical applications, the above function distribution may be performed by different functional modules according to needs, that is, the internal structure of the device is divided into different functional modules to perform all or part of the above described functions. For the specific working process of the device described above, reference may be made to the corresponding process in the foregoing method embodiment, which is not described herein again.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solution of the present invention, and not to limit the same; while the invention has been described in detail and with reference to the foregoing embodiments, it will be understood by those skilled in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some or all of the technical features may be equivalently replaced; and the modifications or the substitutions do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present invention.

Claims (10)

1. An anti-counterfeiting method is characterized by being applied to a terminal and comprising the following steps:
the method comprises the steps that a terminal obtains an anti-counterfeiting mark of a product to be detected;
inquiring and acquiring batch information, identification information and a first verification code of the product to be detected from a block chain account book according to the anti-counterfeiting identification;
calculating a second verification code of the product to be detected according to the batch information, the identification information and the anti-counterfeiting identification of the product to be detected;
performing anti-counterfeiting verification on the product to be detected according to the first verification code and the second verification code;
according to the anti-counterfeiting mark, batch information, identification information and a first verification code of the product to be detected are obtained by inquiring from a block chain account book, and the method comprises the following steps:
sending the anti-counterfeiting mark to a block chain node, wherein the block chain node stores a block chain account book, the block chain account book stores an anti-counterfeiting password, batch information, mark information and a first verification code of the product to be detected, which correspond to the anti-counterfeiting mark, and the first verification code is obtained according to the anti-counterfeiting password, the batch information and the mark information;
and receiving the batch information, the identification information and the first verification code of the product to be detected from the block chain link point.
2. The method according to claim 1, wherein the performing of the anti-counterfeit verification on the product to be detected according to the first verification code and the second verification code comprises:
if the first verification code is the same as the second verification code, determining that the product to be detected is a genuine product;
and if the first verification code is different from the second verification code, determining that the product to be detected is a counterfeit product.
3. The method according to claim 1, wherein the obtaining of the anti-counterfeit label of the product to be detected comprises:
and scanning the two-dimensional code on the product to be detected to obtain the anti-counterfeiting mark of the product to be detected.
4. The method according to any one of claims 1-3, further comprising:
receiving a broadcast message from a manufacturer server, the broadcast message including batch information, identification information, and a verification code of a product;
and storing the batch information, the identification information and the verification code of the product into the block chain account book.
5. A security device, comprising:
the acquisition module is used for acquiring the anti-counterfeiting mark of the product to be detected;
the query module is used for querying and acquiring an anti-counterfeiting password, batch information, identification information and a first verification code of the product to be detected from a block chain account book according to the anti-counterfeiting mark, wherein the first verification code is obtained according to the anti-counterfeiting password, the batch information and the identification information;
the calculation module is used for calculating a second verification code of the product to be detected according to the batch information, the identification information and the anti-counterfeiting identification of the product to be detected;
the verification module is used for performing anti-counterfeiting verification on the product to be detected according to the first verification code and the second verification code;
the query module comprises: a transmitting unit and a receiving unit;
the sending unit is used for sending the anti-counterfeiting mark to a block chain node, the block chain node stores the block chain account book, and the block chain account book stores batch information, mark information and a first verification code of the product to be detected corresponding to the anti-counterfeiting mark;
the receiving unit is used for receiving the batch information, the identification information and the first verification code of the product to be detected from the block chain link points.
6. The anti-counterfeiting device according to claim 5, wherein the authentication module is specifically configured to:
when the first verification code is the same as the second verification code, determining that the product to be detected is a genuine product;
and when the first verification code is different from the second verification code, determining that the product to be detected is a counterfeit product.
7. The anti-counterfeiting device according to claim 5, wherein the acquisition module is specifically configured to:
and scanning the two-dimensional code on the product to be detected to obtain the anti-counterfeiting mark of the product to be detected.
8. The security device of any one of claims 5 to 7, further comprising:
the system comprises a receiving module, a verification module and a processing module, wherein the receiving module is used for receiving a broadcast message from a manufacturer server, and the broadcast message comprises batch information, identification information and a verification code of a product;
and the storage module is used for storing the batch information, the identification information and the verification code of the product into the block chain account book.
9. A terminal device, comprising:
a memory;
a processor; and
a computer program;
wherein the computer program is stored in the memory and configured to be executed by the processor to implement the method of any one of claims 1-4.
10. A computer-readable storage medium, having stored thereon a computer program for execution by a processor to perform the method of any one of claims 1-4.
CN201810362068.2A 2018-04-20 2018-04-20 Anti-counterfeiting method and device and terminal equipment Active CN108596636B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810362068.2A CN108596636B (en) 2018-04-20 2018-04-20 Anti-counterfeiting method and device and terminal equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810362068.2A CN108596636B (en) 2018-04-20 2018-04-20 Anti-counterfeiting method and device and terminal equipment

Publications (2)

Publication Number Publication Date
CN108596636A CN108596636A (en) 2018-09-28
CN108596636B true CN108596636B (en) 2021-06-15

Family

ID=63613666

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810362068.2A Active CN108596636B (en) 2018-04-20 2018-04-20 Anti-counterfeiting method and device and terminal equipment

Country Status (1)

Country Link
CN (1) CN108596636B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109636407B (en) * 2018-11-02 2021-06-29 立旃(上海)科技有限公司 Block chain-based product anti-counterfeiting mark and verification method and device
CN109784951A (en) * 2019-01-29 2019-05-21 浙江甲骨文超级码科技股份有限公司 A kind of anti-fake traceability system of product whole process based on block chain technology
CN109871930B (en) * 2019-02-22 2022-05-06 山东浪潮质量链科技有限公司 Method and device for issuing quality codes and verifying quality codes by block chain
CN111191293B (en) * 2019-12-25 2023-10-20 北斗天地股份有限公司 Beidou data processing method and device based on block chain

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102571714A (en) * 2010-12-27 2012-07-11 李卫伟 Anti-counterfeiting verification method, special verification device and anti-counterfeiting verification server
CN104299140A (en) * 2014-09-12 2015-01-21 广州市坚真信息科技有限公司 Two-dimensional code anti-counterfeiting traceability system and method based on e-commerce
CN107730277A (en) * 2017-10-18 2018-02-23 上海唯链信息科技有限公司 A kind of product based on block chain technology is traced to the source verification method

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105608588A (en) * 2016-01-04 2016-05-25 布比(北京)网络技术有限公司 Tracing record processing method and apparatus
US20180006990A1 (en) * 2016-06-30 2018-01-04 Jean Alexandera Munemann Exclusive social network based on consumption of luxury goods
CN106779737B (en) * 2016-11-30 2021-06-11 电子科技大学 Product traceability verification method based on block chain technology
CN107220836A (en) * 2017-05-31 2017-09-29 无锡井通网络科技有限公司 A kind of block chain logistics based on Quick Response Code is traced to the source tracking method for anti-counterfeit
CN107341676A (en) * 2017-07-17 2017-11-10 深圳天净喔溯源科技有限公司 False proof mark and the method for tracing to the source

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102571714A (en) * 2010-12-27 2012-07-11 李卫伟 Anti-counterfeiting verification method, special verification device and anti-counterfeiting verification server
CN104299140A (en) * 2014-09-12 2015-01-21 广州市坚真信息科技有限公司 Two-dimensional code anti-counterfeiting traceability system and method based on e-commerce
CN107730277A (en) * 2017-10-18 2018-02-23 上海唯链信息科技有限公司 A kind of product based on block chain technology is traced to the source verification method

Also Published As

Publication number Publication date
CN108596636A (en) 2018-09-28

Similar Documents

Publication Publication Date Title
CN109067724B (en) Block chain data transaction method, device, equipment and storage medium
CN108596636B (en) Anti-counterfeiting method and device and terminal equipment
CN109118360B (en) Block chain account checking method, device, equipment and storage medium
CN108881296B (en) Block chain real-name authentication method, device, equipment and storage medium
US20180248870A1 (en) Security verification method, apparatus, and system
CN108200568B (en) Mobile communication electronic SIM card data processing method and device
KR20140066241A (en) Wireless local area network authentication method and mobile terminal
CN108769142B (en) Transaction information processing method and block generation node
CN109194481B (en) Block chain real-name authentication method, device, equipment and storage medium
CN109831776A (en) A kind of LTE base station obtains the acquisition system of terminal IMEI and IMSI simultaneously
CN108876611B (en) Transaction information processing method and device and block link points
CN109067721B (en) Block chain real-name authentication method, device, equipment and storage medium
CN105407479A (en) Information recognition method, information gateway, SIM card, and system
CN109379199B (en) User credit processing method, device, equipment and storage medium
CN109104285B (en) Block chain real-name authentication method, device, equipment and storage medium
CN107241714B (en) Method, device and storage medium for establishing communication
CN108768733B (en) Block chain account book processing method and device and block chain link points
CN108848144B (en) Method and device for accessing nodes in block chain and block chain link point
CN101267581B (en) Method, system and device for reporting terminal number matching information
US9497628B2 (en) Method and terminal for obtaining information
CN108694581B (en) Transaction information processing method and device and block link points
CN108898419A (en) Incentive message processing method, device and block chain node
CN106341861B (en) Method, server and system for identifying wireless access point
CN109167760B (en) User information processing method, device and readable storage medium
CN108833513B (en) Inter-node communication method and device of block chain and block chain node

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