Intelligent pig behavior abnormality monitoring method and system

Through real-time collection and comprehensive analysis of the pig's heart rate, body temperature, running height and cadence, swing amplitude and frequency, and calculation of movement abnormal values, it solves the problem of insufficient detection accuracy in the existing technology and achieves a more comprehensive and timely Abnormal behavior monitoring improves the production efficiency of farms.

CN118536047BActive Publication Date: 2024-10-01MIANYANG ZIXING FOOD TECH CO LTD

Patent Information

Application Number
CN202410995081.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-07-24
Publication Date
2024-10-01
Estimated Expiration
2044-07-24

AI Technical Summary

Technical Problem

When monitoring abnormal pig behavior, the existing technology fails to comprehensively consider heart rate, body temperature, running height and cadence, swing amplitude and swing frequency, resulting in insufficient detection accuracy.

Method used

Real-time collection of the pig's heart rate, body temperature, running height and cadence, swing amplitude and swing frequency, calculates the standard swing amplitude and frequency through the standard swing coefficient calculation model, and imports these indicators into the movement abnormality calculation strategy to calculate movement abnormal values Compare with preset thresholds to determine abnormalities.

Benefits of technology

By integrating multiple physiological and behavioral indicators, the accuracy of abnormal behavior detection is improved, and the overall health status of pigs can be more comprehensively reflected, abnormal situations can be detected and dealt with in a timely manner, and the production efficiency of the farm can be improved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118536047B_ABST
    Figure CN118536047B_ABST
Patent Text Reader

Abstract

The invention discloses an intelligent pig behavior abnormality monitoring method and system, and belongs to the technical field of electronic digital data processing. The invention collects the heart rate and body temperature, the height and step frequency, the swing amplitude and the swing frequency of the pig when running in real time; introduces the real-time collected height and step frequency of the pig when running into a pig standard swing coefficient calculation model to calculate the standard swing amplitude and standard swing frequency of the pig's legs when running; introduces the heart rate, body temperature, swing amplitude and swing frequency, the standard swing amplitude and the standard swing frequency into a pig movement abnormality calculation strategy to calculate the pig movement abnormality value; compares the calculated pig movement abnormality value with a preset pig movement abnormality threshold, and treats the pig with abnormal behavior according to the comparison result. The invention can more comprehensively reflect the overall health status of the pig by collecting multiple physiological and behavioral indicators in real time, and improves the accuracy of abnormal behavior detection.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention belongs to the technical field of electronic digital data processing, and in particular to an intelligent pig behavior abnormality monitoring method and system. Background Art

[0002] Pig farming is an important industry in my country's agriculture and plays an important role in ensuring the safe supply of meat food. Effective farming management strategies, such as optimizing feed management, preventing disease infection, and managing the growth environment, are the key to improving farming efficiency.

[0003] Many existing technologies for monitoring abnormal pig behavior judge the abnormal situation of pigs by comparing the acceleration change of pigs with a threshold value, but lack the ability to comprehensively judge the abnormal behavior of pigs by combining the heart rate and body temperature of pigs, height and step frequency when running, swing amplitude and swing. For example, a Chinese patent with authorization announcement number CN113285966B discloses an intelligent pig behavior abnormality monitoring method and system, which relates to an intelligent pig behavior abnormality monitoring method and system. The intelligent pig behavior abnormality monitoring method comprises: obtaining the instantaneous acceleration of the pig; calculating the instantaneous acceleration change according to the instantaneous acceleration; calculating the sampling characteristic value according to the instantaneous acceleration and the instantaneous acceleration change; calculating the threshold according to historical data; drawing a box plot according to the sampling characteristic value and the threshold; judging whether the sampling characteristic value exceeds the threshold according to the box plot; if not, re-obtaining the instantaneous acceleration of the pig, and returning to calculate the instantaneous acceleration change according to the instantaneous acceleration; if so, sending an alarm signal to the breeder. By comparing the sampled characteristic value with the threshold, it is determined whether the behavior of the pig is normal or abnormal. After the abnormal behavior is detected, an alarm signal is issued, which enables the breeder to detect abnormal behavior of the pig in time and improves the safety of breeding.

[0004] In order to solve the above problems, the present invention proposes an intelligent pig behavior abnormality monitoring method and system. Summary of the invention

[0005] In view of the deficiencies in the prior art, the present invention proposes an intelligent pig behavior abnormality monitoring method and system. The present invention collects the heart rate and body temperature, height and step frequency, swing amplitude and swing frequency of the pig when running in real time; the height and step frequency of the pig when running collected in real time are introduced into the pig standard swing coefficient calculation model to calculate the standard swing amplitude and standard swing frequency of the pig's legs when running; the heart rate, body temperature, swing amplitude and swing frequency, standard swing amplitude and standard swing frequency are introduced into the pig movement abnormality calculation strategy to calculate the pig movement abnormality value; the calculated pig movement abnormality value is compared with the preset pig movement abnormality threshold, and the pig with abnormal behavior is treated according to the comparison result. The present invention can more comprehensively reflect the overall health status of the pig by collecting multiple physiological and behavioral indicators in real time, and improves the accuracy of abnormal behavior detection.

[0006] To achieve the above object, the present invention provides the following technical solutions:

[0007] A method for monitoring abnormal behavior of intelligent pigs, comprising the following specific steps:

[0008] Step 1: Real-time collection of the pig's heart rate and body temperature, real-time collection of the pig's running height and step frequency, real-time collection of the pig's leg swing amplitude and swing frequency;

[0009] Step 2: Import the real-time collected height and step frequency of the pig when running into the standard swing coefficient calculation model of the pig to calculate the standard swing amplitude and standard swing frequency of the pig's legs when running;

[0010] Step 3: Import the real-time collected heart rate, body temperature, the real-time collected swing amplitude and swing frequency of the pig's legs when running, and the calculated standard swing amplitude and standard swing frequency into the pig movement abnormality calculation strategy to calculate the pig movement abnormality value;

[0011] Step 4: Compare the calculated pig movement abnormality value with the preset pig movement abnormality threshold, and treat the pigs with abnormal behavior according to the comparison result.

[0012] Specifically, the step 1 includes the following specific steps:

[0013] S11, collecting the heart rate of the pig in real time through a heart rate sensor, collecting the body temperature of the pig in real time through a body temperature sensor, collecting the height and step frequency of the pig when running in real time through a sensor, and collecting the swing amplitude and swing frequency of the pig's legs when running in real time through an acceleration sensor;

[0014] S12, storing the real-time collected heart rate, body temperature, height and step frequency of the pig when running, and the swing amplitude and swing frequency of the pig's legs when running in an information storage module.

[0015] Specifically, the step 2 includes the following specific steps:

[0016] S21, obtaining the height and step frequency of the pig when running collected in real time;

[0017] S22, obtaining the height, step frequency, leg swing amplitude and swing frequency of the pig during historical running and dividing them into 85% parameter training set and 15% parameter test set, inputting 85% parameter training set into the pig standard swing coefficient calculation model for training to obtain the initial pig standard swing coefficient calculation model, inputting 15% parameter test set into the initial pig standard swing coefficient calculation model for testing, and outputting the optimal pig standard swing coefficient calculation model that meets the preset pig standard swing coefficient threshold;

[0018] S23. In the optimal pig standard swing coefficient calculation model, the output strategy formula of the specific neuron of the pig standard swing coefficient calculation model is: ;

[0019] in, The first layer The output of the neuron, The first Layer of neurons and layer The connection weights of the neurons, The first Layer of neurons The output, The first Layer of neurons and layer The linear relationship between the term neurons is biased, The standard swing frequency in the standard swing coefficient calculation model for pigs layer The output of the neuron, The standard swing frequency in the standard swing coefficient calculation model for pigs Layer of neurons and layer The connection weights of the neurons, The standard swing frequency in the standard swing coefficient calculation model for pigs Layer of neurons The output, The standard swing frequency in the standard swing coefficient calculation model for pigs Layer of neurons and layer The linear relationship between the term neurons is biased, and is the Sigmoid activation function;

[0020] S24, importing the height and step frequency of the pig when running into the standard swing coefficient calculation model of the pig to calculate the standard swing amplitude and standard swing frequency of the pig's legs when running, and storing the standard swing amplitude and standard swing frequency in the standard coefficient storage module.

[0021] Specifically, the step three includes the following specific steps:

[0022] S31, obtaining the real-time collected heart rate, body temperature, and the real-time collected swing amplitude and swing frequency of the legs of the pig when running, and obtaining the calculated standard swing amplitude and standard swing frequency;

[0023] S32, importing the heart rate, body temperature, swing amplitude and swing frequency, standard swing amplitude and standard swing frequency into the pig movement abnormality calculation strategy to calculate the pig movement abnormality value;

[0024] Specifically, S32 includes the following specific steps:

[0025] S321. Substitute the swing amplitude of the legs of the pigs when they are running during the monitoring period and the standard swing amplitude of the legs of the pigs when they are running into the swing amplitude abnormality coefficient calculation formula to calculate the swing amplitude abnormality coefficient, wherein the swing amplitude abnormality coefficient calculation formula is: ;

[0026] in, For the The swing amplitude of the pig's legs when running during the monitoring period, To obtain the standard swing amplitude of the pig's legs when running, The monitoring period for pigs;

[0027] S322, substituting the swing frequency of the legs of the pigs when they are running during the monitoring period and the standard swing frequency of the legs of the pigs when they are running into the swing frequency abnormality coefficient calculation formula to calculate the swing frequency abnormality coefficient, the swing frequency abnormality coefficient calculation formula is: ;

[0028] in, For the The leg swing frequency of pigs when running during the monitoring period, The standard swing frequency of the pig's legs when running is obtained;

[0029] S323, substituting the heart rate of the pigs in the monitoring period into the calculation formula of the abnormal heart rate coefficient to calculate the abnormal heart rate coefficient, the abnormal heart rate coefficient calculation formula is: ;

[0030] in, For the The heart rate of the pigs during the monitoring period, It is the preset median heart rate of pigs during exercise;

[0031] S324, substituting the body temperature of the pigs during the monitoring period into the body temperature abnormality coefficient calculation formula to calculate the body temperature abnormality coefficient, the body temperature abnormality coefficient calculation formula is: ;

[0032] in, For the The body temperature of pigs during the monitoring period, It is the preset median body temperature of pigs during exercise;

[0033] S33, the pig movement abnormality calculation strategy includes a pig movement abnormality value calculation formula, and the pig movement abnormality value calculation formula is: ;

[0034] in, is the swing amplitude ratio, is the swing frequency ratio, , is the power of e;

[0035] S34. Store the calculated pig movement abnormal values ​​in an abnormal value storage module.

[0036] Specifically, the step 4 includes the following specific steps:

[0037] The calculated pig movement abnormality value is compared with the preset pig movement abnormality threshold. If the pig movement abnormality value is less than the preset pig movement abnormality threshold, the pig movement is judged to be normal. If the pig movement abnormality value is greater than or equal to the preset pig movement abnormality threshold, the pig movement is judged to be abnormal and the pigs with abnormal behavior are treated.

[0038] Specifically, , The method for obtaining the preset threshold value of abnormal pig movement is as follows: 1,000 pigs are selected, including 800 healthy pigs and 200 abnormal pigs, and the standard swing amplitude and standard swing frequency data of the legs of healthy pigs when running are obtained. 5,000 pieces of collected heart rate, body temperature, swing amplitude and swing frequency data of the legs of pigs when running are obtained, and the pig data are imported into the pig movement abnormal value calculation formula to calculate the pig movement abnormal value. 100 pig farming experts are invited to screen out abnormal pigs from these 1,000 pigs, and the calculated pig movement abnormal values ​​and expert screening results are imported into the fitting software, and the highest judgment accuracy is compared and output. , and the preset value of abnormal pig movement threshold.

[0039] An intelligent pig behavior abnormality monitoring system, which is implemented based on the above-mentioned intelligent pig behavior abnormality monitoring method, includes a data acquisition module, a data storage module, a standard swing coefficient calculation module, a motion abnormality calculation module, an abnormality comparison module and a control module;

[0040] Specifically, the data acquisition module is used to collect the heart rate and body temperature of the pig in real time, collect the height and step frequency of the pig when running, and collect the swing amplitude and swing frequency of the pig's legs when running in real time. The data storage module is used to store the real-time collected heart rate and body temperature of the pig, the height and step frequency of the pig when running, the swing amplitude and swing frequency of the pig's legs when running, the calculated standard swing amplitude and standard swing frequency, and pig movement abnormalities. The standard swing coefficient calculation module is used to import the real-time collected height and step frequency of the pig when running into the pig standard swing coefficient calculation model to calculate the standard swing amplitude and standard swing frequency of the pig's legs when running.

[0041] Specifically, the motion abnormality calculation module is used to import the real-time collected heart rate, body temperature, the real-time swing amplitude and swing frequency of the pig's legs when running, and the calculated standard swing amplitude and standard swing frequency into the pig motion abnormality calculation strategy to calculate the pig motion abnormality value; the abnormality comparison module is used to compare the calculated pig motion abnormality value with the preset pig motion abnormality threshold, and treat the pigs with abnormal behavior according to the comparison result; the control module is used to control the operation of the data acquisition module, the data storage module, the standard swing coefficient calculation module, the motion abnormality calculation module and the abnormality comparison module.

[0042] Compared with the prior art, the present invention collects the heart rate and body temperature, the height and step frequency, the swing amplitude and the swing frequency of the pig in real time when running; imports the height and step frequency of the pig when running collected in real time into the standard swing coefficient calculation model of the pig to calculate the standard swing amplitude and the standard swing frequency of the pig's legs when running; imports the heart rate, body temperature, swing amplitude and swing frequency, the standard swing amplitude and the standard swing frequency into the pig movement abnormality calculation strategy to calculate the pig movement abnormality value; compares the calculated pig movement abnormality value with the preset pig movement abnormality threshold, and treats the pig with abnormal behavior according to the comparison result;

[0043] The beneficial effects of the present invention are:

[0044] 1. By collecting multiple physiological and behavioral indicators in real time, the movement status of pigs can be comprehensively evaluated. Compared with single indicator monitoring, it can more comprehensively reflect the overall health status of pigs.

[0045] 2. Real-time data collection ensures the timeliness of monitoring. Once the pigs show abnormal movement, the problem can be discovered and measures can be taken in time to avoid the deterioration of health problems and improve the production efficiency of the farm.

[0046] 3. The accuracy of abnormal behavior detection is improved by combining physiological indicators (heart rate and body temperature) and behavioral indicators (altitude, cadence, swing amplitude and frequency). BRIEF DESCRIPTION OF THE DRAWINGS

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

[0048] Figure 1 This is a schematic diagram of a process flow of a method for monitoring abnormal behavior of intelligent pigs according to the present invention;

[0049] Figure 2 This is a flow chart of step 3 in a method for monitoring abnormal behavior of intelligent pigs according to the present invention;

[0050] Figure 3 This is a schematic diagram of the overall framework of an intelligent pig abnormal behavior monitoring system of the present invention. DETAILED DESCRIPTION

[0051] The technical solutions 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 only part of the embodiments of the present invention, rather than all the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present invention.

[0052] Example 1

[0053] See also Figure 1 The present invention provides an embodiment: a method for monitoring abnormal behavior of intelligent pigs, which comprises the following specific steps:

[0054] Step 1: Real-time collection of the pig's heart rate and body temperature, real-time collection of the pig's running height and step frequency, real-time collection of the pig's leg swing amplitude and swing frequency;

[0055] In this embodiment, step one includes the following specific steps:

[0056] S11, collecting the heart rate of the pig in real time through a heart rate sensor, collecting the body temperature of the pig in real time through a body temperature sensor, collecting the height and step frequency of the pig when running in real time through a sensor, and collecting the swing amplitude and swing frequency of the pig's legs when running in real time through an acceleration sensor;

[0057] S12, storing the real-time collected heart rate, body temperature, height and step frequency of the pig when running, and the swing amplitude and swing frequency of the pig's legs when running in an information storage module.

[0058] It should be noted here that the heart rate sensor is fixed on the pig's ear or tail, the body temperature sensor is fixed on the pig's abdomen or behind the ear, and the acceleration sensor is fixed on the pig's leg. By using the above sensors to monitor the health status of live pigs in real time, signs of disease can be detected as early as possible, the spread of disease can be reduced, and it is helpful to implement precise treatment, improve treatment effects, reduce mortality caused by disease, and reduce economic losses.

[0059] Step 2: Import the real-time collected height and step frequency of the pig when running into the standard swing coefficient calculation model of the pig to calculate the standard swing amplitude and standard swing frequency of the pig's legs when running;

[0060] In this embodiment, step 2 includes the following specific steps:

[0061] S21, obtaining the height and step frequency of the pig when running collected in real time;

[0062] S22, obtaining the height, step frequency, leg swing amplitude and swing frequency of the pig during historical running and dividing them into 85% parameter training set and 15% parameter test set, inputting 85% parameter training set into the pig standard swing coefficient calculation model for training to obtain the initial pig standard swing coefficient calculation model, inputting 15% parameter test set into the initial pig standard swing coefficient calculation model for testing, and outputting the optimal pig standard swing coefficient calculation model that meets the preset pig standard swing coefficient threshold;

[0063] S23. In the optimal pig standard swing coefficient calculation model, the output strategy formula of the specific neuron of the pig standard swing coefficient calculation model is: ;

[0064] in, The first layer The output of the neuron, The first Layer of neurons and layer The connection weights of the neurons, The first Layer of neurons The output, The first Layer of neurons and layer The linear relationship between the term neurons is biased, The standard swing frequency in the standard swing coefficient calculation model for pigs layer The output of the neuron, The standard swing frequency in the standard swing coefficient calculation model for pigs Layer of neurons and layer The connection weights of the neurons, The standard swing frequency in the standard swing coefficient calculation model for pigs Layer of neurons The output, The standard swing frequency in the standard swing coefficient calculation model for pigs Layer of neurons and layer The linear relationship between the term neurons is biased, and is the Sigmoid activation function;

[0065] S24, importing the height and step frequency of the pig when running into the standard swing coefficient calculation model of the pig to calculate the standard swing amplitude and standard swing frequency of the pig's legs when running, and storing the standard swing amplitude and standard swing frequency in the standard coefficient storage module.

[0066] It should be noted here that by obtaining historical data of healthy pigs to build a standard swing coefficient calculation model for pigs, and importing the standard swing coefficient calculation model for pigs through real-time data collection, the standard swing amplitude and standard swing frequency of the pig's legs when running can be accurately obtained, which helps to understand the pig's athletic performance and health status. Early detection of abnormal swinging behavior may help to timely discover and prevent health problems of pigs.

[0067] Step 3: Import the real-time collected heart rate, body temperature, the real-time collected swing amplitude and swing frequency of the pig's legs when running, and the calculated standard swing amplitude and standard swing frequency into the pig movement abnormality calculation strategy to calculate the pig movement abnormality value;

[0068] See also Figure 2 In this embodiment, step three includes the following specific steps:

[0069] S31, obtaining the real-time collected heart rate, body temperature, and the real-time collected swing amplitude and swing frequency of the legs of the pig when running, and obtaining the calculated standard swing amplitude and standard swing frequency;

[0070] S32, importing the heart rate, body temperature, swing amplitude and swing frequency, standard swing amplitude and standard swing frequency into the pig movement abnormality calculation strategy to calculate the pig movement abnormality value;

[0071] In this embodiment, S32 includes the following specific steps:

[0072] S321. Substitute the swing amplitude of the legs of the pigs when they are running during the monitoring period and the standard swing amplitude of the legs of the pigs when they are running into the swing amplitude abnormality coefficient calculation formula to calculate the swing amplitude abnormality coefficient, wherein the swing amplitude abnormality coefficient calculation formula is: ;

[0073] in, For the The swing amplitude of the pig's legs when running during the monitoring period, To obtain the standard swing amplitude of the pig's legs when running, The monitoring period for pigs;

[0074] S322, substituting the swing frequency of the legs of the pigs when they are running during the monitoring period and the standard swing frequency of the legs of the pigs when they are running into the swing frequency abnormality coefficient calculation formula to calculate the swing frequency abnormality coefficient, the swing frequency abnormality coefficient calculation formula is: ;

[0075] in, For the The leg swing frequency of pigs when running during the monitoring period, The standard swing frequency of the pig's legs when running is obtained;

[0076] S323, substituting the heart rate of the pigs in the monitoring period into the calculation formula of the abnormal heart rate coefficient to calculate the abnormal heart rate coefficient, the abnormal heart rate coefficient calculation formula is: ;

[0077] in, For the The heart rate of the pigs during the monitoring period, It is the preset median heart rate of pigs during exercise;

[0078] S324, substituting the body temperature of the pigs during the monitoring period into the body temperature abnormality coefficient calculation formula to calculate the body temperature abnormality coefficient, the body temperature abnormality coefficient calculation formula is: ;

[0079] in, For the The body temperature of pigs during the monitoring period, It is the preset median body temperature of pigs during exercise;

[0080] S33, the pig movement abnormality calculation strategy includes a pig movement abnormality value calculation formula, and the pig movement abnormality value calculation formula is: ;

[0081] in, is the swing amplitude ratio, is the swing frequency ratio, , is the power of e;

[0082] S34. Store the calculated pig movement abnormal values ​​in an abnormal value storage module.

[0083] It should be noted here that the normal range of heart rate and body temperature of pigs during exercise is determined by their physiological characteristics, age and other factors. In a resting state, the heart rate of an adult pig is usually between 60 and 100 beats per minute. During moderate exercise, the heart rate may rise to around 120 to 160 beats per minute, and the preset maximum heart rate of a pig during exercise can be 160 beats / minute; the normal body temperature range of an adult pig is approximately between 38.5°C and 39.5°C. During exercise, the body temperature will rise slightly due to increased muscle activity, but it usually does not exceed 40°C. The preset maximum body temperature of a pig during exercise can be 40°C. The actual heart rate and body temperature may vary due to individual differences and The swing amplitude and frequency may change with external environmental factors (such as temperature, humidity, etc.). If the pig has a high body temperature or abnormal heart rate during exercise, it should be evaluated immediately and appropriate measures should be taken as needed, such as providing a cool environment, increasing water intake or reducing exercise intensity. The swing amplitude and frequency can reflect the pig's movement coordination and comfort when running. Abnormal swing amplitude or frequency may be a signal of leg pain or structural problems. Combining heart rate, body temperature and leg swing amplitude and frequency can provide more comprehensive pig health information, which is more helpful for accurate diagnosis than a single indicator. It can also help breeders dynamically adjust the pig's exercise volume and rest cycle and optimize feeding management strategies.

[0084] Step 4: Compare the calculated pig movement abnormality value with the preset pig movement abnormality threshold, and treat the pigs with abnormal behavior according to the comparison result.

[0085] In this embodiment, step 4 includes the following specific steps:

[0086] The calculated pig movement abnormality value is compared with the preset pig movement abnormality threshold. If the pig movement abnormality value is less than the preset pig movement abnormality threshold, the pig movement is judged to be normal. If the pig movement abnormality value is greater than or equal to the preset pig movement abnormality threshold, the pig movement is judged to be abnormal and the pigs with abnormal behavior are treated.

[0087] It should be noted here that , The method for obtaining the preset threshold value of abnormal pig movement is as follows: 1,000 pigs are selected, including 800 healthy pigs and 200 abnormal pigs, and the standard swing amplitude and standard swing frequency data of the legs of healthy pigs when running are obtained. 5,000 pieces of collected heart rate, body temperature, swing amplitude and swing frequency data of the legs of pigs when running are obtained, and the pig data are imported into the pig movement abnormal value calculation formula to calculate the pig movement abnormal value. 100 pig farming experts are invited to screen out abnormal pigs from these 1,000 pigs, and the calculated pig movement abnormal values ​​and expert screening results are imported into the fitting software, and the highest judgment accuracy is compared and output. , and the preset value of abnormal pig movement threshold.

[0088] Example 2

[0089] See also Figure 3 , an intelligent pig behavior abnormality monitoring system, which is implemented based on the above-mentioned intelligent pig behavior abnormality monitoring method, and includes a data acquisition module, a data storage module, a standard swing coefficient calculation module, a motion abnormality calculation module, an abnormality comparison module and a control module;

[0090] In this embodiment, the data acquisition module is used to collect the heart rate and body temperature of the pig in real time, collect the height and step frequency of the pig when running, and collect the swing amplitude and swing frequency of the pig's legs when running in real time. The data storage module is used to store the real-time collected heart rate and body temperature of the pig, the height and step frequency of the pig when running, the swing amplitude and swing frequency of the pig's legs when running, the calculated standard swing amplitude and standard swing frequency, and pig movement abnormalities. The standard swing coefficient calculation module is used to import the real-time collected height and step frequency of the pig when running into the pig standard swing coefficient calculation model to calculate the standard swing amplitude and standard swing frequency of the pig's legs when running.

[0091] In this embodiment, the motion abnormality calculation module is used to import the real-time collected heart rate, body temperature, the real-time collected leg swing amplitude and swing frequency of the pig when running, and the calculated standard swing amplitude and standard swing frequency into the pig motion abnormality calculation strategy to calculate the pig motion abnormality value. The abnormality comparison module is used to compare the calculated pig motion abnormality value with the preset pig motion abnormality threshold, and treat the pigs with abnormal behavior according to the comparison results. The control module is used to control the operation of the data acquisition module, the data storage module, the standard swing coefficient calculation module, the motion abnormality calculation module and the abnormality comparison module.

[0092] The above embodiments can be implemented in whole or in part by software, hardware, firmware or any other combination. When implemented by software, the above embodiments can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions or computer programs. When a computer instruction or computer program is loaded or executed on a computer, a process or function according to an embodiment of the present invention is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. Computer instructions can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, computer instructions can be transmitted from one website site, computer, server or data center to another website site, computer, server or data center through a wired network or / and a wireless network. The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device such as a server or data center that contains one or more available media sets. The available medium can be a magnetic medium (for example, a floppy disk, a hard disk, a tape), an optical medium (for example, a DVD), or a semiconductor medium. The semiconductor medium can be a solid-state hard disk.

[0093] In the description of this specification, the descriptions with reference to the terms "one embodiment", "example", "specific example", etc. mean that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic expressions of the above terms do not necessarily refer to the same embodiment or example, and the specific features, structures, materials or characteristics described may be combined in an appropriate manner in any one or more embodiments or examples.

[0094] The preferred embodiments of the present invention disclosed above are only used to help explain the present invention. The preferred embodiments do not describe all the details in detail, nor do they limit the invention to only specific implementation methods. Obviously, many modifications and changes can be made according to the content of this specification. This specification selects and specifically describes these embodiments in order to better explain the principles and practical applications of the present invention, so that those skilled in the art can understand and use the present invention well. The present invention is only limited by the claims and their full scope and equivalents.

Claims

1. A method for monitoring abnormal behavior of intelligent pigs, characterized in that: It includes the following specific steps: Step 1: Real-time collection of the pig's heart rate and body temperature, real-time collection of the pig's running height and step frequency, real-time collection of the pig's leg swing amplitude and swing frequency; Step 2: Import the real-time collected height and step frequency of the pig when running into the standard swing coefficient calculation model of the pig to calculate the standard swing amplitude and standard swing frequency of the pig's legs when running; Step 3: Import the real-time collected heart rate, body temperature, the real-time collected swing amplitude and swing frequency of the pig's legs when running, and the calculated standard swing amplitude and standard swing frequency into the pig movement abnormality calculation strategy to calculate the pig movement abnormality value; Step 4: Compare the calculated abnormal pig movement value with the preset abnormal pig movement threshold, and treat the pigs with abnormal behavior according to the comparison result; The step three includes the following specific steps: S31, obtaining the real-time collected heart rate, body temperature, and the real-time collected swing amplitude and swing frequency of the legs of the pig when running, and obtaining the calculated standard swing amplitude and standard swing frequency; S32, importing the heart rate, body temperature, swing amplitude and swing frequency, standard swing amplitude and standard swing frequency into the pig movement abnormality calculation strategy to calculate the pig movement abnormality value; The S32 includes the following specific steps: S321. Substitute the swing amplitude of the legs of the pigs when they are running during the monitoring period and the standard swing amplitude of the legs of the pigs when they are running into the swing amplitude abnormality coefficient calculation formula to calculate the swing amplitude abnormality coefficient, wherein the swing amplitude abnormality coefficient calculation formula is: ; in, For the The swing amplitude of the pig's legs when running during the monitoring period, To obtain the standard swing amplitude of the pig's legs when running, The monitoring period for pigs; S322, substituting the swing frequency of the legs of the pigs when they are running during the monitoring period and the standard swing frequency of the legs of the pigs when they are running into the swing frequency abnormality coefficient calculation formula to calculate the swing frequency abnormality coefficient, the swing frequency abnormality coefficient calculation formula is: ; in, For the The leg swing frequency of pigs when running during the monitoring period, The standard swing frequency of the pig's legs when running is obtained; S323, substituting the heart rate of the pigs in the monitoring period into the heart rate abnormality coefficient calculation formula to calculate the heart rate abnormality coefficient, the heart rate abnormality coefficient calculation formula is: ; in, For the The heart rate of the pigs during the monitoring period, It is the preset median heart rate of pigs during exercise; S324, substituting the body temperature of the pigs during the monitoring period into the body temperature abnormality coefficient calculation formula to calculate the body temperature abnormality coefficient, the body temperature abnormality coefficient calculation formula is: ; in, For the The body temperature of pigs during the monitoring period, It is the preset median body temperature of pigs during exercise; The step three also includes the following specific steps: S33, the pig movement abnormality calculation strategy includes a pig movement abnormality value calculation formula, and the pig movement abnormality value calculation formula is: ; in, is the swing amplitude ratio, is the swing frequency ratio, , is the power of e; S34. Store the calculated pig movement abnormal values ​​in an abnormal value storage module.

2. A method for monitoring abnormal behavior of intelligent pigs as claimed in claim 1, characterized in that: The step 2 includes the following specific steps: S21, obtaining the height and step frequency of the pig when running collected in real time; S22. Obtain the historical running height, step frequency, leg swing amplitude and swing frequency of the pigs and divide them into 85% parameter training set and 15% parameter test set. Input the 85% parameter training set into the standard pig swing coefficient calculation model for training to obtain the initial standard pig swing coefficient calculation model. Input the 15% parameter test set into the initial standard pig swing coefficient calculation model for testing, and output the optimal standard pig swing coefficient calculation model that meets the preset standard pig swing coefficient threshold.

3. A method for monitoring abnormal behavior of intelligent pigs as claimed in claim 2, characterized in that: The step 2 also includes the following specific steps: S23. In the optimal pig standard swing coefficient calculation model, the output strategy formula of the specific neuron of the pig standard swing coefficient calculation model is: ; in, The first layer The output of the neuron, The first Layer of neurons and layer The connection weights of the neurons, The first Layer of neurons The output, The first Layer of neurons and layer The linear relationship between the term neurons is biased, The standard swing frequency in the standard swing coefficient calculation model for pigs layer The output of the neuron, The standard swing frequency in the standard swing coefficient calculation model for pigs Layer of neurons and layer The connection weights of the neurons, The standard swing frequency in the standard swing coefficient calculation model for pigs Layer of neurons The output, The standard swing frequency in the standard swing coefficient calculation model for pigs Layer of neurons and layer The linear relationship between the term neurons is biased, and is the Sigmoid activation function; S24, importing the height and step frequency of the pig when running into the standard swing coefficient calculation model of the pig to calculate the standard swing amplitude and standard swing frequency of the pig's legs when running, and storing the standard swing amplitude and standard swing frequency in the standard coefficient storage module.

4. The method for monitoring abnormal behavior of intelligent pigs according to claim 1, characterized in that: The step 4 includes the following specific steps: The calculated pig movement abnormality value is compared with the preset pig movement abnormality threshold. If the pig movement abnormality value is less than the preset pig movement abnormality threshold, the pig movement is judged to be normal. If the pig movement abnormality value is greater than or equal to the preset pig movement abnormality threshold, the pig movement is judged to be abnormal and the pigs with abnormal behavior are treated.

5. A method for monitoring abnormal behavior of intelligent pigs as claimed in claim 4, characterized in that: The step 1 includes the following specific steps: S11, collecting the heart rate of the pig in real time through a heart rate sensor, collecting the body temperature of the pig in real time through a body temperature sensor, collecting the height and step frequency of the pig when running in real time through a sensor, and collecting the swing amplitude and swing frequency of the pig's legs when running in real time through an acceleration sensor; S12, storing the real-time collected heart rate, body temperature, height and step frequency of the pig when running, and the swing amplitude and swing frequency of the pig's legs when running in an information storage module.

6. An intelligent pig behavior abnormality monitoring system, which is implemented based on the intelligent pig behavior abnormality monitoring method according to any one of claims 1 to 5, characterized in that: It includes a data acquisition module, a data storage module, a standard swing coefficient calculation module, a motion abnormality calculation module, an abnormality comparison module and a control module. The data acquisition module is used to collect the heart rate and body temperature of the pig in real time, collect the height and step frequency of the pig when running in real time, and collect the swing amplitude and swing frequency of the pig's legs when running in real time. The data storage module is used to store the real-time collected heart rate and body temperature of the pig, the height and step frequency of the pig when running, the swing amplitude and swing frequency of the pig's legs when running, the calculated standard swing amplitude and standard swing frequency and the pig's motion abnormality value. The standard swing coefficient calculation module is used to import the real-time collected height and step frequency of the pig when running into the pig standard swing coefficient calculation model to calculate the standard swing amplitude and standard swing frequency of the pig's legs when running.

7. The intelligent pig abnormal behavior monitoring system according to claim 6, characterized in that: The motion abnormality calculation module is used to import the real-time collected heart rate, body temperature, the real-time collected leg swing amplitude and swing frequency of the pig when running, and the calculated standard swing amplitude and standard swing frequency into the pig motion abnormality calculation strategy to calculate the pig motion abnormality value; the abnormality comparison module is used to compare the calculated pig motion abnormality value with the preset pig motion abnormality threshold, and treat the pigs with abnormal behavior according to the comparison result; the control module is used to control the operation of the data acquisition module, the data storage module, the standard swing coefficient calculation module, the motion abnormality calculation module and the abnormality comparison module.

Citation Information

Patent Citations

  • A method and system for monitoring abnormal pig behavior

    CN113285966B

  • Intelligent livestock behavior monitoring system based on internet of things and computer vision

    CN103488148A

  • Pig behavior monitoring method and device

    CN105193420A

  • Multifunctional intelligent swimming bracelet and swimming state monitoring device

    CN115251862A

  • Pig breeding early warning system and method

    CN118000118A

Cited By

  • Running abnormal behavior identification method and system based on AI vision

    CN122200805A