A management method for agricultural traceability data system based on blockchain technology

By deploying blockchain node equipment in cucumber planting areas and acquisition points, using smart contracts to evaluate cucumber quality and analyze traceability data, the problems of insufficient cucumber quality detection and insufficient application of blockchain technology have been solved, and the guarantee and rapid traceability of high-quality cucumbers have been achieved, and consumer satisfaction and brand image have been improved.

CN119359328BActive Publication Date: 2025-07-25ZHUHAI LIANZHEN TECHNOLOGY CO LTD
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202411921897.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-12-25
Publication Date
2025-07-25
Estimated Expiration
2044-12-25

AI Technical Summary

Technical Problem

In the existing technology, there is little attention to cucumber quality inspection, which leads to poor quality cucumbers entering the market, affecting the consumer experience and economic benefits of the industrial chain. Moreover, blockchain technology is not fully applied, making it difficult to quickly trace the source of the problem, increasing traceability costs and time.

Method used

Blockchain node equipment is deployed in cucumber planting areas and acquisition points, and the appearance quality, quality and processing methods of cucumbers are evaluated through smart contracts, transportation and storage methods are recorded, and the impact of planting environment and agricultural operations on cucumber quality is analyzed to achieve full-process traceability management.

Benefits of technology

It has increased the attention to cucumber quality inspection and the application of blockchain technology, ensuring that consumers buy high-quality cucumbers, reducing quality fluctuations, enhancing consumer trust and brand image, and achieving rapid traceability and complete data storage.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119359328B_ABST
    Figure CN119359328B_ABST
Patent Text Reader

Abstract

The present invention discloses a management method for agricultural traceability data system based on blockchain technology, which relates to the technical field of agricultural data management. In the present invention, blockchain node devices are deployed in cucumber planting areas and acquisition points, cucumber parameters are obtained and encrypted and uploaded to the blockchain network. After evaluating the appearance quality coefficient, quality coefficient and quality coefficient with the help of a smart contract, they are encrypted and stored. Based on the quality coefficient stored in the blockchain, the smart contract judges the cucumber processing method, triggers the analysis process of the transportation and storage method for direct sales, records and notifies relevant enterprises for secondary processing, extracts data from the blockchain, the smart contract evaluates the environmental suitability coefficient of the planting area and the quality improvement coefficient of farming operations, analyzes the influencing factors and records them, highlighting the core support and optimization role of blockchain technology in data security, intelligent decision-making, traceability tracking and other aspects for agricultural traceability data management throughout the process.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of agricultural data management, and particularly relates to a management method for an agricultural traceability data system based on blockchain technology. Background Art

[0002] With the continuous improvement of people's requirements for food safety and the quality of agricultural products, the agricultural traceability system has become increasingly important. There are many problems in traditional agricultural traceability data management, such as difficult data collection, easy data tampering, unreasonable traceability chain management, serious information island phenomenon, low data storage security, and imperfect trust mechanism. The blockchain technology, with its characteristics of decentralization, immutability, and traceability, provides new ideas and methods for solving these problems. Therefore, it is particularly important to invent a management method for an agricultural traceability data system based on blockchain technology.

[0003] The prior art, such as an invention patent application with the publication number of CN110782258A, discloses an agricultural whole industry chain traceability system based on blockchain, including a technical support layer, a digital rural layer, an agricultural source supply chain layer, a supply and marketing layer, and a nutrition and health layer. Among them, there are associated relationships between the digital rural layer and the cooperatives, farmers, and large enterprises in the agricultural source supply chain layer. The agricultural source supply chain platform is associated with an agricultural big data platform and can provide corresponding interfaces to be associated with other e-commerce platforms, that is, the traceability end information is associated with the commodity on other e-commerce platforms. The advantages are that this invention solves the trust problem, avoids human errors, breaks the traditional information island, that is, decentralization and immutability, creates a healthy agricultural product system, and increases income and efficiency for the industry.

[0004] The prior art also has the following defects, specifically reflected in: 1. In the prior art, the attention to the quality inspection of cucumbers is not high. If cucumber quality inspection is not carried out, some cucumbers with poor quality may enter the market at a lower price, and problems such as poor cucumber taste and defective appearance may occur, affecting the eating experience, reducing the trust in cucumber products, not only affecting the sales of cucumbers, but also having a negative impact on the market of related processed products, and reducing the economic benefits of the entire cucumber industry chain.

[0005] 2. In the prior art, the attention to blockchain technology is not high, the information is incoherent and lacks a unified standard. When problems need to be traced, it is difficult to quickly and accurately find the source of the problem, increasing the time and cost of tracing, not conducive to taking timely measures to solve the problem, reducing the participation and experience of consumers, thus hindering the improvement of cucumber quality, resulting in large fluctuations in product quality and difficult to guarantee safety. Summary of the Invention

[0006] The object of the present invention is to provide a management method for an agricultural traceability data system based on blockchain technology, which solves the problems existing in the background technology.

[0007] To solve the above technical problems, the present invention adopts the following technical solutions: The present invention provides a management method for an agricultural traceability data system based on blockchain technology, including: Step 1, quality inspection and data uploading to the chain. Deploy blockchain node devices in each cucumber planting area and acquisition point, randomly sample according to a preset ratio from each batch of cucumbers to obtain each sample cucumber of each batch, obtain the parameters of each sample cucumber of each batch, encrypt the parameter data by using the encryption algorithm of the blockchain, and upload it to the blockchain network through the blockchain node. The smart contract automatically obtains the encrypted data, evaluates the appearance quality coefficient of each sample cucumber of each batch according to a predefined formula, evaluates the quality coefficient of each sample cucumber of each batch, and further evaluates the quality coefficient of each batch of cucumbers, and encrypts and stores it in the blockchain.

[0008] Step 2, processing method analysis and blockchain decision-making. Based on the quality coefficients of each batch of cucumbers stored in the blockchain, use the blockchain smart contract to analyze the processing methods of each batch of cucumbers. If the processing method of the cucumbers is direct sales, record the decision result and related data on the blockchain, and at the same time trigger the smart contract process for analyzing the transportation and storage methods of each batch of cucumbers. If the processing method of the cucumbers is secondary processing, the smart contract records the relevant batch information on the blockchain and notifies the relevant processing enterprise nodes.

[0009] Step 3, influencing factor analysis and blockchain traceability. Extract the information of each batch of cucumbers processed by secondary processing from the blockchain, and extract the data of the planting areas of each batch of cucumbers from the blockchain nodes corresponding to the planting area monitoring stations. The smart contract automatically obtains the data, evaluates the environmental suitability coefficient of cucumbers in each planting area according to a predefined formula, evaluates the coefficient for improving the quality of cucumbers by farming operations in each planting area, and analyzes the influencing factors on the quality of cucumbers based on the environmental suitability coefficient of cucumbers in each planting area and the coefficient for improving the quality of cucumbers by farming operations in each planting area, and records the relevant information on the blockchain.

[0010] Preferably, the specific analysis method for evaluating the appearance quality coefficient of each sample cucumber of each batch is as follows:

[0011] The smart contract extracts the thorn tumor density, thorn tumor hardness, and uniformity of the cucumbers from the parameters of each sample cucumber of each batch, and evaluates the appearance quality coefficient of each sample cucumber of each batch. The calculation formula is: , where represents the appearance quality coefficient of the i-th sample cucumber in the p-th batch, , , respectively represent the thorn tumor density, thorn tumor hardness, and uniformity of the i-th sample cucumber in the p-th batch, 、 、 respectively represent the suitable thorn tumor density, suitable thorn tumor hardness, and suitable uniformity of cucumbers stored in the blockchain, 、 、 respectively represent the weight factors of the suitable thorn tumor density, suitable thorn tumor hardness, and suitable uniformity of cucumbers stored in the blockchain. p represents the serial number of each batch of cucumbers, ,q is a positive integer greater than 2, and i represents the serial number of each sample cucumber, ,j is a positive integer greater than 2, and e represents the natural constant, 、 、 , 。

[0012] Preferably, the method for specifically analyzing the quality coefficient of each batch and each sample cucumber is as follows: The smart contract extracts the astringency, carotene content, and seed maturity of cucumbers from the parameters of each batch and each sample cucumber, and then evaluates the quality coefficient of each batch and each sample cucumber. The calculation formula is: ,where represents the quality coefficient of the i-th sample cucumber in the p-th batch, 、 、 respectively represent the astringency, carotene content, and seed maturity of the i-th sample cucumber in the p-th batch, 、 、 respectively represent the suitable astringency, suitable carotene content, and suitable seed maturity of cucumbers stored in the blockchain.

[0013] Preferably, the method for specifically analyzing the quality coefficient of each batch of cucumbers is as follows: Based on the appearance quality coefficient of each batch and each sample cucumber and the quality coefficient of each batch and each sample cucumber, evaluate the quality coefficient of each batch of cucumbers. The calculation formula is: ,where represents the quality coefficient of the p-th batch of cucumbers, 、 respectively represent the weight factor of the appearance quality coefficient of cucumbers stored in the blockchain and the weight factor of the quality coefficient of cucumbers. j represents the number of sample cucumbers, , , 。

[0014] Preferably, the processing methods of each batch of cucumbers are analyzed by using a blockchain smart contract. The specific analysis method is as follows: the smart contract extracts the quality coefficients of each batch of cucumbers and compares them with the quality coefficients of suitable cucumbers stored in the blockchain. If the quality coefficient of a certain batch of cucumbers is higher than the quality coefficient of the suitable cucumbers stored in the blockchain, the smart contract automatically determines that the processing method of this batch of cucumbers is direct sales, and each batch of cucumbers for direct sales is obtained. If the quality coefficient of a certain batch of cucumbers is lower than the quality coefficient of the suitable cucumbers stored in the blockchain, the smart contract automatically determines that the processing method of this batch of cucumbers is secondary processing, and each batch of cucumbers for secondary processing is obtained, thereby obtaining the processing methods of each batch of cucumbers.

[0015] Preferably, the transportation and storage methods of each batch of cucumbers are analyzed. The specific analysis method is as follows: the smart contract extracts the distances of each sales address of the cucumbers and compares them with the corresponding transportation distance ranges of normal temperature transportation and storage, cold chain transportation and storage, and controlled atmosphere transportation and storage stored in the blockchain through the blockchain smart contract. If the distance of a certain sales address of the cucumbers is within the corresponding transportation distance range of normal temperature transportation and storage stored in the blockchain, the smart contract automatically determines that the transportation and storage method of the cucumbers at this sales address is normal temperature transportation and storage. If the distance of a certain sales address of the cucumbers is within the corresponding transportation distance range of cold chain transportation and storage stored in the blockchain, the smart contract automatically determines that the transportation and storage method of the cucumbers at this sales address is cold chain transportation and storage. If the distance of a certain sales address of the cucumbers is within the corresponding transportation distance range of controlled atmosphere transportation and storage stored in the blockchain, the smart contract automatically determines that the transportation and storage method of the cucumbers at this sales address is controlled atmosphere transportation and storage.

[0016] The normal temperature transportation and storage refers to the goods transportation method carried out under the natural environmental temperature without special temperature control for the transportation environment. The cold chain transportation and storage refers to that during the whole transportation process, the cucumbers always maintain a certain temperature range, and the temperature range is determined according to the quality coefficient of the cucumbers. The controlled atmosphere transportation and storage refers to that on the basis of a refrigerated truck, professional gas regulation equipment is equipped, and during the transportation process, according to the respiration of the cucumbers and the gas changes in the carriage, the gas concentration is adjusted in time to extend the fresh-keeping period of the cucumbers.

[0017] Preferably, the temperature range is determined according to the quality coefficient of cucumbers. The specific analysis method is as follows: Based on the historical transportation and storage data stored in the blockchain, the smart contract extracts the quality coefficients of cucumbers in each cold-chain transportation and storage before transportation and the quality coefficients of cucumbers in each cold-chain transportation and storage after transportation, calculates the change in the quality coefficient of cucumbers in each cold-chain transportation and storage, and compares it with the safe change in the quality coefficient of cucumbers stored in the blockchain. If the change in the quality coefficient of cucumbers in a certain cold-chain transportation and storage is higher than the safe change, the smart contract automatically determines that the temperature range of this cold-chain transportation and storage is unqualified. If the change in the quality coefficient of cucumbers in a certain cold-chain transportation and storage is lower than the safe change, the smart contract automatically determines that the temperature range of this cold-chain transportation and storage is qualified. After obtaining the temperature ranges of each qualified cold-chain transportation and storage, the smart contract makes a comparison among them to determine the minimum and maximum values of the temperature, and respectively takes them as the minimum and maximum values of the temperature range suitable for cucumber transportation and storage, and encrypts and stores them on the blockchain. At the same time, during the transportation process, the blockchain technology is used to monitor the temperature sensor data of the transportation vehicle in real time. If the temperature exceeds the set range, the smart contract immediately triggers a warning message and notifies the relevant parties.

[0018] Preferably, the environmental suitability coefficient of cucumbers in various planting areas is evaluated. The specific analysis method is as follows: The smart contract extracts the light intensity, soil humidity, and temperature from the environmental data of various planting areas to evaluate the environmental suitability coefficient of cucumbers in various planting areas. The calculation formula is: , where represents the environmental suitability coefficient of cucumbers in the m-th planting area, , , respectively represent the light intensity, soil humidity, and temperature in the m-th planting area, , , respectively represent the suitable light intensity, suitable soil humidity, and suitable temperature of cucumbers stored in the blockchain, , , respectively represent the weight factor of the suitable light intensity, the weight factor of the suitable soil humidity, and the weight factor of the suitable temperature of cucumbers stored in the blockchain. m represents the number of various planting areas, , , , , .

[0019] Preferably, the method for specifically analyzing the coefficient of improving cucumber quality by farming operations in each planting area is as follows: The smart contract extracts the farming operation data of each planting area, evaluates the coefficient of improving cucumber quality by pesticides in each planting area, evaluates the coefficient of improving cucumber quality by chemical fertilizers in each planting area, and then evaluates the coefficient of improving cucumber quality by farming operations in each planting area. The calculation formula is: , where represents the coefficient of improving cucumber quality by farming operations in the m-th planting area, represents the coefficient of improving cucumber quality by pesticides in the m-th planting area, represents the coefficient of improving cucumber quality by chemical fertilizers in the m-th planting area, and respectively represent the weight factors of the coefficient of improving cucumber quality by pesticides and the weight factors of the coefficient of improving cucumber quality by chemical fertilizers stored in the blockchain.

[0020] Preferably, the method for analyzing the influencing factors of cucumber quality is as follows: The smart contract extracts the environmental suitability coefficient of cucumbers in each planting area and the coefficient of improving cucumber quality by farming operations in each planting area, and compares them with the environmental suitability coefficient of cucumbers stored in the blockchain and the coefficient of improving cucumber quality by farming operations stored in the blockchain respectively. If the environmental suitability coefficient of cucumbers in a certain planting area is lower than the environmental suitability coefficient of cucumbers stored in the blockchain, the smart contract automatically determines that the environment in this planting area is abnormal and determines that the environment is an influencing factor of cucumber quality. If the coefficient of improving cucumber quality by farming operations in a certain planting area is lower than the coefficient of improving cucumber quality by farming operations stored in the blockchain, the smart contract automatically determines that the farming operations in this planting area are abnormal and determines that the farming operations are an influencing factor of cucumber quality.

[0021] The beneficial effects of the present invention are as follows: 1. In the present invention, the attention to cucumber quality detection is increased. The quality of cucumbers is detected from two aspects: appearance quality and quality. The cucumbers passing the quality detection are guaranteed in terms of appearance, taste and nutrition. Consumers can buy cucumbers with better quality, which improves the satisfaction of consumers with cucumbers and enhances the trust of consumers in cucumber products, thus promoting the consumption of cucumbers.

[0022] 2. In the present invention, the attention to blockchain technology is increased. Blockchain can completely record every link and data in the agricultural traceability process. All information from the soil and climate conditions of the farmland to the processing and transportation of agricultural products can be completely stored on the blockchain, which helps to improve the quality of cucumbers. When there are quality problems with cucumbers, rapid traceability can be achieved, which improves the confidence of consumers in cucumber products and is conducive to establishing a good brand image. BRIEF DESCRIPTION OF THE DRAWINGS

[0023] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the following will briefly introduce the accompanying drawings required for the description of the embodiments or the prior art. Obviously, the accompanying drawings in the following description are only some embodiments of the present invention. For those of ordinary skill in the art, without creative efforts, other drawings can be obtained based on these drawings.

[0024] Figure 1 It is a schematic flowchart of the implementation steps of the method of the present invention. Specific implementation manners

[0025] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some embodiments of the present invention, rather than all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts belong to the scope of protection of the present invention.

[0026] Refer to Figure 1 As shown, the present invention provides a method for managing an agricultural traceability data system based on blockchain technology, including: Step 1, quality inspection and data uploading to the blockchain. Deploy blockchain node devices in each cucumber planting area and acquisition point, randomly sample according to a preset ratio from each batch of cucumbers to obtain each sample cucumber of each batch, obtain the parameters of each sample cucumber of each batch, use the encryption algorithm of the blockchain to encrypt the parameter data, and upload it to the blockchain network through the blockchain node. The smart contract automatically obtains the encrypted data, evaluates the appearance quality coefficient of each sample cucumber of each batch according to a predetermined formula, evaluates the quality coefficient of each sample cucumber of each batch, and further evaluates the quality coefficient of each batch of cucumbers, and encrypts and stores it in the blockchain.

[0027] It should be noted that for the preset ratio, the analysis method is: extract each historical data from the database, and the historical data includes the ratio of each batch of cucumbers sold directly and each batch of cucumbers processed secondarily. For example, if the ratio of each batch of cucumbers sold directly and each batch of cucumbers processed secondarily is 9:1, the preset ratio is relatively low, such as 10%.

[0028] In a specific embodiment, the specific analysis method for evaluating the appearance quality coefficient of each sample cucumber of each batch is: the smart contract extracts the thorn tumor density, thorn tumor hardness, and uniformity of the cucumber from the parameters of each sample cucumber of each batch, and evaluates the appearance quality coefficient of each sample cucumber of each batch. The calculation formula is: , where represents the appearance quality coefficient of the i-th sample cucumber in the p-th batch, , , respectively represent the thorn tumor density, thorn tumor hardness, and uniformity of the i-th sample cucumber in the p-th batch, and and respectively represent the suitable thorn tumor density, suitable thorn tumor hardness, and suitable uniformity of cucumbers stored in the blockchain, and and respectively represent the weight factors of the suitable thorn tumor density, suitable thorn tumor hardness, and suitable uniformity of cucumbers stored in the blockchain. p represents the number of each batch of cucumbers, , q is a positive integer greater than 2, and i represents the number of each sample cucumber, , j is a positive integer greater than 2, and e represents the natural constant, and and , .

[0029] It should be noted that the thorn tumor density, thorn tumor hardness, and uniformity of each sample cucumber are obtained through computer vision processing and analysis to obtain the thorn tumor density and uniformity of cucumbers, and the hardness of each sample cucumber is obtained through a hardness tester. The suitable thorn tumor density, suitable thorn tumor hardness, and suitable uniformity of cucumbers, as well as the weight factors of the suitable thorn tumor density, suitable thorn tumor hardness, and suitable uniformity of cucumbers, are set by professionals.

[0030] In a specific embodiment, the method for specifically analyzing the quality coefficient of each batch and each sample cucumber is as follows: The smart contract extracts the astringency, carotene content, and seed maturity of cucumbers from the parameters of each batch and each sample cucumber, and then evaluates the quality coefficient of each batch and each sample cucumber. The calculation formula is: , where represents the quality coefficient of the i-th sample cucumber in the p-th batch, and and respectively represent the astringency, carotene content, and seed maturity of the i-th sample cucumber in the p-th batch, and and respectively represent the suitable astringency, suitable carotene content, and suitable seed maturity of cucumbers stored in the blockchain.

[0031] It should be noted that the astringency, carotene content, and seed maturity of each sample cucumber are obtained through high-performance liquid chromatography to obtain the astringency of each sample cucumber, through gas chromatography to obtain the carotene content of each sample cucumber, and through computer vision processing and analysis to obtain the seed maturity of each sample cucumber. The suitable astringency, suitable carotene content, and suitable seed maturity of cucumbers are set by professionals.

[0032] In the present invention, the attention to the quality inspection of cucumbers is increased. The quality of cucumbers is inspected from two aspects: appearance quality and quality. The cucumbers that pass the quality inspection are guaranteed in terms of appearance, taste, and nutrition. Consumers can buy cucumbers with better quality, which improves the satisfaction of consumers with cucumbers and enhances the trust of consumers in cucumber products, thus promoting the consumption of cucumbers.

[0033] In a specific embodiment, the method for specifically analyzing the quality coefficient of each batch of cucumbers is as follows: Based on the appearance quality coefficient of each sample cucumber in each batch and the quality coefficient of each sample cucumber in each batch, the quality coefficient of each batch of cucumbers is evaluated. The calculation formula is: , where represents the quality coefficient of the p-th batch of cucumbers, , respectively represent the weight factor of the appearance quality coefficient of cucumbers stored in the blockchain and the weight factor of the quality coefficient of cucumbers, and j represents the number of sample cucumbers, , , .

[0034] It should be noted that the weight factor of the appearance quality coefficient of cucumbers and the weight factor of the quality coefficient of cucumbers, as well as the appropriate quality coefficient of cucumbers, are set by professionals.

[0035] Step 2: Analysis of processing methods and blockchain decision-making. Based on the quality coefficients of each batch of cucumbers stored in the blockchain, the processing methods of each batch of cucumbers are analyzed using blockchain smart contracts. If the processing method of cucumbers is direct sales, the decision result and relevant data are recorded on the blockchain, and at the same time, the smart contract process for analyzing the transportation and storage methods of each batch of cucumbers is triggered. If the processing method of cucumbers is secondary processing, the smart contract records the relevant batch information on the blockchain and notifies the relevant processing enterprise nodes.

[0036] In a specific embodiment, the method for specifically analyzing the processing methods of each batch of cucumbers using blockchain smart contracts is as follows: The smart contract extracts the quality coefficients of each batch of cucumbers and compares them with the appropriate quality coefficients of cucumbers stored in the blockchain. If the quality coefficient of a certain batch of cucumbers is higher than the appropriate quality coefficient of cucumbers stored in the blockchain, the smart contract automatically determines that the processing method of this batch of cucumbers is direct sales, and the cucumbers in each batch for direct sales are obtained. If the quality coefficient of a certain batch of cucumbers is lower than the appropriate quality coefficient of cucumbers stored in the blockchain, the smart contract automatically determines that the processing method of this batch of cucumbers is secondary processing, and the cucumbers in each batch for secondary processing are obtained, and then the processing methods of each batch of cucumbers are obtained.

[0037] In a specific embodiment, the analysis of the transportation and storage methods for each batch of cucumbers is carried out as follows: The intelligent contract extracts the distances of each sales address of the cucumbers, and through the blockchain intelligent contract, it compares them with the corresponding transportation distance ranges of normal temperature transportation and storage, cold chain transportation and storage, and controlled atmosphere transportation and storage stored in the blockchain respectively. If the distance of a certain sales address of the cucumbers is within the transportation distance range corresponding to the normal temperature transportation and storage stored in the blockchain, the intelligent contract automatically determines that the transportation and storage method for this sales address of the cucumbers is normal temperature transportation and storage. If the distance of a certain sales address of the cucumbers is within the transportation distance range corresponding to the cold chain transportation and storage stored in the blockchain, the intelligent contract automatically determines that the transportation and storage method for this sales address of the cucumbers is cold chain transportation and storage. If the distance of a certain sales address of the cucumbers is within the transportation distance range corresponding to the controlled atmosphere transportation and storage stored in the blockchain, the intelligent contract automatically determines that the transportation and storage method for this sales address of the cucumbers is controlled atmosphere transportation and storage.

[0038] It should be noted that the transportation distance ranges corresponding to the normal temperature transportation and storage, cold chain transportation and storage, and controlled atmosphere transportation and storage are set by professionals.

[0039] The normal temperature transportation and storage refers to the goods transportation method carried out under the natural environmental temperature without special temperature control for the transportation environment. The cold chain transportation and storage refers to that during the whole transportation process, the cucumbers always maintain a certain temperature range, and the temperature range is determined according to the quality coefficient of the cucumbers. The controlled atmosphere transportation and storage refers to that on the basis of a refrigerated truck, professional gas regulation equipment is equipped, and during the transportation process, according to the respiration of the cucumbers and the gas changes in the carriage, the gas concentration is adjusted in time to extend the freshness preservation period of the cucumbers.

[0040] In a specific embodiment, the temperature range is determined according to the quality coefficient of cucumbers. The specific analysis method is as follows: Based on the historical transportation and storage data stored in the blockchain, the smart contract extracts the quality coefficient of cucumbers in each cold-chain transportation and storage before transportation and the quality coefficient of cucumbers in each cold-chain transportation and storage after transportation, calculates the change in the quality coefficient of cucumbers in each cold-chain transportation and storage, and compares it with the safe change in the quality coefficient of cucumbers stored in the blockchain. If the change in the quality coefficient of cucumbers in a certain cold-chain transportation and storage is higher than the safe change, the smart contract automatically determines that the temperature range of this cold-chain transportation and storage is unqualified. If the change in the quality coefficient of cucumbers in a certain cold-chain transportation and storage is lower than the safe change, the smart contract automatically determines that the temperature range of this cold-chain transportation and storage is qualified. After obtaining the temperature ranges of each qualified cold-chain transportation and storage, the smart contract compares them with each other to determine the minimum and maximum values of the temperature, and uses them as the minimum and maximum values of the temperature range suitable for cucumber transportation and storage respectively, and encrypts and stores them on the blockchain. At the same time, during the transportation process, the blockchain technology is used to monitor the temperature sensor data of the transportation vehicle in real time. If the temperature exceeds the set range, the smart contract immediately triggers a warning message and notifies the relevant parties.

[0041] It should be noted that the safe change in the quality coefficient of cucumbers stored in the blockchain is set by professionals.

[0042] Step 3: Analysis of influencing factors and blockchain traceability. Extract the information of each batch of cucumbers processed secondary from the blockchain, and extract the data of the planting areas of each batch of cucumbers from the blockchain nodes corresponding to the planting area monitoring stations. The smart contract automatically obtains the data and evaluates the environmental suitability coefficient of cucumbers in each planting area according to the established formula, and evaluates the improvement coefficient of the farming operations in each planting area on the quality of cucumbers. Based on the environmental suitability coefficient of cucumbers in each planting area and the improvement coefficient of the farming operations in each planting area on the quality of cucumbers, analyze the influencing factors on the quality of cucumbers and record the relevant information on the blockchain.

[0043] In a specific embodiment, the method for evaluating the environmental suitability coefficient of cucumbers in each planting area is as follows: The smart contract extracts the light intensity, soil humidity, and temperature from the environmental data of each planting area and evaluates the environmental suitability coefficient of cucumbers in each planting area. The calculation formula is: , where represents the environmental suitability coefficient of cucumbers in the mth planting area, , , respectively represent the light intensity, soil humidity, and temperature in the mth planting area, , , respectively represent the suitable light intensity, suitable soil humidity, and suitable temperature of cucumbers stored in the blockchain. , , respectively represent the weight factor of the suitable light intensity, the weight factor of the suitable soil humidity, and the weight factor of the suitable temperature for cucumbers stored in the blockchain. m represents the number of each planting area. , , , , .

[0044] It should be noted that the suitable light intensity, suitable soil humidity, and suitable temperature for cucumbers, as well as the weight factors of the suitable light intensity, suitable soil humidity, and suitable temperature, are set by professionals. The light intensity of each area is obtained through a photoelectric sensor, the soil humidity of each planting area is obtained through a soil humidity sensor, and the temperature of each planting area is obtained by querying the historical data or real-time data of the weather station. The light intensity, soil humidity, and temperature of each planting area refer to the average value within the monitoring time range.

[0045] In a specific embodiment, the method for specifically analyzing the coefficient of improving the quality of cucumbers by the farming operations in each planting area is as follows: The smart contract extracts the farming operation data of each planting area, evaluates the coefficient of improving the quality of cucumbers by pesticides in each planting area, evaluates the coefficient of improving the quality of cucumbers by chemical fertilizers in each planting area, and then evaluates the coefficient of improving the quality of cucumbers by the farming operations in each planting area. The calculation formula is: , where represents the coefficient of improving the quality of cucumbers by the farming operations in the m-th planting area, represents the coefficient of improving the quality of cucumbers by pesticides in the m-th planting area, represents the coefficient of improving the quality of cucumbers by chemical fertilizers in the m-th planting area, and respectively represent the weight factor of the coefficient of improving the quality of cucumbers by pesticides and the weight factor of the coefficient of improving the quality of cucumbers by chemical fertilizers stored in the blockchain.

[0046] It should be noted that the weight factor of the coefficient of improving the quality of cucumbers by pesticides and the weight factor of the coefficient of improving the quality of cucumbers by chemical fertilizers stored in the blockchain are set by professionals. The method for specifically analyzing the coefficient of improving the quality of cucumbers by pesticides in each planting area is as follows: The smart contract extracts the types, dosages, and frequencies of each pesticide used in each planting area, and then evaluates the coefficient of improving the quality of cucumbers by pesticides in each planting area. The calculation formula is: , where represents the coefficient of improving the quality of cucumbers by pesticides in the m-th planting area, , , They represent the type, dosage, and frequency of pesticide use in the mth planting area. , , They respectively indicate the appropriate type, dosage and frequency of use of pesticides.

[0047] It should also be noted that the type, dosage, and frequency of use of the appropriate pesticides are selected based on the type of pests and diseases. Through accurate diagnosis of pests and diseases, pesticides are selected in a targeted manner. Pesticides are used when cucumbers are infested with pests and diseases. Similarly, the improvement coefficient of fertilizers on cucumber quality in each planting area is obtained. I will not go into details again.

[0048] In a specific embodiment, the factors affecting cucumber quality are analyzed, and the specific analysis method is: the smart contract extracts the environmental suitability coefficient of cucumbers in each planting area and the improvement coefficient of agricultural operations on cucumber quality in each planting area, and compares them with the environmental suitability coefficient of cucumbers and the improvement coefficient of agricultural operations on cucumber quality stored in the blockchain respectively. If the environmental suitability coefficient of cucumbers in a certain planting area is lower than the environmental suitability coefficient of cucumbers stored in the blockchain, the smart contract automatically determines that the environment of the planting area is abnormal, and determines that the environment is an influencing factor of cucumber quality. If the improvement coefficient of agricultural operations on cucumber quality in a certain planting area is lower than the improvement coefficient of agricultural operations on cucumber quality stored in the blockchain, the smart contract automatically determines that the agricultural operations in the planting area are abnormal, and determines that the agricultural operations are an influencing factor of cucumber quality.

[0049] It should be noted that the improvement coefficient of the pesticide on the cucumber quality stored in the blockchain and the improvement coefficient of the fertilizer on the cucumber quality stored in the blockchain are set by professionals.

[0050] In the present invention, more attention is paid to blockchain technology. Blockchain can completely record every link and data in the agricultural traceability process. All information from farmland soil and climate conditions to agricultural product processing and transportation can be completely stored on the blockchain, which helps to improve the quality of cucumbers. When quality problems occur in cucumbers, they can be quickly traced, which increases consumer confidence in cucumber products and is conducive to establishing a good brand image.

[0051] The above contents are merely examples and explanations of the concept of the present invention. Those skilled in the art may make various modifications or additions to the specific embodiments described or replace them in a similar manner. As long as they do not deviate from the concept of the invention or exceed the scope defined by the present invention, they shall all fall within the protection scope of the present invention.

Claims

1. A management method for an agricultural traceability data system based on blockchain technology, characterized in that, Including: Step 1, Quality inspection and data uploading to the blockchain: Deploy blockchain node devices in each cucumber planting area and purchasing point. Randomly sample cucumbers from each batch according to a preset ratio to obtain sample cucumbers for each batch and each sample. Obtain the parameters of the sample cucumbers for each batch and each sample, encrypt the parameter data using the encryption algorithm of the blockchain, and upload it to the blockchain network through the blockchain node. The smart contract automatically obtains the encrypted data, evaluates the appearance quality coefficient of the sample cucumbers for each batch and each sample according to a predefined formula, evaluates the quality coefficient of the sample cucumbers for each batch and each sample, and further evaluates the quality coefficient of each batch of cucumbers, and encrypts and stores it in the blockchain; Step 2, Analysis of processing methods and blockchain decision-making: Based on the quality coefficients of each batch of cucumbers stored in the blockchain, use the blockchain smart contract to analyze the processing methods of each batch of cucumbers. If the processing method of the cucumbers is direct sales, record the decision result and related data on the blockchain, and at the same time trigger the smart contract process for analyzing the transportation and storage methods of each batch of cucumbers. If the processing method of the cucumbers is secondary processing, the smart contract records the relevant batch information on the blockchain and notifies the relevant processing enterprise nodes; Step 3, Analysis of influencing factors and blockchain traceability: Extract the information of each batch of cucumbers for secondary processing from the blockchain, and extract the data of the planting areas of each batch of cucumbers from the blockchain nodes corresponding to the planting area monitoring stations. The smart contract automatically obtains the data, evaluates the environmental suitability coefficient of cucumbers in each planting area according to a predefined formula, evaluates the coefficient for improving the quality of cucumbers by farming operations in each planting area, and analyzes the influencing factors on cucumber quality based on the environmental suitability coefficient of cucumbers in each planting area and the coefficient for improving the quality of cucumbers by farming operations in each planting area, and records the relevant information on the blockchain; The specific analysis method for evaluating the appearance quality coefficient of the sample cucumbers for each batch and each sample is as follows: The smart contract extracts the thorn tumor density, thorn tumor hardness, and uniformity of cucumbers from the parameters of each batch and each sample of cucumbers, and evaluates the appearance quality coefficient of each batch and each sample of cucumbers. The calculation formula is as follows: Among them, β pi represents the appearance quality coefficient of the i-th sample cucumber in the p-th batch, a pi , b pi , c pi respectively represent the thorn tumor density, thorn tumor hardness, and uniformity of the i-th sample cucumber in the p-th batch. a′, b′, and c′ respectively represent the suitable thorn tumor density, suitable thorn tumor hardness, and suitable uniformity of cucumbers stored in the blockchain. respectively represent the weight factors of the suitable thorn tumor density, the weight factors of the suitable thorn tumor hardness, and the weight factors of the suitable uniformity of cucumbers stored in the blockchain. p represents the number of each batch of cucumbers, p = 1, 2,..., q, q is a positive integer greater than 2, i represents the number of each sample cucumber, i = 1, 2,..., j, j is a positive integer greater than 2, and e represents the natural constant. The specific analysis method for evaluating the quality coefficient of the sample cucumbers for each batch and each sample is as follows: The smart contract extracts the astringency, carotene content, and seed maturity of cucumbers from the parameters of each batch and each sample of cucumbers, and then evaluates the quality coefficient of each batch and each sample of cucumbers. The calculation formula is as follows: Among them represents the quality coefficient of the i-th sample cucumber in the p-th batch, f pi , g pi , h pi respectively represent the astringency, carotene content, and seed maturity of the i-th sample cucumber in the p-th batch. f′, g′, and h′ respectively represent the suitable astringency, suitable carotene content, and suitable seed maturity of cucumbers stored in the blockchain.

2. The management method of an agricultural traceability data system based on blockchain technology according to claim 1, characterized in that, The specific analysis method for evaluating the quality coefficient of each batch of cucumbers is as follows: Based on the appearance quality coefficient of cucumbers in each batch and each sample, and the quality coefficient of cucumbers in each batch and each sample, the quality coefficient of cucumbers in each batch is evaluated. The calculation formula is as follows: where α p represents the quality coefficient of cucumbers in the p-th batch, respectively represent the weight factors of the appearance quality coefficient of cucumbers stored in the blockchain and the weight factors of the quality coefficient of cucumbers, and j represents the number of sample cucumbers, 3. The management method of an agricultural traceability data system based on blockchain technology according to claim 2, characterized in that, The specific analysis method for using the blockchain smart contract to analyze the processing methods of each batch of cucumbers is as follows: The smart contract extracts the quality coefficients of each batch of cucumbers, compares them with the quality coefficients of suitable cucumbers stored in the blockchain respectively. If the quality coefficient of a certain batch of cucumbers is higher than the quality coefficient of suitable cucumbers stored in the blockchain, the smart contract automatically determines that the processing method of this batch of cucumbers is direct sales, and obtains each batch of cucumbers for direct sales. If the quality coefficient of a certain batch of cucumbers is lower than the quality coefficient of suitable cucumbers stored in the blockchain, the smart contract automatically determines that the processing method of this batch of cucumbers is secondary processing, and obtains each batch of cucumbers for secondary processing, and further obtains the processing methods of each batch of cucumbers.

4. A management method for an agricultural traceability data system based on blockchain technology according to claim 3, characterized in that, The specific analysis method for analyzing the transportation and storage methods of each batch of cucumbers is as follows: The smart contract extracts the distances of each sales address of cucumbers, and through the blockchain smart contract, it compares them with the corresponding transportation distance ranges of normal temperature transportation and storage, cold chain transportation and storage, and controlled atmosphere transportation and storage stored in the blockchain respectively. If the distance of a certain sales address of cucumbers is within the transportation distance range corresponding to the normal temperature transportation and storage stored in the blockchain, the smart contract automatically determines that the transportation and storage method of cucumbers at this sales address is normal temperature transportation and storage. If the distance of a certain sales address of cucumbers is within the transportation distance range corresponding to the cold chain transportation and storage stored in the blockchain, the smart contract automatically determines that the transportation and storage method of cucumbers at this sales address is cold chain transportation and storage. If the distance of a certain sales address of cucumbers is within the transportation distance range corresponding to the controlled atmosphere transportation and storage stored in the blockchain, the smart contract automatically determines that the transportation and storage method of cucumbers at this sales address is controlled atmosphere transportation and storage; The normal temperature transportation and storage refers to the cargo transportation method carried out under the natural environmental temperature without the need for special temperature control of the transportation environment. The cold chain transportation and storage refers to that during the whole transportation process, cucumbers always maintain a certain temperature range, and the temperature range is determined according to the quality coefficient of cucumbers. The controlled atmosphere transportation and storage refers to that on the basis of a refrigerated truck, professional gas regulation equipment is equipped, and during the transportation process, the gas concentration is adjusted in a timely manner according to the respiration of cucumbers and the gas changes in the carriage to extend the freshness preservation period of cucumbers.

5. A management method for an agricultural traceability data system based on blockchain technology according to claim 4, characterized in that The temperature range is determined according to the quality coefficient of cucumbers, and the specific analysis method is as follows: Based on the historical transportation and storage data stored in the blockchain, the smart contract extracts the quality coefficients of cucumbers in each cold chain transportation and storage before transportation and the quality coefficients of cucumbers in each cold chain transportation and storage after transportation, calculates the change amount of the quality coefficients of cucumbers in each cold chain transportation and storage, and compares it with the safe change amount of the quality coefficients of cucumbers stored in the blockchain. If the change amount of the quality coefficients of cucumbers in a certain cold chain transportation and storage is higher than the safe change amount, the smart contract automatically determines that the temperature range of this cold chain transportation and storage is unqualified. If the change amount of the quality coefficients of cucumbers in a certain cold chain transportation and storage is lower than the safe change amount, the smart contract automatically determines that the temperature range of this cold chain transportation and storage is qualified. After obtaining the temperature ranges of each qualified cold chain transportation and storage, the smart contract makes a comparison with each other to determine the minimum and maximum values of the temperature, and respectively takes them as the minimum and maximum values of the temperature range suitable for cucumber transportation and storage, and encrypts and stores them on the blockchain. At the same time, during the transportation process, the temperature sensor data of the transportation vehicle is monitored in real time by using blockchain technology. If the temperature exceeds the set range, the smart contract immediately triggers a warning message and notifies the relevant parties.

6. The management method of an agricultural traceability data system based on blockchain technology according to claim 5, characterized in that, The specific analysis method for evaluating the environmental suitability coefficient of cucumbers in each planting area is as follows: The smart contract extracts the light intensity, soil humidity, and temperature from the environmental data of each planting area, and evaluates the environmental suitability coefficient of cucumbers in each planting area. The calculation formula is: where η m represents the environmental suitability coefficient of cucumbers in the m-th planting area, A m , B m , C m respectively represent the light intensity, soil humidity, and temperature in the m-th planting area, and A′, B′, and C′ respectively represent the suitable light intensity, suitable soil humidity, and suitable temperature of cucumbers stored in the blockchain. respectively represent the weight factors of the suitable light intensity, suitable soil humidity, and suitable temperature of cucumbers stored in the blockchain, and m represents the number of each planting area.

7. A management method for an agricultural traceability data system based on blockchain technology according to claim 6, characterized in that, The specific analysis method for evaluating the improvement coefficient of cucumber quality by farming operations in each planting area is as follows: The smart contract extracts the farming operation data of various planting areas, evaluates the improvement coefficient of pesticides on cucumber quality in various planting areas, evaluates the improvement coefficient of chemical fertilizers on cucumber quality in various planting areas, and then evaluates the improvement coefficient of farming operations on cucumber quality in various planting areas. The calculation formula is: λ m = μ m * κ1 + ρ m * κ2, where λ m represents the improvement coefficient of farming operations on cucumber quality in the m-th planting area, μ m represents the improvement coefficient of pesticides on cucumber quality in the m-th planting area, ρ m represents the improvement coefficient of chemical fertilizers on cucumber quality in the m-th planting area, and κ1 and κ2 respectively represent the weight factors of the improvement coefficient of pesticides on cucumber quality and the weight factor of the improvement coefficient of chemical fertilizers on cucumber quality stored in the blockchain.

8. A management method for an agricultural traceability data system based on blockchain technology according to claim 7, characterized in that The specific analysis method for analyzing the influencing factors of cucumber quality is as follows: The smart contract extracts the environmental suitability coefficients of cucumbers in various planting areas and the improvement coefficients of farming operations in various planting areas on cucumber quality, and compares them with the environmental suitability coefficients of cucumbers stored in the blockchain and the improvement coefficients of farming operations on cucumber quality stored in the blockchain respectively. If the environmental suitability coefficient of cucumbers in a certain planting area is lower than the environmental suitability coefficient of cucumbers stored in the blockchain, the smart contract automatically determines that the environment in this planting area is abnormal and determines that the environment is a factor affecting cucumber quality. If the improvement coefficient of farming operations in a certain planting area on cucumber quality is lower than the improvement coefficient of farming operations on cucumber quality stored in the blockchain, the smart contract automatically determines that the farming operations in this planting area are abnormal and determines that the farming operations are a factor affecting cucumber quality.

Citation Information

Patent Citations

  • Agricultural whole industry chain traceability system based on block chain

    CN110782258A

  • Agricultural product quality safety tracking device based on block chain

    CN114951010A

  • Agricultural production information tracing method based on block chain

    CN115879961A

  • Product quality accident tracing method and system based on block chain

    CN118278950A