A kind of Cordyceps militaris culture medium preparation and preparation method

By collecting multiple sets of Cordyceps culture medium data under the same production environment, using data analysis to predict candidate ratios, and determining the optimal ratio through actual verification, the problem of lack of systematicity and scientificity of traditional formulations is solved, and efficient and scientific Cordyceps culture medium preparation is achieved.

CN119007822BActive Publication Date: 2025-04-04NANJING KANGZHICHUN BIOTECHNOLOGY CO LTD
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202411223185.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-09-03
Publication Date
2025-04-04
Estimated Expiration
2044-09-03

AI Technical Summary

Technical Problem

The traditional Cordyceps culture medium preparation lacks systematicity and scientificity, resulting in low production efficiency and difficulty in cultivating high-quality Cordyceps fruiting entities.

Method used

By cultivating Cordyceps with different ratios in the same production environment, multiple sets of culture medium data from the inoculation to the harvesting stage were collected, candidate media ratios were obtained using data analysis and prediction techniques, and the optimal ratio was determined through actual culture verification.

Benefits of technology

It improves the systematicity and scientific nature of Cordyceps culture medium preparation, improves production efficiency, and ensures the cultivation of high-quality Cordyceps fruiting bodies.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119007822B_ABST
    Figure CN119007822B_ABST
Patent Text Reader

Abstract

The present invention relates to the technical field of Cordyceps militaris culture, and more particularly to a Cordyceps militaris culture medium preparation and preparation method, under the same production environment, a corresponding Cordyceps militaris sample is cultivated by a Cordyceps militaris culture medium of different ratios, and multiple groups of culture medium data of each Cordyceps militaris sample are collected from the inoculation stage to the harvesting stage; sampling is performed in the sorted multiple groups of culture medium data according to a preset sampling time period, and a culture medium change sequence corresponding to the sampling time period is obtained; based on multiple culture medium change sequences, a recommended ratio of multiple candidate Cordyceps militaris culture mediums is predicted; based on the recommended ratio corresponding to the candidate Cordyceps militaris culture medium, a candidate Cordyceps militaris culture medium is prepared, and the fruiting body evaluation value of the candidate Cordyceps militaris sample cultivated by the candidate Cordyceps militaris culture medium is determined to determine the target Cordyceps militaris culture medium ratio. The present invention can be used to guide actual production, and a new, more scientific and efficient preparation means is provided for the culture medium of Cordyceps militaris.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the technical field of Cordyceps militaris culture, and in particular to a Cordyceps militaris culture medium preparation and preparation method. Background Art

[0002] As a precious medicinal fungus, the culture medium ratio of Cordyceps militaris has a crucial influence on its growth and fruiting body formation. Traditional culture medium preparation often relies on experience and trial and error, lacks systematicity and scientificity, resulting in low production efficiency. In addition, repeated trial and error is required for different production environments, making it difficult to cultivate high-quality Cordyceps militaris fruiting bodies. Summary of the invention

[0003] The embodiment of the present invention provides a method for preparing a culture medium for Cordyceps militaris, and is intended to provide a method for preparing a culture medium for Cordyceps militaris to improve the systematicness and scientificity of the preparation of the culture medium for Cordyceps militaris. Cordyceps militaris samples of different proportions can be cultivated under the same production environment, and multiple groups of culture medium data from the inoculation stage to the harvesting stage can be collected, and then the recommended ratio of multiple candidate culture mediums for Cordyceps militaris can be obtained by using data analysis and prediction technology, and finally the optimal target culture medium ratio for Cordyceps militaris can be determined by actual cultivation verification, which can be used to guide actual production, and provide a new, more scientific and efficient preparation means for the culture medium of Cordyceps militaris.

[0004] In a first aspect, an embodiment of the present invention provides a method for preparing a Cordyceps militaris culture medium, the method comprising:

[0005] Under the same production environment, corresponding Cordyceps militaris samples are cultured using Cordyceps militaris culture media with different ratios, and multiple groups of culture medium data of each Cordyceps militaris sample from the inoculation stage to the harvesting stage are collected, wherein the Cordyceps militaris samples have different fruiting body evaluation values, and one Cordyceps militaris sample corresponds to one group of culture medium data;

[0006] Sorting the culture medium data in descending order of the fruiting body evaluation values ​​to obtain a plurality of groups of sorted culture medium data;

[0007] Sampling is performed in the sorted multiple groups of culture medium data according to a preset sampling time period to obtain a culture medium change sequence corresponding to the sampling time period, wherein one sampling time period corresponds to one culture medium change sequence;

[0008] Based on the plurality of culture medium change sequences, a plurality of recommended ratios of candidate Cordyceps militaris culture media are predicted, each candidate Cordyceps militaris culture media corresponding to a recommended ratio;

[0009] Based on the recommended ratio corresponding to the candidate Cordyceps militaris culture medium, the candidate Cordyceps militaris culture medium is prepared, and under the production environment, the corresponding candidate Cordyceps militaris sample is cultivated by the candidate Cordyceps militaris culture medium;

[0010] Based on the fruiting body evaluation value of the candidate Cordyceps militaris sample, a target Cordyceps militaris culture medium ratio is determined, and the target Cordyceps militaris culture medium ratio is used for preparing the target Cordyceps militaris culture medium.

[0011] Optionally, the step of sampling the sorted multiple groups of culture medium data according to a preset sampling time period to obtain a culture medium change sequence corresponding to the sampling time period includes:

[0012] Segmenting the sorted multiple groups of culture medium data according to multiple stages from the inoculation stage to the harvesting stage to obtain multiple groups of culture medium sub-data corresponding to each stage;

[0013] Determine a sampling time period corresponding to each of the stages;

[0014] Based on the sampling time period corresponding to each stage, the multiple groups of culture medium sub-data corresponding to each stage are sampled to obtain the culture medium change sequence corresponding to the sampling time period.

[0015] Optionally, the step of determining a sampling time period corresponding to each stage includes:

[0016] For one of the stages, according to the time length corresponding to each group of the culture medium data, determine the minimum convention time length of the stage;

[0017] Based on the minimum convention time length, a sampling time period corresponding to each of the stages is determined.

[0018] Optionally, based on the sampling time period corresponding to each stage, the step of sampling the multiple groups of culture medium sub-data corresponding to each stage to obtain the culture medium change sequence corresponding to the sampling time period includes:

[0019] For one stage, based on the longest time period corresponding to the multiple groups of culture medium sub-data and taking the minimum convention time length corresponding to the stage as the unit time length, determine the missing time period of each group of culture medium sub-data in the time periods of the multiple groups of culture medium sub-data;

[0020] For a group of the culture sub-data, taking the minimum common time length corresponding to the stage as the unit time length, determine the neighboring time period data of the missing time period in the time period corresponding to the culture sub-data;

[0021] Based on the neighbor time period data, predict the missing time period data to obtain the missing time period data;

[0022] Performing alignment processing on the culture medium sub-data in the time dimension by using the missing time period data to obtain a plurality of aligned groups of the culture medium sub-data;

[0023] Based on the sampling time period, a plurality of groups of the culture medium sub-data are sampled to obtain a culture medium change sequence corresponding to the sampling time period.

[0024] Optionally, the step of predicting a plurality of recommended ratios of candidate Cordyceps militaris culture media based on the plurality of culture media change sequences comprises:

[0025] Based on the culture medium change sequence, a ratio-time matrix is ​​constructed, wherein the ratio-time matrix includes ratio items, time items, and culture medium change data, wherein one ratio item and one time item constitute a matrix unit in the ratio-time matrix, and one matrix unit corresponds to one culture medium change data;

[0026] Performing matrix decomposition on the ratio-time matrix to obtain a first sub-matrix and a second sub-matrix, wherein the first sub-matrix includes the ratio item, and the second sub-matrix includes the time item;

[0027] Performing a linear transformation on the first submatrix to obtain a third submatrix, wherein the third submatrix is ​​a matrix obtained by linearly transforming the first matrix, the number of matching items in the third submatrix is ​​greater than the number of matching items in the first submatrix, and the matching items in the third submatrix include the matching items in the first submatrix;

[0028] Based on the third submatrix and the second submatrix, determining a prediction matrix, the prediction matrix including matching items of the third submatrix;

[0029] In the prediction matrix, recommended ratios of multiple candidate Cordyceps militaris culture media are determined.

[0030] Optionally, the step of performing a linear transformation on the first submatrix to obtain a third submatrix includes:

[0031] Determine the initial linear transformation matrix;

[0032] Performing a linear transformation on the first submatrix by using the initial linear transformation matrix to obtain a reference third submatrix;

[0033] Perform matrix multiplication calculation on the reference third submatrix and the second submatrix to obtain a reference matrix, and calculate the error loss between the reference matrix and the ratio-time matrix;

[0034] Taking the minimum error loss as the optimization goal, adjusting the parameters of the initial linear transformation matrix, and iterating the parameter adjustment process to a preset number of iterations to obtain a target linear transformation matrix;

[0035] The first sub-matrix is ​​linearly transformed using the target linear transformation matrix to obtain a third sub-matrix.

[0036] Optionally, the step of calculating the error loss between the reference matrix and the ratio-time matrix includes:

[0037] In the reference matrix, determining the same ratio as the ratio-time matrix;

[0038] Based on a preset loss function, the error loss between the reference matrix and the ratio-time matrix under the same ratio is calculated.

[0039] Optionally, the step of calculating the error loss between the reference matrix and the ratio-time matrix under the same ratio based on a preset loss function includes:

[0040] Calculate the sorting error of the same ratio by using a preset first loss function, and determine the sorting error as a first error loss;

[0041] Calculating the culture medium change data error under the same ratio by using a preset second loss function, and determining the culture medium change data error as a second error loss;

[0042] Based on the first error loss and the second error loss, the error loss between the reference matrix and the ratio-time matrix under the same ratio is determined.

[0043] Optionally, the step of determining a prediction matrix based on the third submatrix and the second submatrix includes:

[0044] Performing matrix multiplication calculation on the third submatrix and the second submatrix to obtain a prediction matrix;

[0045] The step of determining the recommended ratios of multiple candidate Cordyceps militaris culture media in the prediction matrix includes:

[0046] In the prediction matrix, the ratio values ​​corresponding to the first-ranked multiple ratio items are determined as the recommended ratios of the multiple candidate Cordyceps militaris culture media.

[0047] In a second aspect, an embodiment of the present invention further provides a Cordyceps militaris culture medium, wherein the Cordyceps militaris culture medium is prepared by the Cordyceps militaris culture medium preparation method as described in any one of the embodiments of the present invention.

[0048] The present invention relates to the technical field of Cordyceps militaris culture, and in particular to a Cordyceps militaris culture medium preparation method and a Cordyceps militaris culture medium. Under the same production environment, corresponding Cordyceps militaris samples are cultured through Cordyceps militaris culture media with different ratios, and multiple groups of culture medium data of each Cordyceps militaris sample from an inoculation stage to a harvesting stage are collected, the Cordyceps militaris samples have different fruiting body evaluation values, and one Cordyceps militaris sample corresponds to a group of culture medium data; the culture medium data are sorted in descending order according to the fruiting body evaluation values ​​to obtain the sorted multiple groups of culture medium data; and sampling is performed in the sorted multiple groups of culture medium data according to a preset sampling time period. Sample, obtain the culture medium change sequence corresponding to the sampling time period, a sampling time period corresponds to a culture medium change sequence;Based on multiple culture medium change sequences, predict and obtain the recommended ratio of multiple candidate Cordyceps militaris culture media, each candidate Cordyceps militaris culture media corresponds to a recommended ratio;Based on the recommended ratio corresponding to the candidate Cordyceps militaris culture media, prepare the candidate Cordyceps militaris culture media, and under the production environment, cultivate the corresponding candidate Cordyceps militaris sample by the candidate Cordyceps militaris culture media;Based on the fruiting body evaluation value of the candidate Cordyceps militaris sample, determine the target Cordyceps militaris culture media ratio, and the target Cordyceps militaris culture media ratio is used for the preparation of the target Cordyceps militaris culture media. The present invention can be by cultivating Cordyceps militaris samples of different ratios under the same production environment, and collecting its multiple groups of culture media data from the inoculation stage to the harvesting stage, then using data analysis and prediction technology, obtain the recommended ratio of multiple candidate Cordyceps militaris culture media, finally by actual cultivation verification, determine the optimal target Cordyceps militaris culture media ratio, can be used to guide actual production, for the culture media of Cordyceps militaris provides a new, more scientific and efficient means of preparation. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0050] Figure 1 A flow chart of a method for preparing a Cordyceps militaris culture medium claimed in an embodiment of the present invention;

[0051] Figure 2 A second flow chart of a method for preparing a Cordyceps militaris culture medium claimed in an embodiment of the present invention;

[0052] Figure 3 A third flow chart of a method for preparing a Cordyceps militaris culture medium claimed in an embodiment of the present invention;

[0053] Figure 4A fourth flow chart of a method for preparing a Cordyceps militaris culture medium claimed in an embodiment of the present invention;

[0054] Figure 5 A fifth flow chart of a method for preparing a Cordyceps militaris culture medium claimed in an embodiment of the present invention;

[0055] Figure 6 A sixth flow chart of a method for preparing a Cordyceps militaris culture medium claimed in an embodiment of the present invention;

[0056] Figure 7 A seventh flow chart of a method for preparing a Cordyceps militaris culture medium claimed in an embodiment of the present invention;

[0057] Figure 8 This is the eighth flow chart of a method for preparing a Cordyceps militaris culture medium claimed in an embodiment of the present invention. DETAILED DESCRIPTION

[0058] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments collected by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0059] The terms "first", "second" and "third" in this application are only used for descriptive purposes and cannot be understood as indicating or implying relative importance or implicitly indicating the number of indicated technical features. Therefore, the features defined as "first", "second" and "third" can explicitly or implicitly include at least one of the features. In the description of this application, the meaning of "multiple" is at least two, such as two, three, etc., unless otherwise clearly and specifically defined. All directional indications (such as up, down, left, right, front, back...) in the embodiments of this application are only used to explain the relative position relationship, movement, etc. between the components under a certain specific posture (as shown in the accompanying drawings). If the specific posture changes, the directional indication also changes accordingly. In addition, the terms "including" and "having" are any variations thereof, and are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device that includes a series of steps or units is not limited to the listed steps or units, but optionally also includes steps or units that are not listed, or optionally also includes other steps or units inherent to these processes, methods, products or devices.

[0060] Reference to "embodiments" herein means that a particular feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present application. The appearance of the phrase in various locations in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.

[0061] According to one aspect of the present disclosure, a method for preparing a Cordyceps militaris culture medium is provided. Figure 1 According to some embodiments of the present disclosure, a method for preparing a Cordyceps militaris culture medium includes:

[0062] S110: Under the same production environment, corresponding Cordyceps militaris samples are cultured using Cordyceps militaris culture media with different ratios, and multiple groups of culture medium data of each Cordyceps militaris sample from the inoculation stage to the harvesting stage are collected, the Cordyceps militaris samples have different fruiting body evaluation values, and one Cordyceps militaris sample corresponds to a group of culture medium data;

[0063] S120: sorting the culture medium data in descending order according to the fruiting body evaluation values ​​to obtain a plurality of groups of sorted culture medium data;

[0064] S130: Sampling is performed in the sorted multiple groups of culture medium data according to a preset sampling time period to obtain a culture medium change sequence corresponding to the sampling time period, where one sampling time period corresponds to one culture medium change sequence;

[0065] S140: Based on the multiple culture medium change sequences, predict and obtain recommended ratios of multiple candidate Cordyceps militaris culture media, each candidate Cordyceps militaris culture media corresponding to a recommended ratio;

[0066] S150: preparing a candidate Cordyceps militaris culture medium based on the recommended ratio corresponding to the candidate Cordyceps militaris culture medium, and cultivating a corresponding candidate Cordyceps militaris sample using the candidate Cordyceps militaris culture medium under a production environment;

[0067] S160: Determine a target Cordyceps militaris culture medium ratio based on the fruiting body evaluation value of the candidate Cordyceps militaris sample, and the target Cordyceps militaris culture medium ratio is used for preparing the target Cordyceps militaris culture medium.

[0068] Under the same production environment, the corresponding Cordyceps militaris samples are cultured with Cordyceps militaris culture media of different proportions, and multiple groups of culture media data of each Cordyceps militaris sample from the inoculation stage to the harvesting stage are collected, the Cordyceps militaris samples have different fruiting body evaluation values, and one Cordyceps militaris sample corresponds to a group of culture media data; the culture media data are sorted in descending order according to the fruiting body evaluation values ​​to obtain multiple groups of sorted culture media data; sampling is performed in the sorted multiple groups of culture media data according to a preset sampling time period to obtain a culture media change sequence corresponding to the sampling time period, and one sampling time period corresponds to a culture media change sequence; based on the multiple culture media change sequences, the recommended ratios of multiple candidate Cordyceps militaris culture media are predicted, and each candidate Cordyceps militaris culture media corresponds to a recommended ratio; based on the recommended ratios corresponding to the candidate Cordyceps militaris culture media, candidate Cordyceps militaris culture media are prepared, and under the production environment, the corresponding candidate Cordyceps militaris samples are cultured with the candidate Cordyceps militaris culture media; based on the fruiting body evaluation values ​​of the candidate Cordyceps militaris samples, a target Cordyceps militaris culture media ratio is determined, and the target Cordyceps militaris culture media ratio is used for the preparation of the target Cordyceps militaris culture media. By cultivating Cordyceps militaris samples with different ratios under the same production environment and collecting multiple sets of culture medium data from the inoculation stage to the harvesting stage, the recommended ratios of multiple candidate Cordyceps militaris culture media can be obtained by using data analysis and prediction technology. Finally, through actual cultivation verification, the optimal target Cordyceps militaris culture medium ratio can be determined, which can be used to guide actual production and provide a new, more scientific and efficient preparation method for Cordyceps militaris culture medium.

[0069] In some embodiments, in step S110, a specified Cordyceps militaris strain may be used to conduct the test under the same production environment, thus ensuring that the accuracy of the test results is not affected by environmental factors.

[0070] At the same time, under the same production environment, different ratios of culture medium are prepared to culture Cordyceps militaris. Cordyceps militaris is cultured using culture mediums of different ratios, so that multiple groups of Cordyceps militaris samples cultured in different culture media can be obtained. Generally speaking, the ratio of the culture medium includes basic components and specific growth factors. Basic components include carbon sources (glucose, providing energy), nitrogen sources (peptone or yeast extract, etc., providing raw materials for amino acid and protein synthesis), inorganic salts (potassium dihydrogen phosphate, magnesium sulfate, etc., providing essential minerals and trace elements), water (as a solvent and growth environment), etc. Specific growth factors include vitamins (vitamin B1, biotin, etc., to promote metabolism), amino acids (such as glutamine, asparagine, etc., as direct raw materials for protein synthesis), hormones or growth factors (such as plant growth hormone, to promote cell division and growth). The ratio of the above culture medium can be the weight ratio of the above various components.

[0071] During the culture process, data about the culture medium can be collected from the inoculation stage of each sample to the harvesting stage, thereby obtaining multiple sets of culture medium data. The culture medium data may include the composition, temperature, humidity, pH value, etc. of the culture medium. The culture medium data may imply how different proportions of culture medium affect the growth of Cordyceps militaris for subsequent analysis.

[0072] Each Cordyceps militaris sample will have a corresponding fruiting body evaluation value after harvest. The fruiting body evaluation value is used to measure the quality of Cordyceps militaris, such as the appearance, taste, nutritional content, etc. of the fruiting body of the Cordyceps militaris sample. The fruiting body evaluation value can be obtained through professional testing and evaluation.

[0073] In some embodiments, in step S120, after the fruiting body evaluation values ​​and corresponding culture medium data of all Cordyceps militaris samples are collected, these data may be sorted according to the size of the fruiting body evaluation values.

[0074] Specifically, the culture medium data corresponding to the Cordyceps militaris samples with high fruiting body evaluation values ​​are ranked in front, and the culture medium data corresponding to the Cordyceps militaris samples with low fruiting body evaluation values ​​are ranked in the back. In this way, it is possible to more clearly see which culture medium ratios have cultivated Cordyceps militaris with better quality, and at the same time, it is convenient for subsequent analysis and processing.

[0075] In some embodiments, in step S130, after the sorting is completed, sampling can be performed in the sorted data according to a preset sampling period. The purpose of sampling is to obtain a series of data sequences that change over time about the culture medium, and then associate the culture medium data with the generation of Cordyceps militaris. Each sampling period corresponds to a culture medium change sequence, and the culture medium change sequence records the changes in the culture medium during the time period.

[0076] In some embodiments, in step S140, after obtaining the culture medium change sequence, the culture medium change sequence can be used to predict candidate Cordyceps militaris culture medium ratios.

[0077] Specifically, the prediction method may include data analysis, machine learning, etc. Through the prediction, multiple candidate Cordyceps militaris culture medium ratios can be obtained, and each candidate Cordyceps militaris culture medium will have a corresponding recommended ratio.

[0078] In some embodiments, in step S150, after the recommended ratio is determined, the candidate Cordyceps militaris culture medium may be prepared according to the recommended ratio of the candidate Cordyceps militaris culture medium.

[0079] The corresponding Cordyceps militaris samples are cultured in a production environment by using the prepared candidate Cordyceps militaris culture medium to obtain candidate Cordyceps militaris samples, each candidate Cordyceps militaris culture medium corresponds to a candidate Cordyceps militaris sample. The candidate Cordyceps militaris samples can be used to verify whether the recommended ratio corresponding to the candidate Cordyceps militaris culture medium is better.

[0080] In some embodiments, in step S160, after the candidate Cordyceps militaris sample is harvested, the fruiting body of the candidate Cordyceps militaris sample can be tested and evaluated based on the appearance, taste, nutritional components, etc. of the fruiting body of the candidate Cordyceps militaris sample to obtain an evaluation value of the candidate Cordyceps militaris sample.

[0081] After obtaining the evaluation values ​​of the candidate Cordyceps militaris samples, the candidate Cordyceps militaris sample with the highest fruiting body evaluation value can be determined according to the fruiting body evaluation values ​​of the candidate Cordyceps militaris samples, and the corresponding Cordyceps militaris culture medium ratio can be determined according to the candidate Cordyceps militaris sample with the highest fruiting body evaluation value, and the Cordyceps militaris culture medium ratio corresponding to the candidate Cordyceps militaris sample with the highest fruiting body evaluation value is determined as the target Cordyceps militaris culture medium ratio.

[0082] The target Cordyceps militaris culture medium ratio can be used to prepare the best quality Cordyceps militaris culture medium. Later, in the corresponding production environment, the target Cordyceps militaris culture medium ratio can be used to mass produce high-quality Cordyceps militaris.

[0083] In some embodiments, Figure 2 As shown, step S130 specifically includes:

[0084] Step S210: segmenting the sorted multiple groups of culture medium data according to multiple stages from the inoculation stage to the harvesting stage to obtain multiple groups of culture medium sub-data corresponding to each stage;

[0085] Step S220: Determine the sampling time period corresponding to each stage;

[0086] Step S230: based on the sampling time period corresponding to each stage, sampling is performed on multiple groups of culture medium sub-data corresponding to each stage to obtain a culture medium change sequence corresponding to the sampling time period.

[0087] In the process of cultivating Cordyceps militaris, from the inoculation stage to the final harvesting stage, it will go through multiple stages, such as the spawning stage, the bud-inducing stage, the cultivation stage, etc. Specifically, the complete process is the inoculation stage, the spawning stage, the bud-inducing stage, the cultivation stage and the harvesting stage. The inoculation stage is mainly to place the Cordyceps militaris strains in the culture medium; the spawning stage is mainly to make the Cordyceps militaris strains grow in the culture medium to produce hyphae and aerial hyphae in the culture medium; the bud-inducing stage is mainly to induce the formation of fruiting body primordia; the cultivation is to make the fruiting body primordia grow to meet the harvesting standards; the harvesting is to harvest the Cordyceps militaris fruiting bodies that meet the harvesting standards.

[0088] The above-mentioned multiple groups of culture medium data are arranged in descending order according to the fruiting body evaluation values.

[0089] Segmentation can be understood as separating continuous data according to different stages, such as putting the culture medium data of the inoculation stage together, putting the culture medium data of the germination stage together, putting the culture medium data of the bud induction stage together, putting the culture medium data of the cultivation stage together, and putting the culture medium data of the harvesting stage together. In this way, each stage has its own corresponding data set, which includes the culture medium sub-data of the corresponding stage arranged in descending order according to the fruiting body evaluation value.

[0090] For example, in an experiment of cultivating Cordyceps militaris, the state of the culture medium, including the content of each component, temperature, humidity, pH value, etc., is recorded at regular intervals from the beginning of inoculation until the final harvest. By recording, a series of culture medium data can be obtained, and the culture medium data is recorded in chronological order.

[0091] For each set of culture medium data, it is divided into several parts according to the above stages, such as culture medium data in the inoculation stage, culture medium data in the germination stage, culture medium data in the budding stage, culture medium data in the cultivation stage, and culture medium data in the harvesting stage. Each part is a set of culture medium sub-data corresponding to the stage, and the multiple sets of culture medium sub-data are still arranged in descending order according to the fruiting body evaluation value.

[0092] The selection of sampling time periods can be based on experience, and can be determined by understanding the growth process of Cordyceps militaris and the information you want to obtain. For example, during the spawning stage, you may want to understand the changes in the mycelium growth rate, so you can choose a relatively sparse sampling time period for sampling; during the culture stage, you may want to understand the changes in the culture medium during the growth of the fruiting body, so you can choose a more intensive sampling time period.

[0093] Let's continue with the example of the Cordyceps militaris culture experiment above. In the inoculation stage, samples can be taken every 1 day to observe the growth of the fungus; in the spawning stage, samples can be taken every 2 days to understand the growth rate of the mycelium; in the budding stage, samples can be taken every 1 day to observe the formation of the fruiting body primordium; in the culture stage, samples can be taken every 0.5 days to monitor the growth process of the fruiting body; in the harvesting stage, only one sampling is performed, that is, the final harvest, and the corresponding culture medium data is the final culture medium data.

[0094] According to the determined sampling time period, sample data is taken from the multiple groups of culture medium sub-data corresponding to each stage. The above sample data can be the average value, maximum value, starting value or ending value within the sampling time period, the above starting value is the culture medium data corresponding to the beginning of the sampling time period, and the above ending value is the culture medium data corresponding to the end of the sampling time period.

[0095] Through sampling, a series of data on the changes in the state of the culture medium can be obtained. These data are arranged in the order of the sampling time period, that is, the culture medium change sequence. In this way, through the culture medium change sequence, it is possible to more clearly see how the state of the culture medium changes over time in each stage, and how these changes affect the growth of Cordyceps militaris.

[0096] Let’s continue with the example of the Cordyceps militaris culture experiment above.

[0097] During the inoculation stage, samples can be collected every day, so data points every day can be taken from multiple groups of culture medium sub-data corresponding to the inoculation stage to obtain the culture medium change sequence of the inoculation stage; similarly, the culture medium change sequences of the germination stage, bud induction stage, cultivation stage and harvesting stage can also be obtained.

[0098] By analyzing the sequence of culture medium changes, we can have a deeper understanding of the impact of culture medium changes on the growth of Cordyceps militaris in each stage, so that we can optimize the culture medium ratio from a data level.

[0099] In some embodiments, Figure 3 As shown, step S220 includes:

[0100] Step S310: for a stage, according to the time length corresponding to each group of culture sub-data, determine the minimum agreed time length of the stage;

[0101] Step S320: Determine the sampling time period corresponding to each stage based on the minimum convention time length.

[0102] For each culture stage, there are multiple groups of culture medium sub-data, which are sorted in descending order according to the fruiting body evaluation values, and the sample data in each group of culture medium sub-data are sorted in chronological order according to the sampling time period.

[0103] Each set of culture sub-data has a corresponding time length, which refers to the time range of this set of culture sub-data. Find the lowest common divisor of the time lengths of all culture sub-data in this stage, and this lowest common divisor is the minimum common time length of this stage.

[0104] The minimum common time length can determine a sampling interval suitable for all groups, so that within each stage, all culture seed data can be evenly sampled.

[0105] Select a stage, such as the germinate stage. Check the time length of all culture seed data in this stage. Find the lowest common divisor of these time lengths, which is the lowest common time length of the germinate stage.

[0106] For example, in the spawning stage, there are three groups of culture medium data, and their time lengths are 12 days, 18 days, and 24 days respectively. The lowest common divisor of 12, 18, and 24 is 3, so the lowest common time length of the spawning stage is 3 days.

[0107] After obtaining the minimum convention time length, the sampling time period of each stage can be determined according to the minimum convention time length. The sampling time period refers to the interval at which sampling is performed during this stage. The sampling time period should be an integer multiple of the minimum convention time length, so that all culture seed data can be sampled evenly. The sampling time period can also be directly the minimum convention time length.

[0108] According to the minimum convention time length, select a suitable sampling interval. This sampling interval can be the minimum convention time length itself or an integer multiple of it. Determine the time point when sampling starts. Usually, you can choose the start time of the stage. According to the sampling interval and the sampling start time point, determine the sampling time period of this stage.

[0109] Continuing with the above example, the minimum covenant time length for the fermentation stage is 3 days. You can choose 3 days as the sampling interval or 6 days as the sampling interval.

[0110] Assume that 3 days is selected as the sampling interval, and sampling starts from the first day of the germination stage. Then the sampling time period of the germination stage is the 1st to 3rd day, the 4th to 6th day, the 7th to 9th day, and so on, until the end of the stage.

[0111] In some embodiments, Figure 4 As shown, step S230 includes:

[0112] Step S410: for a stage, based on the longest time period corresponding to the multiple sets of culture medium sub-data and taking the minimum convention time length corresponding to the stage as the unit time length, determine the missing time period of each set of culture medium sub-data in the time period of the multiple sets of culture medium sub-data;

[0113] Step S420: for a set of culture sub-data, using the minimum common time length corresponding to the stage as the unit time length, determine the neighboring time period data of the missing time period in the time period corresponding to the culture sub-data;

[0114] Step S430: based on the neighbor time period data, predict the data of the missing time period to obtain the missing time period data;

[0115] Step S440: performing alignment processing on the culture medium sub-data in the time dimension by using the missing time period data to obtain a plurality of aligned groups of culture medium sub-data;

[0116] Step S450: Based on the sampling time period, multiple groups of culture medium sub-data are sampled to obtain a culture medium change sequence corresponding to the sampling time period.

[0117] There are multiple groups of culture medium sub-data, which are sorted in descending order according to the fruiting body evaluation values, and the sample data in each group of culture medium sub-data are sorted in the chronological order of the sampling time period.

[0118] You can find the group with the longest time period among all the culture sub-data in this stage as the benchmark time area. Take the minimum covenant time length corresponding to this stage as the unit, and check each group of culture sub-data to see if they have any missing time periods in this longest time period.

[0119] The missing time period refers to the time period in which a certain group of culture medium sub-data is not recorded within this longest time period. Since the culture cycles of different ratio culture media may be different, the duration of each stage corresponding to the culture medium sub-data may also be different, that is, the time periods corresponding to each group of culture medium sub-data may be of different lengths. Therefore, the missing time periods can be searched and supplemented so that each group of culture medium sub-data has a time period of the same length.

[0120] Select a culture stage, such as the starter stage. Find the group of culture sub-data with the longest time period in this stage. Check each group of culture sub-data with the minimum covenant time length corresponding to this stage as the unit. Record the missing time period of each group of culture sub-data in the longest time period.

[0121] For example, suppose there are three sets of culture medium data in the spawning stage, and their time periods are days 1-10, 2-9, and 3-8. The longest time period is days 1-10. Taking the minimum convention time length (assuming 1 day) as the unit, it can be seen that the third set of data is missing on days 9-10.

[0122] For a set of culture sub-data, the minimum common time length of the corresponding stage is used as the unit to find the neighboring time period data of the missing time period. The neighboring time period data refers to the sample data before and after the missing time period.

[0123] Select a set of culture seed data. Find the missing time periods in this set of data. Determine the neighboring time period data of the missing time period in units of the minimum covenant time length.

[0124] Continuing with the above example, by selecting the third set of culture seed data, we can see that the missing time period is day 9-10.

[0125] The neighbor time period data is the data of the 8th day of the current phase and the data of the 1st day of the next phase (if it exists, or earlier data is selected as a reference).

[0126] Specifically, the data of the missing time period can be predicted based on the data of the neighboring time period. Existing prediction methods, such as linear interpolation and regression models, can be used to predict the data of the missing time period based on the data of the neighboring time period.

[0127] Choose a prediction method, such as a prediction model based on a recurrent neural network (RNN) or a long short-term memory (LSTM). Use neighboring time period data as input. Use the prediction model to predict the data for the missing time period. You can also use a linear interpolation algorithm as a prediction method.

[0128] Continuing with the above example, we can use linear interpolation as the prediction method. Based on the data of day 8 and day 1, we can predict the data of days 9-10.

[0129] The predicted missing time period data can be filled into the original culture medium sub-data, so that all culture medium sub-data are aligned in the time dimension. The aligned culture medium sub-data will no longer have missing time periods.

[0130] Fill the predicted missing time period data into the original culture sub-data. Ensure that all culture sub-data are aligned in the time dimension.

[0131] Continuing with the above example, the predicted data for days 9-10 can be filled into the third set of culture seed data.

[0132] Now, all the culture seed data are aligned in the time dimension.

[0133] The multiple groups of culture medium sub-data are sampled according to the previously determined sampling time period. Sampling means extracting the corresponding sample data from each group of culture medium sub-data within the sampling time period. The sampled data points will constitute a culture medium change sequence for subsequent analysis and processing.

[0134] Select a sampling time period. Extract the corresponding data points from each group of culture medium sub-data. The extracted data points form a culture medium change sequence.

[0135] Continuing with the above example, we can select every 3 days as a sampling period. From each set of culture medium data, we can extract data points on days 1-3, 4-6, 7-9, and 10. These data points will form a culture medium change sequence for subsequent analysis and processing.

[0136] The above culture medium variant sequences can be used To express, represents the number of sampling time periods, Indicates the ratio of Cordyceps militaris culture medium. Indicates time period, Indicates A ratio, Indicates The corresponding ratio Sample data for a period of time.

[0137] In some embodiments, Figure 5 As shown, step S140 includes:

[0138] Step S510: constructing a ratio-time matrix based on the culture medium change sequence, wherein the ratio-time matrix includes ratio items, time items, and culture medium change data, wherein one ratio item and one time item constitute one matrix unit in the ratio-time matrix, and one matrix unit corresponds to one culture medium change data;

[0139] Step S520: performing matrix decomposition on the ratio-time matrix to obtain a first sub-matrix and a second sub-matrix, wherein the first sub-matrix includes ratio items and the second sub-matrix includes time items;

[0140] Step S530: performing a linear transformation on the first submatrix to obtain a third submatrix, where the third submatrix is ​​a matrix obtained by performing a linear transformation on the first matrix, the number of matching items in the third submatrix is ​​greater than the number of matching items in the first submatrix, and the matching items in the third submatrix include the matching items in the first submatrix;

[0141] Step S540: determining a prediction matrix based on the third sub-matrix and the second sub-matrix, wherein the prediction matrix includes matching items of the third sub-matrix;

[0142] Step S550: Determine the recommended ratios of multiple candidate Cordyceps militaris culture media in the prediction matrix.

[0143] The culture medium change data is organized into a matrix to facilitate subsequent analysis and processing. This matrix has three parts: ratio item, time item and culture medium change data.

[0144] You can list all the ratios (such as the ratios of different nutrients) and then list all the sampling time periods. Then, for each combination of ratio and sampling time period, record the data of the culture medium.

[0145] The above ratio-time matrix can be expressed as follows in Table 1:

[0146] Table 1

[0147] ;

[0148] In Table 1, T N represents the sampling time item (the number of sampling time items is N), S M Indicates the ratio items of Cordyceps militaris culture medium (the number of ratio items is M, sorted by fruiting body evaluation value), Indicates sampling time items, Indicates A matching item, Indicates The corresponding ratio Considering the ratio of the initial sampling period as the initial Cordyceps militaris culture medium ratio, the ratio of different Cordyceps militaris culture mediums is express.

[0149] It should be noted that the above ratio-time matrix is ​​an M×N matrix. The ratios of different Cordyceps militaris culture media can be recorded through the ratio-time matrix, and can be used to analyze the implicit association between different ratios and fruiting body evaluation values.

[0150] After obtaining the ratio-time matrix, the ratio-time matrix can be decomposed into two implicit matrices to facilitate subsequent analysis. Mathematical methods (such as singular value decomposition) can be used to decompose the ratio-time matrix into two matrices to obtain the first submatrix U and the second submatrix V. It should be noted that the ratio-time matrix can be obtained by multiplying the first submatrix U and the second submatrix V. The first submatrix U only contains the ratio terms, and the second submatrix V only contains the time terms.

[0151] Specifically, the first sub-matrix U can be represented as shown in Table 2 below:

[0152] Table 2

[0153] ;

[0154] In Table 2, U B represents the implicit term (the number of implicit terms is B), S M Indicates the ratio items of Cordyceps militaris culture medium (the number of ratio items is M, sorted by fruiting body evaluation value), Indicates implicit terms, Indicates A matching item, Indicates The corresponding ratio The implicit eigenvalues ​​of the implicit terms. The first submatrix U is an M×B matrix.

[0155] The second sub-matrix V can be represented as shown in Table 3 below:

[0156] Table 3

[0157] ;

[0158] In Table 3, V B represents the implicit term (the number of implicit terms is B), T N represents the sampling time term (the number of sampling time terms is N), Indicates implicit terms, Indicates sampling time items, Indicates The sampling time item corresponds to the The second submatrix V is a B×N matrix.

[0159] After obtaining the first submatrix, the first submatrix can be mathematically processed to obtain a new matrix that contains more matching item information. The first submatrix is ​​transformed using linear algebra methods (such as matrix multiplication) to obtain a new matrix, namely the third submatrix. The first submatrix U is linearly transformed to obtain the third submatrix U', so that the number of matching items in the third submatrix U' is greater than the number of matching items S in the first submatrix U. M .

[0160] The third sub-matrix U' can be represented as shown in Table 4 below:

[0161] Table 4

[0162] ;

[0163] In Table 4, U B represents the implicit term (the number of implicit terms is B), G L Indicates the new ratio of Cordyceps militaris culture medium (the number of new ratios is L, L is greater than M), Indicates implicit terms, Indicates A matching item, Indicates The corresponding ratio The third submatrix U' is an L×B matrix.

[0164] After obtaining the third submatrix U', a new matrix is ​​constructed based on the third submatrix and the second submatrix to predict the changes in the culture medium with different ratios at different time points. The third submatrix and the second submatrix can be combined by mathematical methods (such as matrix multiplication) to obtain a prediction matrix. Specifically, the third submatrix and the second submatrix can be matrix multiplied, that is, the L×B third submatrix and the B×N second submatrix are matrix multiplied to obtain an L×N prediction matrix.

[0165] After obtaining the prediction matrix, since the third submatrix U` will take into account the implicit association of the sorting, and then extract the correlation between the culture medium ratio and the fruiting body evaluation value, the result of the prediction matrix will also have the characteristic of being sorted in descending order according to the fruiting body evaluation value. Therefore, the ratio items ranked first in the prediction matrix can be used as candidate ratio items, thereby obtaining the recommended ratios of multiple candidate Cordyceps militaris culture media, and each candidate Cordyceps militaris culture medium corresponds to a recommended ratio.

[0166] The above prediction matrix can be expressed as follows in Table 5:

[0167] Table 5

[0168] ;

[0169] In Table 5, T N represents the sampling time term (the number of sampling time terms is N), G L Indicates the new ratio of Cordyceps militaris culture medium (the number of new ratios is L, L is greater than M), Indicates A matching item, Indicates sampling time items, Indicates Considering the ratio of the initial sampling period as the initial Cordyceps militaris culture medium ratio, the ratio of different Cordyceps militaris culture media in the recommended matrix is express.

[0170] In some embodiments, Figure 6 As shown, step S530 includes:

[0171] Step S610: determining an initial linear transformation matrix;

[0172] Step S620: performing a linear transformation on the first sub-matrix using an initial linear transformation matrix to obtain a reference third sub-matrix;

[0173] Step S630: performing matrix multiplication calculation on the reference third sub-matrix and the second sub-matrix to obtain a reference matrix, and calculating the error loss between the reference matrix and the ratio-time matrix;

[0174] Step S640: taking the minimum error loss as the optimization goal, adjusting the parameters of the initial linear transformation matrix, and iterating the parameter adjustment process to a preset number of iterations to obtain the target linear transformation matrix;

[0175] Step S650: linearly transform the first sub-matrix using the target linear transformation matrix to obtain a third sub-matrix.

[0176] The above initial linear transformation matrix may be an L×M matrix. By performing linear transformation on the L×M linear transformation matrix and the M×B first submatrix, an L×B reference third submatrix may be obtained.

[0177] After obtaining the reference third sub-matrix, the reference third sub-matrix can be multiplied by the second sub-matrix to obtain the reference matrix.

[0178] The reference matrix is ​​a B×N second submatrix, and matrix multiplication is performed to obtain an L×N reference matrix. The error loss between the M×N ratio-time matrix and the L×N reference matrix is ​​calculated. The larger the error loss, the less similar the ratio-time matrix is ​​to the reference matrix, and the smaller the error loss, the more similar the ratio-time matrix is ​​to the reference matrix.

[0179] In order to make the ratio-time matrix more similar to the reference matrix, the parameters of the initial linear transformation matrix will be adjusted, and this parameter adjustment process will be repeated multiple times (until the preset number of times is reached), and finally a linear transformation matrix that minimizes the error is obtained, and the linear transformation matrix is ​​determined as the target linear transformation matrix.

[0180] After linearly transforming the first submatrix using the target linear transformation matrix, a third submatrix is ​​obtained.

[0181] In some embodiments, Figure 7 As shown, step S630 includes:

[0182] Step S710: determining the same ratio as the ratio-time matrix in the reference matrix;

[0183] Step S720: Based on a preset loss function, the error loss between the reference matrix and the ratio-time matrix under the same ratio is calculated.

[0184] Find the part with the same ratio as that in the ratio-time matrix in the reference matrix. The above reference matrix can be represented by Table 5. Found The corresponding ratio item determines the same ratio as the ratio-time matrix.

[0185] After finding the parts with the same ratio in the two matrices, the next step is to calculate the difference between the parts with the same ratio. The loss function is like a measurement tool that can measure how different the two matrices are under the same ratio. Therefore, by minimizing this error loss, the similarity between the reference matrix and the ratio-time matrix can be shortened, so that the reference matrix and the ratio-time matrix have the same input in the parts with the same ratio, thereby ensuring the accuracy of the third submatrix and improving the accuracy of the recommendation matrix.

[0186] In some embodiments, Figure 7 As shown, step S720 includes:

[0187] Step S810: Calculate the sorting error of the same ratio by using a preset first loss function, and determine the sorting error as a first error loss;

[0188] Step S820: calculating the culture medium change data error under the same ratio by using a preset second loss function, and determining the culture medium change data error as a second error loss;

[0189] Step S830: Based on the first error loss and the second error loss, determine the error loss between the reference matrix and the ratio-time matrix under the same ratio.

[0190] In the reference matrix, find the culture medium data of the same proportion as that in the proportion-time matrix, sort the culture medium data of the same proportion according to the order in the reference matrix, and obtain a new matrix. The above-mentioned first loss function is a ratio loss function, and the culture medium data in the proportion-time matrix are numbered in order to obtain the first number corresponding to each culture medium data. For each culture medium data, the corresponding culture medium data is searched and numbered in the culture medium data of the same proportion to obtain the second number of each culture medium data in the same proportion. The first number is compared with the second number to determine the number of different numbers, and the ratio between the number of different numbers and the total number is calculated, and the ratio is determined as the first error loss. For example, the sequence of culture medium data in the ratio-time matrix is ​​(a1, a2, a3, a4, a5, a6, a7, a8, a9), and the sequence of culture medium data in the same ratio part is (r1, r2, r3, r4, r5, r6, r7, r9, r8), where 1 to 9 are numbers, a1 and r1 are culture medium data with the same ratio, a2 and r2 are culture medium data with the same ratio, a3 and r3 are culture medium data with the same ratio, a4 and r4 are culture medium data with the same ratio, a5 and r5 are culture medium data with the same ratio, a6 and r6 are culture medium data with the same ratio, a7 and r7 are culture medium data with the same ratio, a8 and r8 are culture medium data with the same ratio, and a9 and r9 are culture medium data with the same ratio. It can be seen that in the sequence of culture medium data in the same ratio part, the order of r9, r8 is different from the order of the sequence of culture medium data in the ratio-time matrix a8, a9. There is a difference in numbering, so the first error loss is 1 / 9.

[0191] The second loss function is a similarity loss function, which calculates the cosine similarity between the new matrix and the ratio-time matrix, calculates the difference between 1 and the cosine similarity, and determines the difference as the second error loss.

[0192] After obtaining the first error loss and the second error loss, the first error loss and the second error loss can be summed to obtain the total error loss. After obtaining the total error loss, the initial linear transformation matrix is ​​parameter adjusted with the minimum total error loss as the optimization goal, and the parameter adjustment process is iterated to a preset number of iterations to obtain the target linear transformation matrix, so that the third submatrix transformed by the target linear transformation matrix, after matrix multiplication with the second submatrix, can restore the culture medium data corresponding to the original ratio in the matrix and the ratio-time matrix as much as possible, so that the obtained recommendation matrix has a higher accuracy.

[0193] In some embodiments, the above step S540 includes:

[0194] Performing matrix multiplication calculation on the third submatrix and the second submatrix to obtain a prediction matrix;

[0195] The above step S550 includes:

[0196] In the prediction matrix, the ratio values ​​corresponding to the first-ranked multiple ratio items are determined as the recommended ratios of the multiple candidate Cordyceps militaris culture media.

[0197] After obtaining the prediction matrix, since the third submatrix will take into account the implicit association of the sorting, and then extract the correlation between the culture medium ratio and the fruiting body evaluation value, the result of the prediction matrix will also have the characteristic of being sorted in descending order according to the fruiting body evaluation value. Therefore, the ratio items ranked first in the prediction matrix can be used as candidate ratio items, thereby obtaining the recommended ratios of multiple candidate Cordyceps militaris culture media, and each candidate Cordyceps militaris culture medium corresponds to a recommended ratio.

[0198] The present disclosure also provides a Cordyceps militaris culture medium, which is prepared by any of the Cordyceps militaris culture medium preparation methods described in the above embodiments.

[0199] By cultivating Cordyceps militaris samples with different ratios under the same production environment and collecting multiple sets of culture medium data from the inoculation stage to the harvesting stage, and then using data analysis and prediction technology to obtain recommended ratios of multiple candidate Cordyceps militaris culture media, and finally through actual cultivation verification, the optimal target Cordyceps militaris culture medium ratio is determined, so that Cordyceps militaris with better traits can be cultivated.

[0200] In addition, each functional unit in each embodiment of the present application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The above integrated unit can be implemented in the form of hardware or in the form of software functional units. The above is only an implementation method of the present application, and does not limit the patent scope of the present application. Any equivalent structure or equivalent process transformation made using the contents of the specification and drawings of this application, or directly or indirectly used in other related technical fields, is also included in the patent protection scope of the present application.

[0201] The specific implementation methods of the invention are described in detail above, but they are only examples, and the present application is not limited to the specific implementation methods described above. For those skilled in the art, any equivalent modification or substitution of the invention is also within the scope of the present application, and therefore, the equalization, modification, and improvement made without departing from the spirit and principle of the present application should be included in the scope of the present application.

Claims

1. A method for preparing a Cordyceps militaris culture medium, characterized in that: The method comprises the following steps: Under the same production environment, corresponding Cordyceps militaris samples are cultured using Cordyceps militaris culture media with different ratios, and multiple groups of culture medium data of each Cordyceps militaris sample from the inoculation stage to the harvesting stage are collected, wherein each Cordyceps militaris sample has a different fruiting body evaluation value, and one Cordyceps militaris sample corresponds to a group of culture medium data; Sorting the culture medium data in descending order according to the fruiting body evaluation values ​​to obtain a plurality of groups of sorted culture medium data; Sampling is performed in the sorted multiple groups of culture medium data according to a preset sampling time period to obtain a culture medium change sequence corresponding to the sampling time period, where one sampling time period corresponds to one culture medium change sequence; Based on the culture medium change sequence, a ratio-time matrix is ​​constructed, the ratio-time matrix includes ratio items, time items and culture medium change data, one ratio item and one time item constitute a matrix unit in the ratio-time matrix, and one matrix unit corresponds to one culture medium change data; the ratio-time matrix is ​​decomposed to obtain a first submatrix and a second submatrix, the first submatrix includes the ratio items, and the second submatrix includes the time items; the first submatrix is ​​linearly transformed by an initial linear transformation matrix to obtain a reference third submatrix; the reference third submatrix is ​​matrix multiplied with the second submatrix to obtain a reference matrix, and in the reference matrix, the same ratio as the ratio-time matrix is ​​determined; based on a preset loss function, the error loss between the reference matrix and the ratio-time matrix under the same ratio is calculated; the error loss is calculated by using the error Minimizing the difference loss is the optimization goal, the parameters of the initial linear transformation matrix are adjusted, and the parameter adjustment process is iterated to a preset number of iterations to obtain a target linear transformation matrix; the similarity between the reference matrix and the ratio-time matrix is ​​narrowed by minimizing the error loss, so that the reference matrix and the ratio-time matrix have the same input in the same ratio part; the first sub-matrix is ​​linearly transformed by the target linear transformation matrix to obtain a third sub-matrix, the third sub-matrix is ​​a matrix after the first matrix is ​​linearly changed, the number of ratio items in the third sub-matrix is ​​greater than the number of ratio items in the first sub-matrix, and the ratio items of the third sub-matrix include the ratio items of the first sub-matrix; based on the third sub-matrix and the second sub-matrix, a prediction matrix is ​​determined, and the prediction matrix includes the ratio items of the third sub-matrix; in the prediction matrix, a recommended ratio of multiple candidate Cordyceps militaris culture media is determined; Based on the recommended ratio corresponding to the candidate Cordyceps militaris culture medium, the candidate Cordyceps militaris culture medium is prepared, and under the production environment, the corresponding candidate Cordyceps militaris sample is cultivated by the candidate Cordyceps militaris culture medium; Based on the fruiting body evaluation value of the candidate Cordyceps militaris sample, a target Cordyceps militaris culture medium ratio is determined, and the target Cordyceps militaris culture medium ratio is used for preparing the target Cordyceps militaris culture medium.

2. The method for preparing a Cordyceps militaris culture medium according to claim 1, wherein: The step of sampling the sorted plurality of groups of culture medium data according to a preset sampling time period to obtain a culture medium change sequence corresponding to the sampling time period comprises: Segmenting the sorted multiple groups of culture medium data according to multiple stages from the inoculation stage to the harvesting stage to obtain multiple groups of culture medium sub-data corresponding to each stage; Determine a sampling time period corresponding to each of the stages; Based on the sampling time period corresponding to each stage, the multiple groups of culture medium sub-data corresponding to each stage are sampled to obtain the culture medium change sequence corresponding to the sampling time period.

3. The method for preparing a Cordyceps militaris culture medium according to claim 2, wherein: The step of determining the sampling time period corresponding to each stage comprises: For one of the stages, according to the time length corresponding to each group of the culture medium data, determine the minimum convention time length of the stage; Based on the minimum convention time length, a sampling time period corresponding to each of the stages is determined.

4. The method for preparing a Cordyceps militaris culture medium according to claim 3, wherein: The step of sampling the multiple groups of culture medium sub-data corresponding to each stage based on the sampling time period corresponding to each stage to obtain the culture medium change sequence corresponding to the sampling time period includes: For one stage, based on the longest time period corresponding to the multiple groups of culture medium sub-data and taking the minimum convention time length corresponding to the stage as the unit time length, determine the missing time period of each group of culture medium sub-data in the time periods of the multiple groups of culture medium sub-data; For a group of the culture sub-data, taking the minimum common time length corresponding to the stage as the unit time length, determine the neighboring time period data of the missing time period in the time period corresponding to the culture sub-data; Based on the neighbor time period data, predict the missing time period data to obtain the missing time period data; Performing alignment processing on the culture medium sub-data in the time dimension by using the missing time period data to obtain a plurality of aligned groups of the culture medium sub-data; Based on the sampling time period, a plurality of groups of the culture medium sub-data are sampled to obtain a culture medium change sequence corresponding to the sampling time period.

5. The method for preparing a Cordyceps militaris culture medium according to claim 1, wherein: The step of calculating the error loss between the reference matrix and the ratio-time matrix under the same ratio based on a preset loss function comprises: Calculate the sorting error of the same ratio by using a preset first loss function, and determine the sorting error as a first error loss; Calculating the culture medium change data error under the same ratio by using a preset second loss function, and determining the culture medium change data error as a second error loss; Based on the first error loss and the second error loss, the error loss between the reference matrix and the ratio-time matrix under the same ratio is determined.

6. The method for preparing a Cordyceps militaris culture medium according to claim 1, characterized in that: The step of determining a prediction matrix based on the third submatrix and the second submatrix comprises: Performing matrix multiplication calculation on the third submatrix and the second submatrix to obtain a prediction matrix; The step of determining the recommended ratios of multiple candidate Cordyceps militaris culture media in the prediction matrix includes: In the prediction matrix, the ratio values ​​corresponding to the first-ranked multiple ratio items are determined as the recommended ratios of the multiple candidate Cordyceps militaris culture media.

Citation Information

Patent Citations

  • Data predicting model selecting device and method

    CN104679754A

  • Chicken house air age prediction method based on POD-ANN reduced-order model

    CN115310350A