Breeding pig performance measurement data management method and device based on big data rule engine
By adopting a big data rule engine method in the management of breeding pig performance measurement data, problems such as difficulty in data quality control and small number of measurement stations in the existing technology are solved, and efficient and automated management of breeding pig original data is realized, which improves the scientific nature of breeding decisions and data application value.
Patent Information
- Application Number
- CN202411829600.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-12
- Publication Date
- 2025-04-08
AI Technical Summary
The existing technology has problems such as many manual interventions, difficulty in data control of breeding pig performance measurement data, small number of measurement stations, difficulty in data comparison, and lack of boar data in genetic assessment, which is difficult to meet the needs of precise breeding and scientific management.
The breeding pig performance measurement data management method based on the big data rule engine is adopted to collect and preprocess original data through the big data platform, and the rule engine is used to verify completeness, consistency, uniqueness, effectiveness, timeliness and accuracy to achieve automated data quality management.
It improves the accuracy and completeness of the original data of breeding pigs, supports multi-dimensional data analysis and abnormal data detection, ensures efficient data management and access, and enhances the scientific nature of breeding decisions and data application value.
Smart Images

Figure CN119782295A_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the field of data processing technology, and specifically relates to a method and device for managing breeding pig performance measurement data based on a big data rule engine, which is suitable for managing breeding pig performance measurement data and improving the quality and analysis efficiency of breeding pig data. Background Art
[0002] With the development of modern animal husbandry, pig performance measurement has become an important basis for breeding and management decisions. Traditional data management methods have problems such as more manual intervention and difficulty in data quality control, which makes it difficult to meet the needs of precise breeding and scientific management.
[0003] At present, the performance measurement of commercial pig feed conversion efficiency (FCR) has the following problems: (1) The number of measurement stations is small. (2) The starting and ending stages of the measurement are uneven: the initial and final weights of different farms vary greatly, making it difficult to compare data; at the same time, most pig farms only measure the commercial pig feed conversion efficiency (FCR) of sows, resulting in a lack of boar data information during genetic evaluation. (3) The measurement data quality is poor and there are many errors. Therefore, it is urgent to formulate a technical specification for efficient and automated data quality management of sow performance measurement. By combining distributed database architecture, big data analysis and rule engines, efficient and automated data quality management can be achieved in the process of sow performance measurement, guiding breeding farms to carry out sow performance measurement in a scientific and standardized manner, and being able to process, analyze and verify sow performance measurement data in real time, providing high-quality data for sow selection and improvement. Summary of the invention
[0004] The purpose of the present invention is to address the above-mentioned problems existing in the prior art and to provide a method and device for managing breeding pig performance measurement data based on a big data rule engine. By combining a big data platform with rule engine technology, it is possible to achieve integrated management of data collection, data preprocessing, rule engine analysis, data storage, etc., thereby improving the integrity, consistency, uniqueness, effectiveness, timeliness and accuracy of the data.
[0005] The above-mentioned purpose of the present invention is achieved by the following technical solutions:
[0006] The method for managing breeding pig performance measurement data based on a big data rule engine comprises the following steps:
[0007] Step 1: The big data platform collects raw data of breeding pigs;
[0008] Step 2: The big data platform pre-processes the raw data of various types of breeding pigs;
[0009] Step 3: Based on the rule engine, the big data platform performs integrity verification, consistency verification, uniqueness verification, validity verification, timeliness verification, and accuracy verification on various parameters of the original data of various types of breeding pigs. The types of original data of breeding pigs include original data of total piglet number, original data of age at weight reaching 120KG, original data of back fat thickness at weight reaching 120KG, original data of feed conversion rate, original data of eye muscle depth at weight reaching 120KG, original data of live piglet number, original data of weaning litter weight, original data of individual birth weight, original data of weaning-breeding interval, original data of effective nipple number, original data of eye muscle area at weight reaching 120kg, and original data of intramuscular fat content of live pigs at weight reaching 120KG.
[0010] As mentioned above, preprocessing includes removing outliers and filling in missing values.
[0011] As mentioned above, the parameters of the raw data of total piglet number include: sow individual number, sow ID, breed, strain, breeding date, breeding estrus, breeding boar ID, breeding boar breed, farrowing date, total piglet number, mummies number, stillbirth number, live piglet number, test site number, and test site name;
[0012] The parameters of the raw data of age at 120 kg weight include: sow ID, breed, strain, sex, date of birth, measurement date, measurement weight, age at 120 kg weight, measurement site number, and measurement site name of the sow individual number;
[0013] The parameters of the original data of backfat thickness at 120 kg weight include: sow ID of individual sow number, actual sow weight, weight measurement date, breed, strain, sex, body condition score, actual backfat thickness, actual backfat measurement date, backfat thickness at 120 kg weight, individual body length, actual sow age, measurement site number, measurement site name, and measurement instrument;
[0014] The parameters of the raw data of feed conversion rate during the measurement period include: feed conversion rate during the measurement period, sow ID of individual sow number, breed, strain, gender, starting measurement date, starting measurement weight, ending measurement date, ending measurement weight, measurement site number, measurement site name, equipment brand, feeding date, feeding start time, measurement weight, feeding amount, feeding end time, feeding time, initial weight of feed trough, final weight of feed trough, equipment brand, starting age of measurement, and ending age of measurement.
[0015] As mentioned above, the parameters of the raw data of eye muscle depth at 120 kg weight include the sow ID, breed, strain, sex, weight measurement value, weight measurement date, target weight, eye muscle depth, eye muscle depth measurement date, individual body length, date of birth, age at 120 kg weight, measurement site number, measurement site name, and measurement instrument of the sow individual number;
[0016] The parameters of the raw data of the number of piglets born alive include: the sow ID of the individual sow number, breed, strain, parity, breeding date, breeding estrus, breeding boar ID, breeding boar breed, farrowing date, required, field null value check, total piglets born, number of mummies, number of stillbirths, number of live piglets, number of testing site, and name of testing site;
[0017] The parameters of the raw data of weaning litter weight include: sow ID, breed, strain, sex, parity, weaning date, farrowing date, number of weaned piglets, weaning litter weight, total number of piglets born, number of mummies, number of stillbirths, number of live piglets, number of healthy piglets, number of testing site, and name of testing site;
[0018] The parameters of the individual birth weight original data include: the sow individual number's boar ID, sex, breed, father ID, mother ID, parity, date of birth, individual birth weight, source, birth farm number, birth farm name, farm number, farm name, and presence status.
[0019] As mentioned above, the parameters of the raw data of weaning-breeding interval include: sow ID of individual sow number, weaning-breeding interval, parity, farrowing date, weaning date, number of weaned piglets, weaning litter weight, breeding date, return date, re-breeding date, abortion date, test site number, and test site name;
[0020] The parameters of the raw data of effective nipple number include: sow ID, sex, breed, strain, father ID, mother ID, recording date, effective nipple number, left nipple number, right nipple number, measurement site number, and measurement site name of the sow individual number;
[0021] The parameters of the raw data of eye muscle area reaching 120kg weight include: sow ID of individual sow number, actual weight, target weight, eye muscle area, individual sex, measurement date, individual body length, breed, strain, date of birth, age at reaching 120kg weight, natural age, measurement site number, measurement site name, and measurement instrument;
[0022] The parameters of the raw data of the intramuscular fat content of the living body up to 120 kg include: sow individual number, sow ID, breed, strain, gender, individual weight, intramuscular fat content before correction, intramuscular fat content of the living body up to 120 kg after correction, measurement date, body condition score, age at reaching 120 kg body weight, back fat thickness at reaching 120 kg body weight, eye muscle area at reaching 120 kg body weight, date of birth, measurement site number, and measurement site name.
[0023] As mentioned above, the uniqueness check includes the ID type parameters to perform field uniqueness check;
[0024] The validity check includes checking whether each parameter of each type of original data is within the threshold range, and whether the ID type parameters meet the numbering principle;
[0025] The integrity check includes performing a field null value check on parameters set as mandatory, and not performing a field null value check on parameters set as optional;
[0026] The accuracy check includes checking the format, precision, and unit of the parameters.
[0027] (1) The consistency check of the parameters of the raw data of total litter size includes:
[0028] When recording the total litter size, the sow’s production status is in the farrowing stage or lactation stage;
[0029] A sow has only one total litter size per parity.
[0030] (2) The consistency check of the parameters of the raw data of body weight and age up to 120 kg includes:
[0031] The correction values of various parameters of the raw data of 120kg body weight and age measured at different time points or by different measurement personnel are consistent;
[0032] The body weight of sows at each age is measured and corrected to the target body weight of 120 kg.
[0033] (3) The consistency check of the parameters of the original data of back fat thickness up to 120KG includes:
[0034] The measured backfat date is earlier than the end-of-term measurement date;
[0035] The body weight of sows at each age is measured and corrected to the target body weight of 120 kg.
[0036] (4) The consistency check of the parameters of the raw data of feed conversion rate during the measurement period includes:
[0037] Maintain the correspondence between the electronic ear tag number of the core farm and the sow ID of the sow individual number on the big data platform;
[0038] The feeding-related parameters recorded at the same measuring station are arranged in chronological order;
[0039] (5) The consistency check of the parameters of the raw data of eye muscle depth up to 120 kg body weight includes:
[0040] Maintain the correspondence between the electronic ear tag number of the core farm and the sow ID of the sow individual number on the big data platform;
[0041] The birth date, weight measurement date and age at which the sow reaches 120 kg in weight are checked for consistency;
[0042] (6) The consistency check of the parameters of the raw data of the number of piglets born alive includes:
[0043] The sow is in the lactation stage;
[0044] (7) The consistency check of the parameters of the raw data of weaning litter weight includes:
[0045] The weaning litter weight data recorded were consistent with the sow’s lactation stage;
[0046] The recorded weaning litter weight is the sum of the individual weights of all litters at weaning, and the weaning litter weight before 14 days of age and after 38 days of age are not included;
[0047] (8) The consistency check of the parameters of the individual initial raw data includes:
[0048] The individual birth weight data recorded were consistent with the farrowing stage of the sow;
[0049] (9) The consistency check of the parameters of the raw data of weaning-breeding interval includes:
[0050] The sow's production status is in the empty period;
[0051] (10) The consistency check of the parameters of the raw data of the effective nipple number includes:
[0052] The number of effective nipples of the sow is consistent with the current lactation status;
[0053] (11) The consistency check of the parameters of the raw data of eye muscle area up to 120 kg body weight includes:
[0054] Maintain the correspondence between the electronic ear tag number of the core farm and the sow ID of the sow individual number on the big data platform; the relationship between the actual weight and the target weight should be consistent with the relationship between the actual age and the target age;
[0055] The birth date, weight measurement date and age at which the sow reaches 120 kg in weight are checked for consistency;
[0056] (12) The consistency check of the parameters of the raw data of intramuscular fat content of up to 120 kg of living body includes:
[0057] The consistency of the measurement environment when the same pig is measured multiple times by different operators or at different times;
[0058] The measurement error between different measuring devices does not exceed ±0.5%.
[0059] (1) Timely verification of parameters of total litter size raw data includes:
[0060] The date of farrowing should be recorded within 1 to 2 days after the farrowing date;
[0061] Register the breeding pigs in advance before reporting the original data of total piglets;
[0062] (2) Timeliness check of parameters of raw data of age and weight up to 120 kg includes:
[0063] The date of recording of weight measurement should be within 1 to 2 days after the measurement date;
[0064] (3) Timely verification of parameters of raw data of back fat thickness up to 120KG body weight includes:
[0065] The measurement date is recorded after the date of birth;
[0066] (4) Timely verification of parameters of raw data of feed conversion rate during the measurement period includes:
[0067] The reporting date of the original data of feed conversion rate during the measurement period shall be within 1 day after the measurement period;
[0068] Register the breeding pigs before reporting the original data of feed conversion rate during the measurement period;
[0069] (5) Timely verification of parameters of raw data of eye muscle depth up to 120 kg body weight includes:
[0070] Register the breeding pigs in advance before reporting the raw data of eye muscle depth of 120kg body weight;
[0071] (6) Timely verification of parameters of raw data on the number of piglets born alive includes:
[0072] The date of farrowing should be recorded within 1 to 2 days after the farrowing date;
[0073] Register the breeding pigs before reporting the original data of the number of piglets born alive;
[0074] (7) Timeliness check of parameters of raw data of weaning litter weight includes:
[0075] The weaning date should be recorded within 1 to 2 days after the weaning date;
[0076] (8) Timeliness check of parameters of individual initial raw data includes:
[0077] The date of birth is recorded within 1 day after the date of birth;
[0078] (9) Timeliness verification of parameters of raw data of weaning-breeding interval includes:
[0079] The date of farrowing should be recorded within 1 to 2 days after the farrowing date;
[0080] The breeding date should be recorded within 1 to 2 days after the breeding date;
[0081] The record date of the return date is within 1 to 2 days after the return date;
[0082] The recording date of the re-preparation date is within 1 to 2 days after the re-preparation date;
[0083] The recording date of the abortion date is within 1 to 2 days after the abortion date;
[0084] Register the breeding pigs before reporting the original data of weaning-breeding interval;
[0085] (10) Timely verification of parameters of raw data of effective nipple number includes:
[0086] (11) Timely verification of parameters of raw data of eye muscle area up to 120 kg body weight includes:
[0087] The recording date of the record date is within 1 to 2 days after the record date;
[0088] (12) Timely verification of parameters of raw data of intramuscular fat content of up to 120 kg live body includes:
[0089] Breeding pigs must be registered before reporting the original data of intramuscular fat content in live pigs weighing up to 120kg.
[0090] A computer device comprises a memory and a processor, wherein the memory stores a computer program, and the processor implements the steps of the above method when executing the computer program.
[0091] Compared with the prior art, the present invention has the following advantages and beneficial effects:
[0092] 1. Automated raw data cleaning and processing of breeding pigs improves the accuracy and completeness of raw data of breeding pigs;
[0093] 2. Flexible rule engine supports multi-dimensional data analysis and abnormal data detection;
[0094] 3. Distributed storage technology ensures efficient management and access of large-scale data;
[0095] 4. The rule engine can be flexibly adjusted according to different needs to adapt to different management modes and needs;
[0096] 5. Real-time processing and analysis of raw data streams of breeding pigs improves the response speed of data management.
[0097] 6. Through precise quality control of raw data of breeding pigs, the scientific nature of breeding decisions and the application value of data have been significantly improved. This method has broad application prospects and can effectively promote the digital transformation and intelligent management of animal husbandry. BRIEF DESCRIPTION OF THE DRAWINGS
[0098] Figure 1 It is a flow chart of the present invention. DETAILED DESCRIPTION
[0099] In order to facilitate those skilled in the art to understand and implement the present invention, the present invention is further described in detail below in conjunction with embodiments. It should be understood that the implementation examples described herein are only used to illustrate and explain the present invention and are not used to limit the present invention.
[0100] Embodiment 1:
[0101] The method for managing breeding pig performance measurement data based on a big data rule engine comprises the following steps:
[0102] Step 1: The big data platform collects raw data of breeding pigs.
[0103] The automated monitoring equipment and sensors of the measuring station are used to collect the original data of the breeding pigs, including: the original data of the total number of piglets born, the original data of the age of pigs weighing 120KG, the original data of the back fat thickness of pigs weighing 120KG, the original data of the feed conversion rate, the original data of the depth of the eye muscle of pigs weighing 120KG, the original data of the number of piglets born alive, the original data of the weaning litter weight, the original data of the individual birth weight, the original data of the weaning-breeding interval, the original data of the number of effective nipples, the original data of the eye muscle area of pigs weighing 120kg, and the original data of the intramuscular fat content of pigs weighing 120KG. Sensors can be arranged in different locations in the pig house to ensure the comprehensiveness and real-time nature of the original data of the breeding pigs. The collected original data of the breeding pigs are transmitted to the big data platform in real time via a wireless network or a wired connection.
[0104] Step 2: The big data platform pre-processes the raw data of various types of breeding pigs.
[0105] The collected raw data of breeding pigs are cleaned and processed to remove outliers that are illogical or significantly deviate from the norm, and to fill in missing values to ensure the integrity, consistency, uniqueness, validity, timeliness and accuracy of the data. Data cleaning uses an adaptive algorithm that can identify and handle abnormal situations based on historical data patterns. Missing values can be filled through multiple interpolation algorithms or inference models based on historical data.
[0106] Step 3: Based on the rule engine, the big data platform performs integrity verification, consistency verification, uniqueness verification, validity verification, timeliness verification, and accuracy verification on various parameters of the original data of various types of breeding pigs.
[0107] Based on the rule engine of the big data platform, a series of analysis rules are set to standardize the original data of total piglet number, original data of age at weight up to 120KG, original data of backfat thickness at weight up to 120KG, original data of feed conversion rate, original data of eye muscle depth at weight up to 120KG, original data of live piglets, original data of weaning litter weight, original data of individual birth weight, original data of weaning-breeding interval, original data of effective nipple number, original data of eye muscle area at weight up to 120kg, and original data of intramuscular fat content at live body up to 120KG. The original data of twelve types of breeding pigs are standardized from six aspects: completeness, consistency, uniqueness, effectiveness, timeliness, and accuracy, and the original data of breeding pigs are automatically verified. The rule engine can dynamically adjust the rules according to the actual situation to ensure that the data analysis is in line with the actual production situation. The specific steps include:
[0108] Step 3.1: Check the completeness, consistency, uniqueness, validity, timeliness, and accuracy of the raw data on total litter size:
[0109] 1. Integrity check:
[0110] (1) The sow ID of the individual sow number is required, and the field is checked for null values;
[0111] (2) Breed: optional. The breeder ID is automatically obtained based on the sow individual number. No field null value check is performed.
[0112] (3) Breed: optional. The ID of the sow is automatically obtained based on the sow individual number. No field null value check is performed.
[0113] (4) Parity, required, and field null value check;
[0114] (5) Breeding date, required, and field null value check;
[0115] (6) Breeding period, required, and field null value check;
[0116] (7) Breeding boar ID, required, and field null value check;
[0117] (8) Breeding boar breed, required, and field null value check;
[0118] (9) Birthing date, required, and field null value check;
[0119] (10) Total litter size, required, and field null value check;
[0120] (11) Number of mummies, required, field null value check;
[0121] (12) Number of stillbirths, required, and field null value check;
[0122] (13) Number of live animals, required, to perform field null value check;
[0123] (14) Measurement site number, required, and field null value check;
[0124] (15) Measurement site name, required, field null value check is performed.
[0125] 2. Check the consistency of the original data of total litter size:
[0126] (1) When recording the total number of piglets born, the sow must be in the farrowing stage (on the same day) or the lactation stage (on the first or second day);
[0127] (2) The total number of piglets born and the parity need to be checked for consistency. A sow and a single parity have only one total number of piglets born.
[0128] 3. Uniqueness check:
[0129] (1) Sow ID of individual sow number, field uniqueness check;
[0130] (2) Breeding boar ID, field uniqueness check;
[0131] (3) A single parity of a single sow cannot be reported repeatedly, and field uniqueness verification is required.
[0132] 4. Validity check:
[0133] (1) Total litter size range: 0-45; default value 1;
[0134] (2) The value range of the number of live pigs is 0-45; the default value is 1;
[0135] (3) The value range of the breeding estrus period: 1-10; the default value is 1;
[0136] (4) Validity rules for breeding boar breeds: If the breed specification is met, the breed is automatically obtained based on the sow ID of the sow individual number;
[0137] (5) Parity format value range: 0-8; default value 1;
[0138] (6) When entering the original data of total litter size, the reasonable gestation period (interval from breeding to farrowing) is limited to 105-125 days;
[0139] (7) Validity rules for the sow ID of the sow individual number: 15 alphanumeric characters, the rules are as follows:
[0140] The sow ID of the sow individual number consists of 15 letters and numbers, and the numbering principle is:
[0141] The first two digits are represented by English letters, such as DD for Duroc, LL for Landrace, YY for Large White, HH for Hampshire, etc. Binary hybrid sows are represented by the first letter of the sire line + the dam line; example: Long-blooded hybrid sows are represented by LY.
[0142] The third to sixth digits are in English letters indicating the farm number (identified by the Ministry of Agriculture and Rural Affairs);
[0143] The seventh digit is a number or English letter indicating the farm number (first 1 to 9, then A to Z, and a sow farm without a farm number is 1);
[0144] The 8th and 9th digits use the last two digits of the AD year to indicate the year of birth of the individual;
[0145] The 10th to 13th digits represent the nest number within the farm with numbers;
[0146] The 14th and 15th digits indicate the individual number in the litter;
[0147] The sow's individual number breeding pig ID can be double-marked with an ear tag and a thorn tag or an ear notch. The ear tag number is the 3rd to 6th digit of the sow's individual number breeding pig ID, that is, the farm number, plus the last six digits of the sow's individual number breeding pig ID.
[0148] 5. Timeliness verification
[0149] (1) The date of birth must be recorded within 1 to 2 days after the birth date.
[0150] The formula is: recording date of farrowing date - farrowing date <2 (days).
[0151] (2) Breeding pigs must be registered in advance before reporting the original data of total piglet numbers.
[0152] 6. Accuracy Check
[0153] (1) Rules for accuracy of total litter size:
[0154] For a single sow event, format: integer; unit: head / litter; precision: 1;
[0155] For the average values of multiple sow groups, format: integer; unit: head / litter; precision: 0.1;
[0156] (2) Rules for accuracy of parity format:
[0157] Format: integer; precision: 1;
[0158] (3) Rules for accuracy of breeding date:
[0159] Format: YYYY-MM-DD, example: 2024-01-01;
[0160] (4) Rules for accuracy of breeding estrus period:
[0161] Format: integer; precision: 1;
[0162] (5) Rules for accuracy of breeding boar ID:
[0163] Format: free text; Length: 15 characters;
[0164] (6) Rules for accuracy of breeding boar breeds:
[0165] Format: letters; length: 2 digits;
[0166] (7) Rules for accuracy of farrowing date:
[0167] Format: YYYY-MM-DD, example: 2024-01-01;
[0168] (8) Accuracy rules for the number of live babies (NBA):
[0169] For a single sow event, format: integer; unit: head / litter; precision: 1;
[0170] For the average values of multiple sow groups, format: integer; unit: head / litter; precision: 0.1;
[0171] (9) Accuracy rules for the number of stillbirths (NSB):
[0172] For a single sow event, format: integer; unit: head / litter; precision: 1;
[0173] For the average values of multiple sow groups, format: integer; unit: head / litter; precision: 0.1;
[0174] (10) Rules for the accuracy of the Mummy Number (MUM):
[0175] For a single sow event, format: integer; unit: head / litter; precision: 1;
[0176] For the average value of multiple sow groups, format: integer; unit: head / litter; precision: 0.1.
[0177] Step 3.2: Check the completeness, consistency, uniqueness, validity, timeliness, and accuracy of the original data of age and weight up to 120 kg:
[0178] 1. Integrity check
[0179] (1) The sow ID of the individual sow number is required, and the field is checked for null values;
[0180] (2) Breed: optional. The breeder ID is automatically obtained based on the sow individual number. No field null value check is performed.
[0181] (3) Breed: optional. The ID of the sow is automatically obtained based on the sow individual number. No field null value check is performed.
[0182] (4) Gender: optional. It is automatically obtained based on the sow ID of the sow individual number. No field null value check is performed.
[0183] (5) Date of birth, required, and field null value check;
[0184] (6) Measurement date, required, field null value check;
[0185] (7) Measure weight, required, and perform field null value check;
[0186] (8) Age at which the weight reaches 120 kg, required, and field null value check is performed;
[0187] (9) Measurement site number, required, and field null value check;
[0188] (10) Measurement site name, required, and field null value check is performed.
[0189] 2. Consistency check
[0190] (1) Ensure that the correction values of various parameters of the raw data of 120 kg body weight and age measured at different time points or by different measurement personnel are consistent;
[0191] (2) In order to unify the evaluation standards, the body weight of breeding pigs of all ages is measured and corrected to the standard value of the target body weight (120 kg) to facilitate a fair evaluation of their growth performance.
[0192] 3. Uniqueness check
[0193] (1) Sow ID of individual sow number, field uniqueness check;
[0194] (2) A single weight measurement event cannot be reported repeatedly, and field uniqueness verification is required.
[0195] 4. Validity Check
[0196] (1) Validity rules for the sow ID of the sow individual number: 15 alphanumeric characters, see the naming rules for the sow ID;
[0197] (2) The range of body weight measurement: 0.0-300.0 kg;
[0198] (3) The age range for reaching 120 kg body weight is 100-200 days.
[0199] 5. Timeliness verification
[0200] (1) Compare the timeliness between the single field and the business date. The recording date of the weight measurement date must be within 1 to 2 days after the measurement date.
[0201] 6. Accuracy Check
[0202] (1) Rules for the accuracy of the sow ID of the sow individual number:
[0203] Format: Free text; Length: 15;
[0204] (2) Rules for accuracy of date of birth:
[0205] Format: YYYY-MM-DD, example: 2024-01-01;
[0206] (3) Rules for the accuracy of date determination:
[0207] Format: YYYY-MM-DD, example: 2024-01-01;
[0208] (4) Rules for accuracy of weight:
[0209] Format: floating point; precision: 0.1; unit: kg; example: 91.5kg;
[0210] (5) Accuracy rules for age at 120 kg:
[0211] Format: floating point number; precision: 0.1; unit: day;
[0212] (6) Rules for determining the accuracy of site numbers:
[0213] Format: numbers and letters; length: 5;
[0214] (7) Rules for accuracy of measurement site names:
[0215] Format: Free text; Length: 50.
[0216] Step 3.3: Check the completeness, consistency, uniqueness, validity, timeliness, and accuracy of the original data of back fat thickness up to 120KG:
[0217] 1. Integrity check
[0218] (1) The sow ID of the individual sow number is required, and the field is checked for null values;
[0219] (2) Measure the weight of the sow, which is mandatory and performs a null value check on the field;
[0220] (3) Weight measurement date, required, and field null value check is performed;
[0221] (4) Breed: optional. The breeder ID is automatically obtained based on the sow individual number. No field null value check is performed.
[0222] (5) Breed: optional. The ID of the sow is automatically obtained based on the sow individual number. No field null value check is performed.
[0223] (6) Gender: optional. It is automatically obtained based on the sow ID of the sow individual number. No field null value check is performed.
[0224] (7) Physical condition score, optional, no field null value check is performed;
[0225] (8) Measured back fat thickness, required, and perform field null value check;
[0226] (9) Actual back fat date, required, and field null value check;
[0227] (10) Back fat thickness of 120 kg or more, required, field null value check;
[0228] (11) Individual body length, optional, no field null value check;
[0229] (12) Actual measurement of sow age, required, and field null value check;
[0230] (13) Measurement site number, required, and field null value check;
[0231] (14) Measurement site name, required, and field null value check;
[0232] (15) Measurement instrument, optional, no field null value check is performed.
[0233] 2. Consistency check
[0234] (1) Consistency test between the measured backfat date and the measured time: the measured backfat date is earlier than the measured time;
[0235] (2) In order to unify the evaluation standards, the body weight of breeding pigs of all ages is measured and corrected to the standard value of the target body weight (120 kg) to facilitate a fair comparison of back fat.
[0236] 3. Uniqueness check
[0237] (1) Sow ID of individual sow number, field uniqueness check;
[0238] (2) A single backfat thickness measurement event cannot be reported repeatedly, and field uniqueness verification is required.
[0239] 4. Validity Check
[0240] (1) Back fat thickness range: 3-50mm; default value is 15mm;
[0241] (2) Range of back fat thickness for weight up to 120 kg: 3-50 mm; default value is 15 mm;
[0242] (3) Body condition score: 1-4; default value is 4;
[0243] (4) Individual weight: 0-200.0kg; default value 120.0kg;
[0244] (5) Actual age of sows: 120-200 days;
[0245] (6) Validity rules for sow breeds: If the breed specification is met, the breed is automatically obtained based on the sow ID of the sow individual number.
[0246] (7) Validity rules for sow individual number breeding pig ID: 15 alphanumeric characters, see the pig ID naming rules for sow individual number.
[0247] 5. Timeliness verification
[0248] (1) To compare the timeliness of the measurement date with the date of birth, the measurement date must be recorded after the date of birth;
[0249] 6. Accuracy Check
[0250] (1) Accuracy rules for backfat thickness:
[0251] Format: floating point number; precision: 0.1; unit: mm; example: 18.3mm;
[0252] (2) Accuracy rules for back fat thickness up to 120 kg:
[0253] Format: floating point number; precision: 0.1; unit: mm; example: 18.3mm;
[0254] (3) Rules for accuracy of weight:
[0255] Format: floating point number; precision: 0.1; unit: kg; example: 101.5kg;
[0256] (4) Rules for the accuracy of the sow ID of the individual sow number:
[0257] Format: free text; Length: 15 characters;
[0258] (5) Individual body length:
[0259] Format: floating point number; unit: cm; precision: 0.1;
[0260] (6) Rules for accuracy of date determination:
[0261] Format: YYYY-MM-DD, example: 2024-01-01;
[0262] Step 3.4: Check the completeness, consistency, uniqueness, validity, timeliness and accuracy of the raw data of feed conversion rate during the measurement period:
[0263] 1. Integrity check
[0264] (1) Feed conversion rate during the measurement period, required, and field null value check;
[0265] (2) The sow ID of the individual sow number is required, and the field is checked for null values;
[0266] (3) Breed: optional. The breeder ID is automatically obtained based on the sow individual number. No field null value check is performed.
[0267] (4) Breed: optional. The ID of the sow is automatically obtained based on the sow individual number. No field null value check is performed.
[0268] (5) Gender: optional. It is automatically obtained based on the sow ID of the sow individual number. No field null value check is performed.
[0269] (6) The measurement start date is optional and does not require a null value check.
[0270] (7) Initial weight measurement, optional, no field null value check is performed;
[0271] (8) Test completion date, required, and field null value check;
[0272] (9) Weight measurement, required, field null value check;
[0273] (10) Measurement site number, required, and field null value check;
[0274] (11) Measurement site name, required, and field null value check;
[0275] (12) Equipment brand, optional, no field null value check is performed;
[0276] (13) Feeding date, required, and field null value check;
[0277] (14) Feeding start time, required, and field null value check;
[0278] (15) Measure weight, required, and perform field null value check;
[0279] (16) Feed intake, required, to perform field null value check;
[0280] (17) Feeding end time, optional, field null value check;
[0281] (18) Feeding duration, optional, field null value check;
[0282] (19) Initial weight of the trough, optional, no field null value check;
[0283] (20) Final weight of the trough, optional, no field null value check is performed;
[0284] (21) Equipment brand, optional, no field null value check is performed;
[0285] (22) Age at the start of measurement, optional, no field null value check is performed;
[0286] (23) Age at the end of measurement, optional, no field null value check is performed.
[0287] 2. Consistency check
[0288] (1) Maintain the correspondence between the electronic ear tag number of the core farm and the sow ID (15-digit national standard code) of the sow individual number on the big data platform;
[0289] (2) The feeding-related parameters recorded at the same measuring station are arranged in chronological order. The next pig can only eat after the previous pig has finished eating. The value of this start time minus the last end time should be a positive number (comparison of multiple fields in a single table);
[0290] (3) Check the consistency of the start date, end date and age of the test;
[0291] (4) Check the consistency between the initial and final measured ages.
[0292] 3. Uniqueness check
[0293] (1) A single feeding event cannot be reported repeatedly, and field uniqueness verification is required;
[0294] (2) A single weight measurement event cannot be reported repeatedly, and field uniqueness verification is required.
[0295] 4. Effectiveness
[0296] (1) The range of feed conversion rate during the measurement period: 1% to 5%;
[0297] (2) The range of the start date of measurement: 50 days to 70 days; the default value is 60 days;
[0298] (3) The range of the test age is 130 days to 190 days; the default value is 130 days;
[0299] (4) Initial weight range: 20kg-40kg; default value is 30kg;
[0300] (5) The range of the measured body weight: 90kg-140kg; the default value is 120kg;
[0301] (6) The value range of the measurement site number: the measurement site number registered on the breeding pig big data platform;
[0302] (7) The value range of the measurement site name: the measurement site name registered on the breeding pig big data platform;
[0303] (8) Value range of equipment brand: measurement system brands recommended by the government or industry, whose systems ensure that data can be connected to the breeding pig big data platform, including Runong phenotyping measurement system, Ruibaole measurement system, Bosi Zhinong phenotyping measurement system, etc.
[0304] (9) The range of body weight measurement: 20kg-140kg;
[0305] (10) The value range of the feeding start time: 2025-01-01 00:00:00 to the system running time; the default value: the system running time;
[0306] (11) Feed intake range: 0-10000.0g; default value 500g;
[0307] (12) Feeding end time, from 2025-01-01 00:00:00 to system operation time; default value: system operation time;
[0308] (13) Feeding duration range: 0-10000s; default value 600s;
[0309] (14) The value range of the initial weight of the trough: 0-10000.0kg;
[0310] (15) The value range of the final weight of the trough: 0-10000.0kg;
[0311] (16) The range of the number of days for measurement: 40-190 days; the default value is 40;
[0312] (17) Daily feeding frequency range: 1-30; default value 1;
[0313] (18) Validity rules for sow individual number breeding pig ID: 15 alphanumeric characters, see the naming rules for sow individual number breeding pig ID.
[0314] 5. Timeliness
[0315] (1) Compare the timeliness between the single field and the business date. The reporting date of the raw data of feed conversion rate during the measurement period must be within 1 day (1 month) after the measurement period;
[0316] (2) The breeding pigs must be registered in advance before reporting the original data of feed conversion rate during the measurement period;
[0317] (3) Generally, timely entry refers to the entry of documents on the day the event occurs or the day after the event occurs.
[0318] 6. Accuracy
[0319] (1) Rules for the accuracy of feed conversion rate during the measurement period:
[0320] Format: floating point; precision: 0.01; unit: %; example: 2.54%;
[0321] (2) Rules for the accuracy of the start date of measurement:
[0322] Format: YYYY-MM-DD, example: 2024-01-01;
[0323] (3) Rules for accuracy of initial weight measurement:
[0324] Format: floating point; precision: 0.1; unit: kg; example: 31.5kg;
[0325] (4) Rules for accuracy of test completion date:
[0326] Format: YYYY-MM-DD, example: 2024-01-01;
[0327] (5) Rules for accuracy of weight measurement:
[0328] Format: floating point number; precision: 0.1; unit: kg; example: 128.5kg;
[0329] (6) Rules for determining the accuracy of site numbers:
[0330] Format: free text; Length: maximum 50 characters;
[0331] (7) Rules for accuracy of measurement site names:
[0332] Format: numbers and letters; length: 5 digits;
[0333] (8) Rules for accuracy of feeding start time:
[0334] Format: YYYY-MM-DD 00:00:00, precision: s; example: 2024-09-01 05:05:00;
[0335] (9) Rules for accuracy in measuring body weight:
[0336] Format: floating point number; precision: 0.01; unit: kg; example: 128.5kg;
[0337] (10) Rules for accuracy of feed intake:
[0338] Format: integer; precision: 1; unit: g; example: 888g;
[0339] (11) Rules for accuracy of feeding end time:
[0340] Format: YYYY-MM-DD 00:00:00, precision: s; example: 2024-09-01 05:05:00;
[0341] (12) Rules for accuracy of feeding duration:
[0342] Format: integer; precision: 1; unit: s; example: 600s;
[0343] (13) Rules for accuracy of initial weight of trough:
[0344] Format: integer; precision: 1; unit: g; example: 5000g;
[0345] (14) Rules for accuracy of final weight of trough:
[0346] Format: integer; precision: 1; unit: g; example: 5888g;
[0347] (15) Rules for accuracy of initial age measurement:
[0348] Format: integer; precision: 1; unit: day; example: 60 days;
[0349] (16) Rules for the accuracy of the measured age:
[0350] Format: integer; precision: 1; unit: day; example: 130 days;
[0351] (17) All weight values less than 20 kg or greater than 180 kg during the entire measurement period of an individual can be defined as abnormal data;
[0352] (18) In single-batch or multi-batch data processing, individuals with a missing day ratio greater than 10% can be defined as abnormal individuals;
[0353] (19) In the data processing of a single batch or multiple batches, the reference value is the mean ± 2 times the standard deviation, and individuals with an initial measurement age of less than 60 days or greater than 130 days can be defined as abnormal individuals;
[0354] (20) In single-batch or multi-batch data processing, weight data quality control mainly involves fitting the growth regression curve, calculating the weight residual, calculating the measured weight weight, and finally judging whether the data is abnormal weight based on the weight threshold;
[0355] (21) In the data processing of a single batch or multiple batches, the distribution of the average coefficient of variation of body weight in each breeding farm is statistically analyzed, and individuals with different average coefficients of variation are randomly selected to observe the scatter plot of their weight on one day before and after quality control. Individuals with an average coefficient of variation greater than 0.02 (recommended value) can be defined as abnormal individuals;
[0356] (22) Accuracy rule: In the absence of reliable external data verification, if a certain indicator is entered into the system multiple times over a long period of time, it can usually be considered that the entry is accurate if there is no modification on the day the document is entered.
[0357] Step 3.5: Verify the completeness, consistency, uniqueness, validity, timeliness, and accuracy of the raw data of eye muscle depth up to 120 kg body weight:
[0358] 1. Integrity check
[0359] (1) The sow ID of the individual sow number is required, and the field is checked for null values;
[0360] (2) Breed: optional. The ID of the sow is automatically obtained based on the sow’s individual number. No field null value check is performed.
[0361] (3) Breed: optional. The ID of the sow is automatically obtained based on the sow individual number. No field null value check is performed.
[0362] (4) Gender: optional. It is automatically obtained based on the sow ID of the sow individual number. No field null value check is performed.
[0363] (5) Weight measurement value, required, and field null value check;
[0364] (6) Weight measurement date, required, and field null value check is performed;
[0365] (7) Target weight, required, and field null value check;
[0366] (8) Eye muscle depth, required, field null value check;
[0367] (9) Eye muscle depth measurement date, required, and field null value check is performed;
[0368] (10) Individual body length, optional, field null value check;
[0369] (11) Date of birth, required, field null value check;
[0370] (12) Age at which the weight reaches 120 kg, required, and field null value check is performed;
[0371] (13) Measurement site number, required, and field null value check;
[0372] (14) Measurement site name, required, and field null value check;
[0373] (15) Measurement instrument, optional, performs field null value check;
[0374] 2. Consistency check
[0375] (1) Maintain the correspondence between the electronic ear tag number of the core farm and the sow individual number and breeding pig ID (15-digit national standard code) on the big data platform;
[0376] (2) The birth date, weight measurement date and the age at which the sow reaches 120 kg in weight are consistent with each other;
[0377] 3. Uniqueness check
[0378] (1) Sow ID of individual sow number, field uniqueness check;
[0379] (2) A single eye muscle depth measurement event cannot be reported repeatedly, and field uniqueness verification is required;
[0380] 4. Validity Check
[0381] (1) Range of eye muscle depth: 10mm-100mm; default value 25.0mm;
[0382] (2) Individual weight: 40kg-190kg; default value is 120kg;
[0383] (3) Target weight: 120 kg; default value is 120 kg;
[0384] (4) Age: 0-200 days; default value is 90 days;
[0385] (5) The value range of the test site number: the test site number registered on the breeding pig big data platform;
[0386] (6) The value range of the measurement site name: the measurement site name registered on the breeding pig big data platform;
[0387] (7) Validity rules for sow breeds: if the breed specification is met, the breed is automatically obtained based on the sow ID of the sow individual number;
[0388] (8) Validity rules for sow ID of individual sow number: 15 alphanumeric characters, see the naming rules for sow ID of individual sow number;
[0389] 5. Timeliness verification
[0390] (1) Before reporting the raw data of eye muscle depth of 120kg body weight, the breeding pig must be registered in advance;
[0391] (2) Generally, timely entry means that the document is entered on the day or the next day after the event occurs;
[0392] 6. Accuracy Check
[0393] (1) Rules for accuracy of eye muscle depth:
[0394] Format: floating point number; precision: 0.1; unit: mm; example: 18.1mm;
[0395] (2) Rules for accuracy of weight:
[0396] Format: floating point number; precision: 0.1; unit: kg; example: 101.5kg;
[0397] (3) Rules for the accuracy of the sow ID of the individual sow number:
[0398] Format: free text; Length: 15 characters;
[0399] (4) Individual body length:
[0400] Format: floating point number; precision: 0.1; unit: cm; example: 101.5cm;
[0401] (6) Rules for the accuracy of date determination:
[0402] Format: YYYY-MM-DD, example: 2024-01-01;
[0403] Step 3.6: Check the completeness, consistency, uniqueness, validity, timeliness and accuracy of the raw data on the number of piglets born alive:
[0404] 1. Integrity check
[0405] (1) The sow ID of the individual sow number is required, and the field is checked for null values;
[0406] (2) Breed: optional. The ID of the sow is automatically obtained based on the sow’s individual number. No field null value check is performed.
[0407] (3) Breed: optional. The ID of the sow is automatically obtained based on the sow individual number. No field null value check is performed.
[0408] (4) Parity, required, and field null value check;
[0409] (5) Breeding date, required, and field null value check;
[0410] (6) Breeding period, required, and field null value check;
[0411] (7) Breeding boar ID, required, and field null value check;
[0412] (8) Breeding boar breed, required, and field null value check;
[0413] (9) Birthing date, required, and field null value check;
[0414] (10) Total litter size, required, and field null value check;
[0415] (11) Number of mummies, required, field null value check;
[0416] (12) Number of stillbirths, required, and field null value check;
[0417] (13) Number of live animals, required, to perform field null value check;
[0418] (14) Measurement site number, required, and field null value check;
[0419] (15) Measurement site name, required, field null value check is performed.
[0420] 2. Consistency check
[0421] (1) The sow must be in the lactation stage.
[0422] 3. Uniqueness check
[0423] (1) Sow ID of individual sow number, field uniqueness check;
[0424] (2) Verify the uniqueness of the field with the mating boar number.
[0425] 4. Validity Check
[0426] (1) Total litter size range: 0-45; default value 1;
[0427] (2) The value range of the number of live pigs is 0-45; the default value is 1;
[0428] (3) The value range of the breeding estrus period: 1-10; the default value is 1;
[0429] (4) Validity rules for breeding boar breeds: if the breed specification is met, the breed is automatically obtained based on the boar ID;
[0430] (5) Parity format value range: 0-8, default value 1;
[0431] (6) When entering the form in the farm, the reasonable gestation period (interval from breeding to farrowing) is limited to 105-125 days;
[0432] (7) Validity rules for sow individual numbers: 15 alphanumeric characters, see the naming rules for sow individual numbers.
[0433] 5. Timeliness verification
[0434] (1) Compare the timeliness between the single field and the business date. The date of birth must be recorded within 1 to 2 days after the birth date.
[0435] (2) Breeding pigs must be registered in advance before reporting the original data on the number of piglets born alive.
[0436] 6. Accuracy Check
[0437] (1) Accuracy rules for the number of live babies (NBA):
[0438] For a single sow event, format: integer; unit: head / litter; precision: 1;
[0439] For the average values of multiple sow groups, format: integer; unit: head / litter; precision: 0.1;
[0440] (2) Rules for accuracy of total litter size:
[0441] For a single sow event, format: integer; unit: head / litter; precision: 1;
[0442] For the average values of multiple sow groups, format: integer; unit: head / litter; precision: 0.1;
[0443] (3) Accuracy rules for the number of stillbirths (NSB):
[0444] For a single sow event, format: integer; unit: head / litter; precision: 1;
[0445] For the average values of multiple sow groups, format: integer; unit: head / litter; precision: 0.1;
[0446] (4) Rules for the accuracy of the Mummy Number (MUM):
[0447] For a single sow event, format: integer; unit: head / litter; precision: 1;
[0448] For the average values of multiple sow groups, format: integer; unit: head / litter; precision: 0.1;
[0449] (5) Rules for accuracy of parity format:
[0450] Format: integer; precision: 1;
[0451] (6) Rules for accuracy of breeding date:
[0452] Format: YYYY-MM-DD, example: 2024-01-01;
[0453] (7) Rules for accuracy of breeding estrus period:
[0454] Format: integer; precision: 1;
[0455] (8) Rules for accuracy of breeding boar ID:
[0456] Format: free text; Length: 15 characters;
[0457] (9) Rules for accuracy of breeding boar breeds:
[0458] Format: letters; length: 2 digits;
[0459] (10) Rules for accuracy of farrowing date:
[0460] Format: YYYY-MM-DD, example: 2024-01-01.
[0461] Step 3.7: Check the completeness, consistency, uniqueness, validity, timeliness and accuracy of the raw data of weaning litter weight:
[0462] 1. Integrity check
[0463] (1) The sow ID of the individual sow number is required, and the field is checked for null values;
[0464] (2) Breed: optional. The breeder ID is automatically obtained based on the sow individual number. No field null value check is performed.
[0465] (3) Breed: optional. The ID of the sow is automatically obtained based on the sow individual number. No field null value check is performed.
[0466] (4) Gender: optional. It is automatically obtained based on the sow ID of the sow individual number. No field null value check is performed.
[0467] (5) Parity, required, and field null value check is performed;
[0468] (6) Weaning date, required, and field null value check;
[0469] (7) Birthing date, required, and field null value check;
[0470] (8) Number of weaned piglets, required, and field null value check;
[0471] (9) Weaning litter weight, required, field null value check;
[0472] (10) Total litter size, required, and field null value check;
[0473] (11) Number of mummies, required, field null value check;
[0474] (12) Number of stillbirths, required, and field null value check;
[0475] (13) Number of live animals, required, to perform field null value check;
[0476] (14) Number of healthy children, required, to perform field null value check;
[0477] (15) Measurement site number, required, and field null value check;
[0478] (16) Measurement site name, required, field null value check is performed.
[0479] 2. Consistency check
[0480] (1) Production status of sows: The recorded weaning litter weight data must be consistent with the lactation stage of the sow to ensure the logical rationality of the data;
[0481] (2) The recorded weaning litter weight should be the sum of the individual weights of all piglets in the litter at weaning, and the weaning litter weight before 14 days of age and after 38 days of age should not be included to ensure the accuracy of the 21-day corrected weaning litter weight.
[0482] 3. Uniqueness check
[0483] (1) The breeding pig ID of the sow individual number: The breeding pig ID of each sow individual number must be unique.
[0484] 4. Validity Check
[0485] (1) Total litter size range: 0-45; default value 1;
[0486] (2) The value range of the number of live pigs is 0-45; the default value is 1;
[0487] (3) The value range of the breeding estrus period: 1-10; the default value is 1;
[0488] (4) Validity rules for breeding boar breeds: if the breed specification is met, the breed is automatically obtained based on the boar ID;
[0489] (5) Parity format value range: 0-8, default value 1;
[0490] (6) Number of weaned pigs: The number of weaned pigs recorded should be the number of piglets that are actually alive at the time of weaning, including piglets that have been fostered in, but excluding piglets that have been fostered out;
[0491] (7) Range of weaning litter weight: 30-120 kg;
[0492] (8) When entering the form in the farm, the reasonable gestation period (interval from breeding to farrowing) is limited to 105-125 days;
[0493] (9) Validity rules for the sow individual number breeding pig ID: 15 alphanumeric characters, see the naming rules for the sow individual number breeding pig ID.
[0494] 5. Timeliness
[0495] (1) Compare the timeliness between the single field and the business date. The recording date of the weaning date must be within 1 to 2 days after the weaning date.
[0496] 6. Accuracy Check
[0497] (1) Rules for accuracy of total litter size:
[0498] For a single sow event, format: integer; unit: head / litter; precision: 1;
[0499] For the average value of multiple sow groups, format: integer; unit: head / litter; precision: 0.1.
[0500] (2) Rules for accuracy of parity format:
[0501] Format: integer; precision: 1;
[0502] (3) Rules for accuracy of breeding date:
[0503] Format: YYYY-MM-DD, example: 2024-01-01;
[0504] (4) Rules for accuracy of breeding estrus period:
[0505] Format: integer; precision: 1;
[0506] (5) Rules for accuracy of breeding boar ID:
[0507] Format: free text; Length: 15 characters;
[0508] (6) Rules for accuracy of breeding boar breeds:
[0509] Format: letters; length: 2 digits;
[0510] (7) Rules for accuracy of farrowing date:
[0511] Format: YYYY-MM-DD, example: 2024-01-01;
[0512] (8) Accuracy rules for the number of live babies (NBA):
[0513] For a single sow event, format: integer; unit: head / litter; precision: 1;
[0514] For the average values of multiple sow groups, format: integer; unit: head / litter; precision: 0.1;
[0515] (9) Accuracy rules for the number of stillbirths (NSB):
[0516] For a single sow event, format: integer; unit: head / litter; precision: 1;
[0517] For the average values of multiple sow groups, format: integer; unit: head / litter; precision: 0.1;
[0518] (10) Rules for the accuracy of the Mummy Number (MUM):
[0519] For a single sow event, format: integer; unit: head / litter; precision: 1;
[0520] For the average values of multiple sow groups, format: integer; unit: head / litter; precision: 0.1;
[0521] (11) Rules for accuracy of the number of weaned piglets:
[0522] For a single sow event, format: integer; unit: head / litter; precision: 1;
[0523] For the average values of multiple sow groups, format: integer; unit: head / litter; precision: 0.1;
[0524] (12) Rules for accuracy of weaning litter weight:
[0525] Format: floating point number; length: 1-4; unit: kg; precision: 0.1.
[0526] Step 3.8: Check the completeness, consistency, uniqueness, validity, timeliness, and accuracy of the individual's primary data:
[0527] 1. Integrity check
[0528] (1) The sow ID of the individual sow number is required, and the field is checked for null values;
[0529] (2) Gender: required, and field null value check is performed;
[0530] (3) Variety: required, and field null value check is performed;
[0531] (4) Father ID, required, field null value check;
[0532] (5) Mother ID, required, field null value check;
[0533] (6) Birth order, required, to perform field null value check;
[0534] (7) Date of birth, required, and field null value check;
[0535] (8) Individual initial weight, required, field null value check;
[0536] (9) Source method, required, to perform field null value check;
[0537] (10) Birthplace number, required, to perform field null value check;
[0538] (11) Birthplace name, required, and field null value check is performed;
[0539] (12) Field number, required, to perform field null value check;
[0540] (13) The name of the site, required, and the field is checked for null values;
[0541] (14) Presence status, required, to perform field empty value check.
[0542] 2. Consistency check
[0543] Production status of sows: The recorded individual birth weight data must be consistent with the sow’s farrowing stage to ensure the logical rationality of the data.
[0544] 3. Uniqueness check
[0545] Sow ID of individual sow number: The sow ID of each individual sow number must be unique.
[0546] 4. Effectiveness
[0547] (1) Number of piglets born: The number of piglets born recorded should be the number of piglets that actually survived at birth;
[0548] (2) Individual birth weight: The individual birth weight recorded should be the weight of the piglet within 12 hours after birth, and the measurement accuracy must be accurate to 0.1kg;
[0549] (3) Validity rules for breeding boar breeds: if the breed specification is met, the breed is automatically obtained based on the boar ID;
[0550] (4) Parity format value range: 0-8, default value 1;
[0551] (5) When entering the form in the farm, the reasonable gestation period (interval from breeding to farrowing) is limited to 105-125 days;
[0552] (6) Validity rules for the sow individual number breeding pig ID: 15 alphanumeric characters, see the naming rules for the sow individual number breeding pig ID.
[0553] 5. Timeliness
[0554] To compare the timeliness between the single field and the business date, the record date of the date of birth must be within 1 day after the date of birth.
[0555] 6. Accuracy
[0556] (1) Rules for accuracy of total litter size at birth:
[0557] For a single sow event, format: integer; unit: head / litter; precision: 1;
[0558] For the average values of multiple sow groups, format: integer; unit: head / litter; precision: 0.1;
[0559] (2) Rules for accuracy of individual birth weight:
[0560] Format: floating point; unit: kg; precision: 0.1;
[0561] (3) Rules for accuracy of parity format:
[0562] Format: integer; precision: 1;
[0563] (4) Rules for accuracy of breeding date:
[0564] Format: YYYY-MM-DD, example: 2024-01-01;
[0565] (5) Rules for accuracy of breeding boar ID:
[0566] Format: free text; Length: 15 characters;
[0567] (6) Rules for accuracy of breeding boar breeds:
[0568] Format: letters; length: 2 digits;
[0569] (7) Rules for accuracy of farrowing date:
[0570] Format: YYYY-MM-DD, example: 2024-01-01;
[0571] (8) Rules for accuracy of date of birth:
[0572] Format: YYYY-MM-DD, example: 2024-01-01.
[0573] Step 3.9: Check the completeness, consistency, uniqueness, validity, timeliness, and accuracy of the raw data of weaning-to-breeding interval:
[0574] 1. Integrity check
[0575] (1) The sow ID of the individual sow number is required, and the field is checked for null values;
[0576] (2) Weaning-breeding interval, required, and field null value check;
[0577] (3) Parity, required, and field null value check is performed;
[0578] (4) Birthing date, required, and field null value check;
[0579] (5) Weaning date, required, and field null value check;
[0580] (6) Number of weaned piglets, required, and field null value check;
[0581] (7) Weaning litter weight, optional, no field null value check;
[0582] (8) Breeding date, required, and field null value check;
[0583] (9) Return date, required, and field null value check;
[0584] (10) Re-assignment date, required, and field null value check;
[0585] (11) Abortion date, optional, no field null value check is performed;
[0586] (12) Measurement site number, required, and field null value check;
[0587] (13) Measurement site name, required, field null value check is performed.
[0588] 2. Consistency check
[0589] (1) The sow’s production status must be in the empty period.
[0590] 3. Uniqueness check
[0591] (1) The sow ID of the sow individual number is used for field uniqueness verification.
[0592] 4. Effectiveness
[0593] (1) Validity rules for the sow ID of the individual sow number: 15 alphanumeric characters, see the naming rules for the sow ID of the individual sow number;
[0594] (2) The range of weaning-breeding interval is 3 to 20 days, with a default value of 7;
[0595] (3) The value range of parity format: 0-8, the default value is 1;
[0596] (4) The value range of the number of weaned piglets: 0-30; the default value is 1;
[0597] (5) The value range of weaning litter weight is 0.0kg-300.0kg, with a default value of 0.1.
[0598] 5. Timeliness
[0599] (1) Compare the timeliness of the single field and the business date. The date of birth must be recorded within 1 to 2 days after the birth date.
[0600] The formula is: the recording date of the farrowing date - the farrowing date <2 (days);
[0601] (2) Compare the timeliness between the single field and the business date. The breeding date must be recorded within 1 to 2 days after the breeding date.
[0602] The formula is: Record date of breeding date - breeding date < 2 (days);
[0603] (3) Compare the timeliness between the single field and the business date. The record date of the return date must be within 1 to 2 days after the return date.
[0604] The formula is: the recording date of the return date - the return date <2 (days);
[0605] (4) Compare the timeliness between the single field and the business date. The recording date of the re-matching date must be within 1 to 2 days after the re-matching date.
[0606] The formula is: the recording date of the miscarriage date - the miscarriage date <2 (days);
[0607] (5) Compare the timeliness between the single field and the business date. The recording date of the abortion date must be within 1 to 2 days after the abortion date.
[0608] The formula is: the recording date of the miscarriage date - the miscarriage date <2 (days);
[0609] (6) Breeding pigs must be registered in advance before reporting the original data of weaning-breeding interval.
[0610] 6. Accuracy
[0611] (11) Rules for the accuracy of the sow ID:
[0612] Format: Free text; Length: 15;
[0613] (12) Accuracy rules for weaning-breeding intervals:
[0614] Format: integer; precision: 1; unit: day;
[0615] (13) Rules for accuracy of parity format:
[0616] Format: integer; precision: 1;
[0617] (14) Rules for accuracy of farrowing date:
[0618] Format: YYYY-MM-DD, example: 2024-01-01;
[0619] (15) Rules for accuracy of weaning date:
[0620] Format: YYYY-MM-DD, example: 2024-01-01;
[0621] (16) Rules for accuracy of the number of weaned piglets:
[0622] Format: integer; precision: 1; unit: head / litter;
[0623] (17) Rules for accuracy of weaning litter weight:
[0624] Format: floating point number; precision: 0.1; unit: kilogram (kg);
[0625] (18) Rules for accuracy of breeding date:
[0626] Format: YYYY-MM-DD, example: 2024-01-01;
[0627] (19) Rules for accuracy of return date:
[0628] Format: YYYY-MM-DD, example: 2024-01-01;
[0629] (20) Rules for accuracy of re-mixing date:
[0630] Format: YYYY-MM-DD, example: 2024-01-01;
[0631] Rules for accuracy of abortion date:
[0632] Format: YYYY-MM-DD, example: 2024-01-01;
[0633] (21) Rules for determining the accuracy of site numbers:
[0634] Format: numbers and letters; length: 5;
[0635] (22) Rules for determining the accuracy of site names:
[0636] Format: Free text; Length: 50;
[0637] Step 3.10: Verify the completeness, consistency, uniqueness, validity, timeliness, and accuracy of the original data of the number of effective nipples:
[0638] 1. Integrity check
[0639] (1) The sow ID of the individual sow number is required, and the field is checked for null values;
[0640] (2) Gender: required, and field null value check is performed;
[0641] (3) Variety: required, and field null value check is performed;
[0642] (4) Breed: required, and field null value check is performed;
[0643] (5) Father ID, required, field null value check;
[0644] (6) Mother ID, required, field null value check;
[0645] (7) Record date, required, and perform field null value check;
[0646] (8) Number of valid nipples, required, and field null value check;
[0647] (9) Left nipple number, required, field null value check;
[0648] (10) Right nipple number, required, field null value check;
[0649] (11) Measurement site number, required, and field null value check;
[0650] (12) Measurement site name, required, and field null value check is performed.
[0651] 2. Consistency check
[0652] (1) The number of effective nipples of the sow should be consistent with the current lactation status.
[0653] 3. Uniqueness check
[0654] (1) The sow ID of the sow individual number is used for field uniqueness verification.
[0655] 4. Validity Check
[0656] (1) Validity rules for the sow ID of the individual sow number: 15 alphanumeric characters, see the naming rules for the sow ID of the individual sow number;
[0657] (2) The range of effective nipple number: 8-20; the default value is 8;
[0658] (3) The range of the number of left nipples: 1-12; the default value is 1;
[0659] (4) The value range of the number of right nipples is 1-12; the default value is 1.
[0660] 5. Timeliness verification
[0661] (1) Compare the timeliness between the single field and the business date. The recording date must be recorded within 1 to 2 days after the recording date.
[0662] 6. Accuracy Check
[0663] (1) Rules for the accuracy of the sow ID of the sow individual number:
[0664] Format: Free text; Length: 15;
[0665] (2) Rules for accuracy of recording dates:
[0666] Format: YYYY-MM-DD, example: 2024-01-01;
[0667] (3) Accuracy rules for the number of effective nipples:
[0668] Format: integer; precision: 1; unit: piece;
[0669] (4) Rules for accuracy of left nipple count:
[0670] Format: integer; precision: 1; unit: piece;
[0671] (5) Rules for the accuracy of right nipple count:
[0672] Format: integer; precision: 1; unit: piece;
[0673] (6) Rules for determining the accuracy of site numbers:
[0674] (7)Format: numbers and letters; length: 5;
[0675] (8) Rules for accuracy of site names:
[0676] (9) Format: free text; Length: 50.
[0677] Step 3.11: Check the completeness, consistency, uniqueness, validity, timeliness, and accuracy of the raw data of eye muscle area for subjects weighing up to 120 kg:
[0678] 1. Integrity check
[0679] (1) The sow ID of the individual sow number is required, and the field is checked for null values;
[0680] (2) Actual weight, required, and field null value check is performed;
[0681] (3) Target weight, required, and field null value check;
[0682] (4) Eye muscle area, required, and field null value check is performed;
[0683] (5) Individual gender, required, and field null value check is performed;
[0684] (6) Measurement date, required, field null value check;
[0685] (7) Individual body length, required, and field null value check;
[0686] (8) Variety: required, and field null value check is performed;
[0687] (9) Breed, required, to perform field null value check;
[0688] (10) Date of birth, required, and field null value check;
[0689] (11) Age at which the weight reaches 120 kg, required, and field null value check is performed;
[0690] (12) Natural age, required, to perform field null value check;
[0691] (13) Measurement site number, required, and field null value check;
[0692] (14) Measurement site name, required, and field null value check;
[0693] (15) Measurement instrument, optional, performs field null value check.
[0694] 2. Consistency check
[0695] (1) The correspondence between the electronic ear tag number of the core farm and the sow ID (15-digit national standard code) of the sow individual number maintained on the big data platform;
[0696] (2) The relationship between actual body weight and target body weight should be consistent with the relationship between actual age and target age;
[0697] (3) The birth date, weight measurement date and age at which the sow reaches 120 kg in weight are consistent with each other;
[0698] 3. Uniqueness check
[0699] (1) Sow ID of individual sow number, field uniqueness check;
[0700] (2) A single eye muscle area measurement event cannot be reported repeatedly, and field uniqueness verification is required.
[0701] 4. Validity Check
[0702] (1) Range of eye muscle area for weight up to 120 kg: 10-50 cm2; default value 30 cm2;
[0703] (2) The range of measured eye muscle area: 10-50cm2; the default value is 30cm2;
[0704] (3) Individual weight: 30kg-200kg; default value is 120kg;
[0705] (4) Target weight: 120 kg; default value is 120 kg;
[0706] (5) Age in days: 0-200 days; default value is 90 days;
[0707] (6) The value range of the measurement site number: the measurement site number registered on the breeding pig big data platform;
[0708] (7) The value range of the measurement site name: the measurement site name registered on the breeding pig big data platform;
[0709] (8) Value range of equipment brand: measurement system brands recommended by the government or industry, whose systems ensure that data can be connected to the breeding pig big data platform, including Runong phenotyping measurement system, Ruibaole measurement system, Bosi Zhinong phenotyping measurement system, etc.
[0710] (9) Validity rules for sow breeds: if the breed specification is met, the breed is automatically obtained based on the sow ID of the sow individual number;
[0711] (10) Validity rules for the sow individual number breeding pig ID: 15 alphanumeric characters, see the naming rules for the sow individual number breeding pig ID.
[0712] 5. Timeliness verification
[0713] (1) To compare the timeliness of the measurement date with the date of birth, the measurement date must be recorded after the date of birth;
[0714] (2) The breeding pigs must be registered in advance before reporting the feed conversion rate records of the breeding pigs during the measurement period;
[0715] (3) Generally, timely entry refers to the entry of documents on the day the event occurs or the day after the event occurs.
[0716] 6. Accuracy Check
[0717] (1) Accuracy rules for eye muscle area:
[0718] Format: floating point number; precision: 0.01; unit: square centimeter;
[0719] (2) Rules for accuracy of weight:
[0720] Format: floating point; precision: 0.1; unit: kilogram;
[0721] (3) Rules for the accuracy of the sow ID of the individual sow number:
[0722] Format: free text; Length: 15 characters;
[0723] (4) Individual body length:
[0724] Format: floating point number; precision: 0.1; unit: centimeter;
[0725] (6) Rules for accuracy of date determination:
[0726] Format: YYYY-MM-DD, example: 2024-01-01;
[0727] (7) All weight values less than 20kg or greater than 180kg during the entire measurement period of an individual can be defined as abnormal data;
[0728] (8) In single-batch or multi-batch data processing, individuals with a missing day ratio greater than 10% can be defined as abnormal individuals;
[0729] (9) In the data processing of a single batch or multiple batches, the reference mean ± 2 times the standard deviation can be used to define individuals with an initial age of less than 60 days or greater than 130 days as abnormal individuals;
[0730] (10) In single-batch or multi-batch data processing, weight data quality control mainly involves fitting the growth regression curve, calculating the weight residual, calculating the measured weight weight, and finally judging whether the data is abnormal weight based on the weight threshold;
[0731] (11) In the data processing of a single batch or multiple batches, the distribution of the average coefficient of variation of body weight of each breeding farm is statistically analyzed, and individuals with different average coefficients of variation are randomly selected to observe the scatter plot of their body weight on one day before and after quality control. Individuals with an average coefficient of variation greater than 0.02 (recommended value) are defined as abnormal individuals;
[0732] (12) Accuracy rule: In the absence of reliable external data verification, if a certain indicator is entered into the system multiple times over a long period of time, it can usually be considered that the entry is accurate if there is no modification on the day the document is entered.
[0733] Step 3.12: Verify the completeness, consistency, uniqueness, validity, timeliness, and accuracy of the raw data of intramuscular fat content of up to 120 kg of living body:
[0734] 1. Integrity check
[0735] (1) Sow individual number Sow individual number Sow ID, required, field null value check;
[0736] (2) Breed: optional. The ID of the sow is automatically obtained based on the sow’s individual number. No field null value check is performed.
[0737] (3) Breed: optional. The ID of the sow is automatically obtained based on the sow individual number. No field null value check is performed.
[0738] (4) Gender: optional. It is automatically obtained based on the sow ID of the sow individual number. No field null value check is performed.
[0739] (5) Individual weight: required. Field null value check is performed.
[0740] (6) Intramuscular fat content before correction, required, and field null value check.
[0741] (7) After correction, the intramuscular fat content of 120kg living body is required, and the field is checked for empty values.
[0742] (8) Measurement date, required, field null value check is performed.
[0743] (9) Physical condition score: optional. Perform field null value check.
[0744] (10) Age at which the weight reaches 120 kg. This is mandatory and the field is checked for null values.
[0745] (11) Back fat thickness for body weight up to 120kg, optional, no field null value check.
[0746] (12) Eye muscle area for body weight up to 120kg, optional, no field null value check is performed.
[0747] (13) Date of birth: required. Perform field null value check.
[0748] (14) Measurement site number, required, and field null value check.
[0749] (15) Measurement site name, required, field null value check is performed.
[0750] 2. Consistency check
[0751] (1) After measurement, the body weight is calibrated to the standard value of 120 kg, and the target weight remains consistent.
[0752] (2) When the same pig is measured multiple times by different operators or at different times, the consistency of the measurement environment must be ensured. For example, factors such as the pressure of the operator during measurement and the quality of contact between the probe and the skin may lead to deviations in the results.
[0753] (3) The calibration parameters remain consistent.
[0754] (4) When using different measuring devices for measurement, the measurement results between the devices are consistent and the error does not exceed ±0.5%.
[0755] 3. Uniqueness check
[0756] (1) The sow ID of the sow individual number is verified for field uniqueness to ensure that the sow ID of each sow individual number is unique in the system.
[0757] (2) A single muscle fat content measurement event cannot be reported repeatedly, and field uniqueness verification is required;
[0758] 4. Validity Check
[0759] (1) The range of the start date is 50 to 70 days; the default value is 60 days;
[0760] (2) The range of the test age is 130 days to 190 days; the default value is 130 days;
[0761] (3) The range of intramuscular fat content: 0% to 50%;
[0762] (4) Body condition score: 1-5; the default value is 4;
[0763] (5) Individual weight: 0-200kg; the default value is 120kg.
[0764] (6) Validity rules for breeding pigs: If the breed specification is met, the breed is automatically obtained based on the breeding pig ID of the sow individual number.
[0765] (7) The sow ID of the sow individual number adopts a national unified sow numbering system, which consists of 15 letters and numbers;
[0766] 5. Timeliness
[0767] (1) Before reporting the raw data of intramuscular fat content of live pigs weighing up to 120 kg, the breeding pigs must be registered in advance.
[0768] (2) Generally, timely entry refers to the entry of documents on the day the event occurs or the day after the event occurs.
[0769] 6. Accuracy
[0770] (1) Accuracy rules for intramuscular fat content:
[0771] Format: floating point number; precision: 0.1; unit: %
[0772] (2) Rules for accuracy of weight:
[0773] Format: floating point; precision: 0.1; unit: kg
[0774] (3) Rules for the accuracy of the sow ID of the individual sow number:
[0775] Format: free text; Length: 15 characters;
[0776] (4) Rules for the accuracy of individual body length:
[0777] Format: floating point number; precision: 0.1; unit: cm;
[0778] (5) Rules for accuracy of date determination:
[0779] Format: YYYY-MM-DD, example: 2024-01-01;
[0780] Data Storage:
[0781] The processed raw data of the sows will be stored in a distributed database, such as Hadoop or Spark, to facilitate efficient access and analysis of large-scale data. If the Hadoop ecosystem is selected, it is necessary to ensure that the entire Hadoop cluster has been precisely deployed and properly configured. All nodes in the cluster, whether it is the NameNode responsible for managing core tasks such as the file system namespace, or the DataNode that actually undertakes the data block storage function, are already in a stable operating state, and the network communication between them is smooth and unimpeded. Various parameter settings are reasonably optimized, such as the number of data block copies is accurately set according to the data reliability requirements and storage resource conditions to ensure data redundancy and high availability. These data may exist in a variety of formats, the most common of which is the structured CSV file format, which is convenient for data organization and import; it may also be in the form of Excel spreadsheets, which is convenient for manual viewing and preliminary editing; it may even be JSON format data directly extracted from various information collection systems of the farm, which has good scalability and data interactivity. Before the data is stored, it will be fully quality checked and preprocessed to eliminate obvious errors or duplicate data records, correct irregularities in the format, ensure the accuracy and completeness of the data, and then call the corresponding method to start the data upload process. During the execution of the program, error handling and logging mechanisms can be added to promptly capture abnormal situations that may occur during the upload process, such as network failures, insufficient node disk space, etc., and record relevant information in detail to provide a strong basis for subsequent troubleshooting and problem solving. This storage method ensures the security and reliability of the data and the operability for subsequent analysis. The data storage module is also equipped with a data backup and recovery mechanism to ensure that data is not lost in the event of a system failure.
[0782] A person of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be implemented by instructing related hardware through a computer program. The computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods.
[0783] Embodiment 2:
[0784] In this embodiment, a computer device is further provided, including a memory and a processor, wherein a computer program is stored in the memory, and the processor implements the steps in the above method embodiments when executing the computer program.
[0785] Embodiment 3:
[0786] In this embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the steps in the above method embodiments are implemented.
[0787] Embodiment 4:
[0788] In this embodiment, a computer program product is provided, including a computer program. When the computer program is executed by a processor, the steps in the above method embodiments are implemented.
[0789] It should be noted that the embodiments described in the present invention are merely examples of the spirit of the present invention. Those skilled in the art may make various modifications or additions to the described embodiments or replace them in similar ways, but they will not deviate from the spirit of the present invention or exceed the scope defined by the attached claims.
Claims
1. A method for managing breeding pig performance measurement data based on a big data rule engine, characterized in that: The following steps are involved: Step 1: The big data platform collects raw data of breeding pigs; Step 2: The big data platform pre-processes the raw data of various types of breeding pigs; Step 3: Based on the rule engine, the big data platform performs integrity verification, consistency verification, uniqueness verification, validity verification, timeliness verification, and accuracy verification on various parameters of the original data of various types of breeding pigs. The types of original data of breeding pigs include original data of total piglet number, original data of age at weight reaching 120KG, original data of back fat thickness at weight reaching 120KG, original data of feed conversion rate, original data of eye muscle depth at weight reaching 120KG, original data of live piglet number, original data of weaning litter weight, original data of individual birth weight, original data of weaning-breeding interval, original data of effective nipple number, original data of eye muscle area at weight reaching 120kg, and original data of intramuscular fat content of live pigs at weight reaching 120KG.
2. The method for managing sow performance measurement data based on a big data rule engine according to claim 1, characterized in that: The preprocessing includes removing outliers and filling in missing values.
3. The method for managing sow performance measurement data based on big data rule engine according to claim 2, characterized in that: The parameters of the raw data of total piglet number include: sow individual number, sow ID, breed, strain, breeding date, breeding estrus, breeding boar ID, breeding boar breed, farrowing date, total piglet number, mummies number, stillbirth number, live piglet number, test site number, and test site name; The parameters of the raw data of age at 120 kg weight include: sow ID, breed, strain, sex, date of birth, measurement date, measurement weight, age at 120 kg weight, measurement site number, and measurement site name of the sow individual number; The parameters of the original data of backfat thickness at 120 kg weight include: sow ID of individual sow number, actual sow weight, weight measurement date, breed, strain, sex, body condition score, actual backfat thickness, actual backfat measurement date, backfat thickness at 120 kg weight, individual body length, actual sow age, measurement site number, measurement site name, and measurement instrument; The parameters of the raw data of feed conversion rate during the measurement period include: feed conversion rate during the measurement period, sow ID of individual sow number, breed, strain, gender, starting measurement date, starting measurement weight, ending measurement date, ending measurement weight, measurement site number, measurement site name, equipment brand, feeding date, feeding start time, measurement weight, feeding amount, feeding end time, feeding time, initial weight of feed trough, final weight of feed trough, equipment brand, starting age of measurement, and ending age of measurement.
4. The method for managing sow performance measurement data based on a big data rule engine according to claim 3 is characterized in that: The parameters of the raw data of eye muscle depth at 120 kg weight include the sow ID, breed, strain, sex, weight measurement value, weight measurement date, target weight, eye muscle depth, eye muscle depth measurement date, individual body length, date of birth, age at 120 kg weight, measurement site number, measurement site name, and measurement instrument of the sow individual number; The parameters of the raw data of the number of piglets born alive include: the sow ID of the individual sow number, breed, strain, parity, breeding date, breeding estrus, breeding boar ID, breeding boar breed, farrowing date, required, field null value check, total piglets born, number of mummies, number of stillbirths, number of live piglets, number of testing site, and name of testing site; The parameters of the raw data of weaning litter weight include: sow ID, breed, strain, sex, parity, weaning date, farrowing date, number of weaned piglets, weaning litter weight, total number of piglets born, number of mummies, number of stillbirths, number of live piglets, number of healthy piglets, number of testing site, and name of testing site; The parameters of the individual birth weight original data include: the sow individual number's boar ID, sex, breed, father ID, mother ID, parity, date of birth, individual birth weight, source, birth farm number, birth farm name, farm number, farm name, and presence status.
5. The method for managing sow performance measurement data based on a big data rule engine according to claim 4, characterized in that: The parameters of the raw data of weaning-breeding interval include: sow ID of individual sow number, weaning-breeding interval, parity, farrowing date, weaning date, number of weaned piglets, weaning litter weight, breeding date, return date, re-breeding date, abortion date, test site number, and test site name; The parameters of the raw data of effective nipple number include: sow ID, sex, breed, strain, father ID, mother ID, recording date, effective nipple number, left nipple number, right nipple number, measurement site number, and measurement site name of the sow individual number; The parameters of the raw data of eye muscle area reaching 120kg weight include: sow ID of individual sow number, actual weight, target weight, eye muscle area, individual sex, measurement date, individual body length, breed, strain, date of birth, age at reaching 120kg weight, natural age, measurement site number, measurement site name, and measurement instrument; The parameters of the raw data of the intramuscular fat content of the living body up to 120 kg include: sow individual number, sow ID, breed, strain, gender, individual weight, intramuscular fat content before correction, intramuscular fat content of the living body up to 120 kg after correction, measurement date, body condition score, age at reaching 120 kg body weight, back fat thickness at reaching 120 kg body weight, eye muscle area at reaching 120 kg body weight, date of birth, measurement site number, and measurement site name.
6. The method for managing sow performance measurement data based on a big data rule engine according to claim 5, characterized in that: The uniqueness check includes performing field uniqueness check on parameters of ID type; The validity check includes checking whether each parameter of each type of original data is within the threshold range, and whether the ID type parameters meet the numbering principle; The integrity check includes performing a field null value check on parameters set as mandatory, and not performing a field null value check on parameters set as optional; The accuracy check includes checking the format, precision, and unit of the parameters.
7. The method for managing sow performance measurement data based on big data rule engine according to claim 6, characterized in that: (1) The consistency check of the parameters of the raw data of total litter size includes: When recording the total litter size, the sow’s production status is in the farrowing stage or lactation stage; A sow has only one total litter size per parity. (2) The consistency check of the parameters of the raw data of body weight and age up to 120 kg includes: The correction values of various parameters of the raw data of 120kg body weight and age measured at different time points or by different measurement personnel are consistent; The body weight of sows at each age is measured and corrected to the target body weight of 120 kg. (3) The consistency check of the parameters of the original data of back fat thickness up to 120KG includes: The measured backfat date is earlier than the end-of-term measurement date; The body weight of sows at each age is measured and corrected to the target body weight of 120 kg. (4) The consistency check of the parameters of the raw data of feed conversion rate during the measurement period includes: Maintain the correspondence between the electronic ear tag number of the core farm and the sow ID of the sow individual number on the big data platform; The feeding-related parameters recorded at the same measuring station are arranged in chronological order; (5) The consistency check of the parameters of the raw data of eye muscle depth up to 120 kg body weight includes: Maintain the correspondence between the electronic ear tag number of the core farm and the sow ID of the sow individual number on the big data platform; The birth date, weight measurement date and age at which the sow reaches 120 kg in weight are checked for consistency; (6) The consistency check of the parameters of the raw data of the number of piglets born alive includes: The sow is in the lactation stage; (7) The consistency check of the parameters of the raw data of weaning litter weight includes: The weaning litter weight data recorded were consistent with the sow’s lactation stage; The recorded weaning litter weight is the sum of the individual weights of all litters at weaning, and the weaning litter weight before 14 days of age and after 38 days of age are not included; (8) The consistency check of the parameters of the individual initial raw data includes: The individual birth weight data recorded were consistent with the farrowing stage of the sow; (9) The consistency check of the parameters of the raw data of weaning-breeding interval includes: The sow's production status is in the empty period; (10) The consistency check of the parameters of the raw data of the effective nipple number includes: The number of effective nipples of the sow is consistent with the current lactation status; (11) The consistency check of the parameters of the raw data of eye muscle area up to 120 kg body weight includes: Maintain the correspondence between the electronic ear tag number of the core farm and the sow ID of the sow individual number on the big data platform; The relationship between actual weight and target weight should be consistent with the relationship between actual age and target age; The birth date, weight measurement date and age at which the sow reaches 120 kg in weight are checked for consistency; (12) The consistency check of the parameters of the raw data of intramuscular fat content of up to 120 kg of living body includes: The consistency of the measurement environment when the same pig is measured multiple times by different operators or at different times; The measurement error between different measuring devices does not exceed ±0.5%.
8. The method for managing sow performance measurement data based on a big data rule engine according to claim 6, characterized in that: (1) Timely verification of parameters of total litter size raw data includes: The date of farrowing should be recorded within 1 to 2 days after the farrowing date; Register the breeding pigs in advance before reporting the original data of total piglets; (2) Timeliness check of parameters of raw data of age and weight up to 120 kg includes: The date of recording of weight measurement should be within 1 to 2 days after the measurement date; (3) Timely verification of parameters of raw data of back fat thickness up to 120KG body weight includes: The measurement date is recorded after the date of birth; (4) Timely verification of parameters of raw data of feed conversion rate during the measurement period includes: The reporting date of the original data of feed conversion rate during the measurement period shall be within 1 day after the measurement period; Register the breeding pigs before reporting the original data of feed conversion rate during the measurement period; (5) Timely verification of parameters of raw data of eye muscle depth up to 120 kg body weight includes: Register the breeding pigs in advance before reporting the raw data of eye muscle depth of 120kg body weight; (6) Timely verification of parameters of raw data on the number of piglets born alive includes: The date of farrowing should be recorded within 1 to 2 days after the farrowing date; Register the breeding pigs before reporting the original data of the number of piglets born alive; (7) Timeliness check of parameters of raw data of weaning litter weight includes: The weaning date should be recorded within 1 to 2 days after the weaning date; (8) Timeliness check of parameters of individual initial raw data includes: The date of birth is recorded within 1 day after the date of birth; (9) Timeliness verification of parameters of raw data of weaning-breeding interval includes: The date of farrowing should be recorded within 1 to 2 days after the farrowing date; The breeding date should be recorded within 1 to 2 days after the breeding date; The record date of the return date is within 1 to 2 days after the return date; The recording date of the re-preparation date is within 1 to 2 days after the re-preparation date; The recording date of the abortion date is within 1 to 2 days after the abortion date; Register the breeding pigs before reporting the original data of weaning-breeding interval; (10) Timely verification of parameters of raw data of effective nipple number includes: (11) Timely verification of parameters of raw data of eye muscle area up to 120 kg body weight includes: The recording date of the record date is within 1 to 2 days after the record date; (12) Timely verification of parameters of raw data of intramuscular fat content of up to 120 kg live body includes: Breeding pigs must be registered before reporting the original data of intramuscular fat content in live pigs weighing up to 120kg.
9. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 8 are implemented.