Intelligent weighing recording and data uploading system and method for dairy cow milking process

The intelligent weighing record and data uploading system solves the problems of low efficiency and easy data loss during the milking process of dairy cows, realizes automated data collection and improves accuracy, adapts to complex environments and ensures data integrity.

CN123111432APending Publication Date: 2026-11-17GUANGXI UNIV
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611585314.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-10-14
Publication Date
2026-11-17

AI Technical Summary

Technical Problem

Existing technologies suffer from problems such as low efficiency, high error rate, difficulty in data traceability, unstable cow identification binding, and easy data loss during network anomalies when manually recording milking processes.

Method used

The system employs an intelligent weighing and data uploading system, which includes a milk bucket component, a weighing module, a control module, an identification module, an operation confirmation module, a display module, a communication module, a local storage module, and a server platform. The weighing module collects the weight of the milk bucket, the control module calculates the net milk weight, the identification module obtains the cow's identity, and after confirmation by the operation confirmation module, the communication module uploads the data to the server. In the event of network failure, the system caches the data locally and re-uploads it.

Benefits of technology

It enables automated data collection during the milking process of dairy cows, reduces the workload of manual registration, improves the accuracy of records and data traceability, adapts to complex environments and maintains data stability in the event of network anomalies, and facilitates management and analysis.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123111432A_ABST
    Figure CN123111432A_ABST
Patent Text Reader

Abstract

This invention discloses an intelligent weighing recording and data uploading system and method for dairy cow milking, relating to the field of smart farm equipment technology. The system includes a milk bucket assembly, a weighing module, a control module, an identification module, an operation confirmation module, a display module, a communication module, a local storage module, and a server platform. The invention employs the aforementioned intelligent weighing recording and data uploading system and method for dairy cow milking. An intelligent milk bucket device or weighing base device with weighing, identification, display, confirmation, caching, and communication capabilities is installed at the milking site to acquire the milk bucket weight in real time. After the worker completes milking, a confirmation operation triggers record generation. Through tareing, filtering, stability judgment, identification, confirmation triggering, local caching, and automatic retransmission, the automatic collection and remote management of milk production data for a single dairy cow are achieved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of smart ranch equipment technology, and in particular to an intelligent weighing recording and data uploading system and method for the milking process of dairy cows. Background Technology

[0002] Currently, in buffalo or dairy cow milking scenarios, the milk yield of a single cow is usually counted in the following way: after milking, the milk bucket is placed on a regular electronic scale or mechanical scale to be weighed; the worker records the weight manually; afterwards, the manager summarizes the paper records and enters them into a computer or spreadsheet; and then statistical analysis is performed by cow, date or batch.

[0003] In some better-equipped ranches, there are also simple electronic weighing devices, but they usually only display the weight and fail to automatically bind the weight to the cattle's identity; link it to worker and equipment information; upload data in real time; cache and re-upload data when the network is abnormal; and perform automatic statistics and trend analysis in the background. Summary of the Invention

[0004] The purpose of this invention is to provide an intelligent weighing record and data uploading system and method for the milking process of dairy cows, which solves the problems of low efficiency, high error rate, difficulty in data traceability, unstable cow identity binding, and easy data loss when the network is abnormal in the prior art.

[0005] To achieve the above objectives, this invention provides an intelligent weighing, recording, and data uploading system for the milking process of dairy cows, including a milk bucket assembly, a weighing module, a control module, an identification module, an operation confirmation module, a display module, a communication module, a local storage module, and a server platform. The weighing module collects the current weight of the milk bucket; the control module calculates the net milk weight based on the tare weight information, and performs filtering, stability assessment, and record generation on the weight data; the identification module obtains the identity of the currently milked cow; the operation confirmation module receives a manual confirmation signal after milking; the communication module sends the milk production record to the server platform; the server platform receives, deduplicates, stores, statistically analyzes, and displays the milk production data; the local storage module caches records in case of communication failure and re-uploads them after the network is restored.

[0006] Preferably, the weighing module includes a weighing sensor and a weighing signal acquisition circuit; the weighing sensor is one of a strain gauge weighing sensor, a beam sensor, and a platform sensor.

[0007] Preferably, the control module is connected to the weighing module, display module, identity recognition module, operation confirmation module, communication module and local storage module; The control module is used to perform the following tasks: collecting weight data, performing tare or reading tare weight, calculating net milk weight, executing filtering algorithms, performing stability checks, generating unique identifiers for records, encapsulating milk production records, controlling upload and re-upload, and managing local cache status.

[0008] Preferably, the filtering process includes moving average filtering, median filtering, low-pass filtering, amplitude limiting filtering, and combinations of multiple filtering methods.

[0009] Preferably, the stability judgment method is as follows: within a preset time window, the difference between the maximum and minimum values ​​of multiple consecutive sampled values ​​is less than a set threshold; or in several consecutive sampling periods, the difference between adjacent samples is less than a set threshold; or a comprehensive judgment is made by combining variance and slope change characteristics.

[0010] Preferably, the identification module adopts one or more of the following forms: an input unit for manually selecting cattle numbers, an RFID ear tag reading unit, a fixed workstation and cattle file mapping unit, and an external identification device interface unit.

[0011] Preferably, the operation confirmation module includes physical buttons, touch switches, foot switches, and wireless confirmation buttons.

[0012] Preferably, the display module includes the current cow number, current gross weight, tare weight, net milk weight, network status, cache status, upload success or failure status, and error message.

[0013] Preferably, the server platform verifies the received record based on the record's unique identifier; if the identifier does not exist in the database, a new record is created; if it exists, it is determined to be a duplicate upload, and the received status is returned.

[0014] A smart weighing recording and data uploading method for dairy cow milking includes the following steps: Step 1: Place the milk bucket assembly into the corresponding load-bearing position on the weighing module; Step 2: Perform tare or read the tare weight from the configuration; Step 3: Obtain the identity of the cow being milked. During the milking process, the weighing module continuously collects the weight. Step 4: The control module filters the weight data; Step 5: After milking is completed, the worker issues a confirmation command through the operation confirmation module; Step 6: The control module performs a weight stability check; when the stability condition is met, the net milk weight is calculated. Step 7: Generate milk production records containing cow identification, equipment number, net milk weight, and time information, and upload them to the server via the communication module. If the upload fails, the records are written to local storage. Once the network is restored, the unuploaded records are read from the local storage and automatically re-uploaded.

[0015] Therefore, this invention employs the aforementioned intelligent weighing record and data uploading system and method for dairy cow milking, reducing manual registration workload and directly collecting and generating electronic records at the milking site, eliminating the need for extensive manual copying; improving record accuracy through cow identification binding, tare calculation, stability judgment, and idempotent deduplication; adapting to complex on-site environments by using filtering, caching, and retransmission mechanisms to maintain relatively stable operation under vibration, interference, and network outage conditions; enhancing data traceability by including information such as time, equipment, cow, and worker in each record for easy tracking and auditing; facilitating management and analysis by allowing the backend to view milk production trends of individual cows and herds, providing support for breeding decisions; and exhibiting strong scalability, expanding from manual cow number selection to RFID, fixed workstation mapping, anomaly warning, and automatic reporting functions.

[0016] The technical solution of the present invention will be further described in detail below with reference to the accompanying drawings and embodiments. Attached Figure Description

[0017] Figure 1 This is a flowchart of the intelligent weighing recording and data uploading method for the milking process of dairy cows according to the present invention; Figure 2 This is a schematic diagram showing the connection relationship of the hardware modules on the device side of the present invention; Figure 3 This is a flowchart of the method for generating, caching, and uploading milk production records according to the present invention; Figure 4 This invention presents a milk production trend chart for dairy cows with different ear markings. Figure 5 This is a graph showing the milk production of the top five ear numbers in an embodiment of the present invention. Detailed Implementation

[0018] The technical solution of the present invention will be further described below with reference to the accompanying drawings and embodiments.

[0019] Unless otherwise defined, the technical or scientific terms used in this invention shall have the ordinary meaning understood by one of ordinary skill in the art to which this invention pertains. The terms "first," "second," and similar terms used in this invention do not indicate any order, quantity, or importance, but are merely used to distinguish different components. Terms such as "comprising" or "including" mean that the element or object preceding the word encompasses the elements or objects listed following the word and their equivalents, without excluding other elements or objects. Terms such as "connected" or "linked" are not limited to physical or mechanical connections, but can include electrical connections, whether direct or indirect. Terms such as "upper," "lower," "left," and "right" are used only to indicate relative positional relationships; when the absolute position of the described object changes, the relative positional relationship may also change accordingly.

[0020] Example Please see Figures 1-5 This invention provides an intelligent weighing record and data uploading system and method for the milking process of dairy cows, including a milk bucket assembly, a weighing module, a control module, an identification module, an operation confirmation module, a display module, a communication module, a local storage module, and a server platform. The weighing module collects the current weight of the milk bucket; the control module calculates the net milk weight based on the tare weight information, and performs filtering, stability judgment, and record generation on the weight data; the identification module obtains the identity of the currently milked cow; the operation confirmation module receives manual confirmation after milking; the communication module sends the milk production record to the server platform; the server platform receives, deduplicates, stores, statistically analyzes, and displays the milk production data; the local storage module caches records in case of communication failure and re-uploads them after the network is restored. By setting up intelligent milk bucket devices or weighing base devices with weighing, identification, display, confirmation, caching, and communication capabilities at the milking site, the weight of the milk bucket is obtained in real time. After the worker finishes milking, a confirmation operation triggers the generation of a record. The control module filters and judges the stability of the weight, and calculates the net milk weight by combining it with the tare weight. Then, the record, along with the cow's identity, equipment information, and time information, is uploaded to the server platform. If there is a network failure, the record is stored locally and re-uploaded after the network is restored.

[0021] The milk container assembly can be a standalone milk container, a portable container separate from the weighing base, or a container support structure combined with the base. The milk container assembly can be made of stainless steel, food-grade plastic, or other materials suitable for holding milk.

[0022] The weighing module includes a weighing sensor and a weighing signal acquisition circuit; the weighing sensor is a strain gauge load cell, a beam load cell, a platform load cell, or other sensing structures suitable for detecting the weight of the barrel.

[0023] The weighing module can be placed at the bottom of the milk bucket, on the milk bucket support platform, or inside a separate weighing base.

[0024] The control module connects to the weighing module, display module, identification module, operation confirmation module, communication module, and local storage module. The control module can be a microcontroller, embedded main control chip, or single-board controller. Examples include, but are not limited to, ESP32, STM32, and other processors with communication and storage control capabilities.

[0025] The control module is used to perform the following tasks: collecting weight data, performing tare or reading tare weight, calculating net milk weight, executing filtering algorithms, performing stability checks, generating unique identifiers for records, encapsulating milk production records, controlling upload and re-upload, and managing local cache status.

[0026] Tare and net weight calculation mechanism: Tare is performed manually when the container is empty; a standard tare weight is set for different containers; a unique number is assigned to each milk container and the corresponding tare weight is saved locally or on the server; in a more advanced implementation, the empty container status is automatically identified and the tare weight is updated.

[0027] Net milk weight can be calculated using the following formula: Net milk weight = Total weight - Tare weight. When the net milk weight is less than zero or exceeds a reasonable range, the following actions can be taken: Correct to zero; Mark as abnormal; Prompt for reconfirmation.

[0028] The filtering process includes moving average filtering, median filtering, low-pass filtering, amplitude limiting filtering, and combinations of various filtering methods. First, amplitude limiting is applied to the original sampled values; then, a moving average is performed over a fixed sampling window; finally, it is used for stability assessment.

[0029] The stability judgment method is as follows: within a preset time window, the difference between the maximum and minimum values ​​of multiple consecutive sampled values ​​is less than a set threshold; or in several consecutive sampling periods, the difference between adjacent samples is less than a set threshold; or a comprehensive judgment is made by combining characteristics such as variance and slope change.

[0030] The identification module adopts one or more of the following forms: a manual selection of cattle number input unit, an RFID ear tag reading unit, a fixed workstation and cattle file mapping unit, and an external identification device interface unit.

[0031] The identification mechanism and identification method can be flexibly configured: Method A: Manually select the cow number. Workers can select or enter the cow number by pressing a button. This method has the lowest cost and is suitable for the first prototype.

[0032] Method B: RFID ear tag identification. The device reads the electronic ear tags of cattle to achieve automatic binding and reduce manual misselection.

[0033] Method C: Workstation mapping. When there is a fixed correspondence between a specific milking station and a cow, the cow number can be mapped through the workstation number.

[0034] Method D: Combination method, such as first reading the RFID, and then allowing manual selection if the reading fails.

[0035] A unique record identifier generation mechanism is implemented to achieve idempotent uploading and deduplication during retransmission. A unique record number is generated each time a record is generated.

[0036] The unique identifier for a record can be generated from one or more of the following combinations: device number; timestamp; serial number; random number; cattle number.

[0037] The caching and retransmission mechanism ensures that when the network is interrupted, the server is unreachable, or a timeout occurs, the device does not delete the record but writes the record to local storage and marks its status.

[0038] The recorded status can include: pending upload, uploading, upload successful, upload failed and awaiting retry, and duplicate confirmed.

[0039] After the device regains network connectivity, it resends the records in chronological, first-in-first-out, or priority order.

[0040] After the server returns a success message, the device will update the corresponding cached record to indicate that the task is complete.

[0041] The server employs an idempotent deduplication mechanism. After receiving a record, the server verifies it based on its unique identifier. If the identifier does not exist in the database, a new record is created; otherwise, it is considered a duplicate upload, and the server returns a "received" status. This prevents duplicate uploads caused by network outages, multiple confirmation presses by the user, or network timeouts leading to duplicate transmissions by the device.

[0042] In an extended implementation, the abnormal data identification mechanism can further identify abnormal milk production. Abnormal data can be marked as abnormal, require manual review, or be displayed separately in the background.

[0043] The operation confirmation module includes physical buttons, touch switches, foot switches, and a wireless confirmation button. This module prevents premature record generation due to dynamic flow during milking; avoids erroneous uploads when weighing values ​​are not stable; and seamlessly integrates manual operation procedures with the automatic data collection process.

[0044] The display module includes the current cow number, current gross weight, tare weight, net milk weight, network status, cache status, upload success or failure status, and error messages. The display module can use an OLED display, LCD display, digital tube, or external mobile terminal interface.

[0045] The communication module is used to upload device-side records to a remote server. It can utilize Wi-Fi communication, cellular mobile communication (4G / 5G / NB-IoT, etc.), Bluetooth to gateway, and wired Ethernet.

[0046] The local storage module is used to save device configuration, tare weight configuration, cattle mapping information, records to be retransmitted, and operation logs or exception logs. It can use Flash, EEPROM, SD cards, and other non-volatile storage media.

[0047] The server platform receives data uploaded by devices, verifies device identity and record integrity, performs idempotent deduplication based on unique record identifiers, stores milk production records, performs statistics, analysis and display, and optionally sends configurations to devices.

[0048] The server platform verifies received records based on their unique identifiers. If the identifier does not exist in the database, a new record is created; otherwise, if the record already exists, it is considered a duplicate upload, and the system returns a "received" status. This prevents duplicate uploads caused by network outages, multiple confirmation presses by the user, or network timeouts leading to duplicate transmissions.

[0049] A smart weighing recording and data uploading method for dairy cow milking includes the following steps: Step 1: Place the milk bucket assembly into the corresponding load-bearing position on the weighing module; Step 2: Perform tare or read the tare weight from the configuration; Step 3: Obtain the identity of the cow being milked. During the milking process, the weighing module continuously collects the weight. Step 4: The control module filters the weight data; Step 5: After milking is completed, the worker issues a confirmation command through the operation confirmation module; Step 6: The control module performs a weight stability check; when the stability condition is met, the net milk weight is calculated. Step 7: Generate milk production records containing information such as cow identity, equipment number, net milk weight, and time. Upload the records to the server via the communication module. If the upload fails, write the records to local storage. Once the network is restored, retrieve the unuploaded records from the local storage and automatically re-upload them.

[0050] In large-scale farms, flow meters in milking parlors can automatically record lactation data. However, small farms or individual farmers do not have standardized milking parlors. The cost of such automated equipment ranges from several million to tens of millions of yuan, and only large ranches have it. Therefore, our focus is on applications for small and medium-sized ranches or individual farmers.

[0051] Example 1: A basic implementation method based on manually selecting the cow number, suitable for the initial deployment scenario.

[0052] The system includes a milk bucket, a weighing base, an ESP32 controller, an HX711 data acquisition circuit, an OLED display, three buttons, Flash storage, and a Wi-Fi communication module.

[0053] Operating procedures: The worker places the empty milk bucket on the weighing base; presses the tare button, and the system records the current bucket weight as the tare weight; the worker selects the current cow number using the selection button; the system continuously reads the weight during milking; after milking, the worker presses the confirmation button; the system performs filtering and stability checks on the weight data from the most recent period; if stable, it calculates the net milk weight and generates a record; if the network is normal, it uploads the data to the server; if the network is abnormal, it writes the data to the local Flash memory and re-uploads it after recovery. The milk production variation table is shown in Table 1.

[0054] Features: Low hardware cost; clear operation; suitable as a prototype or initial pilot project.

[0055] Table 1. Changes in Milk Production

[0056] Example 2: Implementation method based on RFID ear tag automatic identification, the identity identification module adopts RFID reader.

[0057] When a cow is approached or enters the designated milking location, its ear tag information is read and linked to the cow's file.

[0058] The system eliminates the need for manual selection of cow numbers, reducing the probability of human error.

[0059] If the ear tag reading fails, the system can be switched to manual selection mode to improve system robustness.

[0060] Features: High degree of automation; more accurate identity binding; suitable for relatively standardized ranch environments.

[0061] Example 3: Implementation based on fixed workstation mapping, where a milking station has a fixed mapping relationship with a certain cow or a certain type of cow.

[0062] The control module directly identifies the cow based on its current workstation number, eliminating the need for manual selection or RFID reading. This method is particularly suitable for fixed workstation management or semi-automatic milking station scenarios.

[0063] Features: Simplified operation; simple device-side recognition logic; suitable for fixed process scenarios.

[0064] Example 4: Implementation of offline caching and automatic retransmission: The local storage module saves a record table of records to be retransmitted.

[0065] The table should include at least: a unique record identifier, record content, creation time, upload status, and number of retries.

[0066] When the network is unavailable: the control module writes a record; the upload status is marked as "pending re-upload".

[0067] When the network is restored: the system polls for records to be retransmitted; uploads them one by one; the server removes duplicates based on the unique identifier of each record; Update the local status upon success; if multiple failures occur, the status can be retained or maintenance personnel can be prompted for assistance.

[0068] Features: Improves data integrity; adapts to complex network environments in ranches; avoids data loss due to network outages.

[0069] Example 5: Server-based statistical analysis implementation. After receiving milk production records, the server platform writes the records to the database and performs statistical analysis according to the following dimensions: Milk production per cow per feeding; daily milk production per cow; monthly milk production per cow; total daily milk production of the herd; statistics recorded by worker, equipment, and time period.

[0070] The platform can also generate: historical trend charts for individual cows; lists of abnormal milk production records; and lists of equipment online status.

[0071] Features: It helps farm managers monitor changes in milk production in cattle; it provides data for breeding management and supports subsequent expansion analysis models.

[0072] Example 6: Adaptive stability judgment implementation method, the control module automatically adjusts the stability judgment window according to the weight change rate.

[0073] When a significant change in weight is detected, the stability assessment window is extended; when the rate of change approaches zero, the waiting time is shortened and a record is generated.

[0074] This method can reduce problems such as excessively long waiting times, premature record generation, and poor user experience that occur under a fixed threshold.

[0075] Features: More adaptable to different working conditions; improves user experience; can serve as a further subordinate innovation point.

[0076] Therefore, the present invention adopts the above-mentioned intelligent weighing recording and data uploading system and method for the milking process of dairy cows. Through means such as tare, filtering, stability judgment, identity recognition, confirmation triggering, local caching and automatic retransmission, it realizes the automatic collection and remote management of milk production data of a single buffalo, reduces the workload of manual registration, improves the accuracy of recording, improves data traceability, facilitates management and analysis, and allows the backend to view the milk production trend of a single cow and a herd. It has strong scalability and can be expanded from manual cow number selection to RFID, fixed workstation mapping, abnormal warning, automatic reporting and other functions.

[0077] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention and not to limit them. Although the present invention has been described in detail with reference to preferred embodiments, those skilled in the art should understand that modifications or equivalent substitutions can still be made to the technical solutions of the present invention, and these modifications or equivalent substitutions cannot cause the modified technical solutions to deviate from the spirit and scope of the technical solutions of the present invention.

Claims

1. An intelligent weighing, recording, and data uploading system for the milking process of dairy cows, characterized in that: The system includes a milk bucket assembly, a weighing module, a control module, an identification module, an operation confirmation module, a display module, a communication module, a local storage module, and a server platform. The weighing module collects the current weight of the milk bucket; the control module calculates the net milk weight based on the tare weight information, and performs filtering, stability checks, and record generation on the weight data; the identification module identifies the currently milked cow; the operation confirmation module receives a manual confirmation signal after milking; the communication module sends milk production records to the server platform; the server platform receives, deduplicates, stores, statistically analyzes, and displays the milk production data; and the local storage module caches records in case of communication failures and retransmits them after network recovery. The control module is connected to the weighing module, display module, identification module, operation confirmation module, communication module, and local storage module; The control module is used to perform the following tasks: collecting weight data, performing tare or reading tare weight, calculating net milk weight, executing filtering algorithms, performing stability checks, generating unique record identifiers, encapsulating milk production records, controlling upload and re-upload, and managing local cache status. The stability judgment method is as follows: within a preset time window, the difference between the maximum and minimum values ​​of multiple consecutive sampled values ​​is less than a set threshold; or in several consecutive sampling periods, the difference between adjacent samples is less than a set threshold; or a comprehensive judgment is made by combining variance and slope change characteristics. The server platform verifies the received record based on its unique identifier; if the identifier does not exist in the database, a new record is created. If the upload exists, it is determined to be a duplicate upload, and the received status is returned.

2. The intelligent weighing, recording, and data uploading system for dairy cow milking process according to claim 1, characterized in that: The weighing module includes a weighing sensor and a weighing signal acquisition circuit; the weighing sensor is one of the following: strain gauge load cell, beam load cell, and platform load cell.

3. The intelligent weighing, recording, and data uploading system for dairy cow milking process according to claim 1, characterized in that: Filtering processes include moving average filtering, median filtering, low-pass filtering, amplitude limiting filtering, and combinations of various filtering methods.

4. The intelligent weighing, recording, and data uploading system for dairy cow milking process according to claim 1, characterized in that: The identification module adopts one or more of the following forms: a manual selection of cattle number input unit, an RFID ear tag reading unit, a fixed workstation and cattle file mapping unit, and an external identification device interface unit.

5. The intelligent weighing, recording, and data uploading system for dairy cow milking process according to claim 1, characterized in that: The operation confirmation module includes physical buttons, touch switches, foot switches, and a wireless confirmation button.

6. The intelligent weighing, recording, and data uploading system for dairy cow milking process according to claim 1, characterized in that: The display module includes the current cow number, current gross weight, tare weight, net milk weight, network status, cache status, upload success or failure status, and error message.

7. A method for intelligent weighing, recording, and uploading data during the milking process of dairy cows, employing the intelligent weighing, recording, and uploading system for the milking process of dairy cows as described in any one of claims 1-6, characterized in that, Includes the following steps: Step 1: Place the milk bucket assembly at the corresponding load-bearing position on the weighing module; Step 2: Perform tare or read the tare weight from the configuration; Step 3: Obtain the identity of the cow being milked. During the milking process, the weighing module continuously collects the weight. Step 4: The control module filters the weight data; Step 5: After milking is completed, the worker issues a confirmation command through the operation confirmation module; Step 6: The control module performs a weight stability check; when the stability condition is met, the net milk weight is calculated. Step 7: Generate milk production records containing cow identification, equipment number, net milk weight, and time information, and upload them to the server via the communication module. If the upload fails, the records are written to local storage. Once the network is restored, the unuploaded records are read from the local storage and automatically re-uploaded.