Agricultural product whole-process standardized management method and system, terminal and storage medium

By generating identification codes and QR codes for agricultural products using blockchain technology, the problems of information asymmetry and lack of standardized management in the agricultural product market have been solved, enabling the sharing of agricultural product information and the convenience of transactions, and improving the stability of the supply chain and transaction efficiency.

CN119006200APending Publication Date: 2024-11-22浪潮(山东)农业互联网有限公司 +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411043616.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-31
Publication Date
2024-11-22

AI Technical Summary

Technical Problem

Information asymmetry and a lack of standardized management exist in the agricultural product market, resulting in a fragile supply chain that makes it difficult to achieve accurate market feedback, quality assurance, and low transaction efficiency.

Method used

By using blockchain technology to generate user accounts, obtain agricultural product testing data and generate identification codes, print QR codes for standardized management of agricultural products, and use smart contracts to automate the transaction process and share information.

Benefits of technology

It has enabled full-process monitoring and standardized management of agricultural product information, improved transaction convenience and consumer trust, and enhanced the resilience of the supply chain and transaction efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119006200A_ABST
    Figure CN119006200A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of block chains, and particularly provides an agricultural product whole-process standardized management method and system, a terminal and a storage medium, and the method comprises the steps: generating a user account based on user registration data, and applying for a block for the user account in a block chain; acquiring detection data of agricultural products of a user account, generating an identification code based on the detection data, and uploading basic information of the agricultural products of the corresponding batch and the identification code to a block of the user account; generating a two-dimensional code based on the basic information and the identification code, and printing a two-dimensional code used for being pasted on the outer package of the agricultural product of the corresponding batch; receiving an agricultural product transaction request initiated by a user side; and querying the basic information and the identification code of the target agricultural product matched with the agricultural product transaction request from the block chain, and generating a transaction process between the user side and a user account to which the target agricultural product belongs. According to the invention, the whole-process monitoring of the agricultural product standard is ensured, and the convenience of agricultural product transaction is also improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the field of blockchain technology, and specifically relates to a method, system, terminal and storage medium for standardized management of the entire process of agricultural products. Background Art

[0002] At present, the agricultural product market is facing multiple challenges, the most notable of which are the information asymmetry between producers and demanders, and the lack of standardized management of agricultural products. These two major problems together have created an unstable foundation for the agricultural product supply and marketing industry chain.

[0003] The deepening impact of information asymmetry: In the agricultural product market, it is often difficult for producers to accurately grasp the dynamics of market demand, price trends and subtle changes in consumer preferences, while demanders also find it difficult to directly understand the actual production situation, quality assurance and supply stability of agricultural products. This information gap not only exacerbates market volatility, but also easily leads to a mismatch between supply and demand. Specifically, producers may blindly plant or raise due to lack of market feedback, which will eventually lead to an oversupply of certain agricultural products and a crisis of unsalable products; while demanders may choose to import or other substitutes due to lack of trust in information such as the quality and source of agricultural products, further compressing the market space for local agricultural products.

[0004] The dilemma of standardized management of agricultural products: There are many types of agricultural products, and the growth environment, planting technology, processing procedures, etc. are very different, which makes it particularly difficult to achieve comprehensive standardized management. The lack of a unified quality standard and certification system not only confuses consumers when choosing, but also increases the risk of agricultural product quality and safety. At the same time, the non-standardized production model also limits the branding and scale development of agricultural products, making it difficult to form market competitiveness. In addition, due to the lack of standards, agricultural products often cause disputes during the transaction process due to inconsistent quality and confusing specifications, which increases transaction costs.

[0005] Fragility of the supply and marketing industry chain: The above-mentioned problems of information asymmetry and lack of standardized management are intertwined, and together they weaken the resilience of the agricultural product supply and marketing industry chain. On the one hand, the lack of trust and poor communication between upstream and downstream supply chains make information transmission inefficient and difficult to effectively respond to market changes; on the other hand, the instability of agricultural product quality and the volatility of market demand have exacerbated the fragility of the supply chain. Once an emergency occurs, it is easy to cause a supply chain break, resulting in a shortage of agricultural product supply or a sharp rise or fall in prices, which has an adverse impact on both agricultural producers and consumers. Summary of the invention

[0006] In view of the above-mentioned deficiencies in the prior art, the present invention provides a method, system, terminal and storage medium for standardized management of the entire process of agricultural products to solve the above-mentioned technical problems.

[0007] In a first aspect, the present invention provides a method for standardized management of the entire process of agricultural products, comprising: Generate a user account based on user registration data, and apply for a block in the blockchain for the user account; Acquire the test data of the agricultural products of the user account, generate identification codes for the corresponding batches of agricultural products based on the test data and pre-defined standard identification rules, and upload the basic information of the corresponding batches of agricultural products and the identification codes to the block of the user account; Generate a QR code based on the basic information and the identification code, and print the QR code for pasting on the outer packaging of the corresponding batch of agricultural products; Receiving an agricultural product transaction request initiated by a user terminal, wherein the agricultural product transaction request includes target basic information and target standard information; The basic information and identification code of the target agricultural product that matches the target basic information and target standard information are queried from the blockchain, and a transaction process is generated between the user end and the user account to which the target agricultural product belongs.

[0008] In an optional embodiment, generating a user account based on user registration data and applying for a block in a blockchain for the user account includes: Receive user registration data, the user registration data including business entity information and basic condition information; the business entity information includes unified social credit code, enterprise name, enterprise type, industry, legal person name, region, geographic coordinates, registered capital, establishment time, customer service phone number, business license, origin information, honorary qualifications and credit rating; the basic condition information includes plot information, barn information or pond information; The user registration data is subject to qualification review, and a user account is generated after the review is passed.

[0009] In an optional embodiment, obtaining the test data of the agricultural products of the user account, generating an identification code for the corresponding batch of agricultural products based on the test data and a pre-defined standard identification rule, and uploading the basic information of the corresponding batch of agricultural products and the identification code to the block of the user account, including: Obtain the test data generated by the official system for agricultural products in the user account; Based on the standard recognition rules issued by the official system and the test data, confirm the standard grade achieved by the agricultural product, and the standard recognition rules define the corresponding relationship between the standard grade and the test data; Generate corresponding identification codes for corresponding batches of agricultural products based on the pre-set identification codes corresponding to each standard grade; The basic information of the corresponding batch of agricultural products and the identification code are uploaded to the block of the user account, wherein the basic information includes product type, origin and date of passing the inspection.

[0010] In an optional implementation, basic information and identification codes of target agricultural products matching target basic information and target standard information are queried from the blockchain, and a transaction process is generated between the user terminal and the user account to which the target agricultural products belong, including: Using smart contracts in the blockchain, comparing agricultural product records stored in the blockchain with the target basic information and target standard information, and screening out matching target agricultural products, wherein the agricultural product records include the basic information and identification code of the agricultural product; Identify the user identity corresponding to the user account to which the target agricultural product belongs through the identity authentication mechanism of the user end; Based on the pre-deployed transaction smart contract, a transaction process is generated between the user end and the user account to which the target agricultural products belong.

[0011] In an optional embodiment, the method further comprises: After receiving the target agricultural product, the user terminal scans the QR code of the target agricultural product and uploads the QR code information to the blockchain; Verify the consistency between the QR code information and the basic information and identification code of the target agricultural product in the blockchain; If the verification is successful, the digital currency prepaid by the user will be delivered to the user account of the target agricultural product, completing the transaction process; If the verification fails, an error message is generated and sent to the user account to which the target agricultural product belongs.

[0012] In a second aspect, the present invention provides a full-process standardized management system for agricultural products, comprising: A user registration module, used to generate a user account based on user registration data and apply for a block in the blockchain for the user account; A standard authentication module, used to obtain the test data of the agricultural products of the user account, generate an identification code for the corresponding batch of agricultural products based on the test data and pre-customized standard identification rules, and upload the basic information of the corresponding batch of agricultural products and the identification code to the block of the user account; A product identification module, used to generate a QR code based on the basic information and the identification code, and print the QR code for pasting on the outer packaging of the corresponding batch of agricultural products; A request receiving module, used to receive an agricultural product transaction request initiated by a user terminal, wherein the agricultural product transaction request includes target basic information and target standard information; The transaction generation module is used to query the basic information and identification code of the target agricultural product that matches the target basic information and target standard information from the blockchain, and generate a transaction process between the user end and the user account to which the target agricultural product belongs.

[0013] In an optional implementation, the user registration module includes: A data receiving unit is used to receive user registration data, wherein the user registration data includes business entity information and basic condition information; the business entity information includes unified social credit code, enterprise name, enterprise type, industry, legal person name, region, geographic coordinates, registered capital, establishment time, customer service telephone number, business license, origin information, honorary qualifications and credit rating; the basic condition information includes plot information, barn information or pond information; The account generation unit is used to perform qualification review on the user registration data and generate a user account after the review is passed.

[0014] In an optional embodiment, the standard authentication module includes: A test acquisition unit, used to acquire test data generated by an official system for agricultural products of a user account; A standard recognition unit, used to confirm the standard grade achieved by the agricultural product based on the standard recognition rules issued by the official system and the test data, wherein the standard recognition rules define the corresponding relationship between the standard grade and the test data; An identification generating unit, for generating corresponding identification codes for corresponding batches of agricultural products based on the preset identification codes corresponding to each standard grade; The information uploading unit is used to upload the basic information of the corresponding batch of agricultural products and the identification code to the block of the user account, wherein the basic information includes product type, origin and date of passing the inspection.

[0015] In a third aspect, a terminal is provided, including: processor, memory, wherein: The memory is used to store computer programs. The processor is used to call and run the computer program from the memory, so that the terminal executes the above-mentioned terminal method.

[0016] According to a fourth aspect, a computer storage medium is provided, wherein the computer-readable storage medium stores instructions, and when the instructions are executed on a computer, the computer executes the methods described in the above aspects.

[0017] The beneficial effect of the present invention is that the method, system, terminal and storage medium for standardized management of agricultural products throughout the entire process provided by the present invention realize the sharing of agricultural product information by uploading agricultural product information and the standards achieved by agricultural products to the blockchain, ensure the full-process monitoring of agricultural product standards, and improve the convenience of agricultural product transactions.

[0018] In addition, the invention has a reliable design principle, a simple structure and a very broad application prospect. BRIEF DESCRIPTION OF THE DRAWINGS

[0019] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0020] Figure 1 is a schematic flow chart of a method according to an embodiment of the present invention.

[0021] Figure 2 is a schematic block diagram of a system according to an embodiment of the present invention.

[0022] Figure 3 A schematic diagram of the structure of a terminal provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0023] In order to enable those skilled in the art to better understand the technical solutions in the present invention, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.

[0024] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art of the present invention. The terms used in the specification of the present invention herein are only for the purpose of describing specific embodiments and are not intended to limit the present invention.

[0025] The agricultural product full-process standardized management method provided by the embodiment of the present invention is executed by a computer device, and accordingly, the agricultural product full-process standardized management system runs in the computer device.

[0026] Figure 1 is a schematic flow chart of a method according to an embodiment of the present invention. Figure 1 The execution entity can be a standardized management system for the entire process of agricultural products. According to different needs, the order of the steps in the flowchart can be changed, and some can be omitted.

[0027] like Figure 1 As shown, the method includes: Step 110, generating a user account based on the user registration data, and applying for a block in the blockchain for the user account; Step 120, obtaining the test data of the agricultural products of the user account, generating an identification code for the corresponding batch of agricultural products based on the test data and a pre-defined standard identification rule, and uploading the basic information of the corresponding batch of agricultural products and the identification code to the block of the user account; Step 130, generating a QR code based on the basic information and the identification code, and printing the QR code for pasting on the outer packaging of the corresponding batch of agricultural products; Step 140, receiving an agricultural product transaction request initiated by a user terminal, wherein the agricultural product transaction request includes target basic information and target standard information; Step 150, query the basic information and identification code of the target agricultural product that matches the target basic information and target standard information from the blockchain, and generate a transaction process between the user terminal and the user account to which the target agricultural product belongs.

[0028] To facilitate understanding of the present invention, the full-process standardized management method for agricultural products provided by the present invention is further described below based on the principle of the full-process standardized management method for agricultural products of the present invention and in combination with the process of full-process standardized management of agricultural products in the embodiments.

[0029] Specifically, the standardized management methods for the entire process of agricultural products include: S1. Generate a user account based on user registration data, and apply for a block in the blockchain for the user account.

[0030] Receive user registration data, the user registration data including business entity information and basic condition information; the business entity information includes unified social credit code, enterprise name, enterprise type, industry, legal person name, region, geographic coordinates, registered capital, establishment time, customer service telephone number, business license, place of origin information, honorary qualifications and credit rating; the basic condition information includes plot information, barn information or pond information; conduct qualification review on the user registration data, and generate a user account after the review is passed.

[0031] Specifically, user accounts include planting users, breeding users and processing users.

[0032] The identification of planting users is as follows: a. Standard maintenance. The relevant departments maintain the relevant recognized standards.

[0033] b. Entity identification. After the standard is maintained, business entities with standardized identification needs can submit unified social credit code, enterprise name, enterprise type, industry, legal person name, region, geographic coordinates, registered capital, establishment time, customer service phone number, business license and other basic enterprise information, as well as origin information, honorary qualifications and credit information to apply for identification. At the same time, it provides an entry for official and other management agencies to conduct audits, helping relevant departments to quickly review the relevant qualifications of enterprises, and can also facilitate the query of identification process files.

[0034] c. Identification of plots / pens / ponds. Business entities that need to identify plots / pens / ponds shall submit basic information on the plots / pens / ponds, including the plot name, contractor, landowner’s contract period, term of use, geographical location, planting / breeding varieties, plot area (mu), average annual output (kg), etc. If approved, the identification of the plots / pens / ponds will be completed and a relevant QR code will be generated to facilitate the subsequent uploading of planting / breeding process data to the chain in the backend.

[0035] d. Product certification. Enter the basic product information, standard information, production process, certification information, and testing information. After all the information is filled in at one time, the administrator will review and certify the product information in the background.

[0036] e. Farmer identification. Support related enterprises, cooperatives and other main units to apply for farmer identification, enter the name, gender, position, phone number, recent photo, notes and other information of the grower and breeder, configure the staff, edit and modify their personnel information and add new personnel. The management end will approve the identification of the relevant farmers after review in the background, so as to trace the management of agricultural operations later.

[0037] The identification of breeding users includes: a. Farming plan. The main administrator can add a new farming plan, including information such as operation type, operation time, operator, target product, etc. The execution status of the farming plan can be quickly checked through the farming calendar.

[0038] b. Farming records. After farmers carry out farming operations, they upload farming records through mobile phone APP, including: operation time, operators, agricultural machinery used, materials used, farming photos, operation content and other information, and realize the agricultural record data chain.

[0039] c. Harvest records. During the harvest period, harvesters enter harvesting information such as harvesting plots, harvesting types, harvesting quantities, and quality through a mobile phone APP, upload harvesting information, and put harvesting data on the chain.

[0040] d. Input management. Input management includes input procurement and input usage records, and full traceability control of the production source, supplier, quality standard, usage, production time, procurement time, and usage time of agricultural inputs.

[0041] e. IoT monitoring. By using wireless networks such as 4G / 5G and WIFI, IoT monitoring devices are bound to the IoT platform to achieve real-time intelligent management and control, real-time video display, real-time environmental data supervision, and early warning of equipment and environmental anomalies. The growth information of breeding products can be controlled and managed, and data support can be provided for mastering the growth environment, production dynamics, and disaster early warning, while also enabling IoT monitoring data to be uploaded to the chain.

[0042] The identification of processing users includes: a. Currency in and out of the warehouse. After purchasing currency, it supports storage in the warehouse by scanning the currency code through the mobile terminal, recording the warehouse entry number, product information, storage time, storage location, operator, etc.; at the same time, when the currency is sold or processed, it supports currency out of the warehouse, records the outgoing order number, outgoing product, location time and other information, and realizes the currency in and out of the warehouse data on the chain.

[0043] b. Product processing. Mainly record the processing time, product name, product quantity and other information of each batch of products, as well as the batch and batch information corresponding to the raw materials, and realize the product processing data on the chain.

[0044] c. Product entry and exit. After purchasing a product, it supports storage by scanning the product code on the mobile terminal, recording the entry order number, product information, storage time, storage location, operator, etc. At the same time, when the product is sold or processed, it supports the operation of currency outbound operation, recording the outbound order number, outbound product, location time and other information, and realizing the product entry and exit data chain.

[0045] S2. Acquire the test data of the agricultural products of the user account, generate an identification code for the corresponding batch of agricultural products based on the test data and pre-customized standard identification rules, and upload the basic information of the corresponding batch of agricultural products and the identification code to the block of the user account.

[0046] Acquire the test data generated by the official system for the agricultural products of the user account; confirm the standard grade achieved by the agricultural products based on the standard recognition rules issued by the official system and the test data, the standard recognition rules defining the correspondence between the standard grade and the test data; generate corresponding identification codes for the corresponding batches of agricultural products based on the pre-set identification codes corresponding to each standard grade; upload the basic information of the corresponding batch of agricultural products and the identification code to the block of the user account, the basic information including product type, origin and date of passing the inspection.

[0047] Specifically, the following steps are included: First of all, users need to ensure that their agricultural products have been fully tested for quality by officially recognized testing agencies. These tests usually cover the appearance, nutritional content, pesticide residues, heavy metal content and other aspects of agricultural products to ensure the safety and quality of agricultural products. Users access the official system through a specific interface or platform and successfully obtain detailed test data generated for the agricultural products under their account. These data are presented in electronic form, including but not limited to specific test indicators, values ​​and qualified judgment results.

[0048] Next, the system will automatically compare the test data obtained from the official system with the official agricultural product standard recognition rules. These standard recognition rules are pre-set and clearly define the range of indicators that different agricultural products should meet, as well as the correspondence between these indicator ranges and different standard grades. The system automatically calculates the algorithm to match the test data with the standard rules to confirm the standard grade achieved by each batch of agricultural products. This process ensures the objectivity and accuracy of grade determination.

[0049] After determining the standard grade of agricultural products, the system will generate a unique identification code for each batch of agricultural products that meet specific standards according to pre-set rules. This identification code not only represents the standard grade of agricultural products, but also facilitates subsequent traceability and management. The generation of identification codes usually follows certain coding rules to ensure their uniqueness and readability throughout the supply chain. At the same time, the system will associate this identification code with key data such as batch information and standard grade of agricultural products to form a complete agricultural product information file.

[0050] Finally, the system will upload the basic information of the batch of agricultural products (such as product type, origin, date of inspection, etc.) and the generated identification code to the corresponding block of the user account on the blockchain through encryption and verification. Blockchain technology, due to its decentralized and tamper-proof characteristics, provides a strong guarantee for the storage and traceability of agricultural product information. Users can query the detailed information of their agricultural products at any time through the blockchain platform, including their standard grade, test data, identification code, etc., thereby enhancing consumers' trust and satisfaction with agricultural products.

[0051] S3. Generate a QR code based on the basic information and the identification code, and print the QR code for pasting on the outer packaging of the corresponding batch of agricultural products.

[0052] The user account will paste the printed QR code on the outer packaging of the relevant batch of agricultural products.

[0053] S4. Receive an agricultural product transaction request initiated by a user terminal, wherein the agricultural product transaction request includes target basic information and target standard information.

[0054] S5. Query the basic information and identification code of the target agricultural product that matches the target basic information and target standard information from the blockchain, and generate a transaction process between the user end and the user account to which the target agricultural product belongs.

[0055] By using the smart contract in the blockchain, the agricultural product records stored in the blockchain are compared with the target basic information and target standard information to screen out matching target agricultural products, wherein the agricultural product records include the basic information and identification code of the agricultural product; through the identity authentication mechanism of the user end, the user identity corresponding to the user account to which the target agricultural product belongs is identified; based on the pre-deployed transaction smart contract, a transaction process is generated between the user end and the user account to which the target agricultural product belongs.

[0056] After receiving the target agricultural products, the user terminal scans the QR code of the target agricultural products and uploads the QR code information to the blockchain; verifies the consistency between the QR code information and the basic information and identification code of the target agricultural products in the blockchain; if the verification is successful, the digital currency prepaid by the user terminal is delivered to the user account to which the target agricultural products belong, completing the transaction process; if the verification fails, an error message is generated and sent to the user account to which the target agricultural products belong.

[0057] The specific steps include: First, the system uses smart contracts deployed on the blockchain to perform screening operations. Smart contracts automatically access agricultural product records stored in the blockchain according to preset rules. These records contain detailed information about agricultural products, such as product type, origin, inspection date, identification code, etc. Users enter the basic information of the target agricultural products (such as product type, desired standard grade) and target standard information (such as specific quality standards or certification requirements) through the user terminal, and the smart contract then compares this information with the stored agricultural product records in the distributed database of the blockchain.

[0058] Through efficient indexing and search mechanisms, the smart contract can quickly screen out all agricultural products that match the target basic information and target standard information to form a candidate list. This list is then presented to the user for further selection and confirmation.

[0059] After the user confirms the transaction intention, the system starts the user's identity authentication mechanism. This usually includes entering a username, password, verification code, or using biometric technology (such as fingerprint, facial recognition) to verify the user's identity. Once the user's identity is verified, the system will be able to identify the user account that belongs to the target agricultural products.

[0060] Based on the verified user identity and target agricultural product information, a pre-deployed specific transaction smart contract is triggered. This smart contract specifies the transaction conditions, steps, and digital currency transfer rules in detail. It ensures the automated execution of transactions and reduces human intervention and potential fraud risks.

[0061] The smart contract generates a detailed transaction process between the user end and the user account of the target agricultural product, including transaction amount, payment conditions, delivery method, etc. After confirming that the transaction terms are correct, the user end can choose to continue the transaction or modify it.

[0062] When the transaction process is confirmed, the user will use a scanning tool to scan the QR code on the agricultural product when receiving the target agricultural product. This QR code contains the unique identification code and basic information of the agricultural product, which is used to verify the authenticity and integrity of the agricultural product.

[0063] The user uploads the scanned QR code information to the blockchain, and the smart contract triggers the verification mechanism. The verification process includes comparing the basic information and identification code of the target agricultural products stored in the blockchain with the uploaded QR code information to see if they are completely consistent.

[0064] If the verification is successful: the smart contract confirms the authenticity and validity of the transaction, and then automatically executes the transfer of digital currency. The digital currency prepaid by the user end is safely delivered to the user account to which the target agricultural product belongs, and the transaction status is updated as completed on the blockchain. Users can view transaction records and transaction details through the user end.

[0065] If the verification fails: the smart contract will generate a detailed error message, indicating the specific reason for the verification failure (such as the QR code information does not match, the agricultural product has been sold, etc.). This error message is then sent to the user account to which the target agricultural product belongs, notifying them that the transaction failed to complete successfully. At the same time, the user end will also receive a corresponding notification so that they can understand the transaction failure and take appropriate measures (such as contacting the seller, applying for a refund, etc.).

[0066] In some embodiments, the agricultural product full-process standardization management system may include multiple functional modules composed of computer program segments. The computer program of each program segment in the agricultural product full-process standardization management system may be stored in the memory of a computer device and executed by at least one processor to execute (see Figure 1 Description) Function of standardized management of the entire process of agricultural products.

[0067] In this embodiment, the agricultural product full-process standardized management system can be divided into multiple functional modules according to the functions it performs, such as Figure 2As shown. The functional modules of the system 200 may include: a user registration module 210, a standard authentication module 220, a product identification module 230, a request receiving module 240 and a transaction generating module 250. The module referred to in the present invention refers to a series of computer program segments that can be executed by at least one processor and can complete fixed functions, which are stored in a memory. In this embodiment, the functions of each module will be described in detail in subsequent embodiments.

[0068] A user registration module, used to generate a user account based on user registration data and apply for a block in the blockchain for the user account; A standard authentication module, used to obtain the test data of the agricultural products of the user account, generate an identification code for the corresponding batch of agricultural products based on the test data and pre-customized standard identification rules, and upload the basic information of the corresponding batch of agricultural products and the identification code to the block of the user account; A product identification module, used to generate a QR code based on the basic information and the identification code, and print the QR code for pasting on the outer packaging of the corresponding batch of agricultural products; A request receiving module, used to receive an agricultural product transaction request initiated by a user terminal, wherein the agricultural product transaction request includes target basic information and target standard information; The transaction generation module is used to query the basic information and identification code of the target agricultural product that matches the target basic information and target standard information from the blockchain, and generate a transaction process between the user end and the user account to which the target agricultural product belongs.

[0069] Optionally, as an embodiment of the present invention, the user registration module includes: A data receiving unit is used to receive user registration data, wherein the user registration data includes business entity information and basic condition information; the business entity information includes unified social credit code, enterprise name, enterprise type, industry, legal person name, region, geographic coordinates, registered capital, establishment time, customer service telephone number, business license, origin information, honorary qualifications and credit rating; the basic condition information includes plot information, barn information or pond information; The account generation unit is used to perform qualification review on the user registration data and generate a user account after the review is passed.

[0070] Optionally, as an embodiment of the present invention, the standard authentication module includes: A test acquisition unit, used to acquire test data generated by an official system for agricultural products of a user account; A standard recognition unit, used to confirm the standard grade achieved by the agricultural product based on the standard recognition rules issued by the official system and the test data, wherein the standard recognition rules define the corresponding relationship between the standard grade and the test data; An identification generating unit, for generating corresponding identification codes for corresponding batches of agricultural products based on the preset identification codes corresponding to each standard grade; The information uploading unit is used to upload the basic information of the corresponding batch of agricultural products and the identification code to the block of the user account, wherein the basic information includes product type, origin and date of passing the inspection.

[0071] Figure 3 This is a schematic diagram of the structure of a terminal 300 provided in an embodiment of the present invention. The terminal 300 can be used to execute the full-process standardized management method of agricultural products provided in an embodiment of the present invention.

[0072] The terminal 300 may include: a processor 310, a memory 320 and a communication unit 330. These components communicate via one or more buses. Those skilled in the art will appreciate that the server structure shown in the figure does not limit the present invention, and it may be a bus structure or a star structure, and may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently.

[0073] The memory 320 can be used to store the execution instructions of the processor 310, and the memory 320 can be implemented by any type of volatile or non-volatile storage terminal or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk. When the execution instructions in the memory 320 are executed by the processor 310, the terminal 300 can perform some or all of the steps in the following method embodiments.

[0074] The processor 310 is the control center of the storage terminal, and uses various interfaces and lines to connect various parts of the entire electronic terminal. It runs or executes software programs and / or modules stored in the memory 320, and calls data stored in the memory to perform various functions of the electronic terminal and / or process data. The processor can be composed of an integrated circuit (IC), for example, it can be composed of a single packaged IC, or it can be composed of multiple packaged ICs with the same or different functions. For example, the processor 310 can only include a central processing unit (CPU). In the embodiment of the present invention, the CPU can be a single computing core or multiple computing cores.

[0075] The communication unit 330 is used to establish a communication channel so that the storage terminal can communicate with other terminals, receive user data sent by other terminals or send user data to other terminals.

[0076] The present invention also provides a computer storage medium, wherein the computer storage medium may store a program, and when the program is executed, the program may include some or all of the steps in each embodiment provided by the present invention. The storage medium may be a magnetic disk, an optical disk, a read-only memory (ROM) or a random access memory (RAM).

[0077] Therefore, the present invention realizes the sharing of agricultural product information by uploading agricultural product information and the standards achieved by agricultural products to the blockchain, ensures the full process monitoring of agricultural product standards, and improves the convenience of agricultural product transactions. The technical effects that can be achieved by this embodiment can be found in the description above and will not be repeated here.

[0078] Those skilled in the art can clearly understand that the technology in the embodiments of the present invention can be implemented by means of software plus a necessary general hardware platform. Based on this understanding, the technical solution in the embodiments of the present invention, in essence or in other words, the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a disk or an optical disk, and other media that can store program codes, including several instructions for enabling a computer terminal (which can be a personal computer, a server, or a second terminal, a network terminal, etc.) to execute all or part of the steps of the methods described in each embodiment of the present invention.

[0079] In this specification, the same or similar parts between the various embodiments can be referred to each other. In particular, for the terminal embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the description in the method embodiment.

[0080] In the several embodiments provided by the present invention, it should be understood that the disclosed systems and methods can be implemented in other ways. For example, the system embodiments described above are only schematic. For example, the division of the modules is only a logical function division. There may be other division methods in actual implementation, such as multiple modules or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of systems or modules, which can be electrical, mechanical or other forms.

[0081] The modules described as separate components may or may not be physically separated, and the components shown as modules may or may not be physical modules, that is, they may be located in one place or distributed on multiple network modules. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0082] In addition, each functional module in each embodiment of the present invention may be integrated into one processing module, or each module may exist physically separately, or two or more modules may be integrated into one module.

[0083] Although the present invention has been described in detail with reference to the accompanying drawings and in combination with the preferred embodiments, the present invention is not limited thereto. Without departing from the spirit and essence of the present invention, a person of ordinary skill in the art may make various equivalent modifications or substitutions to the embodiments of the present invention, and these modifications or substitutions shall be within the scope of the present invention. Any person of ordinary skill in the art may easily think of changes or substitutions within the technical scope disclosed by the present invention, and these shall be within the scope of protection of the present invention.

Claims

1. A method for standardized management of the entire process of agricultural products, characterized in that: include: Generate a user account based on user registration data, and apply for a block in the blockchain for the user account; Acquire the test data of the agricultural products of the user account, generate identification codes for the corresponding batches of agricultural products based on the test data and pre-defined standard identification rules, and upload the basic information of the corresponding batches of agricultural products and the identification codes to the block of the user account; Generate a QR code based on the basic information and the identification code, and print the QR code for pasting on the outer packaging of the corresponding batch of agricultural products; Receiving an agricultural product transaction request initiated by a user terminal, wherein the agricultural product transaction request includes target basic information and target standard information; The basic information and identification code of the target agricultural product that matches the target basic information and target standard information are queried from the blockchain, and a transaction process is generated between the user end and the user account to which the target agricultural product belongs.

2. The method according to claim 1, characterized in that Generate a user account based on the user registration data, and apply for a block in the blockchain for the user account, including: Receive user registration data, the user registration data including business entity information and basic condition information; the business entity information includes unified social credit code, enterprise name, enterprise type, industry, legal person name, region, geographic coordinates, registered capital, establishment time, customer service phone number, business license, origin information, honorary qualifications and credit rating; the basic condition information includes plot information, barn information or pond information; The user registration data is subject to qualification review, and a user account is generated after the review is passed.

3. The method according to claim 1, characterized in that Acquiring the test data of the agricultural products of the user account, generating an identification code for the corresponding batch of agricultural products based on the test data and pre-customized standard identification rules, and uploading the basic information of the corresponding batch of agricultural products and the identification code to the block of the user account, including: Obtain the test data generated by the official system for agricultural products in the user account; Based on the standard recognition rules issued by the official system and the test data, confirm the standard grade achieved by the agricultural product, and the standard recognition rules define the corresponding relationship between the standard grade and the test data; Generate corresponding identification codes for corresponding batches of agricultural products based on the pre-set identification codes corresponding to each standard grade; The basic information of the corresponding batch of agricultural products and the identification code are uploaded to the block of the user account, wherein the basic information includes product type, origin and date of passing the inspection.

4. The method according to claim 1, characterized in that The basic information and identification code of the target agricultural product matching the target basic information and target standard information are queried from the blockchain, and a transaction process is generated between the user end and the user account to which the target agricultural product belongs, including: Using smart contracts in the blockchain, comparing agricultural product records stored in the blockchain with the target basic information and target standard information, and screening out matching target agricultural products, wherein the agricultural product records include the basic information and identification code of the agricultural product; Identify the user identity corresponding to the user account to which the target agricultural product belongs through the identity authentication mechanism of the user end; Based on the pre-deployed transaction smart contract, a transaction process is generated between the user end and the user account to which the target agricultural products belong.

5. The method according to claim 1, characterized in that The method further comprises: After receiving the target agricultural product, the user terminal scans the QR code of the target agricultural product and uploads the QR code information to the blockchain; Verify the consistency between the QR code information and the basic information and identification code of the target agricultural product in the blockchain; If the verification is successful, the digital currency prepaid by the user will be delivered to the user account of the target agricultural product, completing the transaction process; If the verification fails, an error message is generated and sent to the user account to which the target agricultural product belongs.

6. A standardized management system for the entire process of agricultural products, characterized in that: include: A user registration module, used to generate a user account based on user registration data and apply for a block in the blockchain for the user account; A standard authentication module, used to obtain the test data of the agricultural products of the user account, generate an identification code for the corresponding batch of agricultural products based on the test data and pre-customized standard identification rules, and upload the basic information of the corresponding batch of agricultural products and the identification code to the block of the user account; A product identification module, used to generate a QR code based on the basic information and the identification code, and print the QR code for pasting on the outer packaging of the corresponding batch of agricultural products; A request receiving module, used to receive an agricultural product transaction request initiated by a user terminal, wherein the agricultural product transaction request includes target basic information and target standard information; The transaction generation module is used to query the basic information and identification code of the target agricultural product that matches the target basic information and target standard information from the blockchain, and generate a transaction process between the user end and the user account to which the target agricultural product belongs.

7. The system according to claim 6, characterized in that The user registration module includes: A data receiving unit is used to receive user registration data, wherein the user registration data includes business entity information and basic condition information; the business entity information includes unified social credit code, enterprise name, enterprise type, industry, legal person name, region, geographic coordinates, registered capital, establishment time, customer service telephone number, business license, origin information, honorary qualifications and credit rating; the basic condition information includes plot information, barn information or pond information; The account generation unit is used to perform qualification review on the user registration data and generate a user account after the review is passed.

8. The system according to claim 6, characterized in that The standard authentication module includes: A test acquisition unit, used to acquire test data generated by an official system for agricultural products of a user account; A standard recognition unit, used to confirm the standard grade achieved by the agricultural product based on the standard recognition rules issued by the official system and the test data, wherein the standard recognition rules define the corresponding relationship between the standard grade and the test data; An identification generating unit, for generating corresponding identification codes for corresponding batches of agricultural products based on the preset identification codes corresponding to each standard grade; The information uploading unit is used to upload the basic information of the corresponding batch of agricultural products and the identification code to the block of the user account, wherein the basic information includes product type, origin and date of passing the inspection.

9. A terminal, characterized in that: include: Storage device, used to store the standardized management program of the whole process of agricultural products; A processor, used to implement the steps of the agricultural product full-process standardized management method as described in any one of claims 1-5 when executing the agricultural product full-process standardized management program.

10. A computer-readable storage medium storing a computer program, characterized in that: The readable storage medium stores a full-process standardization management program for agricultural products, and when the full-process standardization management program for agricultural products is executed by a processor, the steps of the full-process standardization management method for agricultural products as described in any one of claims 1-5 are implemented.