An intelligent pig farm dialogue system and method based on long-term and short-term memory collaboration
Through the intelligent pig farm dialogue system with long-term and short-term memory collaboration, combined with long-term memory database and short-term memory, we can identify breeding problems in real time and generate solutions, which solves the problem of low inspection efficiency in large-scale pig breeding, and improves diagnostic accuracy and breeding The scientific nature of management.
Patent Information
- Application Number
- CN202410896356.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-05
- Publication Date
- 2024-09-24
- Estimated Expiration
- 2044-07-05
AI Technical Summary
In large-scale pig breeding, manual inspections are inefficient and prone to errors and missed inspections, which leads to worsening of the disease and affects breeding and safety.
The intelligent pig farm dialogue system with long-term and short-term memory collaboration is adopted to obtain and analyze the response requests of inspectors, combine long-term memory databases and short-term memory to identify breeding problems in real time, automatically generate solutions, reduce manpower burden and improve diagnostic efficiency.
It improves the efficiency and accuracy of problem diagnosis, reduces labor costs, promotes the scientific and systematic breeding management, optimizes breeding strategies, and improves breeding efficiency and safety.
Smart Images

Figure CN118446830B
Abstract
Description
Technical Field
[0001] The present application relates to the field of pig farming technology, and in particular to an intelligent pig farm dialogue system and method with long-term and short-term memory collaboration. Background Art
[0002] At present, the pig farming industry is gradually developing towards scale, standardization, industrialization and integration, and large-scale pig farming is constantly expanding its scale and improving production efficiency.
[0003] However, the expansion of the scale of breeding has also brought new problems and challenges. For example, large-scale pig breeding requires a lot of time for manual inspections, and during long inspections, manual inspections are likely to result in errors and omissions, which leads to inspection results that are inconsistent with the actual situation. If some pigs that may have a disease are missed or incorrectly inspected, it is likely to cause the disease to worsen and affect pig breeding. On this basis, if the disease is contagious, all pigs in the area may not be spared. Summary of the invention
[0004] The present application provides an intelligent pig farm dialogue system and method with long-term and short-term memory collaboration to solve the above-mentioned technical problems.
[0005] In a first aspect, the present application provides a long-term and short-term memory collaborative intelligent pig farm dialogue method, which is applied to a long-term and short-term memory collaborative intelligent pig farm dialogue device, the intelligent pig farm dialogue device includes an intercom and a server, the method is applied to the server, and the method includes:
[0006] Obtain and analyze the response requests from the inspectors, and determine the breeding problems based on the analysis results;
[0007] Determine the cause of the breeding problem based on the long-term memory database;
[0008] Analyze short-term memory, determine the pig farm situation, and obtain the intercom content of the intercom, and determine the actual situation of the pig farm at the current moment according to the intercom content and the pig farm situation;
[0009] Based on the actual situation of the pig farm and the causes of the problems, determine and demonstrate solutions to the breeding problems.
[0010] Through this solution, the response requests of the inspectors are obtained and analyzed, and the problems in the breeding process can be quickly and accurately identified, which improves the efficiency and accuracy of problem diagnosis. The long-term memory database contains a wealth of historical breeding data. Based on this data, the causes of breeding problems can be accurately analyzed, providing strong support for subsequent solutions. By analyzing short-term memory and obtaining the intercom content of the intercom, the latest developments of the pig farm can be grasped in real time, providing timely data support for decision-making. Through automated data analysis and solution generation, the workload of inspectors can be greatly reduced and labor costs can be reduced. At the same time, it can also improve decision-making efficiency and make breeding management more efficient. Decision-making based on data and facts helps promote the scientific and systematic management of breeding. Through long-term data accumulation and analysis, breeding strategies can be continuously optimized and breeding benefits can be improved.
[0011] Optionally, the analysis of short-term memory to determine the farm situation includes:
[0012] Analyzing the short-term memory, and determining historical inspection records based on the analysis results;
[0013] Determine the current farm size and farm environment based on the historical inspection records;
[0014] Analyze the current scale of the pig farm and determine the type of pigs in the pig farm;
[0015] The pig farm situation is determined based on the current pig farm scale, the pig farm environment, and the type of live pigs.
[0016] Through this solution, short-term memory can be analyzed to quickly obtain the latest dynamics and changes of the pig farm. At the same time, based on the analysis of historical inspection records, the accuracy and reliability of the data can be ensured, so that the obtained pig farm situation is more in line with the actual situation. It provides a data basis for the subsequent analysis of the corresponding solutions to the problems in the pig farm.
[0017] Optionally, the intercom includes a camera device, and the generation of the historical inspection record includes:
[0018] Acquire and analyze the captured content of the camera device, compare the analysis results with the inspection report uploaded by the inspection personnel, and determine whether there are any problems with the inspection;
[0019] If there are problems during the inspection, determine the details and causes of the problems based on the analysis results;
[0020] The details of the problem and the cause of the problem are reported by voice through the intercom, and feedback from the inspection personnel is received;
[0021] According to the problem feedback, the inspection report is adjusted to obtain a historical inspection record.
[0022] Through this solution, the content captured by the camera device can capture some details that may be overlooked by the inspectors, so as to timely discover potential problems or hidden dangers. The content captured by the camera device is analyzed, and then the analysis results are compared with the content in the inspection report to confirm whether the inspectors have missed inspections or made false inspections during the inspection process. When problems are found in the inspection, the details and causes of the problems can be accurately determined based on the analysis results of the camera device. This helps inspectors to quickly locate the problems and take appropriate measures to solve them. Adjusting the inspection report based on problem feedback can make the inspection report more in line with the actual situation, improve its accuracy and practicality, and help improve the quality and efficiency of the inspection work.
[0023] Optionally, the analysis of short-term memory to determine the farm situation includes:
[0024] Determine whether the current moment is in an inspection state according to the short-term memory;
[0025] If the current time is in the inspection state, obtain the inspection start time of the current inspection task;
[0026] Based on the short-term memory, determining whether there is a historical response request from the inspection start time to the current time;
[0027] If so, obtain the response feedback corresponding to the historical response request;
[0028] The pig farm situation is determined based on the response feedback, the current pig farm scale, the pig farm environment, and the type of live pigs.
[0029] Through this solution, based on the inspection start time, all relevant information from the start of the inspection to the current moment can be dynamically tracked and analyzed, making the assessment of the pig farm situation more detailed and accurate. Combining multiple factors such as response feedback, current farm size, farm environment, and pig type, a more comprehensive and accurate assessment of the farm situation can be given. This comprehensive assessment can reveal the overall operating status of the farm, possible risk points, and key points that need attention. Through automated and intelligent data collection and analysis processes, the workload of farmers can be reduced and inspection efficiency can be improved. At the same time, the possibility of human errors and omissions is reduced to ensure the accuracy and reliability of data.
[0030] Optionally, determining the actual situation of the pig farm at the current moment according to the intercom content and the pig farm situation includes:
[0031] Performing timbre recognition on the intercom content, and determining the number of audios according to the timbre recognition result;
[0032] Based on the number of audios, extract the content of the intercom according to the timbre to obtain relevant content corresponding to each timbre;
[0033] Analyze each voice and identify the originator of each relevant content;
[0034] Obtaining the inspection content of the initiator, and determining the inspection scope according to the inspection content;
[0035] According to the inspection scope, the relevant contents and the pig farm conditions, the actual situation of the pig farm at the current moment is determined.
[0036] Through this solution, the different tones in the intercom content can be accurately distinguished through the timbre recognition technology, and then the number of audios can be determined. This helps to accurately identify the number of people involved in the inspection, providing a basis for subsequent content extraction and determination of initiators. The determination of the inspection scope can also provide a basis for subsequent pig farm situation analysis, ensuring the accuracy and effectiveness of the analysis. After determining the inspection scope, in-depth analysis is conducted in combination with the existing pig farm situation and related content, so as to have a more comprehensive understanding of the actual operation status of the pig farm.
[0037] Optionally, comparing the analysis result with the inspection report uploaded by the inspection personnel to determine whether there are any problems with the inspection includes:
[0038] Extracting picture features of the photographed content to obtain pig features;
[0039] Acquire the shooting location of the shooting content; extract the inspection data in the inspection report according to the shooting location;
[0040] Comparing the pig characteristics with the pig characteristics in the inspection data to determine whether there is a problem;
[0041] According to the analysis results, the details and causes of the problem are determined, including:
[0042] If it is determined that there is a problem, the pig characteristics are screened to determine the pig characteristics with problems;
[0043] Determine the pig number according to the shooting location and the problematic pig characteristics;
[0044] According to the pig number, the long-term memory is retrieved to determine the growth record of the pig corresponding to the pig number;
[0045] Determining whether the problematic pig characteristics are normal development characteristics based on the growth records;
[0046] If it is determined that it is not a normal development characteristic, the details of the problem and the cause of the problem will be determined based on the characteristics of the pigs with problems.
[0047] Through this solution, the image features of the captured content are extracted to identify the specific characteristics of pigs. This method is more accurate and objective than traditional manual inspections. Since it is an instant analysis based on the captured content, possible problems with pigs can be discovered in a timely manner, thereby improving the real-time nature of problem handling. Combined with the shooting location information, it can be accurate to specific pigs or pig groups, and the corresponding inspection data can be further extracted to make the analysis more specific and in-depth. Through the pig number, it can be directly linked to the specific pig, and then the long-term memory can be retrieved to trace and analyze the problem more deeply. Based on the growth records of long-term memory, it can be determined whether the current pig characteristics are normal development characteristics, providing strong data support for problem judgment and cause analysis.
[0048] Optionally, the solution to the breeding problem is determined and presented based on the actual situation of the pig farm and the cause of the problem, including:
[0049] Determine the influencing factors of the problem in the pig farm based on the cause;
[0050] Based on the actual situation of the pig farm and the factors affecting the problem, determine the speed at which the problem spreads in the pig farm;
[0051] Determine and present solutions to the farming problem based on how quickly the problem spreads and what caused it.
[0052] Through this solution, we can deeply analyze the causes of the problem and accurately identify the factors affecting the problem, so as to develop more targeted solutions, avoid blind treatment, and improve the efficiency of problem solving. Based on the evaluation of the speed of problem propagation, we can predict the spread trend of the problem, take prevention and control measures in time, prevent the problem from expanding, and reduce economic losses. The entire solution is based on the actual situation of the pig farm, which can also avoid the risks brought by subjective assumptions and wrong decisions.
[0053] Optionally, the solution to the breeding problem is determined and presented based on the actual situation of the pig farm and the cause of the problem, including:
[0054] According to the pig farm conditions, determine the pig farm condition index after the last inspection;
[0055] According to the actual situation of the pig farm, determine the current pig farm condition index;
[0056] Subtract the current pig farm condition index from the pig farm condition index after the last inspection to determine the index difference between the current pig farm condition index and the pig farm condition index after the last inspection, and compare the index difference with a preset index threshold to obtain a comparison result;
[0057] If the index difference is greater than the preset index threshold, it is determined that there is a pig farm problem at the current moment;
[0058] Analyze the actual situation of the pig farm to determine whether the breeding problem exists in the pig farm problem;
[0059] If so, determine and present solutions to the farming problem based on the causes.
[0060] Through this solution, the current pig farm condition index is compared with the index after the last inspection, and the changes in the status of the pig farm can be monitored in real time. When the index difference exceeds the preset index threshold, it can be determined that there is a problem in the pig farm at the current moment, so as to further analyze whether there is a breeding problem that the inspectors actively initiate a response to, so that the actual situation of the pig farm can be analyzed quickly and accurately, reducing the misjudgment of the inspectors. At the same time, when it is determined that there is a problem, a targeted plan will be formulated according to the cause and the actual situation of the pig farm, so as to solve the problem more quickly and effectively, avoid further deterioration of the problem, and reduce economic losses.
[0061] Optionally, determining the pig farm condition index after the last inspection according to the pig farm condition includes:
[0062] ;
[0063] in, Indicates the farm condition index after the last inspection; Indicates the feedback information score of the response feedback; A quantitative value representing the current pig farm size; An environmental score representing the pig farm environment; A quantitative value representing the effect of the pig type on the pig farm condition after the last inspection; The weight representing the feedback information score; The weight representing the quantitative value of the current farm size; represents the weight of the environmental score of the pig farm environment; The weight representing the quantitative value of the impact of pig type on the farm status after the last inspection;
[0064] According to the actual situation of the pig farm, the pig farm condition index after inspection is determined, including:
[0065] ;
[0066] in, Indicates the current pig farm condition index; Indicates the farm condition index after the last inspection; A range score representing the inspection range; a content impact score representing the related content; represents the weight of the score of the range; Indicates the weight of the content impact score.
[0067] Through this solution, when calculating the pig farm condition index after the last inspection and the current pig farm condition index, the corresponding influencing factors are comprehensively considered, so that the calculation results are more in line with the actual situation, and the results calculated in this way can better reflect the changes in the pig farm.
[0068] In a second aspect, the present application provides a long- and short-term memory-coordinated intelligent pig farm dialogue system, which is applied to the method of the first aspect, including:
[0069] The problem determination module is used to obtain and analyze the response requests of the inspection personnel and determine the breeding problems based on the analysis results;
[0070] A cause analysis module, used to determine the cause of the breeding problem based on a long-term memory database;
[0071] A situation analysis module is used to analyze short-term memory, determine the pig farm situation, and obtain the intercom content of the intercom, and determine the actual situation of the pig farm at the current moment according to the intercom content and the pig farm situation;
[0072] The solution display module is used to determine and display the solution to the breeding problem based on the actual situation of the pig farm and the causes of the problem.
[0073] Optionally, the situation analysis module is specifically used to:
[0074] Analyzing the short-term memory, and determining historical inspection records based on the analysis results;
[0075] Determine the current farm size and farm environment based on the historical inspection records;
[0076] Analyze the current scale of the pig farm and determine the type of pigs in the pig farm;
[0077] The pig farm situation is determined based on the current pig farm scale, the pig farm environment, and the type of live pigs.
[0078] Optionally, the intercom includes a camera device, and the intelligent pig farm dialogue system also includes a history record generation module, including:
[0079] Acquire and analyze the captured content of the camera device, compare the analysis results with the inspection report uploaded by the inspection personnel, and determine whether there are any problems with the inspection;
[0080] If there are problems during the inspection, determine the details and causes of the problems based on the analysis results;
[0081] The details of the problem and the cause of the problem are reported by voice through the intercom, and feedback from the inspection personnel is received;
[0082] According to the problem feedback, the inspection report is adjusted to obtain a historical inspection record.
[0083] Optionally, the situation analysis module is specifically used to:
[0084] Determine whether the current moment is in an inspection state according to the short-term memory;
[0085] If the current time is in the inspection state, obtain the inspection start time of the current inspection task;
[0086] Based on the short-term memory, determining whether there is a historical response request from the inspection start time to the current time;
[0087] If so, obtain the response feedback corresponding to the historical response request;
[0088] The pig farm situation is determined based on the response feedback, the current pig farm scale, the pig farm environment, and the type of live pigs.
[0089] Optionally, the situation analysis module is specifically used to:
[0090] Performing timbre recognition on the intercom content, and determining the number of audios according to the timbre recognition result;
[0091] Based on the number of audios, extract the content of the intercom according to the timbre to obtain relevant content corresponding to each timbre;
[0092] Analyze each voice and identify the originator of each relevant content;
[0093] Obtaining the inspection content of the initiator, and determining the inspection scope according to the inspection content;
[0094] According to the inspection scope, the relevant contents and the pig farm conditions, the actual situation of the pig farm at the current moment is determined.
[0095] Optionally, the history record generating module is specifically used to:
[0096] Extracting picture features of the photographed content to obtain pig features;
[0097] Acquire the shooting location of the shooting content; extract the inspection data in the inspection report according to the shooting location;
[0098] Comparing the pig characteristics with the pig characteristics in the inspection data to determine whether there is a problem;
[0099] According to the analysis results, the details and causes of the problem are determined, including:
[0100] If it is determined that there is a problem, the pig characteristics are screened to determine the pig characteristics with problems;
[0101] Determine the pig number according to the shooting location and the problematic pig characteristics;
[0102] According to the pig number, the long-term memory is retrieved to determine the growth record of the pig corresponding to the pig number;
[0103] Determining whether the problematic pig characteristics are normal development characteristics based on the growth records;
[0104] If it is determined that it is not a normal development characteristic, the details of the problem and the cause of the problem will be determined based on the characteristics of the pigs with problems.
[0105] Optionally, the solution display module is specifically used to:
[0106] Determine the influencing factors of the problem in the pig farm based on the cause;
[0107] Based on the actual situation of the pig farm and the factors affecting the problem, determine the speed at which the problem spreads in the pig farm;
[0108] Determine and present solutions to the farming problem based on how quickly the problem spreads and what caused it.
[0109] Optionally, the solution display module is specifically used to:
[0110] According to the pig farm conditions, determine the pig farm condition index after the last inspection;
[0111] According to the actual situation of the pig farm, determine the current pig farm condition index;
[0112] Subtract the current pig farm condition index from the pig farm condition index after the last inspection to determine the index difference between the current pig farm condition index and the pig farm condition index after the last inspection, and compare the index difference with a preset index threshold to obtain a comparison result;
[0113] If the index difference is greater than the preset index threshold, it is determined that there is a pig farm problem at the current moment;
[0114] Analyze the actual situation of the pig farm to determine whether the breeding problem exists in the pig farm problem;
[0115] If so, determine and present solutions to the farming problem based on the causes.
[0116] Optionally, the solution display module is specifically used to:
[0117] ;
[0118] in, Indicates the farm condition index after the last inspection; Indicates the feedback information score of the response feedback; A quantitative value representing the current pig farm size; An environmental score representing the pig farm environment; A quantitative value representing the effect of the pig type on the pig farm condition after the last inspection; The weight representing the feedback information score; The weight representing the quantitative value of the current farm size; represents the weight of the environmental score of the pig farm environment; The weight representing the quantitative value of the impact of pig type on the farm status after the last inspection;
[0119] According to the actual situation of the pig farm, the pig farm condition index after inspection is determined, including:
[0120] ;
[0121] in, Indicates the current pig farm condition index; Indicates the farm condition index after the last inspection; A range score representing the inspection range; a content impact score representing the related content; represents the weight of the score of the range; Indicates the weight of the content impact score. BRIEF DESCRIPTION OF THE DRAWINGS
[0122] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, a brief introduction will be given below to the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.
[0123] Figure 1 A schematic diagram of an application scenario provided for an embodiment of the present application;
[0124] Figure 2 A flowchart of a long-short-term memory collaborative intelligent pig farm dialogue method provided in one embodiment of the present application;
[0125] Figure 3A structural diagram of an intelligent pig farm dialogue system with long- and short-term memory collaboration provided in one embodiment of the present application. DETAILED DESCRIPTION
[0126] In order to make the purpose, technical scheme and advantages of the embodiments of the present application clearer, the technical scheme in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0127] In addition, the term "and / or" in this article is only a description of the association relationship of associated objects, indicating that there can be three relationships. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. In addition, the character " / " in this article, unless otherwise specified, generally means that the associated objects before and after are in an "or" relationship.
[0128] The embodiments of the present application are further described in detail below in conjunction with the drawings in the specification.
[0129] The expansion of the scale of breeding has also brought new problems and challenges. For example, large-scale pig breeding requires a lot of time for manual inspections, and during long inspections, manual inspections are likely to result in errors and omissions, which leads to inspection results that are inconsistent with the actual situation. If some pigs that may have a disease are missed or incorrectly inspected, it is likely to cause the disease to worsen and affect pig breeding. On this basis, if the disease is contagious, all pigs in the area may not be spared.
[0130] Based on this, the present application provides an intelligent pig farm dialogue system and method with long-term and short-term memory collaboration. By using a long-term memory database, historical data in the breeding process can be traced back to accurately determine the causes of breeding problems, which helps to fundamentally solve the problem and prevent the problem from recurring. By analyzing short-term memory and obtaining the intercom content of the intercom, the actual situation of the pig farm can be understood in real time. Combined with the actual situation of the pig farm and the causes, solutions to breeding problems can be determined and displayed, making the solutions more targeted and personalized, which helps to improve breeding efficiency and quality. Through automated data analysis and solution display, the workload of inspection personnel can be reduced, labor costs can be reduced, and breeding benefits can be improved. By promptly solving breeding problems and proposing preventive measures, it is helpful to reduce resource waste and environmental pollution in the breeding process and enhance the sustainability of breeding. Promote the standardization and normalization of the breeding process and improve the scientificity and systematicness of breeding.
[0131] Figure 1A schematic diagram of an application scenario provided for this application. When facing certain breeding problems during pig farming, you can participate in the solution provided by this application, and the solution of this application can be installed in any server. A display can be placed in a specific area of the pig farm, which can be used by inspectors to input questions and view answers to questions. Outside the room where the solution of this application is used to answer breeding questions, inspectors in the corresponding breeding areas can be required to be equipped with walkie-talkies. If the inspector inputs certain questions and wants to use this application to obtain answers, the questions he asks can be used as a response request, the input response request can be analyzed, the breeding problem can be determined, and the long-term memory database can be used to determine the cause, and then the short-term memory and the intercom content in the intercom can be used to determine the actual situation of the current home field, so as to obtain a solution based on the actual situation of the pig farm and the cause. Making the solution more targeted and personalized helps to improve breeding efficiency and quality. By promptly solving breeding problems and proposing preventive measures, it helps to reduce resource waste and environmental pollution in the breeding process and enhance the sustainability of breeding.
[0132] For specific implementation methods, please refer to the following embodiments.
[0133] Figure 2 This is a flow chart of a long-term and short-term memory collaborative intelligent pig farm dialogue method provided in an embodiment of the present application. The method of this embodiment can be applied to the server in the above scenario. Figure 2 As shown, the method includes:
[0134] S201. Obtain and analyze the response request of the inspection personnel, and determine the breeding problem based on the analysis result.
[0135] The inspection personnel can be considered as the breeding staff of the corresponding pig farm, or they can be people who have not yet started breeding but are interested in breeding pigs. Most of these people have the solution of this application installed in the server through certain channels.
[0136] The response request can be considered as a request for answers to some pig farming knowledge or questions entered by the above-mentioned inspectors through text. This response request may include the information of the inspectors who asked the questions and the farming questions raised.
[0137] Specifically, after obtaining the response request from the inspection personnel, the response request is analyzed. For example, the content in the response request is identified and classified to determine which information is personnel information and which is breeding information. After the classification is clear, problems are extracted from the breeding information to determine what the breeding problems of the inspection personnel are.
[0138] S202. Determine the cause of the breeding problem based on the long-term memory database.
[0139] The long-term memory database can be considered as a database that can store pig farming knowledge, several possible farming problems and their corresponding answers. The above content can be collected through various channels, such as pig farming knowledge in existing literature, research reports from professional farming experts, etc.
[0140] The cause can be considered as the cause of certain breeding problems, which may be external environmental reasons, reasons of inspection personnel, or reasons of the quality of the pigs themselves.
[0141] Specifically, after the breeding problem is determined through the above steps, keywords can be extracted for the breeding problem to achieve faster search. At this time, the extracted keywords are input into the long-term memory database for search, and the answer with the highest match to the breeding problem is determined based on the search results. It can be used as the answer to the above breeding problem, and the cause of the breeding problem can be analyzed from the answer to the problem.
[0142] S203, analyzing short-term memory, determining the pig farm situation, and obtaining the intercom content of the intercom, and determining the actual situation of the pig farm at the current moment according to the intercom content and the pig farm situation.
[0143] When the above-mentioned inspectors use the solution provided by this application to consult on breeding issues, all the information generated and some inspection records that the inspectors may bring during the breeding process can be stored in a preset database to form a short-term memory. These short-term memories can be considered as answers to some unique questions in this breeding area and inspection records corresponding to this breeding area, which are targeted to a certain extent.
[0144] In the specific implementation method, short-term memory may gradually evolve into long-term memory over time. Most of the contents that can be converted into memory can be considered as questions that many inspectors will ask. When these contents reach a certain number, they can be considered as common problems in the pig farming industry. Therefore, these problems are updated to the long-term memory database.
[0145] Walkie-talkies can be considered as a communication tool for inspectors during inspections. Since the breeding area is large, it is time-consuming and labor-intensive to have only one person conduct the inspection, so multiple people may be used for the inspection. In order to synchronize progress and communicate in a timely manner, each inspector can be equipped with a walkie-talkie, and the intercom content generated by the walkie-talkie will be transmitted to the server for storage.
[0146] Specifically, since the corresponding inspection records can be stored in the short-term memory, the situation of the pig farm can be determined by analyzing the inspection records in the short-term memory, such as the scale of the pig farm, the number of pigs raised in the pig farm, the type of pigs raised, etc. When the inspectors ask questions in the area where the display is located, it can be considered that the inspectors have found some problems when conducting inspections or checking the status of pigs. At this time, the status of the intercom can be first judged to determine whether the intercom is running. If it is running, it can be considered that the inspectors are conducting inspections or checking the status of pigs. At this time, the start time of the intercom can be obtained, thereby obtaining the intercom content from the start time to the current moment, and the actual situation of the pig farm at the current moment can be determined through the intercom content and the above-mentioned determined pig farm situation.
[0147] S204. Determine and demonstrate solutions to breeding problems based on the actual situation of the pig farm and the causes of the problems.
[0148] Specifically, after determining the cause of the breeding problem through the above steps, in order to make the solution to this problem more in line with the current situation of the pig farm, a solution to this breeding problem is given in combination with the actual situation of the pig farm and the cause of the problem, so that the inspection personnel can take measures directly according to the solution, instead of replacing the scene in these solutions and determining how their own pig farm should operate.
[0149] By acquiring and analyzing the response requests of the inspectors through the solution provided in this application, problems existing in the breeding process can be quickly and accurately identified, thereby improving the efficiency and accuracy of problem diagnosis. The long-term memory database contains a wealth of historical breeding data. Based on these data, the causes of breeding problems can be accurately analyzed, providing strong support for subsequent solutions. By analyzing short-term memory and acquiring the intercom content of the intercom, the latest developments of the pig farm can be grasped in real time, providing timely data support for decision-making. Through automated data analysis and solution generation, the workload of inspectors can be greatly reduced and labor costs can be reduced. At the same time, it can also improve decision-making efficiency and make breeding management more efficient. Making decisions based on data and facts will help promote the scientific and systematic management of breeding. Through long-term data accumulation and analysis, breeding strategies can be continuously optimized and breeding benefits can be improved.
[0150] In some embodiments, short-term memory is analyzed, and historical inspection records are determined based on the analysis results; the current pig farm scale and environment are determined based on the historical inspection records; the current pig farm scale is analyzed to determine the type of pigs in the farm; the pig farm situation is determined based on the current pig farm scale, farm environment, and pig types.
[0151] The historical inspection records may be considered as the inspection records generated by the above-mentioned inspection personnel when conducting inspections during historical periods, which may include inspection reports generated during the inspection process, problems that may be encountered during the inspection process, and solutions.
[0152] The current size of the pig farm can be considered to be obtained through the previous inspection report and other contents, which can reflect the size of the pig farm before this inspection, the number of pigs, the type of pig farming, etc. The pig farm environment can be obtained through equipment such as temperature and humidity sensors set in the pig farm area.
[0153] Analyze the current farm scale and extract the type of pigs in the farm from the current farm scale, that is, the above-mentioned pig breeding type. Then, combine the current farm scale, farm environment, and pig type to determine the farm situation.
[0154] Through the solution provided in this embodiment, short-term memory is analyzed to quickly obtain the latest dynamics and changes of the pig farm. At the same time, based on the analysis of historical inspection records, the accuracy and reliability of the data can be ensured, so that the obtained pig farm situation is more in line with the actual situation. It provides a data basis for the subsequent analysis of the corresponding solutions to the problems in the pig farm.
[0155] In some embodiments, the captured content of the camera device is obtained and analyzed, and the analysis results are compared with the inspection report uploaded by the inspection personnel to determine whether there are any problems with the inspection; if there are any problems with the inspection, the details and causes of the problems are determined based on the analysis results; the details and causes of the problems are voice broadcasted through an intercom, and feedback from the inspection personnel is received; based on the feedback, the inspection report is adjusted to obtain historical inspection records.
[0156] In order to obtain the situation of the pig farm more conveniently and accurately, a camera device can be installed on the walkie-talkie.
[0157] When the inspectors enter the pig farm area for inspection, they are required to turn on the intercom. At this time, the camera device is turned on by default. During the inspection process, the camera device continuously obtains and uploads the shooting content. After uploading, these shooting contents are analyzed to determine the situation of the pig farm in the picture, and then these corresponding analysis results, that is, the situation of the pig farm in the picture, are compared with the inspection report uploaded by the inspectors to determine whether there are any omitted pig farm conditions in this inspection report, or report content that does not match the analysis results of the shooting content. If so, it can be considered that there is a problem with this inspection. At this time, the cause of the inspection problem and the corresponding problem details can be determined based on the analysis results of the shooting content. At the same time, the intercom can be used for voice broadcasting, so that the inspectors can conduct a more detailed inspection again, so as to obtain the corresponding problem feedback, adjust the inspection report, and obtain historical inspection records.
[0158] For example, after analyzing the filmed content, it is determined that a certain pig has a wound on its body, but due to the inspection personnel's carelessness or the pig's position problem, it was not checked at the time, but was captured by the filming content. At this time, the wound on the pig's body can be used as a problem detail, and the lack of careful inspection can be used as the cause of the problem through a voice broadcast via the intercom, so that the inspection personnel can return for a more detailed inspection. After the inspection is completed, the inspection personnel will actively upload the inspection results as feedback on this problem, thereby realizing the adjustment of the uploaded inspection report and obtaining a complete and accurate historical inspection record.
[0159] Through the solution provided by this embodiment, the content captured by the camera device can capture some details that may be overlooked by the inspection personnel, so as to timely discover potential problems or hidden dangers. The content captured by the camera device is analyzed, and then the analysis results are compared with the content in the inspection report to determine whether the inspection personnel have missed inspections or made false inspections during the inspection process. When problems are found in the inspection, the details and causes of the problems can be accurately determined based on the analysis results of the camera device. This helps the inspection personnel to quickly locate the problem and take appropriate measures to solve it. Adjusting the inspection report based on problem feedback can make the inspection report more in line with the actual situation, improve its accuracy and practicality, and help improve the quality and efficiency of the inspection work.
[0160] In some embodiments, based on short-term memory, determine whether the current moment is in an inspection state; if the current moment is in an inspection state, obtain the inspection start time of the current inspection task; based on short-term memory, determine whether there is a historical response request from the inspection start time to the current moment; if so, obtain the response feedback corresponding to the historical response request; determine the pig farm situation based on the response feedback, current pig farm scale, pig farm environment, and pig type.
[0161] The historical response requests can be considered as the response requests issued after the inspection starts until the current time, and have been replied or processed during this period.
[0162] Response feedback can be considered as processing or replying to historical response requests.
[0163] If the inspection personnel start the inspection, the corresponding intercom content uploaded by the intercom and the shooting content uploaded by the camera can be stored as a short-term memory. If there is new intercom content or shooting content update at the current moment, it can be considered that the current moment is in the inspection state, that is, the inspection personnel are conducting inspections.
[0164] According to the above embodiment, the intercom is activated when the inspection starts. Since the conversation between the inspectors does not occur all the time, the inspection start time of the current inspection task can be determined by the time when the camera device uploads the captured content.
[0165] At this time, based on short-term memory, determine whether the inspectors have asked questions during the inspection, that is, have initiated historical response requests. If so, it can be considered that there is a problem in this pig farm area, but it has been discovered by the inspectors. At this time, the situation of the pig farm may change, and after the consultation, the inspectors may directly deal with it according to the response feedback given. Therefore, it is possible to first determine whether the response feedback has been produced. At this time, the situation of the pig farm can be determined based on the response feedback, the current scale of the pig farm, the pig farm environment, and the type of live pigs.
[0166] Through the solution provided by this embodiment, based on the inspection start time, all relevant information from the start of the inspection to the current moment can be dynamically tracked and analyzed, making the assessment of the pig farm situation more detailed and accurate. Combining multiple factors such as response feedback, current pig farm scale, pig farm environment and pig type, a more comprehensive and accurate assessment of the pig farm situation can be given. This comprehensive assessment can reveal the overall operating status of the pig farm, possible risk points and key points that need attention. Through automated and intelligent data collection and analysis processes, the workload of farmers can be reduced and inspection efficiency can be improved. At the same time, the possibility of human errors and omissions is reduced to ensure the accuracy and reliability of the data.
[0167] In some embodiments, timbre recognition is performed on the intercom content, and the number of audios is determined based on the timbre recognition results; based on the number of audios, content extraction is performed on the intercom content according to the timbre to obtain relevant content corresponding to each timbre; each timbre is analyzed to determine the initiator of each relevant content; the inspection content of the initiator is obtained, and the inspection scope is determined based on the inspection content; the actual situation of the pig farm at the current moment is determined based on the inspection scope, relevant content and pig farm conditions.
[0168] If the pig farm is large, in order to improve the efficiency of the inspection, more than one inspector may be sent to the pig farm area for inspection. According to the above embodiment, the inspectors will be equipped with a walkie-talkie, and it will be turned on at the beginning of the inspection. Therefore, during the inspection process, there may be a situation where multiple inspectors are talking to each other at the same time.
[0169] Therefore, it is necessary to identify the timbre of the intercom content and determine the number of different voices in the intercom content, so as to determine the number of audios. Based on the number of audios, the intercom content is extracted using the characteristics of the timbre. Among them, the extraction can be achieved by using filtering methods, Fourier transform and other methods. After extraction, the relevant content corresponding to each timbre is obtained, that is, the content that each inspector wants to convey. This relevant content may be related to the pig farm, or it may be other conversations between inspectors.
[0170] Then the above timbre is analyzed respectively, for example, the timbre is matched with the intercom content in the historical inspection process to determine which inspector the timbre belongs to, so as to obtain the inspection content of the inspector, which may include the inspection range, inspection object, inspection time, etc. The corresponding inspection range is extracted from it, because the content related to the pig farm transmitted by the inspector through the intercom content generally only belongs to the inspection range, so the actual situation of the pig farm that best meets the actual situation at the current moment can be obtained by corresponding to the inspection range of each inspector, the relevant content transmitted by the inspector and the above-mentioned determined pig farm situation.
[0171] Through the solution provided by this embodiment, the different tones in the intercom content can be accurately distinguished through the timbre recognition technology, and then the number of audios can be determined. It helps to accurately identify the number of people involved in the inspection, and provides a basis for subsequent content extraction and determination of initiators. The determination of the inspection scope can also provide a basis for subsequent pig farm situation analysis to ensure the accuracy and effectiveness of the analysis. After determining the inspection scope, in-depth analysis is conducted in combination with the existing pig farm situation and related content, so as to have a more comprehensive understanding of the actual operation of the pig farm.
[0172] In some embodiments, the image features of the shot content are extracted to obtain the pig features; the shooting location of the shot content is obtained; based on the shooting location, the inspection data in the inspection report is extracted; the pig features are compared with the pig features in the inspection data to determine whether there is a problem; if it is determined that there is a problem, the pig features are screened to determine the problematic pig features; the pig number is determined based on the shooting location and the problematic pig features; based on the pig number, the long-term memory is retrieved to determine the growth record of the pig corresponding to the pig number; based on the growth record, it is determined whether the problematic pig features are normal development features; if it is determined that they are not normal development features, the details and causes of the problem are determined based on the problematic pig features.
[0173] Pig features can be considered as vector features of pigs, which can be used to characterize the condition of the pig's trunk.
[0174] Inspection data can be considered as the content presented in the inspection report, which may include numbers or some text descriptions.
[0175] The shooting position can be considered as the position of the inspector during the inspection process.
[0176] Pig numbers can be considered as marks given to pigs. Due to the large scale of pig farms and the large number of pigs, it may be difficult to identify them without marking. Therefore, numbers are used to distinguish pigs. This mark can be placed in a more conspicuous position on the pig's torso, such as the back.
[0177] Normal development characteristics can be considered as characteristics that are relatively abnormal compared to usual performance, which pigs may face due to rapid development during the entire growth cycle. These characteristics that are relatively abnormal compared to usual performance are actually only present during the growth or development process and are actually normal.
[0178] Specifically, when judging whether the above analysis results have problems compared with the inspection report of the inspection personnel, the picture features of the above shooting content can be extracted first, and the corresponding pig features can be extracted therefrom, and then the inspection data of the shooting location can be extracted from the inspection report in combination with the shooting location of the pig features. Among them, the text content and digital content of the above inspection data are analyzed to determine the features exhibited by the pigs at the shooting location, which are converted into vector features and compared with the above extracted pig features to determine whether there are differences. If there are differences, it can be considered that there is a problem.
[0179] If a problem is determined, all pig features can be extracted to identify the problematic pig features, and then the pig ID of the problematic pig can be determined based on the shooting location and the problematic pig features. The pig ear growth record is then retrieved from long-term memory to analyze whether the problem is a normal development feature that the pig will face at the current growth stage.
[0180] If the problematic pig characteristic is not a normal development characteristic, the problem details and the cause of the problem can be determined from long-term memory based on the problematic pig characteristic.
[0181] Through the solution provided by this embodiment, the image features of the captured content are extracted to identify the specific features of the pigs. This method is more accurate and objective than traditional manual inspections. Since it is an instant analysis based on the captured content, possible problems with the pigs can be discovered in a timely manner, thereby improving the real-time nature of problem handling. Combined with the shooting location information, it can be accurate to the specific pig or pig herd, and the corresponding inspection data can be further extracted to make the analysis more specific and in-depth. Through the pig number, it can be directly associated with the specific pig, and then the long-term memory can be retrieved to trace and analyze the problem more deeply. Based on the growth records of long-term memory, it can be determined whether the current pig characteristics are normal development characteristics, providing strong data support for problem judgment and cause analysis.
[0182] In some embodiments, the influencing factors of the pig farm problems are determined according to the causes of the problems; based on the actual situation of the pig farm, the propagation speed of the problems in the pig farm is determined according to the influencing factors of the problems; based on the propagation speed of the problems and the causes of the problems, the solutions to the breeding problems are determined and displayed.
[0183] Problem influencing factors can be considered as factors that cause the above-mentioned pig farm problems, such as environmental factors, human factors, etc.
[0184] The speed of problem propagation can be considered as the speed of the impact of the problem on the pig farm, such as the speed of the spread of swine fever throughout the entire pig farm. In a specific implementation, if the above problem is a problem that already exists or has occurred in the pig farming process, there should be a corresponding record in the long-term memory database. At this time, the long-term memory database can be retrieved to determine the speed of the spread of the above problem.
[0185] Specifically, we analyze the factors that affect the problem in the pig farm by analyzing the causes, and then determine how fast the problem will spread in the pig farm based on the actual situation of the pig farm. Then, we determine the solution for the current breeding area based on the speed of problem spread and the causes.
[0186] Through the solution provided in this embodiment, the cause of the problem is deeply analyzed, and the influencing factors of the problem can be accurately identified, so as to formulate more targeted solutions, avoid blind treatment, and improve the efficiency of problem solving. Based on the evaluation of the speed of problem propagation, the diffusion trend of the problem can be predicted, and prevention and control measures can be taken in time to prevent the problem from expanding and reduce economic losses. The entire solution is based on the actual situation of the pig farm, which can also avoid the risks brought by subjective assumptions and wrong decisions.
[0187] In some embodiments, according to the pig farm situation, the pig farm condition index after the last inspection is determined; according to the actual situation of the pig farm, the current pig farm condition index is determined; the current pig farm condition index is subtracted from the pig farm condition index after the last inspection to determine the index difference between the current pig farm condition index and the pig farm condition index after the last inspection, and the index difference is compared with a preset index threshold to obtain a comparison result; if the index difference is greater than the preset index threshold, it is determined that there is a pig farm problem at the current moment; the actual situation of the pig farm is analyzed to determine whether there is a breeding problem in the pig farm problem; if so, the solution to the breeding problem is determined and displayed based on the cause.
[0188] The pig farm condition index after the last inspection can be considered as the comprehensive pig farm condition index obtained from the most recent inspection at the current moment, which can be obtained through the above-mentioned response feedback, the current pig farm scale, pig farm environment, and pig type.
[0189] The current pig farm condition index can be considered as the comprehensive status index of the pig farm obtained by the inspection at the current moment, and can be obtained by the comprehensive status index of the pig farm obtained by the inspection closest to the current moment, the inspection scope, and related contents.
[0190] The preset index threshold can be considered as a value used to indicate whether there is a large difference between the current pig farm status and the pig farm status obtained from the most recent inspection at the current time. If it exceeds this value, it can be considered that the difference between the two is large. If it is less than this value, it can be considered that there is not much change between the two.
[0191] Specifically, according to the above-mentioned pig farm conditions, the pig farm condition index after the last inspection is calculated, and then according to the actual situation of the pig farm, the current pig farm condition index is calculated, and then the difference between the two is made, and the obtained index difference is compared with the preset index threshold. If the index difference is greater than the preset index threshold, it can be considered that there may be a large change in this pig farm area, so that there is a large gap between the current pig farm condition and the pig farm condition of the last inspection. At this time, it can be considered that there is a pig farm problem. Further analysis is carried out from the possible pig farm problems to determine whether there is a breeding problem. If so, the solution to the breeding problem is determined and displayed based on the above-mentioned causes.
[0192] If there are no breeding problems, after confirming that there are problems in the pig farm, the problems in the pig farm can be analyzed, the causes of the problems in the pig farm can be determined from the long-term memory database, and the corresponding solutions can be obtained based on the actual situation of the pig farm and presented to the inspection personnel. Or voice broadcast can be made through the intercom.
[0193] Through the scheme provided by this embodiment, by comparing the current pig farm status index with the index after the last inspection, the change of the pig farm status can be monitored in real time. When the index difference exceeds the preset index threshold, it can be determined that there is a problem in the pig farm at the current moment, so as to further analyze whether there is a breeding problem that the inspectors actively initiate a response to, so that the actual situation of the pig farm can be analyzed quickly and accurately, reducing the misjudgment of the inspectors. At the same time, when it is determined that there is a problem, a targeted plan will be formulated according to the cause and the actual situation of the pig farm, so as to solve the problem more quickly and effectively, avoid further deterioration of the problem, and reduce economic losses.
[0194] In some embodiments, according to the pig farm conditions, determining the pig farm condition index after the last inspection includes:
[0195] (1)
[0196] in, It indicates the farm condition index after the last inspection; Indicates the score of the amount of feedback information of the response feedback; A quantitative value representing the current size of the pig farm; Indicates the environmental score of the pig farm environment; It represents the quantitative value of the effect of pig type on the farm status after the last inspection; The weight representing the feedback information score; The weight representing the quantitative value of the current farm size; represents the weight of the environmental score of the pig farm environment; The weight representing the quantitative value of the impact of pig type on the farm status after the last inspection;
[0197] According to the actual situation of the pig farm, determine the pig farm condition index after inspection, including:
[0198] (2)
[0199] in, Indicates the current farm condition index; It indicates the farm condition index after the last inspection; The range score indicating the inspection range; A content impact score indicating the relevant content; represents the weight of the range score; Indicates the weight of the content impact score.
[0200] Among them, when calculating the pig farm condition index after the last inspection, the inspection report can be analyzed to determine the above parameters involved. For example, according to the inspection, a comprehensive scoring system can be set, assuming that a scoring system of 1 to 10 is used, 10 indicates serious problems and 1 indicates no problems. The feedback information is analyzed through the above comprehensive scoring system to obtain a feedback information volume score. For example: If multiple disease cases and abnormal behaviors are recorded in the inspection report, the score may be 8.
[0201] In addition, the farm sizes mentioned above can be standardized based on the number of pigs. A range can be set, for example: Small scale (1-100 pigs): score 2. Medium scale (101-500 pigs): score 5. Large scale (more than 501 pigs): score 8.
[0202] The pig farm environment may include the above-mentioned temperature, humidity, and air quality, etc. A comprehensive score may be calculated through sensor data, ranging from 1 to 10. For example, if the environmental conditions are good through sensor monitoring, the score is 3.
[0203] After determining the above data, the weights of the above parameters can be determined through data regression analysis algorithm, so as to calculate the pig farm condition index after the last inspection.
[0204] The calculation of the pig farm condition index after inspection can also refer to the above method, but the parameters that need to be considered and the calculation method may be different.
[0205] After obtaining the above current farm condition index and the farm condition index after the last inspection, the following formula can be used to calculate the difference between the current farm condition and the farm condition after the last inspection. For details, refer to the following formula (3):
[0206] (3)
[0207] in, represents the index difference; It indicates the farm condition index after the last inspection; represents the former farm condition index;
[0208] like =0, indicating that there is no change between the current farm status and the farm status after the last inspection.
[0209] Through the solution provided in this embodiment, when calculating the pig farm condition index after the last inspection and the current pig farm condition index, the corresponding influencing factors are comprehensively considered, so that the calculation results are more in line with the actual situation, and the results calculated in this way can better reflect the changes in the pig farm.
[0210] Figure 3 A schematic diagram of the structure of a long-short-term memory collaborative intelligent pig farm dialogue system provided in an embodiment of the present application is shown in FIG. Figure 3 As shown, the long-short-term memory coordinated intelligent pig farm dialogue system 300 of this embodiment includes:
[0211] The problem determination module 301 is used to obtain and analyze the response request of the inspection personnel, and determine the breeding problem according to the analysis result;
[0212] Cause analysis module 302, used to determine the cause of the breeding problem based on the long-term memory database;
[0213] The situation analysis module 303 is used to analyze the short-term memory, determine the pig farm situation, and obtain the intercom content of the intercom, and determine the actual situation of the pig farm at the current moment according to the intercom content and the pig farm situation;
[0214] The solution display module 304 is used to determine and display the solution to the breeding problem based on the actual situation of the pig farm and the cause of the problem.
[0215] Optionally, the situation analysis module 303 is specifically used to:
[0216] Analyze the short-term memory, and determine the historical inspection records based on the analysis results; determine the current pig farm scale and pig farm environment based on the historical inspection records; analyze the current pig farm scale to determine the type of pigs in the pig farm; determine the pig farm situation based on the current pig farm scale, the pig farm environment, and the type of pigs.
[0217] Optionally, the intercom includes a camera device, and the smart pig farm dialogue system 300 also includes a history record generation module 305, including:
[0218] Acquire and analyze the captured content of the camera device, compare the analysis result with the inspection report uploaded by the inspection personnel, and determine whether there are any problems with the inspection; if there are any problems with the inspection, determine the details and causes of the problems based on the analysis result; broadcast the details and causes of the problems through a walkie-talkie, and receive feedback from the inspection personnel; adjust the inspection report based on the feedback to obtain historical inspection records.
[0219] Optionally, the situation analysis module 303 is specifically used to:
[0220] According to the short-term memory, determine whether the current moment is in the inspection state; if the current moment is in the inspection state, obtain the inspection start time of the current inspection task; based on the short-term memory, determine whether there is a historical response request from the inspection start time to the current moment; if so, obtain the response feedback corresponding to the historical response request; determine the pig farm situation according to the response feedback, the current pig farm scale, the pig farm environment, and the pig type.
[0221] Optionally, the situation analysis module 303 is specifically used to:
[0222] Perform timbre recognition on the intercom content, and determine the number of audios based on the timbre recognition result; based on the number of audios, extract the content of the intercom according to the timbre to obtain relevant content corresponding to each timbre; analyze each timbre to determine the initiator of each relevant content; obtain the inspection content of the initiator, and determine the inspection scope based on the inspection content; determine the actual situation of the pig farm at the current moment based on the inspection scope, the relevant content and the pig farm situation.
[0223] Optionally, the history record generating module 305 is specifically used for:
[0224] Extract the image features of the shot content to obtain pig features; obtain the shooting location of the shot content; extract the inspection data in the inspection report according to the shooting location; compare the pig features with the pig features in the inspection data to determine whether there is a problem; determine the details of the problem and the cause of the problem based on the analysis result, including: if it is determined that there is a problem, screen the pig features to determine the problematic pig features; determine the pig number according to the shooting location and the problematic pig features; retrieve the long-term memory according to the pig number to determine the growth record of the pig corresponding to the pig number; determine whether the problematic pig features are normal development features according to the growth record; if it is determined that they are not normal development features, determine the details of the problem and the cause of the problem according to the problematic pig features.
[0225] Optionally, the solution display module 304 is specifically used to:
[0226] According to the causes, determine the influencing factors of the pig farm problems; based on the actual situation of the pig farm and according to the influencing factors of the problems, determine the propagation speed of the problems in the pig farm; according to the propagation speed of the problems and the causes, determine and display the solutions to the breeding problems.
[0227] Optionally, the solution display module 304 is specifically used to:
[0228] According to the pig farm situation, determine the pig farm condition index after the last inspection; according to the actual situation of the pig farm, determine the current pig farm condition index; subtract the current pig farm condition index from the pig farm condition index after the last inspection to determine the index difference between the current pig farm condition index and the pig farm condition index after the last inspection, and compare the index difference with the preset index threshold to obtain a comparison result; if the index difference is greater than the preset index threshold, it is determined that there is a pig farm problem at the current moment; analyze the actual situation of the pig farm to determine whether the breeding problem exists in the pig farm problem; if so, determine and display the solution to the breeding problem based on the cause.
[0229] Optionally, the solution display module 304 is specifically used to:
[0230] ;
[0231] in, Indicates the farm condition index after the last inspection; Indicates the feedback information score of the response feedback; A quantitative value representing the current pig farm size; An environmental score representing the pig farm environment; A quantitative value representing the effect of the pig type on the pig farm condition after the last inspection; The weight representing the feedback information score; The weight representing the quantitative value of the current farm size; represents the weight of the environmental score of the pig farm environment; The weight representing the quantitative value of the impact of pig type on the farm status after the last inspection;
[0232] According to the actual situation of the pig farm, the pig farm condition index after inspection is determined, including:
[0233] ;
[0234] in, Indicates the current pig farm condition index; Indicates the farm condition index after the last inspection; A range score representing the inspection range; a content impact score representing the related content; represents the weight of the score of the range; Indicates the weight of the content impact score.
[0235] The system of this embodiment can be used to execute the method of any of the above embodiments. The implementation principles and technical effects are similar and will not be described in detail here.
Claims
1. A long-term and short-term memory collaborative intelligent pig farm dialogue method, characterized in that: The invention is applied to an intelligent pig farm dialogue device with long-term and short-term memory collaboration, wherein the intelligent pig farm dialogue device comprises an intercom and a server, and the method is applied to the server, and the method comprises: Obtain and analyze the response requests from the inspectors, and determine the breeding problems based on the analysis results; Determine the cause of the breeding problem based on the long-term memory database; Analyze short-term memory, determine the pig farm situation, and obtain the intercom content of the intercom, and determine the actual situation of the pig farm at the current moment according to the intercom content and the pig farm situation; Determine and demonstrate solutions to the breeding problems based on the actual situation of the pig farm and the causes of the problems; The analysis of short-term memory determines the farm situation, including: Analyzing the short-term memory, and determining historical inspection records based on the analysis results; Determine the current farm size and farm environment based on the historical inspection records; Analyze the current scale of the pig farm and determine the type of pigs in the pig farm; Determine the pig farm situation according to the current pig farm scale, the pig farm environment, and the type of live pigs; The intercom includes a camera device, and the generation of the historical inspection record includes: Acquire and analyze the captured content of the camera device, compare the analysis results with the inspection report uploaded by the inspection personnel, and determine whether there are any problems with the inspection; If there are problems during the inspection, determine the details and causes of the problems based on the analysis results; The details of the problem and the cause of the problem are reported by voice through the intercom, and feedback from the inspection personnel is received; According to the feedback of the problem, the inspection report is adjusted to obtain the historical inspection record; The analysis results are compared with the inspection report uploaded by the inspector to determine whether there are any problems with the inspection, including: Extracting picture features of the photographed content to obtain pig features; Acquire the shooting location of the shooting content; extract the inspection data in the inspection report according to the shooting location; Comparing the pig characteristics with the pig characteristics in the inspection data to determine whether there is a problem; According to the analysis results, the details and causes of the problem are determined, including: If it is determined that there is a problem, the pig characteristics are screened to determine the pig characteristics with problems; Determine the pig number according to the shooting location and the problematic pig characteristics; According to the pig number, the long-term memory is retrieved to determine the growth record of the pig corresponding to the pig number; Determining whether the problematic pig characteristics are normal development characteristics based on the growth records; If it is determined that it is not a normal development characteristic, the details of the problem and the cause of the problem will be determined based on the characteristics of the pigs with problems.
2. The method according to claim 1, characterized in that The analysis of short-term memory determines the farm situation, including: Determine whether the current moment is in an inspection state according to the short-term memory; If the current time is in the inspection state, obtain the inspection start time of the current inspection task; Based on the short-term memory, determining whether there is a historical response request from the inspection start time to the current time; If so, obtain the response feedback corresponding to the historical response request; The pig farm situation is determined based on the response feedback, the current pig farm scale, the pig farm environment, and the type of live pigs.
3. The method according to claim 2, characterized in that Determining the actual situation of the pig farm at the current moment according to the intercom content and the pig farm situation includes: Performing timbre recognition on the intercom content, and determining the number of audios according to the timbre recognition result; Based on the number of audios, extract the content of the intercom according to the timbre to obtain relevant content corresponding to each timbre; Analyze each voice and identify the originator of each relevant content; Obtaining the inspection content of the initiator, and determining the inspection scope according to the inspection content; According to the inspection scope, the relevant contents and the pig farm conditions, the actual situation of the pig farm at the current moment is determined.
4. The method according to claim 3, characterized in that According to the actual situation of the pig farm and the causes of the problems, the solutions to the breeding problems are determined and presented, including: Determine the influencing factors of the problem in the pig farm based on the cause; Based on the actual situation of the pig farm and the factors affecting the problem, determine the speed at which the problem spreads in the pig farm; Determine and present solutions to the farming problem based on how quickly the problem spreads and what caused it.
5. The method according to claim 3, characterized in that: According to the actual situation of the pig farm and the causes of the problems, the solutions to the breeding problems are determined and presented, including: According to the pig farm conditions, determine the pig farm condition index after the last inspection; According to the actual situation of the pig farm, determine the current pig farm condition index; Subtract the current pig farm condition index from the pig farm condition index after the last inspection to determine the index difference between the current pig farm condition index and the pig farm condition index after the last inspection, and compare the index difference with a preset index threshold to obtain a comparison result; If the index difference is greater than the preset index threshold, it is determined that there is a pig farm problem at the current moment; Analyze the actual situation of the pig farm to determine whether the breeding problem exists in the pig farm problem; If so, determine and present solutions to the farming problems based on the causes; Determining the pig farm condition index after the last inspection based on the pig farm condition includes: ; in, represents the farm condition index after the last inspection; Indicates the feedback information score of the response feedback; A quantitative value representing the current pig farm size; An environmental score representing the pig farm environment; A quantitative value representing the effect of the pig type on the pig farm condition after the last inspection; The weight representing the feedback information score; The weight representing the quantitative value of the current farm size; represents the weight of the environmental score of the pig farm environment; The weight representing the quantitative value of the impact of pig type on the farm status after the last inspection; According to the actual situation of the pig farm, the pig farm condition index after inspection is determined, including: ; in, Indicates the current pig farm condition index; represents the farm condition index after the last inspection; A range score representing the inspection range; a content impact score representing the related content; represents the weight of the score of the range; Indicates the weight of the content impact score.
6. An intelligent pig farm dialogue system with long-term and short-term memory collaboration, characterized in that: The method as claimed in any one of claims 1 to 5 comprises: The problem determination module is used to obtain and analyze the response requests of the inspection personnel and determine the breeding problems based on the analysis results; A cause analysis module, used to determine the cause of the breeding problem based on a long-term memory database; A situation analysis module is used to analyze short-term memory, determine the pig farm situation, and obtain the intercom content of the intercom, and determine the actual situation of the pig farm at the current moment according to the intercom content and the pig farm situation; A solution display module is used to determine and display solutions to the breeding problems based on the actual situation of the pig farm and the causes of the problems; The situation analysis module is specifically used for: Analyzing the short-term memory, and determining historical inspection records based on the analysis results; Determine the current farm size and farm environment based on the historical inspection records; Analyze the current scale of the pig farm and determine the type of pigs in the pig farm; The pig farm situation is determined based on the current pig farm scale, the pig farm environment, and the type of live pigs.
