Quantitative monitoring method and system for water intake of live pigs

By identifying the identity information of the pigs, building a liquid level change model, calculating the water consumption and sprinkling water, the problem of low accuracy of monitoring of water consumption in the existing technology of pigs is solved, and more accurate water consumption monitoring is achieved to ensure the standardization of the breeding process.

CN120092721APending Publication Date: 2025-06-06ANHUI AGRICULTURAL UNIVERSITY
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202510261752.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-03-06
Publication Date
2025-06-06

Smart Images

  • Figure CN120092721A_ABST
    Figure CN120092721A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of data monitoring, and discloses a live pig water intake quantitative monitoring method and system, and the method comprises the steps: constructing a liquid level transformation model, and recognizing the drinking water flow characteristics of a target live pig; extracting instantaneous flow characteristics and accumulated flow characteristics in the drinking water flow characteristics, collecting instantaneous water flow of the drinking water area, and calculating the instantaneous water intake of the target live pig according to the instantaneous water flow; extracting the water drinking height of the water drinking area corresponding to the target live pig, and calculating the water drinking volume corresponding to the water drinking height; standard water quantity and water weight of the water drinking area are collected, the splashing water quantity of the target live pigs is calculated according to the standard water quantity and the water weight, and the target water drinking quantity of the target live pigs is calculated according to the splashing quantity and the water drinking volume; the actual water intake of the target live pig is determined through the instantaneous water intake and the target water intake, and the water drinking state of the target live pig is recognized through the actual water intake. The accuracy of quantitative monitoring of the water intake of the live pigs can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of data monitoring, and in particular to a method and system for quantitatively monitoring the amount of water consumed by pigs. Background Art

[0002] With the continuous development of the pig farming industry, large-scale farming has gradually become the mainstream. In order to improve the quality and safety of pig farming, the industry has higher and higher requirements for the standardization of the farming process. As an important indicator in pig farming, quantitative monitoring of water intake helps to achieve standardization of the farming process.

[0003] The existing quantitative monitoring technology for pig water intake is to install a flow sensor on the pig's drinking water pipe to measure the volume or flow of water passing through the sensor. In actual applications, pigs will have various drinking situations during the drinking process, and different drinking situations will have different drinking amounts. Only considering the drinking amount measured by the flow sensor will lead to deviations in the drinking amount measurement, resulting in low accuracy in the quantitative monitoring of pig water intake. Summary of the invention

[0004] The present invention provides a method and system for quantitatively monitoring the amount of water drunk by pigs, the main purpose of which is to solve the problem of low accuracy in quantitative monitoring of the amount of water drunk by pigs.

[0005] To achieve the above purpose, the present invention provides a method for quantitatively monitoring the amount of water consumed by pigs, comprising:

[0006] Read the target identity information of the pigs according to the target distance between the pigs in the target area and the drinking water area, and determine the target pigs for drinking water according to the target identity information;

[0007] A liquid level transformation model is constructed through a liquid level mapping relationship between the historical water volume and the historical water level of the drinking water area, and the drinking water flow characteristics of the target pigs are identified through a preset dual time window;

[0008] Extracting the instantaneous flow characteristics and the cumulative flow characteristics from the drinking water flow characteristics, collecting the instantaneous water flow in the drinking water area according to the instantaneous flow characteristics, and calculating the instantaneous drinking water volume of the target pigs according to the instantaneous water flow;

[0009] Extracting the drinking water height of the drinking water area corresponding to the target pig according to the cumulative flow characteristics, and calculating the drinking water volume corresponding to the drinking water height using the liquid level transformation model;

[0010] Collect the standard water volume and water weight of the drinking water area, calculate the splashing water volume of the target pigs according to the standard water volume and the water weight using a preset double verification algorithm, and calculate the target drinking water volume of the target pigs according to the splashing quantity and the drinking water volume;

[0011] The actual water drinking amount of the target pig is determined by the instantaneous water drinking amount and the target water drinking amount, and the drinking status of the target pig is identified by using the actual water drinking amount.

[0012] Optionally, the step of reading target identity information of live pigs according to a target distance between live pigs in a target area and a drinking water area includes:

[0013] When the target distance is less than a preset distance threshold, the identity of the pig is read by a preset identification reader within a preset time period;

[0014] Generate an identity identifier sequence according to the identity identifier corresponding to the time period;

[0015] Identifying whether the identity identifiers in the identity identifier sequence are consistent;

[0016] When the identity identifiers are consistent, the target identity information of the live pig is identified according to the identity identifiers.

[0017] Optionally, the constructing of the liquid level transformation model through the liquid level mapping relationship between the historical water volume and the historical water level of the drinking water area includes:

[0018] Generate data mapping points and data verification points according to the liquid level mapping relationship;

[0019] Performing relationship fitting on the data mapping points to obtain an initial liquid level relationship;

[0020] Verifying the initial liquid level relationship using the data verification point to obtain a verification result;

[0021] The initial liquid level relationship is converted into a liquid level transformation model according to the verification result.

[0022] Optionally, the identifying the drinking water flow characteristics of the target pigs through a preset dual time window includes:

[0023] Extracting the drinking time of the target pig in the drinking area;

[0024] When the drinking water time is greater than or equal to the window time of the first time window in the double time window, the drinking water flow characteristic of the target pig is determined as the cumulative flow characteristic;

[0025] When the drinking time is less than the window time of the first time window in the dual time window, detecting whether the drinking time conforms to the second time window in the dual time window;

[0026] When the drinking water time matches the second time window in the double time window, the drinking water flow characteristic of the target pig is determined as an instantaneous flow characteristic;

[0027] The instantaneous flow characteristics and the cumulative flow characteristics are determined as the drinking water flow characteristics of the target pigs.

[0028] Optionally, collecting the instantaneous water flow rate of the drinking water area according to the instantaneous flow rate characteristics includes:

[0029] identifying the number of drinking pigs in the drinking area according to the instantaneous flow characteristics;

[0030] When the number of drinking water pigs is greater than or equal to a preset number threshold, extracting the first instantaneous drinking water time corresponding to different pigs according to the number of drinking water pigs;

[0031] When the number of drinking pigs is less than a preset number threshold, extracting the second instantaneous drinking time of the target pigs;

[0032] The flow sensor in the drinking water area is triggered by the first instantaneous drinking water time or the second instantaneous drinking water time, and the flow sensor is used to collect the instantaneous water flow in the drinking water area.

[0033] Optionally, the calculating the instantaneous drinking water amount of the target pigs according to the instantaneous water flow rate includes:

[0034] Extracting the single drinking time and the overlapping drinking time in the first instantaneous drinking time;

[0035] Identifying a first water flow rate among the instantaneous water flow rates corresponding to the single drinking time, and identifying a second water flow rate among the instantaneous water flow rates corresponding to the overlapping drinking time;

[0036] The instantaneous drinking water volume of the target pigs during the first instantaneous drinking water time is calculated according to the first water flow rate and the second water flow rate, wherein the instantaneous drinking water volume is calculated as:

[0037]

[0038] Wherein, S is the instantaneous drinking water amount, t i is the ith individual drinking time, δ 1i is the first water flow rate corresponding to the ith individual drinking time, T j is the jth overlapping drinking time, is the ith individual drinking time in the jth overlapping drinking time, δ 2ij is the second water flow rate corresponding to the i-th individual drinking time in the j-th overlapping drinking time;

[0039] The instantaneous water flow rate corresponding to the second instantaneous drinking water time is identified, and the instantaneous drinking water amount of the target pig is calculated according to the second instantaneous drinking water time and the instantaneous water flow rate.

[0040] Optionally, the calculating the drinking water volume corresponding to the drinking water height by using the liquid level transformation model includes:

[0041] Identify the regional environment corresponding to the drinking water area; detect the influence of the regional environment on the water volume of the drinking water area, and calculate the additional water volume corresponding to the water volume influence;

[0042] The target drinking water volume corresponding to the drinking water height is calculated using the liquid level transformation model, wherein the liquid level transformation model is:

[0043] V=f(h)+γ

[0044] Wherein, V is the target drinking water volume, f(h) is the relationship function of the drinking water volume corresponding to the drinking water height h, and γ is the drinking water volume error coefficient;

[0045] The additional water volume and the target water drinking volume are added to obtain the water drinking volume.

[0046] Optionally, the method of calculating the amount of water to be splashed on the target pigs according to the standard amount of water and the water weight using a preset double verification algorithm includes:

[0047] Calculate a first splashing water volume for the target pigs according to the standard water volume and the drinking water volume;

[0048] Calculating a second amount of water to be splashed on the target pigs according to the water weight;

[0049] The following double verification algorithm is used to calculate the error amount of water sprayed on the target pigs according to the first amount of water sprayed and the second amount of water sprayed:

[0050]

[0051] Where H is the number of splashing errors, w is the splashing weight, P 1 is the first watering amount, P 2 is the second splashing quantity, and max is the maximum value function;

[0052] The amount of water to be sprinkled on the target pigs is determined based on the sprinkle error water amount.

[0053] Optionally, determining the actual water intake of the target pigs by using the instantaneous water intake and the target water intake includes:

[0054] Extracting a first drinking time corresponding to the instantaneous drinking amount, and extracting a second drinking time corresponding to the target drinking amount;

[0055] Calculating the time interval between the first drinking water time and the second drinking water time;

[0056] When the time interval is less than a preset interval threshold, the instantaneous water intake and the target water intake are superimposed as the actual water intake of the target pig;

[0057] When the time interval is greater than or equal to a preset interval threshold, the target water intake is determined as the actual water intake of the target pig.

[0058] In order to solve the above problems, the present invention also provides a quantitative monitoring system for pig water drinking, the system comprising:

[0059] A target identity information reading module, used to read the target identity information of the pigs according to the target distance between the pigs in the target area and the drinking water area, and determine the target pigs for drinking water according to the target identity information;

[0060] A drinking water flow characteristic recognition module is used to construct a liquid level transformation model through the liquid level mapping relationship between the historical water volume and the historical water level of the drinking water area, and to recognize the drinking water flow characteristics of the target pig through a preset dual time window;

[0061] An instantaneous drinking water volume calculation module is used to extract the instantaneous flow characteristics and the cumulative flow characteristics from the drinking water flow characteristics, collect the instantaneous water flow in the drinking water area according to the instantaneous flow characteristics, and calculate the instantaneous drinking water volume of the target pigs according to the instantaneous water flow;

[0062] A drinking water volume calculation module, used to extract the drinking water height of the drinking water area corresponding to the target pig according to the cumulative flow characteristics, and calculate the drinking water volume corresponding to the drinking water height by using the liquid level transformation model;

[0063] The target drinking water volume module is used to collect the standard water volume and water weight of the drinking water area, calculate the splashing water volume of the target pigs according to the standard water volume and the water weight using a preset double verification algorithm, and calculate the target drinking water volume of the target pigs according to the splashing quantity and the drinking water volume;

[0064] The actual drinking water amount determination module is used to determine the actual drinking water amount of the target pig through the instantaneous drinking water amount and the target drinking water amount, and use the actual drinking water amount to identify the drinking water status of the target pig.

[0065] The embodiment of the present invention can accurately identify the specific individual pigs that are drinking water by reading the pig identity information through the target distance; using the dual time window to identify the drinking water flow characteristics, it can distinguish the instantaneous drinking water and cumulative drinking water conditions of the pigs; collecting the instantaneous water flow and calculating the instantaneous drinking water volume, it can grasp the drinking water intensity and changes of the pigs in a short time in real time; extracting the drinking water height and calculating the drinking water volume through the cumulative flow characteristics, it can accurately quantify the overall drinking water volume of the pigs in a period of time; considering the impact of the splashing water volume on the target drinking water volume, it can more accurately calculate the actual water intake of the target pigs; the actual drinking water volume comprehensively considers the instantaneous drinking water volume and the target drinking water volume, and can more comprehensively reflect the drinking water situation of the pigs. Therefore, the quantitative monitoring method and system of pig drinking water volume proposed by the present invention can solve the problem of low accuracy when performing quantitative monitoring of pig drinking water volume. BRIEF DESCRIPTION OF THE DRAWINGS

[0066] Figure 1 A schematic diagram of a flow chart of a method for quantitatively monitoring water intake of pigs provided in one embodiment of the present invention;

[0067] Figure 2 This is a functional module diagram of a system for quantitatively monitoring water intake of pigs provided in one embodiment of the present invention.

[0068] The realization of the purpose, functional features and advantages of the present invention will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION

[0069] It should be understood that the specific embodiments described herein are only used to explain the present invention, and are not used to limit the present invention.

[0070] The embodiment of the present application provides a method for quantitatively monitoring the amount of water consumed by pigs. The execution subject of the method for quantitatively monitoring the amount of water consumed by pigs includes but is not limited to at least one of the electronic devices such as a server and a terminal that can be configured to execute the method provided in the embodiment of the present application. In other words, the method for quantitatively monitoring the amount of water consumed by pigs can be executed by software or hardware installed on a terminal device or a server device, and the software can be a blockchain platform. The server includes but is not limited to: a single server, a server cluster, a cloud server or a cloud server cluster, etc. The server can be an independent server, or it can be a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, content delivery networks (CDN), and big data and artificial intelligence platforms.

[0071] Reference Figure 1FIG. 1 is a flow chart of a method for quantitatively monitoring the drinking water volume of pigs according to an embodiment of the present invention. In this embodiment, the method for quantitatively monitoring the drinking water volume of pigs includes:

[0072] S1. Read the target identity information of the pigs according to the target distance between the pigs in the target area and the drinking water area, and determine the target pigs for drinking water according to the target identity information.

[0073] In the embodiment of the present invention, the target distance refers to the spatial distance between the location of the live pig and the drinking water area, and the target identity information includes the breed, age, gender, health status record, and historical water drinking volume data of the live pig.

[0074] In the embodiment of the present invention, the target identification information of the live pigs is read according to the target distance between the live pigs in the target area and the drinking water area, including:

[0075] When the target distance is less than a preset distance threshold, the identity of the pig is read by a preset identification reader within a preset time period;

[0076] Generate an identity identifier sequence according to the identity identifier corresponding to the time period;

[0077] Identifying whether the identity identifiers in the identity identifier sequence are consistent;

[0078] When the identity identifiers are consistent, the target identity information of the live pig is identified according to the identity identifiers.

[0079] In detail, in the target area where the pigs are located, by installing a positioning device (such as a positioning system based on Bluetooth, Wi-Fi or GPS technology), the position coordinates of the pigs can be obtained in real time, and then the distance between them and the drinking water area can be calculated. Assuming that the position coordinates of the drinking water area are known, the coordinates of a certain pig are known through the positioning system, and then the target distance between the pig and the drinking water area is determined based on the distance formula between the two points, and the target distance is compared with a preset distance threshold, and the distance threshold is custom set, such as setting the distance to 0.5 meters.

[0080] Specifically, when the target distance between the live pig and the drinking water area is less than the distance threshold, it means that the live pig is close to the drinking water area and may be about to drink water. For example, the distance threshold is set to 0.5 meters. When it is detected that the distance between a live pig and the drinking water area is less than 0.5 meters, the operation of reading the identity information will be triggered. The identification reader generally refers to an RFID reader. The live pig wears an RFID electronic ear tag. When the live pig is close to the drinking water area (the target distance is less than the threshold), the RFID reader will continue to work within a preset time period (such as 5 seconds) and try to read the identity in the pig's ear tag. For example, within these 5 seconds, the RFID reader continuously sends radio frequency signals. When the live pig enters its effective identification range, the electronic ear tag will return its own stored identity information after receiving the signal, such as numbers 001 and 002.

[0081] For example, multiple pigs may drink water in the same drinking area during the same period of time, i.e., at t 1 -t 2 During the time period, the pigs identified as 001 and 002 were found to be 2 -t 3 During the time period, the pigs identified as 001 and 002 were found to be 3 -t 4 During the time period, the pig's identity is identified as 001. Two identity sequences can be generated based on the identity corresponding to the time period, namely {001, 001, 001} and {002, 002}. The identity sequences are then checked for consistency. If they are consistent, the pig's identity information is read.

[0082] Furthermore, the database based on the detailed information of the live pigs contains the identity of each live pig and the corresponding target identity information. If the acquired target identity information contains a specific identity, such as 001, the corresponding live pig records can be filtered out from the database through a database query statement (such as an SQL statement: SELECT*FROM pigs WHERE identity_id=001), thereby determining the uniqueness of the live pig and extracting the identity information of the target live pig that needs drinking water.

[0083] Furthermore, after determining the identity information of the target pig that needs to drink water, it is necessary to analyze the liquid level corresponding to the target pig's drinking fountain to determine the final amount of water consumed by the target pig.

[0084] S2. Constructing a liquid level transformation model through the liquid level mapping relationship between the historical water volume and the historical water level of the drinking water area, and identifying the drinking water flow characteristics of the target pigs through a preset dual time window.

[0085] In the embodiment of the present invention, the liquid level conversion model refers to a mathematical model that describes the mutual conversion relationship between the water volume and the water level in the drinking water area.

[0086] In the embodiment of the present invention, the liquid level transformation model is constructed by using the liquid level mapping relationship between the historical water volume and the historical water level of the drinking water area, including:

[0087] Generate data mapping points and data verification points according to the liquid level mapping relationship;

[0088] Performing relationship fitting on the data mapping points to obtain an initial liquid level relationship;

[0089] Verifying the initial liquid level relationship using the data verification point to obtain a verification result;

[0090] The initial liquid level relationship is converted into a liquid level transformation model according to the verification result.

[0091] In detail, drinking water areas are not necessarily regular areas. Therefore, it is necessary to construct a liquid level transformation model to accurately measure the drinking water volume of pigs in irregular drinking water areas. The liquid level mapping relationship means that there is a corresponding relationship between the historical water volume and the historical water level in the drinking water area. For example, when the water volume is 100 liters, the water level height is 50 cm; when the water volume is 150 liters, the water level height is 60 cm, etc., and from a large number of liquid level mapping relationship data, a part of data points are selected to constitute data mapping points, such as (50,100), (60,150), (200,70) and other points are selected as data mapping points for subsequent relationship fitting. In order to verify whether the relationship fitted by the data mapping points is accurate, it is also necessary to select another part of different data points from the liquid level mapping relationship data as data verification points. The data verification points do not participate in the relationship fitting process and are only used for verification.

[0092] Specifically, mathematical methods, such as the least squares method, are used to analyze the selected data mapping points to obtain a functional relationship so that the function is as close to the data mapping point as possible, such as y=ax 2 +bx+C, the function represents the initial liquid level relationship, which is a preliminary model based on the data mapping points that describes the relationship between water volume and water level. The data verification points are substituted into the initial liquid level relationship function. If the error is within an acceptable range, it means that the initial liquid level relationship is relatively accurate. If the error is too large, the fitting process needs to be adjusted. If the verification result shows that the error of the initial liquid level relationship is within an acceptable range, then the initial liquid level relationship is directly used as a liquid level transformation model to calculate the water volume at different water levels, or to reversely infer the water level based on the water volume.

[0093] Furthermore, the drinking of pigs is not a uniform and continuous process, but rather a phased and fluctuating process. A single time window may not be able to fully capture these complex behavioral details. For example, in a short time window, you may only be able to observe the flow of a pig's short drinking time, but you cannot understand its overall drinking pattern over a longer period of time. Therefore, it is necessary to comprehensively analyze the two situations. Obtaining data from two time windows can more comprehensively and meticulously analyze the drinking flow characteristics of the target pigs.

[0094] In the embodiment of the present invention, the drinking water flow characteristics represent various flow-related characteristics of the target pig during the drinking process, including the drinking behavior of the pig at a certain moment or in a very short time and the drinking behavior of the pig over a longer period of time, which comprehensively reflects the total water intake of the pig in a complete drinking process.

[0095] In the embodiment of the present invention, the method of identifying the drinking water flow characteristics of the target pigs through a preset dual time window includes:

[0096] Extracting the drinking time of the target pig in the drinking area;

[0097] When the drinking water time is greater than or equal to the window time of the first time window in the double time window, the drinking water flow characteristic of the target pig is determined as the cumulative flow characteristic;

[0098] When the drinking time is less than the window time of the first time window in the dual time window, detecting whether the drinking time conforms to the second time window in the dual time window;

[0099] When the drinking water time matches the second time window in the double time window, the drinking water flow characteristic of the target pig is determined as an instantaneous flow characteristic;

[0100] The instantaneous flow characteristics and the cumulative flow characteristics are determined as the drinking water flow characteristics of the target pigs.

[0101] In detail, through sensor equipment (such as RFID readers combined with flow sensors), it is possible to monitor in real time when the target pigs enter the drinking area and start drinking water, and when they leave the drinking area and stop drinking water. By recording these two time points and calculating the time difference between the two, the drinking time of the target pigs in the drinking area can be obtained. For example, if the pigs enter the drinking area at 10:05 am and leave at 10:10 am, then their drinking time is 5 minutes; or if the pigs enter the drinking area at 10:05:01 am and leave at 10:05:03 am, then their drinking time is 2 seconds. The shorter time window (such as 3 seconds) in the dual time window can accurately capture the detailed characteristics of the flow peak, starting flow and ending flow at each drinking moment of the pigs, while the longer time window (such as 3 minutes) can grasp the drinking frequency, total drinking water distribution and other characteristics of the pigs over a relatively long period of time from a macro perspective. By comprehensively analyzing the data of the two time windows, the drinking flow characteristics of the target pigs can be more comprehensively and meticulously portrayed.

[0102] Specifically, the first time window is a pre-set longer time span, such as 3 minutes. When the target pig's drinking time reaches or exceeds this time, it means that its drinking process is relatively continuous and complete, and what is recorded is the total amount of drinking water accumulated by the target pig during this period, that is, the cumulative flow characteristics; if the pig's drinking time is less than the time set in the first time window, it means that its drinking behavior is relatively short, and it needs to be judged through the second time window. The second time window is usually a shorter time span, such as 3 seconds, then it is necessary to judge whether the short drinking time is within the second time window. Within the permitted range, if the drinking time of the pigs is within the second time window, the drinking flow of the target pigs in a very short time, that is, the instantaneous flow characteristics, are analyzed. For example, within the 3-second drinking time, the instantaneous drinking volume measured by the flow sensor at a certain moment is 0.15 liters / second, which indicates the instantaneous flow characteristics of the pig's short-term drinking behavior. The drinking behaviors of different durations respectively determine the corresponding instantaneous flow characteristics or cumulative flow characteristics. These two characteristics together constitute the complete drinking flow characteristics of the target pigs, so that the actual drinking volume of the target pigs can be analyzed more comprehensively.

[0103] Furthermore, based on the drinking water flow characteristics, it can be determined whether the target pigs drink water for a long time or just touch the water source, thereby accurately analyzing the target pigs' drinking water volume based on different drinking water flow characteristics.

[0104] S3. Extract the instantaneous flow characteristics and the cumulative flow characteristics from the drinking water flow characteristics, collect the instantaneous water flow in the drinking water area according to the instantaneous flow characteristics, and calculate the instantaneous drinking water volume of the target pigs according to the instantaneous water flow.

[0105] In the embodiment of the present invention, the instantaneous flow characteristic refers to the drinking water flow of the pigs in a very short time, and the cumulative flow characteristic refers to the total drinking water accumulation of the pigs over a long period of time. The instantaneous flow characteristic and the cumulative flow characteristic are extracted from a pre-stored storage area through a computer statement with data capture function (such as Java statements, Python statements, etc.).

[0106] Furthermore, the instantaneous flow characteristics represent the drinking water flow of pigs in a very short period of time. By collecting the instantaneous water flow in the drinking area, the drinking intensity of the pigs at the moment can be grasped in real time. The drinking behavior of pigs is not uniform, but there are many details. Collecting the instantaneous water flow can capture the subtle changes in the drinking water of pigs.

[0107] In the embodiment of the present invention, the instantaneous water flow rate refers to the volume flow rate of water flowing through the drinking area (such as the water outlet of a drinking fountain, a certain cross-section of a water pipe, etc.) at a specific moment, which is usually expressed as the volume of water flowing through per unit time, such as liters / second, etc., and is an instantaneous indicator to measure the water flow state during the drinking process of live pigs.

[0108] In the embodiment of the present invention, the step of collecting the instantaneous water flow rate of the drinking water area according to the instantaneous flow rate characteristics includes:

[0109] identifying the number of drinking pigs in the drinking area according to the instantaneous flow characteristics;

[0110] When the number of drinking water pigs is greater than or equal to a preset number threshold, extracting the first instantaneous drinking water time corresponding to different pigs according to the number of drinking water pigs;

[0111] When the number of drinking pigs is less than a preset number threshold, extracting the second instantaneous drinking time of the target pigs;

[0112] The flow sensor in the drinking water area is triggered by the first instantaneous drinking water time or the second instantaneous drinking water time, and the flow sensor is used to collect the instantaneous water flow in the drinking water area.

[0113] In detail, various sensors (such as RFID readers and writers combined with flow sensors) can be used to monitor the instantaneous flow characteristics of pigs in the drinking area in real time. The number of drinking pigs corresponding to the drinking area can be determined based on the identity tags recognized by the RFID reader and writer. For example, if two identity tags are recognized, the number of drinking pigs is two. When the number of drinking pigs identified reaches or exceeds the pig number threshold, it means that there are many pigs drinking water in the drinking area at the same time. The drinking time period of each pig is extracted, that is, the first instantaneous drinking time. By recording the time points, the flow sensor is accurately triggered according to the drinking time of different pigs to collect the instantaneous water flow of each pig in their respective drinking time periods.

[0114] Specifically, if the number of drinking pigs is less than the preset threshold, such as there is only one pig in the drinking area, the focus at this time is on the drinking time of this pig, and the time period for the target pig to drink water, that is, the second instantaneous drinking time, is extracted. The second instantaneous drinking time will be used to trigger the flow sensor to collect the instantaneous water flow of the target pig during the drinking process. Assuming that the target pig is pig number 008, it is recorded that it starts drinking water at 10:02:10 and ends drinking water at 10:02:15, and then the flow sensor is triggered during this period, and the flow sensor is used to collect the instantaneous water flow in the drinking area.

[0115] Furthermore, the instantaneous water flow rate reflects the size of the water flow through the drinking area at a specific moment. By calculating the instantaneous water intake of the target pigs, the actual amount of water consumed by the pigs at the moment can be accurately grasped, and the degree of water demand of the pigs at the moment can be intuitively displayed.

[0116] In the embodiment of the present invention, the instantaneous drinking water volume refers to the amount of water that the target pig takes in in a very short time, which reflects the volume of water that the pig actually drinks in a certain moment or a very short period of time.

[0117] In the embodiment of the present invention, the instantaneous drinking water amount of the target pigs is calculated according to the instantaneous water flow rate, including:

[0118] Extracting the single drinking time and the overlapping drinking time in the first instantaneous drinking time;

[0119] Identifying a first water flow rate among the instantaneous water flow rates corresponding to the single drinking time, and identifying a second water flow rate among the instantaneous water flow rates corresponding to the overlapping drinking time;

[0120] The instantaneous drinking water volume of the target pigs during the first instantaneous drinking water time is calculated according to the first water flow rate and the second water flow rate, wherein the instantaneous drinking water volume is calculated as:

[0121]

[0122] Wherein, S is the instantaneous drinking water amount, t i is the ith individual drinking time, δ 1i is the first water flow rate corresponding to the ith individual drinking time, T j is the jth overlapping drinking time, is the ith individual drinking time in the jth overlapping drinking time, δ 2ij is the second water flow rate corresponding to the i-th individual drinking time in the j-th overlapping drinking time;

[0123] The instantaneous water flow rate corresponding to the second instantaneous drinking water time is identified, and the instantaneous drinking water amount of the target pig is calculated according to the second instantaneous drinking water time and the instantaneous water flow rate.

[0124] In detail, in the scenario where multiple pigs drink water at the same time, it is necessary to conduct a detailed analysis of the drinking time of each pig. The individual drinking time refers to the time period when a certain pig drinks water alone in the drinking area without other pigs drinking water at the same time, and the overlapping drinking time refers to the time period when multiple pigs drink water in the drinking area at the same time. For example, assuming that there are three pigs A, B, and C in the drinking area, pig A drinks water alone from 10:00 to 10:05, which is an individual drinking time for pig A; during the period from 10:05 to 10:10, pigs A, B, and C drink water at the same time, which is the overlapping drinking time. By dividing the first instantaneous drinking time, the amount of water drunk by each pig under different drinking conditions can be calculated more accurately.

[0125] Specifically, the first water flow rate refers to the instantaneous water flow rate corresponding to the target pig during the individual drinking time. For example, when pig A drinks water alone from 10:00 to 10:05, the instantaneous water flow rate measured by the flow sensor at this time (such as 0.1 liters / second) is the first water flow rate; the second water flow rate is the instantaneous water flow rate for the target pig during the overlapping drinking time. Since multiple pigs drink water at the same time during the overlapping drinking time, it is necessary to clarify the water flow rate for each pig. For example, during the overlapping drinking time from 10:05 to 10:10, the instantaneous water flow rate measured for pig A (such as 0.08 liters / second), the instantaneous water flow rate measured for pig B (such as 0.05 liters / second), and the instantaneous water flow rate measured for pig C (such as 0.1 liter / second) are the second water flow rate, and the instantaneous water drinking amount is then calculated based on the first water flow rate and the second water flow rate.

[0126] Exemplarily, pig A has two separate drinking water time periods, t 1 = 5 seconds, corresponding to δ 11 0.1L / s, t 2 = 3 seconds, corresponding to δ 11 is 0.11 L / s, then the instantaneous drinking water volume of pig A during the single drinking time period is 0.83 L, while during the overlapping drinking time T 1 = Within 10 seconds, pig A The corresponding second water flow rate δ 211=0.08L / s, then the drinking water volume of the overlapping time period is allocated according to the relative drinking time ratio of different pigs in the overlapping time period, then the instantaneous drinking water volume of pig A in the overlapping time period is 0.032L, and the instantaneous drinking water volume of the two parts is added together to obtain the instantaneous drinking water volume of the target pig A in the first instantaneous drinking time; and when there is only one pig in the drinking area, it is only necessary to obtain the instantaneous water flow rate corresponding to the target pig in the second instantaneous drinking time, for example, the target pig drinks water at 10:15-10:20, and the measured instantaneous water flow rate is 0.12L / s, then the instantaneous water flow rate is directly calculated multiplied by the drinking time, that is, 0.6L (assuming the drinking time is 5 seconds), so that the instantaneous drinking water volume of the target pig in different drinking scenarios can be accurately calculated.

[0127] Furthermore, after analyzing the instantaneous water drinking volume of the target pigs under instantaneous conditions, it is also necessary to analyze the water drinking volume of the target pigs under long-term drinking conditions, so as to determine the actual water drinking volume of the target pigs within a preset time period.

[0128] S4. Extract the drinking water height of the drinking water area corresponding to the target pig according to the cumulative flow characteristics, and calculate the drinking water volume corresponding to the drinking water height using the liquid level transformation model.

[0129] In an embodiment of the present invention, the drinking water height refers to the remaining water height in the drinking water area after the target pig drinks water in the drinking water area, wherein the regional shape of the drinking water area can be identified by an image recognition algorithm, and the remaining water height in the drinking water area after the target pig drinks water can be identified based on the regional shape.

[0130] Furthermore, in order to directly quantify the actual amount of water consumed by pigs, the measured drinking water height needs to be converted into the corresponding drinking water volume to ensure accurate identification of the pigs' drinking water volume.

[0131] In the embodiment of the present invention, the drinking water volume refers to the volume of water drunk by the pigs in the drinking water area.

[0132] In the embodiment of the present invention, the step of calculating the drinking water volume corresponding to the drinking water height by using the liquid level transformation model includes:

[0133] Identify the regional environment corresponding to the drinking water area; detect the influence of the regional environment on the water volume of the drinking water area, and calculate the additional water volume corresponding to the water volume influence;

[0134] The target drinking water volume corresponding to the drinking water height is calculated using the liquid level transformation model, wherein the liquid level transformation model is:

[0135] V=f(h)+γ

[0136] Wherein, V is the target drinking water volume, f(h) is the relationship function of the drinking water volume corresponding to the drinking water height h, and γ is the drinking water volume error coefficient;

[0137] The additional water volume and the target water drinking volume are added to obtain the water drinking volume.

[0138] In detail, the drinking area is under different environmental conditions. Identifying the regional environment is to determine the specific environmental conditions of the drinking area, including but not limited to factors such as temperature, humidity, ventilation, and whether there are special interference sources. For example, in the hot summer, the temperature of the drinking area is high, and the evaporation of water may be accelerated; or in a well-ventilated pig house, air flow will also affect the loss of water. These environmental data are collected through sensors and other equipment; different regional environments will have different degrees of impact on the amount of water in the drinking area. For example, a high temperature environment will accelerate the evaporation of water, thereby reducing the actual amount of water; a high humidity environment may reduce the amount of water evaporation. By establishing a relationship model between environmental factors and water volume changes, the degree of influence of the current regional environment on the amount of water in the drinking area is detected. For example, in the current high temperature environment, the proportion of water reduction due to evaporation per hour is 5%. Knowing that the initial water volume is 100 liters, the additional water volume reduced within 1 hour (i.e., the additional water volume) is 100×5%=5 liters.

[0139] Specifically, the target drinking volume corresponding to the drinking height is calculated by the liquid level transformation model. For example, after fitting, f(h)=2h is obtained. When the drinking height is measured to be h=3 cm, f(3)=6 liters, and γ is the drinking volume error coefficient. Considering the errors in the actual measurement and model fitting process, generally γ=0.5, then the target drinking volume calculated at this time is 6.5 liters. The target drinking volume is based on the theoretical drinking volume calculated according to the current drinking height based on the liquid level transformation model, taking into account certain errors. Due to the regional environment It will affect the amount of water, so the actual drinking water volume needs to comprehensively consider the target drinking water volume and the additional water volume. If the additional water volume calculated earlier is a decrease of 5 liters (recorded as -5 liters), and the target drinking water volume is 6.5 liters, then the drinking water volume is 1.5 liters. If the additional water volume increases, such as in an environment with high humidity, the water volume increases by 3 liters due to reduced evaporation, and the target drinking water volume is 6.5 liters, then the drinking water volume is 9.5 liters, so that the actual drinking water volume corresponding to the drinking water height in the current regional environment can be obtained more accurately.

[0140] Furthermore, when drinking water, pigs do not necessarily drink all the water, and some water will be spilled outside. Therefore, in order to accurately identify the amount of water drunk by pigs, it is also necessary to analyze the amount of water spilled by pigs.

[0141] S5. Collect the standard water volume and water weight in the drinking water area, calculate the splashing water volume of the target pigs according to the standard water volume and the water weight using a preset double verification algorithm, and calculate the target drinking water volume of the target pigs according to the splashing quantity and the drinking water volume.

[0142] In an embodiment of the present invention, the standard water volume refers to the water flow data flowing through the water fountain (drinking area) and entering the mouth of the pig continuously recorded by the flow sensor. During the entire drinking process, the flow sensor collects data once per second; the water weight refers to a pressure sensor configured below the drinking area, which can measure the weight of water spilled by the pig during the drinking process, thereby using the collected standard water volume and water weight to accurately calculate the amount of water spilled by the target pig during the drinking process, wherein the spilled water volume refers to the partial amount of water spilled by the pig during the drinking process.

[0143] In the embodiment of the present invention, the method of calculating the amount of water to be splashed on the target pigs according to the standard amount of water and the water weight using a preset double verification algorithm includes:

[0144] Calculate a first splashing water volume for the target pigs according to the standard water volume and the drinking water volume;

[0145] Calculating a second amount of water to be splashed on the target pigs according to the water weight;

[0146] The following double verification algorithm is used to calculate the error amount of water sprayed on the target pigs according to the first amount of water sprayed and the second amount of water sprayed:

[0147]

[0148] Where H is the number of splashing errors, w is the splashing weight, P 1 is the first watering amount, P 2 is the second splashing quantity, and max is the maximum value function;

[0149] The amount of water to be sprinkled on the target pigs is determined based on the sprinkle error water amount.

[0150] In detail, the drinking water volume refers to the volume of water that is actually available for pigs to drink in the drinking water area. The standard quantity and the drinking water volume are combined to calculate the first water splashing volume for the target pigs. The weight of the water in the drinking water area is measured by a weighing device. Since the density of water is known (at normal temperature and pressure, the density of water is about 1 kg / L), the measured water weight can be converted into water volume, thereby obtaining the second water splashing volume for the target pigs. For example, the measured weight of the spilled water is 5 kg. Since the density of water is usually 1 kg / L, the volume converted is 5 liters.

[0151] Specifically, in the double verification algorithm, w×|P 1 -P2 directly reflects the amount of water P sprayed obtained by two calculation methods 1 and P 2 For the absolute difference part, it can intuitively show the actual deviation degree between the two results, enabling a quick understanding of the direct difference size between the two. And is to divide the absolute difference by the larger value of P 1 and P 2 to obtain a relative ratio. The relative difference reflects the difference situation from another angle. By considering both the absolute and relative differences simultaneously, the formula can more comprehensively describe the relationship between the two calculation results, avoiding judging solely based on the absolute difference and ignoring the magnitude impact of the data itself. The weight coefficient w (0 < w ≤ 1) can be flexibly adjusted according to the actual breeding scenario and data characteristics. In actual breeding, the accuracy and stability of different measurement methods are different. If a certain measurement method, such as the method of calculating the amount of water sprayed based on the standard quantity and drinking water volume, has been proven to be more reliable for a long time, w can be set to a larger value, such as 0.7. Thus, when calculating the water spraying error amount, more emphasis will be placed on the difference calculated by this reliable method, highlighting its importance in the final result. Conversely, if the reliability of the two measurement methods is comparable, w can take a middle value, such as 0.5, so that the absolute difference and the relative difference have equal weights in the calculation, thus ensuring that the calculation of the water spraying error amount can better fit the actual situation.

[0152] Furthermore, the water spraying error amount H reflects the difference between the amounts of water sprayed obtained by the two calculation methods. Based on the error amount, the spraying quantity for the target live pigs can be adjusted or determined. For example, if the water spraying error amount H is less than the preset error threshold, it indicates that the results obtained by the two calculation methods are relatively close. Then one of the values (such as P 1 or P 2 ) can be taken as the spraying quantity for the target live pigs; if the water spraying error amount H is greater than the preset error threshold, a weighted average operation is performed on P 1 and P 2 to obtain the spraying quantity, and then the target drinking water volume of the target live pigs is calculated based on the spraying quantity and the drinking water volume. The target drinking water volume is the drinking water volume of the live pigs over a long period of time. The target drinking water volume minus the spraying quantity is used as the target drinking water volume of the target live pigs, and the target drinking water volume refers to the drinking water volume of the live pigs over a long period of time.

[0153] Even further, the instantaneous drinking water volume reflects the drinking water situation of the live pigs at a certain moment or within a short period of time, and can reflect their current drinking intensity in real time. The target drinking water volume refers to the drinking water volume of the live pigs over a long period of time. To more accurately analyze the actual drinking water volume of the live pigs, it is necessary to comprehensively analyze the instantaneous drinking water volume and the target drinking water volume.

[0154] S6. Determine the actual water drinking amount of the target pigs through the instantaneous water drinking amount and the target water drinking amount, and identify the drinking status of the target pigs using the actual water drinking amount.

[0155] In the embodiment of the present invention, the actual water intake refers to the actual water intake of the target pigs in a specific time period determined by comprehensively considering the instantaneous water intake and the target water intake.

[0156] In the embodiment of the present invention, the determining the actual drinking water amount of the target pigs by using the instantaneous drinking water amount and the target drinking water amount includes:

[0157] Extracting a first drinking time corresponding to the instantaneous drinking amount, and extracting a second drinking time corresponding to the target drinking amount;

[0158] Calculating the time interval between the first drinking water time and the second drinking water time;

[0159] When the time interval is less than a preset interval threshold, the instantaneous water intake and the target water intake are superimposed as the actual water intake of the target pig;

[0160] When the time interval is greater than or equal to a preset interval threshold, the target water intake is determined as the actual water intake of the target pig.

[0161] In detail, the drinking water situation of the pigs is monitored in real time to obtain the instantaneous water drinking volume and the corresponding time information. The first drinking time is to record the specific moment when the instantaneous water drinking volume is obtained. For example, at 10:05 am, the instantaneous water drinking volume of a target pig is monitored to be 0.1 liters, then 10:05 am is the first drinking time corresponding to the instantaneous water drinking volume; the second drinking time is the starting time period of the target water drinking volume. Based on the first drinking time and the second drinking time, the difference between the two is calculated to determine the time interval.

[0162] Specifically, the preset interval threshold is used to judge whether the time relationship between the instantaneous water drinking amount and the target water drinking amount is close. When the interval between the first drinking time and the second drinking time is less than this threshold, it means that the drinking behavior corresponding to the instantaneous water drinking amount is close to the set time of the target water drinking amount. At this time, the instantaneous water drinking amount and the target water drinking amount are added, and the sum obtained is the actual water drinking amount of the target pig; when the interval between the first drinking time and the second drinking time is greater than or equal to the preset interval threshold, it means that the drinking behavior corresponding to the instantaneous water drinking amount is far from the set time interval of the target water drinking amount. At this time, it is considered that the instantaneous water drinking amount has little effect on the target water drinking amount, and the target water drinking amount is directly used as the actual water drinking amount of the target pig. Therefore, when the time interval is large, the pre-set target water drinking amount is used as the main reference to determine the actual water drinking amount, so as to avoid misjudgment of the actual water drinking amount of the pig due to interference from individual instantaneous water drinking amounts.

[0163] Furthermore, the drinking water status of the target pigs covers a variety of situations, including but not limited to whether the drinking water is sufficient, whether the drinking water is normal, and the regularity of drinking water. For example, sufficient drinking water means that the amount of water consumed by the pigs meets their physiological needs; normal drinking water means that there are no abnormal fluctuations in drinking behavior, such as sudden large amounts of water drinking or not drinking water for a long time; the regularity of drinking water involves whether the time distribution and frequency of the pigs' drinking water are stable within a day or a period of time. The actual water intake is compared with the reasonable water intake range of the pigs. If the actual water intake is within this reasonable range, it means that the pigs are drinking sufficient water; if the actual water intake is significantly lower than the lower limit of the reasonable range, it may mean that the pigs are not drinking enough water, and it is necessary to further check whether the drinking water equipment is normal and whether there are diseases that affect drinking water. For example, the reasonable water intake range for fattening pigs at a certain growth stage is 8-10 liters per day. If the calculated actual water intake is 6 liters, it reminds the breeder to pay attention to the drinking water situation of the pig.

[0164] The embodiment of the present invention can accurately identify the specific individual pigs that are drinking water by reading the pig identity information through the target distance; using the dual time window to identify the drinking water flow characteristics, it can distinguish the instantaneous drinking water and cumulative drinking water conditions of the pigs; collecting the instantaneous water flow and calculating the instantaneous drinking water volume, it can grasp the drinking water intensity and changes of the pigs in a short time in real time; extracting the drinking water height and calculating the drinking water volume through the cumulative flow characteristics, it can accurately quantify the overall drinking water volume of the pigs in a period of time; considering the impact of the splashing water volume on the target drinking water volume, it can more accurately calculate the actual water intake of the target pigs; the actual drinking water volume comprehensively considers the instantaneous drinking water volume and the target drinking water volume, and can more comprehensively reflect the drinking water situation of the pigs. Therefore, the quantitative monitoring method and system of pig drinking water volume proposed by the present invention can solve the problem of low accuracy when performing quantitative monitoring of pig drinking water volume.

[0165] like Figure 2 , which is a functional module diagram of a system for quantitatively monitoring water intake of pigs provided in one embodiment of the present invention.

[0166] The quantitative monitoring system 100 for drinking water of pigs of the present invention can be installed in an electronic device. According to the functions to be implemented, the quantitative monitoring system 100 for drinking water of pigs can include a target identity information reading module 101, a drinking water flow characteristic recognition module 102, an instantaneous drinking water volume calculation module 103, a drinking water volume calculation module 104, a target drinking water volume module 105 and an actual drinking water volume determination module 106. The module of the present invention can also be referred to as a unit, which refers to a series of computer program segments that can be executed by a processor of an electronic device and can complete fixed functions, which are stored in the memory of the electronic device.

[0167] In this embodiment, the functions of each module / unit are as follows:

[0168] The target identity information reading module 101 is used to read the target identity information of the pigs according to the target distance between the pigs in the target area and the drinking water area, and determine the target pigs for drinking water according to the target identity information;

[0169] The drinking water flow characteristic recognition module 102 is used to construct a liquid level transformation model through the liquid level mapping relationship between the historical water volume and the historical water level of the drinking water area, and recognize the drinking water flow characteristics of the target pig through a preset dual time window;

[0170] The instantaneous drinking water volume calculation module 103 is used to extract the instantaneous flow characteristics and the cumulative flow characteristics from the drinking water flow characteristics, collect the instantaneous water flow in the drinking water area according to the instantaneous flow characteristics, and calculate the instantaneous drinking water volume of the target pigs according to the instantaneous water flow;

[0171] The drinking water volume calculation module 104 is used to extract the drinking water height of the drinking water area corresponding to the target pig according to the cumulative flow characteristics, and calculate the drinking water volume corresponding to the drinking water height using the liquid level transformation model;

[0172] The target drinking water volume module 105 is used to collect the standard water volume and water weight of the drinking water area, calculate the splashing water volume of the target pigs according to the standard water volume and the water weight using a preset double verification algorithm, and calculate the target drinking water volume of the target pigs according to the splashing quantity and the drinking water volume;

[0173] The actual water drinking amount determining module 106 is used to determine the actual water drinking amount of the target pig according to the instantaneous water drinking amount and the target water drinking amount, and use the actual water drinking amount to identify the drinking status of the target pig.

[0174] In detail, each module described in the pig drinking water quantitative monitoring system 100 in the embodiment of the present invention is used in the same manner as described above. Figure 1 to Figure 2 The technical means are the same as the quantitative monitoring method of pig water drinking amount described in, and can produce the same technical effects, so I will not go into details here.

[0175] In the several embodiments provided by the present invention, it should be understood that the disclosed systems and methods can be implemented in other ways. For example, the system embodiments described above are only illustrative, for example, the division of the modules is only a logical function division, and there may be other division methods in actual implementation.

[0176] The modules described as separate components may or may not be physically separated, and the components shown as modules may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0177] In addition, each functional module in each embodiment of the present invention may be integrated into one processing unit, each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of hardware plus software functional modules.

[0178] It is obvious to those skilled in the art that the present invention is not limited to the details of the above exemplary embodiments, and that the present invention can be implemented in other specific forms without departing from the spirit or essential characteristics of the present invention.

[0179] Therefore, no matter from which point of view, the embodiments should be regarded as illustrative and non-restrictive, and the scope of the present invention is not limited only according to the above description, and it is intended that all changes within the meaning and scope of equivalent elements within the scope of protection are included in the present invention.

[0180] The embodiments of the present application can acquire and process relevant data based on artificial intelligence technology. Among them, artificial intelligence (AI) is the theory, method, technology and application system that uses digital computers or machines controlled by digital computers to simulate, extend and expand human intelligence, perceive the environment, acquire knowledge and use knowledge to obtain the best results.

[0181] In addition, it is clear that the word "comprising" does not exclude other units or steps, and the singular does not exclude the plural. Multiple units or systems stated in a system claim can also be implemented by one unit or system through software or hardware. The words first, second, etc. are used to indicate names, and do not indicate any particular order.

[0182] Finally, it should be noted that the above embodiments are only used to illustrate the technical solution of the present invention rather than to limit it. Although the present invention has been described in detail with reference to the preferred embodiments, those skilled in the art should understand that the technical solution of the present invention can be modified or replaced by equivalents without departing from the spirit and scope of the technical solution of the present invention.

Claims

1. A method for quantitatively monitoring the amount of water consumed by pigs, characterized in that: The method comprises: Read the target identity information of the pigs according to the target distance between the pigs in the target area and the drinking water area, and determine the target pigs for drinking water according to the target identity information; A liquid level transformation model is constructed through a liquid level mapping relationship between the historical water volume and the historical water level of the drinking water area, and the drinking water flow characteristics of the target pigs are identified through a preset dual time window; Extracting the instantaneous flow characteristics and the cumulative flow characteristics from the drinking water flow characteristics, collecting the instantaneous water flow in the drinking water area according to the instantaneous flow characteristics, and calculating the instantaneous drinking water volume of the target pigs according to the instantaneous water flow; Extracting the drinking water height of the drinking water area corresponding to the target pig according to the cumulative flow characteristics, and calculating the drinking water volume corresponding to the drinking water height using the liquid level transformation model; Collect the standard water volume and water weight of the drinking water area, calculate the splashing water volume of the target pigs according to the standard water volume and the water weight using a preset double verification algorithm, and calculate the target drinking water volume of the target pigs according to the splashing quantity and the drinking water volume; The actual water drinking amount of the target pig is determined by the instantaneous water drinking amount and the target water drinking amount, and the drinking status of the target pig is identified by using the actual water drinking amount.

2. The method for quantitatively monitoring the amount of water consumed by pigs according to claim 1, characterized in that: The method of reading the target identity information of the live pigs according to the target distance between the live pigs in the target area and the drinking water area comprises: When the target distance is less than a preset distance threshold, the identity of the pig is read by a preset identification reader within a preset time period; Generate an identity identifier sequence according to the identity identifier corresponding to the time period; Identifying whether the identity identifiers in the identity identifier sequence are consistent; When the identity identifiers are consistent, the target identity information of the live pig is identified according to the identity identifiers.

3. The method for quantitatively monitoring the amount of water consumed by pigs according to claim 1, characterized in that: The liquid level transformation model is constructed by using the liquid level mapping relationship between the historical water volume and the historical water level of the drinking water area, including: Generate data mapping points and data verification points according to the liquid level mapping relationship; Performing relationship fitting on the data mapping points to obtain an initial liquid level relationship; Verifying the initial liquid level relationship using the data verification point to obtain a verification result; The initial liquid level relationship is converted into a liquid level transformation model according to the verification result.

4. The method for quantitatively monitoring the amount of water consumed by pigs according to claim 1, characterized in that: The method of identifying the drinking water flow characteristics of the target pigs through the preset dual time window includes: Extracting the drinking time of the target pig in the drinking area; When the drinking water time is greater than or equal to the window time of the first time window in the double time window, the drinking water flow characteristic of the target pig is determined as the cumulative flow characteristic; When the drinking time is less than the window time of the first time window in the dual time window, detecting whether the drinking time conforms to the second time window in the dual time window; When the drinking water time matches the second time window in the double time window, the drinking water flow characteristic of the target pig is determined as an instantaneous flow characteristic; The instantaneous flow characteristics and the cumulative flow characteristics are determined as the drinking water flow characteristics of the target pigs.

5. The method for quantitatively monitoring the amount of water consumed by pigs according to claim 1, characterized in that: The collecting of the instantaneous water flow rate of the drinking water area according to the instantaneous flow rate characteristics comprises: identifying the number of drinking pigs in the drinking area according to the instantaneous flow characteristics; When the number of drinking water pigs is greater than or equal to a preset number threshold, extracting the first instantaneous drinking water time corresponding to different pigs according to the number of drinking water pigs; When the number of drinking pigs is less than a preset number threshold, extracting the second instantaneous drinking time of the target pigs; The flow sensor in the drinking water area is triggered by the first instantaneous drinking water time or the second instantaneous drinking water time, and the flow sensor is used to collect the instantaneous water flow in the drinking water area.

6. The method for quantitatively monitoring the amount of water consumed by pigs according to claim 5, characterized in that: The step of calculating the instantaneous drinking water amount of the target pigs according to the instantaneous water flow rate includes: Extracting the single drinking time and the overlapping drinking time in the first instantaneous drinking time; Identifying a first water flow rate among the instantaneous water flow rates corresponding to the single drinking time, and identifying a second water flow rate among the instantaneous water flow rates corresponding to the overlapping drinking time; The instantaneous drinking water volume of the target pigs during the first instantaneous drinking water time is calculated according to the first water flow rate and the second water flow rate, wherein the instantaneous drinking water volume is calculated as: Wherein, S is the instantaneous drinking water amount, t i is the ith individual drinking time, δ 1i is the first water flow rate corresponding to the ith individual drinking time, T j is the jth overlapping drinking time, is the ith individual drinking time in the jth overlapping drinking time, δ 2ij is the second water flow rate corresponding to the i-th individual drinking time in the j-th overlapping drinking time; The instantaneous water flow rate corresponding to the second instantaneous drinking water time is identified, and the instantaneous drinking water amount of the target pig is calculated according to the second instantaneous drinking water time and the instantaneous water flow rate.

7. The method for quantitatively monitoring the amount of water consumed by pigs according to claim 1, characterized in that: The calculating the drinking water volume corresponding to the drinking water height by using the liquid level transformation model includes: Identify the regional environment corresponding to the drinking water area; detect the influence of the regional environment on the water volume of the drinking water area, and calculate the additional water volume corresponding to the water volume influence; The target drinking water volume corresponding to the drinking water height is calculated using the liquid level transformation model, wherein the liquid level transformation model is: V=f(h)+γ Wherein, V is the target drinking water volume, f(h) is the relationship function of the drinking water volume corresponding to the drinking water height h, and γ is the drinking water volume error coefficient; The additional water volume and the target water drinking volume are added to obtain the water drinking volume.

8. The method for quantitatively monitoring the amount of water consumed by pigs according to claim 7, characterized in that: The method of calculating the amount of water to be splashed on the target pigs according to the standard amount of water and the water weight using a preset double verification algorithm includes: Calculate a first splashing water volume for the target pigs according to the standard water volume and the drinking water volume; Calculating a second amount of water to be splashed on the target pigs according to the water weight; The following double verification algorithm is used to calculate the error amount of water sprayed on the target pigs according to the first amount of water sprayed and the second amount of water sprayed: Wherein, H is the number of the splashing errors, w is the splashing weight, P1 is the first splashing water volume, P2 is the second splashing quantity, and max is the maximum value function; The amount of water to be sprinkled on the target pigs is determined based on the sprinkle error water amount.

9. The method for quantitatively monitoring the amount of water consumed by pigs according to claim 1, characterized in that: The step of determining the actual drinking water amount of the target pigs by using the instantaneous drinking water amount and the target drinking water amount includes: Extracting a first drinking time corresponding to the instantaneous drinking amount, and extracting a second drinking time corresponding to the target drinking amount; Calculating the time interval between the first drinking water time and the second drinking water time; When the time interval is less than a preset interval threshold, the instantaneous water intake and the target water intake are superimposed as the actual water intake of the target pig; When the time interval is greater than or equal to a preset interval threshold, the target water intake is determined as the actual water intake of the target pig.

10. A quantitative monitoring system for pig water consumption, characterized in that: The system is used to implement the method for quantitatively monitoring the drinking water volume of pigs according to any one of claims 1 to 9, comprising: A target identity information reading module, used to read the target identity information of the pigs according to the target distance between the pigs in the target area and the drinking water area, and determine the target pigs for drinking water according to the target identity information; A drinking water flow characteristic recognition module is used to construct a liquid level transformation model through the liquid level mapping relationship between the historical water volume and the historical water level of the drinking water area, and to recognize the drinking water flow characteristics of the target pig through a preset dual time window; An instantaneous drinking water volume calculation module is used to extract the instantaneous flow characteristics and the cumulative flow characteristics from the drinking water flow characteristics, collect the instantaneous water flow in the drinking water area according to the instantaneous flow characteristics, and calculate the instantaneous drinking water volume of the target pigs according to the instantaneous water flow; A drinking water volume calculation module, used to extract the drinking water height of the drinking water area corresponding to the target pig according to the cumulative flow characteristics, and calculate the drinking water volume corresponding to the drinking water height by using the liquid level transformation model; The target drinking water volume module is used to collect the standard water volume and water weight of the drinking water area, calculate the splashing water volume of the target pigs according to the standard water volume and the water weight using a preset double verification algorithm, and calculate the target drinking water volume of the target pigs according to the splashing quantity and the drinking water volume; The actual drinking water amount determination module is used to determine the actual drinking water amount of the target pig through the instantaneous drinking water amount and the target drinking water amount, and use the actual drinking water amount to identify the drinking water status of the target pig.

Citation Information

Patent Citations

  • Intelligent water dispenser used for animal husbandry and method of calculating water-drinking amount

    CN106577340A

  • Water-cup-based drinking amount recording device and working method thereof

    CN111297154A

  • Broiler breeding abnormity identification method and system based on drinking water consumption data

    CN118940184A