Agricultural product yield quota and traceability label virtual-real anchoring method and system

By discretizing agricultural product output data into digital quota units and utilizing an output quota conservation anchoring and dynamic correction model, combined with IoT printing equipment, the problem of mismatch between traceability labels and output has been solved, thus achieving the credibility and traceability of traceability data.

CN122347431APending Publication Date: 2026-07-07FUYANG NORMAL UNIVERSITY

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
FUYANG NORMAL UNIVERSITY
Filing Date
2026-04-03
Publication Date
2026-07-07

AI Technical Summary

Technical Problem

Existing agricultural product traceability methods cannot guarantee that each traceability label strictly corresponds to the actual output, resulting in issues such as over-issuance or duplicate printing of labels, which affects the credibility and accuracy of traceability information.

Method used

Agricultural product output data is discretized into multiple digital output quota units. Through the output quota conservation anchoring model and the dynamic output credibility correction model, it is ensured that each traceability label corresponds one-to-one with the actual output, and the label is reliably printed and verified through IoT printing equipment.

Benefits of technology

This achieves a strict correspondence between traceability labels and actual output, improves the credibility and accuracy of traceability data, and ensures the transparency and traceability of the label generation process.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122347431A_ABST
    Figure CN122347431A_ABST
Patent Text Reader

Abstract

The application discloses a kind of agricultural product yield quota and traceability label virtual-real anchoring method and system, specifically related to agricultural digitization and agricultural product traceability management field, method includes obtaining authorized yield data and discretizing it into digital yield quota unit, establish yield quota pool and manage quota state by yield quota conservation anchoring model;After receiving label generation request, execute dynamic yield credibility correction model and freeze quota;Label printing task is sent to internet of things printing equipment;Generate receipt data and verify through label quota atomic consumption algorithm, ensure that yield quota and label generation are consistent;Upload receipt verification data and update available quota of quota pool.System adjusts yield data in real time, dynamically freezes and restores quota state and can be trusted printing verification, solve the problem of label overissue and data inconsistency, improve the credibility and traceability of traceability label, provide efficient, safe and dynamic adjustment solution for agricultural product traceability.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of agricultural digitalization and agricultural product traceability management. More specifically, this invention relates to a method and system for anchoring agricultural product output quotas to virtual and real traceability labels. Background Technology

[0002] With the continuous advancement of agricultural digitalization and agricultural product quality and safety supervision, agricultural product traceability has become an important means of ensuring food safety and consumer trust. Existing agricultural product traceability methods typically include: agricultural producers declaring yields, generating batch information, creating QR codes or RFID tags, and recording tag generation and distribution in a database to achieve traceable management of products from farm to table. However, these existing methods still have many technical problems in practical operation, affecting the credibility and accuracy of traceability information.

[0003] Current methods cannot guarantee a strict correspondence between each traceability label and the actual output. In practice, when generating labels, enterprises or cooperatives can only rely on the quantity recorded by the backend system, without a mechanism to link label generation to the approved output. This can lead to over-generation of labels, i.e., "over-issuance" or "double-spending," causing discrepancies between the output quota recorded in the database and the actual number of printed labels, increasing the difficulty of supervision, and potentially being exploited by illegal activities.

[0004] Existing publicly available literature 1 (Research and Implementation of Blockchain-Based Agricultural Product Traceability Scheme, 2025) proposes a blockchain-based agricultural product traceability scheme. This scheme ensures data transparency and trustworthiness through decentralized technology, effectively avoiding problems such as data tampering and over-issuance of labels. For example... Figure 1 As shown, the blockchain-based traceability scheme ensures that the generation of each tag is linked to the actual output, but it does not provide a precise method for linking the specific output amount with the tag.

[0005] Third, existing literature 2 (Reference: Research on the Introduction Strategy of Quality Improvement of Ecological Agricultural Products and Supply Chain Traceability Technology under Price Effect, 2025) proposes to improve the quality of agricultural products through traceability technology and studies the impact of the introduction of traceability technology on consumer trust. However, it does not propose precise control over each step in the label generation process, especially in the label printing process where there is no mechanism to ensure the atomicity of label generation, which easily leads to printing interruptions or duplicate printing problems. In addition, traditional methods lack a reliable verification mechanism for printing behavior. Printer operations may be tampered with or printing records may be forged. The system cannot determine whether the label has been truly generated. Even if the database shows that the label has been generated, the actual physical label may not have been printed or may have been printed repeatedly, resulting in an imbalance between digital output and actual labels, reducing the scientific validity and auditability of traceability data.

[0006] Therefore, there is an urgent need in this field for a method and system that can ensure a strict correspondence between agricultural product output and traceability labels, is controllable in operation, and has the ability to dynamically adjust and reliably verify. Summary of the Invention

[0007] To overcome the aforementioned deficiencies of the prior art, this invention provides a method and system for anchoring the virtual and physical production quotas of agricultural products with traceability labels. The method digitizes the verified production quota into a consumable quota and achieves a rigid one-to-one correspondence between the virtual production quota and the physical label through atomic printing consumption and dynamic correction mechanisms, thereby solving the problems mentioned in the background art.

[0008] To achieve the above objectives, the present invention provides the following technical solution:

[0009] A method for anchoring agricultural product output quotas to real-world traceability labels includes the following steps:

[0010] Step 1: Obtain the verified output data of agricultural producers and discretize it into multiple digital output quota units according to the agricultural product category and the smallest unit of measurement;

[0011] Step 2: Establish a production quota pool, set the digital production quota units to available, frozen, and consumed states, and execute the production quota conservation anchoring model;

[0012] Step 3: Receive the traceability label generation request and calculate the required production quota;

[0013] Step 4: Calculate the effective available quota using the dynamic production credibility correction model, perform quota verification, and put the quota into a frozen state;

[0014] Step 5: Send the label printing task to an IoT printing device with device authentication and trusted printing proof protocol functions;

[0015] Step 6: The printing device completes printing and generates receipt data. It generates a hash value and a trusted printing certificate based on the tag quota atomic consumption algorithm. If printing fails, the frozen quota is restored to usability.

[0016] Step 7: Upload the printed receipt and credible printed proof to the system verification module. After verification, the frozen amount will be transferred to the consumed status and the log will be recorded.

[0017] Step 8: Link and store the tag identifier, quota identifier, batch information and printing device information, and update the available quota.

[0018] As a further aspect of the present invention, the smallest unit of measurement in step one is the weight unit or quantity unit of agricultural products.

[0019] As a further aspect of the present invention, the status of the quota pool in step two includes available, frozen, and consumed, and is managed through a production quota conservation anchoring model.

[0020] As a further aspect of the present invention, before performing the freezing operation in step four, the effective quota is calculated using a dynamic production reliability correction model, which is based on environmental parameters, light intensity, humidity, and historical production data.

[0021] As a further embodiment of the present invention, the traceability label in step three includes a QR code label, an RFID label, or an electronic label, and each label is associated with a corresponding quota unit.

[0022] As a further aspect of the present invention, the printing receipt data in step six includes label identification, printing device identification, printing time, agricultural product batch information, and credible printing proof data.

[0023] As a further aspect of the present invention, in step seven, the frozen amount is transferred to the consumed state according to the number of prints. If printing fails or verification fails, the frozen amount is restored to usable status.

[0024] As a further aspect of the present invention, in step eight, the tag identifier, quota identifier, batch information and printing device information are associated and stored, and the available quota in the quota pool is updated.

[0025] As a further aspect of the present invention, the IoT printing device in step five is authenticated through a device certificate and a trusted printing certificate is generated.

[0026] A system for linking agricultural product output quotas with traceability labels, comprising: an output quota generation module for acquiring verified output and generating multiple digital output quota units; a quota management module for constructing an output quota pool and managing quota status through an output quota conservation anchoring model; a label request processing module for receiving label generation requests and performing quota freezing and dynamic output credibility correction model operations; a label generation module for sending printing tasks to IoT printing devices; a print receipt verification module for receiving print receipt hash values ​​and trusted printing proofs, performing label quota atomic consumption algorithm verification, and restoring frozen quotas in case of printing failure; a quota consumption module for transferring frozen quotas to a consumed state and logging after successful print receipt verification; and a data anchoring module for establishing a virtual-real correspondence between output quotas and labels and updating available quotas.

[0027] The technical effects and advantages of the present invention regarding the method and system for anchoring agricultural product yield quotas to virtual and real traceability labels are as follows:

[0028] This invention discretizes agricultural product output data into multiple digital output quota units and ensures strict conservation of output quotas through an output quota conservation anchoring model. This ensures that each traceability label corresponds one-to-one with the actual output data, avoiding the problem of over-issuance or duplicate issuance of labels and effectively improving the credibility of traceability data.

[0029] The system of this invention adjusts the production data in real time through a dynamic production credibility correction model, and monitors and records each step in the label generation process (such as quota freezing, label printing, etc.) to ensure the transparency of the entire label generation process, providing complete traceable records for easy later verification.

[0030] This invention acquires environmental data related to agricultural planting in real time and corrects the yield data based on a dynamic yield credibility correction model. This can address the impact of environmental factors (such as climate change and temperature changes) on actual yield, thereby improving the data accuracy in the traceability label generation process and avoiding inconsistencies between yield data and actual conditions. Attached Figure Description

[0031] Figure 1 This is a flowchart of the existing technology for agricultural product traceability based on blockchain.

[0032] Figure 2 This is a structural diagram of a virtual-real anchoring system for agricultural product output quotas and traceability labels according to the present invention.

[0033] Figure 3 This is a flowchart of a method for anchoring agricultural product output quotas and traceability labels to real and virtual data, according to the present invention. Detailed Implementation

[0034] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.

[0035] Example 1

[0036] This embodiment is applied to a fruit and vegetable production enterprise, a modern agricultural enterprise specializing in the planting, processing, packaging, and sales of fruits and vegetables. During the production process, this enterprise faces problems such as fluctuating yields, low accuracy of traceability labels, and complex supply chain management. Therefore, the enterprise introduced the present invention's method and system for anchoring agricultural product yield quotas to virtual and real traceability labels. Through real-time yield quota management and dynamic traceability label generation, it achieves efficient management and data traceability throughout the entire production process.

[0037] likeFigure 2 As shown, this invention discloses a virtual-real anchoring system for agricultural product output quotas and traceability labels (hereinafter referred to as "the system of this invention"). The system includes an output quota generation module, used to acquire the verified output data for each agricultural product variety and discretize the output data into digital output quota units, which are then allocated to each product; a quota management module, responsible for managing the output quota pool and managing the quota status (available, frozen, consumed) through an output quota conservation anchoring model; and a label request processing module, which processes label generation requests from warehouses or sales departments and freezes the corresponding quota according to the request, using dynamic output reliability... The system employs a calibration model; a label generation module sends traceability label generation tasks to IoT printing devices to ensure that the printed labels match the actual production quota; a print receipt verification module generates and verifies a receipt after label printing, using a hash algorithm to confirm whether the production quota has been correctly consumed; a quota consumption module transfers the frozen quota to a consumed state and logs it after successful verification of the print receipt; and a data anchoring module establishes a virtual-to-real correspondence between the production quota and the traceability label, and updates the available quota to ensure the accuracy and traceability of the traceability label information.

[0038] like Figure 3 As shown, this invention provides a method for anchoring agricultural product output quotas to traceability labels, comprising the following steps: obtaining the verified output data of the agricultural product producer, and discretizing and generating multiple digital output quota units according to the agricultural product category and the smallest unit of measurement; establishing an output quota pool, setting available, frozen, and consumed states for the digital output quota units, and executing an output quota conservation anchoring model; receiving a traceability label generation request and calculating the required output quota; using a dynamic output credibility correction model to calculate the effective available quota, performing quota verification, and transferring the quota to a frozen state; sending the label printing task to an IoT printing device with device identity authentication and a trusted printing proof protocol; the printing device completing printing and generating receipt data, generating a hash value and a trusted printing proof according to the label quota atomic consumption algorithm, and restoring the frozen quota to availability if printing fails; uploading the print receipt and trusted printing proof to the system verification module, and transferring the frozen quota to a consumed state and recording it in the log after successful verification; associating and storing the label identifier, quota identifier, batch information, and printing device information, and updating the available quota.

[0039] In this embodiment, apples, as one of the company's main products, have an approved production volume of 2,000 tons in 2024. This production volume data is assessed and approved by the agricultural authorities based on the company's actual production situation, market demand, climate, and other factors. This data serves as the basic data source in the system for subsequent production quota generation and label management.

[0040] First, the system retrieves the approved apple production data for 2024 from the enterprise's production database. After obtaining the approved production data, the system discretizes the production data, converting the 2000-ton apple production into multiple digitized production quota units. Each production quota unit represents 100 kilograms of apples (i.e., 0.1 tons). Through this discretization process, the 2000-ton production data is decomposed into 20,000 production quota units. Each unit will contain a unique identifier, and each unit corresponds to a specific apple variety, production date, and batch information. These production quota units will be stored in the quota pool management module, becoming the basic data used in the subsequent label generation process. The smallest unit of measurement is an agricultural product weight unit or quantity unit; in this embodiment, a weight unit of 100 kilograms (0.1 tons) is used as the smallest unit of measurement.

[0041] The system of this invention will convert the approved 2024 apple production data—2,000 tons—into 20,000 production quota units. Each quota unit represents 100 kilograms of apples, that is, the weight of each quota unit = 100 kilograms = 0.1 tons. These quota units have a unique identifier in the system of this invention and contain specific product information (such as apple variety, production date, batch number, etc.). The system of this invention stores these quota units in the quota pool management module as core data in the subsequent label generation process.

[0042] In the quota pool management module of this invention, 20,000 production quota units will be stored and their status managed. Each quota unit has a status field, which is used to mark the current usage status of the quota unit. The specific status includes the following three types: available status, indicating that these quota units have not been used and can be allocated to subsequent tag generation requests; frozen status, indicating that these quota units have been allocated and are waiting to be used.

[0043] The system of this invention uses a production quota conservation anchoring model to ensure that the sum of "available", "frozen", and "consumed" quotas in the quota pool does not exceed the initial approved production, thus guaranteeing that quotas will not be issued beyond authority or consumed repeatedly.

[0044]

[0045] in, For the initial approved production volume, The current "available" credit limit. The current "frozen" amount, This represents the current "consumed" quota. During system initialization, all quota units are in the "available" state, meaning they have not yet been allocated and are ready for subsequent tag generation. Each quota unit's status field in the system is marked as "available" and stored in the quota pool. When generating tags, the system changes the status of the relevant quota units to "frozen," at which point these quota units can no longer be allocated to other tasks; the "consumed" status indicates that these quota units have been consumed through the tag generation process, and their corresponding output has been fully utilized. At this point, the quota unit's status changes to "consumed," and these quota units no longer participate in subsequent operations. Through this status management mechanism, the system of this invention can ensure that the actual usage of output quotas is clear and traceable in each tag generation process.

[0046] The warehouse or sales department initiates a label generation request through the system of this invention. When the system receives the traceability label generation request, it first calculates the required production quota based on the number of labels needed. In this embodiment, each traceability label corresponds to 100 kg (0.1 ton) of apple production. Therefore, when the warehouse or sales department requests the generation of 500 labels, the system needs to extract 500 quota units from the quota pool, totaling 50 tons of apple production.

[0047] After calculation, the system automatically selects a corresponding number of "available" quota units from the quota pool and updates the status of these quota units to "frozen." A frozen status means that these quotas have been allocated and are awaiting use. In the frozen state, quota units no longer participate in other tasks or tag generation requests, ensuring that the quota units required for each tag generation are not over-issued. In this embodiment, the system changes the status of 500 quota units to "frozen" and records relevant information about these quota units, such as production date, variety, and batch number. At this point, these 500 quota units are locked and used only for the current tag generation task.

[0048] To ensure the accuracy of production data during tag generation, the system utilizes a dynamic production reliability correction model to adjust the production data in real time during each calculation and freezing of quota units. This ensures that the production data used for each tag generation is consistent with the actual production. The dynamic production reliability correction model monitors real-time environmental data (such as temperature, humidity, precipitation, and light intensity) and performs regression analysis based on historical production data to calculate correction factors, thereby adjusting the data in the quota pool. The specific formula is as follows:

[0049]

[0050] in: The corrected output. For the initial approved production volume, Let i be the weight of the i-th environmental factor. The correction coefficient for the i-th environmental factor represents the degree of its impact on yield. This model uses regression analysis to assess the impact of environmental data on actual yield and automatically corrects the yield data in the quota pool. For example, if excessive rainfall in a region leads to a decrease in apple yield, the system will automatically adjust the yield quota based on real-time climate data to ensure that the yield data at the time of label generation accurately reflects the actual production situation. In this embodiment, the initial approved yield for apples in 2024 was 2000 tons, but due to climate factors, the actual yield was 1760 tons. The system automatically adjusts the amount of "available quota" in the quota pool to ensure that the data in the quota pool always matches the actual yield.

[0051] After the dynamic output reliability correction is completed, the system of this invention will continue to execute the tag generation task and start the tag quota atomic consumption algorithm. The core purpose of this algorithm is to ensure that the output quota consumed when each tag is generated is consistent with the actual demand, and that the consumption operation is atomic, that is, it either succeeds completely or fails completely. Specifically, the system first calculates the total required output quota based on the number of tag generation requests, and then accurately allocates it according to the output quota represented by each tag. Each consumption operation is controlled by database transactions to ensure that the state transition of the quota unit (from "available" to "frozen") is an indivisible operation, avoiding partial success or partial failure due to system anomalies or operational errors. If any fault or interruption is encountered during the tag generation process (such as printing failure or system anomaly), the tag quota atomic consumption algorithm will immediately trigger a compensation mechanism to restore the frozen quota to an available state, avoiding irrecoverable loss of quota due to task failure. This atomicity guarantee mechanism ensures that each tag generation strictly consumes quota according to the approved output data, guaranteeing the accurate correspondence between the tag and the actual output, while ensuring the reliability of the entire production process, data consistency, and system efficiency.

[0052] The label generation module of this invention sends printing tasks to IoT printing devices equipped with device authentication and trusted printing verification protocols. These printing devices authenticate their identities through a secure communication channel with two-way certificate authentication, ensuring that the label printing tasks are not eavesdropped on, tampered with, or forged during transmission. When sending a printing task, the system transmits key information required for the task, such as label identifiers, quota identifiers, and batch information, to the printing device and authenticates its identity through device certificates, ensuring the security and authenticity of the printing tasks.

[0053] The printing equipment begins printing traceability labels according to the task instructions. Each label represents a specific quantity of apples produced and corresponds to a specific production quota unit. During the printing process, if any problem occurs with the equipment (such as printing failure), the system will trigger compensation logic, the frozen quota unit will be restored to an "available" state, and information such as the reason for the failure, the equipment status, and the number of failures will be recorded to ensure the accurate consumption of production quotas and the integrity of the system.

[0054] After the label printing is complete, the device generates a receipt, which includes the printing device identifier, label identifier, printing time, agricultural product batch information, and trusted printing verification data. This trusted printing verification data is a hash value signature generated by the device to ensure the printing process has not been tampered with and provides a basis for subsequent verification, ensuring the accuracy of the label generation and the integrity of the data.

[0055] The print receipt and trusted print verification data are uploaded to the system's verification module. This module performs a series of verifications on the receipt data. First, it verifies the hash value of the receipt using a hash algorithm. During the verification process, the system re-hashes the received receipt data and compares it with the hash value returned by the printing device. If they match, it indicates that the data has not been tampered with, and the receipt data is complete and trustworthy. If the hash values ​​do not match, the system assumes that the receipt data has been modified during transmission, thus refusing to continue processing the request and triggering an exception handling mechanism. While verifying the hash value of the receipt data, the system also verifies the identifier of the printing device by comparing it with the printing device information in the database to ensure that the printing device has not been replaced or forged. Only when the printing device authentication is successful will the receipt data continue to be processed.

[0056] Next, the system will verify the idempotency of the task (i.e., confirm whether the request is unique). If the verification is successful, the system will change the frozen quota unit to the "consumed" state and record relevant information in the log, including label identifier, printing device identifier, batch information, etc., to ensure that the correspondence between the label and the production quota is accurate, thereby making the label generation process more transparent and traceable.

[0057] After label generation and verification receipt completion, the data anchoring module will associate and store the label identifier, quota identifier, batch information, and printing device information. This data will be recorded along with other relevant information to ensure that the production quota and production batch information corresponding to each label can be accurately located in subsequent traceability queries. Furthermore, the system will update the available quota in the quota pool to ensure that the total amount in the quota pool always matches the initially approved production data.

[0058] Through this data anchoring process, the system of this invention establishes a virtual-to-real correspondence between production quotas and traceability labels, enabling each traceability label to accurately reflect the production quota consumed. This information will support cross-system and cross-entity supply chain collaboration, and through mapping, it will connect with the national traceability platform to achieve information sharing and efficient supply chain collaboration.

[0059] Example 2

[0060] This embodiment applies to a large-scale vegetable production enterprise that focuses on producing and selling different types of vegetables, such as carrots, spinach, and cucumbers. The enterprise's production process involves farmland, warehousing, and logistics in multiple regions, facing challenges such as production fluctuations, inaccurate label generation, and difficulties in supply chain coordination.

[0061] The system of this invention is configured identically to that of Embodiment 1, including a production quota generation module, a quota management module, a tag request processing module, a tag generation module, a print receipt verification module, a quota consumption module, and a data anchoring module. Through these modules, the system can achieve real-time management of production data and precise control of tag generation, ensuring a strict correspondence between tags and production quotas.

[0062] In this embodiment, the company's main product is carrots, with a verified output of 12,000 tons in 2024. This output data is assessed and verified by the agricultural authorities based on factors such as the company's production plan, climate conditions, and market demand. The system first retrieves the verified carrot output data from the company's output database and converts the 12,000-ton output data into multiple digitized output quota units, each representing 100 kilograms (0.1 tons) of carrots. Through this discretization process, the 12,000-ton output data is decomposed into 120,000 output quota units, each with a unique identifier and associated with information such as carrot variety, production date, and batch number. These quota units are ultimately stored in the quota pool management module as the basis for subsequent tag generation.

[0063] The smallest unit of measurement is the weight or quantity of agricultural products. In this embodiment, 100 kilograms (0.1 tons) is used as the smallest unit of measurement. Consistent with Embodiment 1, the system marks these quota units as "available" and stores them in the quota pool, ready for use in tag generation at any time.

[0064] When the warehousing or sales department initiates a label generation request, the system calculates the required production quota based on the requested number of labels and extracts the corresponding quota units from the quota pool. The system changes the status of these quota units to "frozen" and records relevant information, such as production date, variety, and batch number, to ensure that the production quota required for label generation matches the actual demand.

[0065] To ensure the accuracy of production data during label generation, this invention utilizes a dynamic production reliability correction model to adjust the production data in real time, ensuring that the production data used during label generation is consistent with the actual production. The dynamic production reliability correction model monitors real-time environmental data (such as temperature, humidity, precipitation, and light intensity) and performs regression analysis based on historical production data to calculate correction factors. This adjusts the data in the quota pool to ensure that the production data during label generation accurately reflects the actual production situation.

[0066] After dynamic output reliability correction is completed, the system initiates the tag quota atomic consumption algorithm. The core of this algorithm is to ensure that the output quota consumed each time a tag is generated matches the actual demand, and that the consumption operation is atomic—either completely successful or completely failed. Each consumption operation is controlled through database transactions, ensuring that the transition from "available" to "frozen" is an indivisible operation. In the event of a fault or system anomaly (such as printing failure), the system immediately triggers a compensation mechanism to restore the frozen quota to an available state, avoiding quota loss due to task failure.

[0067] The label generation module sends the generated print job to an IoT printing device equipped with device authentication and a trusted print verification protocol. These devices authenticate each other through a secure communication channel with two-way certificate authentication, ensuring the label print job is not tampered with during transmission. After completing label printing, the printing device generates receipt data, which includes the printing device identifier, label identifier, printing time, agricultural product batch information, and trusted print verification data. The trusted print verification data is signed with a hash value generated by the device, ensuring the printing process is not tampered with.

[0068] The printed receipt and trusted print proof data will be uploaded to the system's verification module. The system will then verify the receipt data using a hash algorithm. If the receipt hash value matches the hash value generated by the device, the data has not been tampered with and the receipt data is trusted. If verification fails, the system will refuse to process the request further and trigger an exception handling mechanism.

[0069] Upon successful verification, the system will change the frozen quota to a consumed state and record the relevant information in the log. The data anchoring module associates and stores tag identifiers, quota identifiers, batch information, and printing equipment information to ensure a clear correspondence between each tag and the actual production quota. This data will support subsequent traceability queries, helping regulatory authorities or consumers to query traceability information. Simultaneously, the system will update the available quota in the quota pool to ensure that the total amount in the quota pool always matches the initially approved production data.

[0070] Through this data anchoring process, the system ensures a real-world correspondence between each traceability label and its production quota, enabling each label to accurately reflect the production quota consumed. This provides support for supply chain collaboration across systems and entities, and through connection with the national traceability platform, it achieves information sharing and efficient supply chain collaboration.

[0071] The above description is merely a specific embodiment of this application, but the scope of protection of this application is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the scope of the technology disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.

[0072] In conclusion, the above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of the present invention should be included within the protection scope of the present invention.

Claims

1. A method for anchoring agricultural product output quotas to real and virtual traceability labels, characterized in that, Includes the following steps: Step 1: Obtain the verified output data of agricultural producers and discretize it into multiple digital output quota units according to the agricultural product category and the smallest unit of measurement; Step 2: Establish a production quota pool, set the digital production quota units to available, frozen, and consumed states, and execute the production quota conservation anchoring model; Step 3: Receive the traceability label generation request and calculate the required production quota; Step 4: Calculate the effective available quota using the dynamic production credibility correction model, perform quota verification, and put the quota into a frozen state; Step 5: Send the label printing task to an IoT printing device with device authentication and trusted printing proof protocol functions; Step 6: The printing device completes printing and generates receipt data. It generates a hash value and a trusted printing certificate based on the tag quota atomic consumption algorithm. If printing fails, the frozen quota is restored to usability. Step 7: Upload the printed receipt and credible printed proof to the system verification module. After verification, the frozen amount will be transferred to the consumed status and the log will be recorded. Step 8: Link and store the tag identifier, quota identifier, batch information and printing device information, and update the available quota.

2. The method for anchoring agricultural product output quotas to traceability labels according to claim 1, characterized in that, The smallest unit of measurement in step one is the weight or quantity of agricultural products.

3. The method for anchoring agricultural product output quotas to traceability labels according to claim 1, characterized in that, In step two, the status of the quota pool includes available, frozen, and consumed, and it is managed through the production quota conservation anchoring model.

4. The method for anchoring agricultural product output quotas to traceability labels according to claim 1, characterized in that, Before performing the freeze operation in step four, the effective quota is calculated using a dynamic production reliability correction model. The model is based on environmental parameters, light intensity, humidity, and historical production data.

5. The method for anchoring agricultural product output quotas to traceability labels according to claim 1, characterized in that, The traceability labels in step three include QR code labels, RFID labels, or electronic labels, and each label is associated with a corresponding quota unit.

6. The method for anchoring agricultural product output quotas to traceability labels according to claim 1, characterized in that, The data for printing the receipt in step six includes label identification, printing device identification, printing time, agricultural product batch information, and credible printing proof data.

7. The method for anchoring agricultural product output quotas to traceability labels according to claim 1, characterized in that, In step seven, the frozen amount is transferred to the consumed state according to the number of prints. If printing fails or verification fails, the frozen amount is restored to usable status.

8. The method for anchoring agricultural product output quotas to traceability labels according to claim 1, characterized in that, In step eight, the tag identifier, quota identifier, batch information and printing device information are associated and stored, and the available quota in the quota pool is updated.

9. The method for anchoring agricultural product output quotas to traceability labels according to claim 1, characterized in that, In step five, the IoT printing device is authenticated using a device certificate, and a trusted printing certificate is generated.

10. A system for anchoring agricultural product output quotas to real-world traceability labels, characterized in that, It includes a production quota generation module, used to obtain the approved production and generate multiple digital production quota units; a quota management module, used to build a production quota pool and manage the quota status through a production quota conservation anchoring model; a tag request processing module, used to receive tag generation requests and perform quota freezing and dynamic production credibility correction model operations; and a tag generation module, used to send printing tasks to IoT printing devices. The print receipt verification module is used to receive the print receipt hash value and trusted print proof, perform tag quota atomic consumption algorithm verification, and restore the frozen quota when printing fails. The quota consumption module is used to transfer the frozen quota to the consumed state and record the log after the printed receipt verification is passed; the data anchoring module is used to establish the virtual-real correspondence between the production quota and the tag, and update the available quota.