Forage grass element content trend prediction method and system based on livestock raising
By using dissolution filtration and chromatography-mass spectrometry to identify compound peaks in forage samples, and combining this with a strategy gradient algorithm to reinforce the correlation of element content changes, the problem of inaccurate prediction of forage element content trends in traditional methods has been solved. This has enabled precise forage feeding management planning, improving livestock production efficiency and animal health.
Patent Information
- Application Number
- CN202410987082.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-23
- Publication Date
- 2024-10-11
AI Technical Summary
Traditional methods for predicting the trend of element content in forage based on livestock feeding have the problem of inaccurate prediction of the evolution trend of element content in forage during the stacking process, which makes it impossible to carry out accurate forage feeding management planning.
By obtaining feed samples from livestock feeding and storage warehouses, dissolving, filtering, and separating them, and using chromatography-mass spectrometry to identify compound peaks and simulate environmental variables, combined with a strategy gradient algorithm to reinforce the correlation of element content changes, the deposition peaks of elements in the feed are predicted to formulate precise feeding management plans.
It improves the accuracy of predicting the evolution trend of material element content in feed during the stacking process, and enables precise feed feeding management planning based on changes in feed material element content trends, ensuring the health and growth performance of livestock.
Smart Images

Figure CN118761509A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of element content trend prediction, and in particular to a method and system for predicting the element content trend of forage based on animal husbandry. Background Art
[0002] With the increasing industrialization of agricultural production, scientific and accurate evaluation and monitoring of the nutritional content of forage is of key significance to improving the production efficiency of animal husbandry and ensuring animal health. The nutritional characteristics of forage include protein, carbohydrates, fat, vitamins, minerals and other bioactive substances, which directly affect the growth and health of animals. At the same time, the separation ability of liquid chromatography (LC) or gas chromatography (GC) can effectively separate complex mixtures; and the high sensitivity and high selectivity of mass spectrometry (MS) can accurately identify and quantify a variety of compounds. In forage analysis, LC-MS / MS technology can not only realize the efficient and accurate detection of multiple nutrients in samples, but also monitor their metabolites and contaminants, thereby providing a scientific basis for optimizing feed formula, improving nutritional value and ensuring food safety. However, a traditional method for predicting the trend of forage element content based on animal husbandry has the problem of inaccurate prediction of the evolution trend of material element content in forage during the stacking process, resulting in the problem of inability to accurately plan for forage feeding according to the change of material element content trend in feed. Summary of the invention
[0003] Based on this, it is necessary to provide a method and system for predicting the trend of forage element content based on animal husbandry to solve at least one of the above technical problems.
[0004] To achieve the above object, a method for predicting the trend of forage element content based on animal husbandry is provided, the method comprising the following steps: Step S1: obtaining a forage sample from a livestock breeding storage warehouse; dissolving and filtering the forage sample to obtain a forage extraction and filtration sample; Step S2: performing separation and detection processing on the forage extraction and filtration samples to obtain a forage extraction mass spectrum; performing compound peak identification on the forage extraction mass spectrum to obtain forage compound peak data; performing environmental variable spatial impact simulation based on the forage compound peak data to obtain compound evolution environmental impact data; performing compound element evolution trend inference based on the compound evolution environmental impact data to obtain compound element evolution trend data; Step S3: performing mutual correlation mining on the compound element evolution trend data to obtain element content change correlation mining data; performing correlation relationship reinforcement learning on the element content change correlation mining data based on the policy gradient algorithm to obtain element correlation reinforcement learning data; Step S4: predicting the element content deposition peak value according to the compound element evolution trend data and the element association reinforcement learning data to obtain the element content deposition peak value prediction data; performing forage feeding management planning according to the element content deposition peak value prediction data to obtain the forage feeding management planning data.
[0005] The present invention separates the effective components in the forage samples in the pasture livestock storage warehouse by dissolution and filtration. This step can effectively remove most of the non-dissolved impurities and provide a clean extraction sample for subsequent analysis; in the separation and detection process, the extraction sample is efficiently separated and detected to obtain a mass spectrum of the forage. This step can accurately analyze the compound composition and relative concentration in the sample, provide data support for subsequent compound peak identification, and determine the various compounds in the sample and their relative abundance by performing compound peak identification on the mass spectrum. These data are crucial for understanding the chemical composition and potential nutritional value of forage. Based on the compound peak data, the influence of different environmental variables (such as forage stacking conditions, climate, etc.) on the compound composition in forage is simulated. This step can help understand the degree of influence of environmental factors on forage quality, provide a basis for optimizing feeding management, and infer the evolution trend of compound elements based on the simulated environmental variable influence data. These trend data can guide the selection and management of forage in agricultural production and ensure the quality and stability of feed nutrients; by mining the evolution trend data of compound elements, the relationship and trend between the changes in the content of different elements can be revealed. These data help to understand the mutual influence and synergy between various elements in forage. Based on the policy gradient algorithm, the element content change association mining data is further analyzed and learned. This step aims to strengthen the understanding of the complex relationship between elements, so as to better predict and regulate the changes in element content in forage. Based on the compound element evolution trend data and element association reinforcement learning data obtained in the previous steps, the S4 stage can accurately predict the peak value of the content deposition of specific elements in forage under different forage stacking environmental conditions. This prediction ability is very important for decision makers because it can foresee the element fluctuations and change trends in forage in advance, so as to make more accurate management and adjustment strategies. According to the element content deposition peak prediction data, step S4 can formulate forage feeding management plans for different forage stacking environmental conditions. This includes adjusting feed formulas and optimizing feeding strategies to maximize the health and growth performance of livestock. For example, when the element content in the environment changes greatly, the addition amount of specific elements in the feed can be adjusted or forage from different sources can be selected to ensure that livestock obtains adequate nutrition.Therefore, the present invention is an optimization processing of a traditional method for predicting the trend of element content in forage based on animal husbandry, which solves the problem that the traditional method for predicting the trend of element content in forage based on animal husbandry is inaccurate in predicting the evolution trend of material element content in forage during the stacking process, resulting in the inability to accurately manage and plan for forage feeding according to the changes in the trend of material element content in feed. The present invention improves the accuracy of predicting the evolution trend of material element content in forage during the stacking process, so that management personnel (animal husbandry personnel) can accurately manage and plan for forage feeding according to the changes in the trend of material element content in feed.
[0006] Preferably, step S1 comprises the following steps: Step S11: Obtaining a forage sample in a livestock breeding storage warehouse; Step S12: Drying and crushing the forage sample to obtain a dry and crushed forage sample; Step S13: performing supercritical fluid extraction on the dried and crushed forage sample to obtain a forage extraction sample; Step S14: dissolving and filtering the forage extraction sample to obtain a forage extraction filtration sample.
[0007] The present invention selects a livestock breeding storage warehouse as a sampling area, collects a sufficient amount of forage samples according to different areas or different stacking environments (indoors, outdoors, in the shade, under the sun, etc.) of the livestock breeding storage warehouse on the ranch, ensures that the sample collection process from the farm to the laboratory is scientific and reasonable, and ensures the representativeness and overall quality of the samples. The drying and crushing treatment can effectively crush the forage samples into uniform particles. This step ensures the physical uniformity and convenience of operation of subsequent samples. Supercritical fluid extraction can efficiently extract target components from the forage samples, such as volatile organic compounds, fat-soluble vitamins, etc., to ensure the extraction efficiency and purity of the extract. Dissolution and filtration separates the liquid sample after supercritical extraction by filtering, removes solid residues and large particles, and obtains a clear dissolved solution. This step ensures the purification of the sample and the reliability of subsequent analysis.
[0008] Preferably, step S2 comprises the following steps: Step S21: using chromatography-mass spectrometry to separate and detect the forage extraction and filtration samples to obtain a forage extraction mass spectrum; Step S22: performing molecular ion peak intensity identification on the mass spectrum of the forage extraction to obtain molecular ion peak intensity data; performing compound peak identification on the mass spectrum of the forage extraction according to the molecular ion peak intensity data to obtain forage compound peak data; Step S23: performing peak surface morphology geometric evolution analysis on the forage compound peak data to obtain compound peak surface morphology evolution data; Step S24: performing a spatial impact simulation of environmental variables according to the compound peak morphology evolution data to obtain compound evolution environmental impact data; Step S25: inferring the compound element evolution trend on the compound peak surface morphology evolution data according to the compound evolution environment impact data to obtain the compound element evolution trend data.
[0009] The present invention uses chromatography-mass spectrometry technology to accurately separate and detect forage extraction and filtration samples to obtain high-resolution forage extraction mass spectra. This step ensures the accuracy of the analysis and the separation of the target compounds. Based on the forage extraction mass spectra, the intensity data of each molecular ion peak is identified and quantified. These data provide the relative abundance information of the compounds in the sample, which is the basis for subsequent compound peak identification. According to the molecular ion peak intensity data, the various compound peaks in the mass spectrogram are accurately identified and quantitatively analyzed to obtain the content data of various compounds in the forage. The peak surface morphology geometric evolution analysis is performed on the compound peak data to deeply understand the morphological characteristics and change trends of different compound peaks in the mass spectrogram. This step helps to reveal the structural differences and chemical reaction paths between compounds. Based on the peak surface morphology evolution data, the influence of different environmental variables (such as temperature, humidity, etc.) on the content and structure of compounds in forage is simulated. This analysis can predict and optimize the growth environment and harvesting conditions of forage, thereby improving its nutritional characteristics. According to the compound evolution environment impact data, the trend of compound element content changing over time or environment can be inferred. These data are crucial for understanding the stability and changing trends of various elements in forage, and for providing scientific basis and management recommendations for agricultural production.
[0010] Preferably, step S24 comprises the following steps: Step S241: performing compound content fluctuation analysis according to compound peak surface morphology evolution data to obtain compound content fluctuation data; Step S242: calculating the content fluctuation light sensitivity interval of the compound peak surface morphology evolution data according to the compound content fluctuation data to obtain the content fluctuation light sensitivity interval; performing temperature influence mapping according to the content fluctuation light sensitivity interval to obtain content fluctuation temperature influence mapping data; Step S243: performing microbial activity fluctuation simulation according to the content fluctuation light sensitive interval and the content fluctuation temperature impact mapping data to obtain microbial activity fluctuation data; Step S244: Calculate the variable coupling reaction order of the compound content quantitative data according to the microbial activity fluctuation data, the content fluctuation light sensitive interval, and the content fluctuation temperature influence mapping data to obtain the variable coupling reaction order data; Step S245: Performing a spatial impact simulation of environmental variables based on the variable coupling reaction order data to obtain compound evolution environmental impact data.
[0011] The present invention analyzes the fluctuation of compound content based on compound peak morphology evolution data. This step can reveal the content variation law of compounds at different times or conditions, provide basic data for subsequent environmental impact analysis, and determine the sensitive interval of compounds under illumination conditions based on the compound content fluctuation data. This helps to understand the mechanism of the influence of illumination on the fluctuation of compound content, and analyzes and maps the influence of temperature changes on the fluctuation of compound content based on the illumination sensitive interval. This step helps to understand how environmental factors interact to affect the content dynamics of compounds in organisms, and calculates the activity fluctuations of microorganisms under different conditions based on the illumination sensitive interval and temperature impact mapping data. This analysis helps to understand the influence of microorganisms on the change of compound content, especially in the biotransformation process, and calculates the variable coupling reaction order of compound content based on the microbial activity fluctuation data, the illumination sensitive interval and the temperature impact mapping data. This calculation can quantify the complex interaction between environmental factors and compound content, provide mathematical model support for understanding the chemical dynamics in ecosystems, and simulate and predict the influence of different environmental variables (such as illumination, temperature, etc.) on the evolution of compounds in ecosystems based on variable coupling reaction order data. This simulation can provide a deep understanding of the dynamic changes of chemical substances in complex ecosystems and provide a scientific basis for environmental management and agricultural production optimization.
[0012] Preferably, calculating the variable coupling reaction order of the compound decomposition kinetic simulation data comprises the following steps: According to the microbial activity fluctuation data, the light sensitive range of content fluctuation and the content fluctuation temperature influence mapping data, the compound decomposition dynamics simulation is performed on the compound content quantitative data to obtain the compound decomposition dynamics simulation data; Plotting a compound concentration decomposition curve for the compound decomposition kinetics simulation data to obtain a compound concentration decomposition curve; According to the compound concentration decomposition curve, the decomposition reaction order of the compound decomposition kinetic simulation data is calculated to obtain the concentration decomposition reaction order data; Calculate multivariate impact weights based on concentration decomposition reaction order data to obtain concentration decomposition multivariate impact weight data; Based on the Arrhenius equation and the concentration decomposition multivariate influence weight data, the variable coupling reaction order data is calculated for the concentration decomposition reaction order data to obtain the variable coupling reaction order data.
[0013] The present invention simulates the decomposition kinetics of compounds based on the microbial activity fluctuation data and the mapping of the effects of light and temperature. This step can simulate the decomposition rate and mechanism of compounds under different forage stacking environmental conditions, provide key data for understanding the behavior of compounds in ecosystems, and draw decomposition curves of compound concentrations over time based on the compound decomposition kinetics simulation data. These curves can show the degradation rate and curve characteristics of compounds at different time scales, providing a visual basis for subsequent analysis, and calculating the decomposition reaction order of compounds based on the compound concentration decomposition curve. This step can reveal the kinetic characteristics of the compound decomposition process, including the relationship between reaction rate and concentration, and provide a basis for subsequent reaction order calculations. Based on the decomposition reaction order data, the weights of the influence of different environmental variables (such as light, temperature, etc.) on the compound decomposition process are calculated. This analysis helps to understand the relative importance of various environmental factors in the decomposition rate of compounds and provides a basis for subsequent order calculations.
[0014] Preferably, step S25 comprises the following steps: Step S251: performing environmental impact cycle difference evaluation according to the compound evolution environmental impact data to obtain environmental impact cycle difference data; Step S252: performing peak surface morphology geometric evolution difference analysis on the compound peak surface morphology evolution data according to the environmental impact cycle difference data to obtain morphology geometric evolution difference data; Step S253: using a geometric difference evolution approximation algorithm to calculate the evolution structure approximation degree of the morphological geometric evolution difference data, and obtaining evolution structure approximation degree data; Step S254: performing evolution difference approximate structure division processing on the morphological geometry evolution difference data according to the evolution structure approximate degree data to obtain evolution difference approximate structure division data; Step S255: performing approximate structure variational inference according to the evolutionary difference approximate structure division data to obtain evolutionary structure approximate variational inference data; Step S256: Inferring the compound element evolution trend on the compound peak surface morphology evolution data according to the evolution structure approximate variational inference data to obtain the compound element evolution trend data.
[0015] The present invention can reveal the periodic impact of environmental changes on the evolution of compounds by analyzing the difference in the impact cycle under different forage stacking environmental conditions during the evolution of compounds. This assessment helps to understand how environmental factors affect the evolution rate and path of compounds, and provides key information on the time scale for subsequent analysis. Based on the environmental impact cycle difference data, the geometric evolution difference analysis is performed on the compound peak morphology evolution data. This analysis can identify the changes in the morphology and geometric characteristics of compounds under different forage stacking environmental conditions, and provide a quantitative description for understanding its adaptability and evolution process in different ecosystems; using the geometric difference evolution approximation algorithm, the morphological geometric evolution difference data is calculated for the degree of evolutionary structural approximation. This step can quantify the degree of morphological change of the compound, revealing the similarities and differences of its morphological evolution under different forage stacking environmental conditions, and according to the evolutionary structural approximation degree data, the morphological geometric evolution difference data is processed by evolutionary difference approximate structure division. This helps to divide complex morphological evolution data into structural units that are easier to analyze and understand, providing a clear data basis for subsequent inference and analysis, and performing variational inference analysis of approximate structure based on the evolutionary difference approximate structure division data. This analysis can identify the potential change patterns and trends of different morphological structures during the evolution process, providing in-depth insights into the structural dynamics of compound evolution. Based on the evolutionary structural approximation variational inference data, the compound peak morphology evolution data is used to infer the compound element evolution trend. This step can predict the trends and directions of compounds in the future evolution process, providing an important basis for predictive modeling in environmental monitoring and management.
[0016] Preferably, the geometric evolution difference structure hierarchical algorithm in step S254 is as follows:
[0017] In the formula, Indicates the result value of the evolution structure approximation degree, The geometric complexity coefficient representing the geometric evolution difference data, represents the temporal correlation coupling degree of the morphological geometric evolution difference data, The evolution difference of adjacent marker points representing the morphological and geometric evolution difference data, Indicates the maximum value of the evolution time of the morphological geometric evolution difference data, represents a natural constant, The geometric morphological evolution density representing the morphological geometric evolution difference data, The intensity difference quantification coefficient representing the morphological geometric evolution difference data, represents the differential, Express Differentiate, that is The amount of change, Represents the error correction value of the geometric difference evolution approximation algorithm.
[0018] The present invention constructs a geometric evolution difference structure hierarchical algorithm to capture the complexity, time correlation, local difference, density and intensity of geometric morphology in the evolution process. This enables the formula to describe the dynamic changes of morphology in the evolution process in detail. Through the regulation of these parameters, the formula can adapt to and simulate various complex geometric evolution scenarios, from simple morphological changes to complex multi-dimensional geometric structure evolution, so as to better calculate the approximate structure in evolution. The algorithm fully considers the result value of the degree of evolution structure approximation , which is the final output of the algorithm, represents the approximate result of the geometric morphological evolution difference. It comprehensively considers the role of all parameters and the complex relationship between them to measure the overall degree of morphological change during the evolution process; the geometric morphological complexity coefficient of the morphological geometric evolution difference data , which quantifies the complexity of the morphology during its evolution. Geometric complexity includes the irregularity of the morphology's boundaries, the diversity of surface features, etc. It affects the exponential and logarithmic parts of the formula and regulates the weights of various parameters during the evolution process. A higher Values usually indicate more complex or detailed morphology, resulting in higher geometric complexity. Therefore, the complexity coefficient directly affects the computational complexity and approximation accuracy of the evolution model; the temporal correlation coupling degree of the morphological geometric evolution difference data , this parameter reflects the evolutionary correlation of the morphology in the time dimension. It describes the degree of coupling between the evolutionary states of the morphology at different time points. The value indicates that the evolution of the morphology is highly sensitive to time changes, that is, the morphology changes significantly over time. This parameter plays a key role in the index term and determines the influence of time in the process of morphological evolution; the evolution difference of adjacent marker points of morphological geometric evolution difference data , indicating the evolutionary differences between adjacent points of the morphology. The changes in adjacent marker points provide important information about the local evolutionary behavior. The value usually means that the changes between adjacent points are drastic, indicating that there are significant local differences or irregularities in the morphological evolution process. This difference affects the overall geometric morphology at the microscopic scale; the maximum value of the evolution time of the morphological geometric evolution difference data , As an integral variable, it represents the time maximum reached by the morphology during the evolution process. This means that in the evolution process, the most important or significant moment of morphological change is at The integral from 0 to infinity indicates that the formula takes into account the infinite extension from the initial moment to the morphological evolution, which covers the entire evolutionary time range; the natural constant , in this formula, The use of implies the exponential growth or decay phenomenon in the process of morphological evolution, reflecting the dynamics of morphological change; the geometric morphological evolution density of morphological geometric evolution difference data , quantifies the density change during the morphological evolution process, that is, the frequency or concentration of morphological changes in a unit area. The value indicates that the morphology has undergone a large number of changes in a small area, indicating that there is a high density of geometric changes in the evolution process. The evolution density can reveal the regional characteristics and concentration of changes in the morphology during the evolution process; the intensity difference quantification coefficient of the morphological geometric evolution difference data , which measures the intensity or magnitude of change during morphological evolution. It captures the intensity of geometric morphological changes during the evolution process as a whole. The value of indicates that the change in the evolution process is more drastic or obvious, which is reflected in the significant deformation or significant characteristics of the morphology. The influence of intensity difference on the sine function part of the formula is particularly obvious, which increases the periodicity and volatility of the evolution process; Differentiate , we want the value of the integrand to be The values between 0 and infinity are added together to calculate the "sum" of the entire interval. In this case, Relative to Variable integration; error correction value of geometric difference evolution approximation algorithm , used to correct the potential errors in the geometric difference evolution approximation algorithm and ensure the final result accuracy and reliability.
[0019] Preferably, step S3 comprises the following steps: Step S31: calculating the stable range of content changes between different compound elements on the compound element evolution trend data to obtain the stable range of element content changes; Step S32: mining the correlation between different compound elements in the stable interval of element content change to obtain element content change correlation mining data; Step S33: Based on the policy gradient algorithm, the element content change association mining data is subjected to association relationship reinforcement learning to obtain element association reinforcement learning data.
[0020] The present invention analyzes the compound element evolution trend data to calculate the stable range of content changes between different compound elements. The calculation of this stable range helps to determine the typical range of changes of each element in the evolution process, providing basic data for subsequent analysis; based on the stable range of element content changes, the mutual correlation between different compound elements is mined. The purpose of this step is to discover the correlation patterns and trends between different compound elements, such as how changes in certain elements affect changes in other elements; and use the policy gradient algorithm to perform correlation relationship reinforcement learning on the element content change correlation mining data. This process can further deepen the understanding of the complex relationships between elements, including the discovery of causal relationships, interaction patterns, and potential driving factors.
[0021] Preferably, step S33 includes the following steps: Step S331: extracting features from the element content change correlation mining data to obtain element change correlation feature data; Step S332: adapting the feature strategy network structure to the element change associated feature data to obtain feature strategy network adaptation data; Step S333: performing strategy operation state simulation on the characteristic strategy network adaptation data to obtain strategy operation state simulation data; Step S334: performing simulation variance calculation according to the strategy operation state simulation data to obtain operation state simulation variance data; Step S335: performing low variance sampling on the strategy operation state simulation data according to the operation state simulation variance data to obtain strategy operation low variance sampling data; Step S336: Based on the policy gradient algorithm, the policy operation low variance sampling data is subjected to association relationship reinforcement learning to obtain element association reinforcement learning data.
[0022] The present invention extracts key features from the element content change association mining data, which can be the correlation, trend pattern or other statistical features between elements. These feature data will be used as the input of the subsequent steps to help further understand the relationship and change pattern between elements, and apply the element change association feature data to the adaptation of the feature strategy network structure. This process can adjust the structure of the strategy network to better reflect the association and pattern between elements, thereby improving the effect and accuracy of the subsequent strategy operation state simulation, and using the adapted feature strategy network data to simulate the strategy operation state. The purpose of this step is to simulate the state of different strategies in actual operation, such as the response and interaction mode of each element when introducing changes in the element composition of the compound. The simulation variance is calculated according to the strategy operation state simulation data. This indicator can help evaluate the stability and reliability of the model in different situations and provide feedback for model improvement. According to the operation state simulation variance data, the strategy operation state simulation data is sampled with low variance. Low variance sampling helps to reduce unnecessary fluctuations and noise, thereby improving the stability and accuracy of the model. Based on the policy gradient algorithm, the element association relationship reinforcement learning is performed on the strategy operation low variance sampling data. The main purpose of this step is to optimize the strategy so that the model can better understand and predict the relationship between compound elements, thereby improving the model's adaptability and ability to cope with complex environmental changes.
[0023] Preferably, the present invention further provides a forage element content trend prediction system based on animal husbandry, which is used to execute the forage element content trend prediction method based on animal husbandry as described above, and the forage element content trend prediction system based on animal husbandry comprises: The sample filtering module is used to obtain forage samples in the livestock breeding storage warehouse; dissolve and filter the forage samples to obtain forage extraction and filtration samples; The forage element trend analysis module is used to separate, detect and process forage extraction and filtration samples to obtain forage extraction mass spectra; perform compound peak identification on forage extraction mass spectra to obtain forage compound peak data; perform environmental variable spatial impact simulation based on forage compound peak data to obtain compound evolution environmental impact data; perform compound element evolution trend inference based on compound evolution environmental impact data to obtain compound element evolution trend data; The element association relationship learning module is used to mine the mutual correlation of compound element evolution trend data to obtain element content change association mining data; based on the strategy gradient algorithm, the element content change association mining data is subjected to association relationship reinforcement learning to obtain element association reinforcement learning data; The feeding management planning module is used to predict the element content deposition peak value according to the compound element evolution trend data and the element association reinforcement learning data to obtain the element content deposition peak value prediction data; and to perform forage feeding management planning according to the element content deposition peak value prediction data to obtain the forage feeding management planning data.
[0024] The beneficial effect of the present invention is that the effective components in the forage samples in the livestock storage warehouse of the pasture are separated by dissolution and filtration. This step can effectively remove most of the non-dissolved impurities and provide a clean extraction sample for subsequent analysis; in the separation and detection process, the extraction sample is efficiently separated and detected to obtain the mass spectrum of the forage. This step can accurately analyze the compound composition and relative concentration in the sample, provide data support for subsequent compound peak identification, and determine the various compounds in the sample and their relative abundance by performing compound peak identification on the mass spectrum. These data are crucial for understanding the chemical composition and potential nutritional value of forage. Based on the compound peak data, the influence of different environmental variables (such as forage stacking conditions, climate, etc.) on the compound composition in forage is simulated. This step can help understand the degree of influence of environmental factors on the quality of forage, provide a basis for optimizing feeding management, and infer the evolution trend of compound elements based on the simulated environmental variable influence data. These trend data can guide the selection and management of forage in agricultural production and ensure the quality and stability of feed nutrients; by mining the evolution trend data of compound elements, the relationship and trend between the changes in the content of different elements can be revealed. These data help to understand the mutual influence and synergy between various elements in forage. Based on the policy gradient algorithm, the element content change association mining data is further analyzed and learned. This step aims to strengthen the understanding of the complex relationship between elements, so as to better predict and regulate the changes in element content in forage. Based on the compound element evolution trend data and element association reinforcement learning data obtained in the previous steps, the S4 stage can accurately predict the peak value of the content deposition of specific elements in forage under different forage stacking environmental conditions. This prediction ability is very important for decision makers because it can foresee the element fluctuations and change trends in forage in advance, so as to make more accurate management and adjustment strategies. According to the element content deposition peak prediction data, step S4 can formulate forage feeding management plans for different forage stacking environmental conditions. This includes adjusting feed formulas and optimizing feeding strategies to maximize the health and growth performance of livestock. For example, when the element content in the environment changes greatly, the addition amount of specific elements in the feed can be adjusted or forage from different sources can be selected to ensure that livestock obtains adequate nutrition.Therefore, the present invention is an optimization processing of a traditional method for predicting the trend of element content in forage based on animal husbandry, which solves the problem that the traditional method for predicting the trend of element content in forage based on animal husbandry is inaccurate in predicting the evolution trend of material element content in forage during the stacking process, resulting in the inability to accurately manage and plan for forage feeding according to the changes in the trend of material element content in feed. The present invention improves the accuracy of predicting the evolution trend of material element content in forage during the stacking process, so that management personnel (animal husbandry personnel) can accurately manage and plan for forage feeding according to the changes in the trend of material element content in feed. BRIEF DESCRIPTION OF THE DRAWINGS
[0025] Figure 1 A schematic diagram of the steps of a method for predicting the trend of forage element content based on animal husbandry; Figure 2 for Figure 1 Detailed implementation steps of step S2 in FIG.
[0026] The realization of the purpose, functional features and advantages of the present invention will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION
[0027] The technical method of the present invention is described clearly and completely below in conjunction with the accompanying drawings. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by technicians in this field without creative work are within the scope of protection of the present invention.
[0028] In addition, the accompanying drawings are only schematic illustrations of the present invention and are not necessarily drawn to scale. The same reference numerals in the figures represent the same or similar parts, and their repeated description will be omitted. Some of the block diagrams shown in the accompanying drawings are functional entities and do not necessarily correspond to physically or logically independent entities. The functional entities can be implemented in software form, or implemented in one or more hardware modules or integrated circuits, or implemented in different networks and / or processor methods and / or microcontroller methods.
[0029] It should be understood that, although the terms "first", "second", etc. may be used herein to describe various units, these units should not be limited by these terms. These terms are used only to distinguish one unit from another unit. For example, without departing from the scope of the exemplary embodiments, the first unit may be referred to as the second unit, and similarly the second unit may be referred to as the first unit. The term "and / or" used herein includes any and all combinations of one or more of the listed associated items.
[0030] To achieve this, please refer to Figure 1 to Figure 2 , a method for predicting the trend of forage element content based on animal husbandry, the method comprising the following steps: Step S1: obtaining a forage sample from a livestock breeding storage warehouse; dissolving and filtering the forage sample to obtain a forage extraction and filtration sample; Step S2: performing separation and detection processing on the forage extraction and filtration samples to obtain a forage extraction mass spectrum; performing compound peak identification on the forage extraction mass spectrum to obtain forage compound peak data; performing environmental variable spatial impact simulation based on the forage compound peak data to obtain compound evolution environmental impact data; performing compound element evolution trend inference based on the compound evolution environmental impact data to obtain compound element evolution trend data; Step S3: performing mutual correlation mining on the compound element evolution trend data to obtain element content change correlation mining data; performing correlation relationship reinforcement learning on the element content change correlation mining data based on the policy gradient algorithm to obtain element correlation reinforcement learning data; Step S4: predicting the element content deposition peak value according to the compound element evolution trend data and the element association reinforcement learning data to obtain the element content deposition peak value prediction data; performing forage feeding management planning according to the element content deposition peak value prediction data to obtain the forage feeding management planning data.
[0031] In the embodiment of the present invention, reference Figure 1 The above is a schematic flow chart of the steps of a method for predicting the trend of forage element content based on animal husbandry of the present invention. In this example, the method for predicting the trend of forage element content based on animal husbandry includes the following steps: Step S1: obtaining a forage sample from a livestock breeding storage warehouse; dissolving and filtering the forage sample to obtain a forage extraction and filtration sample; In the embodiment of the present invention, a livestock breeding storage warehouse is selected as a sampling area, and forage samples are collected according to different areas or different stacking environments (indoors, outdoors, in the shade, under the sun, etc.) of the livestock breeding storage warehouse in the ranch to ensure that they represent the current breeding batch or a specific breeding environment. Because the forage is stacked in a warehouse and stored for a long time, representative forage samples are collected from multiple locations (wherein the representative sample refers to a representative forage sample under different light intensities and different temperature change states on the same day, and the corresponding light intensity data and temperature change data are recorded for analysis in the subsequent step S24 and its sub-steps) to ensure the uniformity and representativeness of the sample, mix the collected samples to obtain a uniform composite sample, use appropriate tools (such as a reamer or scissors) to cut the forage into small pieces, usually 2-5 cm long segments, for better processing and dissolution, if the sample is very moist, it needs to be pre-treated, such as air drying or freeze drying, so that it is easier to perform subsequent dissolution and filtration, and use a precision electronic balance to weigh a certain amount of forage sample (for example, 10 grams). Record the weight of the sample for later analysis. Select an appropriate solvent, such as distilled water, buffer, acidic solution or organic solvent, depending on the target analyte and analytical method. Determine the volume of solvent, usually 10-20 times the sample weight (for example, if the sample is 10 grams, 100-200 ml of solvent can be selected). Place the weighed forage sample in a container of appropriate size (such as a beaker or conical flask). Add the predetermined volume of solvent. Use a magnetic stirrer or ultrasonic cleaner to stir or sonicate the mixture to promote dissolution. Usually the stirring time is 30 minutes to 2 hours, and the sonication time is 10-30 minutes, depending on the nature of the sample and the solvent. Select a filtration device, such as a Buchner funnel, filter paper or vacuum filtration device. Select the appropriate filter material based on the target analyte and the nature of the solution. Commonly used filter membranes have pore sizes of 0.45 microns or 0.22 microns. Carefully pour the dissolved forage mixture into the filtration device. If using a Buchner funnel and vacuum filter, make sure the system is well sealed and gradually increase the vacuum pressure to avoid spilling the sample or filtering too quickly. If filtering manually, make sure the filter paper fits snugly into the funnel to avoid leaks. During the filtration process, observe the filtration rate and clarity of the solution. If necessary, replace the filter paper or filter membrane to avoid clogging. After filtration, collect the clear filtered liquid (i.e., the forage extract filter sample).
[0032] Step S2: performing separation and detection processing on the forage extraction and filtration samples to obtain a forage extraction mass spectrum; performing compound peak identification on the forage extraction mass spectrum to obtain forage compound peak data; performing environmental variable spatial impact simulation based on the forage compound peak data to obtain compound evolution environmental impact data; performing compound element evolution trend inference based on the compound evolution environmental impact data to obtain compound element evolution trend data; In the embodiments of the present invention, chromatography-mass spectrometry (such as liquid chromatography (HPLC) or gas chromatography (GC) is used to separate different compounds in a sample, and suitable operating conditions such as a chromatographic column, a mobile phase, a flow rate and a temperature are determined to achieve the best separation effect. The compounds separated by chromatography are directly sent to a mass spectrometer (MS), such as a liquid chromatography-mass spectrometer (LC-MS) or a gas chromatography-mass spectrometer (GC-MS). The ionization mode (such as electrospray ionization (ESI) or electron impact (EI)), the mass analyzer setting and the detection mode of the mass spectrometer are adjusted to optimize signal detection and compound identification. The mass spectrometer control software is used to obtain the mass spectrometry data of the sample, which usually includes a mass spectrum (signal intensity corresponding to m / z). Professional software (such as XCMS or MZmine) is used to automatically detect peaks in the mass spectrum, and the detected peaks are compared with a known compound database (such as HMDB). or METLIN) to determine the identity of the compound, identify the isotope pattern and fragment ions of the peak, further verify the identity of the compound, calculate the area or height of each compound peak to quantify its content in the sample, use standards to establish a standard curve for quantitative analysis in order to calculate the absolute concentration of the compound in the sample, determine the environmental variables that have potential effects on the evolution of forage compounds, such as temperature, humidity, soil type, and light intensity, collect spatial and temporal data on these environmental variables, ensure the accuracy and coverage of the data, and select appropriate spatial simulation models (such as geographically weighted regression (GWR) Or spatial autocorrelation analysis) to simulate the impact of environmental variables on the evolution of compounds, use the established model and the collected environmental variable data to perform simulation calculations, obtain the evolution trend of the compounds under different forage stacking environmental conditions, verify and evaluate the simulation results, and ensure the reliability and accuracy of the model; analyze the chemical structure and functional groups according to the identified compound peaks, analyze the distribution and abundance of different elements in the compounds, such as carbon, nitrogen, oxygen and other elements, select appropriate models to infer the evolution trend of compound elements, such as element balance analysis or stable isotope analysis, set model parameters according to the chemical properties of the compounds and environmental impact data, use environmental impact data and models to simulate and infer evolution trends, analyze simulation results, infer the change trend and evolution path of each element in the compound, compare the simulation results with experimental observation data, verify the accuracy of the model, explain the inferred compound element evolution trend, and explore its mechanism and environmental influencing factors.
[0033] Step S3: performing mutual correlation mining on the compound element evolution trend data to obtain element content change correlation mining data; performing correlation relationship reinforcement learning on the element content change correlation mining data based on the policy gradient algorithm to obtain element correlation reinforcement learning data; In the embodiment of the present invention, basic statistical analysis is performed on the content changes of each element, such as mean value, standard deviation, trend line, etc., to understand the basic characteristics of the data, calculate the correlation coefficients between the elements (such as Pearson correlation coefficient or Spearman rank correlation coefficient), preliminarily understand the correlation between the elements, select an appropriate association rule mining algorithm, such as Apriori algorithm or FP-Growth algorithm, to mine the association rules between element content changes, perform multivariate regression analysis or multi-factor interaction analysis, study the association relationship when multiple elements change simultaneously, combine time series analysis methods (such as Granger causal analysis), explore the time dependence and causal relationship of element content changes, and determine the environment of reinforcement learning, including state space (different element content combinations), action space (element change operation) and reward mechanism (enhancement effect of association relationship). Convert the association mining data of element content changes into the state and reward form of reinforcement learning to ensure that the data can be input into the reinforcement learning algorithm, select the policy gradient algorithm (such as DQN, DDQN), initialize the parameters of the reinforcement learning model, such as the weights of the policy network and the value network, and use the policy gradient algorithm to train the model. The algorithm will explore in the state space, try different element change operations, and update the strategy according to the reward mechanism, calculate the policy gradient to guide the update of model parameters, optimize the policy network, iterate the training process, and gradually adjust the parameters of the policy network and the value network so that the model can better learn the correlation between changes in element content, control the reward value and strategy improvement during training, evaluate the learning effect of the model, verify the trained model with an independent test data set, evaluate the performance of the model on new data, apply the trained reinforcement learning strategy to actual data, predict and analyze the changes in element content under different conditions, explain the potential mechanisms and laws of element content changes based on the strategies and correlations output by the model, adjust the parameters of the reinforcement learning model based on the performance and output results of the model, optimize the training process, improve the model structure and algorithm in combination with actual needs and data characteristics, improve the model's predictive and explanatory capabilities, and obtain element-related reinforcement learning data.
[0034] Step S4: predicting the element content deposition peak value according to the compound element evolution trend data and the element association reinforcement learning data to obtain the element content deposition peak value prediction data; performing forage feeding management planning according to the element content deposition peak value prediction data to obtain the forage feeding management planning data.
[0035] In an embodiment of the present invention, the compound element evolution trend data and the element association reinforcement learning data are integrated to form a complete data set, and a suitable machine learning model, such as Random Forest, Support Vector Machine (SVM), Neural Network, is selected, and the integrated data set is used to train the model. The input variables are different stacking environmental conditions (such as temperature, humidity, ventilation, lighting conditions, etc.), and the output variables are the deposition peak values of each key element. Through cross-validation and hyperparameter tuning, the model performance is optimized to ensure the accuracy and stability of the prediction results. The accuracy of the model is verified by the cross-validation method to avoid overfitting. The model is verified with an independent test set to evaluate its performance on new data, and the element content deposition peak values under different stacking environmental conditions are predicted using the trained model to obtain the key element deposition peak prediction data under different stacking environmental conditions for subsequent analysis. According to the predicted element content deposition peak data, the change trend of key elements in forage under different stacking environmental conditions is analyzed, and the influence of different environmental variables (such as temperature, humidity, ventilation, lighting conditions, etc.) on the element content is determined. According to the predicted data, the feeding management plan of forage under different stacking environmental conditions is formulated. Adjust the forage stacking conditions to ensure that the key element content in the feed meets the nutritional needs of animals. Consider environmental variables, forage costs, animal health and production goals, and comprehensively formulate reasonable stacking and feeding strategies. Implement forage stacking and feeding strategies according to the formulated feeding management plan. Regularly monitor the composition of forage and the health of animals. According to the monitoring results, adjust the stacking and feeding strategies in real time to ensure that the nutritional needs of animals are met and improve production efficiency. (For example, the climate in the farm location is changeable, and different forage stacking environments (such as indoors, outdoors, in the shade, in the sun, etc.) have a significant impact on the element deposition of forage. Collect the compound element data of forage in different stacking environments such as indoors, outdoors, in the shade, and in the sun in the dairy farm, integrate the compound element evolution trend data and the element association data obtained by reinforcement learning, select the random forest model to predict the peak value of element content deposition, and use the integrated data set to train the model. The input is the stacking environment conditions such as temperature, humidity, ventilation, and light conditions, and the output is the related The deposition peak values of key elements such as calcium, phosphorus, potassium, etc. are determined. The accuracy of the model is verified through cross-validation and test sets. The model parameters are adjusted to ensure the predictive performance of the model. The deposition peak values of elements such as calcium, phosphorus, potassium, etc. in forage under different stacking environmental conditions are predicted. According to the prediction results, the changing trends of key elements under different stacking environmental conditions are analyzed, and a feeding management plan is formulated. For example, in summer, the proportion of forage stacked in a cool and ventilated place is increased to reduce the degradation of calcium and phosphorus; in winter, the proportion of forage stacked in the sun is increased to increase the accumulation of potassium, and the formulated feeding management plan is implemented).
[0036] Preferably, step S1 comprises the following steps: Step S11: Obtaining a forage sample in a livestock breeding storage warehouse; Step S12: Drying and crushing the forage sample to obtain a dry and crushed forage sample; Step S13: performing supercritical fluid extraction on the dried and crushed forage sample to obtain a forage extraction sample; Step S14: dissolving and filtering the forage extraction sample to obtain a forage extraction filtration sample.
[0037] In the embodiment of the present invention, a livestock breeding storage warehouse is selected as a sampling area, and a sufficient amount of forage samples (for example, 500 grams of forage are collected at each sampling point) are collected according to different areas or different stacking environments (indoors, outdoors, in the shade, under the sun, etc.) of the livestock breeding storage warehouse on the ranch, and the collected samples are numbered, and information such as the sampling time, location, and environmental conditions is recorded, and the forage samples are evenly spread on a drying tray, set a suitable temperature (such as 60°C) in an oven to dry until the sample weight is constant, and the dried forage samples are placed in a grinder and crushed until the sample particle size meets the experimental requirements (such as passing through an 80-mesh sieve), and a supercritical fluid extraction instrument is prepared, and a suitable supercritical fluid solvent, such as carbon dioxide, is selected, and extraction conditions, such as pressure (30 MPa), temperature (40°C) and time (1 hour), start the extraction equipment and perform supercritical fluid extraction. After the extraction is completed, collect the extract to obtain a forage extraction sample, select a suitable dissolving solvent, such as ethanol, methanol or water, add the forage extraction sample to the solvent, stir until it is completely dissolved, prepare a filter and filter paper (such as a 0.45 micron filter membrane), filter the dissolved sample through the filter paper to remove insoluble impurities, and obtain a forage extraction filtration sample.
[0038] Preferably, step S2 comprises the following steps: Step S21: using chromatography-mass spectrometry to separate and detect the forage extraction and filtration samples to obtain a forage extraction mass spectrum; Step S22: performing molecular ion peak intensity identification on the mass spectrum of the forage extraction to obtain molecular ion peak intensity data; performing compound peak identification on the mass spectrum of the forage extraction according to the molecular ion peak intensity data to obtain forage compound peak data; Step S23: performing peak surface morphology geometric evolution analysis on the forage compound peak data to obtain compound peak surface morphology evolution data; Step S24: performing a spatial impact simulation of environmental variables according to the compound peak morphology evolution data to obtain compound evolution environmental impact data; Step S25: inferring the compound element evolution trend on the compound peak surface morphology evolution data according to the compound evolution environment impact data to obtain the compound element evolution trend data.
[0039] As an example of the present invention, refer to Figure 2 As shown, in this example, step S2 includes: Step S21: using chromatography-mass spectrometry to separate and detect the forage extraction and filtration samples to obtain a forage extraction mass spectrum; In the embodiment of the present invention, a suitable amount of the forage extraction and filtration sample is dissolved in an injection solvent (such as an acetonitrile / water mixed solution), and the sample solution is filtered using a 0.22 micron filter membrane to remove suspended particles, and a high performance liquid chromatography-mass spectrometer (LC-MS / MS) is prepared, and the chromatographic column type (such as a C18 column), the mobile phase composition (such as water and acetonitrile), the flow rate (such as 0.3 mL / min), the column temperature (such as 30°C), the ion source type of the mass spectrometer (such as an electrospray ion source ESI), the positive ion or negative ion mode, the scanning range (such as 50-1000 m / z), the sample solution is injected into the liquid chromatograph, and the compounds are separated by the chromatographic column. The separated compounds enter the mass spectrometer for detection, and the data of chromatographic separation and mass spectrometry detection are collected to obtain a forage extraction mass spectrum. (For example, 50 mg of forage extraction and filtration sample is dissolved in 1 mL of acetonitrile / water, 1:1 mixed solution, the sample solution is filtered through a 0.22-micron filter membrane to remove suspended particles, and a high performance liquid chromatography-mass spectrometer is used to set the chromatographic conditions, including the chromatographic column type: C18 column, mobile phase composition: phase A is water containing 0.1% formic acid, phase B is acetonitrile, flow rate: 0.3 mL / min, column temperature: 30°C; mass spectrometry conditions include ion source type: electrospray ion source ESI, mode: positive ion mode, scanning range: 50-1000 m / z, 10 µL of sample solution is injected into the liquid chromatograph, the compounds are separated by the C18 chromatographic column, the separated compounds are detected by the mass spectrometer, the data of chromatographic separation and mass spectrometry detection are collected, and the mass spectrum of the forage extraction is obtained).
[0040] Step S22: performing molecular ion peak intensity identification on the mass spectrum of the forage extraction to obtain molecular ion peak intensity data; performing compound peak identification on the mass spectrum of the forage extraction according to the molecular ion peak intensity data to obtain forage compound peak data; In the embodiment of the present invention, dedicated data processing software (such as Xcalibur, MassLynx) is used to load mass spectrometry data, identify molecular ion peaks in the mass spectrum, extract intensity data of each peak, remove low-intensity noise signals, retain significant molecular ion peaks, match peaks in the mass spectrum according to molecular ion peak intensity data, identify peaks of each compound, and use databases (such as NIST, MassBank) or standard comparison to identify the identified compounds. Record the mass-to-charge ratio (m / z), retention time, peak intensity and other data of each compound to form forage compound peak data.
[0041] Step S23: performing peak surface morphology geometric evolution analysis on the forage compound peak data to obtain compound peak surface morphology evolution data; In an embodiment of the present invention, first, the forage compound peak data obtained in step S22 is imported into a data analysis software (such as MATLAB), the data is cleaned and standardized, the integrity and consistency of the data are ensured, outliers and noise are removed, the intensity and retention time of each peak are standardized, and a two-dimensional graphic tool is used to draw a two-dimensional morphology diagram of the compound peak, and the geometric characteristics such as peak height, peak width, and peak area are analyzed. Two-dimensional graphics usually show the relationship between peak height and peak width, which helps to understand the basic morphology of the peak. Three-dimensional graphics tools are used to draw a three-dimensional morphology diagram of the compound peak to further analyze the shape and evolution characteristics of the peak. Three-dimensional graphics can show the overall morphology and spatial distribution of the peak, more intuitively reflect the evolution process of the compound peak, construct a geometric evolution model, analyze the evolution trend of the peak geometry over time or conditions, and extract the change law of key parameters such as peak height, peak width, and peak area. This can be achieved by fitting curves or statistical methods, using regression analysis or other statistical tools to determine the trend and law of peak morphological changes. (For example, through preliminary mass spectrometry analysis, the peak data of each compound in the forage were obtained. The research team imported these data into MATLAB software for preprocessing and standardization. Then, two-dimensional graphics tools were used to draw two-dimensional morphological diagrams of each compound peak, and the relationship between peak height and peak width was analyzed; at the same time, three-dimensional graphics tools were used to draw three-dimensional morphological diagrams of compound peaks to show the overall morphology and spatial distribution of the peaks. On this basis, a geometric evolution model was constructed to analyze the changing trends of peak morphology under different storage times and conditions, and to extract the changing laws of key parameters such as peak height, peak width, and peak area. Finally, detailed compound peak surface morphological evolution data was formed) Step S24: performing a spatial impact simulation of environmental variables according to the compound peak morphology evolution data to obtain compound evolution environmental impact data; In an embodiment of the present invention, environmental variables that have a significant impact on the compound peak morphology are selected, such as temperature, humidity, light, ventilation, etc. The selection of these variables should be based on the characteristics of the actual storage environment and the analysis of the characteristics of the compound, and a simulation model of the spatial impact of environmental variables should be constructed. Multiple regression analysis, principal component analysis (PCA) and other methods are used to simulate the impact of different environmental variables on the evolution of compound peak morphology. Ensure that the model can accurately reflect the relationship between environmental variables and compound peak morphology, and input compound peak morphology evolution data and corresponding environmental variable data. These data should contain detailed environmental condition records and the geometric characteristics of each compound peak under different forage stacking environmental conditions, run the spatial impact simulation model, analyze the impact of different environmental variables on the evolution of compound peak morphology, and predict the geometric morphological changes of compound peaks under different forage stacking environmental conditions. The simulation results should include the specific degree and trend of the impact of each environmental variable on the compound peak morphology. (For example, when storing forage under different environmental conditions, in order to analyze the impact of these conditions on the peak morphology of compounds, the research team selected temperature, humidity, light and ventilation as the main environmental variables. First, a multivariate regression analysis model was constructed, and the compound peak morphology evolution data and environmental variable data obtained earlier were input into the model. Through simulation analysis, the research team found that temperature and humidity have the greatest impact on the morphology of compound peaks, followed by light and ventilation. The simulation results show that under high temperature and high humidity environments, the peak height and peak area of some compound peaks increased significantly, while under low temperature and low humidity environments, the peak width decreased significantly. Finally, the research team recorded these results as compound evolution environmental impact data, including the specific impact degree and trend of each environmental variable on the evolution of compound peak morphology, which provided an important basis for the subsequent optimization of storage conditions.) Step S25: inferring the compound element evolution trend on the compound peak surface morphology evolution data according to the compound evolution environment impact data to obtain the compound element evolution trend data.
[0042] In an embodiment of the present invention, a compound element evolution model based on environmental variables is constructed to analyze the influence of environmental variables on the composition and distribution of compound elements. The model can combine environmental impact data and compound peak morphology evolution data to predict the change trend of compound elements. The compound evolution environmental impact data and compound peak morphology evolution data are integrated to establish a multivariate analysis model. Ensure that the model can fully reflect the evolution trend of compound elements under different forage stacking environmental conditions. Use machine learning algorithms (such as random forests, support vector machines, neural networks) to train data and infer the evolution trend of compound elements under different forage stacking environmental conditions. Through cross-validation and hyperparameter tuning, optimize model performance to ensure the accuracy and stability of inference results. Run the trained model, perform element evolution trend inference, and predict the change trend of each key element under different forage stacking environmental conditions. The inference results are recorded as compound element evolution trend data, including the evolution trend of each key element under different forage stacking environmental conditions. Ensure that the data records are detailed for subsequent analysis and application. (For example, predict the changing trends of key elements in forage under different storage environments to optimize storage and feeding management. The research team first constructed a compound element evolution model based on environmental variables, integrated the compound evolution environmental impact data and compound peak morphology evolution data obtained in the early stage, and input them into the model. The data was trained using the random forest algorithm, and the model performance was optimized through cross-validation and hyperparameter tuning. The model operation results showed that under high temperature and high humidity environments, the content of key elements such as calcium and phosphorus increased significantly, while under low temperature and low humidity environments, the content of these elements changed little. The research team recorded these inference results as compound element evolution trend data, including the evolution trend of each key element under different forage stacking environmental conditions, providing a scientific basis for dairy farms to optimize forage storage and feeding management.) Preferably, step S24 includes the following steps: Step S241: performing compound content fluctuation analysis according to compound peak surface morphology evolution data to obtain compound content fluctuation data; Step S242: calculating the content fluctuation light sensitivity interval of the compound peak surface morphology evolution data according to the compound content fluctuation data to obtain the content fluctuation light sensitivity interval; performing temperature influence mapping according to the content fluctuation light sensitivity interval to obtain content fluctuation temperature influence mapping data; Step S243: performing microbial activity fluctuation simulation according to the content fluctuation light sensitive interval and the content fluctuation temperature impact mapping data to obtain microbial activity fluctuation data; Step S244: Calculate the variable coupling reaction order of the compound content quantitative data according to the microbial activity fluctuation data, the content fluctuation light sensitive interval, and the content fluctuation temperature influence mapping data to obtain the variable coupling reaction order data; Step S245: Performing a spatial impact simulation of environmental variables based on the variable coupling reaction order data to obtain compound evolution environmental impact data.
[0043] In an embodiment of the present invention, the compound peak morphology evolution data is imported into a data analysis software (such as R), the data is cleaned, noise and outliers are removed, and standardized to ensure the consistency of the data, the compound peak data is arranged in chronological order, and a time series model (such as an ARIMA model) is constructed to analyze the fluctuation of the content of each compound over time. The data is spectrally analyzed using a fast Fourier transform (FFT) to identify the periodicity and frequency characteristics of the compound content fluctuation, extract the key characteristics of the compound content fluctuation, such as fluctuation amplitude, frequency, period, etc., and perform correlation analysis with environmental variables. Statistical methods (such as correlation analysis and regression analysis) are used to determine the degree of influence of each environmental variable on the compound content fluctuation. The analysis results are recorded as compound content fluctuation data, including the content fluctuation characteristics of each compound at different time points, and the correlation information with environmental variables. (For example, the compound peak morphology evolution data was imported into R software, and the data was cleaned and standardized. By constructing an ARIMA model, the content fluctuations of different compounds during storage were analyzed, and it was identified that the content of certain compounds (such as a certain antioxidant) increased at the beginning of storage, but gradually decreased under high temperature and high humidity conditions. Using FFT for spectral analysis, it was found that these fluctuations had a certain periodicity. Finally, the team recorded the analysis results as compound content fluctuation data, which included information such as the fluctuation amplitude, frequency, and period of each compound, and provided basic data for subsequent analysis). Obtain light intensity data in the storage environment, record light changes in different time periods, correlate compound content fluctuation data with light data, identify the intervals where compound content is sensitive to light changes, and determine the light-sensitive interval. Using regression analysis and other methods, determine the relationship between light intensity and compound content fluctuation, obtain temperature change data in the storage environment, record temperature changes in different time periods, correlate light sensitivity intervals with temperature data, build a temperature impact mapping model, analyze the degree of influence of temperature on compound content fluctuations, run the temperature impact mapping model, analyze the trend of compound content changes in the light sensitive interval under different temperature conditions, determine temperature impact mapping data, and record the calculation results as content fluctuation light sensitive interval and temperature impact mapping data, including the range of light sensitive intervals and the specific impact of temperature on compound content fluctuations. (For example, first collect light intensity data and temperature data in the storage environment, and correlate them with the compound content fluctuation data obtained earlier. Through regression analysis, the team determined the interval in which the antioxidant content is most sensitive to light changes. For example, in the range of 500 to 1000 lux light intensity, the antioxidant content fluctuates the most. Then, a temperature impact mapping model was built, and the light sensitive interval was correlated with the temperature data. It was found that the content fluctuation of antioxidants in the light sensitive interval under high temperature conditions is more significant.Finally, these results are recorded as content fluctuation light sensitivity interval and temperature impact mapping data, including the range of light sensitivity interval and the specific impact of temperature on antioxidant content fluctuation, which provides a scientific basis for optimizing forage storage on farms. ) Organize the content fluctuation light sensitivity interval and content fluctuation temperature impact mapping data to ensure that the data format is consistent and complete. According to the forage type and storage environment, determine the main microbial species present, such as lactic acid bacteria, yeast, etc. Establish a growth kinetic model for each main microorganism, considering the effects of light and temperature on its growth. According to literature and experimental data, set key parameters in the model, such as maximum growth rate, lag time, etc. Use numerical methods (such as Runge-Kutta method) to solve the microbial growth kinetic equation and obtain the changes in the number of microorganisms over time under different conditions. According to the changes in the number of microorganisms, evaluate their metabolic activity and consider the effects of different microorganisms on forage composition. By changing the light and temperature conditions, analyze the degree of influence of these factors on microbial activity. Integrate the simulation results into microbial activity fluctuation data, including the changes in the activity of various microorganisms under different conditions. (For example, the changes in microbial activity during the storage of alfalfa were analyzed, and the previously obtained content fluctuation light sensitivity range such as 400-700nm and content fluctuation temperature influence mapping data within the range of 15-35℃ were sorted out. According to the characteristics of alfalfa, the main microorganisms were determined to include lactic acid bacteria, yeasts and clostridium. A Baranyi model was constructed for each microorganism, considering the effects of light and temperature. The growth parameters of these microorganisms were obtained from the literature, such as the maximum growth rate of lactic acid bacteria at 25℃ was 0.35 h^-1. Using MATLAB software, a program for solving differential equations was written to simulate the growth curves of microorganisms under different light and temperature conditions. The simulation shows that lactic acid bacteria are most active in the range of 20-30℃, while at low temperatures (< 15℃) or high temperatures (> 35℃), its activity is significantly reduced. Light has little effect on lactic acid bacteria, but has a significant promoting effect on the growth of yeast. Clostridium is more active under anaerobic conditions, but is greatly affected by temperature. By changing the simulation conditions, it is found that temperature is the most critical factor affecting microbial activity. Every 5℃ temperature change can cause a 20-30% change in microbial activity. The effect of light is second, mainly reflected in the impact on the metabolic pathways of some microorganisms). Organize the microbial activity fluctuation data, content fluctuation light sensitive interval, content fluctuation temperature effect mapping data and compound content quantitative data. Make sure that all data have the same time and environmental conditions mark. Divide the data into several groups according to different environmental conditions (such as light intensity and temperature combination). For each group of data, calculate the rate of change of compound content over time. Simple differential methods or more complex numerical differential techniques can be used. For each group of data, calculate the correlation coefficient between the rate of change of compound content and microbial activity, light intensity and temperature.Assign weights to each influencing factor (microbial activity, light, temperature) based on the magnitude of the correlation coefficient. Multiply the weights of each influencing factor by its corresponding value and sum them to obtain a comprehensive coupling index. Divide the rate of change of compound content by the coupling index to obtain an approximate reaction order. Systematically change one environmental variable while keeping the other variables constant and observe the corresponding changes in compound content. This can help reveal the relative contribution of each variable to the fluctuation of compound content. Change multiple environmental variables at the same time to evaluate the interaction effects between them. This can be done through previously identified patterns and trends.
[0044] In the embodiment of the present invention, the compound peak morphology evolution data is sorted and normalized to ensure the continuity and comparability of the data, the compound content data at each time point or condition is extracted, a time series or environmental series is established, and a time series analysis method, such as moving average, differential analysis, etc., is used to detect the fluctuation characteristics of the compound content over time or environmental variables, calculate the fluctuation range, frequency and amplitude of the compound content, identify significant fluctuation patterns, perform spectrum analysis (such as fast Fourier transform, FFT) on the content fluctuation data, identify the main fluctuation frequency and periodic changes, analyze the high-frequency and low-frequency components of the fluctuation, understand the short-term and long-term characteristics of the fluctuation, use sensors to collect light condition data such as light intensity, light cycle, etc. in the forage stacking area, match the compound content fluctuation data, analyze the correlation between the compound content fluctuation and the light conditions, identify the time period or condition sensitive to light changes, calculate the light sensitive interval of the compound content fluctuation through statistical analysis (such as correlation analysis, regression analysis), identify the interval where the content change is closely related to the light change, and use sensors to collect corresponding temperature condition data such as ambient temperature, sample processing temperature, etc. Conduct temperature impact analysis to evaluate the impact of temperature changes on compound content fluctuations. Establish a temperature impact model and calculate the temperature impact mapping data of compound content fluctuations through mapping analysis (such as content change curves corresponding to temperature changes). Analyze the interactive effects of light and temperature to understand their joint impact on compound content fluctuations. Use multivariate analysis or machine learning methods (such as multivariate regression analysis or decision tree analysis) to identify the complex impact patterns of light and temperature on compound content fluctuations. Analyze the correlation between microbial activity and compound content fluctuations, identify the potential impact of activity changes on compound content fluctuations, combine content fluctuation light sensitivity intervals and temperature impact mapping data, analyze the changes in microbial activity under these conditions, evaluate the impact of light and temperature conditions on microbial activity fluctuations, identify sensitive intervals and significant change patterns, establish a microbial activity fluctuation model, and predict the changing trend of microbial activity through comprehensive analysis of environmental variables (light, temperature, etc.) and compound content fluctuation data. Use kinetic models or machine learning algorithms (such as random forests or neural networks) to accurately calculate and predict microbial activity fluctuations to obtain microbial activity fluctuation data.Collect and integrate the data on microbial activity fluctuations, content fluctuation light-sensitive interval data, and content fluctuation temperature impact mapping data obtained in the previous steps, use multivariate statistical analysis methods (such as principal component analysis PCA or partial least squares PLS) to identify the coupling relationship between different variables, analyze the complex interactions between light, temperature, microbial activity, and compound content fluctuations, determine the key influencing factors and coupling reaction mechanisms, and construct a variable coupling reaction model. Considering the joint effects of light, temperature, and microbial activity on compound content, use reaction kinetic models (such as Michaelis-Menten kinetics or models based on rate equations) to calculate the coupling reaction order, quantify the coupling strength and reaction rate between variables, and obtain variable coupling reaction order data through calculation, indicating the dynamic changes and response mechanisms of compound content under different conditions; establish a spatial distribution model of environmental variables, using a geographic information system (GIS) Or spatial statistical analysis methods are used to describe the changes in light and temperature in different geographical locations and times, consider the spatial distribution and dynamic changes of environmental variables, conduct comprehensive analysis in combination with compound content data, input variable coupling reaction order data into the spatial model of environmental variables, simulate the dynamic evolution of compounds under different forage stacking environmental conditions, use numerical simulation technology (such as finite element analysis or Monte Carlo simulation) to analyze the evolution trend and impact mechanism of compounds under different forage stacking environmental conditions, output compound evolution environmental impact data, including the prediction results of compound content changes over time and space, evaluate the influence of different environmental variables on compound evolution, identify key environmental factors and sensitive intervals, and obtain compound evolution environmental impact data.
[0045] Preferably, calculating the variable coupling reaction order of the compound decomposition kinetic simulation data comprises the following steps: According to the microbial activity fluctuation data, the light sensitive range of content fluctuation and the content fluctuation temperature influence mapping data, the compound decomposition dynamics simulation is performed on the compound content quantitative data to obtain the compound decomposition dynamics simulation data; Plotting a compound concentration decomposition curve for the compound decomposition kinetics simulation data to obtain a compound concentration decomposition curve; According to the compound concentration decomposition curve, the decomposition reaction order of the compound decomposition kinetic simulation data is calculated to obtain the concentration decomposition reaction order data; Calculate multivariate impact weights based on concentration decomposition reaction order data to obtain concentration decomposition multivariate impact weight data; Based on the Arrhenius equation and the concentration decomposition multivariate influence weight data, the variable coupling reaction order data is calculated for the concentration decomposition reaction order data to obtain the variable coupling reaction order data.
[0046] In an embodiment of the present invention, data obtained from mapping the fluctuation of microbial activity, the light sensitive interval of content fluctuation, and the temperature effect of content fluctuation are sorted and integrated to ensure that all data are synchronized at the same time and under the same conditions, so as to perform decomposition dynamics simulation, select a compound decomposition kinetic model, such as a zero-order reaction, a first-order reaction, or a more complex kinetic model, to describe the decomposition process of the compound, and the decomposition rate and mechanism of the compound under different microbial activity, light and temperature conditions can be considered. The selected kinetic model is used to simulate the decomposition kinetics of the compound to obtain the concentration change data (simulated data) of the compound under different conditions. During the simulation process, the effects of light intensity, temperature fluctuations, and changes in microbial activity on the decomposition rate of the compound are taken into account. The compound decomposition kinetics simulation data is converted into a visual concentration decomposition curve. A curve graph of the compound concentration changing over time is drawn to show the decomposition behavior under different forage stacking environmental conditions. By analyzing the morphology and trend of the curve, the decomposition characteristics of the compound, such as the decomposition rate and time constant, are determined, the concentration decomposition curves under different conditions are compared, and significant change patterns and differences are identified. According to the data of the compound concentration decomposition curve, a kinetic analysis method (such as an integral method or a differential method) is used to calculate the order of the decomposition reaction. For example, by using the linear regression method, the relationship between logarithmic concentration and time is plotted to determine whether the reaction is a zero-order, first-order, or second-order reaction. The calculated reaction order data are organized into a table to record the decomposition reaction orders under different conditions. These data reflect the decomposition kinetics of the compounds under different light, temperature, and microbial activity conditions. Based on the concentration decomposition reaction order data, the degree of influence of light, temperature, and microbial activity on the decomposition reaction of the compound is analyzed. Statistical methods (such as multivariate regression analysis or weighted linear regression) are used to evaluate the contribution and weight of each variable to the decomposition rate, calculate the influence weight of each variable, and quantify the degree of influence of light, temperature, and microbial activity on the decomposition reaction rate. The weight data reflects which factors are the main driving force for the decomposition of the compound under different conditions. The multivariate influence weight data obtained are organized to form a complete influence factor matrix, which represents the variable weights under different conditions. The Arrhenius equation is used to describe the effect of temperature on the decomposition rate of the compound. The variable coupling reaction order under different light, temperature, and microbial activity conditions is calculated by combining the Arrhenius equation and the multivariate influence weight data. The coupling effect of different variables is quantified to obtain the coupled reaction order describing the decomposition reaction of the compound. The calculation results were sorted out to obtain the final variable coupling reaction order data, which represents the decomposition rate and reaction mechanism of the compounds under different forage stacking environmental conditions.(For example, collect data on changes in potassium content in forage over time, record the corresponding microbial activity, light intensity and temperature data, use the first-order reaction kinetic model to simulate the decomposition dynamics of potassium, draw a graph with time as the horizontal axis and potassium content as the vertical axis, draw curves under different light, temperature and microbial activity conditions respectively, perform linear regression analysis on the data, calculate the reaction order under different conditions, such as between 0.8-1.2, use multivariate regression analysis to evaluate the influence of each factor, and obtain the influence weights of light, temperature, and microbial activity, such as 0.3, 0.5, and 0.2. Use the Arrhenius equation to describe the influence of temperature, and calculate the coupled reaction order in combination with multivariate weights to obtain the coupled reaction order under different combinations of conditions, such as 0.9-1.3).
[0047] Preferably, step S25 comprises the following steps: Step S251: performing environmental impact cycle difference evaluation according to the compound evolution environmental impact data to obtain environmental impact cycle difference data; Step S252: performing peak surface morphology geometric evolution difference analysis on the compound peak surface morphology evolution data according to the environmental impact cycle difference data to obtain morphology geometric evolution difference data; Step S253: using a geometric difference evolution approximation algorithm to calculate the evolution structure approximation degree of the morphological geometric evolution difference data, to obtain evolution structure approximation degree data; Step S254: performing evolution difference approximate structure division processing on the morphological geometry evolution difference data according to the evolution structure approximate degree data to obtain evolution difference approximate structure division data; Step S255: performing approximate structure variational inference according to the evolutionary difference approximate structure division data to obtain evolutionary structure approximate variational inference data; Step S256: Inferring the compound element evolution trend on the compound peak surface morphology evolution data according to the evolution structure approximate variational inference data to obtain the compound element evolution trend data.
[0048] In the embodiment of the present invention, data on the environmental impact of compound evolution are collected and sorted, and these data include the evolution characteristics of compounds under different time and environmental conditions. The data are grouped and classified according to time series and environmental variables (such as light, temperature, humidity, etc.). Time series analysis methods such as Fourier transform (FFT) or wavelet transform are used to identify periodic features in the data on the environmental impact of compound evolution. The main periods and frequencies are calculated to identify periodic patterns and fluctuations in the data. Compare the periodic changes under different forage stacking environmental conditions, evaluate the periodic differences of environmental impacts, use statistical methods (such as mean difference analysis or variance analysis ANOVA) to quantify the differences in the periods under different forage stacking environmental conditions, organize and record the results of periodic analysis and difference evaluation, and form environmental impact periodic difference data; collect and organize compound peak morphological evolution data, which include mass spectrometry peak morphological characteristics (such as height, width, symmetry, etc.) of compounds under different conditions, classify and align the data according to different environmental conditions and periodic difference data, use geometric analysis methods (such as morphological analysis or shape analysis) to evaluate the geometric morphological changes of compound peaks under different conditions, calculate the geometric characteristic parameters of the peaks, such as shape factor, symmetry, sharpness, etc., identify the change pattern of geometric morphology, compare the peak geometric morphology under different forage stacking environmental conditions, and evaluate the differences in geometric evolution. Use morphological comparison methods (such as Procrustes analysis or shape matching algorithm) to quantify the differences in geometric morphology. Organize and record the results of geometric evolution difference analysis to form morphological geometric evolution difference data. Select a geometric difference evolution approximation algorithm, which can also be dynamic time warping (DTW) or Hausdorff distance, to calculate the approximation of the evolutionary structure. These algorithms can compare the similarities and differences between different morphological geometric data. Input the morphological geometry evolution difference data into the approximation algorithm for analysis. Use the selected approximation algorithm to calculate the approximation of the evolutionary structure under different conditions. Quantify and compare the similarity of the geometric morphology evolution of the compound peak surface under different forage stacking environmental conditions. Arrange the calculation results to form the evolutionary structure approximation data. Integrate the evolutionary structure approximation data with the morphological geometry evolution difference data to establish a comprehensive data set to ensure that all data points are aligned in space and time and have corresponding approximation and geometric difference information. Use cluster analysis methods (such as K-means clustering, hierarchical clustering or Gaussian mixture model GMM) to identify the evolutionary difference approximate structures under different conditions. According to the similarity of the evolutionary structure, the data is divided into different structural categories. The identified approximate structures are classified and labeled to form a clear structural division scheme. Each structural category represents the evolutionary pattern of the compound peak surface morphology under similar environmental conditions. Arrange and record the structural partitioning results to form the evolutionary difference approximate structural partitioning data. Based on the evolutionary difference approximate structural partitioning data, build a variational inference model.Use Bayesian variational inference methods (such as variational Bayesian method VB or variational autoencoder VAE) to approximate the probability distribution of different structural categories. Input the structural division data into the variational inference model for training. The model captures the potential distribution of different structural categories by learning the statistical characteristics of the evolutionary structure. Through the trained variational inference model, infer the unknown or unlabeled evolutionary data to obtain the probability distribution of the approximate structural category of each data point, calculate the probability weight of the data in different structural categories, represent the possibility of the data point under each evolutionary mode, organize the inference results, and form the evolutionary structure approximate variational inference data; select time series analysis or machine learning methods (such as ARIMA model, LSTM neural network or support vector regression SVR) for trend analysis. These methods can capture the long-term trend and complex pattern of compound element evolution. Use the selected method to perform trend analysis on the integrated data, predict the element evolution path of the compound under different forage stacking environmental conditions, analyze the trend of compound elements over time, and evaluate the impact of different environmental variables on element evolution. Organize and record the results of trend analysis to form compound element evolution trend data.
[0049] Preferably, the geometric evolution difference structure hierarchical algorithm in step S254 is as follows:
[0050] In the formula, Indicates the result value of the evolution structure approximation degree, The geometric complexity coefficient representing the geometric evolution difference data, represents the temporal correlation coupling degree of the morphological geometric evolution difference data, The evolution difference of adjacent marker points representing the morphological and geometric evolution difference data, Indicates the maximum value of the evolution time of the morphological geometric evolution difference data, represents a natural constant, The geometric morphological evolution density representing the morphological geometric evolution difference data, The intensity difference quantification coefficient representing the morphological geometric evolution difference data, represents the differential, Express Differentiate, that is The amount of change, Represents the error correction value of the geometric difference evolution approximation algorithm.
[0051] The present invention constructs a geometric evolution difference structure hierarchical algorithm to capture the complexity, time correlation, local difference, density and intensity of geometric morphology in the evolution process. This enables the formula to describe the dynamic changes of morphology in the evolution process in detail. Through the regulation of these parameters, the formula can adapt to and simulate various complex geometric evolution scenarios, from simple morphological changes to complex multi-dimensional geometric structure evolution, so as to better calculate the approximate structure in evolution. The algorithm fully considers the result value of the degree of evolution structure approximation , which is the final output of the algorithm, represents the approximate result of the geometric morphological evolution difference. It comprehensively considers the role of all parameters and the complex relationship between them to measure the overall degree of morphological change during the evolution process; the geometric morphological complexity coefficient of the morphological geometric evolution difference data , which quantifies the complexity of the morphology during its evolution. Geometric complexity includes the irregularity of the morphology's boundaries, the diversity of surface features, etc. It affects the exponential and logarithmic parts of the formula and regulates the weights of various parameters during the evolution process. A higher Values usually indicate more complex or detailed morphology, resulting in higher geometric complexity. Therefore, the complexity coefficient directly affects the computational complexity and approximation accuracy of the evolution model; the temporal correlation coupling degree of the morphological geometric evolution difference data , this parameter reflects the evolutionary correlation of the morphology in the time dimension. It describes the degree of coupling between the evolutionary states of the morphology at different time points. The value indicates that the evolution of the morphology is highly sensitive to time changes, that is, the morphology changes significantly over time. This parameter plays a key role in the index term and determines the influence of time in the process of morphological evolution; the evolution difference of adjacent marker points of morphological geometric evolution difference data , indicating the evolutionary differences between adjacent points of the morphology. The changes in adjacent marker points provide important information about the local evolutionary behavior. The value usually means that the changes between adjacent points are drastic, indicating that there are significant local differences or irregularities in the morphological evolution process. This difference affects the overall geometric morphology at the microscopic scale; the maximum value of the evolution time of the morphological geometric evolution difference data , As an integral variable, it represents the time maximum reached by the morphology during the evolution process. This means that in the evolution process, the most important or significant moment of morphological change is at The integral from 0 to infinity indicates that the formula takes into account the infinite extension from the initial moment to the morphological evolution, which covers the entire evolutionary time range; the natural constant , in this formula, The use of implies the exponential growth or decay phenomenon in the process of morphological evolution, reflecting the dynamics of morphological change; the geometric morphological evolution density of morphological geometric evolution difference data , quantifies the density change during the morphological evolution process, that is, the frequency or concentration of morphological changes in a unit area. The value indicates that the morphology has undergone a large number of changes in a small area, indicating that there is a high density of geometric changes in the evolution process. The evolution density can reveal the regional characteristics and concentration of changes in the morphology during the evolution process; the intensity difference quantification coefficient of the morphological geometric evolution difference data , which measures the intensity or magnitude of change during morphological evolution. It captures the intensity of geometric morphological changes during the evolution process as a whole. The value of indicates that the change in the evolution process is more drastic or obvious, which is reflected in the significant deformation or significant characteristics of the morphology. The influence of intensity difference on the sine function part of the formula is particularly obvious, which increases the periodicity and volatility of the evolution process; Differentiate , we want the value of the integrand to be The values between 0 and infinity are added together to calculate the "sum" of the entire interval. In this case, Relative to Variable integration; error correction value of geometric difference evolution approximation algorithm , used to correct the potential errors in the geometric difference evolution approximation algorithm and ensure the final result accuracy and reliability.
[0052] Preferably, step S3 comprises the following steps: Step S31: calculating the stable range of content changes between different compound elements on the compound element evolution trend data to obtain the stable range of element content changes; Step S32: mining the correlation between different compound elements in the stable interval of element content change to obtain element content change correlation mining data; Step S33: Based on the policy gradient algorithm, the element content change association mining data is subjected to association relationship reinforcement learning to obtain element association reinforcement learning data.
[0053] In an embodiment of the present invention, time series data of each compound element are extracted from the compound element evolution trend data, which reflects the trend of element content changing over time or environment. Statistical analysis methods (such as standard deviation, coefficient of variation or moving average method) are used to evaluate the volatility of each element content, identify and quantify the fluctuation range and frequency of element content changing over time, and define the stable interval of each element according to the results of the fluctuation analysis, that is, the time or condition interval with small content change and low fluctuation. The sliding window method or other smoothing techniques are used to identify the time period and conditions of the element content within the stable interval. The average content and fluctuation range of each element in the stable interval are calculated. These stable interval data are compared and analyzed with the stable intervals of other elements to identify the stability relationship between different elements. The calculation results are sorted to form element content change stable interval data. The stable interval data of the content change of each element are integrated to establish an association analysis data set containing multiple elements. Select an association analysis method (such as Pearson correlation coefficient, Spearman rank correlation or mutual information) to evaluate the correlation between elements. These methods can quantify the relationship and dependence between different elements in the stable interval. Use the selected method to perform association analysis on the stable interval data between different elements and identify significant associations between elements. Calculate the correlation coefficient or mutual information between element pairs to determine the strength and direction of the association between elements. Organize and record the results of the association analysis to form element content change association mining data. Build a reinforcement learning model based on the policy gradient algorithm to optimize the association between elements. Select a policy gradient method such as REINFORCE, Trust Region Policy Optimization (TRPO), or Proximal PolicyOptimization (PPO). Use the element content change association mining data as input to train the reinforcement learning model. Standardize and normalize the data to meet the requirements of the model. Use the policy gradient algorithm to optimize the policy in the reinforcement learning model to maximize the long-term return of the association between elements, and train the model to learn and identify strategies for optimizing the element association. Organize and record the training and optimization results of the reinforcement learning to form element association reinforcement learning data.
[0054] Preferably, step S33 includes the following steps: Step S331: extracting features from the element content change correlation mining data to obtain element change correlation feature data; Step S332: adapting the feature strategy network structure to the element change associated feature data to obtain feature strategy network adaptation data; Step S333: performing strategy operation state simulation on the characteristic strategy network adaptation data to obtain strategy operation state simulation data; Step S334: performing simulation variance calculation according to the strategy operation state simulation data to obtain operation state simulation variance data; Step S335: performing low variance sampling on the strategy operation state simulation data according to the operation state simulation variance data to obtain strategy operation low variance sampling data; Step S336: Based on the policy gradient algorithm, the policy operation low variance sampling data is subjected to association relationship reinforcement learning to obtain element association reinforcement learning data.
[0055] In an embodiment of the present invention, the element content change association mining data is standardized to ensure that the data is compared on the same scale, and feature selection techniques (such as principal component analysis PCA or linear discriminant analysis LDA) are used to identify and select the most important features and reduce the dimension of the data. Through feature selection, feature data that has the greatest impact on element content changes and correlations can be extracted. Feature engineering techniques (such as polynomial features, interactive features, or time-derived features) are applied to generate new features to enhance the expressive power of the model. The extracted features may include the rate of change, volatility, trend, and influence of environmental factors of the element content. The results of feature extraction are sorted and recorded to form element change association feature data. A strategic network structure that adapts to element change association features is designed, such as a multilayer perceptron (MLP) or a convolutional neural network (CNN). The number of layers, the number of nodes per layer, the activation function, and the connection mode of the network are determined to optimally capture the pattern of the feature data. The element change association feature data is input into the strategic network for adaptation and adjustment. Adjust network parameters (such as learning rate, regularization parameter, etc.) to adapt to the feature distribution and complexity of the data. Train and adjust the network using an optimization algorithm (such as stochastic gradient descent SGD or Adam optimizer) to find the network configuration that best fits the data. Monitor the loss function and performance indicators during training to ensure the adaptability and generalization ability of the network structure. Organize the results of the network adaptation to form feature policy network adaptation data. Define the running state of the policy network, which includes the mapping relationship between input feature data, network weights, and output policies. The goal of the running state simulation is to evaluate the performance and response of the policy under different states. Use the feature policy network to simulate the policy running state under different input conditions. Evaluate the output and behavior of the policy under different environmental conditions and feature combinations. Use performance indicators (such as return value, accuracy, or loss function) to evaluate the performance of the policy in the simulated state. Record the performance and changes of the policy under different states for subsequent variance calculation and optimization. Organize and record the results of the policy running state simulation to form the policy running state simulation data. Perform variance analysis on the policy running state simulation data to evaluate the volatility of the policy output. Calculate the output variance of the policy under different states to identify areas where the policy performance is stable and unstable. Use statistical methods (such as standard deviation or coefficient of variation) to quantify the variance of the policy under different input conditions. Evaluate the size and distribution of variance to determine which states have higher uncertainty in strategy performance. Organize the results of variance analysis to form variance data for running state simulation. Based on the variance data, identify areas where the variance of strategy output is low, which represent states where strategy performance is relatively stable. Design a low-variance sampling strategy to select samples with low variance from the simulation data of strategy running state. You can use a weighted sampling method to preferentially select sample areas with low variance for sampling. Extract low-variance samples from the simulation data of strategy running state to form a sample set with higher stability.The sampled dataset will be used for further reinforcement learning and policy optimization. Organize the sampling results to form low-variance sampled data for policy operation. Use the low-variance sampled data for policy operation as the input dataset for the reinforcement learning environment. Ensure that the reinforcement learning model can perform policy optimization in a stable state with low variance. Select a policy gradient algorithm (such as REINFORCE, TRPO, or PPO) for reinforcement learning. These algorithms can effectively learn and optimize the parameters of the policy to maximize long-term returns. Use the policy gradient algorithm to train the low-variance sampled data for policy operation to optimize the parameters of the policy. Through multiple iterations, gradually adjust the policy to improve the performance of the policy and the optimization of the association relationship. Organize the results of training and optimization to form element-association reinforcement learning data. These data include the optimized policy parameters, the reward value of reinforcement learning, and the final policy performance.
[0056] Preferably, the present invention further provides a forage element content trend prediction system based on animal husbandry, which is used to execute the forage element content trend prediction method based on animal husbandry as claimed in claim 1, and the forage element content trend prediction system based on animal husbandry comprises: The sample filtering module is used to obtain forage samples in the livestock breeding storage warehouse; dissolve and filter the forage samples to obtain forage extraction and filtration samples; The forage element trend analysis module is used to separate, detect and process forage extraction and filtration samples to obtain forage extraction mass spectra; perform compound peak identification on forage extraction mass spectra to obtain forage compound peak data; perform environmental variable spatial impact simulation based on forage compound peak data to obtain compound evolution environmental impact data; perform compound element evolution trend inference based on compound evolution environmental impact data to obtain compound element evolution trend data; The element association relationship learning module is used to mine the mutual correlation of compound element evolution trend data to obtain element content change association mining data; based on the strategy gradient algorithm, the element content change association mining data is subjected to association relationship reinforcement learning to obtain element association reinforcement learning data; The feeding management planning module is used to predict the element content deposition peak value according to the compound element evolution trend data and the element association reinforcement learning data to obtain the element content deposition peak value prediction data; and to perform forage feeding management planning according to the element content deposition peak value prediction data to obtain the forage feeding management planning data.
[0057] Therefore, the embodiments should be regarded as illustrative and non-restrictive from all points, and the scope of the present invention is limited by the appended claims rather than the above description, and it is therefore intended that all changes falling within the meaning and range of equivalent elements of the application documents are included in the present invention.
[0058] The above description is only a specific embodiment of the present invention, so that those skilled in the art can understand or implement the present invention. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present invention. Therefore, the present invention will not be limited to the embodiments shown herein, but should conform to the widest scope consistent with the principles and novel features invented herein.
Claims
1. A method for predicting the trend of forage element content based on animal husbandry, characterized in that: The following steps are involved: Step S1: Obtaining a forage sample in a livestock breeding storage warehouse; Dissolving and filtering the forage sample to obtain a forage extraction and filtration sample; Step S2: performing separation and detection processing on the forage extraction and filtration samples to obtain a forage extraction mass spectrum; performing compound peak identification on the forage extraction mass spectrum to obtain forage compound peak data; performing environmental variable spatial impact simulation based on the forage compound peak data to obtain compound evolution environmental impact data; performing compound element evolution trend inference based on the compound evolution environmental impact data to obtain compound element evolution trend data; Step S3: performing mutual correlation mining on compound element evolution trend data to obtain element content change correlation mining data; Based on the policy gradient algorithm, the element content change association mining data is subjected to association relationship reinforcement learning to obtain element association reinforcement learning data; Step S4: predicting the element content deposition peak value according to the compound element evolution trend data and the element association reinforcement learning data to obtain the element content deposition peak value prediction data; performing forage feeding management planning according to the element content deposition peak value prediction data to obtain the forage feeding management planning data.
2. The method for predicting the trend of forage element content based on animal husbandry according to claim 1, characterized in that: Step S1 includes the following steps: Step S11: Obtaining a forage sample in a livestock breeding storage warehouse; Step S12: Drying and crushing the forage sample to obtain a dry and crushed forage sample; Step S13: performing supercritical fluid extraction on the dried and crushed forage sample to obtain a forage extraction sample; Step S14: dissolving and filtering the forage extraction sample to obtain a forage extraction filtration sample.
3. The method for predicting the trend of forage element content based on animal husbandry according to claim 1, characterized in that: Step S2 includes the following steps: Step S21: using chromatography-mass spectrometry to separate and detect the forage extraction and filtration samples to obtain a forage extraction mass spectrum; Step S22: performing molecular ion peak intensity identification on the mass spectrum of the forage extraction to obtain molecular ion peak intensity data; performing compound peak identification on the mass spectrum of the forage extraction according to the molecular ion peak intensity data to obtain forage compound peak data; Step S23: performing peak surface morphology geometric evolution analysis on the forage compound peak data to obtain compound peak surface morphology evolution data; Step S24: performing a spatial impact simulation of environmental variables according to the compound peak morphology evolution data to obtain compound evolution environmental impact data; Step S25: inferring the compound element evolution trend on the compound peak surface morphology evolution data according to the compound evolution environment impact data to obtain the compound element evolution trend data.
4. The method for predicting the trend of forage element content based on animal husbandry according to claim 3, characterized in that: Step S24 includes the following steps: Step S241: performing compound content fluctuation analysis according to compound peak surface morphology evolution data to obtain compound content fluctuation data; Step S242: calculating the content fluctuation light sensitivity interval of the compound peak surface morphology evolution data according to the compound content fluctuation data to obtain the content fluctuation light sensitivity interval; performing temperature influence mapping according to the content fluctuation light sensitivity interval to obtain content fluctuation temperature influence mapping data; Step S243: performing microbial activity fluctuation simulation according to the content fluctuation light sensitive interval and the content fluctuation temperature impact mapping data to obtain microbial activity fluctuation data; Step S244: Calculate the variable coupling reaction order of the compound content quantitative data according to the microbial activity fluctuation data, the content fluctuation light sensitive interval, and the content fluctuation temperature influence mapping data to obtain the variable coupling reaction order data; Step S245: Performing a spatial impact simulation of environmental variables based on the variable coupling reaction order data to obtain compound evolution environmental impact data.
5. The method for predicting the trend of forage element content based on animal husbandry according to claim 4, characterized in that: The calculation of the variable coupling reaction order for compound decomposition kinetic simulation data includes the following steps: According to the microbial activity fluctuation data, the light sensitive range of content fluctuation and the content fluctuation temperature influence mapping data, the compound decomposition dynamics simulation is performed on the compound content quantitative data to obtain the compound decomposition dynamics simulation data; Plotting a compound concentration decomposition curve for the compound decomposition kinetics simulation data to obtain a compound concentration decomposition curve; According to the compound concentration decomposition curve, the decomposition reaction order of the compound decomposition kinetic simulation data is calculated to obtain the concentration decomposition reaction order data; Calculate multivariate impact weights based on concentration decomposition reaction order data to obtain concentration decomposition multivariate impact weight data; Based on the Arrhenius equation and the concentration decomposition multivariate influence weight data, the variable coupling reaction order data is calculated for the concentration decomposition reaction order data to obtain the variable coupling reaction order data.
6. The method for predicting the trend of forage element content based on animal husbandry according to claim 3, characterized in that: Step S25 includes the following steps: Step S251: performing environmental impact cycle difference evaluation according to the compound evolution environmental impact data to obtain environmental impact cycle difference data; Step S252: performing peak surface morphology geometric evolution difference analysis on the compound peak surface morphology evolution data according to the environmental impact cycle difference data to obtain morphology geometric evolution difference data; Step S253: using a geometric difference evolution approximation algorithm to calculate the evolution structure approximation degree of the morphological geometric evolution difference data, to obtain evolution structure approximation degree data; Step S254: performing evolution difference approximate structure division processing on the morphological geometry evolution difference data according to the evolution structure approximate degree data to obtain evolution difference approximate structure division data; Step S255: performing approximate structure variational inference according to the evolutionary difference approximate structure division data to obtain evolutionary structure approximate variational inference data; Step S256: Inferring the compound element evolution trend on the compound peak surface morphology evolution data according to the evolution structure approximate variational inference data to obtain the compound element evolution trend data.
7. The method for predicting the trend of forage element content based on animal husbandry according to claim 6, characterized in that: The geometric evolution difference structure hierarchical algorithm in step S254 is as follows: ; In the formula, Indicates the result value of the evolution structure approximation degree, The geometric complexity coefficient representing the geometric evolution difference data, represents the temporal correlation coupling degree of the morphological geometric evolution difference data, The evolution difference of adjacent marker points representing the morphological and geometric evolution difference data, Indicates the maximum value of the evolution time of the morphological geometric evolution difference data, represents a natural constant, The geometric morphological evolution density representing the morphological geometric evolution difference data, The intensity difference quantification coefficient representing the morphological geometric evolution difference data, represents the differential, Express Differentiate, that is The amount of change, Represents the error correction value of the geometric difference evolution approximation algorithm.
8. The method for predicting the trend of forage element content based on animal husbandry according to claim 1, characterized in that: Step S3 includes the following steps: Step S31: calculating the stable range of content changes between different compound elements on the compound element evolution trend data to obtain the stable range of element content changes; Step S32: mining the correlation between different compound elements in the stable interval of element content change to obtain element content change correlation mining data; Step S33: Based on the policy gradient algorithm, the element content change association mining data is subjected to association relationship reinforcement learning to obtain element association reinforcement learning data.
9. The method for predicting the trend of forage element content based on animal husbandry according to claim 8, characterized in that: Step S33 includes the following steps: Step S331: extracting features from the element content change correlation mining data to obtain element change correlation feature data; Step S332: adapting the feature strategy network structure to the element change associated feature data to obtain feature strategy network adaptation data; Step S333: performing strategy operation state simulation on the characteristic strategy network adaptation data to obtain strategy operation state simulation data; Step S334: performing simulation variance calculation according to the strategy operation state simulation data to obtain operation state simulation variance data; Step S335: performing low variance sampling on the strategy operation state simulation data according to the operation state simulation variance data to obtain strategy operation low variance sampling data; Step S336: Based on the policy gradient algorithm, the policy operation low variance sampling data is subjected to association relationship reinforcement learning to obtain element association reinforcement learning data.
10. A forage element content trend prediction system based on animal husbandry, characterized in that: Used to execute the method for predicting the trend of forage element content based on animal husbandry as claimed in claim 1, the forage element content trend prediction system based on animal husbandry comprises: The sample filtering module is used to obtain forage samples in the livestock breeding storage warehouse; dissolve and filter the forage samples to obtain forage extraction and filtration samples; The forage element trend analysis module is used to separate, detect and process forage extraction and filtration samples to obtain forage extraction mass spectra; perform compound peak identification on forage extraction mass spectra to obtain forage compound peak data; perform environmental variable spatial impact simulation based on forage compound peak data to obtain compound evolution environmental impact data; perform compound element evolution trend inference based on compound evolution environmental impact data to obtain compound element evolution trend data; The element association relationship learning module is used to mine the mutual correlation of compound element evolution trend data to obtain element content change association mining data; based on the strategy gradient algorithm, the element content change association mining data is subjected to association relationship reinforcement learning to obtain element association reinforcement learning data; The feeding management planning module is used to predict the element content deposition peak value according to the compound element evolution trend data and the element association reinforcement learning data to obtain the element content deposition peak value prediction data; and to perform forage feeding management planning according to the element content deposition peak value prediction data to obtain the forage feeding management planning data.
Citation Information
Cited By
Air environment detection system and method for livestock farm
CN119715418A
Cross-field feed conversion ratio analysis method based on deep learning
CN120894171A
Deep learning based cross-field analysis method for meat and bone ratio
CN120894171B
Tungsten content detection method and system based on gradient algorithm
CN121460000A
A method and system for detecting tungsten content based on a gradient algorithm
CN121460000B
