Anti-counterfeiting traceability method and device based on block chain and storage medium

A blockchain and block technology, applied in the blockchain field, can solve the problems of complex deployment contracts, large resource consumption, and large parameter information, and achieve the effects of ensuring security and privacy, improving throughput, and improving performance

Inactive Publication Date: 2019-05-21
ZHONGAN INFORMATION TECH SERVICES CO LTD
View PDF5 Cites 17 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] There are such defects in the existing technology: firstly, the anti-counterfeiting traceability implemented by the smart contract is to store the data in the local ledger, and the execution of the contract needs to rely on the virtual machine, resulting in relatively large resource consumption and low performance; secondly, for The demand for anti-counterfeiting and traceability is relatively simple. In the scenario aimed at ensuring the authenticity of data, the deployment of the contract is a bit complicated, and the contract address, contract method, etc. must be called every time the product information is stored or queried. The operation is not only cumbersome, but also requires More parameter information is error-prone

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Anti-counterfeiting traceability method and device based on block chain and storage medium
  • Anti-counterfeiting traceability method and device based on block chain and storage medium
  • Anti-counterfeiting traceability method and device based on block chain and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0054] figure 1 A flow chart of a blockchain-based anti-counterfeiting traceability method provided in Embodiment 1 of the present invention, the execution subject of the method may be a blockchain system, see figure 1 , the method may specifically include the following steps:

[0055] 101. Store the transaction data containing the anti-counterfeiting information sent by the data provider into the blockchain.

[0056]Specifically, after the blockchain system receives the transaction data containing anti-counterfeit information provided by the data provider, it packs the transaction data into a block, and makes a consensus on the block in each node in the blockchain system. consensus, the block is added to the blockchain. Furthermore, the received transaction data is put into the transaction pool, and the block producing node in the blockchain system constructs a block for multiple transactions containing the transaction data from the transaction pool, wherein multiple transa...

Embodiment 2

[0069] figure 2 A flow chart of a block chain-based anti-counterfeiting traceability method provided by Embodiment 2 of the present invention. The execution subject of the method may be a block chain system. On the basis of Embodiment 1 of the present invention, see figure 2 , the method may specifically include the following steps:

[0070] 201. Store the transaction data sent by the data provider in the blockchain, where the transaction data includes anti-counterfeiting information and access authority information to the anti-counterfeiting information.

[0071] 202. Correspondingly store the transaction identifier generated by the transaction data, the block information of the block where the transaction data is located, and the storage location information of the transaction data in the block on the block chain.

[0072] 203. Return the transaction identifier to the data provider, so that the data provider can share the transaction identifier with the data query party. ...

Embodiment 3

[0086] image 3 For a block chain-based anti-counterfeiting traceability device provided in Embodiment 3 of the present invention, refer to image 3 As shown, the device includes:

[0087] The first storage module is used to store the transaction data containing the anti-counterfeiting information sent by the data provider into the block chain; and

[0088] The second storage module is used to correspondingly store the transaction identification generated by the transaction data, the block information of the block where the transaction data is located, and the storage location information of the transaction data in the block to the block chain;

[0089] The first returning module is used to return the transaction identifier to the data provider, so that the data provider can share the transaction identifier with the data query party;

[0090] The query module is used to query the anti-counterfeiting information by using the transaction ID if the query request carrying the tr...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention discloses an anti-counterfeiting traceability method and device based on a block chain and a storage medium, and belongs to the technical field of block chains, and the method comprisesthe steps: storing transaction data which are sent by a data provider and contain anti-counterfeiting information into the block chain; Correspondingly storing the transaction identifier generated bythe transaction data, the block information of the block where the transaction data is located and the storage position information of the transaction data in the block into a block chain; Returning the transaction identifier to the data provider, so that the data provider shares the transaction identifier with the data query party; And if a query request which is sent by the data query party andcarries the transaction identifier is received, querying the anti-counterfeiting information by using the transaction identifier, and a query result is returned to the data query party. According to the embodiment of the invention, the method does not depend on an intelligent contract, does not need the offline storage, reduces the scale and complexity of a local account book, reduces the storagerequirement, greatly improves the performance of a block chain, and simplifies the design and implementation of a block chain system.

Description

technical field [0001] The present invention relates to the field of block chain technology, in particular to a block chain-based anti-counterfeit traceability method, device and storage medium. Background technique [0002] Blockchain is a distributed database system that can safely store data. It is characterized by using cryptography to protect information from malicious forgery or tampering while recording all transaction information, thereby ensuring the authenticity of data. Due to the decentralization and non-tampering characteristics of blockchain, this technology is widely used in scenarios such as digital assets, decentralized exchanges, financial derivatives, e-commerce, smart assets, and anti-counterfeiting traceability. [0003] Anti-counterfeiting and traceability means that product information can be queried, verified and traced, and technology can be used to completely eliminate counterfeiting and shoddy products from the root. The feature of anti-counterfei...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): G06Q40/04G06F21/64G06F21/62
Inventor 杨孜薇瞿争
Owner ZHONGAN INFORMATION TECH SERVICES CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products