Feed formula query method, device and equipment and storage medium

By obtaining the feed formula query needs of farmers and providing supplementary questions, combining interfaces and databases, the problem that feed formula query software in the existing technology is difficult to identify needs, and the rapid and accurate feed formula query is achieved, which promotes the feed breeding industry. Intelligent.

CN118964558APending Publication Date: 2024-11-15BEIJING WANJIE DATA TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411005555.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-25
Publication Date
2024-11-15

AI Technical Summary

Technical Problem

The existing feed formula query software is difficult to accurately identify the needs of farmers, resulting in low willingness to use and complex operations, and farmers need to have certain professional knowledge.

Method used

By obtaining the feed formula query needs of farmers, providing supplementary questions to obtain complete information, and using interfaces (such as raw nutrient content, animal nutrient requirements, etc.) to calculate the feed formula, consider regional factors and adjust needs, and establish a feed formula query database.

Benefits of technology

It realizes fast and accurate feed formula query, reduces operating costs and time costs, and improves the intelligent process of the feed breeding industry.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118964558A_ABST
    Figure CN118964558A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of livestock breeding, and discloses a feed formula query method, device and equipment and a storage medium, and the method comprises the steps: obtaining a feed formula query demand of a farmer; under the condition that only part of query information can be obtained based on the feed formula query requirement of the farmer, supplement questions which can be selected by the farmer are provided based on the part of query information until complete query information is obtained, and the part of query information comprises feed query keywords or the intention of the farmer; and obtaining a feed formula query result based on the complete query information. The operation cost and the time cost of farmers are reduced, manual calculation according to a complex nutrition calculation formula is not needed, the query efficiency of the feed formula is improved, and therefore the intelligent process of the feed breeding industry is powerfully promoted.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the technical field of livestock breeding, and in particular to a method, a device, equipment and a storage medium for querying feed formula. Background Art

[0002] The operation of feed formula query software in related technologies is relatively complex, requiring farmers to have a certain understanding of the feed formula query software, and not all farmers can master and use it effectively. During the use of farmers, the feed formula query software cannot accurately identify the farmers' usage needs, which makes farmers less willing to use it. Summary of the invention

[0003] In view of this, the present invention provides a method, device, equipment and storage medium for feed formula query to solve the problem that feed formula query software in the related art cannot accurately identify the usage needs of farmers.

[0004] In a first aspect, the present invention provides a method for feed formula query, the method comprising: obtaining a feed formula query demand of a farmer; when only partial query information can be obtained based on the farmer's feed formula query demand, providing supplementary questions for the farmer to choose based on the partial query information until complete query information is obtained, wherein the partial query information includes: feed query keywords or farmer's intentions; based on the complete query information, obtaining a feed formula query result.

[0005] In an optional embodiment, obtaining a feed formula query result based on the complete query information includes: judging the intention of the farmer based on the complete query information; calling a corresponding interface based on the intention of the farmer to obtain the feed formula query result; wherein the interface includes: an interface for nutrient content of raw materials, an interface for nutrient requirements of animals at various stages, an interface for adjusting the nutrient requirements of animals, an interface for obtaining feed formulas, an interface for adjusting feed formulas.

[0006] In an optional embodiment, obtaining the feed formula query result based on the complete query information also includes: obtaining the region where the farmer is located; determining the nutritional content of crops and the price of crops based on the region where the farmer is located; and obtaining the feed formula query result based on the nutritional content of the crops, the price of the crops and the complete query information.

[0007] In an optional implementation, after obtaining the feed formula query result, it also includes: obtaining the adjustment needs of the farmer; establishing feed formula constraints based on the adjustment needs, and adjusting the feed formula query result based on the feed formula constraints.

[0008] In an optional embodiment, obtaining the feed formula query result based on the complete query information also includes: establishing a feed formula query database based on the raw material type, nutrient type, animal type, nutrient content of the raw material, nutrient requirement of the animal at each stage, the alias of the raw material, the alias of the nutrient, the alias of the animal and the price of the raw material; inputting the complete query information into the feed formula query database to obtain the feed formula query result.

[0009] In an optional embodiment, before obtaining the farmer's feed formula query demand, it also includes: obtaining the farmer's feed query information, the feed query information including: voice information or text information; inputting the feed query information into a large language model to identify the farmer's feed formula query demand.

[0010] In an optional embodiment, when only partial query information can be obtained based on the farmer's feed formula query demand, supplementary questions that can be selected by the farmer are asked based on the partial query information until complete query information is obtained, wherein the partial query information includes: feed query keywords, including: conducting question-and-answer interaction with the farmer based on the feed query keywords, and obtaining the complete query information after determining the animal species and the stage of the animal.

[0011] In a second aspect, the present invention provides a device for feed formula query, the device comprising: a demand acquisition module, used to obtain the feed formula query demand of the farmer; a query information determination module, used to, when only partial query information can be obtained based on the farmer's feed formula query demand, ask supplementary questions that can be selected by the farmer based on the partial query information until complete query information is obtained, wherein the partial query information includes: feed query keywords or farmer's intentions; a query result output module, used to obtain feed formula query results based on the complete query information.

[0012] In a third aspect, the present invention provides a computer device, comprising: a memory and a processor, the memory and the processor being communicatively connected to each other, the memory storing computer instructions, and the processor executing the method for feed formula query of the above-mentioned first aspect or any corresponding embodiment thereof by executing the computer instructions.

[0013] In a fourth aspect, the present invention provides a computer-readable storage medium having computer instructions stored thereon, the computer instructions being used to cause a computer to execute the method for feed formula query according to the first aspect or any corresponding embodiment thereof.

[0014] After obtaining partial query information, by asking supplementary questions that the farmers can choose, the farmers are guided to supplement the query information until the complete query information is obtained. In this way, the user needs can be accurately understood and the feed formula can be quickly queried. There is no need to consult a large number of professional books or hire experts for guidance to obtain the feed formula query results, which reduces the operating costs and time costs of farmers. There is no need to perform manual calculations based on complex nutritional calculation formulas, which improves the query efficiency of feed formulas and effectively promotes the intelligent process of the feed breeding industry. BRIEF DESCRIPTION OF THE DRAWINGS

[0015] In order to more clearly illustrate the specific embodiments of the present invention or the technical solutions in the related technologies, the drawings required for use in the specific embodiments or the related technical descriptions will be briefly introduced below. Obviously, the drawings described below are 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.

[0016] Figure 1 A schematic flow chart of a method for querying feed formula provided by an embodiment of the present invention is shown;

[0017] Figure 2 is another flow chart of a method for querying feed formula according to an embodiment of the present invention;

[0018] Figure 3 A schematic diagram of the nutrient requirement of a five-kilogram piglet obtained by querying the method for querying feed formula in this embodiment is shown;

[0019] Figure 4 A schematic diagram of providing supplementary questions for farmers to choose based on partial query information is shown;

[0020] Figure 5 Another schematic diagram showing providing supplementary questions for farmers to choose based on partial query information;

[0021] Figure 6 A schematic diagram of a feed formula query result for a 5 kg piglet obtained by implementing the method for feed formula query is shown;

[0022] Figure 7 A schematic diagram of the structure of a device for querying feed formula is shown;

[0023] Figure 8 It is a schematic diagram of the hardware structure of a computer device according to an embodiment of the present invention. DETAILED DESCRIPTION

[0024] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present invention.

[0025] During the use by farmers, the query needs of farmers are inconsistent with the preset requirements of the feed formula query software, which makes the feed formula query software unable to recognize the needs of farmers, and farmers cannot get the desired query results, which makes farmers less willing to use it.

[0026] According to an embodiment of the present invention, a method embodiment for feed formula query is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.

[0027] In this embodiment, a method for querying feed formula is provided, which can be used in mobile terminals, such as mobile phones, desktop computers, tablet computers, etc. Figure 1 A schematic diagram of a method for querying feed formula provided by an embodiment of the present invention is shown. Figure 1 As shown, the process includes the following steps:

[0028] Step S101, obtaining the feed formula query requirements of farmers.

[0029] In the process of animal breeding, farmers may raise various feed formula query requirements, for example, farmers want to know the crude protein content of corn, piglet feed formula or crude protein content. There are complete query information and incomplete query information.

[0030] Step S102, when only partial query information can be obtained based on the farmer's feed formula query demand, supplementary questions are provided for the farmer to choose based on the partial query information until the complete query information is obtained, wherein the partial query information includes: feed query keywords or farmer's intentions.

[0031] In this step, if the feed formula query demand obtained by the farmer is "feed formula", the feed query keyword can be obtained as "feed formula", and the farmer's intention is to query the feed formula; in this way, when only partial query information is obtained, the farmer can be asked "what kind of animal is needed, and which growth stage of the animal is this feed formula used for, for example, you may need a feed formula for young pigs, or a feed formula for adult chickens", and further exemplary supplementary questions are asked based on the partial query information obtained. The process of supplementary questions can be performed multiple times until the complete query information is obtained. The complete query information includes: animal species and the growth stage of the animal. The farmer's intention includes the animal feed information queried by the farmer.

[0032] Step S103, obtaining feed formula query results based on the complete query information.

[0033] In this step, the feed formula is calculated based on factors such as the type of animal, the stage of the animal, the nutrients required by the animal at this stage, the nutrient content of the crop, and the price of the crop, and the feed formula query result can be obtained. Based on the complete query information obtained, for example, "the feed formula for a five-kilogram piglet", the feed formula query result obtained is shown in Table 1 below:

[0034] Table 1 Feed formula for 5 kg piglets

[0035]

[0036]

[0037] Calculating the feed formula includes: calculating the percentage of each raw material, the sum of the percentages of all raw materials is 1, and the percentage of each raw material = the ratio of the weight of the raw material required to the total weight of the feed × 100%. While outputting the feed formula query results, the farmer will also be asked "If the above nutrients need to be adjusted, please enter the adjustment content: (Example: Crude protein increase / decrease 1%), if no adjustment is required, please enter: Not required".

[0038] The method for feed formula query provided in this embodiment, after obtaining part of the query information, guides the breeder to supplement the query information by asking supplementary questions that the breeder can choose until the complete query information is obtained. In this way, the user's needs can be accurately understood, and the feed formula can be quickly queried. The feed formula query result can be obtained without consulting a large number of professional books or hiring experts for guidance, which reduces the operating cost and time cost of the breeder. There is no need to perform manual calculations based on complex nutritional calculation formulas. The operation is simple and the error rate is low, which improves the query efficiency of the feed formula, thereby effectively promoting the intelligent process of the feed breeding industry.

[0039] In this embodiment, a method for querying feed formula is provided, which can be used in the above-mentioned mobile terminal, such as a mobile phone, a tablet computer, etc. Figure 2 FIG. 1 is another flow chart of a method for querying feed formula according to an embodiment of the present invention. Figure 2 As shown, the process includes the following steps:

[0040] Step S201, obtain the feed formula query requirements of farmers. Figure 1 Step S101 of the illustrated embodiment will not be described in detail here.

[0041] Step S202: If only partial query information can be obtained based on the farmer's feed formula query demand, supplementary questions are provided for the farmer to choose based on the partial query information until the complete query information is obtained, wherein the partial query information includes: feed query keywords or farmer's intentions. Figure 1 Step S102 of the illustrated embodiment will not be described in detail here.

[0042] Step S203, obtaining feed formula query results based on the complete query information.

[0043] Specifically, the above step S203 includes:

[0044] Step S2031, judging the intention of the farmer based on the complete query information.

[0045] In the case that complete query information can be obtained based on the farmer's feed formula query demand, the feed formula query result is obtained directly based on the complete query information. The aforementioned complete query information also includes: the nutrient content of the target raw material, the nutrient requirement of the target animal at the target stage, adjusting the nutrient requirement of the target animal or adjusting the feed formula of the target animal. The farmer's intention includes: querying the nutrient content of the target raw material, querying the nutrient requirement of the target animal at the target stage, adjusting the nutrient content of the target raw material or adjusting the feed formula of the target animal.

[0046] Step S2032, based on the intention of the farmer, the corresponding interface is called to obtain the feed formula query result; wherein the interface includes: the nutrient content interface of the raw material, the nutrient requirement interface of the animal at each stage, the interface for adjusting the nutrient requirement of the animal, the interface for obtaining the feed formula and the interface for adjusting the feed formula.

[0047] In this step, after determining the complete query information, the intention of the farmer is determined, and the corresponding interface is called based on the intention of the farmer. For example, the complete query information is "What is the crude protein content of corn?", and the intention of the farmer is to query the nutrient content of the target raw material. The corresponding interface called based on the intention of the farmer is: the nutrient content interface of the raw material, and the obtained feed formula query result is: the crude protein content of corn is 8.01%. For another example, the complete query information is "The nutrient requirement of a five-kilogram piglet", and the intention of the farmer is to query the nutrient requirement of the target animal at the target stage. The corresponding interface called based on the intention of the farmer is: the nutrient requirement interface for each stage of the animal, and the obtained feed formula query result is as follows: Figure 3 shown. Figure 3 A schematic diagram of the nutrient requirement of a five-kilogram piglet obtained by querying the method for feed formula query in this embodiment is shown.

[0048] In this way, when the farmer inquires about the nutrient content of the target raw material, the nutrient content of the target raw material can be returned to the farmer; when the farmer inquires about the nutrient requirement of the target animal at the target stage, the nutrient requirement of the target animal at the target stage can be returned to the farmer, which can meet the various query needs of the farmers; the interface called based on the farmer's intention judgment can query accurate data, ensuring the accuracy of the data.

[0049] In some optional embodiments, obtaining feed formula query results based on complete query information also includes: obtaining the region where the farmer is located; determining the nutritional content of crops and the price of crops based on the region where the farmer is located; obtaining feed formula query results based on the nutritional content of crops, the price of crops and the complete query information.

[0050] In the process of calculating the feed formula, the influence of the region where the farmer is located on the nutritional content and price of crops is taken into consideration. After the farmer's region is determined, the feed formula is calculated according to the farmer's region. In this way, the influence of regional factors on the nutritional content and price of crops in the process of feed formula calculation can be reduced, and the accuracy of feed formula calculation results can be improved.

[0051] In some optional implementations, after obtaining the feed formula query result, it also includes: obtaining the adjustment needs of the breeder; establishing feed formula constraints based on the adjustment needs, and adjusting the feed formula query result based on the feed formula constraints.

[0052] In this embodiment, if the farmer is not satisfied with the feed formula query result, the farmer's adjustment demand can be obtained. For example, the farmer is not satisfied with the recommended nutrient requirement, and the adjustment demand proposed by the farmer is to increase the sodium content by 0.1. A feed formula constraint condition is established based on the increase of the sodium content by 0.1. The feed formula query result is adjusted based on the feed formula constraint condition. The obtained feed formula query result is shown in Table 2.

[0053] Table 2 Adjusted feed formula query results

[0054]

[0055]

[0056] In this way, the various nutrient indicators in the animal feed formula can be flexibly adjusted based on the needs of farmers.

[0057] In some optional embodiments, obtaining feed formula query results based on complete query information also includes: establishing a feed formula query database based on raw material types, nutrient types, animal types, nutrient content of raw materials, nutrient requirements of animals at different stages, aliases of raw materials, aliases of nutrients, aliases of animals and prices of raw materials; inputting the complete query information into the feed formula query database to obtain feed formula query results.

[0058] In this embodiment, information can be collected based on the type of raw materials, the type of nutrients, the type of animals, the nutrient content of the raw materials, the nutrient requirements of the animals at different stages, the aliases of the raw materials, the aliases of the nutrients, the aliases of the animals and the price of the raw materials; the collected information can be sorted and classified according to themes or categories; knowledge management software can be selected, and Wiki software or a database system or a special knowledge base software can be selected; an appropriate structure is established in the selected tool, including: directories, tags or keywords, etc., so that information can be quickly located and accessed; the collected information is filled into the knowledge base, and the accuracy and update of the information are ensured; the knowledge base is regularly maintained and updated to ensure that the information therein is kept up to date and accurate. In this way, by establishing a feed formula query database, the accuracy of the feed formula query results can be guaranteed.

[0059] In some optional implementations, before obtaining the farmer's feed formula query demand, the method further includes: obtaining the farmer's feed query information, the feed query information including: voice information or text information; inputting the feed query information into a large language model to obtain the farmer's feed formula query demand.

[0060] In this embodiment, a large language model (LLM) refers to a deep learning model trained with a large amount of text data, which can generate natural language text or understand the meaning of language text. The large language model can handle a variety of natural language tasks. The large language model uses a Transformer architecture and pre-training objectives similar to the small model. The difference from the small model is the increase in model size, training data, and computing resources. For farmers who use dialects, dialect training can also be added to the large language training model, so that both Mandarin language query information and dialect language query information can be understood, and the needs of farmers can be better understood.

[0061] It is somewhat complicated for farmers to query feed formulas based on text information. Based on the voice recognition function, farmers can query feed formulas through natural conversation, which greatly facilitates the query process and can further enhance the user experience.

[0062] In some optional embodiments, feed query information is input into a large language model to identify the feed formula query needs of farmers, including: inputting the feed query information into the large language model to obtain data in JSON format, calling a corresponding interface based on the intent returned by the large language model, and obtaining the feed formula query needs of farmers.

[0063] In this embodiment, the interface that needs to be called is determined based on the intention of the farmer obtained by the large language model. For example, the large language model returns the intention of the farmer to query the nutrient content of the target raw material, and calls the interface for querying the nutrient content of the raw material. The data accuracy of the large language model in the field of feed query is not high, and falsified data may occur. Directly using the large language model to output the recognition results may cause problems with the animals raised, leading to large-scale deaths. In this way, instead of directly relying on the general language model to provide data, the accuracy and reliability of the data source can be guaranteed based on the docking interface.

[0064] In some optional embodiments, when only partial query information can be obtained based on the farmer's feed formula query demand, supplementary questions are asked for the farmer's selection based on the partial query information until complete query information is obtained, wherein the partial query information includes: feed query keywords, including: question-and-answer interaction with the farmer based on the feed query keywords, and after determining the animal species and the stage of the animal, complete query information is obtained.

[0065] Figure 4 A schematic diagram of providing supplementary questions for farmers to choose from based on partial query information is shown. Figure 5 Another schematic diagram is shown of providing supplementary questions for farmers to choose based on partial query information. Figure 6A schematic diagram of a feed formula query result for a 5 kg piglet obtained by implementing the method for feed formula query is shown.

[0066] In this embodiment, when a farmer needs to obtain a feed formula, the feed query keyword is obtained as feed formula, and a question-and-answer interaction is performed with the farmer based on the feed formula. For example, the farmer is asked, "Hello, it seems that you are looking for an animal feed formula. What kind of animal do you need, and what growth stage of the animal is this formula used for? For example, you may need a feed formula for young pigs, or a feed formula for adult chickens. Please provide more information and I will do my best to help you query. If your needs are not related to feed formula, please tell me and I will tell you that we currently only support feed formula queries." After the farmer's answer to the animal species is supplemented, the stage of the animal is further determined. For example, if the farmer's supplementary question is "pigs Feed formula", and then ask further supplementary questions such as "Hello, you mentioned the pig feed formula. I understand that you may be looking for the pig breeding feed formula. In order to provide more accurate information, I need to know which growth stage of the pig this is for, such as piglets, growing and finishing pigs or sows. If you are inquiring about other content, please let me know and I will tell you that we currently mainly support feed formula query services", and further determine the stage of the animal. Based on the interaction with the farmer, the farmer's query demand is to query the feed formula for 5 kg piglets. The farmer's location can also be obtained. For example, if the farmer is in Beijing, the feed formula query results for 5 kg piglets in Beijing can be obtained, as well as the nutrient content of the current feed formula.

[0067] If the farmer believes that the feed formula query result does not meet the actual demand, he can adjust the nutrient requirement. The farmer's adjustment demand is "increase corn by 2", and the adjusted feed formula query result is shown in Table 3.

[0068] Table 3 Adjusted feed formula query results

[0069]

[0070]

[0071] Based on the above table, we can get the formula price in Beijing is 3428.93 yuan / ton.

[0072] Table 4 Nutrient content of feed query formula in Table 3

[0073]

[0074]

[0075] The method for feed formula query provided by the embodiment of the present invention not only provides Table 4, but also asks the farmer whether he needs to adjust the feed formula query result, and gives exemplary questions to guide the farmer, such as increasing or decreasing corn by 2%.

[0076] If the farmer himself has requirements for the feed formula, for example, the farmer has stored a lot of corn, the final output formula can be constrained according to the farmer's actual situation. In this way, some farmers have difficulties with complex operating procedures. Based on the question-and-answer interactive model, the farmer can quickly obtain the required feed formula by simply asking questions, which can significantly reduce the difficulty of operation and simplify the farmer's operation. The final calculation results can also be modified according to the farmer's specific situation.

[0077] In some optional embodiments, before inputting the feed query information into the large language model, it also includes: training the large language model based on agricultural related vocabulary. Agricultural related vocabulary can be obtained from the "Chinese Feed Composition and Nutritional Value Table (2023 34th Edition)" or "Animal Nutrition and Feed Science (2nd Edition)", which can improve the recognition effect of farmers' needs and ensure the accuracy of the extracted query keywords.

[0078] In this embodiment, a device for feed formula query is also provided, which is used to implement the above embodiments and preferred embodiments, and the descriptions that have been made will not be repeated. As used below, the term "module" can implement a combination of software and / or hardware for a predetermined function. Although the devices described in the following embodiments are preferably implemented in software, the implementation of hardware, or a combination of software and hardware, is also possible and conceivable.

[0079] This embodiment provides a device for querying feed formula. Figure 7 The schematic diagram of the structure of the device for querying feed formula is shown as follows: Figure 7 As shown, including:

[0080] The demand acquisition module 701 is used to obtain the feed formula query demand of farmers.

[0081] The query information determination module 702 is used to ask supplementary questions that can be selected by the farmer based on the partial query information when only partial query information can be obtained based on the farmer's feed formula query demand, until the complete query information is obtained, wherein the partial query information includes: feed query keywords or farmer's intentions.

[0082] The query result output module 703 is used to obtain the feed formula query result based on the complete query information.

[0083] In some optional implementations, the query result output module 703 includes:

[0084] The first output unit is used to determine the intention of the farmer based on the complete query information.

[0085] The second output unit is used to call the corresponding interface based on the intention of the farmer to obtain the feed formula query result; wherein the interface includes: the nutrient content interface of the raw materials, the nutrient requirement interface of the animals at each stage, the interface for adjusting the nutrient requirement of the animals, the interface for obtaining the feed formula and the interface for adjusting the feed formula.

[0086] In some optional implementations, the query result output module 703 further includes:

[0087] The third output unit is used to obtain the location of the breeder.

[0088] The fourth output unit is used to determine the nutritional content and price of the crops based on the region where the farmers are located.

[0089] The fifth output unit is used to obtain feed formula query results based on the nutritional content of the crops, the price of the crops and the complete query information.

[0090] In some optional embodiments, the device for feed formula query further includes: a demand adjustment module 704, which is used to obtain the adjustment demand of the farmer; based on the adjustment demand, establish feed formula constraints, and adjust the feed formula query result based on the feed formula constraints.

[0091] In some optional implementations, the query result output module 703 further includes:

[0092] The sixth output unit is used to establish a feed formula query database based on the raw material type, nutrient type, animal type, nutrient content of the raw material, nutrient requirement of the animal at each stage, alias of the raw material, alias of the nutrient, alias of the animal and price of the raw material; input the complete query information into the feed formula query database to obtain the feed formula query result.

[0093] In some optional embodiments, the device for querying feed formula further includes:

[0094] The demand recognition module is used to obtain the feed query information of the farmers, which includes: voice information or text information; the feed query information is input into the large language model to identify the feed formula query needs of the farmers.

[0095] In some optional implementations, the query information determination module 702 includes:

[0096] The query information determination unit is used to conduct question-and-answer interaction with the breeder based on the feed query keyword, and obtain complete query information after determining the animal species and the stage of the animal.

[0097] The further functional description of each of the above modules and units is the same as that of the above corresponding embodiments and will not be repeated here.

[0098] The device for feed formula query in this embodiment is presented in the form of a functional unit, where the unit refers to an application specific integrated circuit (ASIC) circuit, a processor and memory that executes one or more software or fixed programs, and / or other devices that can provide the above functions.

[0099] The device for feed formula query provided by the embodiment of the present invention, after obtaining partial query information, guides the farmer to supplement the query information by asking supplementary questions that the farmer can choose until the complete query information is obtained. In this way, the user's needs can be accurately understood, and a quick query of the feed formula can be achieved. The feed formula query result can be obtained without consulting a large number of professional books or hiring experts for guidance, thereby reducing the farmer's operating costs and time costs, and eliminating the need for manual calculations based on complex nutritional calculation formulas, thereby improving the query efficiency of the feed formula, thereby effectively promoting the intelligent process of the feed breeding industry.

[0100] The embodiment of the present invention also provides a computer device having the above Figure 7 The device shown is used for feed formula query.

[0101] See also Figure 8 , Figure 8 is a schematic diagram of the structure of a computer device provided by an optional embodiment of the present invention, such as Figure 8 As shown, the computer device includes: one or more processors 10, a memory 20, and interfaces for connecting various components, including high-speed interfaces and low-speed interfaces. Various components are connected to each other using different buses for communication, and can be installed on a common mainboard or installed in other ways as needed. The processor can process instructions executed in the computer device, including instructions stored in or on the memory to display graphical information of a graphical user interface on an external input / output device (such as a display device coupled to an interface). In some optional embodiments, if necessary, multiple processors and / or multiple buses can be used together with multiple memories and multiple memories. Similarly, multiple computer devices can be connected, and each device provides some necessary operations (for example, as a server array, a group of blade servers, or a multi-processor system). Figure 8 A processor 10 is taken as an example.

[0102] The processor 10 may be a central processing unit, a network processor or a combination thereof. The processor 10 may further include a hardware chip. The hardware chip may be a dedicated integrated circuit, a programmable logic device or a combination thereof. The programmable logic device may be a complex programmable logic device, a field programmable gate array, a general purpose array logic or any combination thereof.

[0103] The aforementioned memory 20 stores instructions executable by at least one processor 10, so that the aforementioned at least one processor 10 executes the method shown in the above embodiment.

[0104] The memory 20 may include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required for at least one function; the data storage area may store data created according to the use of the computer device, etc. In addition, the memory 20 may include a high-speed random access memory, and may also include a non-transient memory, such as at least one disk storage device, a flash memory device, or other non-transient solid-state storage device. In some optional embodiments, the memory 20 may optionally include a memory remotely arranged relative to the processor 10, and these remote memories may be connected to the computer device via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

[0105] The memory 20 may include a volatile memory, such as a random access memory; the memory may also include a non-volatile memory, such as a flash memory, a hard disk or a solid state drive; the memory 20 may also include a combination of the above types of memory.

[0106] The computer device also includes an input device 30 and an output device 40. The processor 10, the memory 20, the input device 30 and the output device 40 may be connected via a bus or other means. Figure 8 The example of connecting through bus is taken in the following.

[0107] The input device 30 can receive input digital or character information, and generate key signal input related to the user settings and function control of the computer device, such as a touch screen, a keypad, a mouse, a track pad, a touch pad, an indicator rod, one or more mouse buttons, a trackball, a joystick, etc. The output device 40 may include a display device, an auxiliary lighting device (such as a light emitting diode) and a tactile feedback device (such as a vibration motor), etc. The above-mentioned display device includes but is not limited to a liquid crystal display, a light emitting diode, a display and a plasma display. In some optional embodiments, the display device can be a touch screen.

[0108] The embodiment of the present invention also provides a computer-readable storage medium. The method according to the embodiment of the present invention can be implemented in hardware, firmware, or can be implemented as a computer code that can be recorded in a storage medium, or can be implemented as a computer code that is originally stored in a remote storage medium or a non-temporary machine-readable storage medium and will be stored in a local storage medium through a network download, so that the method described herein can be stored in such software processing on a storage medium using a general-purpose computer, a dedicated processor, or programmable or dedicated hardware. Among them, the storage medium can be a magnetic disk, an optical disk, a read-only storage memory, a random access memory, a flash memory, a hard disk or a solid-state hard disk, etc.; further, the storage medium can also include a combination of the above types of memories. It can be understood that a computer, a processor, a microprocessor controller, or programmable hardware includes a storage component that can store or receive software or computer code. When the software or computer code is accessed and executed by a computer, a processor, or hardware, the method shown in the above embodiment is implemented.

[0109] A part of the present invention may be applied as a computer program product, such as a computer program instruction, which, when executed by a computer, can call or provide the method and / or technical solution according to the present invention through the operation of the computer. Those skilled in the art should understand that the existence of the computer program instruction in a computer-readable medium includes, but is not limited to, a source file, an executable file, an installation package file, etc., and accordingly, the way in which the computer program instruction is executed by the computer includes, but is not limited to: the computer directly executes the instruction, or the computer compiles the instruction and then executes the corresponding compiled program, or the computer reads and executes the instruction, or the computer reads and installs the instruction and then executes the corresponding installed program. Here, the computer-readable medium may be any available computer-readable storage medium or communication medium accessible to the computer.

[0110] Although the embodiments of the present invention have been described in conjunction with the accompanying drawings, those skilled in the art may make various modifications and variations without departing from the spirit and scope of the present invention, and such modifications and variations are all within the scope defined by the appended claims.

Claims

1. A method for querying feed formula, It is characterized in that The method comprises: Obtain the feed formula query needs of farmers; In the case that only partial query information can be obtained based on the farmer's feed formula query demand, providing supplementary questions for the farmer to choose based on the partial query information until the complete query information is obtained, wherein the partial query information includes: feed query keywords or farmer's intentions; Based on the complete query information, a feed formula query result is obtained.

2. The method according to claim 1, It is characterized in that The feed formula query result is obtained based on the complete query information, including: Based on the complete query information, determine the intention of the farmer; Based on the intention of the farmer, the corresponding interface is called to obtain the feed formula query result; The interfaces include: an interface for the nutrient content of raw materials, an interface for the nutrient requirements of animals at different stages, an interface for adjusting the nutrient requirements of animals, an interface for obtaining feed formulas, and an interface for adjusting feed formulas.

3. The method according to claim 1 or 2, It is characterized in that The obtaining of the feed formula query result based on the complete query information further includes: Get the location of the farmer; Determine the nutritional content and price of crops based on the region where the farmers are located; The feed formula query result is obtained based on the nutritional content of the crops, the price of the crops and the complete query information.

4. The method according to claim 3, It is characterized in that After obtaining the feed formula query result, the method further includes: Obtaining adjustment needs of the farmers; Based on the adjustment requirements, feed formula constraints are established, and based on the feed formula constraints, the feed formula query results are adjusted.

5. The method according to claim 3, It is characterized in that The obtaining of the feed formula query result based on the complete query information further includes: Establishing a feed formula query database based on the type of raw materials, the type of nutrients, the type of animals, the nutrient content of the raw materials, the nutrient requirements of the animals at different stages, the aliases of the raw materials, the aliases of the nutrients, the aliases of the animals and the prices of the raw materials; The complete query information is input into the feed formula query database to obtain the feed formula query result.

6. The method according to claim 1, It is characterized in that Before obtaining the feed formula query demand of the farmer, it also includes: Acquire the feed query information of the farmer, wherein the feed query information includes: voice information or text information; The feed query information is input into a large language model to identify the feed formula query needs of the farmer.

7. The method according to claim 5, It is characterized in that In the case that only partial query information can be obtained based on the farmer's feed formula query demand, supplementary questions that can be selected by the farmer are asked based on the partial query information until complete query information is obtained, wherein the partial query information includes: feed query keywords, including: The complete query information is obtained by conducting question-and-answer interaction with the farmer based on the feed query keyword and determining the animal species and the stage the animal is in.

8. A device for querying feed formula, It is characterized in that The device comprises: Demand acquisition module, used to obtain farmers' feed formula query needs; A query information determination module, for, when only partial query information can be obtained based on the farmer's feed formula query demand, asking supplementary questions that can be selected by the farmer based on the partial query information until the complete query information is obtained, wherein the partial query information includes: feed query keywords or farmer's intentions; The query result output module is used to obtain the feed formula query result based on the complete query information.

9. A computer device, It is characterized in that include: A memory and a processor, wherein the memory and the processor are communicatively connected to each other, the memory stores computer instructions, and the processor executes the method for feed formula query according to any one of claims 1 to 7 by executing the computer instructions.

10. A computer-readable storage medium, It is characterized in that The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a computer to execute the method for feed formula query according to any one of claims 1 to 7.