Cow oestrus hybridization monitoring system based on block chain edge calculation
Through the combination of blockchain edge computing and smart collar terminals, real-time monitoring and identification of the estrus status of the estrus in a cow is solved, and the problems of low accuracy of manual judgment and poor management efficiency in the existing technology are achieved, and efficient estrus monitoring and Management reduces breeding costs and improves data security.
Patent Information
- Application Number
- CN202411188388.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-28
- Publication Date
- 2024-11-12
- Estimated Expiration
- 2044-08-28
AI Technical Summary
In the prior art, ranch managers need to judge whether the cattle are in estrus through manual observation and data comparison, resulting in low accuracy and poor management efficiency. It is difficult to quickly find the cattle in estrus in large-scale herds, resulting in production. Not very effective.
The cattle estrus monitoring system based on blockchain edge computing is adopted to monitor sign data in real time through the smart collar terminal, and use machine learning algorithms to identify the estrus status, and improve monitoring accuracy and management efficiency through intelligent LED lights and SMS notification platforms.
It improves the accuracy and management efficiency of cattle estrus monitoring, reduces breeding costs, enhances data security and system scalability, and reduces the probability of breeding failure.
Smart Images

Figure CN118923561A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of animal husbandry technology, and in particular to a cattle estrus and breeding monitoring system based on blockchain edge computing. Background Art
[0002] Whether it is dairy cattle farming or beef cattle farming, cattle breeding is directly related to the operation and income of the ranch. In order to ensure the quality of breeding, most ranches in China currently use artificial breeding. Taking dairy cows as an example, the estrus cycle of dairy cows is 21 days, and the estrus lasts for about 20 hours. Beef cattle and dairy cows are similar, but some cattle breeds may be different.
[0003] The premise of artificial breeding is to observe the estrus of cows. In a large-scale ranch, there is an urgent need for a large-scale and accurate means to detect the estrus of cows. At the same time, it is also necessary to provide a quick means to find cows that are already in estrus.
[0004] Although there are some pedometer collar products on the market, they mainly report the activity data of cattle. Ranch managers need to check the pace data of each cattle several times a day and judge whether the cattle are in estrus based on the basic data of the cattle. Ordinary pedometer collars face two problems. First, ranch managers need to perform thousands of manual data comparisons; second, they need to quickly find estrus cattle in a large herd. These are a huge challenge for ranch operations. Relying solely on the personal experience of employees to record and predict, the data accuracy is not high, resulting in a significant improvement in the production efficiency of the cattle farm.
[0005] Currently, no effective solution has been proposed for the problems in the related technologies. Summary of the invention
[0006] 1. Technical issues to be resolved
[0007] In view of the shortcomings of the existing technology, the present invention provides a cattle estrus and breeding monitoring system based on blockchain edge computing, which has the advantages of improving the accuracy and management efficiency of cattle estrus monitoring, reducing breeding costs, and enhancing data security and system scalability, thereby solving the problem that traditional pasture management uses manual experience to judge whether cows are in estrus, resulting in too low production efficiency.
[0008] (II) Technical solution
[0009] In order to achieve the above advantages of improving the accuracy and management efficiency of cattle estrus monitoring, reducing breeding costs, and enhancing data security and system scalability, the specific technical solutions adopted by the present invention are as follows:
[0010] A cattle estrus and breeding monitoring system based on blockchain edge computing, the system comprising:
[0011] Smart collar terminal, which is worn on the neck of cattle, monitors the cattle's vital signs in real time through built-in sensors, and dynamically displays the cattle's estrus status through smart LED lights;
[0012] The data management platform is used to receive the vital sign data obtained through monitoring, centrally manage and store the estrus event information of each cattle through the constructed database, and establish information interaction with the event management platform;
[0013] The event management platform is used to obtain estrus event information from the data management platform, forward application operations from the display interaction application, and provide access interfaces to achieve information interaction between platforms;
[0014] Display interactive applications, used to connect to the event management platform to query and display the estrus status of cattle;
[0015] The SMS notification platform is used to send SMS notifications to registered users via wireless communication.
[0016] Furthermore, the smart collar terminal includes: an internal task management module, an estrus monitoring module, an LED light module and a communication module;
[0017] Among them, the internal task management module is used to monitor the operating status of each module, optimize the resource usage of each module, manage data flow and processing, and execute preset work logic;
[0018] The estrus monitoring module is used to collect the vital signs data of cattle through built-in sensors, and use edge computing and machine learning algorithms to identify the estrus status of cattle during the monitoring period. The vital signs data include activity data, rumination data, and body temperature data;
[0019] LED light module, used to indicate the estrus status of cattle through different flashing modes;
[0020] The communication module is used to upload the collected and processed vital sign data to the data management platform, and provides terminal identification and positioning functions, binding the device number of the collar with the individual number of the cattle.
[0021] Furthermore, it monitors the operating status of each module, optimizes the resource usage of each module, manages data flow and processing, and executes preset work logic including:
[0022] Check the hardware and software status of each module. When the functions are normal, allocate initial computing and storage resources, and continuously monitor the operating indicators of each module. When the standard threshold is exceeded, trigger the early warning mechanism.
[0023] Adjust resource allocation in real time based on the actual operation of the module, and manage the liquidity process of data collection, processing, storage and transmission;
[0024] Record the operating status and resource usage of each module, generate node logs, and automatically generate reports and send them to the data management platform when an exception occurs.
[0025] Further, the estrus monitoring module includes: a motion sensor, a pressure sensor, a temperature sensor, an activity recording unit, a rumination recording unit and a state assessment unit;
[0026] Among them, the motion sensor is used to collect the motion parameters generated by cattle during the breeding process by measuring the three-axis acceleration, angular velocity and angle;
[0027] The pressure sensor is used to obtain the pressure parameters of the cow when it is ruminating by measuring the waveform changes during the chewing and swallowing process of the cow;
[0028] Body temperature sensor, used to collect real-time body temperature data of cattle during feeding;
[0029] An activity recording unit is used to record the movement parameters of cattle and analyze the activity data of cattle in the current monitoring period according to the preset monitoring period;
[0030] A rumination recording unit is used to record the stress parameters of cattle and identify the rumination data of cattle in the current monitoring period by inputting into a pre-built behavior classification model;
[0031] The status evaluation unit is used to evaluate the estrus status of the cattle based on the activity data, body temperature data set and rumination data of the cattle in the current monitoring period.
[0032] Furthermore, the stress parameters of the cattle are recorded and input into a pre-built behavior classification model to identify the rumination data of the cattle in the current monitoring period, including:
[0033] The historical stress parameters obtained from cattle monitoring were obtained, and after data standardization and normalization, a behavioral data set was constructed and divided into a training set and a test set in a ratio of 8:2;
[0034] Using the behavior dataset as input variable, the network structure of the long short-term memory network is constructed, and the moth-to-fire algorithm is used to optimize the parameters of the long short-term memory network to construct a behavior classification model.
[0035] The stress parameters of the current monitoring period are input into the behavior classification model, the behavior classification results of the cattle in the current monitoring period are counted, and the duration of the cattle's rumination behavior is extracted as the rumination data; among them, the behavior classification results include rumination behavior, eating behavior, drinking behavior and stopping eating behavior.
[0036] Furthermore, the network structure of the long short-term memory network is built, and the moth-to-fire algorithm is used to optimize the parameters of the long short-term memory network. The behavior classification model constructed includes:
[0037] Set the number and range of model parameters to be optimized for the long short-term memory network; the model parameters include the maximum training axis, learning rate, block size, the number of neurons in the first hidden layer, and the number of neurons in the second hidden layer;
[0038] The accuracy of the evaluation index of the long short-term memory network is set as the output of the fitness function;
[0039] Initialize the moth sub-matrix, and calculate the moth fitness vector based on the moth matrix and the fitness function;
[0040] Determine whether the maximum number of iterations has been reached. If the current number of iterations exceeds the maximum number of iterations, the iteration is terminated. If the current number of iterations does not reach the maximum number of iterations, the moth position update formula is used to update the population and continue to search for the best solution. The moth position update formula is:
[0041] S(M i ,F j )=D i ·e bt ·cos(2πt)+F j
[0042] D i =|F j -M i |
[0043] Where S represents the logarithmic spiral function; D i represents the distance from the i-th moth to the j-th flame; M i represents the i-th moth; F j represents the jth flame; b represents the constant of S; t represents a random number; e represents a natural constant;
[0044] After all iterations are completed, the optimal model parameters are output and the behavior classification model is obtained.
[0045] Furthermore, based on the activity data, body temperature data set and rumination data of the cattle in the current monitoring period, the estrus status of the cattle is evaluated including:
[0046] Based on the monitoring results of activity data, the activity types of cattle are divided into active postures and inactive postures. The percentage of active postures of cattle in the current monitoring period to the total duration of the monitoring period is counted as the activity characteristics of cattle in the current monitoring period.
[0047] Based on the monitoring results of rumination data, the percentage of the duration of rumination behavior of cattle in the current monitoring period to the total duration of the monitoring period, and the percentage of the duration of rumination behavior to the total feeding time are calculated as the rumination characteristics of cattle in the current monitoring period;
[0048] Based on the monitoring results of body temperature data, the body temperature change of cattle in the current monitoring period is recorded, and the temperature difference between the cattle and the standard body temperature is calculated as the body temperature characteristics of the cattle in the current monitoring period;
[0049] Activity characteristics, rumination characteristics and body temperature characteristics are used to construct a feature matrix as model input. By pre-setting the identification label of the estrus status of cattle, a state recognition model based on the long short-term memory network is constructed. The state recognition model is used to identify the estrus status of cattle in the current monitoring cycle.
[0050] Further, the data management platform includes: an edge management module, a data receiving module, a data management module, a dual-chain storage module, an access control module, and an interface management module;
[0051] The edge management module is used to deploy the IoT gateway, partition and manage all smart collar terminals in the breeding area, and coordinate the distributed processing of vital sign data and estrus status identification.
[0052] A data receiving module, used to receive and integrate real-time data uploaded by the smart collar terminal;
[0053] The data management module is used to associate the individual numbers of cattle and their respective physical sign data with the estrus status, form the estrus event information corresponding to the cattle, and perform zoning management according to the breeding area division;
[0054] The dual-chain storage module is used to construct data blocks based on the real-time data uploaded by the smart collar terminal, and store the data blocks to the server node in an asynchronous concurrent manner to form a dual-chain storage structure;
[0055] The access control module is used to carry the ciphertext access mechanism, grant data access rights to data owners and authorizers, and regularly query and verify the integrity of blockchain data;
[0056] The interface management module is used to provide a data interface between the event management platform and the display interaction application, and supports multiple data formats and protocol conversions.
[0057] Furthermore, data blocks are constructed based on the real-time data uploaded by the smart collar terminal, and the data blocks are stored in the server node in an asynchronous concurrent manner to form a double-chain storage structure including:
[0058] The real-time data uploaded by the smart collar terminal of each cow is generated into data blocks according to different breeding areas, and then the data blocks are formed into blocks in chronological order and stored in the server node;
[0059] Each server node stores data blocks of multiple breeding areas, and when the server node stores blocks, it first verifies the storage rules and stores the blocks after the verification is passed;
[0060] The storage rules of the first two blocks are pre-set. Starting from the third block, each additional block is based on the storage rules of the first two blocks. When the server obtains storage rights for other breeding areas, the storage information is published to the blockchain and the block is attached to the end of the chain of the server node. Other server nodes give up participating in the competition for the storage rights of the block.
[0061] Furthermore, the event management platform includes: an event processing module, a real-time monitoring module, a policy management module, an event cache module and an extended interface module;
[0062] Among them, the event processing module is used to classify, sort and prioritize estrus event information according to preset rules, and respond promptly to cattle with abnormal estrus status;
[0063] The real-time monitoring module is used to monitor the estrus time processing process in real time and record all processing logs, which are then encrypted and stored through the blockchain;
[0064] The policy management module is used to support administrators in defining the processing strategies for estrus events;
[0065] An event cache module is used to temporarily store unprocessed and in-process estrus event information;
[0066] The extended interface module is used to provide data interfaces with interactive display applications, data management platforms and other modules, and is responsible for the conversion and adaptation of data formats and communication protocols.
[0067] (III) Beneficial effects
[0068] Compared with the prior art, the present invention provides a cattle estrus and breeding monitoring system based on blockchain edge computing, which has the following beneficial effects:
[0069] (1) By combining the smart collar terminal, data management platform, event management platform, display interactive application and SMS notification platform, a complete cattle estrus monitoring and management solution system is formed; by real-time monitoring of cattle's vital signs data, after estrus status analysis, the built-in smart LED light is used to intuitively display the estrus status, so that managers or operators can identify and take breeding measures in time, thereby effectively improving the accuracy of cattle estrus monitoring and management efficiency, and reducing breeding costs.
[0070] (2) By utilizing edge computing and blockchain technology, the rapid processing and secure storage of data are ensured, and cross-platform information interaction and access control are supported, which improves the efficiency and reliability of data management, effectively enhancing data security and system scalability. At the same time, it provides users with a convenient query and monitoring interface, making the visualization and tracking of estrus status more intuitive and easy to use. Wireless communication technology is then used to send SMS notifications to ensure that managers can receive timely notifications when cattle are in estrus, reducing the probability of breeding failure due to delayed manual monitoring. BRIEF DESCRIPTION OF THE DRAWINGS
[0071] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0072] Figure 1 This is a system principle block diagram of a cattle estrus and breeding monitoring system based on blockchain edge computing according to an embodiment of the present invention;
[0073] Figure 2 It is a schematic diagram of the main structure of a smart collar terminal in a cattle estrus and breeding monitoring system based on blockchain edge computing according to an embodiment of the present invention;
[0074] Figure 3 It is a structural block diagram of a smart collar terminal in a cattle estrus and breeding monitoring system based on blockchain edge computing according to an embodiment of the present invention;
[0075] Figure 4 2. It is a communication diagram of a cattle estrus and breeding monitoring system based on blockchain edge computing according to an embodiment of the present invention;
[0076] Figure 5 It is a logic flow chart of a smart collar terminal in a cattle estrus and breeding monitoring system based on blockchain edge computing according to an embodiment of the present invention;
[0077] Figure 62. It is a schematic diagram of the system composition of a cattle estrus and breeding monitoring system based on blockchain edge computing according to an embodiment of the present invention;
[0078] Figure 7 It is a logical flow chart of a cattle estrus and breeding monitoring system based on blockchain edge computing according to an embodiment of the present invention.
[0079] In the figure:
[0080] 1. Smart collar terminal; 2. Data management platform; 3. Event management platform; 4. Display interactive application; 5. SMS notification platform. DETAILED DESCRIPTION
[0081] According to an embodiment of the present invention, a cattle estrus and breeding monitoring system based on blockchain edge computing is provided.
[0082] The present invention is further described with reference to the accompanying drawings and specific embodiments. Figure 1 and Figure 6 As shown, according to a cattle estrus breeding monitoring system based on blockchain edge computing according to an embodiment of the present invention, the system includes:
[0083] The smart collar terminal 1 is used to be worn on the neck of the cattle, monitors the cattle's vital signs data in real time through the built-in sensor, and dynamically displays the cattle's estrus status through the smart LED light.
[0084] In the description of the present invention, Figure 2 and Figure 3 As shown, the smart collar terminal 1 (in the present invention, it is worn on the neck of the cattle in the form of a smart LED flashing collar) includes: an internal task management module, an estrus monitoring module, an LED light module ( Figure 2 The present invention also includes a battery and a battery management function.
[0085] Among them, the internal task management module is used to monitor the operating status of each module, optimize the resource usage of each module, manage data flow and processing, and execute preset work logic.
[0086] In the description of the present invention, monitoring the operating status of each module, optimizing the resource usage of each module, managing data flow and processing, and executing the preset working logic include:
[0087] Step S101, check the hardware and software status of each module, allocate initial computing and storage resources when the functions are normal, and continuously monitor the operating indicators of each module. When the standard threshold is exceeded, trigger the early warning mechanism.
[0088] Step S102: Based on the actual operation of the module, adjust resource allocation in real time and manage the liquidity processing procedures of data collection, processing, storage and transmission.
[0089] Step S103, record the operating status and resource usage of each module, generate a node log, and automatically generate a report when an abnormality occurs and send it to the data management platform 2.
[0090] The estrus monitoring module is used to collect the vital signs data of cattle through built-in sensors, and use edge computing and machine learning algorithms to identify the estrus status of cattle during the monitoring period. The vital signs data include activity data, rumination data and body temperature data.
[0091] In the description of the present invention, the estrus monitoring module includes: a motion sensor, a pressure sensor, a temperature sensor, an activity recording unit, a rumination recording unit and a state evaluation unit.
[0092] Among them, the motion sensor is used to collect the motion parameters generated by cattle during the breeding process by measuring three-axis acceleration, angular velocity and angle.
[0093] Specifically, the motion sensor measures the acceleration of cattle in the X, Y, and Z directions through a built-in accelerometer. Acceleration data can reflect the intensity and direction changes of the cattle's movements, thereby helping to analyze their activity behaviors, such as walking, running, or standing. The motion sensor also has a built-in gyroscope to measure the rotation speed of cattle around various axes in space. Angular velocity data can capture the cattle's head turning, turning around, or other fast movements. Through comprehensive analysis of acceleration and angular velocity data, the motion sensor can calculate the posture angles of various parts of the cattle's body, such as the head tilt angle, body tilt angle, etc., which helps to further understand the cattle's behavioral status, such as whether they are resting, eating grass, or drinking water.
[0094] The pressure sensor is used to obtain the pressure parameters of the cow when it is ruminating by measuring the waveform changes during the chewing and swallowing process of the cow.
[0095] Specifically, the pressure sensor can detect the pressure changes generated during chewing and swallowing in real time. Each rumination behavior will produce a specific pressure waveform, and the sensor can identify the rumination action by measuring these waveform changes. Through the collected pressure data, the sensor can analyze the number of times the cow chews, the chewing intensity, and the frequency of swallowing in different time periods. This information can be used to determine whether the cow is ruminating and distinguish rumination from other eating behaviors.
[0096] The body temperature sensor is used to collect the body temperature data of cattle in real time during the breeding process.
[0097] The activity recording unit is used to record the movement parameters of cattle and analyze the activity data of cattle in the current monitoring period according to the preset monitoring period.
[0098] The rumination recording unit is used to record the stress parameters of cattle and identify the rumination data of cattle in the current monitoring period by inputting into a pre-built behavior classification model.
[0099] In the description of the present invention, recording the stress parameters of cattle and identifying the rumination data of cattle in the current monitoring period by inputting into a pre-built behavior classification model includes:
[0100] Step S111, obtain historical stress parameters obtained by monitoring cattle, construct a behavioral data set after data standardization and normalization, and divide it into a training set and a test set in a ratio of 8:2.
[0101] Step S112: Using the behavior data set as an input variable, building a network structure of a long short-term memory network, using the moth-to-fire algorithm to optimize the parameters of the long short-term memory network, and constructing a behavior classification model.
[0102] Specifically, Moth-Flame Optimization (MFO) is a novel nature-inspired algorithm inspired by the mathematical model of moths' phototaxis. MFO simulates the trajectory of moths flying around flames and performs global optimization search, which is widely used to solve various optimization problems. Long Short Term Memory (LSTM) is a special recurrent neural network (RNN) specifically designed for processing and predicting time series data. LSTM solves the problem of gradient vanishing or exploding that is prone to occur in traditional RNN in long sequence training by introducing memory units.
[0103] The purpose of combining the Moth to Flame algorithm (MFO) with the Long Short-Term Memory network (LSTM) is to optimize the hyperparameters of the LSTM network. It has the advantages of fast optimization speed and not easy to fall into local optimality, thereby improving its performance.
[0104] In the description of the present invention, the network structure of the long short-term memory network is constructed, the moth-to-fire algorithm is used to optimize the parameters of the long short-term memory network, and the behavior classification model is constructed, including:
[0105] Step S1121, setting the number and range of model parameters to be optimized for the long short-term memory network, wherein the model parameters include the maximum training axis, learning rate, block size, first hidden layer neuron data and second hidden layer neuron number.
[0106] Step S1122: Set the accuracy of the evaluation index of the long short-term memory network as the output of the fitness function.
[0107] Step S1123, initialize the moth sub-matrix, and calculate the moth fitness vector according to the moth matrix and the fitness function.
[0108] Step S1124: determine whether the maximum number of iterations has been reached. If the current number of iterations exceeds the maximum number of iterations, the iteration is terminated. If the current number of iterations does not reach the maximum number of iterations, the moth position update formula is used to update the population and continue to search for the best solution. The moth position update formula is:
[0109] S(M i ,F j )=D i ·e bt ·cos(2πt)+F j
[0110] D i =|F j -M i |
[0111] Where S represents the logarithmic spiral function; D i represents the distance from the i-th moth to the j-th flame; M i represents the i-th moth; F j represents the jth flame; b represents the constant of S; t represents a random number; e represents a natural constant;
[0112] Step S1125: After all iterations are completed, the optimal model parameters are output to obtain a behavior classification model.
[0113] Step S113: input the pressure parameters of the current monitoring period into the behavior classification model, count the behavior classification results of the cattle in the current monitoring period, and extract the duration of the rumination behavior of the cattle as rumination data. The behavior classification results include rumination behavior, eating behavior, drinking behavior and stopping eating behavior.
[0114] The status evaluation unit is used to evaluate the estrus status of the cattle based on the activity data, body temperature data set and rumination data of the cattle in the current monitoring period.
[0115] In the description of the present invention, based on the activity data, body temperature data set and rumination data of the cattle in the current monitoring period, evaluating the estrus state of the cattle includes:
[0116] Step S121, based on the monitoring results of the activity data, the activity types of the cattle are divided into active postures and inactive postures, and the percentage of the active postures of the cattle in the current monitoring period to the total duration of the monitoring period is counted as the activity characteristics of the cattle in the current monitoring period.
[0117] Specifically, the activity of cattle is monitored through motion sensors, and active postures (such as standing and walking) and inactive postures (such as resting and lying) are distinguished. Then, the duration of the active postures of cattle in the current monitoring period is counted, and the percentage of the total duration of the monitoring period is calculated. This percentage is the activity feature, which reflects the activity level of cattle.
[0118] Step S122: Based on the monitoring results of the rumination data, the percentage of the duration of the rumination behavior of the cattle in the current monitoring period to the total duration of the monitoring period, and the percentage of the duration of the rumination behavior to the total eating time are counted as the rumination characteristics of the cattle in the current monitoring period.
[0119] Step S123, based on the monitoring results of the body temperature data, record the body temperature change of the cattle in the current monitoring period, calculate the temperature difference between the cattle and the standard body temperature, and use it as the body temperature characteristics of the cattle in the current monitoring period.
[0120] Step S124, using activity characteristics, rumination characteristics and body temperature characteristics to construct a feature matrix as a model input, and by pre-setting the identification label of the estrus state of the cattle, constructing a state recognition model based on the long short-term memory network, and using the state recognition model to identify the estrus state of the cattle in the current monitoring cycle.
[0121] Specifically, all extracted eigenvalues are combined into a matrix. Assume that there are n samples, each of which has three main features (activity feature, rumination feature, and body temperature feature), and the dimension of the feature matrix X is n×3.
[0122] In order to make the model converge more easily, the feature matrix is usually standardized so that each eigenvalue ranges between 0 and 1, or it is standardized to a normal distribution with a mean of 0 and a variance of 1. Set the estrus status label: For each sample x i , assign estrus status label y i , the label can be a binary classification (estrus or not in estrus) or a multivariate classification (for example, 0 means not in estrus, 1 means about to be in estrus, and 2 means in estrus).
[0123] LSTM network structure design: LSTM is a neural network structure suitable for processing time series data and can capture long-term dependencies. In order to use the LSTM model to identify the estrus state of cattle, the following structure is usually designed:
[0124] Input layer: The feature matrix is used as the data of the input layer, and a feature vector x is input at each time step i .
[0125] LSTM layer: Includes one or more LSTM layers to learn patterns in time series. The output of the LSTM layer is passed to the next layer or directly connected to the output layer.
[0126] Fully connected layer: The output of the LSTM layer is connected to one or more fully connected layers for further processing of the features extracted by the LSTM.
[0127] Output layer: Depending on the problem type, the output layer may be a Sigmoid activation function for binary classification problems or a Softmax activation function for multi-classification problems. Train the LSTM model using the labeled estrus status labels (y values). Define the loss function (e.g., binary cross entropy loss or multivariate cross entropy loss) and optimize the model weights through the back-propagation algorithm.
[0128] The LED light module is used to indicate the estrus status of cattle through different flashing modes.
[0129] The communication module is used to upload the collected and processed vital sign data to the data management platform, and provides terminal identification and positioning functions, binding the device number of the collar with the individual number of the cattle.
[0130] In addition, if Figure 5 and Figure 7 As shown, the present invention uses a smart collar terminal to collect the vital sign data of cattle and its related processing logic flow, with the purpose of helping operators or managers quickly grasp the estrus status of cattle through continuous monitoring and LED light feedback, so as to achieve rapid response.
[0131] The data management platform 2 is used to receive the vital sign data obtained through monitoring, centrally manage and store the estrus event information of each cattle through the constructed database, and establish information interaction with the event management platform.
[0132] In the description of the present invention, the data management platform 2 includes: an edge management module (not marked in the figure), a data receiving module (not marked in the figure), a data management module (not marked in the figure), a double-chain storage module (not marked in the figure), an access control module (not marked in the figure), and an interface management module (not marked in the figure).
[0133] Among them, the edge management module is used to deploy the Internet of Things gateway, partition the management of all smart collar terminals 1 in the breeding area, and coordinate the distributed processing of vital sign data and estrus status identification.
[0134] The data receiving module is used to receive and integrate the real-time data uploaded by the smart collar terminal 1.
[0135] The data management module is used to associate the individual numbers of cattle and their respective physical sign data with estrus status, form estrus event information corresponding to the cattle, and perform zoning management according to breeding area divisions.
[0136] The dual-chain storage module is used to construct data blocks according to the real-time data uploaded by the smart collar terminal 1, and store the data blocks to the server node in an asynchronous concurrent manner to form a dual-chain storage structure.
[0137] In the description of the present invention, data blocks are constructed according to the real-time data uploaded by the smart collar terminal 1, and the data blocks are stored in the server node in an asynchronous concurrent manner to form a double-chain storage structure including:
[0138] Step S201: The real-time data uploaded by the smart collar terminal 1 of each cow is generated into data blocks according to different breeding areas, and then the data blocks are formed into blocks in time sequence and stored in the server node.
[0139] Step S202, each server node stores data blocks of multiple breeding areas, and when the server node stores blocks, it first verifies the storage rules, and stores the blocks after the verification is passed.
[0140] Step S203, pre-set the storage rules of the first two blocks. Starting from the third block, each additional block is based on the storage rules of the first two blocks. When the server obtains storage rights for other breeding areas, the storage information is published to the blockchain, and the block is attached to the end of the chain of the server node. Other server nodes give up participating in the competition for the storage rights of the block.
[0141] Specifically, the advantages of the double-chain storage structure are as follows: a) Efficiency: Since the consensus mechanism is storage power, computing power and time, there is no need for complex algorithms. After the data is generated, it can be directly stored and confirmed with other nodes, and the storage efficiency is high. b) Security: In the private chain, each data storage must verify the previous two blocks (for its reference rules), that is, a chain can form a trust chain after three storages. Double-chain backup storage improves data security. c) Decentralization: It has the advantages of blockchain decentralization. All servers manage data together, and there is no centralized management mechanism. d) Distributed storage: The data of each breeding area is managed by multiple servers, and blocks recording multiple breeding areas can be generated at the same time, realizing distributed storage.
[0142] The access control module is used to carry the ciphertext access mechanism, grant data access rights to data owners and authorizers, and regularly query and verify the integrity of blockchain data.
[0143] The interface management module is used to provide a data interface between the event management platform 3 and the display interaction application, and supports multiple data formats and protocol conversions.
[0144] The event management platform 3 is used to obtain the estrus event information from the data management platform, forward the application operation from the display interaction application, and provide an access interface to realize information interaction between platforms.
[0145] In the description of the present invention, the event management platform 3 includes: an event processing module (not marked in the figure), a real-time monitoring module (not marked in the figure), a policy management module (not marked in the figure), an event caching module (not marked in the figure) and an extended interface module (not marked in the figure).
[0146] Among them, the event processing module is used to classify, sort and prioritize estrus event information according to preset rules, and respond promptly to cattle with abnormal estrus status.
[0147] The real-time monitoring module is used to monitor the estrus time processing process in real time, record all processing logs, and then encrypt and store the processing logs through the blockchain.
[0148] The policy management module is used to support administrators in defining strategies for handling estrus events.
[0149] The event cache module is used to temporarily store the unprocessed and in-process estrus event information.
[0150] The extended interface module is used to provide data interfaces with interactive display applications, data management platforms and other modules, and is responsible for the conversion and adaptation of data formats and communication protocols.
[0151] The interactive application 4 is displayed, which is used to connect to the event management platform to query and display the estrus status of cattle.
[0152] Specifically, Figure 4 The figure shows the wireless access and communication mode of the system. The interactive application 4 plays a key role in connecting users and system data in the entire cattle estrus and breeding monitoring system based on blockchain edge computing. Its main function is to query and display the estrus status of cattle through interaction with the event management platform 3, so that users can obtain key information intuitively and timely.
[0153] The display interactive application 4 provides an intuitive and easy-to-use user interface (UI) to display the estrus status of cattle. It supports multiple display methods, such as charts, lists, timelines, etc., so that users can clearly view the changes in the estrus status of cattle. The estrus status changes of cattle are displayed in real time, and the timeliness and accuracy of the displayed information are ensured through regular data synchronization with the event management platform. It also provides a status update notification function to remind users in time when the estrus status of cattle changes.
[0154] Users can query the historical estrus status data of specific cattle through the application and conduct longitudinal comparative analysis. It supports filtering data according to different conditions (such as time period, estrus status, etc.) to help users quickly locate the content of interest. The estrus status data obtained from the event management platform is visualized and charts or reports are generated to help users better understand and analyze the estrus trends of cattle; it provides data export function, and users can export the analysis results in multiple formats for further processing or storage.
[0155] The SMS notification platform 5 is used to send SMS notifications to registered users via wireless communication.
[0156] In addition, the present invention combines edge computing and blockchain technology to build a blockchain cloud architecture for IoT edge computing, which can be divided into five layers according to the system architecture, namely, the device layer, container layer, middle layer, application layer and user layer. In the system framework of the present invention, the corresponding relationship between each layer and the system module is as follows:
[0157] 1. Device layer (corresponding to smart collar terminal)
[0158] The device layer is the foundation of the entire system, and mainly includes hardware devices for data collection and preliminary processing. In the estrus monitoring system, the smart collar terminal acts as the core node of the device layer, monitoring the vital signs of cattle (such as activity, body temperature, rumination behavior, etc.) in real time, and performing preliminary data processing and estrus status analysis locally on the collar.
[0159] Function: The device layer uses the edge computing capabilities of smart collar terminals to reduce data transmission delays, improve the real-time performance of data processing, and provide high-quality data sources for the upper-layer platform.
[0160] 2. Container layer (corresponding to data management platform)
[0161] The container layer is the data storage and management center of the system. The data management platform is responsible for receiving data from smart collar terminals, storing, classifying, managing, and preliminarily analyzing the data to provide support for upper-layer applications. The design of the container layer focuses on the scalability and security of data, especially when using blockchain technology to ensure the integrity and immutability of data.
[0162] Function: The container layer provides a stable and secure data processing and storage environment for the system, ensuring the reliability and consistency of data when it is transmitted and used in the system.
[0163] 3. Middle layer (corresponding to the event management platform)
[0164] The middle layer is the coordination center of the system. In this layer, the event management platform is responsible for managing and coordinating the information interaction and operation requests between various functional modules. It receives estrus event information from the data management platform and processes requests and operations from the display interactive application and SMS notification platform to ensure that all parts of the system can work together effectively.
[0165] Function: The middle layer realizes the orderly collaboration between different modules in the system through the event management platform, ensuring the smooth transmission of information flow and the efficiency of operation execution.
[0166] 4. Application layer (corresponding to display interactive applications)
[0167] The application layer is the part of the system that users come into direct contact with, and is mainly responsible for converting data into visual display content. In this layer, the interactive application displays the estrus status information of cattle through an intuitive interface and allows users to perform related operations such as query, analysis, and report generation.
[0168] Function: The application layer converts complex system data into easy-to-understand charts and information displays through a user-friendly interface, helping users make accurate decisions.
[0169] 5. User layer (corresponding to SMS notification platform)
[0170] The user layer is the level where the system interacts directly with the user. The SMS notification platform delivers key information about the estrus status of cattle to the user via SMS or other communication methods. This layer ensures that users can receive important notification information anytime and anywhere without having to check the system all the time.
[0171] Function: The user layer uses the real-time communication function of the SMS notification platform to ensure that users can obtain the estrus status information of cattle in a timely manner, and then conduct effective breeding management.
[0172] In summary, with the help of the above technical solutions of the present invention, a complete cattle estrus monitoring and management solution system is formed by combining smart collar terminals, data management platforms, event management platforms, display interactive applications and SMS notification platforms; by real-time monitoring of cattle's vital signs data, after estrus status analysis, the built-in smart LED lights are used to intuitively display the estrus status, so that managers or operators can timely identify and take breeding measures, thereby effectively improving the accuracy of cattle estrus monitoring and management efficiency, and reducing breeding costs. By utilizing edge computing and blockchain technology, the rapid processing and secure storage of data are ensured, and cross-platform information interaction and access control are supported, the efficiency and reliability of data management are improved, and the data security and system scalability are effectively enhanced; at the same time, a convenient query and monitoring interface is provided for users, making the visualization and tracking of estrus status more intuitive and easy to use, and then using wireless communication technology to send SMS notifications to ensure that managers can receive notifications in time when cattle are in estrus, reducing the probability of breeding failure due to manual monitoring lags.
[0173] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principle of the present invention should be included in the protection scope of the present invention.
Claims
1. A cattle estrus and breeding monitoring system based on blockchain edge computing, characterized in that: The system includes: Smart collar terminal, which is worn on the neck of cattle, monitors the cattle's vital signs in real time through built-in sensors, and dynamically displays the cattle's estrus status through smart LED lights; The data management platform is used to receive the vital sign data obtained through monitoring, centrally manage and store the estrus event information of each cattle through the constructed database, and establish information interaction with the event management platform; The event management platform is used to obtain estrus event information from the data management platform, forward application operations from the display interaction application, and provide access interfaces to achieve information interaction between platforms; Display interactive applications, used to connect to the event management platform to query and display the estrus status of cattle; The SMS notification platform is used to send SMS notifications to registered users via wireless communication.
2. According to claim 1, a cattle estrus and breeding monitoring system based on blockchain edge computing is characterized in that: The smart collar terminal includes: an internal task management module, an estrus monitoring module, an LED light module and a communication module; The internal task management module is used to monitor the operating status of each module, optimize the resource usage of each module, manage data flow and processing, and execute preset work logic; The estrus monitoring module is used to collect the vital sign data of cattle through built-in sensors, and use edge computing to identify the estrus state of cattle during the monitoring period with the help of machine learning algorithms. The vital sign data includes activity data, rumination data and body temperature data; The LED light module is used to indicate the estrus status of the cattle through different flashing modes; The communication module is used to upload the collected and processed vital sign data to the data management platform, and provide terminal identification and positioning functions, and bind the device number of the collar with the individual number of the cattle.
3. A cattle estrus and breeding monitoring system based on blockchain edge computing according to claim 2, characterized in that: The monitoring of the operating status of each module, optimizing the resource usage of each module, managing data flow and processing, and executing the preset working logic include: Check the hardware and software status of each module. When the functions are normal, allocate initial computing and storage resources, and continuously monitor the operating indicators of each module. When the standard threshold is exceeded, trigger the early warning mechanism. Adjust resource allocation in real time based on the actual operation of the module, and manage the liquidity process of data collection, processing, storage and transmission; Record the operating status and resource usage of each module, generate node logs, and automatically generate reports and send them to the data management platform when an exception occurs.
4. A cattle estrus and breeding monitoring system based on blockchain edge computing according to claim 2, characterized in that: The estrus monitoring module includes: a motion sensor, a pressure sensor, a temperature sensor, an activity recording unit, a rumination recording unit and a state evaluation unit; The motion sensor is used to collect the motion parameters generated by cattle during the feeding process by measuring the three-axis acceleration, angular velocity and angle; The pressure sensor is used to obtain the pressure parameters of the cattle when they are ruminating by measuring the waveform changes during the chewing and swallowing process of the cattle; The body temperature sensor is used to collect the body temperature data of cattle in the breeding process in real time; The activity recording unit is used to record the movement parameters of the cattle and analyze the activity data of the cattle in the current monitoring period according to the preset monitoring period; The rumination recording unit is used to record the stress parameters of the cattle and identify the rumination data of the cattle in the current monitoring period by inputting into a pre-built behavior classification model; The state evaluation unit is used to evaluate the estrus state of the cattle based on the activity data, body temperature data set and rumination data of the cattle in the current monitoring period.
5. A cattle estrus and breeding monitoring system based on blockchain edge computing according to claim 4, characterized in that: The recording of the stress parameters of the cattle and the identification of the rumination data of the cattle in the current monitoring period by inputting into the pre-built behavior classification model include: The historical stress parameters obtained from cattle monitoring were obtained, and after data standardization and normalization, a behavioral data set was constructed and divided into a training set and a test set in a ratio of 8:2; Using the behavior dataset as input variable, the network structure of the long short-term memory network is constructed, and the moth-to-fire algorithm is used to optimize the parameters of the long short-term memory network to construct a behavior classification model; The pressure parameters of the current monitoring period are input into the behavior classification model, the behavior classification results of the cattle in the current monitoring period are counted, and the duration of the cattle's rumination behavior is extracted as the rumination data; wherein the behavior classification results include rumination behavior, eating behavior, drinking behavior and stopping eating behavior.
6. A cattle estrus and breeding monitoring system based on blockchain edge computing according to claim 5, characterized in that: The network structure of the long short-term memory network is constructed, and the moth-to-fire algorithm is used to optimize the parameters of the long short-term memory network to construct a behavior classification model, which includes: Setting the number and range of model parameters to be optimized for the long short-term memory network; wherein the model parameters include the maximum training axis, the learning rate, the block size, the first hidden layer neuron data and the second hidden layer neuron number; The accuracy of the evaluation index of the long short-term memory network is set as the output of the fitness function; Initialize the moth sub-matrix, and calculate the moth fitness vector based on the moth matrix and the fitness function; Determine whether the maximum number of iterations has been reached. If the current number of iterations exceeds the maximum number of iterations, the iteration is terminated. If the current number of iterations does not reach the maximum number of iterations, the moth position update formula is used to update the population and continue to search for the best solution. The moth position update formula is: S(M i ,F j )=D i ·e bt ·cos(2πt)+F j D i =|F j -M i | Where S represents the logarithmic spiral function; D i represents the distance from the i-th moth to the j-th flame; M i represents the i-th moth; F j represents the jth flame; b represents the constant of S; t represents a random number; e represents a natural constant; After all iterations are completed, the optimal model parameters are output and the behavior classification model is obtained.
7. The cattle estrus and breeding monitoring system based on blockchain edge computing according to claim 5 is characterized in that: The step of evaluating the estrus state of the cattle based on the activity data, body temperature data set and rumination data of the cattle in the current monitoring period includes: Based on the monitoring results of activity data, the activity types of cattle are divided into active postures and inactive postures. The percentage of active postures of cattle in the current monitoring period to the total duration of the monitoring period is counted as the activity characteristics of cattle in the current monitoring period. Based on the monitoring results of rumination data, the percentage of the duration of rumination behavior of cattle in the current monitoring period to the total duration of the monitoring period, and the percentage of the duration of rumination behavior to the total feeding time are calculated as the rumination characteristics of cattle in the current monitoring period; Based on the monitoring results of body temperature data, the body temperature change of cattle in the current monitoring period is recorded, and the temperature difference between the cattle and the standard body temperature is calculated as the body temperature characteristics of the cattle in the current monitoring period; Activity characteristics, rumination characteristics and body temperature characteristics are used to construct a feature matrix as the model input. By pre-setting the identification label of the estrus status of cattle, a state recognition model based on the long short-term memory network is constructed. The state recognition model is used to identify the estrus status of cattle in the current monitoring cycle.
8. The cattle estrus and breeding monitoring system based on blockchain edge computing according to claim 2 is characterized in that: The data management platform includes: an edge management module, a data receiving module, a data management module, a double-chain storage module, an access control module, and an interface management module; The edge management module is used to deploy the IoT gateway, partition and manage all smart collar terminals in the breeding area, and coordinate the distributed processing of vital sign data and estrus status identification; The data receiving module is used to receive and integrate real-time data uploaded by the smart collar terminal; The data management module is used to associate the individual numbers of the cattle and their respective physical sign data with the estrus status, form the estrus event information corresponding to the cattle, and perform zoning management according to the breeding area division; The dual-chain storage module is used to construct data blocks according to the real-time data uploaded by the smart collar terminal, and store the data blocks to the server node in an asynchronous concurrent manner to form a dual-chain storage structure; The access control module is used to carry a ciphertext access mechanism, grant data access rights to data owners and authorizers, and regularly query and verify the integrity of blockchain data; The interface management module is used to provide a data interface between the event management platform and the display interaction application, and supports multiple data formats and protocol conversions.
9. The cattle estrus and breeding monitoring system based on blockchain edge computing according to claim 8 is characterized in that: The data blocks are constructed according to the real-time data uploaded by the smart collar terminal, and the data blocks are stored in the server node in an asynchronous concurrent manner to form a double-chain storage structure, including: The real-time data uploaded by the smart collar terminal of each cow is generated into data blocks according to different breeding areas, and then the data blocks are formed into blocks in chronological order and stored in the server node; Each server node stores data blocks of multiple breeding areas, and when the server node stores blocks, it first verifies the storage rules and stores the blocks after the verification is passed; The storage rules of the first two blocks are pre-set. Starting from the third block, each additional block is based on the storage rules of the first two blocks. When the server obtains storage rights for other breeding areas, the storage information is published to the blockchain and the block is attached to the end of the chain of the server node. Other server nodes give up participating in the competition for the storage rights of the block.
10. The cattle estrus and breeding monitoring system based on blockchain edge computing according to claim 2 is characterized in that: The event management platform includes: an event processing module, a real-time monitoring module, a policy management module, an event cache module and an extended interface module; The event processing module is used to classify, sort and prioritize estrus event information according to preset rules, and respond promptly to cattle with abnormal estrus status; The real-time monitoring module is used to monitor the estrus time processing process in real time, record all processing logs, and then encrypt and store the processing logs through the blockchain; The policy management module is used to support the administrator to define the processing strategy of estrus events; The event cache module is used to temporarily store unprocessed and in-process estrus event information; The extended interface module is used to provide a data interface with the display interactive application, data management platform and other modules, and is responsible for the conversion and adaptation of data formats and communication protocols.
Citation Information
Patent Citations
Beef cattle breeding optimization method and device based on machine learning
CN114418182A
Beef cattle breeding management cloud platform based on block chain
CN114676108A
Pasture management system based on digital cloud platform
CN115669560A
Dairy cow oestrus monitoring system and method based on wearable device
CN116998423A
Block chain storage optimization method and device based on double-chain storage
CN117370460A
Cited By
Animal oestrus monitoring system and method, storage medium, equipment and product
CN119791016A
