CN116029745A - Digital label anti-counterfeiting tracing method, device and system based on blockchain - Google Patents

Digital label anti-counterfeiting tracing method, device and system based on blockchain Download PDF

Info

Publication number
CN116029745A
CN116029745A CN202310052280.XA CN202310052280A CN116029745A CN 116029745 A CN116029745 A CN 116029745A CN 202310052280 A CN202310052280 A CN 202310052280A CN 116029745 A CN116029745 A CN 116029745A
Authority
CN
China
Prior art keywords
digital label
counterfeiting
verification
digital
hash value
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202310052280.XA
Other languages
Chinese (zh)
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.)
Asyun Anti Counterfeiting Technology Fujian Co ltd
Original Assignee
Asyun Anti Counterfeiting Technology Fujian 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 Asyun Anti Counterfeiting Technology Fujian Co ltd filed Critical Asyun Anti Counterfeiting Technology Fujian Co ltd
Priority to CN202310052280.XA priority Critical patent/CN116029745A/en
Publication of CN116029745A publication Critical patent/CN116029745A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • 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

  • Storage Device Security (AREA)

Abstract

The invention discloses a digital label anti-counterfeiting tracing method, device and system based on a blockchain, wherein the method comprises the following steps: after the digital label reading and writing equipment reads the card number of the digital label, carrying out hash encryption together with the version number and the client number distributed to the equipment and the anti-counterfeiting code value distributed to the card by the anti-counterfeiting data management and control platform, and writing the verification hash value generated by encryption and the rolling code generated by the card writing time according to a certain algorithm into a specific block of the digital label card; transmitting the check hash value and the rolling code to an anti-counterfeiting data management and control platform together and carrying out association processing on commodity information corresponding to the anti-counterfeiting code value; carrying out block chain uplink processing on the commodity information after the association processing and the check hash value and the rolling code; finally, the digital label checking equipment reads and writes data and performs true and false verification through anti-fake data management and control. The technical scheme of the invention constructs an anti-counterfeiting tracing scheme which is more than the traditional scheme and accords with the low-carbon environment-friendly concept, and the anti-counterfeiting efficiency is greatly improved.

Description

Digital label anti-counterfeiting tracing method, device and system based on blockchain
Technical Field
The invention relates to the technical field of digital anti-counterfeiting traceability, in particular to a digital label anti-counterfeiting traceability method, device and system based on block chains.
Background
Market economy is rapidly developed, and meanwhile, commodity counterfeiting, suboptimal and other messy images are increasingly becoming a problem for preventing the transformation and upgrading of manufacturing industry. The traditional anti-counterfeiting tracing method is single, the problem that the anti-counterfeiting label is counterfeited and jumps to a high imitation webpage during verification exists, meanwhile, inner ghost in some merchants even steals and resells anti-counterfeiting information data, and counterfeit commodities are prevented from being counterfeited and impersonated. In recent years, with the rapid development of the blockchain technology, the decentralization characteristic of the blockchain technology well meets the requirements of the anti-counterfeiting industry, so that the anti-counterfeiting traceability technology has new choices. Therefore, how to combine the blockchain to form a complete set of complete anti-counterfeiting traceability scheme with operability is a research hotspot in the current digital anti-counterfeiting traceability field.
Disclosure of Invention
The invention provides a digital label anti-counterfeiting tracing method, device and system based on a blockchain, which construct an anti-counterfeiting tracing scheme which is more complex than the traditional scheme and accords with the low-carbon environment-friendly concept, and greatly improve the anti-counterfeiting efficiency.
A digital label anti-counterfeiting tracing method based on a block chain comprises a digital label initializing method and a digital label checking method corresponding to the digital label initializing method; the digital label initializing method comprises the following steps:
s1, distributing and generating version identification information, user identification information and an anti-counterfeiting code value corresponding to commodity information by an anti-counterfeiting numerical control platform;
s2, after the digital label read-write equipment reads the card number of the digital label, carrying out hash encryption on the card number, the identification information, the user information and the anti-counterfeiting code value together to generate a verification hash value;
s3, generating a rolling code according to a certain algorithm by the verification hash value and the current card writing time;
s4, writing the verification hash value and the rolling code into a specific encryption block of the digital label, and simultaneously writing the anti-counterfeiting code value into a non-encryption block of the digital label in a plaintext or ciphertext mode;
s5, the card number, the verification hash value and the rolling code of the digital label are sent to the anti-counterfeiting numerical control platform for storage, and association processing is carried out on the anti-counterfeiting numerical control platform and the commodity information;
s6, packaging the verification hash value, the rolling code and the commodity information, and then uploading the packaged verification hash value, the rolling code and the commodity information to the preset private block chain;
the digital label checking method is used for checking whether the digital label contains anti-counterfeiting traceability information corresponding to the commodity or not and updating rolling code information.
The digital label anti-counterfeiting tracing device based on the block chain is used for executing the digital label anti-counterfeiting tracing method based on the block chain and comprises a digital label generating module and a digital label checking module corresponding to the digital label generating module; wherein, digital label generates the module, includes:
the anti-counterfeiting tracing information acquisition module is used for distributing and generating identification information, user information and anti-counterfeiting code values corresponding to the commodity information which are associated with the digital label read-write equipment;
the hash encryption module is used for carrying out hash encryption on the card number, the version, the user identification information and the anti-counterfeiting code value together after the digital label reading and writing equipment reads the card number of the digital label, so as to generate a verification hash value;
the rolling code production module is used for generating a rolling code according to a certain algorithm by the verification hash value and the current card writing time;
the anti-counterfeiting tracing information writing module is used for writing the verification hash value and the rolling code into a specific encryption block of the digital label by using the digital label reading and writing equipment, and simultaneously writing the anti-counterfeiting code value into a non-encryption block of the digital label in a plaintext or ciphertext mode;
the server information association module is used for sending the card number, the verification hash value and the rolling code of the digital label to the anti-counterfeiting numerical control platform for storage and carrying out association processing with the commodity information;
the block chain uplink module is used for packaging the rolling code, the verification hash value and the commodity information and then uplink the packaged commodity information to the preset private block chain;
the digital tag verification module comprises:
the anti-fake tracing information reading module is used for reading the card number of the digital tag from the digital tag through the digital tag checking equipment, acquiring an anti-fake code value from the non-encryption block, and acquiring a rolling code and a checking hash value stored in the specific encryption area;
the primary verification module is used for performing primary format verification on the anti-counterfeiting code value and the rolling code, and if verification is successful, the card number, the anti-counterfeiting code value, the rolling code and the verification hash value of the read digital label are sent to the anti-counterfeiting numerical control platform for re-verification;
the traceability verification module is used for searching the version and the user identification information corresponding to the batch of code values by the anti-counterfeiting code values in the anti-counterfeiting numerical control platform, and determining the source of the digital label if the version and the user identification information are searched; if not, the source of the digital label cannot be determined;
the tamper-proof verification module is used for performing tamper-proof verification on the digital tag card number, the anti-counterfeiting code value, the rolling code and the identification information related to the digital tag read-write equipment together, and performing secondary verification on the digital tag card number, the anti-counterfeiting code value, the rolling code and the identification information related to the digital tag read-write equipment and the verification hash value in the preset blockchain if the verification is successful;
the first updating digital label module is used for sending a verification success signal to the digital label verification equipment together with the version and the user identification information if the secondary verification is successful;
the second updating digital label module is used for the digital label checking equipment to generate a new rolling code according to the current card writing time so as to generate a new checking hash value, and the rolling code and the checking hash value are written into the digital label specific encryption block;
and the synchronization module is used for firstly transmitting the new rolling code to the anti-counterfeiting numerical control platform, then generating a new verification hash value by adopting the same encryption method as the digital label verification equipment, and finishing the new verification hash value into operation information to be issued on the preset blockchain.
The digital label anti-counterfeiting tracing system based on the block chain is used for executing the digital label anti-counterfeiting tracing method based on the block chain and comprises the following steps: the anti-counterfeiting digital control system comprises an anti-counterfeiting digital control platform, digital label reading and writing equipment, a digital label, a preset block chain and digital label checking equipment; the digital label comprises an RFID label and/or an NFC label, and the digital label reading and writing equipment comprises an NFC card reader; the anti-counterfeiting numerical control platform is computer server equipment.
The block chain-based digital label anti-counterfeiting tracing method, device and system comprise a digital label initializing method and a digital label checking method.
In the digital label initializing method, the hash value is verified to be related to the version and the user identification information, the anti-counterfeiting code value corresponding to the commodity and the ID information (card number) of the digital label, so that the source of the commodity can be traced accurately; the verification hash value is combined with the rolling code and the anti-fake code and written into the digital label, so that the copy and tamper effects are achieved, meanwhile, the verification hash value and the rolling code are uplink to the block chain to be stored and synchronized, namely the security of the block chain is combined, and the digital label can be further prevented from being copied.
In the digital label checking method, based on the anti-fake code value, the rolling code and the checking hash value; the anti-falsification check performed by the anti-falsification numerical control platform and the secondary check performed based on the blockchain can ensure that the anti-falsification traceability information in the label is not modified, and meanwhile, the anti-falsification traceability information in the digital label is updated by the anti-falsification numerical control platform and the blockchain, so that the data label can not be copied in a large scale.
The invention provides a whole set of anti-counterfeiting tracing method with practical operability, which is different from the traditional anti-counterfeiting label, based on the blockchain technology and combining the characteristic that the digital label can be encrypted and edited and assisted with a safe and effective custom hash algorithm. The rolling code and the check hash value are used on the digital label, and block encryption is used to construct more anti-counterfeiting check means and methods compared with the traditional label; the anti-counterfeiting effect is greatly improved by matching with the advantages of transparent and tamper-proof block chain operation information. In addition, the digital label can be recycled infinitely in theory in view of the editable characteristic of the digital label, and accords with the low-carbon and environment-friendly concept.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings that are needed in the description of the embodiments of the present invention will be briefly described below, it being obvious that the drawings in the following description are only some embodiments of the present invention, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a flow chart of data processing at an enterprise client (generating side) in an embodiment of the invention;
FIG. 2 is a flow chart of data processing of a handheld client (check end) in an embodiment of the invention;
fig. 3 is a frame diagram of a digital tag anti-counterfeiting traceability system based on a blockchain in an embodiment of the invention.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and fully with reference to the accompanying drawings, in which it is evident that the embodiments described are some, but not all embodiments of the invention. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
In an embodiment, as shown in fig. 1 and 2, a digital label anti-counterfeiting tracing method based on a blockchain is provided, which comprises a digital label initialization method and a digital label verification method corresponding to the digital label initialization method, and the digital label initialization method corresponds to the processing flows of an enterprise client and a handheld client in fig. 1 and 2 respectively; the digital label initializing method comprises the following steps:
s1, the anti-counterfeiting numerical control platform distributes and generates version identification information, user identification information and anti-counterfeiting code values corresponding to commodity information.
The anti-counterfeiting numerical control platform is a preset computer server; the digital tag includes, but is not limited to, an RFID tag and/or an NFC tag, and the card number of the digital tag refers to a card number of the digital tag cured at the time of shipment, i.e., an ID (unique identification information) corresponding to each tag; the digital label read-write equipment comprises, but is not limited to, an NFC read-write card device, and is used for writing anti-counterfeiting traceability information into the digital label or reading the anti-counterfeiting traceability information from the digital label; identification information associated with the digital tag read-write device includes, but is not limited to, a version number of the device, etc.; the user information comprises the name of the client, manufacturer identification and the like; writing the anti-counterfeiting code value, the version and the user identification information into the digital label so as to facilitate commodity tracing; the anti-counterfeiting code value corresponds to commodity information, is used for anti-counterfeiting verification, and is used for enabling commodity information to be in a comprehensive condition, such as cigarettes, wine and the like; the commodity information, the anti-counterfeiting code value and the verification information form an association relation, so that the tracing is convenient.
Specifically, the anti-counterfeiting numerical control platform generates information according to a predefined naming rule or a random algorithm.
S2, after the digital label reading and writing equipment reads the card number of the digital label, hash encryption is carried out on the card number, the identification information, the user information and the anti-counterfeiting code value together, and a verification hash value is generated.
In production, the digital label read-write equipment reads the card number of the digital label first and then carries out encryption processing. Specifically, the hash encryption algorithm is not limited herein, and the verification hash value obtained through hash encryption is related to the card number of the digital label, the identification information associated with the digital label read-write equipment, the user information and the anti-counterfeiting code value, so that the cracking difficulty is increased.
S3, generating a rolling code according to a certain algorithm by the verification hash value and the current card writing time.
The time-dependent rolling code is used together with the check hash value for writing into the digital label for tamper resistance. Preferably, the rolling code can be generated according to the current card writing time and in combination with a preset encryption algorithm, so that the security of the rolling code is higher.
S4, writing the verification hash value and the rolling code into a specific encryption block of the digital label by using digital label read-write equipment, and simultaneously writing the anti-counterfeiting code value into a non-encryption block of the digital label in a plaintext or ciphertext mode.
The specific block and the non-encryption block of the digital label are selected in advance and can be flexibly selected, and a cracker cannot read the data in the block without knowing the position of the block. To further secure, the anti-counterfeit code value may be encrypted and written in ciphertext form into the non-encrypted block of the digital label. Further, after writing the data into the specific block of the digital tag, the method further comprises the step of encrypting the block to prevent a cracker from directly reading the data after knowing the position of the specific block.
And S5, sending the card number, the verification hash value and the rolling code of the digital label to an anti-counterfeiting numerical control platform for storage, and carrying out association processing with commodity information.
Specifically, after the writing is completed, the digital label reading and writing device sends the card number, the verification hash value and the rolling code of the digital label to a database of the anti-counterfeiting numerical control platform for storage, and performs association processing with commodity information so as to facilitate subsequent retrieval and verification.
And S6, packaging and packaging the verification hash value, the rolling code and the commodity information, and then uploading the packaged verification hash value, the rolling code and the commodity information to the preset private block chain.
Based on the transparency of the blockchain operation, the rolling code, the verification hash value and the commodity information are arranged according to a preset format, and are packaged and then are uplink to a preset private blockchain, so that inquiry of a commodity, verification times and the like are facilitated.
The digital label checking method is used for checking whether the digital label contains anti-counterfeiting traceability information corresponding to the commodity or not, and specifically comprises the following steps:
s7, reading the card number of the digital label from the digital label through the digital label checking equipment, acquiring an anti-fake code value from the non-encrypted block, and acquiring the check hash value and the rolling code stored in the area from the specific encrypted block.
Digital tag verification devices include, but are not limited to, handheld smart card reading devices, such as NFC readers and the like.
Specifically, the digital label checking device directly reads the digital label, and obtains the card number, the anti-counterfeiting code value, the rolling code and the checking hash value of the digital label.
And S8, performing preliminary format verification on the anti-counterfeiting code value and the rolling code, and if the verification is successful, transmitting the read card number, the anti-counterfeiting code value, the rolling code and the verification hash value of the digital label to an anti-counterfeiting numerical control platform for re-verification.
The format verification is based on the preset format of generating an anti-fake code value and a rolling code in the generation stage, such as the bit number of the code, the start mark of the code and the like; the digital label checking device can preliminarily determine whether the digital label contains the anti-counterfeiting code value or the rolling code with the correct format through format checking.
If the verification is successful, the read data is sent to an anti-counterfeiting numerical control platform for further verification.
S9, searching version identification information and user identification information corresponding to the batch code value by using the anti-counterfeiting code value in the anti-counterfeiting numerical control platform, and determining the source of the digital label if the version identification information and the user identification information are searched; if not, the source of the digital label cannot be determined.
Because the anti-counterfeiting code value is distributed by the anti-counterfeiting numerical control platform in advance, user information and identification information related to the anti-counterfeiting code value can be searched according to the received anti-counterfeiting code value. If so, determining the source of the digital label; if the digital label is not searched, the source of the digital label cannot be determined, and the anti-counterfeiting code value is possibly forged.
Further, on the basis of tracing, the method further comprises tamper-proof verification, and specifically comprises the following steps:
s10, in the anti-counterfeiting numerical control platform, digital label tamper-proof verification is carried out on the digital label card number, the anti-counterfeiting code value, the rolling code, the version identification information and the user identification information, and if verification is successful, secondary verification is carried out on the digital label tamper-proof verification and the verification hash value in the preset blockchain.
The digital label tamper-proof verification is carried out according to the digital label card number, the anti-counterfeiting code value, the verification hash value, the version identification information and the user identification information, the digital label tamper-proof verification is an operation which is opposite to the digital label initialization method, and if one of the anti-counterfeiting code value or the verification hash value is inconsistent with the previously stored digital label tamper-proof verification, the tampered digital label tamper-proof verification can be confirmed; if the verification is successful, the verification hash value in the blockchain is verified for the second time by utilizing the distributed and safety characteristics of the blockchain, so that the tamper-proof effect is further achieved.
Further, in order to avoid exposing the user information and the identification information to the user, confusion encryption processing is required to be performed on version identification information and user identification information which are hidden in the digital label; meanwhile, the digital label is synchronized to an anti-counterfeiting numerical control platform and a blockchain to form double insurance, so that the digital label can be prevented from being copied in a large batch, and the method specifically comprises the following steps:
and S11, if the secondary verification is successful, sending a verification success signal to the digital label verification device together with the version identification information and the user identification information.
Specifically, the anti-counterfeiting numerical control platform sends a verification success signal to the digital label verification equipment, and simultaneously sends version identification information and user identification information.
S12, the digital label checking device generates a new rolling code according to the current card writing time, further generates a new checking hash value, and writes the rolling code and the checking hash value into the digital label specific encryption block.
Specifically, the writing operation of the digital tag verification device is the same as that of the digital tag reading and writing device, except that the written data is a new rolling code generated according to the current card writing time, and further a new verification hash value is generated.
S13, the new rolling code is sent to the anti-counterfeiting numerical control platform, then a new verification hash value is generated by adopting the same encryption method as that of the digital label verification equipment, and the new verification hash value is arranged into operation information to be issued on the preset block chain.
Specifically, the new rolling code and the new verification hash value are respectively synchronized to the anti-counterfeiting numerical control platform and the preset blockchain for recording and storage.
Further, after S13, the method further includes: if the block chain is successfully issued, the follow-up operations such as anti-counterfeiting inquiry and the like are executed.
In an embodiment, a batch variable high-fidelity digital hidden drawing tracing anti-counterfeiting device is provided, and is used for executing the block chain-based digital label anti-counterfeiting tracing method, and comprises a digital label generating module and a digital label checking module corresponding to the digital label generating module; wherein, digital label generates the module, includes:
the anti-counterfeiting tracing information acquisition module is used for distributing and generating version identification information, user identification information and anti-counterfeiting code values corresponding to commodity information;
the hash encryption module is used for carrying out hash encryption on the card number, the identification information, the user information and the anti-counterfeiting code value together after the digital label reading and writing equipment reads the card number of the digital label, so as to generate a verification hash value;
the rolling code production module is used for generating a rolling code according to a certain algorithm by checking the hash value and the current card writing time;
the anti-counterfeiting tracing information writing module is used for writing the verification hash value and the rolling code into a specific encryption block of the digital label by using digital label reading and writing equipment, and simultaneously writing the anti-counterfeiting code value into a non-encryption block of the digital label in a plaintext or ciphertext mode;
the server information association module is used for sending the card number, the verification hash value and the rolling code of the digital label to the anti-counterfeiting numerical control platform for storage and carrying out association processing with commodity information;
the block chain uplink module is used for packaging and packaging the rolling code, the verification hash value and the commodity information and then uplink the packaged commodity information to a preset private block chain;
a digital label verification module comprising:
the anti-fake tracing information reading module is used for reading the card number of the digital label from the digital label through the digital label checking equipment, acquiring an anti-fake code value from the non-encryption block, and acquiring a rolling code and a checking hash value stored in a specific encryption area;
the primary verification module is used for performing primary format verification on the anti-counterfeiting code value and the rolling code, and if the verification is successful, the card number, the anti-counterfeiting code value, the rolling code and the verification hash value of the read digital label are sent to the anti-counterfeiting numerical control platform for re-verification;
the tracing verification module is used for searching the user information corresponding to the batch of code values and the identification information associated with the digital label read-write equipment in the anti-counterfeiting numerical control platform by the anti-counterfeiting code values, and determining the source of the digital label if the user information and the identification information are searched; if the digital label is not searched, the source of the digital label cannot be determined;
the anti-tampering checking module is used for carrying out anti-tampering checking on the digital tag card number, the anti-counterfeiting code value, the rolling code and the identification information related to the digital tag read-write equipment together, and if the checking is successful, carrying out secondary checking on the digital tag card number, the anti-counterfeiting code value, the rolling code and the identification information related to the digital tag read-write equipment and the checking hash value in the preset blockchain;
the first updating digital label module is used for sending a verification success signal to digital label verification equipment together with version identification information and user identification information if the secondary verification is successful;
the second updating digital label module is used for digital label checking equipment, generating a new rolling code according to the current card writing time, further generating a new checking hash value, and writing the rolling code and the checking hash value into a specific encryption block of the digital label;
and the synchronization module is used for firstly transmitting the new rolling code to the anti-counterfeiting numerical control platform, then generating a new verification hash value by adopting the same encryption method as that of the digital label verification equipment, and finishing the new verification hash value into operation information to be issued on a preset blockchain.
In an embodiment, a blockchain-based digital tag anti-counterfeiting tracing system, as shown in fig. 3, is configured to perform the blockchain-based digital tag anti-counterfeiting tracing method described above, and includes: the anti-counterfeiting digital control system comprises an anti-counterfeiting digital control platform, digital label reading and writing equipment, a digital label, a preset block chain and digital label checking equipment; the digital label comprises an RFID label and/or an NFC label, and the digital label reading and writing equipment and the digital label checking equipment comprise an NFC card reader; the anti-counterfeiting numerical control platform is computer server equipment; the digital label read-write equipment and the digital label checking equipment can be in data communication with the anti-counterfeiting numerical control platform and the preset blockchain in a wireless mode.
Because the specific implementation manner of the digital label anti-counterfeiting tracing device and system based on the blockchain corresponds to the digital label anti-counterfeiting tracing method based on the blockchain, the detailed description is omitted herein.
The above embodiments are only for illustrating the technical solution of the present invention, and not for limiting the same; although the invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present invention, and are intended to be included in the scope of the present invention.

Claims (10)

1. The digital label anti-counterfeiting tracing method based on the blockchain is characterized by comprising a digital label initializing method and a digital label checking method corresponding to the digital label initializing method; the digital label initializing method comprises the following steps:
s1, distributing and generating version identification information, user identification information and an anti-counterfeiting code value corresponding to commodity information by an anti-counterfeiting numerical control platform;
s2, after the digital label read-write equipment reads the card number of the digital label, carrying out hash encryption on the card number, the version identification information, the user identification information and the anti-counterfeiting code value together to generate a verification hash value;
s3, generating a rolling code according to a certain algorithm by the verification hash value and the current card writing time;
s4, writing the verification hash value and the rolling code into a specific encryption block of the digital label, and simultaneously writing the anti-counterfeiting code value into a non-encryption block of the digital label in a plaintext or ciphertext mode;
s5, the card number, the verification hash value and the rolling code of the digital label are sent to the anti-counterfeiting numerical control platform for storage, and association processing is carried out on the anti-counterfeiting numerical control platform and the commodity information;
s6, packaging the verification hash value, the rolling code and the commodity information, and then uploading the packaged verification hash value, the rolling code and the commodity information to the preset private block chain;
the digital label checking method is used for checking whether the digital label contains anti-counterfeiting traceability information corresponding to the commodity or not and updating rolling code information.
2. The blockchain-based digital label anti-counterfeiting tracing method according to claim 1, wherein in S3, generating the rolling code by the verification hash value and the current card writing time according to a certain algorithm comprises:
and encrypting the verification hash value according to the current card writing time to obtain the rolling code.
3. The blockchain-based digital label anti-counterfeiting tracing method according to claim 1, wherein the version identification information comprises a version number of the digital label read-write device.
4. The blockchain-based digital label anti-counterfeiting traceability method according to claim 1, wherein the user identification information comprises a customer name or a manufacturer identification.
5. The blockchain-based digital label anti-counterfeiting traceability method according to any one of claims 1 to 4, wherein the digital label verification method comprises the following steps:
s7, reading the card number of the digital label from the digital label through digital label checking equipment, acquiring an anti-fake code value from the non-encryption block, and acquiring a check hash value and a rolling code stored in the area from the specific encryption block;
s8, performing preliminary format verification on the anti-counterfeiting code value and the rolling code, and if verification is successful, transmitting the read card number, the anti-counterfeiting code value, the rolling code and the verification hash value of the digital label to the anti-counterfeiting numerical control platform for re-verification;
s9, searching user information corresponding to the batch of code values and identification information associated with digital label read-write equipment by using the anti-counterfeiting code values in the anti-counterfeiting numerical control platform, and determining the source of the digital label if the user information and the identification information are searched; if not, the source of the digital label cannot be determined.
6. The blockchain-based digital label anti-counterfeiting traceability method according to claim 5, further comprising, after S9:
s10, in the anti-counterfeiting numerical control platform, digital label tamper-proof verification is carried out on the digital label card number, the anti-counterfeiting code value, the rolling code, the version and the user identification information, and if verification is successful, secondary verification is carried out on the digital label tamper-proof verification and the verification hash value in the preset blockchain.
7. The blockchain-based digital label anti-counterfeiting traceability method according to claim 6, further comprising, after S10:
s11, if the secondary verification is successful, sending a verification success signal to the digital label verification device together with user information and identification information associated with the digital label read-write device;
s12, the digital label verification equipment generates a new rolling code according to the current card writing time, further generates a new verification hash value, and writes the rolling code and the verification hash value into the digital label specific encryption block;
s13, the new rolling code is sent to the anti-counterfeiting numerical control platform, then a new verification hash value is generated by adopting the same encryption method as that of the digital label verification equipment, and the new verification hash value is arranged into operation information to be issued on the preset block chain.
8. The blockchain-based digital label anti-counterfeiting traceability method according to claim 7, further comprising, after S13:
s14, if the release on the block chain is successful, executing anti-counterfeiting inquiry operation.
9. The digital label anti-counterfeiting tracing device based on the blockchain is characterized by being used for executing the digital label anti-counterfeiting tracing method based on the blockchain as claimed in any one of claims 1 to 8 and comprising a digital label generating module and a digital label checking module corresponding to the digital label generating module; wherein, the digital label generation module includes:
the anti-counterfeiting tracing information acquisition module is used for distributing and generating anti-counterfeiting code values corresponding to version identification information, user identification information and commodity information;
the hash encryption module is used for carrying out hash encryption on the card number, the version, the user identification information and the anti-counterfeiting code value together after the digital label reading and writing equipment reads the card number of the digital label, so as to generate a verification hash value;
the rolling code production module is used for generating a rolling code according to a certain algorithm by the verification hash value and the current card writing time;
the anti-counterfeiting tracing information writing module is used for writing the verification hash value and the rolling code into a specific encryption block of the digital label by using the digital label reading and writing equipment, and simultaneously writing the anti-counterfeiting code value into a non-encryption block of the digital label in a plaintext or ciphertext mode;
the server information association module is used for sending the card number, the verification hash value and the rolling code of the digital label to the anti-counterfeiting numerical control platform for storage and carrying out association processing with the commodity information;
the block chain uplink module is used for packaging the rolling code, the verification hash value and the commodity information and then uplink the packaged commodity information to the preset private block chain;
the digital tag verification module comprises:
the anti-fake tracing information reading module is used for reading the card number of the digital tag from the digital tag through the digital tag checking equipment, acquiring an anti-fake code value from the non-encryption block, and acquiring a rolling code and a checking hash value stored in the specific encryption area;
the primary verification module is used for performing primary format verification on the anti-counterfeiting code value and the rolling code, and if verification is successful, the card number, the anti-counterfeiting code value, the rolling code and the verification hash value of the read digital label are sent to the anti-counterfeiting numerical control platform for re-verification;
the tracing verification module is used for searching user information corresponding to the batch of code values and identification information associated with the digital label read-write equipment in the anti-counterfeiting numerical control platform by the anti-counterfeiting code values, and determining the source of the digital label if the user information and the identification information are searched; if not, the source of the digital label cannot be determined;
the tamper-proof verification module is used for performing tamper-proof verification on the digital tag card number, the anti-counterfeiting code value, the rolling code, the version and the user identification information, and performing secondary verification on the digital tag card number, the anti-counterfeiting code value, the rolling code, the version and the user identification information together, and if verification is successful, performing secondary verification on the digital tag card number, the rolling code, the version and the user identification information and the verification hash value in the preset private block chain;
the first updating digital label module is used for sending a verification success signal to the digital label verification equipment together with the version and the user identification information if the secondary verification is successful;
the second updating digital label module is used for the digital label checking equipment to generate a new rolling code according to the current card writing time so as to generate a new checking hash value, and the rolling code and the checking hash value are written into the digital label specific encryption block;
and the synchronization module is used for transmitting the new rolling code to the anti-counterfeiting numerical control platform, generating a new verification hash value by adopting the same encryption method as the digital label verification equipment, and packaging the new verification hash value into operation information to be issued on the preset blockchain.
10. A blockchain-based digital label anti-counterfeiting tracing system, configured to perform the blockchain-based digital label anti-counterfeiting tracing method according to any one of claims 1 to 8, and comprising: the anti-counterfeiting digital control system comprises an anti-counterfeiting digital control platform, digital label reading and writing equipment, a digital label, a preset block chain and digital label checking equipment; the digital tag comprises an RFID tag and/or an NFC tag, and the digital tag reading and writing equipment and the digital tag checking equipment comprise NFC card reading and writing devices; the anti-counterfeiting numerical control platform is computer server equipment.
CN202310052280.XA 2023-02-02 2023-02-02 Digital label anti-counterfeiting tracing method, device and system based on blockchain Pending CN116029745A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310052280.XA CN116029745A (en) 2023-02-02 2023-02-02 Digital label anti-counterfeiting tracing method, device and system based on blockchain

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310052280.XA CN116029745A (en) 2023-02-02 2023-02-02 Digital label anti-counterfeiting tracing method, device and system based on blockchain

Publications (1)

Publication Number Publication Date
CN116029745A true CN116029745A (en) 2023-04-28

Family

ID=86073795

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310052280.XA Pending CN116029745A (en) 2023-02-02 2023-02-02 Digital label anti-counterfeiting tracing method, device and system based on blockchain

Country Status (1)

Country Link
CN (1) CN116029745A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116402521A (en) * 2023-06-08 2023-07-07 江苏中创供应链服务有限公司 Cross-border supply chain commodity tracing method and system based on blockchain
CN117291218A (en) * 2023-09-22 2023-12-26 广东龙眼数字科技有限公司 Application method and device of manufacturing anti-counterfeiting code and electronic equipment

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116402521A (en) * 2023-06-08 2023-07-07 江苏中创供应链服务有限公司 Cross-border supply chain commodity tracing method and system based on blockchain
CN116402521B (en) * 2023-06-08 2023-09-01 江苏中创供应链服务有限公司 Cross-border supply chain commodity tracing method and system based on blockchain
CN117291218A (en) * 2023-09-22 2023-12-26 广东龙眼数字科技有限公司 Application method and device of manufacturing anti-counterfeiting code and electronic equipment
CN117291218B (en) * 2023-09-22 2024-03-29 广东龙眼数字科技有限公司 Application method and device of manufacturing anti-counterfeiting code and electronic equipment

Similar Documents

Publication Publication Date Title
US11720907B2 (en) Blockchain-based product authentication system
US10972281B2 (en) System and method for document information authenticity verification
CN109146024B (en) Artwork anti-counterfeiting electronic tag system and method based on block chain
CN102831529B (en) A kind of commodity information identification method based on radio frequency and system
CN116029745A (en) Digital label anti-counterfeiting tracing method, device and system based on blockchain
CN104281954A (en) Anti-counterfeiting method for product
CN103824202A (en) CPK (Combined Public Key) identification authentication technology based RFID (Radio Frequency Identification Device) and two-dimensional code composite truth-identification and anti-fake source-tracing method
US10318779B2 (en) Systems and methods for robust protection of item authentication, tracking and tracing against tag duplication
CN103886469A (en) Product two-dimension code generation and query system
CN110310130B (en) Anti-counterfeiting method and system
CN106067121B (en) A kind of offline false distinguishing method of product based on NFC technique
US20200344046A1 (en) Product Tracking System and Method
US20150356803A1 (en) Item authentication
CN102663590A (en) System and method of commodity anti-counterfeiting authentication based on restriction of authentication frequency
KR100512064B1 (en) contactless type communication tag and portable tag reader for verifying a genuine article
CN105849739B (en) Authentication system and authentication method
CN110598433A (en) Anti-counterfeiting information processing method and device based on block chain
CN111159458A (en) Agricultural product image processing and block chain interactive identification method and system
CN115330408A (en) Anti-counterfeiting tracing method and system for gypsum board product
CN112862502A (en) Authentication and transaction tracing method, system and storage medium based on block chain
CN109345267A (en) The method for anti-counterfeit and system of wine based on block chain
CN104899748A (en) Two-dimensional code and scratch-off code composite identifying method based on identity authentication technology
CN102411748A (en) Safety anti-counterfeiting system and method based on two wireless radio frequency tags
CN106504007A (en) A kind of commodity counterfeit prevention management system based on NFC electronic tags
CN102867260A (en) Bluetooth-based commodity information identification method and system

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