A traditional quality-oriented Chinese herbal medicine whole-process standardized intelligent planting management and control system and method

By using a quality mapping model and fuzzy control technology, the problem of the disconnect between standards and field operations in the Chinese medicinal herb planting management system has been solved. This has enabled digital management and automated control of data throughout the entire process, ensuring the stability of the quality of Chinese medicinal herbs and the reliable traceability of data.

CN123140609APending Publication Date: 2026-11-20SHENYANG INST OF APPL ECOLOGY CHINESE ACAD OF SCI
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611628010.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-10-21
Publication Date
2026-11-20

AI Technical Summary

Technical Problem

The existing Chinese medicinal herb planting management system lacks a digital decomposition mechanism, resulting in a disconnect between standards and field operations, insufficient ability to compare perceived data with standard thresholds, reliance on experience for harvesting judgments, lack of automatic control of primary processing parameters, risk of data tampering, fragmented data throughout the planting process, and a lack of closed-loop iterative optimization.

Method used

By using the authentic quality mapping model, the pharmacopoeia standards and authentic producing area characteristics are decomposed into five categories of rules, a three-dimensional standard template library is constructed, and the entire process of data is put on the blockchain. This generates GAP compliant planting files and traceability certificates. Combined with fuzzy control and rolling optimization to drive the equipment, harvesting instructions are output based on accumulated temperature and plant morphology scores, and the initial processing parameters are automatically controlled.

Benefits of technology

It has enabled the implementation of digital standards in the cultivation process of Chinese medicinal herbs, avoiding harvesting too early or too late, ensuring stable quality in the initial processing stage, providing an tamper-proof data traceability mechanism, and supporting the continuous optimization of cultivation standards.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123140609A_ABST
    Figure CN123140609A_ABST
Patent Text Reader

Abstract

The application provides a traditional Chinese medicinal material whole-process standardized intelligent planting management and control system and method based on genuine quality, which is applied to the technical field of intelligent planting management and control of traditional Chinese medicinal materials. A genuine quality mapping model decomposes the pharmacopoeia, Good Agricultural Practice (GAP) of traditional Chinese medicinal materials and characteristics of genuine producing areas into five types of rules to form a three-dimensional standard template library. A matching template generates a work schedule table, four types of data are compared with a standard threshold value, irrigation, fertilization, shading and ventilation equipment are driven by fuzzy control and rolling optimization, and a deviation threshold value pushes a disposal plan. Based on accumulated temperature, plant morphology and secondary metabolite accumulation level, a maturity scoring model outputs a harvesting index, and standard harvesting is controlled according to the pharmacopoeia property index to control primary processing. The whole-process chain generates a GAP file and a traceability certificate, laboratory detection outputs a correction amount to update the template library through regression inversion, and an optimized closed loop of planting detection is realized.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of intelligent planting and management technology for Chinese medicinal materials, and in particular to a standardized intelligent planting and management system and method for Chinese medicinal materials with a focus on authentic quality throughout the entire process. Background Technology

[0002] The current management and control of Chinese medicinal herb cultivation faces the following main technical problems. First, pharmacopoeia standards, quality management specifications for Chinese medicinal herb production, and characteristics of authentic producing areas are mostly in textual form, lacking a mechanism to digitize and break them down into executable rules such as soil parameter thresholds, environmental factor ranges, agronomic operation nodes, quality trait indicators, and primary processing parameters. This leads to a disconnect between standards and field operations, making it difficult for growers to accurately implement the standards. Second, existing agricultural IoT systems are mostly general-purpose environmental monitoring and irrigation control systems, lacking a three-dimensional standard template library for the authentic quality of Chinese medicinal herbs, covering varieties, production areas, and growth stages. The ability to compare and verify perceived data against standard thresholds and the capacity for multi-objective collaborative regulation are insufficient, and there is a lack of standardized contingency plans for deviations from thresholds.

[0003] Third, the timing of harvesting relies heavily on growers' experience, lacking a quantitative assessment mechanism that comprehensively evaluates multiple indicators such as accumulated temperature, plant morphology, and the accumulation level of secondary metabolites. Harvesting too early or too late affects the content of effective components. Fourth, the drying temperature curve and upper limit of moisture content in the initial processing stage are not closely linked to pharmacopoeia phenotypic indicators, and there is a lack of automated control methods for the washing, drying, and grading process parameters. Fifth, the operational, environmental, and quality data of the entire planting process are mostly stored in centralized databases, which pose a risk of tampering and lack an immutable evidence storage and traceability mechanism, making it difficult to reliably verify the identity of authentic medicinal materials. Sixth, laboratory quality test results are disconnected from planting process data, lacking a closed-loop iterative mechanism that uses regression analysis to determine the weight of each parameter's impact on quality, outputs threshold correction amounts, and updates the standard template library, preventing the continuous optimization of planting standards with production practice. Summary of the Invention

[0004] Other features and advantages of this application will become apparent from the following detailed description, or may be learned in part by practice of the invention.

[0005] According to one aspect of this application, a standardized intelligent planting and management method for Chinese medicinal herbs with a focus on authentic quality is provided. The method includes: digitally decomposing execution standards; using an authentic quality mapping model, pharmacopoeia standards, GAP specifications, and authentic producing area characteristics are decomposed into five categories of rules: soil parameter thresholds, environmental factor ranges, agronomic operation nodes, quality trait indicators, and primary processing parameters, forming a three-dimensional standard template library; receiving planting requests and identifying scenarios; obtaining the medicinal herb variety, planting area, plot latitude and longitude, and growth period; determining it as an authentic standard matching task; calling the corresponding template from the standard template library; and generating a full-cycle operation plan table containing time windows, parameter thresholds, and operation guidelines; and collecting four types of data: soil moisture, pH, organic matter, nitrogen, phosphorus, potassium, heavy metals, ambient temperature, light, atmosphere, rainfall, accumulated temperature, leaf morphology, root and stem growth and secondary metabolite accumulation levels, and workload. According to the comparison with standard thresholds, multi-objective control parameters are generated through fuzzy control and rolling optimization to drive irrigation, fertilization, shading and ventilation equipment. If the threshold is deviated, a standardized treatment plan is pushed. Based on the accumulated temperature, plant morphology and the accumulation level of secondary metabolites detected by near-infrared spectroscopy, a harvest index is output through a maturity comprehensive scoring model. If the standard is met, a harvest command is triggered, which is connected to the primary processing equipment. The drying temperature curve and the upper limit of moisture content are bound to pharmacopoeia phenotypic indicators to control the washing, drying and grading parameters. All process data is uploaded to the blockchain. Operation, environmental and quality data are written into the consortium blockchain to generate GAP compliant planting files and traceability certificates, and are bound to the unique ID code of authentic medicinal materials. The effective components and phenotypic indicators detected in the laboratory are associated with the planting process data. The parameter threshold correction amount is output through regression inversion to update the corresponding entries in the standard template library, realizing a closed loop of planting, testing and optimization.

[0006] Another aspect of this application is a standardized intelligent planting and management system for Chinese medicinal herbs with a focus on authentic quality, wherein the system is configured to execute the aforementioned standardized intelligent planting and management method for Chinese medicinal herbs with a focus on authentic quality by executing the executable instructions.

[0007] According to another aspect of this application, an electronic device includes: a first processor; and a memory for storing executable instructions of the first processor; wherein the first processor is configured to execute the above-described method for standardized intelligent planting and management of traditional Chinese medicinal materials throughout the entire process, guided by the principle of authentic quality, by executing the executable instructions.

[0008] According to another aspect of this application, a computer-readable storage medium is provided, on which a computer program is stored, which, when executed by a second processor, implements the above-described method for standardized and intelligent cultivation and management of traditional Chinese medicinal materials throughout the entire process, guided by the principle of authentic quality.

[0009] The beneficial effects of this application are as follows: The authentic quality mapping model decomposes pharmacopoeia standards, GAP specifications, and authentic producing area characteristics into five categories of rules: soil parameter thresholds, environmental factor ranges, agronomic operation nodes, quality trait indicators, and primary processing parameters, forming a three-dimensional standard template library; matching templates to generate operation plans; collecting four types of data—soil, environment, plants, and operations—and comparing them with standard thresholds, driving irrigation, fertilization, shading, and ventilation equipment through fuzzy control and rolling optimization, and pushing out disposal plans when deviating from the threshold; outputting a harvest index based on accumulated temperature, plant morphology, and secondary metabolite levels through a maturity scoring model, and controlling primary processing according to pharmacopoeia trait indicators when harvesting at the standard; generating GAP files and traceability certificates on the blockchain for the entire process, binding the unique ID code of authentic medicinal materials; and updating the template library by outputting threshold correction values ​​through laboratory testing via regression inversion, realizing an optimized closed loop for planting and testing.

[0010] This application aims to break down pharmacopoeia standards, GAP specifications, and the characteristics of authentic producing areas into five categories of executable rules, solving the problem of the disconnect between textual standards and field operations. Growers can directly follow the digital standards. A standard template library is constructed according to a three-dimensional index of variety, producing area, and growth stage, enabling differentiated standard matching for different authentic medicinal materials in different producing areas and at different growth stages, avoiding a one-size-fits-all approach with a generic planting template. Four types of sensing data are compared with standard thresholds in real time, and multi-objective control parameters are generated through fuzzy control and rolling optimization to drive the coordinated action of irrigation, fertilization, shading, and ventilation equipment. If the threshold is deviated from, an emergency response plan is automatically pushed to ensure a stable growing environment.

[0011] A comprehensive score based on accumulated temperature, plant morphology, and secondary metabolite levels outputs a harvest index, replacing empirical judgment and preventing harvesting too early or too late, which could lead to substandard effective ingredient content. The drying temperature curve and moisture content upper limit are linked to pharmacopoeia phenotypic indicators, automatically controlling washing, drying, and grading parameters to ensure stable quality in the initial processing stage. Operational, environmental, and quality data are written into the blockchain in an immutable manner, generating GAP compliance files and traceability certificates, linked to a unique identification code for authentic medicinal materials, supporting QR code verification of authenticity. Laboratory test results are used for regression inversion to output threshold correction values ​​and update the template library. Planting standards are continuously iterated with production practice, forming a virtuous cycle of planting, testing, and optimization. Attached Figure Description

[0012] Figure 1 This document illustrates a flowchart of a standardized and intelligent planting and management method for traditional Chinese medicinal materials with a focus on authentic quality, provided in an embodiment of this application. Figure 2 This illustration shows a structural diagram of a standardized intelligent planting and management system and method for traditional Chinese medicinal materials with a focus on authentic quality, provided in an embodiment of this application. Detailed Implementation

[0013] The preferred embodiments of the present invention will be described below with reference to the accompanying drawings. It should be understood that the preferred embodiments described herein are for illustration and explanation only and are not intended to limit the present invention.

[0014] In one implementation, Figure 1 The diagram illustrates a process flow chart of a standardized intelligent planting and management method for traditional Chinese medicinal materials with a focus on authentic quality, according to an embodiment of this application.

[0015] S101 is a digital breakdown of the implementation standard. Through the authentic quality mapping model, the pharmacopoeia standard, GAP specification and authentic producing area characteristics are broken down into five categories of rules: soil parameter thresholds, environmental factor ranges, agronomic operation nodes, quality trait indicators and primary processing parameters, forming a three-dimensional standard template library.

[0016] In one implementation, the standard digital dismantling loop control module sets dismantling paths and verification rules according to the differences in standard source types. Pharmacopoeia quality standards are analyzed item by item for each variety, GAP planting specifications are analyzed item by item, and authentic producing area characteristics are quantified one by one according to geographical and climatic factors. Any missing rule category for any source is marked as a missing item. If multiple retries fail to resolve the issue, the process is directly halted and manually revised, without entering the template library. The module sets the analysis granularity and extraction strategy according to the text structure differences of the three types of standard sources. For pharmacopoeia sources, the module uses medicinal material varieties as the analysis unit, extracting quantitative indicators from clauses such as content determination, trait identification, and inspection for each variety, and classifying them into the quality trait indicator category. For GAP planting specifications, the module uses specification items as the analysis unit, extracting operational requirements such as sowing, fertilization, irrigation, and pest and disease control for each item, and classifying them into the agronomic operation node category. For authentic producing area characteristics, the module uses geographical and climatic factors as the analysis unit, quantifying environmental parameters such as temperature, precipitation, altitude, and frost-free period one by one, and classifying them into the environmental factor interval category. Taking Astragalus membranaceus as an example, the pharmacopoeia source yields the content limits for astragaloside A and verbascoside glucoside; the GAP source yields the sowing depth range and topdressing frequency requirements; and the characteristics of the Hunyuan production area in Shanxi Province quantify the annual average temperature, annual precipitation, and altitude parameters. If any source lacks a corresponding rule category after parsing, it is marked as a missing item. If parsing fails after three retries, a circuit breaker is triggered, and the data is transferred to manual correction. Data from this source is not included in the template library.

[0017] After each round of decomposition, the authentic quality mapping model performs a completeness check on five categories of executable rules: soil parameter thresholds, environmental factor ranges, agronomic operation nodes, quality trait indicators, and primary processing parameters. If the check passes, the loop terminates and outputs a rule set; if the check fails, a structured error log is read to locate the missing rule category and the corresponding standard source paragraph, which serves as the basis for correction in the next round of decomposition. After each round of decomposition, the model performs a completeness check on the five categories of soil parameter thresholds, environmental factor ranges, agronomic operation nodes, quality trait indicators, and primary processing parameters. If any category lacks a corresponding rule, the check fails. If the check passes, the loop terminates and outputs a complete rule set; if the check fails, a structured error log is generated, recording the name of the missing category, the location of the corresponding standard source paragraph, and the reason for the missing item, which serves as the basis for correction in the next round of decomposition. Taking Angelica sinensis as an example, if the check finds that the primary processing parameter category is missing, the error log will locate the drying and processing clause under the Angelica sinensis section of the pharmacopoeia. If the validation fails, a 5-second delay is allowed before a targeted correction instruction is injected into the model. This instruction restricts the model to re-parse only the categories marked as missing; all other valid categories remain unchanged. For example, if a quality trait category is missing, the correction instruction restricts the model to re-parse only the content determination section under the ginseng section of the pharmacopoeia, extracting the total limits for ginsenoside Rg1 and ginsenoside Re. The re-parsed results proceed to the next round of validation. If the validation fails after three retries, a circuit breaker is triggered, and the model is marked for manual intervention.

[0018] If the verification fails, the system first waits in a delayed middleware. After the wait is complete, a targeted correction instruction is injected into the local quality mapping model, specifically targeting and re-disassembling categories with missing markings. Then, the system proceeds to the next round of verification. If the retry still fails, the system is tripped and marked for manual intervention. Once all five rule categories are complete, the module verifies each rule's parameter field, upper threshold, lower threshold, and weight coefficient. Taking goji berries as an example, in the soil organic matter content rule, the parameter field is recorded as "soil organic matter," the upper threshold field is recorded as "30 grams per kilogram," the lower threshold field is recorded as "15 grams per kilogram," and the weight coefficient field is recorded as "0.15." Since all four fields are not empty and the format conforms to the rules, the rule passes the structure verification. Templates with any missing field are not stored in the database. The module automatically triggers a retry to complete the field. If the field is still missing after three retries, the system is tripped and the data is marked as defective. The weight coefficients were determined using the analytic hierarchy process (AHP): the influence of five types of rules on the quality of authentic medicinal materials was used as the criterion layer. At least five experts in the field of medicinal herb cultivation and identification were invited to construct a judgment matrix. After consistency testing (consistency ratio CR < 0.1), the weights of each rule were calculated, and the weight results were rounded to two decimal places.

[0019] After rule validation passes, template structure validation is performed, checking each field by parameter, upper threshold, lower threshold, and weight coefficient. Templates with missing fields are not included in the database. If the missing fields are not found after a retry, a circuit breaker is triggered to mark the data as defective. The module implements a three-dimensional serialization constraint on template library construction tasks. Only one template construction task is allowed to be executed at a time for the same variety multiplied by production area multiplied by growth period, to avoid duplicate construction or overwriting of templates in the same dimension. Taking Astragalus multiplied by Hunyuan, Shanxi multiplied by seedling stage as an example, if a construction task for this dimension is already being executed, new requests for the same dimension enter a waiting queue. When the queue length exceeds 10, a temporary circuit breaker is triggered, suspending new database construction tasks until the queue is cleared.

[0020] Simultaneously, concurrent control is implemented for template library construction. Only one template construction task is executed at a time for the same variety multiplied by the production area and growth period. Requests exceeding this limit are queued, and if the queue overflows, a temporary circuit breaker is triggered to suspend library construction. After all requests pass, the templates are archived according to a three-dimensional index multiplied by variety, production area, and growth period, forming a three-dimensional standard template library for use in planting standard matching and real-time threshold comparison. After all verifications and concurrency control are passed, the module establishes index nodes according to the three dimensions of variety, production area, and growth period, and archives the rule sets to the corresponding nodes. For example, Astragalus multiplied by the Shanxi Hunyuan multiplied seedling stage template, and Angelica multiplied by the Gansu Minxian multiplied harvest stage template are respectively placed in their respective three-dimensional index positions. After archiving, a three-dimensional standard template library is formed. Templates in the library are available for downstream planting standard matching through a standard matching interface and for real-time threshold comparison through a threshold query interface.

[0021] S102 receives planting requests and identifies the scenario, obtains the medicinal herb variety, planting area, plot latitude and longitude and growth period, determines it to be a local standard matching task, calls the corresponding template in the standard template library, and generates a full-cycle operation plan table containing time windows, parameter thresholds and operation instructions.

[0022] In one implementation, the planting request identification and work plan generation module receives planting control requests initiated by users and completes five sequential steps: scene identification, parameter extraction, task determination, template matching, and work plan generation. The final output is a standardized work plan covering the entire growth cycle of medicinal herbs. The authentic quality mapping model serves as the conversion engine from template rules to work instructions in this stage. This conversion method is an optional implementation. Its inputs are the matched three-dimensional standard template and plot context parameters, and its output is a structured work plan item containing operation time windows, environmental parameter thresholds, and operation guidelines. The algorithm executes four sub-steps: template rule parsing, time window calculation, threshold mapping, and operation guide assembly.

[0023] First, the module receives planting requests and identifies the scene. It receives planting requests from the planting management terminal or application programming interface (API). The request message includes fields such as request type, user identifier, plot identifier, and timestamp. The scene identification algorithm classifies requests based on the request type field, categorizing them into three scenarios: creating a new planting plan, adjusting an existing plan, and querying work progress. Taking a Astragalus grower initiating a new planting plan as an example, the request type field is marked as "new plan," the scene identification algorithm determines it as a new planting plan scenario, and proceeds to the subsequent parameter extraction process.

[0024] Second, the module acquires and standardizes planting parameters. It extracts four core parameters from the request message: medicinal herb variety, planting area, plot latitude and longitude, and growth period. Simultaneously, it accesses the target plot's 7-day temperature, precipitation, and sunshine forecast data via a meteorological data interface as a fifth type of input. The parameter standardization rules are as follows: medicinal herb varieties are standardized to their pharmacopoeia names; planting areas are standardized to their administrative division codes; plot latitude and longitude are standardized to decimal numbers in the WGS84 coordinate system; the growth period is mapped according to the variety's preset growth period segmentation standard, without fixing the number and names of stages; and meteorological forecast data is standardized to a time series with 6-hour resolution. Taking Angelica sinensis planting in Minxian County, Gansu Province as an example, the extracted parameters are: medicinal herb variety Angelica sinensis, planting area Minxian County, Dingxi City, Gansu Province, plot latitude and longitude 104.03°E 34.43°N, and the growth period mapped to the seedling stage according to the Angelica sinensis variety standard. Simultaneously, the 7-day meteorological forecast for Minxian County is accessed, and after standardization, the parameters are written to the parameter cache.

[0025] Third, the task determination for matching the authentic origin standards. The module determines the task type based on the standardized medicinal herb varieties and planting areas. The determination logic is as follows: if the medicinal herb variety is included in the pharmacopoeia and the planting area belongs to the list of authentic producing areas for that variety, it is determined to be an authentic origin standard matching task. The list of authentic producing areas is defined according to "Chinese Authentic Medicinal Herbs" and the standards for Chinese medicinal herbs in various provinces, with county-level administrative divisions as the smallest unit. The list contains information on the authentic producing areas of no less than 50 commonly used Chinese medicinal herbs. Otherwise, it is determined to be a non-authentic, conventional planting task, and the module proceeds to the general planting template matching branch, which is an optional implementation method. Taking Astragalus membranaceus from Hunyuan, Shanxi as an example, Astragalus membranaceus is included in the pharmacopoeia, and Hunyuan, Shanxi is an authentic producing area for Astragalus membranaceus. The module determines it to be an authentic origin standard matching task, triggering the template library call process.

[0026] Fourth, the module uses a 3D standard template library for calling and matching. It constructs a 3D matching key by multiplying the medicinal herb variety by its planting area and growth period, and then calls the standard template library for precise matching. When a precise match is found, the corresponding template is directly retrieved; when no precise match is found, fuzzy matching is used as an optional fallback strategy, searching for the closest template based on geographical similarity of the production area and proximity of the growth period, and marking the matching degree. Taking the flowering period of Astragalus membranaceus in Longxi, Gansu as an example, the 3D matching key is Astragalus membranaceus multiplied by the flowering period of Longxi, Gansu. After a precise match is found, the template is retrieved. The template includes five categories of rules: soil parameter thresholds, environmental factor ranges, agronomic operation nodes, quality trait indicators, and primary processing parameters, as well as parameter items, upper threshold, lower threshold, and weight coefficients for each rule.

[0027] Fifth, the full-cycle operation plan is generated. The module converts the matched template rules into operation plan items through the local quality mapping model, generating operation time windows, environmental parameter thresholds, and operation guidelines for each item. The operation time windows are calculated based on the agronomic operation nodes in the template, combined with the sunrise and sunset data, accumulated temperature data corresponding to the plot's latitude and longitude, and the accessed meteorological forecast data; the environmental parameter thresholds are directly mapped to the upper and lower limits of the thresholds in the template; the operation guidelines are generated by assembling the template rule text with the characteristics of the variety. Taking the seedling stage of Astragalus membranaceus in Hunyuan, Shanxi as an example, the generated operation plan includes items such as an irrigation time window from 6:00 to 8:00 every day, an upper limit of environmental temperature threshold of 28℃ and a lower limit of 15℃, and operation guidelines such as stopping drip irrigation after the soil moisture reaches the target. The full-cycle operation plan covers all growth stages and is distributed to the multi-source sensing and real-time control unit as a control benchmark after generation.

[0028] S103 collects four types of data: soil moisture, pH, organic matter, nitrogen, phosphorus, potassium, heavy metals, ambient temperature, light, atmosphere, rainfall, accumulated temperature, leaf morphology, root and stem growth and secondary metabolite accumulation level, and workload. These data are compared with standard thresholds. Fuzzy control and rolling optimization are used to generate multi-objective regulation parameters to drive irrigation, fertilization, shading, and ventilation equipment. If the data deviates from the threshold, a standardized treatment plan is pushed out.

[0029] In one implementation, the multi-source sensing cyclic control module sets differentiated data collection rules according to sensing categories. This includes soil sensing, collecting data on five parameters: soil moisture, pH, organic matter, nitrogen, phosphorus, potassium, and heavy metals; environmental sensing, collecting data on five factors: temperature, humidity, light intensity, carbon dioxide, rainfall, and accumulated temperature; plant sensing, collecting data on leaf morphology, root and stem growth, NDVI / SPAD, and secondary metabolite accumulation levels; and operational sensing, collecting data on operation type, workload, and duration. If any data item is missing or abnormally collected, a retry cycle begins. If multiple retries fail, the system is directly tripped and marked as a sensing fault for manual investigation, without proceeding to subsequent control. The multi-source sensing cyclic control module collects planting data from four categories: soil, environment, plant, and operational data. It performs data verification, deviation correction, concurrent control, and equipment driving, ultimately outputting multi-objective collaborative control parameters and driving irrigation, fertilization, shading, and ventilation equipment. The fuzzy control and rolling optimization algorithm is the core control algorithm of this module. Its inputs are the deviations and rates of change of four types of sensing data from standard thresholds, and its outputs are four types of control parameters: irrigation duration, fertilizer application rate, shading net opening / closing degree, and ventilator speed. The algorithm consists of two interconnected modules: fuzzy control and rolling optimization. The fuzzy control module converts the deviations into a 7-level fuzzy set via a fuzzification interface, performs inference through a preset fuzzy rule base, and outputs the initial control value after defuzzification using the centroid method. The rolling optimization module, centered on the initial control value, performs finite-time domain optimization based on meteorological forecast data within a 4-step prediction time domain. The objective function is a weighted sum of minimizing deviation and minimizing equipment energy consumption. The control time domain is set to 2 steps, the sampling period is set to 10 minutes, and the optimal control parameters are output. The algorithm is integrated with the business logic as follows: the control parameters are directly mapped to the corresponding equipment execution instructions, and the correspondence between out-of-limit data items and equipment is maintained by a structured error log. The 7-level fuzzy set is {negative large, negative medium, negative small, zero, positive small, positive medium, positive large}, the membership function uses a triangular function, and the universe of discourse is [-3, 3]. The fuzzy rule base contains 49 basic rules, with typical rules such as: IF soil moisture deviation is negative and large AND deviation change rate is negative and medium THEN irrigation increment is positive and large; IF temperature deviation is positive and medium AND deviation change rate is zero THEN shading net opening degree is positive and small. Defuzzification uses the centroid method, with a discretization accuracy of 0.1.

[0030] The modules are configured with differentiated data collection rules based on the sensing category. Soil sensing collects data on five parameters: soil moisture, pH, organic matter, nitrogen, phosphorus, potassium, and heavy metals. Environmental sensing collects data on five factors: temperature, humidity, light intensity, carbon dioxide, rainfall, and accumulated temperature. Plant sensing collects data on leaf morphology, root and stem growth, NDVI / SPAD, and secondary metabolite accumulation levels. Operational sensing collects data on operation type, workload, and duration. Taking a seedling plot of Astragalus membranaceus in Hunyuan, Shanxi Province as an example, the soil sensor collected data on soil moisture of 18%, pH of 7.2, and organic matter of 22 g / kg. The weather station collected data on air temperature of 16℃ and light intensity of 32,000 lux. The visual terminal collected data on normal leaf morphology and NDVI of 0.68. The operation record showed that drip irrigation had been performed for 30 minutes that day. If any data item is missing or abnormally collected, a retry cycle is initiated. If the abnormality persists after three retry cycles, the system is directly shut down and marked as a sensing fault for manual investigation. Data from this plot is not included in subsequent control.

[0031] After data collection, each round of the real-time control submodule is invoked to perform comparison and verification of four types of data with standard thresholds. If the verification passes, the verification cycle terminates and control execution begins. If the verification fails, the structured error log is read to locate the data items exceeding the limit and their corresponding devices, serving as the basis for adjusting control parameters in the next round. Taking a plot of angelica in Minxian County, Gansu Province, during its angelica growing season as an example, the measured soil moisture value is 12%, while the lower limit of the standard threshold is 15%, which is considered exceeding the limit. The measured ambient temperature value is 22℃, while the standard threshold range is 15 to 28℃, which is considered normal. If the verification passes, the verification cycle terminates and control execution begins. If the verification fails, the structured error log is read, recording the name of the data item exceeding the limit, the measured value, the threshold boundary, and the corresponding control device number, serving as the basis for adjusting control parameters in the next round.

[0032] When verification fails, a delay period is first implemented in the middleware. After the delay, a targeted correction command is injected into the fuzzy control and rolling optimization algorithms. The control parameters are recalculated only for data items marked as exceeding limits. Then, the next round of verification begins. If the limit is still exceeded after a retry, the system is immediately tripped and switched to a standardized handling plan. Alternatively, if verification fails, a 10-second delay period is implemented in the middleware before the targeted correction command is injected into the fuzzy control and rolling optimization algorithms. The correction command limits the algorithm to recalculate control parameters only for data items marked as exceeding limits; other normal items maintain their current control status. Taking the example of excessive soil moisture in Angelica sinensis in Minxian County, Gansu Province, the correction command limits the algorithm to recalculate irrigation parameters only. The fuzzy control module inputs a soil moisture deviation of -3% and the deviation change rate. Fuzzy inference outputs the initial irrigation increment, and the rolling optimization module performs optimization based on four-step weather forecasts, outputting the optimal drip irrigation duration of 45 minutes. The recalculated result enters the next round of verification. If the limit is still exceeded after three retries, the system is immediately tripped and switched to a standardized handling plan, which is pushed to a mobile terminal for manual intervention.

[0033] Simultaneously, concurrent control is implemented for regulation. Only one irrigation, fertilization, shading, and ventilation regulation command is executed on the same plot at a time. Requests exceeding this limit are queued, and if the queue overflows, a temporary circuit breaker is triggered to suspend regulation. The module enforces plot-level serialization constraints on regulation commands, allowing only one irrigation, fertilization, shading, and ventilation regulation command to be executed on the same plot at a time, preventing resource conflicts or over-regulation caused by multiple devices operating simultaneously. Taking the Astragalus membranaceus plot in Hunyuan, Shanxi as an example, when a drip irrigation command is being executed on this plot, a newly added fertilization command enters the waiting queue and is executed sequentially after drip irrigation is completed. If the queue length exceeds 10 commands, a temporary circuit breaker is triggered to suspend regulation, which resumes after the queue is cleared.

[0034] During the control execution phase, the module drives irrigation, fertilization, shading, and ventilation equipment according to multi-objective collaborative control parameters. When deviations from the threshold are detected, a standardized response plan is generated and pushed to the mobile terminal. In the control execution phase, the module drives four types of equipment—irrigation, fertilization, shading, and ventilation—according to multi-objective collaborative control parameters. Taking Astragalus membranaceus seedlings in Hunyuan, Shanxi Province as an example, the control parameters are: drip irrigation for 40 minutes, topdressing with nitrogen fertilizer at 5 kg / mu, shading net opening / closing degree at 30%, and ventilation fan speed at 800 rpm. After the equipment executes according to the parameters, the module continuously collects and provides feedback data. If the data still deviates from the threshold after execution, the module generates a standardized response plan, which includes the parameters exceeding the limit, suggested treatment measures, and reference operation time, and pushes it to the grower's mobile terminal.

[0035] S104, based on the accumulated temperature, plant morphology and the accumulation level of secondary metabolites detected by near-infrared spectroscopy, outputs a harvest index through a comprehensive maturity scoring model. When the index is reached, a harvest command is triggered. It is then connected to the primary processing equipment. The drying temperature curve and the upper limit of moisture content are linked to pharmacopoeia phenotypic indicators to control the cleaning, drying and grading parameters.

[0036] In one implementation, a harvesting decision module collects three types of assessment data in real time: accumulated temperature achievement, plant morphology parameters, and the accumulation level of secondary metabolites detected by near-infrared spectroscopy. A multi-indicator parameter integration processing flow is executed, and maturity threshold judgment rules are labeled to achieve standardized construction of the harvesting assessment dataset. The harvesting decision and primary processing control module is used to comprehensively assess the maturity of medicinal materials, trigger harvesting instructions, and automatically control the primary processing technology at the production site. The overall process consists of four sequential steps: assessment data collection, maturity scoring, primary processing parameter matching, and control instruction issuance. The comprehensive maturity scoring model is the core algorithm unit of this module. Its inputs are three assessment fields: accumulated temperature achievement, plant morphology parameters, and the accumulation level of secondary metabolites detected by near-infrared spectroscopy. The output is a harvesting index in the range of 0 to 1. The model adopts a four-layer serial structure: the normalization layer maps the three types of indicators to the 0-1 range; the accumulated temperature achievement is normalized according to the target accumulated temperature ratio; and the plant morphology parameters are normalized according to a weighted comprehensive score of plant height, stem diameter, and leaf area index. The comprehensive scoring formula is as follows: =0.4×(H / )+0.3×(D / )+0.3×(LAI / ), where H is the measured plant height, D is the measured stem diameter, and LAI is the measured leaf area index. , , The standard reference values ​​for the harvest period of this variety are determined by weighted summation after min-max normalization of the three indicators. The accumulation level of secondary metabolites is normalized according to the ratio of near-infrared detection value to target content. The weight allocation layer assigns weights to the three types of indicators: accumulated temperature achievement degree (0.3), plant morphology parameters (0.2), and secondary metabolite accumulation level (0.5), with a weight sum of 1. The weighted summation layer outputs the harvest index. The threshold determination layer compares the harvest index with the target threshold of 0.8. If the threshold is reached, a harvest trigger signal is output. The model is trained using historical harvest batches of three types of evaluation data and actual harvest quality scores as the training set. The least squares method is used to optimize the weight parameters. The batch size is set to 16, the training rounds are set to 100, the learning rate is set to 0.01, and training is terminated when the coefficient of determination on the validation set reaches 0.85 or higher. The algorithm is integrated with the business logic as follows: when the harvest index reaches the threshold, a harvest command is triggered. The harvest command is linked to the start of the primary processing equipment at the production site. The primary processing parameters are dynamically matched by the logic binding the pharmacopoeia trait indicators. Near-infrared detection employed diffuse reflectance spectroscopy with a wavelength range of 900 to 1700 nm and a resolution of 1 nm, using an average of 32 scans. After standard normal variable transformation preprocessing, the spectra were input into a partial least squares regression correction model to retrieve the content of secondary metabolites. The correction model used high-performance liquid chromatography (HPLC) detection values ​​as a reference set, and an independent correction model was established for each variety, with a coefficient of determination of no less than 0.90.

[0037] The harvesting decision module collects three types of assessment data in real time: accumulated temperature achievement, plant morphological parameters, and the accumulation level of secondary metabolites detected by near-infrared spectroscopy. It executes a multi-indicator parameter integration processing flow, labels the maturity threshold judgment rules, and achieves standardized construction of the harvesting assessment dataset. Taking a plot of Astragalus membranaceus in Longxi, Gansu Province, during the harvesting period, the accumulated temperature achievement value is 92%, the plant morphological parameters are 65 cm in height, 0.8 cm in stem diameter, and 3.2 leaf area index, and the near-infrared spectroscopy detected secondary metabolite accumulation level is 0.045% astragaloside A. After aligning the three types of data with timestamps, they are written into the harvesting assessment dataset. The dataset is labeled with the maturity threshold judgment rule that the harvesting index should not be lower than 0.8.

[0038] The interface connects to the maturity comprehensive scoring model, adopts a batch input method for three types of evaluation fields and a harvest index compliance verification protocol, receives the harvest index scoring results, constructs a correlation mapping relationship between evaluation data and the harvest index, and triggers a harvesting command when the threshold is reached.

[0039] Based on pharmacopoeia morphological index configuration data, the module generates preliminary processing procedure parameter requests according to the process constraints of drying temperature curve and upper limit of moisture content. It then dynamically matches the parameters for each process—washing, drying, and grading—using morphological index binding logic for automatic control of post-harvest preliminary processing. Taking Astragalus membranaceus as an example, the pharmacopoeia morphological index requires that the moisture content of Astragalus membranaceus slices not exceed 10%. The morphological index binding logic binds the upper limit of 10% moisture content to the drying temperature curve, which is 60℃ for 4 hours followed by 80℃ for 2 hours. The washing procedure parameters are 0.3 MPa water pressure and 5 minutes of washing. The grading procedure parameters are grading according to three grades: 0.5 cm, 1.0 cm, and 1.5 cm in diameter of the rhizome. The matched procedure parameters are used for automatic control of post-harvest preliminary processing.

[0040] The module extracts the core process parameters of drying temperature curve and upper limit of moisture content, and generates a cleaning, drying, and grading control instruction package according to the preset primary processing process specification format. This package is then automatically controlled according to standards through the instruction issuance mechanism of the primary processing equipment control channel at the production site. Taking the Astragalus membranaceus primary processing production line as an example, the control instruction package includes the following: cleaning equipment instruction: run at 0.3 MPa water pressure for 5 minutes; drying equipment instruction: first at 60℃ for 4 hours, then at 80℃ for 2 hours, and automatically stop when the moisture content drops below 10%; grading equipment instruction: sort according to three grades based on reed diameter. After the instructions are issued, the equipment executes according to the parameters, transmitting moisture content and temperature data in real time during execution. A drying shutdown signal is triggered when the moisture content reaches the standard.

[0041] S105 features full-process data on-chain, with operation, environment, and quality data written into the consortium blockchain to generate GAP-compliant planting files and traceability certificates, and bind exclusive ID codes for authentic medicinal herbs.

[0042] In one implementation, the blockchain traceability and evidence storage module is used to write three types of data—operation, environment, and quality—throughout the entire planting process into the consortium blockchain, generating GAP-compliant planting files and traceability certificates, and binding each batch with a unique identification code for authentic medicinal herbs. The core algorithms of the module include data hash calculation, Merkle tree construction, and practical Byzantine fault-tolerant consensus. Data hash calculation uses the SHA-256 algorithm to generate a 256-bit digest for each data entry. The Merkle tree pairs and hashes multiple data digests from the same batch layer by layer to generate a root hash. The practical Byzantine fault-tolerant consensus requires at least four nodes in the consortium blockchain and at least six block confirmations to ensure the data on the blockchain is tamper-proof. The algorithm is integrated with the business logic as follows: after hash preprocessing, the three types of data undergo GAP compliance verification via a smart contract. Upon successful verification, the data is written into a block, and the block root hash is bound to the batch identification code, supporting downstream QR code scanning for traceability.

[0043] First, the module performs full-process data classification and hash preprocessing. It collects three types of data from the entire planting management process: operational, environmental, and quality data. Operational data includes job type, workload, duration, operator, and timestamp; environmental data includes soil moisture, pH, temperature and humidity, light intensity, rainfall, and accumulated temperature; and quality data includes near-infrared spectroscopy-detected secondary metabolite accumulation levels, laboratory-detected effective component content, and phenotypic indicators. Taking the Shanxi Hunyuan Astragalus batch as an example, operational data records each stage of sowing, thinning, topdressing, irrigation, and harvesting; environmental data records the meteorological and soil time series throughout the entire growth cycle; and quality data records the astragaloside A detection value of 0.045% at the harvest period. Each data point is hashed using the SHA-256 hash algorithm to generate a 256-bit digest. Merkle trees are constructed from the digests of the same batch of data to generate a root hash.

[0044] Second, the consortium blockchain write and consensus storage. The module submits the pre-processed three types of data and Merkle root hashes to the consortium blockchain nodes, where a practical Byzantine fault-tolerant consensus algorithm is used to perform block confirmation. Taking the Shanxi Hunyuan Astragalus batch as an example, after data submission, the four nodes of the consortium blockchain jointly verify the consistency of the data hash and the validity of the signature. After confirmation by six blocks, the data is written to the immutable chain storage. During the write process, the smart contract automatically executes GAP compliance verification, checking the completeness of the operation record, the continuity of environmental data, and the compliance of quality indicators. If the verification fails, the data is rejected from being uploaded to the chain and marked as an anomaly.

[0045] Third, GAP-compliant planting record generation. The module automatically generates GAP-compliant planting records based on on-chain data. These records include base information, variety information, full-cycle operation records, environmental monitoring records, quality testing records, and compliance verification results. Taking the Shanxi Hunyuan Astragalus batch as an example, the record records the base location as Hunyuan, Shanxi; the variety astragalus; 12 full-cycle operation items; 365 days of continuous environmental data; the quality indicator astragaloside A at 0.045% meets pharmacopoeia requirements; and the compliance verification result is passed. After generation, the record is associated with a blockchain hash to ensure a one-to-one correspondence between the record content and the on-chain data.

[0046] Fourth, traceability certificates are linked to unique identification codes for authentic medicinal herbs. The module generates a traceability certificate for each batch, which includes a batch number, on-chain block hash, GAP compliance file index, and query entry. Simultaneously, a unique identification code for authentic medicinal herbs is assigned to each batch, consisting of four segments: variety code, production area code, year code, and batch number. For example, the code for Astragalus membranaceus from Hunyuan, Shanxi, batch number 001 in 2026 is HQ-HY-2026-001. After the traceability certificate is linked to the identification code, it is written to the consortium blockchain. Consumers and regulators can query the entire planting process data and GAP compliance files by scanning the code or using the identification code.

[0047] S106 links the effective components detected in the laboratory with the phenotypic indicators in the planting process data, outputs the parameter threshold correction amount through regression inversion, updates the corresponding entries in the standard template library, and realizes the closed loop of planting detection optimization.

[0048] In one implementation, the quality closed-loop iterative module is used to correlate laboratory test quality results with planting process data, output parameter threshold correction amounts through regression inversion, and update the standard template library. The overall process consists of four sequential steps: harvest assessment data construction, maturity scoring and initial processing control, regression inversion calculation, and template library update. The regression inversion algorithm is the core algorithm unit of this module. Its inputs are the effective component content and phenotypic indicators detected in the laboratory as dependent variables, and soil parameters, environmental factors, and agronomic operation data during the planting process as independent variables. The output is the threshold correction amount for each parameter. The algorithm employs a four-layer cascaded structure: the independent variable selection layer uses stepwise regression to screen independent variables that significantly affect quality indicators, with a significance level set at 0.05; the regression coefficient calculation layer uses the least squares method to fit the multiple linear regression equation and calculate the regression coefficients of each independent variable; the significance test layer performs t-tests on the regression coefficients and F-tests on the overall model, marking models with a coefficient of determination below 0.7 as unreliable and triggering manual review; the correction calculation layer calculates the correction amount based on the quality deviation between the regression coefficients and the current template threshold. The correction amount equals the regression coefficient multiplied by the quality target deviation, where the quality target deviation is defined as the percentage difference between the laboratory test value and the pharmacopoeia limit relative to the pharmacopoeia limit. The correction amount is triggered only when the quality fails to meet the standard (test value below the lower limit or above the upper limit of the pharmacopoeia). The algorithm is trained using historical batch planting process data and laboratory test results as the sample set, with a sample size of no less than 30 batches. Five-fold cross-validation is used to evaluate the model stability, and the least squares method provides an analytical solution without iterative training. The algorithm and business logic are combined as follows: the correction amount of the regression inversion output is written into the corresponding variety production area entry in the standard template library through the template update channel. The updated threshold takes effect when the next round of planting request matching, forming a closed-loop iteration of planting, detection and optimization.

[0049] Based on laboratory-tested effective component content and phenotypic data, the module generates regression inversion requests according to the correlation logic between quality results and planting process data. It then dynamically matches corresponding variety and production area entries in the standard template library using regression inversion rules for calculating parameter threshold corrections. Taking a batch of *Angelica sinensis* from Minxian County, Gansu Province as an example, laboratory chromatographic analysis showed a ferulic acid content of 0.042%, while the pharmacopoeia requires no less than 0.050%, indicating substandard quality. Correlation with planting process data revealed that the average soil moisture in the later stages of growth for this batch was 22%, exceeding the template threshold of 20%. The regression inversion algorithm used ferulic acid content as the dependent variable and soil moisture, temperature, and topdressing amount as independent variables. Through stepwise regression screening, soil moisture was identified as a significant influencing factor, with a regression coefficient of -0.003. This indicates that for every 1% increase in moisture, ferulic acid content decreases by 0.003%, and the quality target deviation is (0.042% - 0.050%) / 0.050% = -16%. The correction amount for the upper limit of the soil moisture threshold output by the correction calculation layer is -2%, which means it is recommended to lower the upper limit of the threshold from 20% to 18% to avoid subsequent batches from failing to meet the ferulic acid content standard due to excessively high moisture.

[0050] The core field of parameter threshold correction from the regression inversion output is extracted, and a template update instruction package is generated by framing it according to a preset template update format. The corresponding entries are then updated through the writing mechanism of the standard template library update channel, achieving a closed loop for planting detection optimization. Taking the Gansu Minxian Angelica entry as an example, the template update instruction package includes the variety being Angelica, the production area being Gansu Minxian, the correction parameter being the upper limit of the soil moisture threshold, the correction amount being -2%, the updated threshold being 18%, and the correction basis being the regression analysis results of ferulic acid content. The instruction package is written to the corresponding entry through the standard template library update channel. The updated threshold takes effect when matching planting requests in the next round, while historical versions are retained for traceability.

[0051] In one implementation, such as Figure 2 As shown, this application also provides a standardized intelligent planting and management system for the entire process of traditional Chinese medicinal materials, guided by the principle of authentic quality, including: The Standard Digital Decomposition and Template Library Construction Module 201 is used to incorporate pharmacopoeia quality standards, GAP planting specifications, and geographical and climatic characteristics of authentic producing areas. Through the authentic quality mapping model, it is decomposed into five categories of executable rules: soil parameter thresholds, environmental factor ranges, agronomic operation nodes, quality trait indicators, and primary processing parameters. These rules are archived according to a three-dimensional index of variety, production area, and growth period to form a standard template library. The standard templates output by this module serve as the benchmark for subsequent planting request matching and operation plan generation. The planting request identification and operation plan generation module 202 is used to receive planting requests and identify scenarios, obtain medicinal herb varieties, planting areas, plot latitude and longitude and growth period identifiers, determine that it is a local standard matching task, call the corresponding template in the standard template library, and generate a full-cycle operation plan table containing time windows, parameter thresholds and operation instructions. The operation plan output by this module serves as the basis for subsequent real-time sensing data collection and equipment control. The multi-source sensing and real-time control module 203 is used to collect four types of data: soil moisture, pH, organic matter, nitrogen, phosphorus, potassium, heavy metals, ambient temperature, light, atmosphere, rainfall, accumulated temperature, leaf morphology, root and stem growth and secondary metabolite accumulation level, and workload. The data is compared with standard thresholds and multi-objective control parameters are generated through fuzzy control and rolling optimization to drive irrigation, fertilization, shading, and ventilation equipment. When the data deviates from the threshold, a standardized treatment plan is pushed. The control parameters output by this module serve as the environmental basis for subsequent maturity determination and harvesting decisions. The maturity determination and primary processing control module 204 is used to output a harvest index based on the accumulated temperature achievement, plant morphology and the accumulation level of secondary metabolites detected by near-infrared spectroscopy. When the maturity comprehensive scoring model is reached, the harvest command is triggered. It connects to the primary processing equipment at the place of origin and controls the cleaning, drying and grading process parameters according to the drying temperature curve and the upper limit of moisture content bound to the pharmacopoeia phenotype index. The primary processed products output by this module are used as the detection objects for subsequent quality data on the blockchain and standard iteration. The end-to-end data on-chain and traceability certificate module 205 is used to write operation, environment and quality data into the consortium blockchain to generate GAP compliant planting files and traceability certificates. Each batch is bound to a unique ID code for authentic medicinal materials, and a traceability mapping between batches and end-to-end data is established. The on-chain data output by this module serves as the data source for subsequent laboratory testing data association and regression inversion. The quality closed-loop iteration and standard update module 206 is used to associate the effective components and trait indicators detected in the laboratory with planting process data, output parameter threshold correction amount through regression inversion, update the corresponding variety production area entries in the standard template library, realize the planting and testing optimization closed loop, and the updated standard template output by this module serves as the benchmark for matching planting requests in the new round.

[0052] The computer-readable storage medium provided in the above embodiments of this application and the standardized intelligent planting and management method for the whole process of traditional Chinese medicinal materials with authentic quality orientation provided in the embodiments of this application are based on the same inventive concept and have the same beneficial effects as the methods adopted, run or implemented by the application stored therein.

[0053] All embodiments in this application are described in a related manner. Similar or identical parts between embodiments can be referred to mutually. Each embodiment focuses on describing the differences from other embodiments. In particular, the embodiments of the standardized intelligent planting and management method, electronic device, electronic device, and readable storage medium for evaluating the quality of authentic Chinese medicinal materials are basically similar to the embodiments of the standardized intelligent planting and management method for the entire process of authentic Chinese medicinal materials described above, so the description is relatively simple. Relevant parts can be referred to the descriptions of the embodiments of the standardized intelligent planting and management method for the entire process of authentic Chinese medicinal materials described above.

Claims

1. A standardized and intelligent cultivation and management method for Chinese medicinal herbs, guided by the principle of authentic quality, characterized in that: include: The implementation standards are digitally decomposed, and the pharmacopoeia standards, GAP specifications and authentic producing area characteristics are decomposed into five categories of rules through the authentic quality mapping model: soil parameter thresholds, environmental factor ranges, agronomic operation nodes, quality trait indicators and primary processing parameters, forming a three-dimensional standard template library. Receive planting requests and identify scenarios, obtain medicinal herb varieties, planting areas, plot latitude and longitude and growth period, determine that it is an authentic standard matching task, call the corresponding template in the standard template library, and generate a full-cycle operation plan table containing time windows, parameter thresholds and operation instructions; Four types of data were collected: soil moisture, pH, organic matter, nitrogen, phosphorus, potassium, heavy metals, ambient temperature, light, atmosphere, rainfall, accumulated temperature, leaf morphology, root and stem growth and secondary metabolite accumulation level, and workload. These data were compared with standard thresholds, and multi-objective regulation parameters were generated using fuzzy control and rolling optimization to drive irrigation, fertilization, shading, and ventilation equipment. If the data deviated from the threshold, a standardized treatment plan was pushed out. Based on the accumulated temperature, plant morphology, and the accumulation level of secondary metabolites detected by near-infrared spectroscopy, a harvest index is output through a comprehensive maturity scoring model. When the target is met, a harvest command is triggered, which is then connected to the primary processing equipment. The drying temperature curve and the upper limit of moisture content are linked to pharmacopoeia phenotypic indicators to control the cleaning, drying, and grading parameters. The entire process of data is recorded on the blockchain. Operation, environmental, and quality data are written into the consortium blockchain to generate GAP compliant planting files and traceability certificates, which are then bound to the unique ID codes of authentic medicinal herbs. By linking the effective components detected in the laboratory with the phenotypic indicators and planting process data, and using regression inversion to output parameter threshold correction values, the corresponding entries in the standard template library are updated, thus realizing a closed loop for planting detection optimization.

2. The method as described in claim 1, characterized in that, The implementation standards are digitally decomposed, and the pharmacopoeia standards, GAP specifications, and characteristics of authentic producing areas are broken down into five categories of rules through the authentic quality mapping model. These include soil parameter thresholds, environmental factor ranges, agronomic operation nodes, quality trait indicators, and primary processing parameters, forming a three-dimensional standard template library, including: The standard digital dismantling loop control module sets dismantling paths and verification rules according to the different types of standard sources. Pharmacopoeia quality standards are parsed item by item for each variety, GAP planting specifications are parsed item by item, and the characteristics of authentic producing areas are quantified one by one according to geographical and climatic factors. If any rule category is missing from any source, it is marked as a missing item. If it cannot be parsed after multiple retries, it is directly circuit-broken and sent to manual correction, and is not entered into the template library. The authentic quality mapping model adopts a hybrid architecture based on the fusion of rule engine and knowledge graph: the rule engine layer has three types of parsers built-in: pharmacopoeia clause parser, GAP item extractor, and geographical and climatic factor quantifier, which correspond to the text structure features of the three types of standard sources, respectively. The knowledge graph layer takes medicinal material varieties as the core entity and establishes a five-element association relationship of variety-producing area-climate-soil-quality indicators, supporting semantic alignment and conflict detection of cross-source rules. The model input is standardized pharmacopoeia, GAP, and authentic producing area text, and the output is structured JSON of five types of executable rules. The parsing granularity is single rule, and the average parsing time for a single variety does not exceed 3 seconds. After each round of decomposition, the authentic quality mapping model performs a completeness check on five categories of executable rules: soil parameter thresholds, environmental factor ranges, agronomic operation nodes, quality trait indicators, and primary processing parameters. If the check passes, the loop terminates and the rule set is output. If the check fails, the structured error log is read to locate the missing rule category and the corresponding standard source paragraph, which serves as the basis for correction in the next round of re-decomposition. If the verification fails, it will first wait in the middleware for a delay. After the wait is over, the targeted correction instruction will be injected into the local quality mapping model. It will only target the missing categories for targeted re-disassembly. Then it will enter the next round of verification. If the retry still fails, it will be circuit-broken and marked for manual intervention. After the rule verification is passed, the template structure verification is performed. The template is checked field by field according to the parameter items, upper threshold, lower threshold, and weight coefficient. If a field is missing, the template will not be saved to the database. If the missing field is still missing after the template is filled in and the retry is completed, the circuit breaker will be triggered to mark the data defect. Simultaneously, template library construction is concurrently controlled. Only one template construction task is executed at a time for the same variety multiplied by production area and growth period. If the number of requests exceeds the limit, they are put into a queue to wait. If the queue accumulates to the limit, a temporary circuit breaker is triggered to suspend the construction of the template library. After all templates are completed, they are archived according to the three-dimensional index of variety multiplied by production area and growth period to form a three-dimensional standard template library for planting standard matching and real-time threshold comparison.

3. The method as described in claim 1, characterized in that, Four types of data were collected: moisture, pH, organic matter, nitrogen, phosphorus, potassium, heavy metals; ambient temperature, light, atmosphere, rainfall, accumulated temperature; leaf morphology; root and stem growth and secondary metabolite accumulation levels; and workload. These data were compared with standard thresholds. Fuzzy control and rolling optimization were used to generate multi-objective regulation parameters to drive irrigation, fertilization, shading, and ventilation equipment. Deviations from thresholds triggered standardized emergency response plans, including: The multi-source sensing cycle control module sets different data collection rules according to the sensing category. Soil sensing collects data one by one according to five parameters: soil moisture, pH, organic matter, nitrogen, phosphorus and potassium, and heavy metals. Environmental sensing collects data one by one according to five factors: temperature and humidity, light, carbon dioxide, rainfall, and accumulated temperature. Plant sensing collects data one by one according to leaf morphology, root and stem growth, normalized difference vegetation index (NDVI), relative chlorophyll content (SPAD), and secondary metabolite accumulation level. Operation sensing collects data one by one according to operation type, operation amount, and operation duration. If any data item is missing or the collection is abnormal, the system will enter a retry cycle. If the system is still abnormal after multiple retries, the system will be directly shut down and marked as a sensing fault for manual investigation. The system will not proceed to subsequent control. After data collection is completed, the real-time control submodule is called in each round to perform four types of data comparison and verification with standard thresholds. If the verification passes, the verification loop is terminated and control execution begins. If the verification fails, the structured error log is read to locate the out-of-limit data items and corresponding devices, which serve as the basis for correcting the control parameters in the next round. If the verification fails, it will first wait in the middleware for a delay. After the wait is over, the directional correction instruction will be injected into the fuzzy control and rolling optimization algorithm. The control parameters will be recalculated only for the marked data items that exceed the limit. Then, the next round of verification will begin. If the limit is still exceeded after the retry, the circuit breaker will be triggered and the standardized handling plan will be switched to the circuit breaker. Simultaneously, concurrent control is implemented, with only one irrigation, fertilization, shading, and ventilation control command executed for the same plot at the same time. If the number of requests exceeds the limit, the command will enter a queue to wait. If the queue accumulates to the limit, a temporary circuit breaker will be triggered to suspend control. During the control and execution phase, irrigation, fertilization, shading, and ventilation equipment are driven by multi-objective coordinated control parameters. When the parameters deviate from the threshold, a standardized response plan is generated and pushed to the mobile terminal.

4. The method as described in claim 1, characterized in that, Based on accumulated temperature, plant morphology, and the accumulation level of secondary metabolites detected by near-infrared spectroscopy, a harvest index is output through a comprehensive maturity scoring model. Reaching the target triggers a harvest command, which is then connected to the primary processing equipment. The drying temperature curve and the upper limit of moisture content are linked to pharmacopoeia phenotypic indicators to control the washing, drying, and grading parameters, including: The harvesting decision module collects three types of assessment data in real time: accumulated temperature achievement, plant morphology parameters, and the accumulation level of secondary metabolites detected by near-infrared rapid detection. It then performs a multi-index parameter integration and processing flow, and labels the maturity achievement threshold judgment rules to achieve the standardized construction of the harvesting assessment dataset. The interface of the maturity comprehensive scoring model is connected, and the batch input method of three types of evaluation fields and the harvest index compliance verification protocol are adopted. The harvest index scoring results are received, the correlation mapping relationship between evaluation data and harvest index is constructed, and the harvesting command is triggered when the threshold is reached. Based on the pharmacopoeia property index configuration data, the initial processing procedure parameter request is generated according to the process constraint rules of drying temperature curve and upper limit of moisture content. Combined with the property index binding logic, the parameters of each process such as cleaning, drying and grading are dynamically matched for automatic control of post-harvest initial processing. Extract the core process parameters of drying temperature curve and upper limit of moisture content, frame and generate cleaning, drying and grading control instruction package according to the preset primary processing process specification format, and realize the automatic control of cleaning, drying and grading process parameters according to standard through the instruction issuance mechanism of the control channel of primary processing equipment at the place of origin.

5. The method as described in claim 1, characterized in that, By linking laboratory-detected effective components with phenotypic indicators to planting process data, and using regression inversion to output parameter threshold correction values, the corresponding entries in the standard template library are updated, thus achieving a closed-loop optimization of planting testing, including: Based on the effective ingredient content and phenotypic data from laboratory testing, a regression inversion request is generated according to the correlation logic between quality results and planting process data. The effective ingredient content and phenotypic data are used as dependent variables, and soil parameters, environmental factors and agronomic operation data during the planting process are used as independent variables. Significant influencing factors are screened through stepwise regression and a multiple linear regression equation is fitted. The regression inversion rules are combined with the standard template library to dynamically match the corresponding variety production area entries and calculate the parameter threshold correction amount. Extract the core field of parameter threshold correction from the regression inversion output, frame it according to the preset template update format to generate a template update instruction package, update the corresponding entries through the writing mechanism of the standard template library update channel, and the correction amount can only take effect after the significance test, thus realizing the closed loop of planting detection optimization.

6. A standardized intelligent planting and management system for Chinese medicinal herbs, characterized by its focus on authentic quality throughout the entire process, is characterized by: The system is configured to execute the standardized intelligent planting and management method for the entire process of traditional Chinese medicinal materials with a focus on authentic quality, as described in any one of claims 1 to 5, by executing executable instructions.

7. An electronic device, characterized in that, include: First processor; and memory for storing executable instructions of the first processor; The first processor is configured to execute the standardized intelligent planting and management method for the entire process of traditional Chinese medicinal materials with a focus on authentic quality, as described in any one of claims 1 to 5, by executing the executable instructions.

8. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by the second processor, it implements the standardized intelligent planting and management method for the entire process of traditional Chinese medicinal materials with a focus on authentic quality, as described in any one of claims 1 to 5.