A method and medium for on-chain product data based on blockchain and smart contracts
A smart contract and product data technology, applied in data processing applications, digital transmission systems, instruments, etc., can solve problems that hinder the development of product data on the chain, and achieve the effect of improving effectiveness, improving efficiency, and ensuring security
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0044] This embodiment provides a method for chaining product data based on blockchain and smart contracts, such as figure 1 shown, including:
[0045] Step 1. The management center deploys the smart contract on the blockchain to obtain the smart contract address Addr, and the length of the address is 20 bytes. The functions of the smart contract mainly include management of companies with data uploaded to the chain, management of nodes that query data on the chain, and storage of information such as the address of the product data company and the encrypted key. In this embodiment, the functions of the smart contract include:
[0046] Function 1: Enterprises apply to store certain types of product data on the blockchain;
[0047] Function 2: To authorize enterprises that apply for data on-chain, allowing enterprises to store certain types of data on the blockchain, and allowing enterprises to query the product data that the enterprise has already put on the chain;
[0048] F...
Embodiment 2
[0079]This embodiment provides a computer-readable storage medium on which a computer program is stored. It is characterized in that, when the computer program is executed by a processor, the product data storage based on blockchain and smart contract described in Embodiment 1 is realized. chain method.
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


