Font Size: a A A

Research On Blockchain Safety Detection And Consensus Algorithm For Agricultural Product Quality Traceability

Posted on:2020-03-13Degree:MasterType:Thesis
Country:ChinaCandidate:C C YeFull Text:PDF
GTID:2381330620458862Subject:Software engineering
Abstract/Summary:PDF Full Text Request
Recently,the safety accidents of various agricultural products such as poisonous bean sprouts,lean meat powder,arsenic-containing tea and so on have occurred frequently,and the quality of agricultural products have attracted wide attention of the society.The existing quality traceability data of agricultural products are stored centrally and managed by platform merchants,which is easily falsified,so consumers and merchants lack trust mechanisms.Blockchain technology can solve the problem of centralized data storage effectively,but there are still some problems in the agricultural product quality traceability platform based on blockchain.Firstly,it is difficult to extract quality-related content from a large number of data because of the long cycle and complex business processes in the growth and sales of agricultural products.The existing quality traceability platforms did not analyze the key business processes and the relationships of attributes.Secondly,blockchain technology also has many security problems like 51% attack,eclipse attack and so on.The different attacks have different forms of expression and users lack effective method to evaluate the security of blockchain.Finally,compared with high-value bitcoins,the computing resources of agricultural product are limited.Therefore,it is necessary to improve the consensus mechanism based on the business characteristics of agricultural product quality traceability.In view of the above problems,this paper proposes a safe quality traceability method of agricultural product based on blockchain.The purpose of this method is to analyze the process of agricultural products,extract the relationship between key business processes and construct a standard traceability process model of agricultural product quality.At the same time,this paper proposed a method to detect the security of blockchain by analyzing the structure of blockchain.Combining with the business characteristics of agricultural product,this paper proposed a method to evaluate the security of blockchain and improved the consensus algorithm,which makes the quality traceability of agricultural product more credible.The main contents of this paper are as follows:(1)Propose a quality traceability framework for agricultural productbased on blockchainThis paper proposes a quality traceability framework for agricultural product based on blockchain.This framework consists of model building layer,data storage layer,core algorithm layer and application layer.In this paper,we construct a traceability model for agricultural products and realize decentralized storage based on ETF.Meanwhile this method will make quality traceability platform safer and save computing power.(2)Construct a quality traceability model for agricultural productThis paper analyzes and constructes a standard process model for agricultural product quality traceability.From the point of view of pre-production,mid-production and post-production,we use Petri net to build the agricultural product traceability model and analyze the attributes and characteristics of agricultural products in key business processes,which can realize the standardized storage of data.(3)Propose a method to detect the security of blockchainThis paper presents a method to evaluate the security of agricultural product quality traceability platform based on blockchain.From the point of view of network structure,we take 51% attack as an example and prove the structure of blockchain is an infinite cycle by using mathematical deduction and experimental simulation.At last,we propose a method to evaluate the security of blockchain based on the transition probability of network structure.(4)Improved consensus algorithm for agricultural product qualitytraceability blockchainThis paper presents an improved consensus algorithm for traceability blockchain of agricultural product quality.The traceability data of agricultural product is very large and the existing consensus algorithms can not meet the requirements of agricultural product quality traceability.In this paper,the time-motivation algorithm,state feedback scoring algorithm and role voting algorithm are added to the Pbft consensus algorithm,which can improve the throughput of the system,save computing power and improve the security of data storage.(5)Build a safe traceability platform for agricultural product qualitybased on blockchainAccording to the proposed method framework,this paper constructs a safe agricultural product quality traceability platform based on blockchain.Taking tea sales as the background,we introduce the application scenario,system framework and prove the effectiveness of this method through the construction of the prototype system.
Keywords/Search Tags:Quality Traceability, Blockchain, Security Evaluation, Consensus Algorithm, Intelligent Agriculture
PDF Full Text Request
Related items