Anti-counterfeiting method, device and storage medium of anti-counterfeiting label based on blockchain
By storing regulatory information and product information in different sub-blocks on the blockchain platform and establishing a connection through smart contracts, the problem of preventing counterfeit and substandard products is solved, and the reliability of product quality and the integrity of data are achieved.
Patent Information
- Application Number
- CN201911150025.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2019-11-21
- Publication Date
- 2026-02-03
- Estimated Expiration
- 2039-11-21
AI Technical Summary
Existing technologies are insufficient to effectively prevent criminals from manufacturing counterfeit and substandard products, which can lead to losses for consumers.
Anti-counterfeiting labels are deployed using blockchain technology. The regulatory information of third-party regulatory agencies and product information are written into different sub-blocks through the blockchain platform, and the association is established through smart contracts. The regulatory information of the product can be queried using the anti-counterfeiting label.
This ensures product quality reliability and data integrity, guarantees the immutability of regulatory information and ease of inquiry, and enhances the credibility of anti-counterfeiting and traceability.
Smart Images

Figure CN110930168B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of anti-counterfeiting and traceability technology, and in particular to an anti-counterfeiting method, device and storage medium for blockchain-based anti-counterfeiting labels. Background Technology
[0002] A report by the Organization for Economic Cooperation and Development (OECD) indicates that in 2013, the trade in counterfeit and substandard goods surged into a global industry worth a staggering $461 billion, accounting for 2.5% of total global trade. Counterfeit and substandard goods proliferate across various sectors, from handbags and perfumes to machine parts and chemicals. The emergence of blockchain technology offers a new solution to the trust issue, particularly in the field of anti-counterfeiting and traceability.
[0003] Blockchain technology boasts two key characteristics: decentralized ledger operation and the immutability of all data once verified. Data on the blockchain neither appears out of thin air nor disappears suddenly, making it ideal for anti-counterfeiting and traceability systems. The decentralized ledger securely stores product information, ensuring that this information is unforgeable and tamper-proof. Utilizing blockchain-based anti-counterfeiting labels can effectively prevent counterfeiters from producing fake and substandard products, minimizing consumer losses. Summary of the Invention
[0004] This specification provides an anti-counterfeiting method, device, and storage medium for blockchain-based anti-counterfeiting labels, which addresses the following technical problem in the prior art: preventing criminals from manufacturing counterfeit and substandard products.
[0005] The embodiments in this specification adopt the following technical solutions:
[0006] In a first aspect, the present invention provides an anti-counterfeiting method for blockchain-based anti-counterfeiting labels, comprising:
[0007] Deploy a blockchain platform based on a blockchain framework;
[0008] Regulatory information provided by a third-party regulatory body is written into the first sub-block of the blockchain platform;
[0009] The data acquisition device collects product information and generates a second sub-block, then uploads and stores the second sub-block to the blockchain platform;
[0010] The association between the first sub-block and the second sub-block is determined according to the smart contract preset in the blockchain platform;
[0011] The anti-counterfeiting label corresponding to the product is queried to obtain the regulatory information corresponding to the product information.
[0012] Optionally, writing the regulatory information provided by the third-party regulatory agency into the first sub-block in the blockchain platform includes: encrypting the regulatory information and generating a public key, and encrypting the first sub-block with the public key.
[0013] Optionally, the data acquisition device collects product information and generates a second sub-block, and uploads and stores the second sub-block in the blockchain platform, including: encrypting the product information and generating a private key, and encrypting the second sub-block with the private key.
[0014] Optionally, the third-party regulatory agency includes at least one of the following: government agencies, supervisory departments, and testing institutions.
[0015] Optionally, the regulatory information includes at least one of the following: data reported by the target company to the third-party regulatory agency, testing data from the government, random inspection data from the supervisory department, and testing reports from the testing institution.
[0016] Optionally, the product information includes at least one of the following: enterprise qualifications, standard declaration, production process, product certification, chemical substance testing information, and production process data.
[0017] Optionally, determining the association between the first sub-block and the second sub-block according to a pre-set smart contract in the blockchain platform includes: writing the regulatory information into the smart contract and deploying the smart contract on all nodes in the blockchain platform.
[0018] Optionally, the anti-counterfeiting label includes at least one of the following: a QR code or a barcode.
[0019] Secondly, the present invention provides an anti-counterfeiting device based on a blockchain-based anti-counterfeiting label, comprising:
[0020] At least one processor; and,
[0021] A memory communicatively connected to the at least one processor; wherein,
[0022] The memory stores instructions executable by the at least one processor, which, when executed by the at least one processor, enable the at least one processor to:
[0023] Deploy a blockchain platform based on a blockchain framework;
[0024] Regulatory information provided by a third-party regulatory body is written into the first sub-block of the blockchain platform;
[0025] The data acquisition device collects product information and generates a second sub-block, then uploads and stores the second sub-block to the blockchain platform;
[0026] The association between the first sub-block and the second sub-block is determined according to the smart contract preset in the blockchain platform;
[0027] The anti-counterfeiting label corresponding to the product is queried to obtain the regulatory information corresponding to the product information.
[0028] Thirdly, the present invention provides a computer-readable storage medium storing computer instructions thereon, which, when executed by a processor, implement the aforementioned anti-counterfeiting method for blockchain-based anti-counterfeiting labels.
[0029] The above-described at least one technical solution adopted in the embodiments of this specification can achieve the following beneficial effects:
[0030] This invention separates regulatory information and product information into different sub-blocks and links them through a pre-set smart contract on the blockchain platform. When a user inquires about a product, they only need to check the anti-counterfeiting label on the product to find the associated regulatory information. Since this regulatory information is issued by third-party regulatory agencies, it has high authority, and the data uploaded to the blockchain platform terminal cannot be altered, thus ensuring the reliability of product quality. The separate writing of regulatory and product information into blocks by different terminals or nodes facilitates information writing and storage. Furthermore, different blocks storing different information avoid interference between these data points, ensuring data integrity. Attached Figure Description
[0031] The accompanying drawings, which are included to provide a further understanding of this application and form part of this application, illustrate exemplary embodiments and are used to explain this application, but do not constitute an undue limitation of this application. In the drawings:
[0032] Figure 1 A flowchart illustrating an anti-counterfeiting method for a blockchain-based anti-counterfeiting label provided in the embodiments of this specification;
[0033] Figure 2 This is a schematic diagram of the storage of regulatory information for the first sub-block provided in the embodiments of this specification;
[0034] Figure 3 A schematic diagram of product information based on a blockchain platform interface provided in this embodiment of the specification;
[0035] Figure 4This is a schematic diagram of product information storage in the second sub-block provided in the embodiments of this specification. Detailed Implementation
[0036] To make the objectives, technical solutions, and advantages of this specification clearer, the technical solutions of this application will be clearly and completely described below in conjunction with specific embodiments and corresponding drawings. Obviously, the described embodiments are only a part of the embodiments of this application, and not all of them. All other embodiments obtained by those skilled in the art based on the embodiments in this specification without creative effort are within the scope of protection of this application.
[0037] The technical solutions provided by the various embodiments of this application are described in detail below with reference to the accompanying drawings.
[0038] This application provides a blockchain-based anti-counterfeiting method, device, and storage medium for anti-counterfeiting labels. For example... Figure 1 As shown, it includes the following steps:
[0039] S11. Deploy a blockchain platform based on the blockchain framework.
[0040] Commonly used blockchain frameworks include the Bitcoin architecture, Fabric architecture, Onchain DNA (Onchain Distributed Networks Architecture), Corda architecture, and Ethereum architecture. For ease of explanation, this embodiment of the invention will use the Ethereum architecture as an example to illustrate an anti-counterfeiting method for blockchain-based anti-counterfeiting labels. However, it should be noted that this embodiment of the invention is not limited to the Ethereum architecture or the above example; other architectures that can also implement the aforementioned anti-counterfeiting method can also be used in this invention.
[0041] A blockchain platform is a platform that integrates a large amount of data and can directly provide data integration services for various enterprises and their products. Based on the integrated data, it can further provide quality services to other demanders such as consumers and enterprise partners (e.g., other enterprises or research institutions), which helps reduce the barriers between enterprises and these other demanders, improve the experience of multiple users, promote product quality improvement, and create a win-win situation.
[0042] S12. Write the regulatory information provided by the third-party regulatory agency into the first sub-block of the blockchain platform.
[0043] In this embodiment, the third-party regulatory agency can be, for example, a government agency, a supervisory department, or a testing institution, etc. This embodiment of the invention does not limit the scope of the agency. Optionally, refer to... Figure 2As shown, the regulatory information provided by the third-party regulatory agency may include at least one of the following: data reported by the target company to the third-party regulatory agency, government testing data, random inspection data from the supervisory department, and testing reports from the testing agency.
[0044] The regulatory information can be directly written into the first sub-block, for example. Optionally, in this embodiment of the invention, encryption can be performed using an asymmetric encryption algorithm. Typically, asymmetric encryption algorithms require two keys: a public key and a private key. The public and private keys are a pair; if data is encrypted with the public key, it can only be decrypted with the corresponding private key. Therefore, the regulatory information can be encrypted to generate a public key, and the first sub-block can be encrypted using this public key. However, in this embodiment, the specific form of the encryption algorithm is not limited.
[0045] Using asymmetric encryption algorithms, this encryption method enhances the confidentiality of regulatory information in the first sub-block, preventing its leakage and thus preventing malicious manipulation. Furthermore, due to the immutable nature of blockchain technology, the regulatory information entered into the first sub-block cannot be arbitrarily altered. This largely guarantees the authenticity and reliability of the data, thereby enhancing the authority of third-party regulatory agencies.
[0046] S13. The data acquisition device collects product information and generates a second sub-block, which is then uploaded and stored on the blockchain platform.
[0047] In this embodiment, the data acquisition device can be, for example, a mobile phone, a POS machine, a tablet computer, etc., as shown in the reference. Figure 3 As shown, product information may include at least one of the following: company qualifications, standard declarations, production processes, product certifications, chemical substance testing information, production process data, etc. Taking perfume as an example, its product information may include the chemical components of the perfume, the content of each component, relevant information about the manufacturer, quality standards in the production process, and production time, etc.
[0048] Reference Figure 4As shown, after collecting the aforementioned product information, the data acquisition device packages all the product information into a second sub-block and uploads it to the blockchain platform. The packaging, uploading, and storage steps can all be implemented using consensus mechanisms such as Proof of Work (PoW), Proof of Stake (PoS), and Practical Byzantine Fault Tolerance (PBFT), and this embodiment does not limit the specific implementation.
[0049] It is important to note that in this embodiment of the invention, the first sub-block and the second sub-block can be the same sub-block or different sub-blocks. When the first sub-block and the second sub-block are the same block, both regulatory information and product information are stored in one block. This method improves the efficiency of data processing, allowing the entire data storage process to be completed in one block, thus facilitating the utilization of each block in the blockchain platform. When the first sub-block and the second sub-block are different sub-blocks, regulatory information and product information are written to the blocks by different terminals or nodes, which facilitates the writing and storage of information. Furthermore, storing different information in different blocks can also avoid interference between these data and ensure data integrity.
[0050] Furthermore, when the first sub-block in step S12 is encrypted with a public key, the second sub-block in step S13 can be encrypted with a private key accordingly to achieve a complete data encryption process.
[0051] S14. Determine the relationship between the first sub-block and the second sub-block based on the smart contract preset in the blockchain platform.
[0052] In this embodiment, a smart contract refers to application-based rules and logic, which are decentralized, shared program code deployed on a blockchain platform that does not require the participation of a third-party platform and is automatically executed when conditions are met.
[0053] In an optional embodiment, the smart contract can, for example, establish a relationship between regulatory information and product information. When a user queries a product, the corresponding regulatory information can be linked based on any one of the product's own product information, thereby enabling rapid access to regulatory information. Since product information includes information from every stage of the entire product manufacturing process, the establishment of a smart contract can achieve the goal of product traceability, thus providing users with authentic and reliable quality information data.
[0054] It is important to note that when smart contracts are deployed to a blockchain platform, they can be deployed to every node in that blockchain platform to enable data queries across the entire blockchain network.
[0055] S15. Query the anti-counterfeiting label corresponding to the product to obtain the regulatory information corresponding to the product information.
[0056] The anti-counterfeiting label can be, for example, a QR code or a barcode, but this embodiment does not limit it.
[0057] Based on the same inventive concept, this invention also provides an anti-counterfeiting device and storage medium for blockchain-based anti-counterfeiting labels. Since the principle by which these devices and storage media solve the problem is similar to the aforementioned anti-counterfeiting method for blockchain-based anti-counterfeiting labels, the implementation of these devices and storage media can refer to the implementation of the aforementioned method, and the repeated parts will not be described again.
[0058] This invention provides an anti-counterfeiting device based on a blockchain-based anti-counterfeiting label, comprising:
[0059] At least one processor; and,
[0060] A memory communicatively connected to the at least one processor; wherein,
[0061] The memory stores instructions executable by the at least one processor, which, when executed by the at least one processor, enable the at least one processor to:
[0062] Deploy a blockchain platform based on a blockchain framework;
[0063] Regulatory information provided by a third-party regulatory body is written into the first sub-block of the blockchain platform;
[0064] The data acquisition device collects product information and generates a second sub-block, then uploads and stores the second sub-block to the blockchain platform;
[0065] The association between the first sub-block and the second sub-block is determined according to the smart contract preset in the blockchain platform;
[0066] The anti-counterfeiting label corresponding to the product is queried to obtain the regulatory information corresponding to the product information.
[0067] This invention also provides a computer-readable storage medium storing computer instructions that, when executed by a processor, implement the aforementioned anti-counterfeiting method for blockchain-based anti-counterfeiting labels.
[0068] The various embodiments in this application are described in a progressive manner. Similar or identical parts between embodiments can be referred to mutually. Each embodiment focuses on describing the differences from other embodiments. In particular, the device and medium embodiments are basically similar to the platform embodiments, so the description is relatively simple; relevant parts can be referred to the description of the platform embodiments.
[0069] The devices and media provided in this application are one-to-one with the platform. Therefore, the devices and media also have similar beneficial technical effects as their corresponding platforms. Since the beneficial technical effects of the platform have been described in detail above, the beneficial technical effects of the devices and media will not be repeated here.
[0070] Those skilled in the art will understand that embodiments of the present invention can be provided as methods, systems, or computer program products. Therefore, the present invention can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present invention can take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0071] This invention relates to methods, apparatus (systems), and computer programs produced according to embodiments of the invention.
[0072] The flowcharts and / or block diagrams are used to describe the product. It should be understood that each block of the flowcharts and / or block diagrams, and combinations of blocks in the flowcharts and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing device to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing device, generate instructions for implementing the product in the flowcharts and / or block diagrams. Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.
[0073] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.
[0074] These computer program instructions may also be loaded onto a computer or other programmable data processing equipment to cause a series of operational steps to be performed on the computer or other programmable equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.
[0075] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.
[0076] Memory may include non-persistent storage in computer-readable media, such as random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM) or flash RAM. Memory is an example of computer-readable media.
[0077] Computer-readable media includes both permanent and non-permanent, removable and non-removable media that can store information using any method or technology. Information can be computer-readable instructions, data structures, modules of programs, or other data. Examples of computer storage media include, but are not limited to, phase-change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technologies, CD-ROM, digital versatile optical disc (DVD) or other optical storage, magnetic tape, magnetic magnetic disk storage or other magnetic storage devices, or any other non-transferable medium that can be used to store information accessible by a computing device. As defined herein, computer-readable media does not include transient computer-readable media, such as modulated data signals and carrier waves.
[0078] It should also be noted that the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element.
[0079] The above description is merely an embodiment of this application and is not intended to limit the scope of this application. Various modifications and variations can be made to this application by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this application should be included within the scope of the claims of this application.
Claims
1. A method for preventing counterfeiting of a blockchain-based anti-counterfeiting label, characterized by, The method comprises the following steps: deploying a blockchain platform according to a blockchain framework; writing supervision information provided by a third-party supervision organization into a first sub-block in the blockchain platform; collecting product information by a data collection device and generating a second sub-block, and uploading and storing the second sub-block into the blockchain platform; determining the association between the first sub-block and the second sub-block according to a preset smart contract in the blockchain platform; querying a product corresponding anti-counterfeit label to obtain the supervision information corresponding to the product information; the step of writing the supervision information provided by the third-party supervision organization into the first sub-block in the blockchain platform comprises the following steps: encrypting the supervision information and generating a public key, and performing public key encryption on the first sub-block; the step of collecting product information by the data collection device and generating a second sub-block, and uploading and storing the second sub-block into the blockchain platform comprises the following steps: encrypting the product information and generating a private key, and performing private key encryption on the second sub-block; the third-party supervision organization comprises at least one of the following: a government, a supervision department, and a detection organization; the supervision information comprises at least one of the following: report data of a target enterprise to the third-party supervision organization, detection data of the government, sampling inspection data of the supervision department, and detection situation report of the detection organization; the product information comprises at least one of the following: enterprise qualification, standard declaration, production process, product certification, chemical substance detection information, and production process data; the step of determining the association between the first sub-block and the second sub-block according to the preset smart contract in the blockchain platform comprises the following steps: writing the supervision information into the smart contract, and deploying the smart contract on all nodes in the blockchain platform; the anti-counterfeit label comprises at least one of the following: a two-dimensional code and a bar code.
2. A blockchain-based anti-counterfeiting device for an anti-counterfeiting label, characterized by, The method comprises the following steps: at least one processor; and a memory connected in communication with the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to: deploy a blockchain platform according to a blockchain framework; write supervision information provided by a third-party supervision organization into a first sub-block in the blockchain platform; collect product information by a data collection device and generate a second sub-block, and upload and store the second sub-block into the blockchain platform; determine the association between the first sub-block and the second sub-block according to a preset smart contract in the blockchain platform; query a product corresponding anti-counterfeit label to obtain the supervision information corresponding to the product information; the step of writing the supervision information provided by the third-party supervision organization into the first sub-block in the blockchain platform comprises the following steps: encrypting the supervision information and generating a public key, and performing public key encryption on the first sub-block; the step of collecting product information by the data collection device and generating a second sub-block, and uploading and storing the second sub-block into the blockchain platform comprises the following steps: encrypting the product information and generating a private key, and performing private key encryption on the second sub-block; The product information is encrypted and a private key is generated, and the second sub-block is encrypted by the private key; The third-party supervision agency includes at least one of the following: government, supervision department, detection agency; The supervision information includes at least one of the following: the reporting data of the target enterprise to the third-party supervision agency, the detection data of the government, the sampling inspection data of the supervision department, and the detection report of the detection agency; The product information includes at least one of the following: enterprise qualification, standard declaration, production process, product certification, chemical substance detection information, and production process data; The association between the first sub-block and the second sub-block is determined according to a preset smart contract in the blockchain platform, including: The supervision information is written into the smart contract, and the smart contract is deployed on all nodes in the blockchain platform; The anti-counterfeit label includes at least one of the following: two-dimensional code, bar code.
3. A computer readable storage medium having stored thereon computer instructions, wherein, The instruction is executed by the processor to implement the anti-counterfeit method of the anti-counterfeit label based on the blockchain as claimed in any one of claims 1.
Citation Information
Patent Citations
Blockchain-based sample delegation detection logistics and information management system and method
CN110443627A
Cited By
Systems and methods for product verification
US20230177525A1