Blockchain software: Traceability


Quality and safety is a hot issue that the government attaches great importance to and the society pays attention to. 1316-131-7192 is not only related to the public health, but also the product quality traceability is the information tracking and tracing of the whole process of commodity production. In essence, the product production process is carried out through information means

Problems existing in the current traceability system
:
Centralization of information storage, low cost of counterfeiting

At present, the information storage of traceability system is usually stored in a single database, which causes the counterfeiter to tamper with the database, so as to achieve the purpose of increasing and reducing the counterfeiting of goods.

Even if redundant database backup is used, counterfeiters can tamper with redundant database to achieve their goals, but it is difficult to solve the problem of fake data identification.

Multi – point production record reconciliation efficiency is low

Current traceability system, when the goods delivery from one point to another point, such as manufacturers to express party), both sides have their own production records (such as factory production record, express delivery), etc., these records need to reconciliation, each entry, such as operation, there is a traceability information asymmetry requires a lot of artificial trace, the efficiency is low.

Traceability bar code is reproducible

At present, most of the traceability systems use two-dimensional code and bar code to correspond one thing to one code, and these bar codes are reproducible, which makes the traceability of goods invalid.

About blockchain technology

Blockchain originated from Bitcoin. In a narrow sense, it is a chain data structure that combines data blocks in a sequential manner in chronological order, and a distributed database that can not be tampered with or forged by cryptography.

A blockchain is maintained by multiple nodes, each of which validates and packages transactions into a single block to add to the chain.

The concept of smart contracts was developed by Nick

Block chain intelligent deployment and execution of the contract in the form of send block chain nodes of charge to an account transactions, the contract contained in the code, call the function and related parameters, contract transactions made by a node deployment and calls and to the entire network broadcasting, again by individual nodes respectively enforce contracts, ultimately through consensus mechanism to achieve results and stored in the block on the chain.

The execution of one contract may trigger several other contracts, resulting in several trades. Blockchain smart contracts have the characteristics of decentralization, imtamability, traceability and distributed automatic execution, thus eliminating the cost of centralized trust institutions. Smart contracts of public and private chains have broad application prospects in finance, supply chain management and other fields.

Application scenarios and business logic of blockchain traceability system

The following is the application scenario of commodity blockchain traceability:

Immutable and traceable: provide credit endorsement for manufacturers, processors, logistics providers, storage providers, consumption terminals, etc.

Alliance and data sharing: after each link is completed, data in the industrial chain can be completed, and supply chain finance can also be applied.

Consensus mechanism of the Internet of Things: Traditionally, the QR code radio frequency identification (RFID) technology similar to the Internet of Things is adopted. Blockchain can reward nodes for reporting information with consensus mechanism.

Itself is the link of the supply chain characteristics, combined with block chain now, so more is even, the role of each original data through information island, implement the data cannot be tampered with and traceable, but due to internal circulation system of tokens, can make more people link outside also can realize to provide information, to ensure the supply chain on the chain and the integrity of the communication process.

Blockchain is used to store the process of publishing, sharing, verifying and supervising information among all nodes. All nodes keep a copy of the blockchain.

Blockchain is a decentralized distributed database system maintained by all nodes in the blockchain network. It is composed of a series of data blocks generated based on cryptography, and each data block is a block in the blockchain. In chronological order, blocks are created and connected to form a chain, known as a blockchain.

Smart Contract layer

Smart contract is the read-write logic of the information on the blockchain, that is, the writing and reading of the traceability information publisher and the supervision of the data by the supervisor. All shared information is stored in the smart contract, and the rights of publishers and regulators are also stored in the smart contract.

Smart contracts are event-driven, stateful programs that run on a replicated, shared ledger and can hold assets on the ledger

Smart contract participants include: company management personnel, logistics personnel, supervisors, etc.

Smart contract logic includes: entry of goods, goods arrival confirmation, etc.

Class point

The nodes include the traceability information publisher node (manufacturer, Courier, etc.) and the supervision node. Each of these nodes keeps a copy of the blockchain, and executes each smart contract independently, synchronizes data through a consensus mechanism, and participates in consistency maintenance, verification and execution of transactions.

Through the above technical framework, with the participation of traceability information publishers and supervisors, we solved the problems of easy tampering, low efficiency of multi-center reconciliation and inconsistency of upstream and downstream traceability data through the immutable characteristics of blockchain technology.

The application of blockchain technology

The primary application

Goods one thing one code, to achieve the traceability of goods tracking, the farm side input the production and appearance records of goods, logistics side input the transport confirmation records of goods, supervision party query supervision of all goods, users query the purchase of goods records.

Deep application

Fully realize the traceability tracking system with the participation of commodity production, processing, transportation, sales, consumption, supervision and other parties, and improve the logic of blockchain smart contract for each stage.

Participants include producers, processors, logistics, sellers, consumers and regulators.

From the technical implementation, encapsulation interface and so on