A method, medium and device for generating recommendations based on a cow lifecycle profile
By using intelligent management based on cattle lifecycle records and leveraging blockchain and AI-powered suggestion generation models, the problem of relying on expert experience in existing technologies has been solved. This enables intelligent generation of breeding suggestions and traceable management, thereby improving the efficiency of cattle breeding and food safety.
Patent Information
- Application Number
- CN202611331549.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-08-28
- Publication Date
- 2026-11-24
AI Technical Summary
Existing cattle breeding technologies rely on expert experience, making it difficult to develop intelligent and systematic management solutions, provide timely advice during the breeding process, and ensure traceability in cattle breeding management.
By acquiring cattle information, establishing lifecycle profiles based on unique identification numbers, updating these profiles using monitoring information, and uploading them to a blockchain system, breeding recommendations are generated. Combined with an AI-powered recommendation generation model, suitable breeding recommendations are intelligently generated.
It enables intelligent management of the cattle life cycle, providing timely breeding suggestions, reducing reliance on expert experience, ensuring food safety traceability, and reducing the workload of manual observation.
Smart Images

Figure CN123157757A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of cattle breeding technology, and more specifically, to a method, medium, and device for generating suggestions based on cattle life cycle records. Background Technology
[0002] Current cattle farming techniques typically rely on expert experience, with workers, veterinarians, and other professionals observing and assessing the growth of cattle. This requires manual recording of the growth status of each cow, which is time-consuming, labor-intensive, and makes it difficult to develop intelligent, systematic management plans. The current farming model's over-reliance on expert experience makes it difficult to provide timely advice at various stages of the farming process, and makes traceability of cattle farming management challenging. Summary of the Invention
[0003] The purpose of this application is to provide a suggestion generation method, medium, and device based on cattle life cycle records. Through intelligent life cycle management, suggestions can be automatically and promptly made at each stage of the breeding process, and the cattle life cycle records can be uploaded to the blockchain, so that each growth node of each cattle can be traced.
[0004] To achieve the above objectives, the embodiments of this application are implemented in the following manner: In a first aspect, embodiments of this application provide a method for generating suggestions based on cattle lifecycle archives, comprising: obtaining cattle information, wherein the cattle information includes a unique number of the cattle and monitoring information; determining a cattle lifecycle archive based on the unique number; updating the cattle lifecycle archive based on the monitoring information and uploading it to a blockchain system; and generating cattle breeding suggestions based on the updated cattle lifecycle archive.
[0005] In conjunction with the first aspect, in the first possible implementation of the first aspect, updating the cattle life cycle file based on monitoring information includes: determining whether the cattle's status is normal at the current time period based on monitoring information, wherein the cattle's status includes rumination status, drinking status, and body temperature status; and generating status markers at the corresponding time nodes in the cattle life cycle file based on the cattle's status.
[0006] In conjunction with the first aspect, in a first possible implementation of the second aspect, the cattle information also includes event data, and the method further includes: parsing the event data, wherein the event data includes at least one of disease events, breeding events, and daily events; and generating event markers at corresponding time nodes in the cattle life cycle file based on the event data.
[0007] In conjunction with the second possible implementation of the first aspect, in the third possible implementation of the first aspect, event markers are generated at the corresponding time nodes in the cattle life cycle record based on event data. This includes: if the event data includes disease events, disease event markers are generated at the corresponding time nodes in the cattle life cycle record, wherein the disease event markers include onset nodes and outcome nodes; if the event data includes breeding events, breeding event markers are generated at the corresponding time nodes in the cattle life cycle record, wherein the breeding event markers include some or all of the nodes among estrus nodes, mating nodes, pregnancy check nodes, calving nodes, lactation nodes, and abortion nodes; if the event data includes daily events, daily event markers are generated at the corresponding time nodes in the cattle life cycle record, wherein the daily event markers include feeding event nodes, disease prevention event nodes, deworming event nodes, hoof trimming event nodes, and dehorning event nodes.
[0008] In conjunction with the first aspect, in the fourth possible implementation of the first aspect, after updating the cattle lifecycle file, the method further includes: generating a predicted lifecycle node based on the updated cattle lifecycle file; and generating a prompt message based on the predicted lifecycle node.
[0009] In conjunction with the first aspect, in the fifth possible implementation of the first aspect, cattle breeding suggestions are generated based on the updated cattle life cycle archive, including: obtaining suggestion generation instructions; importing the archive information of the cattle life cycle archive into the AI suggestion generation model based on the suggestion generation instructions; and generating breeding suggestions based on the archive information of the cattle life cycle archive through the AI suggestion generation model.
[0010] Combining the fifth possible implementation of the first aspect, in the sixth possible implementation of the first aspect, the training method of the AI suggestion generation model is as follows: Select a large AI model that supports fine-tuning training; collect text content in the cattle breeding field for the large AI model to learn from, and complete the pre-training of the large AI model; obtain a cattle life cycle profile-suggestion dataset, wherein the cattle life cycle profile-suggestion dataset contains several cattle life cycle profiles, each cattle life cycle profile corresponds to multiple suggestion data, each suggestion data corresponds to a different node in the cattle life cycle profile, and each suggestion data is text content; process each cattle life cycle profile in the cattle life cycle profile-suggestion dataset into corresponding profile information, wherein the profile information includes cattle category, unique number, status marker and event marker for each time node in the life cycle; establish the association between suggestion data and profile information, and prepare supervised training samples; define a unified question template to generate question content based on the profile information in the supervised training samples, wherein the question template contains a part of the profile information embedded in the supervised training samples; use the suggestion data in the supervised training samples for the large AI model to perform feedback learning, and after reaching the termination condition, complete the fine-tuning training of the large AI model to obtain the AI suggestion generation model.
[0011] In conjunction with the sixth possible implementation of the first aspect, the seventh possible implementation of the first aspect establishes the association between the suggested data and the archival information, and prepares supervised training samples, including: for each piece of suggested data: determining the association node between the suggested data and the archival information, wherein the association node is an event marker or a time node in the archival information; splitting the archival information copy from the association node, retaining the content from the initial time node to the association node in the archival information copy as the archival information part of the supervised training sample; establishing the association between this suggested data and the archival information part to obtain the supervised training sample corresponding to this suggested data.
[0012] Secondly, embodiments of this application provide a storage medium disposed within a device, comprising a stored program, wherein, when the program is executed, the device containing the storage medium is controlled to execute the suggestion generation method based on a cattle life cycle record as described in the first aspect or any possible implementation thereof.
[0013] Thirdly, embodiments of this application provide an electronic device, including a memory and a processor. The memory is used to store information including program instructions, and the processor is used to control the execution of the program instructions. When the program instructions are loaded and executed by the processor, they implement the steps of the suggestion generation method based on cattle life cycle archives as described in the first aspect or any of the possible implementations of the first aspect.
[0014] Beneficial Effects: This solution acquires cattle information, including unique identification numbers and monitoring data, and establishes a cattle lifecycle profile based on the unique identification number. The lifecycle profile is updated based on the monitoring data and uploaded to a blockchain system. Based on the updated lifecycle profile, cattle breeding recommendations are generated. This solution effectively utilizes intelligent cattle monitoring information, updating the lifecycle profile in real time, recording various states and events throughout the cattle's lifecycle, and uploading it to a blockchain system. Leveraging the immutability, transparency, security, and traceability of blockchain, a traceable lifecycle profile is provided for each cattle. Users can trace the origin of cattle products (such as beef) by entering the cattle's unique identification number, ensuring food safety and giving users greater peace of mind. Furthermore, using the cattle lifecycle profile, AI large-scale model technology can intelligently generate appropriate breeding recommendations and prompts, significantly reducing reliance on expert experience and effectively reducing the workload of personnel observing various states of cattle growth.
[0015] When updating cattle lifecycle records, it's possible to record not only the daily growth status of cattle (e.g., using monitoring information to identify whether the cattle's temperature, water intake, rumination, etc., are normal), but also events that occur under special circumstances, such as disease events (e.g., onset and outcome points, such as medication, cure, death, etc.), breeding events (e.g., estrus, mating, pregnancy check, calving, lactation, etc.), and routine events (e.g., feeding, disease prevention, deworming, hoof trimming, dehorning, etc.). This allows for relatively detailed recording of various key issues in the cattle's growth cycle. This not only ensures that traceable cattle records accurately document the cattle's growth process, allowing for tracking of each cow at slaughter, but also, based on detailed growth information (status markers, event markers, etc.), utilizes a large AI model (i.e., an AI suggestion generation model) to generate personalized suggestions for each key node. This ensures the real-time nature of the suggestions, reduces reliance on human experience, and effectively reduces delays in various stages of cattle farming.
[0016] During the training of the AI suggestion generation model, a large-scale AI model that supports fine-tuning training (such as Deepseek, Wenxin, GPT, etc.) is selected; textual content in the field of cattle breeding (such as literature, expert experience, etc. related to cattle breeding, health, and reproduction) is collected for the large-scale AI model to learn from, completing the pre-training of the large-scale AI model; then, a cattle life cycle profile-suggestion dataset is collected (it is necessary to organize the past data of cattle. There may not be a complete cattle life cycle profile in the past, but the corresponding cattle life cycle profile can be constructed using the previously recorded cattle growth data, and the suggestion content of each node in the life cycle can be formed by collecting and organizing past processing experience, expert opinions, etc., to form corresponding suggestion data at several nodes). The cattle life cycle profile-suggestion dataset contains several cattle life cycle profiles, each cattle life cycle profile corresponds to multiple suggestion data, each suggestion data corresponds to a different node in the cattle life cycle profile, and each suggestion data is text content. Then, each cattle lifecycle profile in the cattle lifecycle profile-suggestion dataset is processed into corresponding profile information (including cattle category, unique number, status markers and event markers for each time point within the lifecycle). Furthermore, the association between suggestion data and profile information is established, and supervised training samples are prepared. (Considering that cattle lifecycle profiles in historical data typically represent the complete lifecycle, if used for supervised fine-tuning of the AI model at non-end-stage time points, subsequent nodes might affect the model's understanding. That is, the model might acquire information about the cattle at subsequent lifecycle nodes, potentially distorting the generated suggestions. Therefore, when constructing supervised training samples, profile information for lifecycle nodes after the suggested data association nodes is removed to ensure data authenticity and improve the effectiveness of the AI suggestion generation model.) A unified question template is defined (containing a portion embedded with profile information from the supervised training samples) to generate question content based on the profile information in the supervised training samples. The suggestion data from the supervised training samples is used for feedback learning by the AI model. After reaching a termination condition (e.g., a certain number of iterations or the required accuracy of the suggestions), the fine-tuning training of the AI model is completed, resulting in the AI suggestion generation model. Therefore, suggestions can be generated proactively through design suggestion generation instructions (such as buttons set through the user interface), or suggestions can be automatically generated automatically at preset key nodes. This eliminates the need for users to input questions for answers and directly provides appropriate breeding suggestions, avoiding delays in various stages of cattle breeding.
[0017] To make the above-mentioned objectives, features and advantages of this application more apparent and understandable, preferred embodiments are described below in detail with reference to the accompanying drawings. Attached Figure Description
[0018] To more clearly illustrate the technical solutions of the embodiments of this application, the accompanying drawings used in the embodiments of this application will be briefly introduced below. It should be understood that the following drawings only show some embodiments of this application and should not be regarded as a limitation of the scope. For those skilled in the art, other related drawings can be obtained based on these drawings without creative effort.
[0019] Figure 1 A flowchart illustrating a suggestion generation method based on cattle lifecycle records provided in this application embodiment.
[0020] Figure 2 This is a diagram illustrating the life cycle record of cattle.
[0021] Figure 3 This is a flowchart of the cattle breeding process.
[0022] Figure 4 This is a diagram illustrating the changes in the weight of cattle.
[0023] Figure 5 A diagram illustrating the suggestions generated by AI.
[0024] Figure 6 This is a diagram illustrating the process of tracing the origin of cattle. Detailed Implementation
[0025] The technical solutions in the embodiments of this application will now be described with reference to the accompanying drawings.
[0026] Please see Figure 1 , Figure 1 A flowchart illustrating a suggestion generation method based on a cattle lifecycle record provided in this application embodiment. In this embodiment, the suggestion generation method based on a cattle lifecycle record includes steps S10, S20, S30, and S40.
[0027] After a cow is born, it can be assigned a unique number (such as a 16-digit traceability code) to determine its type (as a breeding cow, beef cow, or breeding cow), and a gastric capsule can be implanted to monitor body temperature, gastric motility, etc., to determine whether the cow's body temperature, drinking status, rumination status, etc. are abnormal, thus constructing a life cycle record for the cow.
[0028] Cattle life cycle profile: The life axis of a cattle is based on a timeline (in months), which includes elements such as regular weighing, disease events, breeding events, daily events, cattle status, and multiple life cycle nodes. These are the various stages that cattle need to go through in their normal growth, forming a complete life cycle of cattle from birth to slaughter.
[0029] During the normal growth stages of cattle, depending on their age, they go through several growth cycles, including the calf stage, juvenile stage, fattening stage, breeding stage, lactation stage, adult stage, and old age stage (generally, breeding cattle and breeding cattle will be slaughtered after reaching old age due to declining production performance). (The classification varies depending on the type of cattle. Based on their purpose, cattle are classified into breeding cattle, beef cattle, and breeding cattle, and their growth cycles are shown in Table 1-3 below.
[0030] Table 1. Growth cycle of breeding cattle Table 2. Beef cattle growth cycle Table 3. Growth cycle of breeding cattle These growth rules can be used to construct a basic framework for a lifecycle profile for different types of cattle. The construction of this basic framework is primarily based on a timeline (in days or months; this example uses months, but status markers and event markers can be inserted between adjacent months), using the cattle type as a condition to generate a template-style cattle lifecycle profile framework, and associating it with the cattle's unique identification number. As the cattle grow, various status markers and event markers are entered to gradually improve the cattle lifecycle profile until the cattle are sold or die. Figure 2 As shown.
[0031] During this process, the system can run a suggestion generation method based on the cattle lifecycle profile (this embodiment has a system that can run a suggestion generation method based on the cattle lifecycle profile). First, the system can run step S10.
[0032] Step S10: Obtain cattle information, which includes the unique number of each cattle and monitoring information.
[0033] In this embodiment, the system can acquire cattle information, including the cattle's unique identification number and monitoring information. The monitoring information can be collected through a bovine gastric capsule (e.g., uploaded regularly every day), including temperature information, gastric motility information, etc., to determine whether the cattle's body temperature, water intake, rumination, and other states are normal.
[0034] In addition, cattle information can also include cattle event data, but some events occur regularly and some occur irregularly, requiring manual operation and data entry.
[0035] For example, event data can be recorded by a team of personnel, including ranch patrollers and veterinarians, during the cattle raising process. These records are then synchronized to the cattle's lifecycle records, and the events are divided into the following three main parts: Disease events: onset, medication, recovery, death, etc.
[0036] Reproductive events: estrus, mating, pregnancy check, calving, lactation, miscarriage, etc.
[0037] Routine tasks: feeding, vaccination, deworming, hoof trimming, dehorning, etc.
[0038] Disease events are sudden events. When cattle fall ill, disease information can be entered, and the treatment of cattle can be continuously tracked. The medications and quantities used for treatment can be recorded to form a disease event in the life cycle. Common diseases that may be encountered in cattle farming and corresponding medications are shown in Table 4 below: Table 4. Common diseases in cattle and corresponding medications Breeding events are predictive events; they can be predicted based on the cattle's age (excluding abortion). When cattle enter the pen, predictions are made based on a pre-set breeding cycle. Figure 3 As shown, the forecasting process describes a smooth production scenario, according to... Figure 3 The time cycle described herein is used for inspection. However, in actual practice, situations may arise, such as failure to conceive after the initial pregnancy check requiring re-breeding; miscarriage during re-examination or calving; in such cases, the current breeding phase is considered complete, and the start point of the next breeding phase is predicted according to the cycle. Table 5 below shows a normal breeding cycle: Table 5. Cattle Breeding Cycle Routine events are planned events, meaning they are necessary or have a relatively fixed cycle, such as vaccinations and deworming. These events remind ranchers to take care of their cattle. Newly introduced cattle should be observed for 7-10 days to confirm their health before vaccination to avoid inducing latent diseases. Tables 6 and 7 below list some common vaccines and deworming measures: Table 6. Common Vaccines Table 7. Deworming Measures Routine events can also include monthly (or bi-monthly) weighings, recorded as follows: Figure 4 As shown in the table below, changes in body weight reflect the current nutritional status and feed intake of cattle. These changes can be used to adjust feed supply for the cattle going forward. For pregnant cows, weight changes can be used to assess the growth of calves and to identify any chronic diseases, such as oral or gastrointestinal diseases. Table 8 below shows the key dietary guidelines and reference weight changes for cattle at different stages: Table 8. Dietary guidelines and reference weight changes for cattle at different stages The above describes the collection of event data for cattle. The collected event data includes several items from disease events, breeding events, and daily events. However, the collection of event data is not done every day, but rather periodically or irregularly. When event data is collected, staff can record and upload the collected event data, which usually includes key points of the event, such as the onset time of disease events, medication, and recovery status (recovery or death).
[0039] After obtaining the cattle information, the system can proceed to step S20.
[0040] Step S20: Determine the life cycle file of the cattle based on the unique number.
[0041] In this embodiment, the system can determine the corresponding cattle lifecycle file based on the cattle's unique identification number. Each cattle has a unique identification number, and each cattle has a corresponding cattle lifecycle file, which is linked to the cattle's unique identification number.
[0042] After the life cycle record of the cattle is determined, the system can proceed to step S30.
[0043] Step S30: Based on the monitoring information, update the cattle life cycle file and upload it to the blockchain system.
[0044] In this embodiment, the system can determine whether the cattle's current state is normal based on monitoring information. The cattle's state includes rumination status, water consumption status, and body temperature status. Body temperature monitoring can be achieved by collecting temperature information to determine if there are any abnormalities. Water consumption status can also be determined by detecting temperature information to ascertain the amount of water consumed, thus determining whether the cattle's water consumption status for the day is normal. Furthermore, the normality of rumination status can be determined by monitoring the cattle's gastric motility. The determination of water consumption and rumination status has been used in another patent application and will not be described in detail here.
[0045] Once the cattle's status is determined, the system can generate status markers at the corresponding time points in the cattle's lifecycle file based on that status. For example, although this embodiment uses months as the unit, status markers (which can be accompanied by serial numbers to distinguish different dates) can be inserted between adjacent months to update the cattle's lifecycle file.
[0046] When event data is included, the system can also parse the event data (event data includes at least one of disease events, breeding events, and daily events), and then generate event markers at the corresponding time nodes in the cattle life cycle file based on the event data.
[0047] If the event data includes disease events, the system can generate disease event markers at the corresponding time nodes in the cattle's life cycle record. Disease event markers include onset nodes and outcome nodes, and event markers can also be associated with more information (such as medication use).
[0048] If the event data includes breeding events, the system can generate breeding event markers at the corresponding time nodes in the cattle's life cycle record. Breeding event markers include some or all of the nodes in the following categories: estrus node, mating node, pregnancy check node, calving node, lactation node, and abortion node (usually some nodes, with one node recorded each time).
[0049] If the event data includes daily events, the system can generate daily event markers at the corresponding time nodes in the cattle's life cycle record. Daily event markers include feeding event nodes, disease prevention event nodes, deworming event nodes, hoof trimming event nodes, dehorning event nodes, etc.
[0050] After updating the cattle lifecycle records, the system can upload the updated records to the blockchain, thereby updating the cattle lifecycle records on the blockchain. The blockchain has the characteristics of immutability, transparency, security, and traceability, thus ensuring the reliability of the cattle lifecycle records.
[0051] Afterwards, the system can generate predicted life cycle nodes based on the updated cattle life cycle profile. Here, generating predicted life cycle nodes is mainly to address the impact of some sudden and unpredictable events on the normal growth cycle of cattle, thereby adjusting subsequent nodes in the cattle life cycle profile that have not yet been reached (for example, illness in cattle may delay the estrus cycle).
[0052] Based on the predicted lifecycle nodes, the system can also generate corresponding prompts. For example, if a cow has just recovered from an illness, and the subsequent predicted estrus node is updated in the event marker, a prompt can be generated to remind relevant personnel to pay attention to the situation.
[0053] Then, the system can proceed to step S40.
[0054] Step S40: Generate cattle farming recommendations based on the updated cattle lifecycle profile.
[0055] In this embodiment, the system can obtain a suggestion generation instruction (which may be an instruction that runs automatically after being uploaded to the blockchain, or a function button provided in the user interface, which the system receives after the user clicks the function button to generate suggestions).
[0056] Based on the suggestion generation instructions, the system can import the information from the cattle life cycle records into the AI suggestion generation model, and then generate breeding suggestions based on the information from the cattle life cycle records.
[0057] To facilitate understanding of this solution, the training method for the AI suggestion generation model is described here: First, you need to select a large AI model that supports fine-tuning training, such as DeepSeek, GPT, or Wenxin. This example uses DeepSeek as an example.
[0058] Next, textual content related to cattle farming needs to be collected for the AI model to learn from, completing the pre-training of the AI model. This textual content includes literature, expert experience, and opinions related to cattle breeding, health, and reproduction. This pre-training process involves feeding the AI model with data, allowing it to focus on the cattle farming field and provide more professional advice.
[0059] To fine-tune the training of large AI models, it is necessary to obtain a cattle lifecycle profile-suggestion dataset. This dataset contains several cattle lifecycle profiles, each corresponding to multiple suggestion data points. Each suggestion data point corresponds to a different node within the cattle lifecycle profile, and each suggestion data point is text content. That is, a cattle lifecycle profile has multiple key nodes, such as sudden events (e.g., cattle illness, abortion), predictive events (e.g., pregnancy), and key lifecycle stages (e.g., calf stage, juvenile stage, fattening stage). Some or all of these key nodes have conditions that link to suggestion data, but a cattle lifecycle profile does not necessarily have suggestion data corresponding to every key node.
[0060] When constructing the cattle lifecycle profile - suggestion dataset, it is necessary to organize the cattle's past data, because there may not have been a complete cattle lifecycle profile in the past. However, the cattle growth data recorded in the past can be used to construct the corresponding cattle lifecycle profile. The suggestion content for each node in the lifecycle can be formed by collecting and organizing past processing experience, expert opinions, etc., to form the corresponding suggestion data for several nodes, thus forming the cattle lifecycle profile - suggestion dataset.
[0061] After obtaining the cattle lifecycle profile-recommendation dataset, further processing is required. Each cattle lifecycle profile in the cattle lifecycle profile-recommendation dataset is processed into corresponding profile information, which includes cattle category, unique number, status marker and event marker for each time node in the lifecycle. Then, the association between the recommendation data and the profile information is established, and supervised training samples are prepared.
[0062] Considering the lifecycle records of cattle in historical data, cattle typically complete their entire lifecycle. If these non-final stages are used for supervised fine-tuning training of a large AI model, subsequent stages might affect the model's understanding. That is, the model might acquire information about the cattle at later lifecycle stages, potentially distorting the generated suggestions to some extent. Therefore, when constructing supervised training samples, we remove the lifecycle record information after the suggested data-related nodes to ensure data authenticity and improve the effectiveness of suggestions generated by the AI suggestion generation model.
[0063] Therefore, for each piece of suggested data: the associated node between the suggested data and the archival information can be identified (the associated node is an event marker or a time node in the archival information). Then, a copy of the archival information (used here because a single piece of archival information may be processed into multiple supervised training samples) is segmented from the associated node. The content from the initial time node (i.e., the first node recording the cattle's life cycle from the calf stage) to the associated node is retained (i.e., the segment is truncated at the associated node, retaining the archival information from the initial node to that associated node). This is used as the archival information portion of the supervised training sample. Then, the association between this suggested data and the archival information portion is established, resulting in the supervised training sample corresponding to this suggested data. The length of the supervised training samples varies, but this does not affect large AI models; it only affects the difference in the reference materials to be analyzed.
[0064] The resulting supervised training samples can then be used for fine-tuning the training of large AI models. To ensure training effectiveness and internalize the questioning pattern, this embodiment defines a unified question template to generate question content based on the archival information in the supervised training samples. The question template includes a portion of the archival information embedded in the supervised training samples.
[0065] For example, "Based on the following cattle lifecycle profile: [Lifecycle profile content], comprehensively analyze its [growth status and latest condition], and provide targeted breeding suggestions." Alternatively, the specific aspects of the analysis can be matched to the specific type of the associated node at the end of the supervised training sample. For example, analyzing its [health status OR feed requirements OR medication recommendations] could correspond to different suggestion function buttons (such as feed recommendations, medication recommendations, health analysis, etc., but the supervised training samples need to be categorized accordingly during the training phase to improve training effectiveness). The design of the question template here is not limited.
[0066] Based on this, the suggestion data in the supervised training samples is used to provide feedback learning for the AI large model. After reaching the termination condition (e.g., iterating x times; or the accuracy of the suggestions reaches the set standard, which can be judged by comparing the suggestions output by the AI large model with the suggestion data in the supervised training samples, or by expert evaluation. This embodiment takes expert evaluation as an example, but it should not be regarded as a limitation), the fine-tuning training of the AI large model is completed, and the AI suggestion generation model is obtained.
[0067] Ultimately, users can obtain suggestions for each stage of cattle farming through the system's AI-generated suggestion model, avoiding various delays and effectively reducing reliance on expert experience. AI-generated suggestions include... Figure 5 As shown.
[0068] After cattle are sold and enter the market, users can also query the cattle's lifecycle records by entering the cattle's unique code (such as a 16-digit traceability code). Figure 6 As shown, this ensures that the products from each cattle slaughtered are traceable, thereby increasing users' trust in the safety of cattle products.
[0069] This application provides a storage medium disposed within a device, comprising a stored program, wherein, when the program is executed, it controls the device containing the storage medium to execute the suggestion generation method based on cattle life cycle records of this embodiment.
[0070] This application provides an electronic device (such as a computer, server, etc., equipped with a system designed by this unit), including a memory and a processor. The memory is used to store information including program instructions, and the processor is used to control the execution of the program instructions. When the program instructions are loaded and executed by the processor, they implement the steps of the suggestion generation method based on cattle life cycle archives of this embodiment.
[0071] In summary, this application provides a method, medium, and device for generating suggestions based on cattle lifecycle records. By acquiring cattle information, including unique identification numbers and monitoring information, a cattle lifecycle record is determined based on the unique identification number. The cattle lifecycle record is updated based on the monitoring information and uploaded to a blockchain system. Finally, cattle breeding suggestions are generated based on the updated cattle lifecycle record. This solution effectively utilizes intelligent cattle monitoring information, updates cattle lifecycle records in real time, records various states and events during the cattle's lifecycle, and uploads them to a blockchain system. Leveraging the immutability, transparency, security, and traceability of the blockchain, a traceable cattle lifecycle record is provided for each cattle. Users can trace the origin of cattle products (such as beef) by entering the cattle's unique identification number, ensuring food safety and giving users greater peace of mind. Furthermore, using cattle lifecycle records, AI large-scale model technology can be used to intelligently generate suitable breeding suggestions and prompts, greatly reducing reliance on expert experience and effectively reducing the workload of personnel observing various states during cattle growth.
[0072] When updating cattle lifecycle records, it's possible to record not only the daily growth status of cattle (e.g., using monitoring information to identify whether the cattle's temperature, water intake, rumination, etc., are normal), but also events that occur under special circumstances, such as disease events (e.g., onset and outcome points, such as medication, cure, death, etc.), breeding events (e.g., estrus, mating, pregnancy check, calving, lactation, etc.), and routine events (e.g., feeding, disease prevention, deworming, hoof trimming, dehorning, etc.). This allows for relatively detailed recording of various key issues in the cattle's growth cycle. This not only ensures that traceable cattle records accurately document the cattle's growth process, allowing for tracking of each cow at slaughter, but also, based on detailed growth information (status markers, event markers, etc.), utilizes a large AI model (i.e., an AI suggestion generation model) to generate personalized suggestions for each key node. This ensures the real-time nature of the suggestions, reduces reliance on human experience, and effectively reduces delays in various stages of cattle farming.
[0073] During the training of the AI suggestion generation model, a large-scale AI model that supports fine-tuning training (such as Deepseek, Wenxin, GPT, etc.) is selected; textual content in the field of cattle breeding (such as literature, expert experience, etc. related to cattle breeding, health, and reproduction) is collected for the large-scale AI model to learn from, completing the pre-training of the large-scale AI model; then, a cattle life cycle profile-suggestion dataset is collected (it is necessary to organize the past data of cattle. There may not be a complete cattle life cycle profile in the past, but the corresponding cattle life cycle profile can be constructed using the previously recorded cattle growth data, and the suggestion content of each node in the life cycle can be formed by collecting and organizing past processing experience, expert opinions, etc., to form corresponding suggestion data at several nodes). The cattle life cycle profile-suggestion dataset contains several cattle life cycle profiles, each cattle life cycle profile corresponds to multiple suggestion data, each suggestion data corresponds to a different node in the cattle life cycle profile, and each suggestion data is text content. Then, each cattle lifecycle profile in the cattle lifecycle profile-suggestion dataset is processed into corresponding profile information (including cattle category, unique number, status markers and event markers for each time point within the lifecycle). Furthermore, the association between suggestion data and profile information is established, and supervised training samples are prepared. (Considering that cattle lifecycle profiles in historical data typically represent the complete lifecycle, if used for supervised fine-tuning of the AI model at non-end-stage time points, subsequent nodes might affect the model's understanding. That is, the model might acquire information about the cattle at subsequent lifecycle nodes, potentially distorting the generated suggestions. Therefore, when constructing supervised training samples, profile information for lifecycle nodes after the suggested data association nodes is removed to ensure data authenticity and improve the effectiveness of the AI suggestion generation model.) A unified question template is defined (containing a portion embedded with profile information from the supervised training samples) to generate question content based on the profile information in the supervised training samples. The suggestion data from the supervised training samples is used for feedback learning by the AI model. After reaching a termination condition (e.g., a certain number of iterations or the required accuracy of the suggestions), the fine-tuning training of the AI model is completed, resulting in the AI suggestion generation model. Therefore, suggestions can be generated proactively through design suggestion generation instructions (such as buttons set through the user interface), or suggestions can be automatically generated automatically at preset key nodes. This eliminates the need for users to input questions for answers and directly provides appropriate breeding suggestions, avoiding delays in various stages of cattle breeding.
[0074] In this document, relational terms such as first and second are used only to distinguish one entity or operation from another entity or operation, without necessarily requiring or implying any such actual relationship or order between these entities or operations.
[0075] The above description is merely an embodiment of this application and is not intended to limit the scope of protection of this application. Various modifications and variations can be made to this application by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this application should be included within the scope of protection of this application.
Claims
1. A suggestion generation method based on cattle life cycle records, characterized in that, include: Obtain cattle information, including the cattle's unique identification number and monitoring information; Based on the unique identification number, a life cycle record for each cattle is established. Based on monitoring information, the life cycle records of cattle are updated and uploaded to the blockchain system; Based on updated cattle lifecycle records, cattle farming recommendations are generated.
2. The suggestion generation method based on cattle life cycle records according to claim 1, characterized in that, Based on monitoring information, update the life cycle records of cattle, including: Based on monitoring information, determine whether the cattle's condition is normal at the current time. The cattle's condition includes rumination status, water consumption status, and body temperature status. Based on the cattle's status, status markers are generated at the corresponding time points in the cattle's life cycle file.
3. The suggestion generation method based on cattle life cycle records according to claim 1, characterized in that, The cattle information also includes event data, and the method further includes: Analyze event data, which includes at least one of disease events, breeding events, and daily events; Based on event data, event markers are generated at the corresponding time points in the cattle life cycle records.
4. The suggestion generation method based on cattle life cycle records according to claim 3, characterized in that, Based on event data, event markers are generated at the corresponding time points in the cattle lifecycle records, including: If the event data includes disease events, disease event markers are generated at the corresponding time nodes in the cattle life cycle record. The disease event markers include the onset node and the outcome node. If the event data includes breeding events, a breeding event marker is generated at the corresponding time node in the cattle life cycle record. The breeding event marker includes some or all of the nodes from the following: estrus node, mating node, pregnancy check node, calving node, lactation node, and abortion node. If the event data includes daily events, daily event markers are generated at the corresponding time nodes in the cattle life cycle record. Daily event markers include feeding event nodes, disease prevention event nodes, deworming event nodes, hoof trimming event nodes, and dehorning event nodes.
5. The suggestion generation method based on cattle life cycle records according to claim 1, characterized in that, After updating the cattle lifecycle records, the method further includes: Based on the updated cattle lifecycle profile, predictive lifecycle nodes are generated; Based on the predicted lifecycle nodes, prompt messages are generated.
6. The suggestion generation method based on cattle life cycle records according to claim 1, characterized in that, Based on updated cattle lifecycle profiles, cattle farming recommendations are generated, including: Get suggestions and generate instructions; Based on the suggestion generation instructions, the information from the cattle life cycle records is imported into the AI suggestion generation model, which then generates breeding suggestions based on the information from the cattle life cycle records.
7. The suggestion generation method based on cattle life cycle records according to claim 6, characterized in that, The AI suggests the following training method for the generative model: Choose a large AI model that supports fine-tuning training; Collect textual content from the cattle farming field to provide learning material for AI large-scale models, thus completing the pre-training of the AI large-scale models; Obtain the cattle lifecycle profile - suggestion dataset, which contains several cattle lifecycle profiles, each cattle lifecycle profile corresponds to multiple suggestion data, each suggestion data corresponds to a different node in the cattle lifecycle profile, and each suggestion data is text content; Each cattle lifecycle profile in the cattle lifecycle profile-recommendation dataset is processed into corresponding profile information, which includes cattle category, unique number, status marker and event marker for each time point in the lifecycle; Establish the correlation between suggested data and archival information, and prepare supervised training samples; Define a unified question template to generate question content based on archival information in supervised training samples, wherein the question template contains a portion of archival information embedded in supervised training samples; The AI model is fed back to learn by using the suggestions from the supervised training samples. Once the termination condition is met, the AI model is fine-tuned and trained to obtain the AI suggestion generation model.
8. The suggestion generation method based on cattle life cycle records according to claim 7, characterized in that, Establish the correlation between suggested data and archival information, and prepare supervised training samples, including: For each suggestion data point: Identify the nodes that link the suggested data to the archival information, where the linking node is an event marker or a time node in the archival information; The archive information copy is segmented from the associated nodes, and the content from the initial time node to the associated node in the archive information copy is retained as the archive information part of the supervised training sample; Establish the association between this suggested data and the archival information section to obtain the supervised training samples corresponding to this suggested data.
9. A storage medium, characterized in that, The storage medium is disposed within the device and includes a stored program, wherein, when the program is executed, it controls the device containing the storage medium to execute the suggestion generation method based on any one of claims 1 to 8.
10. An electronic device comprising a memory and a processor, the memory for storing information including program instructions, and the processor for controlling the execution of the program instructions, characterized in that: When the program instructions are loaded and executed by the processor, they implement the steps of the suggestion generation method based on cattle life cycle archives as described in any one of claims 1 to 8.
