A laying hen brooding management method and digital breeding system
By obtaining the chick detection parameters and combination cultivation conditions of laying hens and adjusting the brood breeding environment, the problem of low brood management efficiency in traditional methods is solved, and the total egg production and brood management efficiency of laying hens is improved.
Patent Information
- Application Number
- CN202411014454.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-26
- Publication Date
- 2024-11-05
- Estimated Expiration
- 2044-07-26
AI Technical Summary
The traditional laying hen brooding method cannot be differentiated according to laying hens of different physiques, resulting in the impact of the egg production of some laying hens.
By obtaining the chick detection parameters of the laying hen, combining different cultivation conditions, adjusting the brood breeding environment, ensuring that each laying hen enters the appropriate brooding state, thereby increasing the total egg production.
It has achieved the optimization of the brooding environment based on the physical characteristics of the laying hen, increased the total egg production of the laying hen, and improved the efficiency and productivity of laying hen brooding management.
Smart Images

Figure CN118552337B_ABST
Abstract
Description
Technical Field
[0001] The invention belongs to the technical field of breeding management, and in particular relates to a laying hen brooding management method and a digital breeding system. Background Art
[0002] With the rapid development of modern agricultural technology, especially in the field of animal husbandry, the efficiency and productivity of laying hen farming have always been the focus of attention. Traditional laying hen brooding methods usually rely on experienced breeders for daily management, and are unable to differentiate the breeding and cultivation of laying hens of different physiques based on the total egg production of laying hens, resulting in the egg production of some laying hens being affected. Summary of the invention
[0003] The object of the present invention is to provide a laying hen brooding management method and a digital breeding system, which can effectively improve the total egg production of laying hens by configuring suitable breeding states according to the physical conditions of different laying hens.
[0004] In order to solve the above technical problems, the present invention is achieved through the following technical solutions:
[0005] The present invention provides a laying hen brooding management method, comprising:
[0006] Obtaining embryonic state detection parameters of multiple types of physical indicators of laying hens in the hatching state;
[0007] Obtaining the cultivation conditions of multiple types of laying hens and the cultivation parameter range of the cultivation conditions of each type;
[0008] Combining parameter ranges of multiple types of cultivation conditions to obtain parameters of each cultivation condition under multiple laying hen cultivation states;
[0009] Raising laying hens with different physical fitness indicators under different laying hen breeding conditions, and collecting the total egg production of multiple laying hens after brooding under different laying hen breeding conditions;
[0010] According to the embryonic state detection parameters of the physical indicators of the laying hens and the total egg production after brooding and growing under different laying hens cultivation states, the laying hens cultivation state suitable for the laying hens within the embryonic state detection parameter range of the physical indicators of each type is obtained;
[0011] The embryonic state detection parameters of the physical fitness indicators of each type of laying hens that have just hatched and broken their shells are obtained, and the laying hen cultivation state suitable for laying hens within the embryonic state detection parameter range of the physical fitness indicators of each type is compared to obtain the laying hen cultivation state suitable for laying hens that have just hatched and broken their shells.
[0012] The present invention also discloses a laying hen brooding management method, comprising:
[0013] Obtaining the laying hen breeding state suitable for laying hens within the embryonic state detection parameter range of each type of physical index;
[0014] Counting the number of laying hens suitable for each laying hen breeding state;
[0015] A brooding and breeding room is set up for each laying hen breeding state to obtain the laying hen breeding state of each brooding and breeding room, wherein the brooding and breeding capacity of the brooding and breeding room set for each laying hen breeding state is positively correlated with the number of laying hens suitable for the laying hen breeding state.
[0016] The present invention also discloses a laying hen brooding management method, comprising:
[0017] Obtaining a laying hen culture state suitable for newly hatched laying hens;
[0018] Obtaining the laying hen cultivation status of each brooding and breeding room;
[0019] The newly hatched laying hens are placed in the corresponding brooding and breeding room for brooding and breeding.
[0020] The present invention also discloses a laying hen brooding digital breeding system, comprising:
[0021] A brooding analysis and selection unit is used to obtain the brooding detection parameters of multiple types of physical indicators of laying hens in the hatching state;
[0022] Obtaining the cultivation conditions of multiple types of laying hens and the cultivation parameter range of the cultivation conditions of each type;
[0023] Combining parameter ranges of multiple types of cultivation conditions to obtain parameters of each cultivation condition under multiple laying hen cultivation states;
[0024] Raising laying hens with different physical fitness indicators under different laying hen breeding conditions, and collecting the total egg production of multiple laying hens after brooding under different laying hen breeding conditions;
[0025] According to the embryonic state detection parameters of the physical indicators of the laying hens and the total egg production after brooding and growing under different laying hens cultivation states, the laying hens cultivation state suitable for the laying hens within the embryonic state detection parameter range of the physical indicators of each type is obtained;
[0026] Obtaining embryonic state detection parameters of the physical indicators of each type of newly hatched laying hens, and comparing the laying hen cultivation state suitable for laying hens within the embryonic state detection parameter range of the physical indicators of each type to obtain the laying hen cultivation state suitable for the newly hatched laying hens;
[0027] A chicken house management unit is used to obtain the laying hen breeding state suitable for laying hens within the fledgling detection parameter range of each type of physical index;
[0028] Counting the number of laying hens suitable for each laying hen breeding state;
[0029] A brooding and breeding room is set for each laying hen breeding state, and the laying hen breeding state of each brooding and breeding room is obtained, wherein the brooding and breeding capacity of the brooding and breeding room set for each laying hen breeding state is positively correlated with the number of laying hens suitable for the laying hen breeding state;
[0030] A brooding classification execution unit, used to obtain the laying hen breeding state suitable for newly hatched laying hens;
[0031] Obtaining the laying hen cultivation status of each brooding and breeding room;
[0032] The newly hatched laying hens are placed in the corresponding brooding and breeding room for brooding and breeding.
[0033] The present invention analyzes the total egg production of laying hens with different embryonic physical characteristics under different breeding state characteristics through a brooding analysis and selection unit, and obtains suitable breeding and breeding conditions for laying hens with different physical characteristics. Then, the chicken house management unit adjusts the breeding state of the brooding breeding room in the chicken house, and then the brooding classification execution unit sends each embryonic laying hen to a suitable brooding breeding room, thereby increasing the total egg production of laying hens.
[0034] Of course, any product implementing the present invention does not necessarily need to achieve all of the advantages described above at the same time. BRIEF DESCRIPTION OF THE DRAWINGS
[0035] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings required for describing the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without paying creative work.
[0036] Figure 1 A schematic diagram of functional units and information flow of a digital breeding system for laying hens in one embodiment of the present invention;
[0037] Figure 2 A schematic diagram of the steps of the brooding analysis and selection unit in one embodiment of the present invention;
[0038] Figure 3 A schematic diagram of a step flow chart of a chicken house management unit according to an embodiment of the present invention;
[0039] Figure 4It is a schematic diagram of the steps of the brooding classification execution unit in one embodiment of the present invention;
[0040] Figure 5 The step S3 of the present invention is a schematic diagram of a step flow in an embodiment. Figure 1 ;
[0041] Figure 6 The step S3 of the present invention is a schematic diagram of a step flow in an embodiment. Figure 2 ;
[0042] Figure 7 This is a schematic diagram of the step flow of step S5 in one embodiment of the present invention;
[0043] Figure 8 This is a schematic diagram of a step flow chart of step S51 in an embodiment of the present invention;
[0044] Fig. 9 A schematic diagram of a step flow chart of step S55 of the present invention in an embodiment;
[0045] Fig.10 This is a schematic diagram of a step flow chart of step S551 in an embodiment of the present invention;
[0046] In the accompanying drawings, the components represented by the reference numerals are listed as follows:
[0047] 1-Brooding analysis and selection unit, 2-Chicken house management unit, 3-Brooding classification execution unit. DETAILED DESCRIPTION
[0048] In order to make the objectives, technical solutions and advantages of the present application clearer, the implementation methods of the present application will be further described in detail below with reference to the accompanying drawings.
[0049] It should be noted that the terms "first", "second", etc. in this application are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present application described herein can be implemented in an order other than those illustrated or described herein. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present application. On the contrary, they are merely examples of devices and methods consistent with some aspects of the present application as detailed in the appended claims.
[0050] Laying hens refer to poultry that are specifically used to produce eggs. These chickens are usually selected from specific breeds and bred and managed to improve egg production and egg quality. Laying hens are carefully fed and managed during the breeding process to ensure their health and efficient egg-laying ability. Due to the different physical conditions of different laying hens, they should be differentiated for brooding and rearing management. In view of this, the present invention provides the following solution.
[0051] See also Figures 1 to 4 As shown, the present invention provides a laying hen brooding digital breeding system, which generally includes a brooding analysis and selection unit 1, a chicken house management unit 2, and a brooding classification execution unit 3. The brooding analysis and selection unit 1 analyzes laying hens, brooding and feeding environments, and egg production of laying hens, thereby screening out suitable brooding and feeding environments for different laying hens, and then the chicken house management unit 2 creates a corresponding brooding and feeding environment, and finally the brooding classification execution unit 3 allocates a brooding and breeding room to each newly hatched laying hen for brooding and breeding, thereby creating a suitable environment for each laying hen and improving its egg production.
[0052] Before the system realizes the function of classified selection of brooding, the brooding analysis and selection unit 1 is first used to perform step S1 to obtain the embryo detection parameters of multiple types of physical indicators of laying hens in the hatching state. The physical indicators can be species, feather glossiness, eye secretions, respiratory rate, etc. Then, step S2 can be performed to obtain the cultivation conditions of multiple types of laying hens and the cultivation parameter range of each type of cultivation conditions. The cultivation conditions include feed protein content, temperature, humidity, etc.
[0053] In the specific analysis process, step S3 can be first executed to combine the parameter ranges of multiple types of cultivation conditions to obtain the parameters of each cultivation condition under multiple laying hen cultivation states. Next, step S4 can be executed to brood laying hens with different physical indicators under different laying hen cultivation states, and the total egg production of multiple laying hens after brooding under different laying hen cultivation states can be collected. Next, step S5 can be executed to obtain the suitable laying hen cultivation state for laying hens within the embryonic detection parameter range of each type of physical indicator according to the embryonic detection parameters of the physical indicators of laying hens and the total egg production after brooding under different laying hen cultivation states. That is, to find laying hens suitable for each brooding environment.
[0054] For each newly hatched laying hen, when selecting the brooding environment, step S6 can be executed to obtain the embryonic detection parameters of the physical indicators of each type of newly hatched laying hens, and the suitable laying hen cultivation state for the newly hatched laying hens can be obtained by comparing the embryonic detection parameter range of the physical indicators of each type.
[0055] The brooding and raising environment in the chicken house also needs to be adjusted in combination with the needs of laying hens. Therefore, the chicken house management unit can first execute step S021 to obtain the laying hen cultivation state suitable for laying hens within the embryonic state detection parameter range of the physical indicators of each type. Next, step S022 can be executed to count the number of laying hens suitable for each laying hen cultivation state. Finally, step S023 can be executed to set a brooding and breeding room for each laying hen cultivation state to obtain the laying hen cultivation state of each brooding and breeding room. In order to avoid waste in creating brooding and breeding rooms, it is necessary to control the scale of brooding and breeding rooms, which requires that the brooding and breeding capacity of the brooding and breeding room set for each laying hen cultivation state is positively correlated with the number of laying hens suitable for the laying hen cultivation state.
[0056] When selecting a brooding and breeding room for newly hatched laying hens, the brooding classification execution unit 3 can first execute step S031 to obtain the appropriate laying hen breeding state for the newly hatched laying hens. Next, step S032 can be executed to obtain the laying hen breeding state of each brooding and breeding room. Finally, step S033 can be executed to place the newly hatched laying hens into the corresponding brooding and breeding room for brooding and breeding.
[0057] See also Figure 5 As shown, since the parameter range of each cultivation condition may be very large, in order to ensure the comprehensiveness of the egg-laying test, when selecting the parameters of each cultivation condition, step S31 can be first executed to obtain the set extraction quantity of the parameter range of each type of cultivation condition. This set extraction quantity can be set by the management personnel in combination with the hardware conditions of the chicken house. Next, step S32 can be executed to extract a number of data points in equal parts according to the corresponding set extraction quantity within the parameter range of each type of cultivation condition. Finally, step S33 can be executed to combine the several data points extracted from each type of cultivation condition to obtain the parameters of each cultivation condition under multiple laying hen cultivation states. Of course, data points can also be randomly selected in step S32, which does not affect the technical effect.
[0058] See also Figure 6As shown, the parameter range of each cultivation condition may be very large, but the number of brooding and breeding rooms in the chicken house is limited, which requires abandoning some cultivation conditions with significantly low egg production. Specifically, for each type of cultivation condition, step S34 can be first executed to continuously obtain the suitable egg-laying chicken cultivation state for newly hatched laying hens, and the number of selections for each data point is statistically obtained. Next, step S35 can be executed to remove the unselected data points. Next, step S36 can be executed to obtain the numerical interval where the remaining data points are located. Next, step S37 can be executed to set the extraction quantity, and re-extract the data points in the numerical interval where each remaining data point is located according to the ratio between the number of selections of each remaining data point. Finally, step S38 can be executed to update according to the re-extracted data points, and recombine to obtain the parameters of each cultivation condition under the updated multiple laying hen cultivation states.
[0059] In order to supplement the implementation process of the above steps S31 to S38, the source code of some functional modules is provided, and the explanation is compared in the comment section. In order to avoid the leakage of data involving commercial secrets, some data that does not affect the implementation of the solution are desensitized, the same below.
[0060] #include <iostream>
[0061] #include <vector>
[0062] #include <map>
[0063] #include <algorithm>
[0064] / / Define the structure of cultivation parameters
[0065] struct CultivationParameters {
[0066] std::vector <float>tempPoints;
[0067] std::vector <float>humidityPoints;
[0068] std::vector <int>lightPoints;
[0069] };
[0070] / / Used to store the number of times each parameter is selected
[0071] struct CultivationStats {
[0072] std::map<float, int> temperatureStats;
[0073] std::map<float, int> humidityStats;
[0074] std::map<int, int> lightStats;
[0075] };
[0076] / / Function: Extract data points evenly from the specified range
[0077] template<typename T>
[0078] std::vector <t>extractDataPoints(T start, T end, int count) {
[0079] std::vector <t>points;
[0080] T step = (end - start) / static_cast <t>(count - 1);
[0081] for (int i = 0; i < count; ++i) {
[0082] points.push_back(start + i * step);
[0083] }
[0084] return points;
[0085] }
[0086] / / Simulate the selection process of data points and update statistical data
[0087] template<typename T>
[0088] void simulateSelection(const std::vector <t>& points, std::map<T, int> & stats) {
[0089] for (const auto& point : points) {
[0090] / / Assume that each point has a certain probability of being selected
[0091] int selected = rand() % 2; / / Randomly selected, 0 or 1
[0092] if (selected) {
[0093] stats[point]++;
[0094] }
[0095] }
[0096] }
[0097] / / Function: Recalculate and extract data points based on the number of selections
[0098] template<typename T>
[0099] std::vector <t>refineDataPoints(const std::map<T, int>& stats) {
[0100] std::vector <t>refinedPoints;
[0101] for (const auto& entry : stats) {
[0102] if (entry.second > 0) { / / Only keep data points that have been selected at least once
[0103] refinedPoints.push_back(entry.first);
[0104] }
[0105] }
[0106] return refinedPoints;
[0107] }
[0108] / / Main function
[0109] int main() {
[0110] / / Initialize original parameters
[0111] std::vector <float>tempRange = extractDataPoints(35.0f, 37.5f,10);
[0112] std::vector <float>humidityRange = extractDataPoints(45.0f,55.0f, 10);
[0113] std::vector <int>lightRange = extractDataPoints(12, 14, 3);
[0114] / / Initialize statistics
[0115] CultivationStats stats;
[0116] simulateSelection(tempRange, stats.temperatureStats);
[0117] simulateSelection(humidityRange, stats.humidityStats);
[0118] simulateSelection(lightRange, stats.lightStats);
[0119] / / Re-extract data points based on the number of selections
[0120] tempRange = refineDataPoints(stats.temperatureStats);
[0121] humidityRange = refineDataPoints(stats.humidityStats);
[0122] lightRange = refineDataPoints(stats.lightStats);
[0123] / / Output updated parameters
[0124] std::cout << "Updated Temperature Points: ";
[0125] for (float temp : tempRange) std::cout << temp << " ";
[0126] std::cout << "\nUpdated Humidity Points: ";
[0127] for (float hum : humidityRange) std::cout << hum << " ";
[0128] std::cout << "\nUpdated Light Duration Points: ";
[0129] for (int light : lightRange) std::cout << light << " ";
[0130] std::cout << std::endl;
[0131] return 0;
[0132] }
[0133] This code first extracts initial data points uniformly from a given range through a template function. After that, it simulates the selection process and counts the selected data points. Based on these statistics, the code removes the unselected data points and only keeps the data points that have been selected at least once. Finally, these updated data points can be used to recombine and update the parameters of the laying hen's cultivation conditions, making the simulation closer to the actual situation or experimental data. This process is of great significance for dynamically adjusting and optimizing the cultivation conditions.
[0134] See also Figure 7 As shown, when analyzing and comparing the appropriate breeding state of each laying hen, the brooding analysis and selection unit can first execute step S51 to screen out the numerical range of the target total egg production according to the total egg production of each laying hen after brooding and growth, that is, to select the specific range of high production. Next, step S52 can be executed to extract the embryonic physical characteristics of each laying hen according to the embryonic detection parameters of the physical indicators of each laying hen. Next, steps S53 and S54 can be executed to extract the breeding state characteristics of each laying hen's breeding state according to the parameters of each breeding condition under different laying hen breeding states, and screen out the embryonic physical characteristics and corresponding breeding state characteristics within the numerical range of the target total egg production as the qualified embryonic physical characteristics and the corresponding qualified breeding state characteristics, that is, to prepare the data before comparison and analysis.
[0135] In the specific comparison and analysis process, step S55 can be first executed to obtain the embryonic detection parameter range of each type of physical index of laying hens corresponding to each standard breeding state feature according to multiple standard fledgling physical characteristics corresponding to each standard breeding state feature, and the embryonic detection parameters of multiple types of physical indicators corresponding to each standard fledgling physical characteristic. Finally, step S56 can be executed to obtain the suitable breeding state of laying hens for the embryonic detection parameter range of each type of physical index of laying hens corresponding to each standard breeding state feature and the parameters of each breeding condition under each standard breeding state feature.
[0136] See also Figure 8 As shown, the purpose of this solution is to increase the total egg production of laying hens, which requires first analyzing the range of high egg production in combination with the total egg production of each laying hen. Specifically, first, step S511 can be executed to select the maximum total egg production and the minimum total egg production of each laying hen after brooding and growth. Next, step S512 can be executed to divide the difference between the maximum total egg production and the minimum total egg production by the number of laying hens to obtain a screening reference value. Next, step S513 can be executed to arrange the total egg production of each laying hen after brooding and growth in order of numerical value to obtain a list of laying hens. Next, step S514 can be executed, starting with the laying hen corresponding to the maximum total egg production in the laying hen list, and subtracting it from the total egg production of the adjacent smaller laying hens in turn to determine whether the difference is less than the screening reference value.
[0137] If yes, it means that the egg-laying hens involved in the calculation are no longer high in egg production, so step S515 can be executed to stop and the numerical distribution interval of the total egg production of the egg-laying hens involved in the subtraction can be used as the numerical range of the target total egg production. If no, it means that the egg-laying hens involved in the calculation are still high in egg production, so step S514 can be executed to continue subtracting along the egg-laying hens list.
[0138] In order to provide supplementary explanation for the implementation process of the above-mentioned steps S511 to S515, source codes of some functional modules are provided, and comparative explanations are provided in the comments.
[0139] #include <iostream>
[0140] #include <vector>
[0141] #include <algorithm>
[0142] #include <numeric> / / For std::accumulate
[0143] struct Chicken {
[0144] std::string type;
[0145] int eggProduction;
[0146] };
[0147] / / Auxiliary function: used to compare the egg production of two chickens for sorting
[0148] bool compareByEggProduction(const Chicken& a, const Chicken& b) {
[0149] return a.eggProduction < b.eggProduction;
[0150] }
[0151] / / Function: Filter out the target egg production range
[0152] std::pair<int, int> selectEggProductionRange(std::vector <chicken>&chickens)
[0153] / / Sort chickens by egg production
[0154] std::sort(chickens.begin(), chickens.end(),compareByEggProduction);
[0155] / / Get the maximum and minimum egg production
[0156] int maxEggs = chickens.back().eggProduction;
[0157] int minEggs = chickens.front().eggProduction;
[0158] / / Calculate reference value
[0159] int referenceValue = (maxEggs - minEggs) / static_cast <int>(chickens.size());
[0160] / / Find the largest continuous interval whose difference is less than the reference value
[0161] for (size_t i = chickens.size() - 1; i > 0; --i) {
[0162] if (chickens[i].eggProduction - chickens[i-1].eggProduction <referenceValue) {
[0163] return std::make_pair(chickens[i-1].eggProduction,chickens[i].eggProduction);
[0164] }
[0165] }
[0166] / / If not found, return the entire range
[0167] return std::make_pair(minEggs, maxEggs);
[0168] }
[0169] int main() {
[0170] / / Initialize data
[0171] std::vector <chicken>chickens = {
[0172] {"TypeA", 250},
[0173] {"TypeB", 300},
[0174] {"TypeC", 275}
[0175] };
[0176] / / Get the target egg production range
[0177] auto range = selectEggProductionRange(chickens);
[0178] / / Output results
[0179] std::cout << "Target Egg Production Range: " << range.first << "to " << range.second << std::endl;
[0180] return 0;
[0181] }
[0182] This code defines a structure Chicken to store the type and egg production of each chicken. The selectEggProductionRange function is used to implement the egg production screening process. First, all chickens are sorted by egg production. Then, the maximum and minimum egg production values and the reference value based on the difference between the two are calculated. By comparing the egg production difference of adjacent laying hens with the reference value, the egg production range that meets the conditions is found. If the egg production difference of all chickens is greater than the reference value, the function returns the entire egg production range.
[0183] See also Fig. 9 As shown, since many laying hens will be brooded and raised in each brooding and breeding room, and different physical indicators are related, the calculation of the state range of their physical fitness cannot be calculated using a simple maximum and minimum range. In view of this, for each standard breeding state feature corresponding to a plurality of standard embryonic physical characteristics, firstly, step S551 can be executed to calculate and obtain the difference index between each standard embryonic physical characteristic, and obtain a number of standard embryonic physical characteristic sets. Next, step S552 can be executed to obtain the multiple embryonic detection parameter distribution intervals of each type of physical indicator corresponding to the standard embryonic physical characteristics in each standard embryonic physical characteristic set, and then step S553 can be executed to merge and obtain multiple embryonic detection parameter ranges of each type of physical indicator. Next, step S554 can be executed to summarize and obtain the embryonic detection parameter range of each type of physical indicator of laying hens corresponding to each standard breeding state feature. That is, the correlation between different types of physical indicators is fully considered to obtain a more accurate range of chick detection parameters, which effectively avoids misjudgment during the subsequent classification by the brooding classification execution unit 3.
[0184] See also Fig.10 As shown, under the restriction of the correlation of different types of physical indicators, in order to obtain the range of embryonic detection parameters, first, step S5511 can be executed to arrange the embryonic detection parameters of each type of physical indicator in the same order to obtain the qualified embryonic physical characteristics expressed in vector form. Next, step S5512 can be executed to select several of the qualified embryonic physical characteristics as the core qualified embryonic physical characteristics. Next, step S5513 can be executed to calculate and obtain the vector difference modulus of each core qualified embryonic physical characteristic and each other qualified embryonic physical characteristic. Next, step S5514 can be executed to classify each other qualified embryonic physical characteristic and the core qualified embryonic physical characteristic with the smallest vector difference modulus into the same qualified embryonic physical characteristic set. Next, step S5515 can be executed to calculate and obtain the qualified embryonic physical characteristic with the smallest vector difference modulus with the mean vector in each qualified embryonic physical characteristic set as the updated core qualified embryonic physical characteristic. Next, step S5516 may be executed to determine whether the updated core qualified embryonic physical characteristics have changed, that is, to determine whether all qualified embryonic physical characteristics in the qualified embryonic physical characteristics set have commonalities.
[0185] If yes, it means that the division of the qualified embryonic physique feature set is unstable, and the qualified embryonic physique features contained therein do not completely have commonality, so next, step S5513 to step S5516 can be executed to continuously update to obtain the qualified embryonic physique feature set and the core qualified embryonic physique feature. If no, it means that the qualified embryonic physique features in all sets have commonality, so step S5517 can be executed to stop updating and then step S5518 can be executed to obtain several qualified embryonic physique feature sets.
[0186] In order to provide additional explanation for the implementation process of the above-mentioned steps S5511 to S5518, the source code of some functional modules is provided, and a comparative explanation is provided in the comment section.
[0187] #include <iostream>
[0188] #include <vector>
[0189] #include <cmath>
[0190] #include <limits>
[0191] #include <algorithm>
[0192] struct PhysiqueFeature {
[0193] float weight;
[0194] float size;
[0195] };
[0196] / / Calculate the Euclidean distance between two features
[0197] float calculateDistance(const PhysiqueFeature& a, constPhysiqueFeature& b) {
[0198] return sqrt((a.weight - b.weight) * (a.weight - b.weight) +(a.size - b.size) * (a.size - b.size));
[0199] PhysiqueFeature updateCentroid(const std::vector <physiquefeature>&features) {
[0200] float sumWeight = 0.0, sumSize = 0.0;
[0201] for (const auto& feature : features) {
[0202] sumWeight += feature.weight;
[0203] sumSize += feature.size;
[0204] }
[0205] return {sumWeight / features.size(), sumSize / features.size()};
[0206] }
[0207] / / Perform classification
[0208] std::vector<std::vector <physiquefeature>> kMeansClustering(std::vector <physiquefeature>& features, int k) {
[0209] int n = features.size();
[0210] std::vector <physiquefeature>centroids(features.begin(),features.begin() + k); / /
[0211] std::vector <int>assignments(n, 0);
[0212] bool changed;
[0213] do {
[0214] changed = false;
[0215] / / Step 1: Assign features to the nearest centroid
[0216] for (int i = 0; i < n; ++i) {
[0217] float minDistance = std::numeric_limits <float>::max();
[0218] int bestCentroid = 0;
[0219] for (int j = 0; j < k; ++j) {
[0220] float distance = calculateDistance(features[i],centroids[j]);
[0221] if (distance < minDistance) {
[0222] minDistance = distance;
[0223] bestCentroid = j;
[0224] }
[0225] }
[0226] if (assignments[i] != bestCentroid) {
[0227] assignments[i] = bestCentroid;
[0228] changed = true;
[0229] }
[0230] }
[0231] / / Step 2: Update centroids
[0232] std::vector<std::vector <physiquefeature>> clusters(k);
[0233] for (int i = 0; i < n; ++i) {
[0234] clusters[assignments[i]].push_back(features[i]);
[0235] }
[0236] for (int j = 0; j < k; ++j) {
[0237] if (!clusters[j].empty()) {
[0238] centroids[j] = updateCentroid(clusters[j]);
[0239] }
[0240] }
[0241] } while (changed);
[0242] return centroids;
[0243] }
[0244] int main() {
[0245] std::vector <physiquefeature>features = {{1.5, 30}, {1.6, 31},{1.2, 25}, {1.3, 26}, {1.4, 28}};
[0246] int k = 2; / / Number of clusters
[0247] auto centroids = kMeansClustering(features, k);
[0248] for (const auto& centroid : centroids) {
[0249] std::cout << "Cluster center - Weight: " << centroid.weight << ", Size: " << centroid.size << std::endl;
[0250] }
[0251] return 0;
[0252] }
[0253] This code classifies laying hens according to their physical characteristics (weight and size). The program first calculates the Euclidean distance between each physical characteristic and the core vector, and then assigns each characteristic to the closest core vector. Then, the core vector of each set is updated, that is, the average weight and size of all the characteristics in the set is calculated as the new core. This process is iterated until the core no longer changes, that is, the set classification is considered stable.
[0254] The flow chart and block diagram in the accompanying drawings show the possible architecture, function and operation of the device, system, method and computer program product according to multiple embodiments of the present application. In this regard, each square frame in the flow chart or block diagram can represent a part of a module, program segment or instruction, and a part of the module, program segment or instruction includes one or more executable instructions for realizing the logical function of the specification. In some alternative implementations, the functions marked in the square frame can also occur in a sequence different from that marked in the accompanying drawings. For example, two continuous square frames can actually be executed substantially in parallel, and they can also be executed in reverse order sometimes, depending on the functions involved.
[0255] It should also be noted that each box in the block diagram and / or flowchart, and the combination of boxes in the block diagram and / or flowchart, can be implemented by hardware that performs the corresponding function or action, such as a circuit or ASIC (Application Specific Integrated Circuit), or can be implemented by a combination of hardware and software, such as firmware.
[0256] Although the present invention is described herein in conjunction with various embodiments, in the process of implementing the claimed invention, those skilled in the art may understand and implement other variations of the disclosed embodiments by viewing the drawings, the disclosure, and the appended claims. In the claims, the word "comprising" does not exclude other components or steps, and "a" or "an" does not exclude multiple situations. A single processor or other unit may implement several functions listed in the claims. Certain measures are recorded in different dependent claims, but this does not mean that these measures cannot be combined to produce good results.
[0257] The embodiments of the present application have been described above, and the above description is exemplary, not exhaustive, and is not limited to the disclosed embodiments. Many modifications and changes are obvious to those of ordinary skill in the art without departing from the scope of the described embodiments. The selection of terms used herein is intended to best explain the principles of the embodiments, practical applications, or improvements to the technology in the market, or to enable other persons of ordinary skill in the art to understand the embodiments disclosed herein.< / physiquefeature> < / physiquefeature> < / float> < / int> < / physiquefeature> < / physiquefeature> < / physiquefeature> < / physiquefeature> < / algorithm> < / limits> < / cmath> < / vector> < / iostream> < / chicken> < / int> < / chicken> < / numeric> < / algorithm> < / vector> < / iostream> < / int> < / float> < / float> < / t> < / t> < / t> < / t> < / t> < / t> < / int> < / float> < / float> < / algorithm> < / map> < / vector> < / iostream>
Claims
1. A laying hen brooding management method, characterized in that: include, Obtaining embryonic detection parameters of multiple types of physical indicators of laying hens in the hatching state, wherein the physical indicators include weight, body shape, chicken species, feather gloss, eye secretions and / or respiratory rate; Acquire multiple types of breeding conditions for laying hens and a breeding parameter range of each type of breeding condition, wherein the breeding conditions include feed protein content, temperature and / or humidity; Combining parameter ranges of multiple types of cultivation conditions to obtain parameters of each cultivation condition under multiple laying hen cultivation states; Raising laying hens with different physical fitness indicators under different laying hen breeding conditions, and collecting the total egg production of multiple laying hens after brooding under different laying hen breeding conditions; According to the embryonic state detection parameters of the physical indicators of the laying hens and the total egg production after brooding and growing under different laying hens cultivation states, the laying hens cultivation state suitable for the laying hens within the embryonic state detection parameter range of the physical indicators of each type is obtained; Obtaining embryonic state detection parameters of the physical indicators of each type of newly hatched laying hens, and comparing the suitable laying hen cultivation state for laying hens within the embryonic state detection parameter range of the physical indicators of each type to obtain the suitable laying hen cultivation state for newly hatched laying hens; Among them, the step of obtaining the laying hen cultivation state suitable for laying hens within the range of the embryonic state detection parameters of the physical indicators of each type according to the embryonic state detection parameters of the physical indicators of laying hens and the total egg production after brooding and growing under different laying hen cultivation states includes: The target total egg production range is selected based on the total egg production of each laying hen after brooding and growth; Extracting the embryonic physical characteristics of each laying hen according to the embryonic physical index detection parameters of each laying hen; Extracting the cultivation state characteristics of each of the cultivation states of the laying hen according to the parameters of each cultivation condition under the different cultivation states of the laying hen; Screening out the embryonic physical characteristics and the corresponding cultivation status characteristics within the numerical range of the target total egg production as the qualified embryonic physical characteristics and the corresponding qualified cultivation status characteristics, respectively; Obtaining a range of embryonic state detection parameters for each type of physical fitness index of laying hens corresponding to each of the above-mentioned up-to-standard breeding state characteristics according to the above-mentioned multiple up-to-standard embryonic state physical fitness characteristics corresponding to each of the above-mentioned up-to-standard breeding state characteristics, and the embryonic state detection parameters for multiple types of physical fitness indexes corresponding to each of the above-mentioned up-to-standard embryonic state physical fitness characteristics; According to the fledgling detection parameter range of the physical fitness index of each type of laying hen corresponding to each of the standard breeding state characteristics and the parameters of each breeding condition under each of the standard breeding state characteristics, the laying hen breeding state suitable for laying hens within the fledgling detection parameter range of the physical fitness index of each type is obtained; Among them, the step of obtaining the embryonic detection parameter range of each type of physical index of laying hens corresponding to each of the said up-to-standard breeding state characteristics according to the multiple said up-to-standard embryonic physical characteristics corresponding to each of the said up-to-standard breeding state characteristics, and the embryonic detection parameters of multiple types of physical indexes corresponding to each of the said up-to-standard embryonic physical characteristics, includes: For each of the plurality of up-to-standard embryonic physical characteristics corresponding to the up-to-standard cultivation status characteristics, Calculate and obtain the difference index between each of the standard embryonic physical characteristics, and obtain a plurality of sets of standard embryonic physical characteristics, The embryonic state detection parameter range of each type of physical fitness index corresponding to the embryonic state physical characteristics in each set of embryonic state physical characteristics is obtained by combining the embryonic state detection parameter of each type of physical fitness index; Summarize and obtain the fledgling detection parameter range of the physical fitness index of each type of laying hen corresponding to each of the standard breeding status characteristics; The step of calculating and obtaining the difference index between each of the standard embryonic physical characteristics and obtaining a plurality of sets of standard embryonic physical characteristics includes: Arrange the embryonic physical examination parameters of each type of physical index in the same order to obtain the embryonic physical characteristics that meet the standards expressed in vector form; Selecting several of the qualified embryonic physical characteristics as core qualified embryonic physical characteristics; Calculate and obtain the vector difference modulus length between each core embryonic physical characteristic that meets the standard and each other embryonic physical characteristic that meets the standard; Classify each other qualified embryonic physical characteristic and the core qualified embryonic physical characteristic with the smallest vector difference modulus into the same qualified embryonic physical characteristic set; Calculate and obtain the qualified embryonic physical feature with the smallest vector difference modulus length with the mean vector in each qualified embryonic physical feature set as the updated core qualified embryonic physical feature; Determine whether all qualified embryonic physical characteristics in the qualified embryonic physical characteristic set have commonality; If not, the qualified embryonic physical characteristics set and the core qualified embryonic physical characteristics are continuously updated; If so, stop updating and obtain several sets of embryonic physical characteristics that meet the standards.
2. The method according to claim 1, characterized in that: The step of combining parameter ranges of multiple types of cultivation conditions to obtain parameters of each cultivation condition under multiple laying hen cultivation states, include, obtaining a set extraction quantity for a parameter range of cultivation conditions for each species; Extracting a number of data points in equal parts according to the set extraction quantity corresponding to the parameter range of the cultivation conditions of each type; Several data points extracted from the cultivation conditions of each type are combined to obtain the parameters of each cultivation condition under multiple laying hen cultivation states.
3. The method according to claim 1, characterized in that: The step of selecting the target total egg production range according to the total egg production of each laying hen after brooding and growth comprises: Select the maximum total egg production and the minimum total egg production of each laying hen from the total egg production after brooding and growth; The difference between the maximum total egg production and the minimum total egg production is divided by the number of laying hens to obtain the screening reference value; Arrange the total egg production of each laying hen after brooding and growth in numerical order to obtain a laying hen list; Starting from the laying hen corresponding to the largest total egg production in the laying hen list, subtract the total egg production from the adjacent smaller laying hen in turn to determine whether the difference is less than the screening reference value; If yes, stop and take the numerical distribution interval of the total egg production of the laying hens involved in the subtraction as the numerical range of the target total egg production; If not, the subtraction continues along the laying hen list.
4. The method according to any one of claims 1 to 3, characterized in that: include, Counting the number of laying hens suitable for each laying hen breeding state; A brooding and breeding room is set for each laying hen breeding state to obtain the laying hen breeding state of each brooding and breeding room, wherein the brooding and breeding capacity of the brooding and breeding room is positively correlated with the number of laying hens suitable for the laying hen breeding state.
5. A laying hen brooding management method, characterized in that: include, Obtaining the laying hen cultivation state suitable for newly hatched laying hens in the laying hen brooding management method according to claim 1; Obtaining the laying hen cultivation status of each of the brooding and breeding rooms in the laying hen brooding management method according to claim 4; The newly hatched laying hens are placed in the corresponding brooding and breeding room for brooding and breeding.
6. A digital breeding system for laying hens, characterized in that: include, A brooding analysis and selection unit, used to obtain embryonic state detection parameters of multiple types of physical indicators of laying hens in the hatching state, wherein the physical indicators include weight, body shape, chicken species, feather gloss, eye secretions and / or respiratory rate; Acquire multiple types of breeding conditions for laying hens and a breeding parameter range of each type of breeding condition, wherein the breeding conditions include feed protein content, temperature and / or humidity; Combining parameter ranges of multiple types of cultivation conditions to obtain parameters of each cultivation condition under multiple laying hen cultivation states; Raising laying hens with different physical fitness indicators under different laying hen breeding conditions, and collecting the total egg production of multiple laying hens after brooding under different laying hen breeding conditions; According to the embryonic state detection parameters of the physical indicators of the laying hens and the total egg production after brooding and growing under different laying hens cultivation states, the laying hens cultivation state suitable for the laying hens within the embryonic state detection parameter range of the physical indicators of each type is obtained; Obtaining embryonic state detection parameters of the physical indicators of each type of newly hatched laying hens, and comparing the laying hen cultivation state suitable for laying hens within the embryonic state detection parameter range of the physical indicators of each type to obtain the laying hen cultivation state suitable for the newly hatched laying hens; A chicken house management unit, used to count the number of laying hens suitable for the breeding state of each laying hen; A brooding and breeding room is set for each laying hen breeding state to obtain the laying hen breeding state of each brooding and breeding room, wherein the brooding and breeding capacity of the brooding and breeding room is positively correlated with the number of laying hens suitable for the laying hen breeding state; A brooding classification execution unit, used to obtain the laying hen breeding state suitable for newly hatched laying hens; Obtaining the laying hen cultivation status of each brooding and breeding room; Placing newly hatched laying hens into the corresponding brooding and breeding room for brooding and breeding; Among them, the step of obtaining the laying hen cultivation state suitable for laying hens within the range of the embryonic state detection parameters of the physical indicators of each type according to the embryonic state detection parameters of the physical indicators of laying hens and the total egg production after brooding and growing under different laying hen cultivation states includes: The target total egg production range is selected based on the total egg production of each laying hen after brooding and growth; Extracting the embryonic physical characteristics of each laying hen according to the embryonic physical index detection parameters of each laying hen; Extracting the cultivation state characteristics of each of the cultivation states of the laying hen according to the parameters of each cultivation condition under the different cultivation states of the laying hen; Screening out the embryonic physical characteristics and the corresponding cultivation status characteristics within the numerical range of the target total egg production as the qualified embryonic physical characteristics and the corresponding qualified cultivation status characteristics, respectively; Obtaining a range of embryonic state detection parameters for each type of physical fitness index of laying hens corresponding to each of the above-mentioned up-to-standard breeding state characteristics according to the above-mentioned multiple up-to-standard embryonic state physical fitness characteristics corresponding to each of the above-mentioned up-to-standard breeding state characteristics, and the embryonic state detection parameters for multiple types of physical fitness indexes corresponding to each of the above-mentioned up-to-standard embryonic state physical fitness characteristics; According to the fledgling detection parameter range of the physical fitness index of each type of laying hen corresponding to each of the standard breeding state characteristics and the parameters of each breeding condition under each of the standard breeding state characteristics, the laying hen breeding state suitable for laying hens within the fledgling detection parameter range of the physical fitness index of each type is obtained; Among them, the step of obtaining the embryonic detection parameter range of each type of physical index of laying hens corresponding to each of the said up-to-standard breeding state characteristics according to the multiple said up-to-standard embryonic physical characteristics corresponding to each of the said up-to-standard breeding state characteristics, and the embryonic detection parameters of multiple types of physical indexes corresponding to each of the said up-to-standard embryonic physical characteristics, includes: For each of the plurality of up-to-standard embryonic physical characteristics corresponding to the up-to-standard cultivation status characteristics, Calculate and obtain the difference index between each of the standard embryonic physical characteristics, and obtain a plurality of sets of standard embryonic physical characteristics, The embryonic state detection parameter range of each type of physical fitness index corresponding to the embryonic state physical characteristics in each set of embryonic state physical characteristics is obtained by combining the embryonic state detection parameter of each type of physical fitness index; Summarize and obtain the fledgling detection parameter range of the physical fitness index of each type of laying hen corresponding to each of the standard breeding status characteristics; The step of calculating and obtaining the difference index between each of the standard embryonic physical characteristics and obtaining a plurality of sets of standard embryonic physical characteristics includes: Arrange the embryonic physical examination parameters of each type of physical index in the same order to obtain the embryonic physical characteristics that meet the standards expressed in vector form; Selecting several of the qualified embryonic physical characteristics as core qualified embryonic physical characteristics; Calculate and obtain the vector difference modulus length between each core embryonic physical characteristic that meets the standard and each other embryonic physical characteristic that meets the standard; Classify each other qualified embryonic physical characteristic and the core qualified embryonic physical characteristic with the smallest vector difference modulus into the same qualified embryonic physical characteristic set; Calculate and obtain the qualified embryonic physical feature with the smallest vector difference modulus length with the mean vector in each qualified embryonic physical feature set as the updated core qualified embryonic physical feature; Determine whether all qualified embryonic physical characteristics in the qualified embryonic physical characteristic set have commonality; If not, the qualified embryonic physical characteristics set and the core qualified embryonic physical characteristics are continuously updated; If so, stop updating and obtain several sets of embryonic physical characteristics that meet the standards.
