A method and system for judging the comfort level of livestock and poultry houses
Through the acoustic characteristics analysis of the audio data of livestock and poultry houses, the comfort judgment score equation was constructed, which solved the problems of low environmental monitoring efficiency and insufficient measurement accuracy in the existing technology, and achieved contactless and accurate livestock and poultry house comfort degree assessment.
Patent Information
- Application Number
- CN202210224869.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-03-09
- Publication Date
- 2025-01-17
- Estimated Expiration
- 2042-03-09
AI Technical Summary
The existing environmental monitoring methods for livestock and poultry houses are inefficient and subjective, which can easily lead to livestock and poultry stress responses, and have low measurement accuracy, and lack effective methods for evaluating the comfort of livestock and poultry houses.
By collecting audio data from livestock and poultry houses, extracting acoustic characteristic parameters, performing data processing and principal component analysis, and constructing comfort judgment score equations to achieve accurate judgment of the comfort of livestock and poultry houses.
It realizes contactless, low-cost and accurate judgment of the comfort of livestock and poultry houses, avoids direct contact with livestock and poultry, and improves monitoring efficiency and accuracy.
Smart Images

Figure CN114662872B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of intelligent livestock and poultry breeding, and in particular to a method and system for judging the comfort level of livestock and poultry houses. Background Art
[0002] In animal husbandry, it is usually necessary to monitor the growth environment of livestock and poultry in real time and to effectively evaluate the growth environment, reproductive performance and immune function of livestock and poultry based on the livestock and poultry house environment.
[0003] In the existing livestock and poultry house environmental information monitoring process, monitoring methods that cause stress reactions or damage to livestock and poultry are often used, such as collecting pig blood samples for blood testing, measuring pig rectal temperature by inserting a thermometer into the anus, and other conventional monitoring methods, as well as the most widely used manual observation method on site in livestock and poultry houses. The above methods are not only inefficient and subjective, but also easily cause stress reactions in livestock and poultry, affecting their health and growth. The use of sound monitoring has the advantages of non-contact and stress-free, and can feedback their health status and physiological growth information to a certain extent. At present, it is mainly used for livestock and poultry behavior monitoring, disease diagnosis, growth rate monitoring, emotional state recognition, etc., and there are few studies on the evaluation and judgment of the comfort of livestock and poultry houses. Summary of the invention
[0004] The present invention provides a method and system for judging the comfort of livestock and poultry houses, which are used to solve the defects of the prior art that livestock and poultry environment monitoring uses direct contact with livestock and poultry, has a great impact on the growth of livestock and poultry, and has low measurement accuracy. The method and system can obtain more accurate results of livestock and poultry house comfort judgment by collecting livestock and poultry house sounds.
[0005] In a first aspect, the present invention provides a method for determining the comfort level of a livestock and poultry house, comprising:
[0006] Based on the audio data of the target livestock and poultry house, obtain the acoustic characteristic parameter measurement indicators;
[0007] Performing data processing and analysis on the acoustic characteristic parameter measurement index to obtain an acoustic characteristic parameter statistical index;
[0008] Performing principal component analysis on the acoustic characteristic parameter measurement index and the acoustic characteristic parameter statistical index to determine a scoring equation for judging the comfort level of livestock and poultry houses;
[0009] Based on the livestock and poultry house comfort judgment score equation, a livestock and poultry house comfort judgment result is obtained.
[0010] According to a method for judging the comfort level of a livestock and poultry house provided by the present invention, the method for obtaining an acoustic characteristic parameter measurement index based on the audio data of a target livestock and poultry house also includes:
[0011] Use distributed acquisition devices to obtain the original sound data of the target livestock and poultry house;
[0012] The original sound data of the target livestock and poultry house is preprocessed to obtain the audio data of the target livestock and poultry house.
[0013] According to a method for judging the comfort level of a livestock and poultry house provided by the present invention, the original sound data of the target livestock and poultry house is preprocessed to obtain the audio data of the target livestock and poultry house, including:
[0014] The original sound data of the target livestock and poultry house are sequentially subjected to analog-to-digital conversion, mono conversion, resampling and bandpass filtering to obtain the audio data of the target livestock and poultry house.
[0015] According to a method for judging the comfort level of a livestock and poultry house provided by the present invention, the method of obtaining an acoustic characteristic parameter measurement index based on audio data of a target livestock and poultry house comprises:
[0016] Analyzing and calculating the audio data of the target livestock and poultry house based on an audio processing algorithm to obtain a sound pressure level measurement index;
[0017] Extract the fundamental frequency measurement index and several resonance peak measurement indexes from the target livestock and poultry house audio data.
[0018] According to a method for judging the comfort level of a livestock and poultry house provided by the present invention, the acoustic characteristic parameter measurement index is subjected to data processing and analysis to obtain an acoustic characteristic parameter statistical index, including:
[0019] Counting the acoustic characteristic parameter measurement indicators to obtain initial acoustic characteristic parameter statistical indicators;
[0020] The initial statistical index of the acoustic characteristic parameter is normalized to obtain the statistical index of the acoustic characteristic parameter.
[0021] According to a method for judging the comfort of a livestock and poultry house provided by the present invention, the principal component analysis is performed on the acoustic characteristic parameter measurement index and the acoustic characteristic parameter statistical index to determine the livestock and poultry house comfort judgment score equation, including:
[0022] Determining based on the Bartlett sphericity test that the statistical index of the acoustic characteristic parameter meets the preset principal component analysis standard;
[0023] Obtaining principal component variance contribution rates of the plurality of resonance peak measurement indices, and extracting some resonance peak measurement indices whose sum of principal component variance contribution rates is greater than a preset cumulative variance contribution rate;
[0024] Based on the sound pressure level measurement index, the fundamental frequency measurement index and the partial resonance peak measurement index, determining a livestock and poultry house comfort judgment score equation to be solved;
[0025] Based on the component matrix and the characteristic roots corresponding to the component matrix, the sound pressure level measurement index coefficient, the fundamental frequency measurement index coefficient and the partial resonance peak measurement index coefficient in the livestock and poultry house comfort judgment score equation to be solved are obtained;
[0026] The sound pressure level measurement index coefficient, the fundamental frequency measurement index coefficient and the partial resonance peak measurement index coefficient are solved to obtain the livestock and poultry house comfort judgment score equation.
[0027] According to a method for judging the comfort level of a livestock and poultry house provided by the present invention, the method for judging the comfort level of a livestock and poultry house based on the scoring equation for judging the comfort level of a livestock and poultry house obtains a judgment result of the comfort level of a livestock and poultry house, including:
[0028] Using the livestock and poultry house comfort judgment score equation, obtaining multiple livestock and poultry house comfort scores;
[0029] The multiple livestock and poultry houses are arranged from high to low according to their comfort scores to obtain a livestock and poultry house comfort judgment result.
[0030] In a second aspect, the present invention further provides a livestock and poultry house comfort judgment system, comprising:
[0031] An acquisition module, used to obtain acoustic characteristic parameter measurement indicators based on the audio data of the target livestock and poultry house;
[0032] An analysis module is used to process and analyze the acoustic characteristic parameter measurement index to obtain an acoustic characteristic parameter statistical index;
[0033] A processing module, used for performing principal component analysis on the acoustic characteristic parameter measurement index and the acoustic characteristic parameter statistical index to determine a score equation for judging the comfort level of a livestock and poultry house;
[0034] The judgment module is used to obtain a judgment result of the comfort level of the livestock and poultry house based on the livestock and poultry house comfort level judgment score equation.
[0035] In a third aspect, the present invention further provides an electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, the steps of any of the above-mentioned methods for determining the comfort level of livestock and poultry houses are implemented.
[0036] In a fourth aspect, the present invention further provides a non-transitory computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps of any of the above-described methods for determining the comfort level of livestock and poultry houses.
[0037] In a fifth aspect, the present invention further provides a computer program product, comprising a computer program, which, when executed by a processor, implements the steps of any of the above-mentioned methods for determining the comfort level of livestock and poultry houses.
[0038] The method and system for judging the comfort of livestock and poultry houses provided by the present invention collect target livestock and poultry sound data in the livestock and poultry houses, extract acoustic features from the target livestock and poultry sound data, and conduct comprehensive analysis to obtain a judgment result on the comfort of the livestock and poultry houses. The method and system have the characteristics of convenient testing, no need for contact with livestock and poultry, and low cost. BRIEF DESCRIPTION OF THE DRAWINGS
[0039] In order to more clearly illustrate the technical solutions in the present invention or the prior art, the following briefly introduces 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 invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0040] Figure 1 This is one of the flow charts of the method for judging the comfort level of livestock and poultry houses provided by the present invention;
[0041] Figure 2 This is the second flow chart of the method for judging the comfort level of livestock and poultry houses provided by the present invention;
[0042] Figure 3 It is a structural schematic diagram of the livestock and poultry house comfort judgment system provided by the present invention;
[0043] Figure 4 It is a structural schematic diagram of the electronic device provided by the present invention. DETAILED DESCRIPTION
[0044] In order to make the purpose, technical solution and advantages of the present invention clearer, the technical solution of the present invention will be clearly and completely described below in conjunction with the drawings of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0045] In view of the need for real-time monitoring of the acoustic environment of livestock and poultry houses in livestock and poultry breeding management and the shortcomings of existing methods, the present invention proposes a method for judging the comfort of livestock and poultry houses based on acoustic characteristics. It uses distributed monitoring technology to collect sound signals and uses acoustic characteristic analysis technology to evaluate the quality of the acoustic environment of livestock and poultry houses. It can monitor the sound of livestock and poultry houses in a timely and contactless manner, providing an evaluation basis for production management.
[0046] Figure 1 FIG. 1 is one of the flow charts of the method for judging the comfort level of livestock and poultry houses provided by the present invention. Figure 1 As shown, including:
[0047] Step S1, obtaining acoustic characteristic parameter measurement indicators based on target livestock and poultry house audio data;
[0048] Step S2, performing data processing and analysis on the acoustic characteristic parameter measurement index to obtain an acoustic characteristic parameter statistical index;
[0049] Step S3, performing principal component analysis on the acoustic characteristic parameter measurement index and the acoustic characteristic parameter statistical index to determine a livestock and poultry house comfort judgment score equation;
[0050] Step S4, obtaining a livestock and poultry house comfort judgment result based on the livestock and poultry house comfort judgment score equation.
[0051] Specifically, the present invention collects a certain range of target livestock and poultry house audio data for the type of livestock and poultry that needs to be determined, obtains the acoustic characteristic parameter measurement index therein, and then performs data processing and analysis on the acoustic characteristic parameter measurement index, further obtains the acoustic characteristic parameter statistical index, and comprehensively obtains the acoustic characteristic parameter measurement index and the acoustic characteristic parameter statistical index, performs principal component analysis, and constructs a livestock and poultry house comfort judgment score equation, and finally obtains the scores corresponding to the multiple sound data samples obtained according to the livestock and poultry house comfort judgment score equation, and outputs the livestock and poultry house comfort judgment result according to the scores.
[0052] The present invention collects target livestock and poultry sound data in livestock and poultry houses, extracts acoustic features from the target livestock and poultry sound data, and comprehensively analyzes to obtain a judgment result of the comfort level of the livestock and poultry houses. The present invention has the characteristics of convenient testing, no need for contact with livestock and poultry, and low cost.
[0053] Based on the above embodiment, before step S1, the method further includes:
[0054] Use distributed acquisition devices to obtain the original sound data of the target livestock and poultry house;
[0055] The original sound data of the target livestock and poultry house is preprocessed to obtain the audio data of the target livestock and poultry house.
[0056] The preprocessing of the original sound data of the target livestock and poultry house to obtain the audio data of the target livestock and poultry house includes:
[0057] The original sound data of the target livestock and poultry house are sequentially subjected to analog-to-digital conversion, mono conversion, resampling and bandpass filtering to obtain the audio data of the target livestock and poultry house.
[0058] Specifically, Figure 2As shown, first, a livestock and poultry audio information collection system is constructed, and sound sensors are arranged in the livestock and poultry house. The top of the sensor probe is equipped with a dust and windproof cover. The response frequency range is 20Hz-20kHz, and the collection point positions are selected according to the space in the livestock and poultry house. Three points are evenly arranged along the longitudinal axis and two points are evenly arranged along the horizontal axis. The sensor probe is kept at a vertical distance of 1.8 meters or more from the ground. The sensor is connected to the audio acquisition card through a BNC-BNC interface. The sampling frequencies of the audio acquisition card are 24kHz, 32kHz, 44.1kHz, and 48kHz. The RJ-45 interface is used to establish a connection with the network server to realize data transmission.
[0059] After the audio data is collected, it is preprocessed to complete the processing flow of A / D conversion, mono conversion, resampling and bandpass filtering of the audio data file in sequence, where the bandpass filtering is selected as high-pass filtering, and the frequency threshold range is 100-300Hz.
[0060] The present invention adopts a distributed monitoring method for livestock and poultry audio, fully considering the actual environment in the livestock and poultry house and the normal behavior expression of livestock and poultry, and uses distributed acquisition devices to acquire "point" data from "line and surface" data, so as to achieve the effect of obtaining real, rich and typical livestock and poultry audio data, and use audio analysis technology to extract acoustic features to characterize the status of livestock and poultry breeding houses.
[0061] Based on any of the above embodiments, step S1 includes:
[0062] Analyzing and calculating the audio data of the target livestock and poultry house based on an audio processing algorithm to obtain a sound pressure level measurement index;
[0063] Extract the fundamental frequency measurement index and several resonance peak measurement indexes from the target livestock and poultry house audio data.
[0064] Specifically, after obtaining the audio signal of the acoustic environment of the livestock and poultry house through distributed monitoring technology, the pre-processed sound data is analyzed using the audio processing algorithm to calculate the characteristic parameter Sound Pressure Level (SPL):
[0065]
[0066] Among them, P e is the effective value of the sound pressure to be measured, in Pa; P ref It is a general reference value for sound pressure measurement.
[0067] The present invention uses 5 collection points when collecting audio data in livestock and poultry houses, and needs to calculate the audio acoustic characteristic parameter sound pressure level of the 5 collection points respectively. Here, when several sound sources act at the same time, the sound energy of a certain point is the algebraic sum of the energy contributed by each sound source, so its sound pressure is the square root of the sum of the squares of the sound pressures contributed by each sound source, that is:
[0068]
[0069]
[0070] The corresponding sound pressure level is:
[0071]
[0072] The sound intensity data can be used to solve the sound pressure level of mixed noise in livestock and poultry houses and evaluate the acoustic environment in livestock and poultry houses.
[0073] In addition to the sound pressure level, it is also necessary to determine the measurement indicators of other acoustic characteristic parameters of livestock and poultry sounds, including fundamental frequency measurement indicators and multiple resonance peak measurement indicators (usually the first resonance peak to the fourth resonance peak), and record the corresponding original data of the measurements respectively.
[0074] The present invention can clearly distinguish different categories of livestock and poultry by calculating and selecting typical acoustic characteristic parameter measurement indicators, and is convenient for building a comprehensive livestock and poultry house comfort judgment system through sound characteristics.
[0075] Based on any of the above embodiments, step S2 includes:
[0076] Counting the acoustic characteristic parameter measurement indicators to obtain initial acoustic characteristic parameter statistical indicators;
[0077] The initial statistical index of the acoustic characteristic parameter is normalized to obtain the statistical index of the acoustic characteristic parameter.
[0078] Specifically, after determining the acoustic characteristic parameter measurement indicators of livestock and poultry vocalizations, further data processing and analysis are required.
[0079] The statistical acoustic characteristic parameter measurement indicators are used to obtain statistical values of mean, amplitude, standard deviation and coefficient of variation for the sound pressure level, fundamental frequency and multiple resonance peaks in each data.
[0080] Since the dimensions of livestock and poultry sound sample indicators are different, in order to eliminate the impact of dimensions, the acoustic characteristic parameter measurement indicators need to be normalized. The z-score standardization method is usually used. Z-Score is a common method for data standardization. Through Z-Score, data of different magnitudes can be converted into Z-Score values of uniform measurement and compared to obtain statistical indicators of acoustic characteristic parameters.
[0081] The present invention further measures the acoustic characteristic parameters and performs normalization to unify the dimensions, thereby facilitating subsequent principal component analysis.
[0082] Based on any of the above embodiments, step S3 includes:
[0083] Determining based on the Bartlett sphericity test that the statistical index of the acoustic characteristic parameter meets the preset principal component analysis standard;
[0084] Obtaining principal component variance contribution rates of the plurality of resonance peak measurement indices, and extracting some resonance peak measurement indices whose sum of principal component variance contribution rates is greater than a preset cumulative variance contribution rate;
[0085] Based on the sound pressure level measurement index, the fundamental frequency measurement index and the partial resonance peak measurement index, determining a livestock and poultry house comfort judgment score equation to be solved;
[0086] Based on the component matrix and the characteristic roots corresponding to the component matrix, the sound pressure level measurement index coefficient, the fundamental frequency measurement index coefficient and the partial resonance peak measurement index coefficient in the livestock and poultry house comfort judgment score equation to be solved are obtained;
[0087] The sound pressure level measurement index coefficient, the fundamental frequency measurement index coefficient and the partial resonance peak measurement index coefficient are solved to obtain the livestock and poultry house comfort judgment score equation.
[0088] Furthermore, for the statistical indicators of acoustic characteristic parameters that have undergone standard normalization, it is also necessary to determine whether they meet the conditions of principal component analysis (PCA). KMO and Bartlett's sphericity test are usually used for pre-factor analysis tests to test whether the data is suitable for principal component analysis. The test is based on the KMO sampling suitability measure and Bartlett's sphericity test (including approximate square chi, degrees of freedom, and significance).
[0089] Then, the principal component variance contribution rate is calculated for the multiple resonance peak measurement indicators, and a cumulative variance contribution rate threshold is set at the same time, and some resonance peak measurement indicators whose sum of principal component variance contribution rates is greater than the cumulative variance contribution rate threshold are extracted, and these corresponding resonance peak measurement indicators are selected.
[0090] Combining the sound pressure level measurement index and the fundamental frequency measurement index, a score equation for judging the comfort of livestock and poultry houses is constructed, which includes the corresponding coefficients of the undetermined measurement indexes. i=aX1+bX2+cX3+dX4+eX5+fX6, six coefficients a, b, c, d, e, f, to obtain the evaluation model for estimating the environmental comfort level in livestock and poultry houses. Among them, X1 represents the sound pressure level, X2 represents the fundamental frequency, X3 represents the first resonance peak, X4 represents the second resonance peak, X5 represents the third resonance peak, and X6 represents the fourth resonance peak; Y i It represents the environmental comfort evaluation score of livestock and poultry houses calculated based on X1, X2, X3, X4, X5 and X6; a, b, c, d, e and f are the coefficients of the estimation formula.
[0091] The corresponding coefficients of each measurement index are solved through the component matrix and the corresponding characteristic roots, and the scoring equation for judging the comfort of livestock and poultry houses is obtained.
[0092] The present invention constructs a relationship model between livestock and poultry comfort and typical acoustic characteristics based on principal component analysis, thereby realizing the judgment and evaluation of the comfort of livestock and poultry houses.
[0093] Based on any of the above embodiments, step S4 includes:
[0094] Using the livestock and poultry house comfort judgment score equation, obtaining multiple livestock and poultry house comfort scores;
[0095] The multiple livestock and poultry houses are arranged from high to low according to their comfort scores to obtain a livestock and poultry house comfort judgment result.
[0096] Specifically, the acoustic data of multiple livestock and poultry sounds are input into the livestock and poultry house comfort judgment score equation, the comprehensive score of the acoustic characteristic parameter index of each livestock and poultry sound is calculated, and they are sorted according to the comprehensive score to obtain the livestock and poultry house comfort judgment result.
[0097] The present invention integrates the growth environment of livestock and poultry and the vocal characteristic data of livestock and poultry themselves, and realizes the evaluation of the comfort level of livestock and poultry houses by analyzing and calculating the comfort level of livestock and poultry houses.
[0098] The following is an example of analyzing the pig screams collected at a pig breeding base at a certain time. 1272 pig screams were extracted using audio processing software. The measured values of the six audio feature parameters of the pig screams are shown in Table 1, and the mean, amplitude, standard deviation, and coefficient of variation of the audio feature parameters of the pig screams are shown in Table 2. For different pig screams, the six audio feature parameters have different degrees of variation, ranging from 6.91% to 20.89% (absolute value). The sound pressure level is distributed in 55.7-84.2dB, with an average of 69.3dB and a coefficient of variation of 6.91%; the fundamental frequency is distributed in 75.4-592.00Hz, with an average of 389.7Hz and a coefficient of variation of 20.89%; the first resonance peak is distributed in 556.7-1765.3Hz, with an average of 1056.3Hz and a coefficient of variation of 11.28%; the second resonance peak is distributed in 947.7-2983.3Hz, with an average of 1864.2Hz and a coefficient of variation of 19.25%; the third resonance peak is distributed in 1645.3-3917.8Hz, with an average of 2950.9Hz and a coefficient of variation of 10.30%; the fourth resonance peak is distributed in 2846.7-4971.4Hz, with an average of 3888.9Hz and a coefficient of variation of 8.05%.
[0099] Table 1
[0100]
[0101] Table 2
[0102]
[0103]
[0104] Since the dimensions of the sample indicators of pig screams are different, in order to eliminate the impact of the dimensions, the six core indicators need to be standardized when calculating the comprehensive score of the environmental comfort in the pig house. The data processed using the z-score standardization method are shown in Table 3.
[0105] Table 3
[0106]
[0107] Then, KMO and Bartlett were used to conduct tests before factor analysis to test whether the data were suitable for principal component analysis. Table 4 shows that the KMO value was (0.623), the approximate chi-square value in the Bartlett sphericity test was 971.884, the degree of freedom was 15, and the P value was 0.00, indicating that it was suitable for principal component analysis.
[0108] Table 4
[0109]
[0110] Furthermore, through principal component analysis statistics, the variance contribution rates of the first, second, third and fourth principal components were 33.290%, 22.036%, 14.317% and 13.014% respectively, and the cumulative variance contribution rate reached 82.658%. Therefore, four principal components were selected to represent the six audio feature parameters of pig screams for analysis, as shown in Table 5.
[0111] Table 5
[0112]
[0113] Based on the component matrix and the corresponding characteristic roots, the coefficients of the indicators in different principal component linear combinations can be obtained, and the expressions of the pig screaming indicators of each principal component can be obtained as follows:
[0114] F1=-0.02X1+0.18X2+0.35X3+0.51X4+0.54X5+0.54X6
[0115] F2=0.67X1+0.50X2+0.44X3+0.03X4-0.31X5-0.15X6
[0116] F3=-0.27X1+0.83X2-0.46X3-0.03X4+0.14X5-0.09X6
[0117] F4=0.59X1-0.07X2-0.43X3-0.43X4+0.28X5+0.45X6
[0118] Wherein: X1, X2, X3, X4, X5, and X6 represent the standardized data of pig scream sound pressure level, fundamental frequency, first resonance peak, second resonance peak, third resonance peak, and fourth resonance peak, respectively.
[0119] The variance contribution rate of each principal component is used as the weight to construct the comprehensive evaluation score equation: F = 0.22X1 + 0.36X2 + 0.11X3 + 0.21X4 + 0.20X5 + 0.23X6. Since the sum of the weights of all indicators is 1, the indicator weights need to be normalized based on the indicator coefficients in the comprehensive model. The final comprehensive evaluation score equation is F = 0.17X1 + 0.27X2 + 0.08X3 + 0.16X4 + 0.15X5 + 0.17X6. The comprehensive scores of 1272 pig screaming samples are calculated and ranked. The results are shown in Table 6.
[0120] Table 6
[0121] name Ranking Score 363 1 1.748 86 2 1.567 646 3 1.480 352 4 1.464 1263 5 1.458 1180 6 1.453 … … …
[0122] Finally, the comprehensive scores of all 1272 samples were calculated, ranging from -1.82 to 1.75. It can be understood that the higher the score of the sample sound, the higher the comfort state of the corresponding pig.
[0123] The livestock and poultry house comfort judgment system provided by the present invention is described below. The livestock and poultry house comfort judgment system described below and the livestock and poultry house comfort judgment method described above can be referenced to each other.
[0124] Figure 3 Schematic diagram of the structure of the livestock and poultry house comfort judgment system provided by the present invention. Figure 3 As shown, it includes: an acquisition module 31, an analysis module 32, a processing module 33 and a judgment module 34, wherein:
[0125] The acquisition module 31 is used to obtain the acoustic characteristic parameter measurement index based on the target livestock and poultry house audio data; the analysis module 32 is used to perform data processing and analysis on the acoustic characteristic parameter measurement index to obtain the acoustic characteristic parameter statistical index; the processing module 33 is used to perform principal component analysis on the acoustic characteristic parameter measurement index and the acoustic characteristic parameter statistical index to determine the livestock and poultry house comfort judgment score equation; the judgment module 34 is used to obtain the livestock and poultry house comfort judgment result based on the livestock and poultry house comfort judgment score equation.
[0126] By collecting the target livestock and poultry sound data in the livestock and poultry house, extracting the acoustic characteristics of the target livestock and poultry sound data, and comprehensively analyzing the results of the comfort judgment of the livestock and poultry house, the system has the characteristics of convenient testing, no need to contact with livestock and poultry, and low cost.
[0127] Figure 4 An example of a physical structure diagram of an electronic device is shown in FIG. Figure 4 As shown, the electronic device may include: a processor 410, a communication interface 420, a memory 430 and a communication bus 440, wherein the processor 410, the communication interface 420 and the memory 430 communicate with each other through the communication bus 440. The processor 410 may call the logic instructions in the memory 430 to execute the method for judging the comfort of a livestock house, the method comprising: obtaining an acoustic characteristic parameter measurement index based on the target livestock house audio data; performing data processing and analysis on the acoustic characteristic parameter measurement index to obtain an acoustic characteristic parameter statistical index; performing principal component analysis on the acoustic characteristic parameter measurement index and the acoustic characteristic parameter statistical index to determine a livestock house comfort judgment score equation; and obtaining a livestock house comfort judgment result based on the livestock house comfort judgment score equation.
[0128] In addition, the logic instructions in the above-mentioned memory 430 can be implemented in the form of a software functional unit and can be stored in a computer-readable storage medium when it is sold or used as an independent product. Based on such an understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk and other media that can store program codes.
[0129] On the other hand, the present invention also provides a computer program product, which includes a computer program. The computer program can be stored on a non-transitory computer-readable storage medium. When the computer program is executed by a processor, the computer can execute the livestock and poultry house comfort judgment method provided by the above-mentioned methods, and the method includes: obtaining an acoustic characteristic parameter measurement index based on the target livestock and poultry house audio data; performing data processing and analysis on the acoustic characteristic parameter measurement index to obtain an acoustic characteristic parameter statistical index; performing principal component analysis on the acoustic characteristic parameter measurement index and the acoustic characteristic parameter statistical index to determine a livestock and poultry house comfort judgment score equation; and obtaining a livestock and poultry house comfort judgment result based on the livestock and poultry house comfort judgment score equation.
[0130] On the other hand, the present invention also provides a non-transitory computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, it is implemented to execute the livestock house comfort judgment method provided by the above-mentioned methods, the method comprising: obtaining an acoustic characteristic parameter measurement index based on the target livestock house audio data; performing data processing and analysis on the acoustic characteristic parameter measurement index to obtain an acoustic characteristic parameter statistical index; performing principal component analysis on the acoustic characteristic parameter measurement index and the acoustic characteristic parameter statistical index to determine a livestock house comfort judgment score equation; and obtaining a livestock house comfort judgment result based on the livestock house comfort judgment score equation.
[0131] The device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Ordinary technicians in this field can understand and implement it without paying creative labor.
[0132] Through the description of the above implementation methods, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a necessary general hardware platform, and of course, it can also be implemented by hardware. Based on this understanding, the above technical solution is essentially or the part that contributes to the prior art can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiments.
[0133] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims
1. A method for judging the comfort level of livestock and poultry houses, characterized in that: include: Based on the audio data of the target livestock and poultry house, obtain the acoustic characteristic parameter measurement indicators; Performing data processing and analysis on the acoustic characteristic parameter measurement index to obtain an acoustic characteristic parameter statistical index; Performing principal component analysis on the acoustic characteristic parameter measurement index and the acoustic characteristic parameter statistical index to determine a scoring equation for judging the comfort level of livestock and poultry houses; Based on the livestock and poultry house comfort judgment score equation, a livestock and poultry house comfort judgment result is obtained; The method of obtaining acoustic characteristic parameter measurement indicators based on the target livestock and poultry house audio data includes: Analyzing and calculating the audio data of the target livestock and poultry house based on an audio processing algorithm to obtain a sound pressure level measurement index; Extract the fundamental frequency measurement index and several resonance peak measurement indexes from the target livestock and poultry house audio data.
2. The method for judging the comfort level of livestock and poultry houses according to claim 1, characterized in that: The method of obtaining the acoustic characteristic parameter measurement index based on the target livestock and poultry house audio data also includes: Use distributed acquisition devices to obtain the original sound data of the target livestock and poultry house; The original sound data of the target livestock and poultry house is preprocessed to obtain the audio data of the target livestock and poultry house.
3. The method for judging the comfort level of livestock and poultry houses according to claim 2, characterized in that: The preprocessing of the original sound data of the target livestock and poultry house to obtain the audio data of the target livestock and poultry house includes: The original sound data of the target livestock and poultry house are sequentially subjected to analog-to-digital conversion, mono conversion, resampling and bandpass filtering to obtain the audio data of the target livestock and poultry house.
4. The method for judging the comfort level of livestock and poultry houses according to claim 1, characterized in that: The data processing and analysis of the acoustic characteristic parameter measurement index to obtain the acoustic characteristic parameter statistical index includes: Counting the acoustic characteristic parameter measurement indicators to obtain initial acoustic characteristic parameter statistical indicators; The initial statistical index of the acoustic characteristic parameter is normalized to obtain the statistical index of the acoustic characteristic parameter.
5. The method for judging the comfort level of livestock and poultry houses according to claim 4, characterized in that: The principal component analysis is performed on the acoustic characteristic parameter measurement index and the acoustic characteristic parameter statistical index to determine the livestock and poultry house comfort judgment score equation, including: Determining based on the Bartlett sphericity test that the statistical index of the acoustic characteristic parameter meets the preset principal component analysis standard; Obtaining principal component variance contribution rates of the plurality of resonance peak measurement indices, and extracting some resonance peak measurement indices whose sum of principal component variance contribution rates is greater than a preset cumulative variance contribution rate; Based on the sound pressure level measurement index, the fundamental frequency measurement index and the partial resonance peak measurement index, determining a livestock and poultry house comfort judgment score equation to be solved; Based on the component matrix and the characteristic roots corresponding to the component matrix, the sound pressure level measurement index coefficient, the fundamental frequency measurement index coefficient and the partial resonance peak measurement index coefficient in the livestock and poultry house comfort judgment score equation to be solved are obtained; The sound pressure level measurement index coefficient, the fundamental frequency measurement index coefficient and the partial resonance peak measurement index coefficient are solved to obtain the livestock and poultry house comfort judgment score equation.
6. The method for judging the comfort level of livestock and poultry houses according to claim 1, characterized in that: The method of obtaining the livestock and poultry house comfort judgment result based on the livestock and poultry house comfort judgment score equation includes: Using the livestock and poultry house comfort judgment score equation, obtaining multiple livestock and poultry house comfort scores; The multiple livestock and poultry houses are arranged from high to low according to their comfort scores to obtain a livestock and poultry house comfort judgment result.
7. A livestock and poultry house comfort judgment system, characterized in that: include: An acquisition module, used to obtain acoustic characteristic parameter measurement indicators based on the audio data of the target livestock and poultry house; An analysis module is used to process and analyze the acoustic characteristic parameter measurement index to obtain an acoustic characteristic parameter statistical index; A processing module, used for performing principal component analysis on the acoustic characteristic parameter measurement index and the acoustic characteristic parameter statistical index to determine a score equation for judging the comfort level of a livestock and poultry house; A judgment module, used to obtain a judgment result of the comfort level of the livestock and poultry house based on the livestock and poultry house comfort level judgment score equation; The acquisition module, the analysis module, the processing module and the judgment module cooperate with each other to execute the livestock and poultry house comfort judgment method as described in any one of claims 1 to 6.
8. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the program, the method for determining the comfort level of a livestock house as described in any one of claims 1 to 6 is implemented.
9. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the method for determining the comfort level of a livestock house as described in any one of claims 1 to 6 is implemented.
Citation Information
Patent Citations
Acoustic signal monitoring method for stress behavior of facility-breeding sheep
CN106847293A