Milking equipment, detection method, device and storage medium

By using milking equipment to detect the conductivity change pattern of milk in real time, the problem of low efficiency in detecting mastitis in cattle and sheep is solved, and real-time online continuous detection is achieved during the milking process, reducing workload and costs.

CN117204346BActive Publication Date: 2025-09-09TIANJIN HELI HUIMU TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202311317744.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-10-12
Publication Date
2025-09-09
Estimated Expiration
2043-10-12

AI Technical Summary

Technical Problem

In existing technologies, the efficiency of mastitis detection in cattle and sheep is low, and real-time online continuous detection cannot be achieved, resulting in heavy workload and high costs for large-scale ranches.

Method used

Milking equipment, including sensors, processors, displays, milking cup groups and pipelines, is used to detect the change pattern of milk conductivity, determine the target disease situation, and perform real-time online continuous detection during the milking process.

Benefits of technology

It realizes the real-time detection of disease conditions in cattle and sheep during the milking process, reduces the workload of individual sampling, and improves detection efficiency. It is particularly suitable for large-scale ranches.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117204346B_ABST
    Figure CN117204346B_ABST
Patent Text Reader

Abstract

The present application discloses a milking device, a detection method, an apparatus, and a storage medium, relating to the field of computer technology. The milking device includes a sensor, a processor, a display, a milking cup group, a milk outlet, and a pipeline. The outlet end of the milking cup group is connected to the first end of the pipeline, and the milk outlet is connected to the second end of the pipeline. The sensor is located in the pipeline and is used to detect the conductivity of milk flowing through the pipeline corresponding to multiple time periods. The processor is used to determine a target change pattern of conductivity over time based on a conductivity threshold and the conductivity corresponding to the multiple time periods, and to determine a target disease condition corresponding to the target change pattern based on a correspondence between a preset reference change pattern of conductivity and a reference disease condition, as well as the target change pattern. The display is used to display the target disease condition. The milking device can improve detection efficiency.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of computer technology, and in particular to a milking device, a detection method, a device and a storage medium. Background Art

[0002] Cow and goat milk has become a necessity in people's lives, and the quality of cow and goat milk will have an impact on human health. Mastitis is a common disease in cattle and sheep, which not only affects their health but also the quality of the milk they produce.

[0003] Currently, the commonly used method for detecting mastitis in animals such as cattle and sheep is mainly through detection using special chemical reagents. However, this method requires separate sampling and cannot achieve real-time online continuous detection. For large-scale ranches, the workload is extremely large, the detection cost is high, and the detection efficiency is poor. Summary of the Invention

[0004] The present application provides a milking device, a detection method, a device and a storage medium, which can improve detection efficiency.

[0005] To achieve the above objectives, this application adopts the following technical solutions:

[0006] In a first aspect, the present application provides a milking device comprising: a sensor, a processor, a display, a milking cup group, a milk outlet, and a pipeline;

[0007] The outlet end of the milking cup group is connected to the first end of the pipeline, and the milk outlet is connected to the second end of the pipeline;

[0008] The sensor is located in the pipeline, and is used to detect the conductivity of the milk flowing through the pipeline corresponding to multiple time periods;

[0009] The processor is configured to determine a target change pattern of conductivity over time based on a conductivity threshold and conductivity corresponding to a plurality of time periods, and determine a target disease condition corresponding to the target change pattern based on a predetermined correspondence between a reference change pattern of conductivity and a reference disease condition, and the target change pattern; the sum of the plurality of time periods being the total milking duration of a target subject;

[0010] The display is also used to display the target disease condition.

[0011] In some possible implementations, the multiple time periods include at least a first time period and a second time period, the first time period is earlier than the second time period, the conductivity corresponding to the first time period is a first conductivity, and the conductivity corresponding to the second time period is a second conductivity;

[0012] The processor is specifically configured to determine, if the first conductivity is greater than the conductivity threshold and the second conductivity is greater than the conductivity threshold, that the target change pattern of conductivity over time is a first change pattern, and the disease condition corresponding to the first change pattern is breast tissue infection.

[0013] In some possible implementations, the multiple time periods include at least a first time period and a second time period, the first time period is earlier than the second time period, the conductivity corresponding to the first time period is a first conductivity, and the conductivity corresponding to the second time period is a second conductivity;

[0014] The processor is specifically configured to determine, if the first conductivity is greater than the conductivity threshold and the second conductivity is less than the conductivity threshold, that the target change pattern of conductivity over time is a second change pattern, and the incidence corresponding to the second change pattern is new mastitis infection.

[0015] In some possible implementations, the multiple time periods include at least a first time period and a second time period, the first time period is earlier than the second time period, the conductivity corresponding to the first time period is a first conductivity, and the conductivity corresponding to the second time period is a second conductivity;

[0016] The processor is specifically configured to determine, if the first conductivity is less than the conductivity threshold and the second conductivity is greater than the conductivity threshold, that the target change pattern of conductivity over time is a third change pattern, and the onset condition corresponding to the third change pattern is glandular cell mastitis.

[0017] In some possible implementations, the processor is further used to obtain the effective duration of the target time period corresponding to the conductivity being higher than the conductivity threshold, and determine the severity of the illness based on the ratio of the effective duration of the target time period to the total duration of multiple time periods, wherein the severity is positively correlated with the ratio.

[0018] In some possible implementations, the device further includes a first milk delivery conduit and a second milk delivery conduit;

[0019] The processor is further configured to control the milk outlet to be connected to the first milk delivery conduit if the target disease condition indicates that the target subject does not have the disease; and to control the milk outlet to be connected to the second milk delivery conduit if the target disease condition indicates that the target subject has the disease.

[0020] In some possible implementations, the display is also used to display the target change pattern.

[0021] In some possible implementations, when the target object is a cow or a sheep, the measurement range of the conductivity is 0-50 kiloohms; when the target object is a mammal other than the cow or the sheep, the measurement range of the conductivity is 0-200 kiloohms.

[0022] In a second aspect, the present application provides a detection method, comprising:

[0023] Obtaining the electrical conductivity of milk flowing through the pipeline corresponding to multiple time periods, where the sum of the multiple time periods is the total milking time of a target object;

[0024] Determine the target change pattern of conductivity over time based on the conductivity threshold and the conductivity corresponding to multiple time periods;

[0025] According to the corresponding relationship between the preset reference change law of conductivity and the reference disease situation, and the target change law, the target disease situation corresponding to the target change law is determined;

[0026] The target incidence is displayed.

[0027] In some possible implementations, the multiple time periods include at least a first time period and a second time period, the first time period is earlier than the second time period, the conductivity corresponding to the first time period is a first conductivity, and the conductivity corresponding to the second time period is a second conductivity; and determining a target change pattern of conductivity over time based on the conductivity threshold and the conductivities corresponding to the multiple time periods includes:

[0028] If the first conductivity is greater than the conductivity threshold and the second conductivity is greater than the conductivity threshold, it is determined that the target change pattern of conductivity over time is a first change pattern, and the disease condition corresponding to the first change pattern is breast tissue infection.

[0029] In some possible implementations, the multiple time periods include at least a first time period and a second time period, the first time period is earlier than the second time period, the conductivity corresponding to the first time period is a first conductivity, and the conductivity corresponding to the second time period is a second conductivity; and determining a target change pattern of conductivity over time based on the conductivity threshold and the conductivities corresponding to the multiple time periods includes:

[0030] If the first conductivity is greater than the conductivity threshold and the second conductivity is less than the conductivity threshold, the target change pattern of conductivity over time is determined to be a second change pattern, and the incidence corresponding to the second change pattern is new mastitis infection.

[0031] In some possible implementations, the multiple time periods include at least a first time period and a second time period, the first time period is earlier than the second time period, the conductivity corresponding to the first time period is a first conductivity, and the conductivity corresponding to the second time period is a second conductivity; and determining a target change pattern of conductivity over time based on the conductivity threshold and the conductivities corresponding to the multiple time periods includes:

[0032] If the first conductivity is less than the conductivity threshold and the second conductivity is greater than the conductivity threshold, the target change pattern of conductivity over time is determined to be a third change pattern, and the disease condition corresponding to the third change pattern is glandular cell mastitis.

[0033] In some possible implementations, the method further includes: obtaining the effective duration of the target time period corresponding to the conductivity being higher than the conductivity threshold, and determining the severity of the illness based on the ratio of the effective duration of the target time period to the total duration of multiple time periods, wherein the severity is positively correlated with the ratio.

[0034] In some possible implementations, the method further includes: if the target disease condition indicates that the target subject does not have the disease, controlling the milk outlet to be connected to the first milk delivery duct; if the target disease condition indicates that the target subject has the disease, controlling the milk outlet to be connected to the second milk delivery duct.

[0035] In some possible implementations, the method further includes: displaying target change patterns.

[0036] In some possible implementations, when the target object is a cow or a sheep, the measurement range of the conductivity is 0-50 kiloohms; when the target object is a mammal other than the cow or the sheep, the measurement range of the conductivity is 0-200 kiloohms.

[0037] In a third aspect, the present application provides a detection device, comprising:

[0038] an acquisition module, configured to acquire the electrical conductivity of milk flowing through the pipeline corresponding to a plurality of time periods, wherein the sum of the plurality of time periods is the total milking time of a target object;

[0039] a determination module for determining a target change pattern of conductivity over time based on a conductivity threshold and the conductivity corresponding to a plurality of time periods; and determining a target morbidity corresponding to the target change pattern based on a correspondence between a preset reference change pattern of conductivity and a reference morbidity, and the target change pattern;

[0040] The display module is used to display the target disease situation.

[0041] In some possible implementations, the multiple time periods include at least a first time period and a second time period, the first time period is earlier than the second time period, the conductivity corresponding to the first time period is a first conductivity, and the conductivity corresponding to the second time period is a second conductivity; the determination module is specifically used to determine that the target change pattern of conductivity over time is a first change pattern if the first conductivity is greater than the conductivity threshold and the second conductivity is greater than the conductivity threshold, and the incidence corresponding to the first change pattern is breast tissue infection.

[0042] In some possible implementations, the multiple time periods include at least a first time period and a second time period, the first time period is earlier than the second time period, the conductivity corresponding to the first time period is a first conductivity, and the conductivity corresponding to the second time period is a second conductivity; the determination module is specifically used to determine that the target change pattern of conductivity over time is a second change pattern if the first conductivity is greater than the conductivity threshold and the second conductivity is less than the conductivity threshold, and the incidence corresponding to the second change pattern is a new mastitis infection.

[0043] In some possible implementations, the multiple time periods include at least a first time period and a second time period, the first time period is earlier than the second time period, the conductivity corresponding to the first time period is a first conductivity, and the conductivity corresponding to the second time period is a second conductivity; the determination module is specifically configured to determine, if the first conductivity is less than the conductivity threshold and the second conductivity is greater than the conductivity threshold, that the target change pattern of conductivity over time is a third change pattern, and the incidence corresponding to the third change pattern is glandular cell mastitis.

[0044] In some possible implementations, the acquisition module is further used to obtain the effective duration of the target time period corresponding to the conductivity being higher than the conductivity threshold; the determination module is further used to determine the severity of the illness based on the ratio of the effective duration of the target time period to the total duration of multiple time periods, wherein the severity is positively correlated with the ratio.

[0045] In some possible implementations, the device further includes a control module, which is configured to control the milk outlet to be connected to the first milk delivery duct if the target disease condition indicates that the target subject does not have the disease; and to control the milk outlet to be connected to the second milk delivery duct if the target disease condition indicates that the target subject has the disease.

[0046] In some possible implementations, the display module is further configured to display target change patterns.

[0047] In some possible implementations, when the target object is a cow or a sheep, the measurement range of the conductivity is 0-50 kiloohms; when the target object is a mammal other than the cow or the sheep, the measurement range of the conductivity is 0-200 kiloohms.

[0048] In a fourth aspect, the present application provides a computer-readable storage medium, wherein the computer-readable storage medium is used to store a computer program, and the computer program is used to execute the method as described in any one of the second aspects.

[0049] It can be seen from the above technical solution that this application has at least the following beneficial effects:

[0050] The present application discloses a milking device, which includes a sensor, a processor, a display, a milking cup group, a milking outlet, and a pipeline. The outlet end of the milking cup group is connected to the first end of the pipeline, and the milking outlet is connected to the second end of the pipeline. The sensor is located in the pipeline and is used to detect the conductivity of milk flowing through the pipeline corresponding to multiple time periods. The processor is used to determine the target change pattern of conductivity over time based on the conductivity threshold and the conductivity corresponding to the multiple time periods, and determine the target disease condition corresponding to the target change pattern based on the correspondence between the preset reference change pattern of conductivity and the reference disease condition, as well as the target change pattern; the display is used to display the target disease condition. In the present application, the milking device can perform real-time online continuous detection of the disease condition of the target object while milking, without the need for separate sampling and processing. For large-scale ranches, this reduces the workload of staff and improves detection efficiency.

[0051] It should be understood that the description of technical features, technical solutions, beneficial effects or similar language in this application does not imply that all features and advantages can be realized in any single embodiment. On the contrary, it is understood that the description of a feature or beneficial effect means that a specific technical feature, technical solution or beneficial effect is included in at least one embodiment. Therefore, the description of a technical feature, technical solution or beneficial effect in this specification does not necessarily refer to the same embodiment. Furthermore, the technical features, technical solutions and beneficial effects described in the present embodiment can also be combined in any appropriate manner. Those skilled in the art will understand that the embodiment can be implemented without one or more specific technical features, technical solutions or beneficial effects of a specific embodiment. In other embodiments, additional technical features and beneficial effects can also be identified in specific embodiments that do not embody all embodiments. BRIEF DESCRIPTION OF THE DRAWINGS

[0052] Figure 1 A schematic diagram of a milking device provided in an embodiment of the present application;

[0053] Figure 2A schematic diagram of a first change rule provided in an embodiment of the present application;

[0054] Figure 3 A schematic diagram of a second change rule provided in an embodiment of the present application;

[0055] Figure 4 A schematic diagram of a third change rule provided in an embodiment of the present application;

[0056] Figure 5 A schematic diagram of a fourth change rule provided in an embodiment of the present application;

[0057] Figure 6 A flow chart of a detection method provided in an embodiment of the present application;

[0058] Figure 7 A schematic diagram of a detection device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0059] The terms "first", "second" and "third" in this application specification and the accompanying drawings are used to distinguish different objects rather than to limit a specific order.

[0060] In the embodiments of this application, words such as "exemplary" or "for example" are used to indicate examples, illustrations, or descriptions. Any embodiment or design described as "exemplary" or "for example" in the embodiments of this application should not be interpreted as being preferred or advantageous over other embodiments or designs. Rather, the use of words such as "exemplary" or "for example" is intended to present the relevant concepts in a concrete manner.

[0061] Mastitis is a common disease in cattle and sheep. The milk produced by these animals is of poor quality, which can also affect the human body. Because mastitis in cattle and sheep is difficult to eradicate, the key to minimizing its impact is to detect it as soon as possible.

[0062] Currently, the commonly used method for detecting mastitis in animals such as cattle and sheep is mainly through the use of special chemical reagents. This method requires individual sampling of cattle and sheep, which is inefficient and cannot be tested while milking. For large-scale ranches, the individual sampling scheme will generate a huge amount of additional work, and if the test is repeated later, the additional workload will be even greater. Another option is to determine whether cattle and sheep have mastitis by measuring the conductivity of the milk produced by cattle and sheep. However, this method can only determine whether cattle and sheep have mastitis, but cannot determine the severity of the disease (for example, the location of the disease).

[0063] In view of this, the present application provides a milking device, which includes a sensor, a processor, a display, a milking cup group, a milk outlet and a pipeline, wherein the outlet end of the milking cup group is connected to the first end of the pipeline, the milk outlet is connected to the second end of the pipeline, and the sensor is located in the pipeline. The sensor is used to detect the conductivity of milk flowing through the pipeline corresponding to multiple time periods. The processor is used to determine the target change law of conductivity over time based on the conductivity threshold and the conductivity corresponding to the multiple time periods, and determine the target disease condition corresponding to the target change law based on the correspondence between the preset reference change law of conductivity and the reference disease condition, as well as the target change law. The display is used to display the target disease condition.

[0064] In this method, the milking equipment detects disease status in cattle and sheep while milking, eliminating the additional workload of separate sampling and improving detection efficiency. Furthermore, the milking equipment can determine the disease status of the target subject, such as the specific location of the disease, based on the changing conductivity of the target subject's milk over multiple time periods, providing a data basis for subsequent diagnosis and treatment.

[0065] In order to make the technical solution of the present application clearer and easier to understand, the technical solution provided by the embodiments of the present application is introduced below with reference to the accompanying drawings.

[0066] like Figure 1 1 is a schematic diagram of a milking device provided by an embodiment of the present application. The milking device includes a sensor 101, a display 102, a milking cup group 103, a milking port 104, a pipeline 105 and a processor (not shown in the figure).

[0067] The outlet end of the milking cup assembly 103 is connected to a first end of a pipe 105, and the milk outlet 104 is connected to a second end of the pipe 105. In some examples, the second end of the pipe 105 serves as the milk outlet 104. A sensor 101 is located in the pipe 105 and is configured to detect the electrical conductivity of milk flowing through the pipe 105 over multiple time periods. A display 102 is configured to display target disease status. In some examples, the display 102 can also be configured to display target change patterns.

[0068] The processor is used to determine the target change pattern of conductivity over time based on the conductivity threshold and the conductivity corresponding to multiple time periods, and determine the target disease condition corresponding to the target change pattern based on the correspondence between the preset reference change pattern of conductivity and the reference disease condition, as well as the target change pattern.

[0069] The conductivity threshold value may be a manually set value, or may be determined based on the conductivity value corresponding to milk produced by cows or sheep suffering from mastitis.

[0070] The change pattern of conductivity over time may mean that the conductivity first increases and then decreases, first increases and then remains unchanged, first maintains a low conductivity and then increases, or always maintains a low conductivity.

[0071] The onset condition may refer to the condition of the target object's onset, for example, the onset location of the target object.

[0072] The correspondence between the reference change pattern and the reference incidence situation can be seen in Table 1.

[0073] Table 1:

[0074] Reference variation of conductivity over time Reference incidence First get bigger and then get smaller New mastitis infection First becomes larger and then maintains a large conductivity Breast tissue infection Maintain a small conductivity first and then increase Glandular cell mastitis Always keep the conductivity small No disease …… …

[0075] After determining the target variation pattern of the conductivity of milk produced by the target subject over time, the processor may determine the target disease condition corresponding to the target variation pattern based on the corresponding relationship shown in Table 1 above.

[0076] It should be noted that the change pattern of conductivity over time and the corresponding disease conditions shown in Table 1 are only exemplary. Table 1 can be determined based on the actual disease conditions corresponding to multiple target subjects and the change pattern of conductivity of milk produced by the target subjects.

[0077] During the milking process of a target animal (e.g., a cow, sheep, or other animal) using the milking device, the milk produced by the target animal first passes through pipe 105. Sensor 101 can detect the conductivity of the milk flowing through pipe 105 during multiple time periods. For example, the multiple time periods may include a first time period and a second time period, where the first time period is earlier than the second time period, the conductivity corresponding to the first time period is the first conductivity, and the conductivity corresponding to the second time period is the second conductivity. After sensor 101 collects the conductivity of the multiple time periods, it can transmit the conductivity of the multiple time periods to a processor. The sum of the multiple time periods is the total milking time of a target animal.

[0078] Different conductivity changes over time correspond to different disease conditions, which are introduced below in different situations.

[0079] Case 1:

[0080] After receiving the conductivity of multiple time periods, the processor determines that the first conductivity corresponding to the first time period is greater than the conductivity threshold and the second conductivity corresponding to the second time period is greater than the conductivity threshold. It can be determined that the target change pattern of the conductivity over time is the first change pattern, that is, the conductivity first increases and then maintains a large conductivity.

[0081] like Figure 2As shown in FIG. , this figure is a schematic diagram of a first variation pattern provided by an embodiment of the present application. As can be seen from the figure, the first variation pattern may be that the conductivity first increases to (or reaches) above the conductivity threshold, and then maintains a relatively high conductivity (first increases and then maintains a relatively high conductivity).

[0082] The processor determines that the target change pattern of conductivity over time is a first change pattern, and based on the correspondence between the reference change pattern and the reference disease condition in Table 1 above, determines that the disease condition corresponding to the first change pattern is breast tissue infection.

[0083] It should be noted that the change pattern of conductivity can also be represented by other means, such as text, video, etc., rather than just by curves.

[0084] Case 2:

[0085] After receiving the conductivity of multiple time periods, the processor determines that the first conductivity corresponding to the first time period is greater than the conductivity threshold and the second conductivity corresponding to the second time period is less than the conductivity threshold. It can be determined that the target change pattern of the conductivity over time is the second change pattern, that is, the conductivity first increases and then decreases over time.

[0086] like Figure 3 As shown in FIG. , this figure is a schematic diagram of a second variation law provided by an embodiment of the present application. As can be seen from the figure, the second variation law may be that the conductivity first increases above the conductivity threshold and then decreases below the conductivity threshold (the conductivity first increases and then decreases).

[0087] The processor determines that the target change pattern of conductivity over time is a second change pattern, and based on the correspondence between the reference change pattern and the reference disease condition in Table 1 above, determines that the disease condition corresponding to the second change pattern is a new mastitis infection.

[0088] Case 3:

[0089] After receiving the conductivity of multiple time periods, the processor determines that the first conductivity corresponding to the first time period is less than the conductivity threshold and the second conductivity corresponding to the second time period is greater than the conductivity threshold. It can be determined that the target change pattern of the conductivity over time is the third change pattern, that is, the conductivity first remains small and then increases.

[0090] like Figure 4 As shown in FIG. , this figure is a schematic diagram of a third variation law provided by an embodiment of the present application. As can be seen from the figure, the third variation law may be that the conductivity first falls below the conductivity threshold and then rises above the conductivity threshold (maintaining a low conductivity first and then increasing).

[0091] The processor determines that the target change pattern of conductivity over time is a third change pattern, and based on the correspondence between the reference change pattern and the reference disease condition in Table 1, determines that the disease condition corresponding to the third change pattern is glandular cell mastitis.

[0092] Case 4:

[0093] After receiving the conductivity of multiple time periods, the processor determines that the first conductivity corresponding to the first time period is less than the conductivity threshold and the second conductivity corresponding to the second time period is less than the conductivity threshold. It can be determined that the target change pattern of the conductivity over time is the fourth change pattern, that is, the conductivity is always lower than the conductivity threshold.

[0094] like Figure 5 As shown in FIG, this figure is a schematic diagram of a fourth variation rule provided by an embodiment of the present application. As can be seen from the figure, the fourth variation rule may be that the conductivity is always lower than the conductivity threshold.

[0095] The processor determines that the target change pattern of conductivity over time is the fourth change pattern, and based on the correspondence between the reference change pattern and the reference disease condition in Table 1 above, determines that the disease condition corresponding to the fourth change pattern is no disease condition.

[0096] Furthermore, the processor obtains the effective duration of the target period corresponding to the conductivity being higher than the conductivity threshold, and determines the severity of the disease according to the ratio of the effective duration of the target period to the total duration of multiple periods. The larger the ratio, the more serious the disease.

[0097] by Figure 2 For example, the first time period and the second time period can be divided into multiple sub-time periods. The effective duration of the target time period refers to the duration of the sub-time period corresponding to the conductivity being higher than the conductivity threshold. For example, the first time period may include a first sub-time period, a second sub-time period, and a third sub-time period, wherein, in the first sub-time period, the conductivity is in an ascending period and does not exceed the conductivity threshold, at the beginning of the second sub-time period, the conductivity exceeds the conductivity threshold, and at the third sub-time period, the conductivity still exceeds the conductivity threshold. Therefore, the effective duration of the target time period is the sum of the second sub-time period and the third sub-time period. After determining the effective duration of the target time period, the processor can determine the severity of the disease based on the proportion of the effective duration of the target time period to the total duration of multiple time periods.

[0098] In some examples, the correspondence between the ratio and the severity can be preset, with the ratio being (0, 20%] being mild, the ratio being (20, 40%] being medium, and the ratio being (40, 100%] being severe. For example, the effective duration of the target period is 60 seconds and the total duration is 100 seconds. The processor can determine that the ratio is 60%, and thus determine that the severity of the disease is severe.

[0099] In some embodiments, the milking equipment may further include a first milk delivery pipe 106 and a second milk delivery pipe 107, wherein the first milk delivery pipe 106 is used to deliver the milk produced by the target subject to a first storage device, and the first storage device is used to store normal milk (milk produced by the target subject without mastitis), and the second milk delivery pipe 107 is used to deliver the milk produced by the target subject to a second storage device, and the second storage device is used to store abnormal milk (milk produced by the target subject with mastitis).

[0100] The processor can also control the conduction between the milk outlet 104 and the first milk delivery pipe 106 and the second milk delivery pipe 107 according to the target disease condition. When the target disease condition indicates that the target object does not have the disease, the milk outlet 104 is controlled to be connected to the first milk delivery pipe 106, and the milk outlet 104 is controlled to be disconnected from the second milk delivery pipe 107; when the target disease condition indicates that the target object has the disease, the milk outlet 104 is controlled to be connected to the second milk delivery pipe 107, and the milk outlet 104 is controlled to be disconnected from the first milk delivery pipe 106.

[0101] It should be noted that the above embodiments are based on the target objects being cattle and sheep. In other embodiments, the target objects may also be other mammals (e.g., yaks, camels, etc.). When the target objects are cattle and sheep, the conductivity measurement range may be 0-50 kilohms. When the target objects are other mammals, the conductivity measurement range may be 0-200 kilohms.

[0102] Based on the above description, an embodiment of the present application provides a milking device, which includes a sensor, a processor, a display, a milking cup group, a milking outlet, and a pipeline, wherein the outlet end of the milking cup group is connected to the first end of the pipeline, and the milking outlet is connected to the second end of the pipeline. The sensor is located in the pipeline and is used to detect the conductivity of milk flowing through the pipeline corresponding to multiple time periods. The processor is used to determine the target change pattern of conductivity over time based on the conductivity threshold and the conductivity corresponding to the multiple time periods, and determine the target disease condition corresponding to the target change pattern based on the correspondence between the preset reference change pattern of conductivity and the reference disease condition, as well as the target change pattern; the display is used to display the target disease condition. In the present application, the milking device can detect the disease condition of the target object while milking, without the need for separate sampling and processing. For large-scale ranches, this reduces the workload of staff and improves detection efficiency.

[0103] The present application also provides a detection method, such as Figure 6 As shown in FIG. 1 , this figure is a flow chart of a detection method provided in an embodiment of the present application. The detection method can be applied to the above-mentioned milking equipment and can also be applied to other equipment. The detection method includes:

[0104] S601: Obtain the electrical conductivity of milk flowing through the pipeline at multiple time periods.

[0105] The sum of the multiple time periods is the total milking time of a target object.

[0106] S602: Determine a target change pattern of conductivity over time based on the conductivity threshold and the conductivity corresponding to multiple time periods.

[0107] S603: Determine the target disease condition corresponding to the target change rule according to the preset corresponding relationship between the reference change rule of conductivity and the reference disease condition, and the target change rule.

[0108] S604: Display the target disease situation.

[0109] In some possible implementations, the multiple time periods include at least a first time period and a second time period, the first time period is earlier than the second time period, the conductivity corresponding to the first time period is a first conductivity, and the conductivity corresponding to the second time period is a second conductivity; and determining a target change pattern of conductivity over time based on the conductivity threshold and the conductivities corresponding to the multiple time periods includes:

[0110] If the first conductivity is greater than the conductivity threshold and the second conductivity is greater than the conductivity threshold, it is determined that the target change pattern of conductivity over time is a first change pattern, and the disease condition corresponding to the first change pattern is breast tissue infection.

[0111] In some possible implementations, the multiple time periods include at least a first time period and a second time period, the first time period is earlier than the second time period, the conductivity corresponding to the first time period is a first conductivity, and the conductivity corresponding to the second time period is a second conductivity; and determining a target change pattern of conductivity over time based on the conductivity threshold and the conductivities corresponding to the multiple time periods includes:

[0112] If the first conductivity is greater than the conductivity threshold and the second conductivity is less than the conductivity threshold, the target change pattern of conductivity over time is determined to be a second change pattern, and the incidence corresponding to the second change pattern is new mastitis infection.

[0113] In some possible implementations, the multiple time periods include at least a first time period and a second time period, the first time period is earlier than the second time period, the conductivity corresponding to the first time period is a first conductivity, and the conductivity corresponding to the second time period is a second conductivity; and determining a target change pattern of conductivity over time based on the conductivity threshold and the conductivities corresponding to the multiple time periods includes:

[0114] If the first conductivity is less than the conductivity threshold and the second conductivity is greater than the conductivity threshold, the target change pattern of conductivity over time is determined to be a third change pattern, and the disease condition corresponding to the third change pattern is glandular cell mastitis.

[0115] In some possible implementations, the method further includes: obtaining the effective duration of the target time period corresponding to the conductivity being higher than the conductivity threshold, and determining the severity of the illness based on the ratio of the effective duration of the target time period to the total duration of multiple time periods, wherein the severity is positively correlated with the ratio.

[0116] In some possible implementations, the method further includes: if the target disease condition indicates that the target subject does not have the disease, controlling the milk outlet to be connected to the first milk delivery duct; if the target disease condition indicates that the target subject has the disease, controlling the milk outlet to be connected to the second milk delivery duct.

[0117] In some possible implementations, the method further includes: displaying target change patterns.

[0118] The following will introduce the device provided by the embodiment of the present application with reference to the accompanying drawings. Figure 7 As shown in FIG, this figure is a schematic diagram of a detection device provided in an embodiment of the present application, and the detection device 700 includes:

[0119] The acquisition module 701 is used to obtain the conductivity of the milk flowing through the pipeline corresponding to multiple time periods; wherein the sum of the multiple time periods is the total milking time of a target object.

[0120] Determination module 702 is configured to determine a target change pattern of conductivity over time based on the conductivity threshold and the conductivity corresponding to the multiple time periods; and determine a target disease condition corresponding to the target change pattern based on a predetermined correspondence between a reference change pattern of conductivity and a reference disease condition, and the target change pattern;

[0121] The display module 703 is used to display the target disease condition.

[0122] In some possible implementations, the multiple time periods include at least a first time period and a second time period, the first time period is earlier than the second time period, the conductivity corresponding to the first time period is the first conductivity, and the conductivity corresponding to the second time period is the second conductivity; the determination module 702 is specifically used to determine that the target change pattern of conductivity over time is a first change pattern if the first conductivity is greater than the conductivity threshold and the second conductivity is greater than the conductivity threshold, and the incidence corresponding to the first change pattern is breast tissue infection.

[0123] In some possible implementations, the multiple time periods include at least a first time period and a second time period, the first time period is earlier than the second time period, the conductivity corresponding to the first time period is the first conductivity, and the conductivity corresponding to the second time period is the second conductivity; the determination module 702 is specifically configured to determine, if the first conductivity is greater than the conductivity threshold and the second conductivity is less than the conductivity threshold, that the target change pattern of conductivity over time is the second change pattern, and the incidence corresponding to the second change pattern is new mastitis infection.

[0124] In some possible implementations, the multiple time periods include at least a first time period and a second time period, the first time period is earlier than the second time period, the conductivity corresponding to the first time period is a first conductivity, and the conductivity corresponding to the second time period is a second conductivity; the determination module 702 is specifically configured to determine, if the first conductivity is less than the conductivity threshold and the second conductivity is greater than the conductivity threshold, that the target change pattern of conductivity over time is a third change pattern, and the incidence corresponding to the third change pattern is glandular cell mastitis.

[0125] In some possible implementations, the acquisition module 701 is further used to obtain the effective duration of the target time period corresponding to the conductivity being higher than the conductivity threshold; the determination module 702 is further used to determine the severity of the disease based on the ratio of the effective duration of the target time period to the total duration of multiple time periods, wherein the severity is positively correlated with the ratio.

[0126] In some possible implementations, the device further includes a control module, which is configured to control the milk outlet to be connected to the first milk delivery duct if the target disease condition indicates that the target subject does not have the disease, and to control the milk outlet to be connected to the second milk delivery duct if the target disease condition indicates that the target subject has the disease.

[0127] In some possible implementations, the display module 703 is also used to display target change patterns.

[0128] The embodiment of the present application also provides a computer-readable storage medium. The computer-readable storage medium can be any available medium that can be stored by a computing device or a data storage device such as a data center containing one or more available media. The available medium can be a magnetic medium (such as a floppy disk, a hard disk, a magnetic tape), an optical medium (such as a DVD), or a semiconductor medium (such as a solid-state drive). The computer-readable storage medium includes instructions that instruct the computing device to execute the above-mentioned detection method applied to the detection device 700.

[0129] The present application also provides a computer program product comprising one or more computer instructions that, when loaded and executed on a computing device, fully or partially generate the process or function described in the present application.

[0130] The computer instructions may be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions may be transmitted from one website, computer, or data center to another website, computer, or data center via wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) means.

[0131] When the computer program product is executed by a computer, the computer performs any of the aforementioned detection methods. The computer program product may be a software installation package, and when any of the aforementioned detection methods is needed, the computer program product may be downloaded and executed on the computer.

[0132] The descriptions of the processes or structures corresponding to the above figures have different emphases. For parts that are not described in detail in a certain process or structure, please refer to the relevant descriptions of other processes or structures.

[0133] The above description is only a specific implementation method of the present application, but the protection scope of the present application is not limited thereto. Any changes or replacements within the technical scope disclosed in the present application should be included in the protection scope of the present application.

Claims

1. A milking device, characterized in that: include: Sensors, processors, displays, milking clusters, milking spouts and tubing; The outlet end of the milking cup group is connected to the first end of the pipeline, and the milk outlet is connected to the second end of the pipeline; The sensor is located in the pipeline, and is used to detect the conductivity of the milk flowing through the pipeline corresponding to multiple time periods, and the sum of the multiple time periods is the total milking time of a target object; The processor is configured to determine a target change pattern of conductivity over time based on the conductivity threshold and the conductivity corresponding to a plurality of time periods, and determine a target morbidity corresponding to the target change pattern based on a correspondence between a preset reference change pattern of conductivity and a reference morbidity, and the target change pattern; The display is used to display the target disease condition; Different patterns of conductivity change over time correspond to different incidence conditions; the reference incidence conditions include new mastitis infection, breast tissue infection, glandular cell mastitis, or no incidence; the reference change patterns include conductivity first rising above the conductivity threshold and maintaining, conductivity first rising above the conductivity threshold and then falling below the conductivity threshold, conductivity first falling below the conductivity threshold and then rising above the conductivity threshold, or conductivity always falling below the conductivity threshold; among them, the incidence corresponding to conductivity first rising above the conductivity threshold and maintaining is breast tissue infection, the incidence corresponding to conductivity first rising above the conductivity threshold and then falling below the conductivity threshold is new mastitis infection, the incidence corresponding to conductivity first falling below the conductivity threshold and then rising above the conductivity threshold is glandular cell mastitis, and the incidence corresponding to conductivity always falling below the conductivity threshold is no incidence.

2. The device according to claim 1, characterized in that The multiple time periods include at least a first time period and a second time period, the first time period is earlier than the second time period, the conductivity corresponding to the first time period is a first conductivity, and the conductivity corresponding to the second time period is a second conductivity; The processor is specifically configured to determine, if the first conductivity is greater than the conductivity threshold and the second conductivity is greater than the conductivity threshold, that the target change pattern of conductivity over time is a first change pattern, and the disease condition corresponding to the first change pattern is breast tissue infection.

3. The device according to claim 1, characterized in that The multiple time periods include at least a first time period and a second time period, the first time period is earlier than the second time period, the conductivity corresponding to the first time period is a first conductivity, and the conductivity corresponding to the second time period is a second conductivity; The processor is specifically configured to determine, if the first conductivity is greater than the conductivity threshold and the second conductivity is less than the conductivity threshold, that the target change pattern of conductivity over time is a second change pattern, and the incidence corresponding to the second change pattern is new mastitis infection.

4. The device according to claim 1, characterized in that The multiple time periods include at least a first time period and a second time period, the first time period is earlier than the second time period, the conductivity corresponding to the first time period is a first conductivity, and the conductivity corresponding to the second time period is a second conductivity; The processor is specifically configured to determine, if the first conductivity is less than the conductivity threshold and the second conductivity is greater than the conductivity threshold, that the target change pattern of conductivity over time is a third change pattern, and the onset condition corresponding to the third change pattern is glandular cell mastitis.

5. The device according to any one of claims 1 to 4, characterized in that The processor is further configured to obtain an effective duration of a target time period corresponding to when the conductivity is higher than the conductivity threshold, and determine the severity of the illness based on a ratio of the effective duration of the target time period to the total duration of multiple time periods, wherein the severity is positively correlated with the ratio.

6. The device according to claim 1, characterized in that The apparatus further comprises a first milk delivery conduit and a second milk delivery conduit; The processor is further configured to control the milk outlet to be connected to the first milk delivery conduit if the target disease condition indicates that the target subject does not have the disease; and to control the milk outlet to be connected to the second milk delivery conduit if the target disease condition indicates that the target subject has the disease.

7. The device according to claim 1, characterized in that The display is also used to display the target change pattern.

8. The device according to claim 1, characterized in that When the target object is a cow or a sheep, the measurement range of the conductivity is 0-50 kilohms; when the target object is a mammal other than the cow or the sheep, the measurement range of the conductivity is 0-200 kilohms.

9. A detection device, characterized in that: include: An acquisition module, used to obtain the electrical conductivity of milk flowing through the pipeline corresponding to multiple time periods; a determination module for determining a target change pattern of conductivity over time based on a conductivity threshold and the conductivity corresponding to a plurality of time periods; and determining a target morbidity corresponding to the target change pattern based on a correspondence between a preset reference change pattern of conductivity and a reference morbidity, and the target change pattern; A display module, used to display the target disease situation; Among them, different conductivity change patterns over time correspond to different incidence conditions; the reference incidence conditions include new mastitis infection, breast tissue infection, glandular cell mastitis or no incidence; the reference change patterns include conductivity first rising above the conductivity threshold and maintaining, conductivity first rising above the conductivity threshold and then falling below the conductivity threshold, conductivity first falling below the conductivity threshold and then rising above the conductivity threshold, or conductivity always falling below the conductivity threshold; among them, the incidence corresponding to conductivity first rising above the conductivity threshold and maintaining is breast tissue infection, the incidence corresponding to conductivity first rising above the conductivity threshold and then falling below the conductivity threshold is new mastitis infection, the incidence corresponding to conductivity first falling below the conductivity threshold and then rising above the conductivity threshold is glandular cell mastitis, and the incidence corresponding to conductivity always falling below the conductivity threshold is no incidence.

Citation Information

Patent Citations

  • Remote intelligent milking system and method based on 5G network

    CN112205298A

  • Method and system for controlling the sanitary state or the teat and evaluating the physical and chemical quality of the milk

    EP0981954A1