CN107330581B - Agricultural product quality information system based on block chain - Google Patents
Agricultural product quality information system based on block chain Download PDFInfo
- Publication number
- CN107330581B CN107330581B CN201710425740.3A CN201710425740A CN107330581B CN 107330581 B CN107330581 B CN 107330581B CN 201710425740 A CN201710425740 A CN 201710425740A CN 107330581 B CN107330581 B CN 107330581B
- Authority
- CN
- China
- Prior art keywords
- information
- module
- block information
- agricultural product
- soil
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q10/00—Administration; Management
- G06Q10/06—Resources, workflows, human or project management; Enterprise or organisation planning; Enterprise or organisation modelling
- G06Q10/063—Operations research, analysis or management
- G06Q10/0639—Performance analysis of employees; Performance analysis of enterprise or organisation operations
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06K—GRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
- G06K17/00—Methods or arrangements for effecting co-operative working between equipments covered by two or more of main groups G06K1/00 - G06K15/00, e.g. automatic card files incorporating conveying and reading operations
- G06K17/0022—Methods or arrangements for effecting co-operative working between equipments covered by two or more of main groups G06K1/00 - G06K15/00, e.g. automatic card files incorporating conveying and reading operations arrangements or provisious for transferring data to distant stations, e.g. from a sensing device
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q30/00—Commerce
- G06Q30/018—Certifying business or products
- G06Q30/0185—Product, service or business identity fraud
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q50/00—Systems or methods specially adapted for specific business sectors, e.g. utilities or tourism
- G06Q50/02—Agriculture; Fishing; Mining
Abstract
A blockchain-based agricultural product quality information system, comprising: the device comprises a data acquisition module, a block information construction module, a storage sharing module, an evaluation module and a query module, wherein: the data acquisition module acquires soil information and agricultural product type information and transmits the soil information and the agricultural product type information to the block information construction module in a structured data form; the block information construction module distributes an identity label to the agricultural product, constructs the received structured data into a Merkle tree, performs digital signature and timestamp service to form block information, and transmits the block information through p2p after workload certification; the storage sharing module broadcasts the block information after carrying out workload verification and data check on the received block information; the evaluation module evaluates the quality of the agricultural products according to the block information to obtain a quality score; the query module receives the block information and the quality scores to generate a query two-dimensional code.
Description
Technical Field
The invention relates to a technology in the field of information processing, in particular to an agricultural product quality information system based on a block chain.
Background
With the development of society and economy, the quality requirements of people on agricultural products are higher and higher, and the current situation of the quality safety of the agricultural products is worried. The pollution of three wastes in industry to agricultural production environment, and the use of a large amount of fertilizers, pesticides, herbicides and the like by some farmers for increasing the yield and income cause pesticide residues in agricultural products and processed products thereof in many places in China. China is a typical large-market and small-production mode, and has low productivity level, weak industrialization degree and poor standardization degree. Farmers have no awareness and ability to integrate into the product standardization system. Meanwhile, the quality grade of the agricultural products is not evaluated by a unified standard and method, and the individual detection and analysis of each agricultural product are not practical.
The block chain technology is based on the technology of bit coins, and forms an application technology paradigm which is mainly characterized by a distributed general ledger, consensus trust, asymmetric encryption, intelligent contracts and timestamps through continuous development and evolution. Most importantly, blockchains allow people to build confidence in mutual collaboration without a central authority, which is the product of solving the trust problem mathematically.
Disclosure of Invention
Aiming at the defects that only the source of an article can be traced and the quality grade of the product cannot be evaluated and classified in the prior art, the invention provides the block chain-based agricultural product quality information system, introduces the block chain technology, enables the growth data of the agricultural product to be difficult to modify artificially, constructs an authoritative uniform agricultural product quality information system, and is beneficial to the electronic commerce of the agricultural product.
The invention is realized by the following technical scheme:
the invention comprises the following steps: the device comprises a data acquisition module, a block information construction module, a storage sharing module, an evaluation module and a query module, wherein: the data acquisition module acquires soil information and agricultural product type information and transmits the soil information and the agricultural product type information to the block information construction module in a structured data form; the block information construction module distributes an identity label to the agricultural product, constructs the received structured data into a Merkle tree, performs digital signature and timestamp service to form block information, and transmits the block information through p2p after workload certification; the storage sharing module broadcasts the block information after carrying out workload verification and data check on the received block information; the evaluation module evaluates the quality of the agricultural products according to the block information to obtain a quality score; the query module receives the block information and the quality scores to generate a query two-dimensional code.
The data acquisition module comprises: a data preprocessing unit and a data structuring unit, wherein: the data preprocessing unit preprocesses the soil information and the agricultural product type information and then generates structured data through the data structuring unit.
The pretreatment process comprises the following steps: eliminating abnormal data in the collection process, such as negative data, and numerical values which sharply decrease in the collection period; unifying the precision values of various collected data; and default values are processed, and data in the previous period or data estimated according to the historical data rule are defaulted.
The soil information comprises the content of nutrient elements and the content of heavy metal elements in the soil.
The storage sharing module carries out workload certification through a Hash256 algorithm.
The assessment module comprises: a calculation unit and a verification unit, wherein: after the verification unit verifies the identity label of the agricultural product, the calculation unit extracts block information corresponding to the agricultural product and calculates a quality score V(t)。
The query module comprises: two-dimensional code generation unit and product information inquiry unit, wherein: the two-dimensional code generating unit receives the block information and the quality scores to generate two-dimensional codes corresponding to the agricultural products, and the product information inquiring unit provides the quality scores and the agricultural product type information of the agricultural products for the two-dimensional code scanner.
Drawings
FIG. 1 is a schematic view of the structure of the present invention.
Detailed Description
As shown in fig. 1, the present embodiment includes: the device comprises a data acquisition module, a block information construction module, a storage sharing module, an evaluation module and a query module, wherein: the data acquisition module acquires soil information and agricultural product type information and transmits the soil information and the agricultural product type information to the block information construction module in a structured data form; the block information construction module distributes an identity label to the agricultural product, constructs the received structured data into a Merkle tree, performs digital signature and timestamp service to form block information, and transmits the block information through p2p after workload certification; the storage sharing module broadcasts the block information to other block information after carrying out workload verification and data check on the received block information; the evaluation module evaluates the quality of the agricultural products according to the block information to obtain a quality score; the query module receives the block information and the quality scores to generate a query two-dimensional code.
The data acquisition module comprises: a data preprocessing unit and a data structuring unit, wherein: the data preprocessing unit preprocesses the soil information and the agricultural product type information and then generates structured data through the data structuring unit. A soil component detector and a soil heavy metal detector are arranged in the soil, the soil component detector detects the content of nutrient elements in the soil, and the soil heavy metal detector detects the content of heavy metal elements in the soil. The content of nutrient elements and the content of heavy metal elements constitute soil information.
The block information construction module hashes an identity label of the agricultural product by adopting a public key according to the identity information of the farmer and the agricultural product batch, and the identity label is used as a unique identifier of the agricultural product of the batch. The structural data collected in a certain time period is constructed into a Merkle tree, so that only root node information can be reserved to save storage space, and block information can be constructed. Then a value is circularly guessed and the information is carried out the workload certification by using a Hash256 algorithm, if the calculated number of the first n bits of zero of the character string is consistent with the system setting, the workload certification is considered to be successful, and then the block information is propagated to other nodes p2 p.
After receiving the block information, the storage sharing module verifies the workload of the block information, that is, whether the number of first n-bit zeros of the obtained character string matches the number of bits of zero set by the system, and then checks data in the block information, for example, whether the data is repeated, and if the data passes the check, connects the block information to the corresponding block to form a block chain. If the block information of a certain block is to be modified, the workload certification work of all blocks needs to be recalculated, when the number of blocks connected behind a certain block reaches a certain value, the recalculation of all workload certifications of the block and the blocks behind the block is almost impossible, and therefore the data in the block cannot be tampered. Meanwhile, the block broadcasts the received block information to the neighbor nodes, so that the information of the whole block chain is updated, the information of all the nodes is kept basically consistent, and all the node data is maintained collectively, thereby embodying the disclosure and fairness of the system.
The assessment module comprises: a calculation unit and a verification unit, wherein: after the verification unit verifies the identity label of the agricultural product, the calculation unit extracts block information corresponding to the agricultural product and calculates a quality score V(t). The verification unit receives an identity label of a certain batch of agricultural products of the farmer to judge whether the identity exists legally. If the agricultural product quality score exists, the calculating unit extracts growth data information, product type information, soil information, region information and time information of all relevant agricultural products in the block chain according to the identity tag to judge the quality score of the product.
The mass fractionWherein: v(t)Representing the mass fraction, a, of different agricultural products calculated by a formulatlIs the weight of product quality in different time periods, h is the number of time intervals, t is the type of different agricultural products, wtiIs the weight p of nitrogen, phosphorus and potassium elements obtained by training different agricultural productsiIs the value of the soil after the content of nutrient elements is pretreated, j is the kind of heavy metal elements in the soil, MtjWeight of influence of heavy metals in the calculation, q, obtained by training for different agricultural productsjThe method refers to a result obtained by pretreating the content of heavy metal elements by a soil heavy metal detector.
The query module comprises: two-dimensional code generation unit and product information inquiry unit, wherein: the two-dimensional code generating unit receives the block information and the quality scores to generate two-dimensional codes corresponding to the agricultural products, and the product information inquiring unit provides the quality scores and the agricultural product type information of the agricultural products for the two-dimensional code scanner. After the identity label is input by the farmer, the two-dimensional code generating unit generates the two-dimensional code corresponding to the batch of agricultural products. The consumer serves as a scanner of the two-dimensional code, and the product information inquiry unit provides agricultural product type information, soil information and quality scores of agricultural products to the scanner.
Compared with the prior art, the invention utilizes the soil detector and the soil heavy metal detector to automatically collect the soil condition of the agricultural product in the growth process periodically. The block chain technology is introduced, so that the growth data of the agricultural products are difficult to modify manually. According to experience and historical data, training is carried out to obtain an agricultural product quality evaluation model, so that a unified decentralized agricultural product quality information system is constructed, and electronic commerce of agricultural products is facilitated.
The foregoing embodiments may be modified in many different ways by those skilled in the art without departing from the spirit and scope of the invention, which is defined by the appended claims and all changes that come within the meaning and range of equivalency of the claims are therefore intended to be embraced therein.
Claims (1)
1. A blockchain-based agricultural product quality information system, comprising: the device comprises a data acquisition module, a block information construction module, a storage sharing module, an evaluation module and a query module, wherein: the data acquisition module acquires soil information and agricultural product type information and transmits the soil information and the agricultural product type information to the block information construction module in a structured data form; the block information construction module distributes an identity label to the agricultural product, constructs the received structured data into a Merkle tree, performs digital signature and timestamp service to form block information, and transmits the block information through p2p after workload certification; the storage sharing module broadcasts the block information after carrying out workload verification and data check on the received block information; the evaluation module evaluates the quality of the agricultural products according to the block information to obtain a quality score; the query module receives the block information and the quality scores to generate a query two-dimensional code;
the data acquisition module comprises: a data preprocessing unit and a data structuring unit, wherein: the data preprocessing unit preprocesses the soil information and the agricultural product type information and then generates structured data through the data structuring unit;
the soil information comprises the content of nutrient elements and the content of heavy metal elements of the soil;
the storage sharing module carries out workload certification through a Hash256 algorithm;
the assessment module comprises: a calculation unit and a verification unit, wherein: after the verification unit verifies the identity label of the agricultural product, the calculation unit extracts block information corresponding to the agricultural product and calculates a quality score V(t);
The mass fractionWherein: v(t)Representing the mass fraction, a, of different agricultural products calculated by a formulatlIs the weight of product quality in different time periods, h is the number of time intervals, t is the type of different agricultural products, wtiIs the weight p of nitrogen, phosphorus and potassium elements obtained by training different agricultural productsiIs the value of the soil after the content of nutrient elements is pretreated, j is the kind of heavy metal elements in the soil, MtjWeight of influence of heavy metals in the calculation, q, obtained by training for different agricultural productsjThe method is a result obtained by pretreating the content of heavy metal elements by a soil heavy metal detector;
the query module comprises: two-dimensional code generation unit and product information inquiry unit, wherein: the two-dimensional code generating unit receives the block information and the quality scores to generate two-dimensional codes corresponding to the agricultural products, and the product information inquiring unit provides the quality scores and the agricultural product type information of the agricultural products for the two-dimensional code scanner.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710425740.3A CN107330581B (en) | 2017-06-08 | 2017-06-08 | Agricultural product quality information system based on block chain |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710425740.3A CN107330581B (en) | 2017-06-08 | 2017-06-08 | Agricultural product quality information system based on block chain |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107330581A CN107330581A (en) | 2017-11-07 |
CN107330581B true CN107330581B (en) | 2021-01-08 |
Family
ID=60194917
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710425740.3A Active CN107330581B (en) | 2017-06-08 | 2017-06-08 | Agricultural product quality information system based on block chain |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107330581B (en) |
Families Citing this family (29)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108182482A (en) * | 2017-11-20 | 2018-06-19 | 广东中科南海岸车联网技术有限公司 | The cultivation monitoring method and device of long-term cropping based on block chain |
CN109872019A (en) * | 2017-12-05 | 2019-06-11 | 航天信息股份有限公司 | Agricultural product quality and safety retroactive method and system |
CN109978556A (en) * | 2017-12-27 | 2019-07-05 | 航天信息股份有限公司 | A kind of agricultural product retroactive method, device, electronic equipment and storage medium |
CN108628973B (en) * | 2018-04-25 | 2020-12-25 | 深圳市诚意信科技有限公司 | Agricultural data sharing system based on block chain |
CN108665028A (en) * | 2018-04-27 | 2018-10-16 | 林清华 | Product certification method and system based on block chain and label |
CN108665027A (en) * | 2018-04-27 | 2018-10-16 | 林清华 | Product labelling condition control method and system based on block chain |
CN108596729A (en) * | 2018-04-27 | 2018-09-28 | 王亮华 | A kind of intelligence vegetable garden system |
CN110470334A (en) * | 2018-05-09 | 2019-11-19 | 成都众宜天成科技有限公司 | A kind of implementation method of the Monitoring Urban Environment system open and clear based on block chain |
CN110472973A (en) * | 2018-05-09 | 2019-11-19 | 成都众宜天成科技有限公司 | Fruit monitoring administration method based on block chain |
CN108764719A (en) * | 2018-05-28 | 2018-11-06 | 中国建筑股份有限公司 | Sleeve grouting quality retroactive method, system and acquisition terminal based on block chain |
CN109034837B (en) * | 2018-06-29 | 2020-12-29 | 山东华夏维康农牧科技有限公司 | Multi-code tracing anti-counterfeiting method and system |
CN110738493B (en) * | 2018-07-19 | 2023-04-18 | 上海交通大学 | Body maintenance system based on block chain |
CN109101824A (en) * | 2018-07-26 | 2018-12-28 | 南京邮电大学 | Industry internet date storage method and system, readable storage medium storing program for executing and terminal |
CN108681846A (en) * | 2018-08-14 | 2018-10-19 | 广东东方翠健康科技有限公司 | A kind of food security quality integral retroactive method and traceability system |
CN109492411A (en) * | 2018-10-18 | 2019-03-19 | 南京中诚区块链研究院有限公司 | Agricultural product traceability system and method based on block chain |
CN109358177A (en) * | 2018-11-01 | 2019-02-19 | 华东师范大学 | A kind of soil improvement tracing detection system based on block chain |
CN109698750B (en) * | 2018-11-08 | 2021-06-11 | 平安科技(深圳)有限公司 | Block generation method, device and equipment of block chain and readable storage medium |
CN109658112A (en) * | 2018-12-12 | 2019-04-19 | 重庆金窝窝网络科技有限公司 | Agricultural product data sharing method, apparatus and system based on block chain |
CN109685531A (en) * | 2018-12-28 | 2019-04-26 | 浙江省公众信息产业有限公司 | Product quality certification method and system based on block chain technology |
CN110110827A (en) * | 2019-05-23 | 2019-08-09 | 成都南晟德管理顾问有限公司 | A kind of barcode scanning searches interactive system and method |
CN110390370A (en) * | 2019-07-24 | 2019-10-29 | 北京派克盛宏电子科技有限公司 | Livestock culturing source tracing method based on block chain and RFID |
CN111126869B (en) * | 2019-12-30 | 2024-03-15 | 航天信息股份有限公司 | Workload accounting method and system for grain circulation process |
CN111552734A (en) * | 2020-03-30 | 2020-08-18 | 平安医疗健康管理股份有限公司 | User portrait generation method and device, computer equipment and storage medium |
CN111598585A (en) * | 2020-04-30 | 2020-08-28 | 山东贵合信息科技有限公司 | Agricultural product quality tracing method, equipment and medium |
CN113705947A (en) * | 2020-10-28 | 2021-11-26 | 四川沁链云科科技有限公司 | Agricultural product rating system based on block chain technology |
CN113049509B (en) * | 2021-03-17 | 2022-04-22 | 盐城师范学院 | Agricultural product detection management system based on spectrum technology |
CN113129038B (en) * | 2021-06-21 | 2021-09-17 | 浙江数秦科技有限公司 | Green food evaluation system based on block chain |
CN113592147A (en) * | 2021-07-01 | 2021-11-02 | 浙江数秦科技有限公司 | Agricultural production area regulation and control system based on block chain |
CN113538144B (en) * | 2021-07-19 | 2024-01-05 | 浙江数秦科技有限公司 | Automatic agricultural product checking system based on blockchain |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103530808A (en) * | 2013-10-25 | 2014-01-22 | 西安凌科信息技术有限公司 | Whole-process tracing system for quality safety of fruit logistics |
CN104517234A (en) * | 2013-09-27 | 2015-04-15 | 上海多利农业发展有限公司 | Organic agricultural product quality tracing system |
CN105608588A (en) * | 2016-01-04 | 2016-05-25 | 布比(北京)网络技术有限公司 | Tracing record processing method and apparatus |
CN106339880A (en) * | 2016-08-23 | 2017-01-18 | 白大文 | Product production method and system for users to trace and examine filling process easily |
CN106779736A (en) * | 2016-11-30 | 2017-05-31 | 电子科技大学 | Block chain technical certification method based on biological characteristic |
-
2017
- 2017-06-08 CN CN201710425740.3A patent/CN107330581B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104517234A (en) * | 2013-09-27 | 2015-04-15 | 上海多利农业发展有限公司 | Organic agricultural product quality tracing system |
CN103530808A (en) * | 2013-10-25 | 2014-01-22 | 西安凌科信息技术有限公司 | Whole-process tracing system for quality safety of fruit logistics |
CN105608588A (en) * | 2016-01-04 | 2016-05-25 | 布比(北京)网络技术有限公司 | Tracing record processing method and apparatus |
CN106339880A (en) * | 2016-08-23 | 2017-01-18 | 白大文 | Product production method and system for users to trace and examine filling process easily |
CN106779736A (en) * | 2016-11-30 | 2017-05-31 | 电子科技大学 | Block chain technical certification method based on biological characteristic |
Also Published As
Publication number | Publication date |
---|---|
CN107330581A (en) | 2017-11-07 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107330581B (en) | Agricultural product quality information system based on block chain | |
CN109146514B (en) | Livestock product traceability information recording method, device, equipment and storage medium | |
CN109087005B (en) | Monitoring method of commodity logistics environment based on intelligent contract and fog calculation | |
US20200184489A1 (en) | Methods, systems and apparatus to track a provenance of goods | |
CN111445272A (en) | Agricultural product traceability information processing system and method based on block chain | |
El Maouchi et al. | TRADE: A transparent, decentralized traceability system for the supply chain | |
Zhang et al. | A self-learning detection method of Sybil attack based on LSTM for electric vehicles | |
Mukherjee et al. | Agrochain: Ascending blockchain technology towards smart agriculture | |
Li et al. | The design of power grid data management system based on blockchain technology and construction of system security evaluation model | |
Nigam et al. | The integration of blockchain and IoT edge devices for smart agriculture: Challenges and use cases | |
Rabhi et al. | A functional framework based on big data analytics for smart farming | |
Dong et al. | A traceability method based on blockchain and internet of things | |
CN108288126A (en) | A kind of business policy planning system based on big data | |
CN111444282A (en) | Agricultural block chain big data management system | |
Du et al. | Traceability of animal products based on a blockchain consensus mechanism | |
Iaksch et al. | Digitalization and big data in smart farming–bibliometric and systemic analysis | |
US20220351276A1 (en) | Systems and methods for equipment and marketplace tracking and operations via digital distributed ledgers | |
CN110009375A (en) | The product place of production based on block chain is traced to the source inquiry system | |
Xie et al. | Research on big data technology-based agricultural information system | |
CN114298721A (en) | Portable credible device of tracing to source towards chinese-medicinal material | |
Polowy et al. | Data mining in the analysis of tree harvester performance based on automatically collected data | |
CN113723972A (en) | Agricultural product tracing system and method based on block chain technology | |
CN113240435A (en) | Agricultural product safety credible traceability system based on block chain | |
Noferesti et al. | A signature-based approach of correctness assurance in data outsourcing scenarios | |
CN111953546A (en) | Internet of things equipment management method based on block chain system and intelligent home system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |