Environmental pollution monitoring method and system suitable for livestock breeding
By deploying sensors and video monitoring equipment in livestock breeding areas, combined with portable monitoring devices and edge devices, the problem of accuracy in monitoring the environment inside livestock sheds has been solved, enabling refined management and safety early warning of livestock breeding areas.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-12-29
- Publication Date
- 2026-04-07
AI Technical Summary
In the process of livestock farming, existing technologies are insufficient to achieve high-frequency, full-coverage environmental monitoring in livestock sheds, resulting in inaccurate air quality monitoring and affecting animal health.
Environmental data is collected using ammonia, hydrogen sulfide, and methane sensors. Abnormal equipment is identified by combining video surveillance equipment. Local data is collected through portable monitoring devices, correction factors are generated, and environmental data is corrected in real time. Emergency response rules are executed using edge devices.
It has enabled refined environmental management of livestock breeding areas, improved data accuracy, timely detection of safety risks, and reduced animal health risks.
Smart Images

Figure CN121804576A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of environmental pollution monitoring technology, and in particular to an environmental pollution monitoring method and system applicable to livestock farming. Background Technology
[0002] During livestock farming, it is necessary to monitor the environment inside the livestock shed to ensure a safe and comfortable growing environment and prevent environmental factors from adversely affecting animal health. Specific monitoring indicators include air quality, temperature and humidity, ammonia concentration, and hydrogen sulfide concentration.
[0003] In aquaculture environments, high humidity, large fluctuations in ammonia concentration, and the presence of numerous dust particles pose significant challenges to the stability of sensors, especially mainstream metal oxide and electrochemical sensors. These sensors have relatively limited anti-interference capabilities and are prone to signal drift or response delays in high-humidity, high-ammonia, and dusty environments. This leads to deviations in detection data and an inability to promptly identify excessive gas concentrations. This not only affects the accuracy of environmental monitoring but may also pose potential risks to the health of animals in the area, such as respiratory irritation, weakened immunity, or abnormal behavior.
[0004] In existing technologies, air samples are typically verified through manual sampling and laboratory analysis to determine the concentration levels of harmful gases such as ammonia and hydrogen sulfide. However, this method suffers from drawbacks such as low monitoring frequency, insufficient spatial coverage, and delayed data response, making it difficult to comprehensively reflect environmental changes in different areas within livestock sheds.
[0005] Therefore, "how to conduct mobile monitoring in livestock sheds" is the technical problem that this invention needs to solve. Summary of the Invention
[0006] The purpose of this invention is to provide an environmental pollution monitoring method and system suitable for livestock farming, so as to solve the problem of "how to carry out mobile monitoring in livestock sheds" mentioned in the background art.
[0007] To achieve the above objectives, the present invention provides the following technical solution: An environmental pollution monitoring method applicable to livestock farming, the method comprising: Livestock farming areas are delineated, and environmental data is collected using sensors pre-deployed in the livestock farming areas. The sensors include at least an ammonia sensor, a hydrogen sulfide sensor, and a methane sensor. When the environmental data exceeds the pre-edited risk range, the corresponding sensor is defined as an abnormal device. Using video surveillance equipment installed in livestock breeding areas, video frames containing abnormal equipment are collected, the breeding individual closest to the abnormal equipment is identified, the monitoring object is obtained, a snapshot of the area where the monitoring object is located is captured, and a monitoring task is generated, wherein the monitoring task is: to put portable monitoring equipment on the monitoring object; Obtain the slaughter schedule of the livestock breeding area, send the monitoring task to the preset terminal, collect local monitoring data of the area where the monitoring object is located through the portable monitoring device, compare the local monitoring data with the environmental data of abnormal equipment, generate a correction factor, shift the environmental data, and divide the shifted environmental data into several intervals, and edit emergency response rules corresponding to each interval. The emergency response rules and the offset environmental data are uploaded to the configured edge device, and the control permissions of the supporting system are granted to the edge device.
[0008] Furthermore, the step of delineating livestock farming areas using sensing devices pre-deployed within the livestock farming areas includes: Draw a plan of the livestock breeding area, locate the deployment positions of the sensing devices, and mark the airflow direction; The building layout in the floor plan is read, and the deployment location is adjusted using the building layout and airflow direction.
[0009] Furthermore, the step of defining the corresponding sensing device as an abnormal device when environmental data exceeds the pre-edited risk range includes: Collect historical environmental data from each sensor device, generate a monitoring information database, obtain environmental pollution events in livestock farming areas, configure time windows, and define all historical environmental data under the time window as outliers. Delete outliers from the monitoring information database and select the maximum and minimum values to form a risk range.
[0010] Furthermore, the steps of finding the closest farmed individual to the abnormal device, obtaining the monitoring target, capturing a snapshot of the area where the monitoring target is located, and generating a monitoring task include: The livestock breeding area is divided into several zones, risk factors are configured, and the priority of each zone is set. Insert tags generated by priority into the monitoring task.
[0011] Furthermore, the step of collecting local monitoring data of the area where the monitoring object is located, comparing the local monitoring data with the environmental data of abnormal equipment, and generating a correction factor includes: The environmental data and correction factors are uploaded to the edge device, and the environmental data is corrected in real time. The environmental data before and after calibration are written into a preset template, a monitoring report is generated, and sent to a preset terminal.
[0012] Furthermore, the steps of uploading the emergency response rules and the offset environmental data to the configured edge device, and granting the edge device control permissions for the supporting system, include: Plot a trend graph with time on the x-axis and environmental data before and after correction on the y-axis, and store it in the edge device; Insert several threshold lines into the trend graph, where each threshold line corresponds to at least one emergency response rule.
[0013] Furthermore, the system includes: The definition module is used to delineate livestock breeding areas and collect environmental data using sensors pre-deployed in the livestock breeding areas. The sensors include at least an ammonia sensor, a hydrogen sulfide sensor, and a methane sensor. When the environmental data exceeds the pre-edited risk range, the corresponding sensor is defined as an abnormal device. The generation module is used to use video surveillance equipment installed in the livestock breeding area to collect video frames containing abnormal equipment, find the breeding individual closest to the abnormal equipment, obtain the monitoring object, capture a snapshot of the area where the monitoring object is located, and generate a monitoring task, wherein the monitoring task is: to put a portable monitoring device on the monitoring object; The editing module is used to obtain the slaughter time schedule of the livestock breeding area, send the monitoring task to the preset terminal, collect local monitoring data of the area where the monitoring object is located through the portable monitoring device, compare the local monitoring data with the environmental data of abnormal equipment, generate a correction factor, shift the environmental data, and divide the shifted environmental data into several intervals, and edit the emergency response rules corresponding to each interval. The open module is used to upload emergency response rules and offset environmental data to the configured edge device, and to grant the edge device control permissions for the supporting system.
[0014] Furthermore, the definition module includes: The drawing unit is used to draw a plan layout of the livestock breeding area, locate the deployment positions of the sensing devices, and mark the airflow direction; The reading unit is used to read the building layout in the floor plan and adjust the deployment position using the building layout and airflow direction; The data acquisition unit is used to collect historical environmental data from each sensor device, generate a monitoring information database, obtain environmental pollution events in the livestock breeding area, configure time windows, and define all historical environmental data under the time window as outliers. The unit is used to delete outliers from the monitoring information database and select the maximum and minimum values to form a risk range.
[0015] Furthermore, the generation module includes: The segmentation unit is used to divide the livestock breeding area into several partitions, configure risk factors, and set the priority of each partition; An insertion unit is used to insert tags generated by priority into the monitoring task.
[0016] Furthermore, the editing module includes: The correction unit is used to upload the environmental data and correction factors to the edge device and perform real-time correction on the environmental data. The writing unit is used to write environmental data before and after calibration into a preset template, generate a monitoring report, and send it to a preset terminal.
[0017] Compared with the prior art, the beneficial effects of the present invention are: By collecting environmental data, abnormal equipment can be identified, enabling timely early warning and intervention of safety risks in livestock farming areas. This also provides a data foundation for environmental management. Collecting video frames containing abnormal equipment allows for observation of the actual condition of livestock individuals, preventing behavioral abnormalities. Equipping monitored subjects with portable monitoring devices allows for verification of environmental data, timely detection of data drift and deviations, and improved data accuracy. This enables precise assessment of animal exposure and timely detection of environmental anomalies and animal stress responses, thus achieving refined management of the livestock farming environment. Furthermore, by determining correction factors, sensor drift or deviations caused by environmental interference can be corrected promptly, improving the accuracy of environmental data and promoting the intelligent and refined development of livestock farming areas. Attached Figure Description
[0018] Figure 1 A flowchart illustrating an environmental pollution monitoring method for livestock farming provided in an embodiment of the present invention; Figure 2 This is a first sub-flowchart of an environmental pollution monitoring method for livestock farming provided in an embodiment of the present invention; Figure 3 This is a second sub-flowchart of an environmental pollution monitoring method for livestock farming provided in an embodiment of the present invention; Figure 4 This is a third sub-flowchart of an environmental pollution monitoring method for livestock farming provided in an embodiment of the present invention; Figure 5 This is a fourth sub-flowchart of an environmental pollution monitoring method for livestock farming provided in an embodiment of the present invention; Figure 6This is a block diagram of an environmental pollution monitoring system for livestock farming provided in an embodiment of the present invention; Figure 7 A block diagram illustrating the composition of a module defined in an environmental pollution monitoring system applicable to livestock farming, provided in an embodiment of the present invention; Figure 8 A block diagram of the generation module in an environmental pollution monitoring system for livestock farming provided in an embodiment of the present invention; Figure 9 A block diagram illustrating the composition of an editing module in an environmental pollution monitoring system for livestock farming, as provided in an embodiment of the present invention. Figure 10 This is a block diagram of the open module in an environmental pollution monitoring system for livestock farming provided in an embodiment of the present invention. Detailed Implementation
[0019] To make the objectives, technical solutions, and advantages of this invention clearer, the invention will be further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the invention.
[0020] In Example 1, Figure 1 The implementation flow of the environmental pollution monitoring method for livestock farming provided by an embodiment of the present invention is shown below in detail: S100: Delineate livestock breeding areas and collect environmental data using pre-deployed sensing devices in the livestock breeding areas. The sensing devices include at least: an ammonia sensor, a hydrogen sulfide sensor, and a methane sensor. When the environmental data exceeds the pre-edited risk range, the corresponding sensing device is defined as an abnormal device.
[0021] Define the boundaries of the livestock farm and delineate the livestock farming area, which includes livestock sheds, feeding areas, waste disposal areas, manure treatment areas, and other indoor areas related to livestock activities. Based on the building layout and livestock distribution within the livestock farming area, deploy several sensors, including ammonia, hydrogen sulfide, methane, and carbon dioxide sensors. The number of each type of sensor is not limited and should be determined according to actual needs. Use these sensors to collect environmental data from the livestock farming area, such as the concentrations of ammonia, hydrogen sulfide, methane, and carbon dioxide. This environmental data reflects the air quality of the livestock farming area.
[0022] Based on the historical fluctuations of each environmental data point, a corresponding risk range is set for each sensor. When the collected environmental data exceeds the corresponding risk range, it indicates that the real-time concentration of one or more types of gases has exceeded the corresponding warning threshold, and the environmental conditions at that monitoring point have deviated from normal conditions. It is important to note that the risk range is not a threshold, but rather indicates that the environmental data may deviate from normal levels and requires attention. Even if the environmental data exceeds the risk range, there is no inherent safety risk in the livestock farming area. When the environmental data from a particular sensor exceeds its corresponding risk range, the corresponding sensor is defined as an abnormal device. An abnormal device indicates that the corresponding area may face risks such as deteriorating air quality, accumulation of harmful gases, or abnormal ventilation.
[0023] S200: Using video surveillance equipment installed in the livestock breeding area, video frames containing abnormal equipment are collected, the breeding individual closest to the abnormal equipment is found, the monitoring object is obtained, a snapshot of the area where the monitoring object is located is captured, and a monitoring task is generated, wherein the monitoring task is: to put a portable monitoring device on the monitoring object.
[0024] The installation location of the abnormal equipment is determined. Using video surveillance equipment pre-installed in the livestock breeding area, video surveillance data at the installation location of the abnormal equipment is collected. Video frames containing the abnormal equipment are extracted from the continuous video stream, and image analysis and target recognition processing are performed on these frames to identify all livestock individuals within the video frame. Based on the pixel distance between the livestock individuals and the abnormal equipment, the livestock closest to the abnormal equipment is identified and defined as the monitoring target. A monitoring task is generated for the monitoring target. This task involves equipping the monitoring target with a portable monitoring device. The specific wearing method and location are not limited. By deploying small monitoring terminals on the monitoring target, real-time collection and recording of gas concentration, temperature, humidity, and other environmental indicators in the local environment are achieved. This provides more detailed data than fixed sensing equipment, more closely reflecting the actual living conditions of livestock, and facilitates the correction of environmental data collected by sensor equipment, verification of risks in abnormal areas, and analysis of the environmental impact on livestock individuals.
[0025] S300: Obtain the slaughter schedule of the livestock breeding area, send the monitoring task to the preset terminal, collect local monitoring data of the area where the monitoring object is located through the portable monitoring device, compare the local monitoring data with the environmental data of abnormal equipment, generate a correction factor, offset the environmental data, and divide the offset environmental data into several intervals, and edit emergency response rules corresponding to each interval.
[0026] Obtain the slaughter schedule, which is a timetable used in livestock farming areas to manage the timing of animal slaughter. It can also be understood as a schedule recording the time for livestock to be moved elsewhere for cleaning, processing, or grazing. When the slaughter time arrives, the monitoring task is sent to a preset terminal, which can be a mobile terminal for farm staff or a smart management terminal for the farm. This reminds farm staff to ensure that the monitored animals wear portable monitoring devices during the slaughter process, ensuring that the monitoring task does not interfere with the normal slaughter plan or animal relocation arrangements. After the monitored animals are returned to their enclosures, environmental data of the area where the animals are located is collected using portable monitoring equipment to obtain local monitoring data. Local monitoring data is more accurate because it is closer to the animals. The local monitoring data is compared item by item with the environmental data collected by abnormal equipment. Based on the differences between the two, a correction factor is calculated. The correction factor is used to correct the environmental data collected by the fixed sensor equipment (abnormal equipment). It reflects the deviation between the readings of the fixed sensor and the readings of the portable monitoring equipment. Even if the readings of the fixed sensor are accurate, they cannot capture the gas changes in the microenvironment in which the animals are most actually and directly located because they are farther away from the animals than the portable monitoring equipment. The monitoring results often represent the regional average environment rather than the actual environment in which the animals are exposed. Therefore, by setting a correction factor, the environmental data collected by the fixed sensor can be appropriately offset, so that while reflecting the regional average environment, the final data is more consistent with the actual environmental conditions faced by livestock and poultry.
[0027] The environmental data of abnormal equipment is offset by a correction factor to make it closer to the real environmental state. Based on the numerical characteristics of the offset environmental data, it is divided into several continuous intervals, each representing a different level of environmental risk. Corresponding emergency response rules are set for each interval, such as adjusting ventilation intensity, personnel patrol, local cleaning, adjusting breeding density, or emergency emission control.
[0028] S400: Uploads emergency response rules and offset environmental data to the configured edge device, and grants the edge device control permissions for the supporting system.
[0029] In livestock farming areas, edge devices are identified, and emergency response rules and offset environmental data are uploaded to the configured edge devices. After offsetting the environmental data using a correction factor, the corresponding emergency response rules are activated, and the edge devices are granted access to the supporting control system, including but not limited to ventilation equipment, sewage equipment, sprinkler cooling system, and alarm system. This allows for the rapid execution of corresponding control actions locally, significantly shortening response time.
[0030] In Example 2, Figure 2This diagram illustrates a first sub-flowchart of an environmental pollution monitoring method for livestock farming provided by an embodiment of the present invention. The steps of delineating livestock farming areas and utilizing sensing devices pre-deployed in the livestock farming areas are described in detail below: S101: Draw a plan of the livestock breeding area, locate the deployment positions of the sensing devices, and mark the airflow direction.
[0031] Draw a floor plan of the livestock breeding area to visually represent the structure of the livestock sheds, functional zones, passageway locations, manure treatment areas, and feeding areas. Determine the deployment locations of the sensing equipment and mark these locations on the floor plan. Based on the ventilation structure, fan layout, and location of natural light vents in the livestock sheds, mark the main airflow paths, i.e., the airflow direction, on the floor plan.
[0032] S102: Read the building layout in the floor plan, and adjust the deployment location using the building layout and airflow direction.
[0033] Based on the building layout and airflow direction in the floor plan, the deployment location is adjusted to ensure that the collected environmental data can accurately reflect the air quality of the livestock shed.
[0034] In Example 3, Figure 2 The first sub-flowchart of the environmental pollution monitoring method for livestock farming provided by an embodiment of the present invention is shown. The following details the step of defining the corresponding sensing device as an abnormal device when the environmental data exceeds the pre-edited risk range: S103: Collect historical environmental data from each sensor device, generate a monitoring information database, obtain environmental pollution events in the livestock breeding area, configure time windows, and define all historical environmental data under the time window as outliers.
[0035] Historical environmental data generated by each sensor device is aggregated to generate a monitoring information database, identifying environmental pollution events in livestock farming areas. An environmental pollution event is defined as an abnormal environmental event where a certain environmental data point exceeds a threshold. A time window is constructed based on the time point when environmental data first exceeds the threshold and the time point when it recovers below the threshold. All historical environmental data within this time window are defined as outliers.
[0036] S104: Delete the outliers in the monitoring information database, and select the maximum and minimum values to form a risk range.
[0037] In the monitoring information database, all outliers are deleted, and the maximum and minimum values are selected from the remaining historical environmental data to generate a risk range.
[0038] In Example 4, Figure 3 The second sub-flowchart of the environmental pollution monitoring method for livestock farming provided by an embodiment of the present invention is shown. The steps of finding the livestock individual closest to the abnormal device, obtaining the monitoring object, capturing a snapshot of the area where the monitoring object is located, and generating the monitoring task are described in detail below: S201: Divide the livestock breeding area into several zones, configure risk factors, and set the priority of each zone.
[0039] Based on geographical location, building layout, livestock density, and ventilation conditions, the livestock breeding area is divided into several zones, each of which is an independent monitoring unit. Each zone is assigned a corresponding priority, which includes high, medium, and low. The higher the priority, the greater the environmental risk and the more significant the potential impact on livestock health.
[0040] S202: Insert a tag generated by priority into the monitoring task.
[0041] The labels are displayed as notes, for example, a monitoring task is: "When the time of slaughter arrives at 10:15, put portable monitoring equipment on the monitoring object in the position shown in the figure below in zone C. This monitoring task has a high priority." In Example 5, Figure 4 The third sub-flowchart of the environmental pollution monitoring method for livestock farming provided by an embodiment of the present invention is shown. The following details the steps of collecting local monitoring data of the area where the monitoring object is located, comparing the local monitoring data with environmental data from abnormal equipment, and generating a correction factor: S301: Upload the environmental data and correction factor to the edge device and perform real-time correction on the environmental data.
[0042] Environmental data and correction factors are uploaded to edge devices, which then perform local corrections on the environmental parameters to obtain more accurate environmental parameter values.
[0043] S302: Write the environmental data before and after calibration into the preset template, generate a monitoring report, and send it to the preset terminal.
[0044] The environmental data before and after calibration are written into a preset template to obtain a monitoring report, which is then sent to a preset terminal via an edge device.
[0045] In Example 6, Figure 5The fourth sub-process flowchart of the environmental pollution monitoring method for livestock farming provided by an embodiment of the present invention is shown. The following details the steps of uploading the emergency response rules and offset environmental data to the configured edge device and granting the edge device control permissions of the supporting system: S401: Plot a trend graph with time on the x-axis and environmental data before and after correction on the y-axis, and store it in the edge device.
[0046] Plot a trend graph consisting of two curves with time on the x-axis and environmental data before and after correction on the y-axis. Upload the trend graph to the edge device and update it in real time.
[0047] S402: Insert several threshold lines into the trend graph, wherein each threshold line corresponds to at least one emergency response rule.
[0048] Insert several threshold lines into the trend chart. Each threshold line corresponds to one or more emergency response rules. When the environmental data exceeds the threshold line, the corresponding emergency response rule is activated.
[0049] Figure 6 This diagram illustrates the structural block diagram of an environmental pollution monitoring system for livestock farming provided by an embodiment of the present invention. The environmental pollution monitoring system 1 for livestock farming includes: Definition module 11 is used to delineate livestock breeding areas and collect environmental data using sensing devices pre-deployed in the livestock breeding areas. The sensing devices include at least: an ammonia sensor, a hydrogen sulfide sensor, and a methane sensor. When the environmental data exceeds the pre-edited risk range, the corresponding sensing device is defined as an abnormal device. The generation module 12 is used to use video monitoring equipment installed in the livestock breeding area to collect video frames containing abnormal equipment, find the breeding individual closest to the abnormal equipment, obtain the monitoring object, capture a snapshot of the area where the monitoring object is located, and generate a monitoring task, wherein the monitoring task is: to put a portable monitoring device on the monitoring object; Editing module 13 is used to obtain the slaughter time schedule of the livestock breeding area, send the monitoring task to the preset terminal, collect local monitoring data of the area where the monitoring object is located through the portable monitoring device, compare the local monitoring data with the environmental data of abnormal equipment, generate a correction factor, shift the environmental data, and divide the shifted environmental data into several intervals, and edit emergency response rules corresponding to each interval. Open module 14 is used to upload emergency response rules and offset environmental data to the configured edge device, and to grant the edge device control permissions of the supporting system.
[0050] Figure 7 This diagram illustrates the composition of a definition module 11 in an environmental pollution monitoring system for livestock farming provided by an embodiment of the present invention. The definition module 11 includes: Drawing unit 111 is used to draw a plan layout of the livestock breeding area, locate the deployment positions of the sensing devices, and mark the air flow direction; The reading unit 112 is used to read the building layout in the floor plan and adjust the deployment position using the building layout and airflow direction; The data acquisition unit 113 is used to collect historical environmental data from each sensor device, generate a monitoring information database, obtain environmental pollution events in the livestock breeding area, configure time windows, and define all historical environmental data under the time window as outliers. Unit 114 is used to delete outliers from the monitoring information database and select the maximum and minimum values to form a risk range.
[0051] Figure 8 This diagram illustrates the structural composition of a generation module 12 in an environmental pollution monitoring system for livestock farming provided by an embodiment of the present invention. The generation module 12 includes: The segmentation unit 121 is used to divide the livestock breeding area into several partitions, configure risk factors, and set the priority of each partition; Insertion unit 122 is used to insert tags generated by priority into the monitoring task.
[0052] Figure 9 This diagram illustrates the structural composition of an editing module 13 in an environmental pollution monitoring system for livestock farming provided by an embodiment of the present invention. The editing module 13 includes: The correction unit 131 is used to upload the environmental data and correction factor to the edge device and perform real-time correction on the environmental data; The writing unit 132 is used to write environmental data before and after calibration into a preset template, generate a monitoring report, and send it to a preset terminal.
[0053] Figure 10 This diagram illustrates the structural composition of an open module 14 in an environmental pollution monitoring system for livestock farming provided by an embodiment of the present invention. The open module 14 includes: Storage unit 141 is used to plot a trend graph with time as the horizontal axis and environmental data before and after correction as the vertical axis, and store it in the edge device; The handling unit 142 is used to insert a number of threshold lines into the trend graph, wherein each threshold line corresponds to at least one emergency handling rule.
[0054] The definition module 11 is mainly used to complete step S100, the generation module 12 is mainly used to complete step S200, the editing module 13 is mainly used to complete step S300, and the opening module 14 is mainly used to complete step S400. The drawing unit 111 is mainly used to complete step S101, the reading unit 112 is mainly used to complete step S102, the acquisition unit 113 is mainly used to complete step S103, and the assembly unit 114 is mainly used to complete step S104. The segmentation unit 121 is mainly used to complete step S201, and the insertion unit 122 is mainly used to complete step S202; The correction unit 131 is mainly used to complete step S301, and the writing unit 132 is mainly used to complete step S302. The storage unit 141 is mainly used to complete step S401, and the processing unit 142 is mainly used to complete step S402.
[0055] The technical features of the above embodiments can be combined in any way. For the sake of brevity, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0056] The embodiments described above are merely illustrative of several implementations of the present invention, and while the descriptions are specific and detailed, they should not be construed as limiting the scope of the present invention. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of the present invention, and these modifications and improvements all fall within the scope of protection of the present invention. Therefore, the scope of protection of this patent should be determined by the appended claims.
[0057] The above description is merely a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, and improvements made within the spirit and principles of the present invention should be included within the protection scope of the present invention.
Claims
1. A method for monitoring environmental pollution in livestock farming, characterized in that, The method includes: Livestock farming areas are delineated, and environmental data is collected using sensors pre-deployed in the livestock farming areas. The sensors include at least an ammonia sensor, a hydrogen sulfide sensor, and a methane sensor. When the environmental data exceeds the pre-edited risk range, the corresponding sensor is defined as an abnormal device. Using video surveillance equipment installed in livestock breeding areas, video frames containing abnormal equipment are collected, the breeding individual closest to the abnormal equipment is identified, the monitoring object is obtained, a snapshot of the area where the monitoring object is located is captured, and a monitoring task is generated, wherein the monitoring task is: to put a portable monitoring device on the monitoring object; Obtain the slaughter schedule of the livestock breeding area, send the monitoring task to the preset terminal, collect local monitoring data of the area where the monitoring object is located through the portable monitoring device, compare the local monitoring data with the environmental data of abnormal equipment, generate a correction factor, shift the environmental data, and divide the shifted environmental data into several intervals, and edit emergency response rules corresponding to each interval. The emergency response rules and the offset environmental data are uploaded to the configured edge device, and the control permissions of the supporting system are granted to the edge device.
2. The environmental pollution monitoring method applicable to livestock farming according to claim 1, characterized in that, The step of delineating livestock farming areas and utilizing sensing devices pre-deployed in the livestock farming areas includes: Draw a plan of the livestock breeding area, locate the deployment positions of the sensing devices, and mark the airflow direction; The building layout in the floor plan is read, and the deployment location is adjusted using the building layout and airflow direction.
3. The environmental pollution monitoring method applicable to livestock farming according to claim 2, characterized in that, The step of defining the corresponding sensing device as an abnormal device when environmental data exceeds the pre-edited risk range includes: Collect historical environmental data from each sensor device, generate a monitoring information database, obtain environmental pollution events in livestock farming areas, configure time windows, and define all historical environmental data under the time window as outliers. Delete outliers from the monitoring information database and select the maximum and minimum values to form a risk range.
4. The environmental pollution monitoring method applicable to livestock farming according to claim 1, characterized in that, The steps of finding the closest farmed individual to the abnormal device, obtaining the monitoring target, capturing a snapshot of the area where the monitoring target is located, and generating a monitoring task include: The livestock breeding area is divided into several zones, risk factors are configured, and the priority of each zone is set. Insert tags generated by priority into the monitoring task.
5. The environmental pollution monitoring method applicable to livestock farming according to claim 1, characterized in that, The step of collecting local monitoring data of the area where the monitoring object is located, comparing the local monitoring data with the environmental data of abnormal equipment, and generating a correction factor includes: The environmental data and correction factors are uploaded to the edge device, and the environmental data is corrected in real time. The environmental data before and after calibration are written into a preset template, a monitoring report is generated, and sent to a preset terminal.
6. The environmental pollution monitoring method for livestock farming according to claim 5, characterized in that, The steps of uploading the emergency response rules and the offset environmental data to the configured edge device, and granting the edge device control permissions for the supporting system, include: Plot a trend graph with time on the x-axis and environmental data before and after correction on the y-axis, and store it in the edge device; Insert several threshold lines into the trend graph, where each threshold line corresponds to at least one emergency response rule.
7. An environmental pollution monitoring system suitable for livestock farming, characterized in that, The system includes: The definition module is used to delineate livestock breeding areas and collect environmental data using sensors pre-deployed in the livestock breeding areas. The sensors include at least an ammonia sensor, a hydrogen sulfide sensor, and a methane sensor. When the environmental data exceeds the pre-edited risk range, the corresponding sensor is defined as an abnormal device. The generation module is used to use video surveillance equipment installed in the livestock breeding area to collect video frames containing abnormal equipment, find the breeding individual closest to the abnormal equipment, obtain the monitoring object, capture a snapshot of the area where the monitoring object is located, and generate a monitoring task, wherein the monitoring task is: to put a portable monitoring device on the monitoring object; The editing module is used to obtain the slaughter time schedule of the livestock breeding area, send the monitoring task to the preset terminal, collect local monitoring data of the area where the monitoring object is located through the portable monitoring device, compare the local monitoring data with the environmental data of abnormal equipment, generate a correction factor, shift the environmental data, and divide the shifted environmental data into several intervals, and edit the emergency response rules corresponding to each interval. The open module is used to upload emergency response rules and offset environmental data to the configured edge device, and to grant the edge device control permissions for the supporting system.
8. The environmental pollution monitoring system for livestock farming according to claim 7, characterized in that, The definition module includes: The drawing unit is used to draw a plan view of the livestock breeding area, locate the deployment positions of the sensing devices, and mark the air flow direction; The reading unit is used to read the building layout in the floor plan and adjust the deployment position using the building layout and airflow direction; The data acquisition unit is used to collect historical environmental data from each sensor device, generate a monitoring information database, obtain environmental pollution events in the livestock breeding area, configure time windows, and define all historical environmental data under the time window as outliers. The unit is used to delete outliers from the monitoring information database and select the maximum and minimum values to form a risk range.
9. The environmental pollution monitoring system for livestock farming according to claim 7, characterized in that, The generation module includes: The segmentation unit is used to divide the livestock breeding area into several partitions, configure risk factors, and set the priority of each partition; An insertion unit is used to insert tags generated by priority into the monitoring task.
10. The environmental pollution monitoring system for livestock farming according to claim 7, characterized in that, The editing module includes: The correction unit is used to upload the environmental data and correction factors to the edge device and perform real-time correction on the environmental data. The writing unit is used to write environmental data before and after calibration into a preset template, generate a monitoring report, and send it to a preset terminal.