Pig production integrated house-to-group planning and scheduling method and device
By comprehensively evaluating and dynamically planning and scheduling pig health and reproductive performance data, the problems of decision-making lag and disease spread in the integrated pig production and herd transfer management have been solved. This has enabled efficient herd transfer paths and optimized pen resources, thereby improving pig survival rate and breeding efficiency.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- MUYUAN FOODS CO LTD
- Filing Date
- 2026-03-17
- Publication Date
- 2026-05-29
AI Technical Summary
Existing technologies lack in-depth analysis of multidimensional health indicators of pigs in integrated pig farming and herd management, fail to incorporate sow reproductive performance parameters into dynamic evaluation, and do not fully consider the pathogen-carrying status of pigs, resulting in delayed herd transfer decisions, resource misallocation, and high risk of disease spread.
By acquiring health monitoring data and reproductive performance data of pigs, a comprehensive rating is conducted to generate a priority transfer ranking list. Combined with pathogen carrier status and health risk level, a pen-to-pen loading plan and transfer route are dynamically generated to optimize pen allocation, prevent the mixing of pigs with different health statuses, and strengthen biosecurity management.
It enables accurate identification of high-value breeding pigs and sick pigs that need to be isolated, improves pen turnover efficiency, reduces the risk of disease outbreaks and treatment costs, ensures smooth connection of the breeding process, and improves the survival rate and overall benefits of the pig herd.
Smart Images

Figure CN122114533A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of intelligent breeding management technology, and in particular to a method and device for integrated planning and scheduling of pig production and herding. Background Technology
[0002] In modern intensive pig farming, regrouping management is a crucial aspect affecting breeding efficiency and animal welfare. As relatively closed, high-density farming units, integrated pig pens involve the movement of pigs across pens, units, and even farm areas during regrouping. This easily disrupts existing environmental barriers, increasing the risk of external pathogen infection and internal cross-infection. Traditional regrouping management relies heavily on manual experience and judgment, leading to problems such as delayed decision-making and inconsistent standards. It also makes it difficult to track the health status and reproductive potential of each pig in real time, resulting in misallocation of pen resources, increased risk of disease spread, and even affecting the optimal utilization rate of breeding pigs.
[0003] While some automated regrouping devices in the current technology achieve basic grouping through RFID or simple weight monitoring, their technical solutions have the following shortcomings: First, they lack in-depth analysis of multidimensional health indicators of pigs, such as data on body surface damage, movement posture, feeding behavior, and disease detection, which are not effectively integrated; second, they do not incorporate sow reproductive performance parameters (such as live pig count, number of piglets, parity performance, lactation capacity, and genetic index) into the dynamic evaluation system; third, they do not fully consider the pathogen carrier status or health risk level of pigs during the regrouping decision-making process, which can easily lead to the mixing of pigs with different health conditions and cause cross-infection; and fourth, they lack dynamic optimization scheduling of regrouping routes, loading plans, and pen allocation, making it difficult to achieve efficient resource allocation and closed-loop management of biosecurity.
[0004] Therefore, how to provide a migration method that can integrate multidimensional health monitoring and reproductive performance analysis, and combine pathogen-carrying status for dynamic planning and scheduling, has become a technical problem that urgently needs to be solved in this field. Summary of the Invention
[0005] The purpose of this invention is to provide a method and device for integrated planning and scheduling of pig herding in pig production. By integrating health monitoring and reproductive performance data, pigs are comprehensively rated and prioritized, eliminating reliance on single indicators or human experience in herding decisions and enabling accurate identification of high-value breeding pigs and sick pigs requiring isolation. During the pen-to-vehicle loading process, the method considers the pigs' pathogen-carrying status or health risk level, prioritizing the merging of pigs in similar states to prevent mixing of pigs with different health conditions and strengthen biosecurity control. Target pens are dynamically allocated and herding paths are generated based on the loading plan and pen layout, improving pen turnover efficiency and reducing pig stress and environmental control delays caused by herding chaos. Through scientific planning of the herding process, the risk of disease outbreaks and treatment costs are reduced, ensuring smooth connection between various breeding stages and improving pig survival rates and overall breeding efficiency.
[0006] In a first aspect, the present invention provides a method for integrated planning and scheduling of pig farming and herding, comprising: Obtain health monitoring data and reproductive performance data of pigs to be transferred; Based on health monitoring data and reproductive performance data, each litter of pigs is comprehensively rated to generate a priority transfer list; Based on the priority transfer list, combined with the pathogen carrier status and / or health risk level of the pigs, a merging and loading plan is dynamically generated according to the principle of prioritizing the merging of pigs with the same status. Based on the pen loading plan, combined with the integrated pen layout and comprehensive rating results, target pens are dynamically allocated, and transfer routes and loading instructions are generated.
[0007] In some preferred embodiments of the present invention, the health monitoring data includes at least one of the following: abnormal body temperature, skin lesions, abnormal movement posture, decreased feeding behavior, and disease detection results.
[0008] In some preferred embodiments of the present invention, reproductive performance data include at least one of the following: number of live offspring, number of offspring with offspring, parity birth performance, lactation capacity, and genetic index.
[0009] In some preferred embodiments of the present invention, the step of comprehensively rating each litter of pigs based on health monitoring data and reproductive performance data to generate a priority transfer ranking list includes: Arrange all the nests to be transferred in descending order of the number of live offspring, and then in descending order of the number of offspring with offspring. Based on the target number of sows to be added to the group, healthy sows are selected from the top-ranked litters in turn until the preset target number of sows is reached. Starting from the location of the last selected sow pen, select boars one by one upwards until the preset target number of boars is reached; Based on the selection of pigs, the litter is marked as selected only for sows, selected for the whole litter, or other, and is assigned a three-level rating of A, B, or C accordingly.
[0010] In some preferred embodiments of the present invention, the step of dynamically generating a pens-merging and loading plan based on a priority transfer sorting list, combined with the pathogen carrier status and / or health risk level of the pigs, and according to the principle of prioritizing merging those with the same status, includes: The rated nests are then divided into nursing units, maintaining the priority order; Based on the pathogen carrier status and / or health risk level of the pigs, pens of the same status should be combined, and pens of different statuses should not be mixed. Priority will be given to merging only sow pens with a rating of A, and merging will be carried out in descending order of ranking, with the number of pens per vehicle not exceeding the set threshold. If there are not enough Class A parking spaces to fill one car, then supplement them from the selected parking spaces rated B according to their ranking. The remaining slots are merged in order of priority to generate complete train numbers.
[0011] In some preferred embodiments of the present invention, the pathogen-carrying status includes: the result of PRRS antigen detection; according to the principle of preferential merging of the same status, the following is included: merging PRRS negative circles with PRRS negative circles, merging PRRS positive circles with PRRS positive circles, and prohibiting the mixing of PRRS negative circles and PRRS positive circles.
[0012] In some preferred embodiments of the present invention, the step of dynamically allocating target fields includes: The integrated housing is divided into Grade A pens and ordinary pens, and the pens rated A are given priority to be assigned to Grade A pens; If the number of Grade A nests exceeds the capacity of Grade A spaces, then the number of Grade A spaces will be expanded according to the principle of symmetry. Within the same dormitory unit, allocation is based on pathogen carrier status and / or health risk level; If the number of nests to be transferred exceeds the total number of spaces, then additional nests will be allocated to each individual shed according to the principle of equal distribution.
[0013] In some preferred embodiments of the present invention, the method further includes: Before the regrouping is carried out, a regrouping coordination meeting is held based on the generated regrouping path and the pig loading execution instructions to clarify the personnel movement, disinfection process and isolation measures; During the transfer process, suspected sick pigs are sorted in real time and guided to isolation and observation pens; After the pigs are transferred to a new group, their feed intake, daily weight gain, and mortality rate are recorded and fed back to the system to optimize subsequent scheduling strategies.
[0014] In some preferred embodiments of the present invention, the method further includes: Before transferring the pigsty, conduct environmental pre-adjustment and equipment maintenance, including at least one of the following: water line disinfection, feed line testing, and temperature and humidity control. Acidified drinking water and anti-stress interventions were used during the regrouping process to reduce stress response in pigs.
[0015] Secondly, the present invention provides an integrated pig farming and herding planning and scheduling device, comprising: The pig herd information acquisition module is used to acquire health monitoring data and reproductive performance data of pigs to be transferred. The regrouping and sorting module is used to comprehensively rate each litter of pigs based on health monitoring data and reproductive performance data, and generate a priority regrouping list. The pen-to-pen loading solution processing module is used to dynamically generate a pen-to-pen loading solution based on the priority transfer sorting list, combined with the pathogen carrier status and / or health risk level of the pigs, and according to the principle of prioritizing the merging of pigs with the same status. The execution module is used to dynamically allocate target pens and generate transfer routes and loading instructions based on the pen loading plan, the integrated pen layout, and the comprehensive rating results.
[0016] This invention brings the following beneficial effects: This invention provides a method and apparatus for planning and scheduling pig herding in an integrated pig production facility. The method includes: acquiring health monitoring data and reproductive performance data of pigs to be herded; comprehensively rating each litter of pigs based on the health monitoring data and reproductive performance data to generate a priority herding list; dynamically generating a herding and loading plan based on the priority herding list, combined with the pigs' pathogen carrier status and / or health risk level, according to the principle of prioritizing the merging of pigs with the same status; dynamically allocating target pens and generating herding paths and loading instructions based on the herding and loading plan, combined with the integrated pen layout and the comprehensive rating results; by integrating health monitoring and reproductive performance data to comprehensively rate and prioritize pigs, herding decisions no longer rely on a single indicator or human experience, and can accurately identify high-value breeding pigs and sick pigs that need to be isolated. In the herding and loading stage, the combination of the pigs' pathogen carrier status or health risk level and the principle of prioritizing the merging of pigs with the same status prevents the mixing of pigs with different health statuses, strengthening biosecurity control. Target pens are dynamically allocated based on the loading plan and pen layout, and transfer routes are generated to improve pen turnover efficiency and reduce pig stress and environmental control delays caused by chaotic transfers. By scientifically planning the transfer process, the risk of disease outbreaks and treatment costs are reduced, ensuring smooth connection between various breeding stages and improving pig survival rates and overall breeding efficiency. Attached Figure Description
[0017] To more clearly illustrate the specific embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the specific embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present invention. For those skilled in the art, other drawings can be obtained from these drawings without creative effort.
[0018] Figure 1 A flowchart of an integrated pig farming and herding planning and scheduling method provided in an embodiment of the present invention; Figure 2 This is a schematic diagram of an integrated pig farming and herding system provided in an embodiment of the present invention; Figure 3 This is a schematic diagram of the structure of an integrated pig farming and herding planning and scheduling device provided in an embodiment of the present invention; Figure 4 This is a schematic diagram of the structure of an electronic device provided in an embodiment of the present invention.
[0019] Icons: 310 - Pig herd information acquisition module; 320 - Transfer sorting processing module; 330 - Pen merging and loading scheme processing module; 340 - Execution module; 400 - Memory; 401 - Processor; 402 - Bus; 403 - Communication interface. Detailed Implementation
[0020] To make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. The components of the embodiments of the present invention described and shown in the accompanying drawings can generally be arranged and designed in various different configurations.
[0021] Therefore, the following detailed description of the embodiments of the invention provided in the accompanying drawings is not intended to limit the scope of the claimed invention, but merely to illustrate selected embodiments of the invention. All other embodiments obtained by those skilled in the art based on the embodiments of the invention without inventive effort are within the scope of protection of the invention.
[0022] It should be noted that similar labels and letters in the following figures indicate similar items. Therefore, once an item is defined in one figure, it does not need to be further defined and explained in subsequent figures.
[0023] In the description of this invention, it should be noted that the terms "center," "upper," "lower," "left," "right," "vertical," "horizontal," "inner," and "outer," etc., indicate the orientation or positional relationship based on the orientation or positional relationship shown in the accompanying drawings, or the orientation or positional relationship commonly used when the product of this invention is in use. They are only for the convenience of describing this invention and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, or be constructed and operated in a specific orientation, and therefore should not be construed as a limitation of this invention. In addition, the terms "first," "second," "third," etc., are only used to distinguish descriptions and should not be construed as indicating or implying relative importance.
[0024] Furthermore, terms such as "horizontal," "vertical," and "sag" do not imply that components must be absolutely horizontal or suspended, but rather that they can be slightly tilted. For example, "horizontal" simply means that its direction is more horizontal relative to "vertical," and does not mean that the structure must be completely horizontal, but can be slightly tilted.
[0025] In the description of this invention, it should also be noted that, unless otherwise explicitly specified and limited, the terms "set," "install," "connect," and "link" should be interpreted broadly. For example, they can refer to a fixed connection, a detachable connection, or an integral connection; they can refer to a mechanical connection or an electrical connection; they can refer to a direct connection or an indirect connection through an intermediate medium; and they can refer to the internal connection of two components. Those skilled in the art can understand the specific meaning of the above terms in this invention based on the specific circumstances.
[0026] The following detailed description of some embodiments of the present invention is provided in conjunction with the accompanying drawings. Unless otherwise specified, the following embodiments and features can be combined with each other.
[0027] Example 1 This invention provides a method for planning and scheduling the transfer of pigs in an integrated pig farming system, applicable to such a system. (See also...) Figure 1 The flowchart shown in this embodiment of the invention provides a method for integrated pig farming and herding planning and scheduling. Figure 2 The diagram shown in this embodiment of the invention illustrates an integrated pig farming and herding method, which includes: Step S102: Obtain health monitoring data and reproductive performance data of the pigs to be transferred.
[0028] Specifically, the health monitoring data originates from key point recognition technology for pigs in high-density farming scenarios. Image acquisition devices deployed within the pigpens capture individual pig information in real time, and deep learning algorithms are used to locate and track key points (such as the base of the ears, spine, and limb joints) to analyze and identify multi-dimensional health indicators such as abnormal body temperature, surface damage, abnormal movement posture, and decreased feeding behavior. For example, when a pig exhibits lameness, the algorithm can identify abnormal movement posture through gait cycle analysis; if a pig stays away from the feeding area for an extended period and feeds significantly less frequently, it is considered to have decreased feeding behavior. Furthermore, the system also integrates disease detection results from daily inspection records (such as antigen detection data for swine fever and porcine reproductive and respiratory syndrome), forming a complete individual health record. Through the fusion of these multi-dimensional data, the system can track the health status of each pig in real time, providing a data foundation for subsequent precise grouping. This avoids the lag and subjectivity of traditional manual inspections, achieving automated and real-time health monitoring, significantly improving the early identification of sick and weak pigs, thereby reducing the risk of disease spread.
[0029] Furthermore, in some preferred embodiments of the present invention, the health monitoring data includes at least one of the following: abnormal body temperature, skin lesions, abnormal movement posture, decreased feeding behavior, and disease detection results.
[0030] Specifically, abnormal body temperature is detected using infrared thermometers and key point temperature inversion algorithms, enabling early warning of febrile diseases; skin lesions such as erythema, ulcers, or injuries are identified through image segmentation algorithms, suggesting possible fighting or skin diseases; abnormal movement postures are identified through gait analysis models, such as lameness, rigidity, or ataxia, which are associated with nervous system or limb diseases; decreased feeding behavior is assessed by monitoring feeding frequency and duration, indicating digestive system or systemic infections; and disease detection results are integrated with laboratory antigen / antibody detection data, such as for swine fever, porcine reproductive and respiratory syndrome (PRRS), and pseudorabies, as a basis for diagnosis. These multi-source data complement each other, constructing a comprehensive health profile covering clinical symptoms, behavioral abnormalities, and laboratory diagnoses. This allows the system to accurately identify subclinically infected individuals, promptly cull at-risk pigs before regrouping, and effectively prevent the transmission of pathogens to healthy populations.
[0031] Furthermore, in some preferred embodiments of the present invention, reproductive performance data include at least one of the following: number of live offspring, number of offspring with offspring, parity birth performance, lactation capacity, and genetic index.
[0032] Specifically, live piglet count refers to the number of live piglets born per litter, a core indicator of sow reproductive efficiency; litter size reflects the sow's postpartum care ability and piglet survival rate; parity performance comprehensively assesses the sow's farrowing stability and piglet uniformity across different parities; lactation ability is quantified using litter weight at 21 days of age, directly related to sow's milk production and maternal behavior; and genetic index, based on pedigree information and breeding values, predicts the reproductive performance potential of offspring. The system retrieves the above data from the historical production database and scores each sow across multiple dimensions. For example, multiparous sows with more than 14 live piglets in three consecutive litters are marked as high-fertility individuals, and gilts with the top 20% genetic index are designated as key breeding targets. By quantifying reproductive performance, the system can accurately identify high-quality breeding pigs and inefficient sows, providing a scientific basis for subsequent priority transfer and breeding optimization, and avoiding the waste of high-quality germplasm resources.
[0033] Step S104: Based on health monitoring data and reproductive performance data, each litter of pigs is comprehensively rated to generate a priority transfer ranking list.
[0034] Specifically, health monitoring data and reproductive performance data are mapped to a unified scoring system on a litter basis. The health dimension is graded and scored based on the severity of indicators such as abnormal body temperature and movement disorders. For example, a 1°C increase in body temperature deducts a corresponding number of points, and lameness lasting more than 3 days deducts more points. The reproductive dimension is scored based on indicators such as the number of live piglets and suckling ability. For example, each live piglet exceeding the litter average adds a corresponding number of points, and each litter weight exceeding the standard at 21 days of age adds a corresponding number of points. The two are weighted to obtain a comprehensive score, with the reproductive dimension weight dynamically adjusted according to pig type—higher weight for breeding sows and higher weight for commercial sows. Based on this score, each litter is initially ranked to ensure that pigs with high health and high reproductive capacity receive higher priority for regrouping, laying a scientific foundation for subsequent pen resource allocation. Transforming multidimensional heterogeneous data into comparable quantitative indicators avoids the bias of single-indicator decisions and improves the accuracy of regrouping decisions.
[0035] Furthermore, in some preferred embodiments of the present invention, the step of comprehensively rating each litter of pigs based on health monitoring data and reproductive performance data to generate a priority transfer ranking list includes: arranging all litters to be transferred in descending order by the number of live piglets, and then in descending order by the number of piglets with which they are being transferred; selecting healthy sows from the top-ranked litters in order of the target number of sows to be transferred, until the preset target number of sows is reached; selecting boars from the location of the last selected sow litter upwards in order of the target number of boars; and marking the litter as "selecting only sows," "selecting the entire litter," or "other" according to the selection situation, and assigning it a corresponding three-level rating of A, B, or C.
[0036] Specifically, sows are first sorted in descending order of live piglet count to ensure high-producing sows are prioritized. If the number of live piglets is the same, they are then sorted in descending order of the number of piglets they have with them, prioritizing sows with strong nursing abilities. Sows are selected sequentially from the highest-ranked litter until the target number is reached. Boars are selected by tracing back from the last selected sow's litter to ensure close blood ties or pen relationships between boars and selected sows, facilitating subsequent integration management. Based on the selection results, litters are categorized into three types: litters with only sows selected are marked "Sows Only" and assigned grade A; litters with both sows and boars selected are marked "Litter Selected" and assigned grade B; and litters that do not meet the selection criteria are marked "Other" and assigned grade C. By converting reproductive performance indicators into intuitive priority labels, high-fertility pigs are given priority for transfer to other groups, achieving a tilt of pen resources towards high-quality pig herds and effectively improving the utilization rate of breeding pigs and the reproductive performance of offspring.
[0037] Furthermore, the rating process includes exclusion rules for entire litters: litters with fewer than 12 live piglets in a single-parity farrowing house are excluded, as are litters with fewer than 14 live piglets in a multiparous house; litters containing spotted pigs (mixed coat colors) are also excluded. These rules are quantified based on practical production experience, directly filtering out litters with significantly low reproductive performance or genetic defects, preventing inefficient pigs from occupying valuable pen space and transportation resources, thereby improving overall breeding efficiency.
[0038] Step S106: Based on the priority transfer sorting list, combined with the pathogen carrier status and / or health risk level of the pigs, and following the principle of prioritizing the merging of pigs with the same status, dynamically generate a pens-merging and loading plan.
[0039] Specifically, the litters are first divided into lactation unit units after rating, maintaining the original priority order. Then, based on the pigs' pathogen carrier status (e.g., antigen test results for PRRS, swine fever, pseudorabies, etc.) or health risk level (e.g., whether they are in the incubation period or have been in contact with sick pigs), litters with the same status are merged, and litters with different statuses are strictly prohibited from being mixed. In terms of merging order, litters rated A ("select only sows") are merged first, and then merged in descending order of ranking, with the number per truck not exceeding a set threshold (e.g., 50 pigs). If there are not enough A-grade litters to fill one truck, they are supplemented from the B-grade "select whole litters" according to ranking, until one truck is full. The remaining litters (including C-grade and unselected litters) continue to be merged in order of priority to generate a complete truckload. This process also considers the feasibility of actual loading operations, such as the loading density of pigs per truck, transportation distance, vehicle turnover efficiency, etc., and dynamically adjusts the upper limit of the number of pigs per truck. By prioritizing the merging of pigs in the same condition, the transmission path of pathogens between different healthy groups is effectively blocked, and cross-infection is eliminated from the process. At the same time, prioritizing the merging of high-rated litters ensures the centralized management and efficient transfer of high-quality pigs, thereby improving the overall efficiency of herding.
[0040] Furthermore, in some preferred embodiments of the present invention, the steps of dynamically generating a pen-to-vehicle loading plan based on a priority transfer sorting list, combined with the pathogen carrier status and / or health risk level of the pigs, and following the principle of prioritizing the merging of pigs with the same status, include: splitting the graded litters into lactation pen units while maintaining priority order; merging litters with the same status according to the pathogen carrier status and / or health risk level of the pigs, prohibiting the mixing of litters with different statuses; prioritizing the merging of sow litters with a grade of A, merging them in descending order of ranking, with the number per vehicle not exceeding a set threshold; if there are not enough A-grade litters for one vehicle, supplementing them from the selected litters with a grade of B according to ranking; merging the remaining litters in order of priority to generate a complete vehicle load.
[0041] Specifically, the system first reads the layout information of each lactation unit from the database and groups the litters within the same unit according to their rating and priority. For example, for the five Grade A "sow-only" litters in Unit A, the system merges them into one group and calculates whether the total number of pigs exceeds the threshold of 50. If it does not exceed this threshold, it continues to transfer litters of the same status with higher ratings from Unit B until a truckload is full. During the merging process, the system monitors the area occupied by each pig in real time to ensure that the transport density standard (e.g., 0.4-0.5㎡ / pig) is met and to avoid overcrowding. For positive pens, the system prioritizes short-distance transport and designates dedicated vehicles and channels to prevent cross-contamination with negative pens, ensuring the orderliness and safety of the transfer process.
[0042] Furthermore, in some preferred embodiments of the present invention, the pathogen-carrying status includes: the result of PRRS antigen detection; according to the principle of preferential merging of the same status, the following applies: merging PRRS negative circles with PRRS negative circles, merging PRRS positive circles with PRRS positive circles, and prohibiting the mixing of PRRS negative circles and PRRS positive circles.
[0043] Specifically, porcine reproductive and respiratory syndrome (PRRS) is a major infectious disease in the swine industry, and its prevention and control are key aspects of herd management. After obtaining PRRS antigen test results, the system marks all litters to be transferred as negative or positive, strictly adhering to the principle of merging litters with similar status. For negative litters, they are prioritized for loading together with other negative litters. If the number of remaining negative litters is less than one truckload, the system will not merge them with positive litters, but will postpone the transfer or arrange for separate small vehicles to ensure the absolute safety of negative litters. For positive litters, the system centrally loads them onto trucks and transports them to dedicated positive isolation pens, implementing the highest level of biosecurity measures throughout the process (such as level 2 personnel protection and vehicle disinfection). A strict merging and isolation mechanism has been established for PRRS to prevent the spread of the disease due to herd transfer operations from the source. This is particularly suitable for farms under high pressure for PRRS prevention and control, significantly reducing the risk of infection throughout the farm.
[0044] Step S108: Based on the pen loading plan, combined with the integrated pen layout and comprehensive rating results, dynamically allocate target pens, and generate transfer routes and loading instructions.
[0045] Specifically, the pens within the integrated farrowing house are divided into Grade A pens and regular pens based on their ratings. For example, pens 1-6 are designated as Grade A pens by default, specifically for loading farrowing pens rated Grade A. When loading pigs, Grade A litters are prioritized for allocation to Grade A pens. If the number of Grade A litters exceeds the capacity of Grade A pens, the number of Grade A pens is expanded symmetrically (e.g., adding two corresponding pens each time) until the demand is met. The remaining pens are then used for Grade B litters. Simultaneously, passageway pens (such as pens 7 and 21) are reserved in the pen layout to ensure ventilation and disease prevention isolation. Within the same pen unit, secondary allocation is performed based on pathogen-carrying status: negative pens are loaded first, followed by positive pens, to avoid mixing. If the number of litters requiring regrouping exceeds the total number of pens, additional litters are added to each integrated house according to the principle of average allocation to ensure balanced load. For piglet pens, a strategy of leaving four empty pens in the middle of each row is adopted, and pigs are loaded sequentially from front to back according to the truckload to maintain uniform density within the pen. Finally, based on the allocation results, the system generates detailed transfer routes (such as the movement route from the source pen to the target pen) and loading instructions (including loading sequence, vehicle scheduling, and personnel arrangements), and sends them to the terminal equipment to guide on-site operations. This dynamic allocation mechanism fully utilizes the potential of pen space, avoids environmental control delays caused by chaotic transfers, and, through tiered and zoned management, provides suitable growth environments for pigs in different health states, further reducing stress and disease risks.
[0046] Furthermore, in some preferred embodiments of the present invention, the step of dynamically allocating target spaces includes: dividing the integrated housing into Grade A spaces and ordinary spaces, and preferentially allocating nests rated A to Grade A spaces; if the number of Grade A nests exceeds the capacity of Grade A spaces, then expanding the number of Grade A spaces according to the principle of symmetry; within the same housing unit, allocating spaces according to pathogen carrier status and / or health risk level; if the number of nests to be transferred exceeds the total number of spaces, then supplementing the number of nests to each integrated housing unit according to the principle of average allocation.
[0047] Specifically, during pen allocation, the system first reads the CAD layout diagram or digital pen model of the integrated pig farm, identifying the pen number, location, area, and environmental control configuration of each pen. Grade A pens are typically selected in areas close to the air inlet, with ample lighting and high temperature control precision, providing the optimal growth environment for high-quality pigs. When the number of Grade A litters exceeds the capacity of the Grade A pens, the system expands symmetrically: for example, by adding adjacent pens symmetrically on both sides of the existing Grade A pens, ensuring that the expanded area maintains a relatively concentrated layout, facilitating subsequent precise environmental control and feeding management. Within the same pig farm unit, the system divides the pig herd into zones based on their pathogen-carrying status (e.g., PRRS, swine fever), setting up empty pen isolation strips or physical barriers between negative and positive zones to prevent pathogen transmission via aerosols or personnel. If the number of litters requiring relocation exceeds the total number of pens, the system allocates additional litters proportionally to the remaining capacity of each integrated pig farm, avoiding overloading of individual units and affecting environmental control effectiveness. This precise matching of pen resources with pig herd needs achieves a dual improvement in space utilization efficiency and biosecurity levels.
[0048] Furthermore, in some preferred embodiments of the present invention, the method further includes: before the regrouping is executed, a regrouping coordination meeting is held according to the generated regrouping path and the pig loading execution instruction to clarify the personnel movement, disinfection process and isolation measures; during the regrouping process, suspected sick pigs are sorted in real time and guided to the isolation observation pen; after the regrouping is completed, the pigs' feed intake, daily weight gain and mortality rate are recorded and fed back to the system for optimizing subsequent scheduling strategies.
[0049] Specifically, before the transfer, the system automatically generates a coordination meeting agenda, organizing multiple departments such as biosafety, production management, and equipment maintenance to jointly confirm the boundaries between clean and contaminated areas, plan one-way personnel flow routes, and set up dedicated transfer channels and physical barriers to ensure that the transfer process does not overlap with other batches. The disinfection process is broken down into three stages: before, during, and after the transfer. Before the transfer, the channels and tools are thoroughly disinfected, and the transfer tools are soaked in potassium persulfate compound. During the transfer, vehicle tires and personnel shoe soles are sprayed with disinfectant in real time, and disinfection is carried out after each transfer. After the transfer, empty pens are flame-sterilized or fumigated and left to stand for more than 48 hours. The isolation measures include setting up isolation observation zones along the transfer route. On-site personnel, using sound and light guidance equipment, immediately sort suspected sick pigs exhibiting coughing, lameness, lethargy, or external injuries into the isolation area. Rapid pathogen detection procedures (such as PRRS PCR testing and classical swine fever antigen colloidal gold test strips) are initiated. Positive individuals are removed from the herd within 12 hours, and pigs that had contact with them in the same pen are placed under close observation. After the transfer is completed, the system automatically collects and records production data such as feed intake, daily weight gain, and mortality rate. This data is compared and analyzed with historical data to identify weaknesses in the process (such as high stress response on a particular route or a significant decrease in feed intake in a particular batch), thereby optimizing subsequent transfer strategies (such as adjusting the mixing size, modifying route planning, or increasing the frequency of disinfection at certain stages). Through this closed-loop management, biosecurity measures are rigidly implemented, emergency response speed is significantly improved, and the continuous accumulation of production data provides training samples for the algorithm's self-evolution, making the scheduling scheme increasingly optimal with use.
[0050] Furthermore, in some preferred embodiments of the present invention, the method further includes: pre-conditioning the environment and inspecting the equipment in the pig house before the transfer, including at least one of the following: water line disinfection, feed line detection, and temperature and humidity control; and using acidified drinking water and anti-stress intervention measures during the transfer process to reduce stress response in pigs.
[0051] Specifically, 24 hours before the pigs arrive, the system, in conjunction with environmental control equipment, pre-adjusts the environment of the target pens: water pipes are cleaned and soaked in food-grade disinfectant (such as potassium persulfate compound) to ensure no biofilm residue remains; samples are taken and tested to ensure the total bacterial count meets standards before use; feed line augers, sensors, and feeding devices are inspected and repaired, and mechanical failure risks are eliminated through no-load testing, calibrating feeding accuracy to within ±5%; the spray system and temperature and humidity controllers are calibrated, setting target parameters according to the pigs' age and season, and adjusting the temperature and humidity in the pens to suitable ranges in advance (e.g., 28-30℃ temperature and 60-70% humidity in suckling pens; 26-28℃ temperature and 60-65% humidity in nursery pens). Biosecurity supplies are prepared simultaneously, including disinfectants and equipment (flame sterilizers, electric sprayers), isolation protective clothing, and specialized transport tools (such as detachable transport vehicles and special baffles). During the regrouping process, as pigs move through a dedicated passage, the system automatically activates the acidified drinking water device, adjusting the pH of the water to 3.5-4.0 to inhibit the growth of intestinal pathogens. Simultaneously, an electrolyte and vitamin C complex is added to the drinking water to alleviate stress caused by transportation and regrouping. On-site personnel use sound and light guidance equipment to guide the pigs forward in an orderly manner, avoiding rough handling that could cause injury. Upon reaching the target pen, ample acidified drinking water and palatable starter feed are immediately provided to help the pigs quickly adapt to the new environment. Through this dual approach of environmental pre-regulation and anti-stress intervention, the pigs' physiological fluctuations are minimized, their immunity remains stable, and the risk of secondary diseases induced by regrouping stress (such as swine respiratory disease syndrome and post-weaning diarrhea) is significantly reduced, laying a solid foundation for their subsequent healthy growth.
[0052] This invention provides a method for planning and scheduling pig herding in an integrated pig farm, comprising: acquiring health monitoring data and reproductive performance data of pigs to be herded; comprehensively rating each litter based on the health monitoring data and reproductive performance data to generate a priority herding list; dynamically generating a herding and loading plan based on the priority herding list, combined with the pigs' pathogen carrier status and / or health risk level, according to the principle of prioritizing the merging of pigs with the same status; dynamically allocating target pens and generating herding paths and loading instructions based on the herding and loading plan, combined with the integrated pen layout and the results of the comprehensive rating; by integrating health monitoring and reproductive performance data to comprehensively rate and prioritize pigs, the herding decision no longer relies on a single indicator or human experience, and can accurately identify high-value breeding pigs and sick pigs that need to be isolated. In the herding and loading stage, the method combines the pigs' pathogen carrier status or health risk level, following the principle of prioritizing the merging of pigs with the same status, thus preventing the mixing of pigs with different health statuses and strengthening biosecurity control. Target pens are dynamically allocated based on the loading plan and pen layout, and transfer routes are generated to improve pen turnover efficiency and reduce pig stress and environmental control delays caused by chaotic transfers. By scientifically planning the transfer process, the risk of disease outbreaks and treatment costs are reduced, ensuring smooth connection between various breeding stages and improving pig survival rates and overall breeding efficiency.
[0053] Example 2 Based on the above embodiments, this invention provides an integrated pig farming and herding planning and scheduling device, see [link to relevant documentation]. Figure 3 The diagram shown is a structural schematic of an integrated pig farming and herding planning and scheduling device provided in an embodiment of the present invention. The device includes: The pig herd information acquisition module 310 is used to acquire health monitoring data and reproductive performance data of pigs to be transferred. The regrouping and sorting module 320 is used to comprehensively rate each litter of pigs based on health monitoring data and reproductive performance data, and generate a priority regrouping list. The 330 module for processing the pen-to-pen loading scheme is used to dynamically generate a pen-to-pen loading scheme based on the priority transfer sorting list, combined with the pathogen carrier status and / or health risk level of the pigs, and according to the principle of prioritizing the merging of pigs with the same status. The execution module 340 is used to dynamically allocate target pens and generate transfer routes and loading instructions based on the pen loading plan, the integrated pen layout, and the results of comprehensive rating.
[0054] Furthermore, in some preferred embodiments of the present invention, the health monitoring data includes at least one of the following: abnormal body temperature, skin lesions, abnormal movement posture, decreased feeding behavior, and disease detection results.
[0055] Furthermore, in some preferred embodiments of the present invention, reproductive performance data include at least one of the following: number of live offspring, number of offspring with offspring, parity birth performance, lactation capacity, and genetic index.
[0056] Furthermore, in some preferred embodiments of the present invention, the transfer sorting module 320 is used to arrange all litters to be transferred in descending order of the number of live piglets, and then in descending order of the number of piglets with which they are being transferred; according to the target number of sows to be transferred, healthy sows are selected sequentially from the litters ranked higher until the preset target number of sows is reached; boars are selected sequentially upwards from the location of the last selected sow litter until the preset target number of boars is reached; and the litter is marked as selecting only sows, selecting the whole litter, or other according to the selection situation, and is assigned a three-level rating of A, B, or C accordingly.
[0057] Furthermore, in some preferred embodiments of the present invention, the pen-to-vehicle loading scheme processing module 330 is used to split the graded litters into lactation pen units while maintaining priority order; according to the pathogen-carrying status and / or health risk level of the pigs, litters of the same status are merged, and litters of different statuses are prohibited from being mixed; litters of only sows with a grade of A are merged first, and are merged in descending order of ranking, with the number per vehicle not exceeding a set threshold; if there are not enough grade A litters for one vehicle, they are supplemented from the whole litters of grade B according to ranking; the remaining litters are merged in descending order of priority to generate a complete vehicle.
[0058] Furthermore, in some preferred embodiments of the present invention, the pathogen-carrying status includes: the result of PRRS antigen detection; according to the principle of preferential merging of the same status, the following applies: merging PRRS negative circles with PRRS negative circles, merging PRRS positive circles with PRRS positive circles, and prohibiting the mixing of PRRS negative circles and PRRS positive circles.
[0059] Furthermore, in some preferred embodiments of the present invention, the execution module 340 is used to divide the integrated housing into Grade A pens and ordinary pens, and to preferentially allocate nests rated A to Grade A pens; if the number of Grade A nests exceeds the capacity of Grade A pens, the number of Grade A pens is expanded according to the principle of symmetry; within the same housing unit, allocation is made according to pathogen carrier status and / or health risk level; if the number of nests to be transferred exceeds the total number of pens, the number of nests is supplemented to each integrated housing unit according to the principle of average allocation.
[0060] Furthermore, in some preferred embodiments of the present invention, the device further includes: a transfer follow-up module, used to hold a transfer coordination meeting before the transfer is executed, based on the generated transfer path and the pig loading execution instruction, to clarify the personnel movement, disinfection process and isolation measures; during the transfer, suspected sick pigs are sorted in real time and guided to the isolation observation pen; after the transfer is completed, the pigs' feed intake, daily weight gain and mortality rate are recorded and fed back to the system for optimizing subsequent scheduling strategies.
[0061] Furthermore, in some preferred embodiments of the present invention, the device further includes: an equipment environment treatment module, used to pre-adjust the environment and perform equipment maintenance on the pig house before the transfer, including at least one of the following: water line disinfection, feed line detection, temperature and humidity control; and using acidified drinking water and anti-stress intervention measures during the transfer process to reduce stress response in pigs.
[0062] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the specific working process of the integrated pig farming and herding planning and scheduling device described above can be referred to the corresponding process in the aforementioned embodiments of the integrated pig farming and herding planning and scheduling method, and will not be repeated here.
[0063] Example 3 This invention also provides an electronic device for running an integrated pig farming and herding planning and scheduling method; see [link to related documentation]. Figure 4 The schematic diagram of an electronic device provided in the embodiment of the present invention shown includes a memory 400 and a processor 401. The memory 400 is used to store one or more computer instructions, which are executed by the processor 401 to realize the above-mentioned integrated pig farming and herding planning and scheduling method.
[0064] Furthermore, Figure 4 The electronic device shown also includes a bus 402 and a communication interface 403. The processor 401, the communication interface 403 and the memory 400 are connected via the bus 402.
[0065] The memory 400 may include high-speed random access memory (RAM) and may also include non-volatile memory, such as at least one disk storage device. Communication between this system network element and at least one other network element is achieved through at least one communication interface 403 (which can be wired or wireless), such as the Internet, wide area network, local area network, metropolitan area network, etc. The bus 402 can be an ISA bus, PCI bus, or EISA bus, etc. The bus can be divided into address bus, data bus, control bus, etc. For ease of representation, Figure 4 The symbol is represented by a single double-headed arrow, but this does not mean that there is only one bus or one type of bus.
[0066] Processor 401 may be an integrated circuit chip with signal processing capabilities. In implementation, each step of the above method can be completed by the integrated logic circuitry in the hardware of processor 401 or by instructions in software form. Processor 401 can be a general-purpose processor, including a Central Processing Unit (CPU), a Network Processor (NP), etc.; it can also be a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field-Programmable Gate Array (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, or discrete hardware components. It can implement or execute the methods, steps, and logic block diagrams disclosed in the embodiments of this invention. The general-purpose processor can be a microprocessor or any conventional processor. The steps of the methods disclosed in the embodiments of this invention can be directly manifested as execution by a hardware decoding processor, or execution by a combination of hardware and software modules in the decoding processor. The software module can reside in a readily available storage medium in the art, such as random access memory, flash memory, read-only memory, programmable read-only memory, electrically erasable programmable memory, or registers. This storage medium is located in memory 400, and processor 401 reads information from memory 400 and, in conjunction with its hardware, completes the steps of the method described in the foregoing embodiments.
[0067] This invention also provides a computer-readable storage medium storing computer-executable instructions. When these computer-executable instructions are called and executed by a processor, they cause the processor to implement the above-described integrated pig farming and herding planning and scheduling method. For specific implementation details, please refer to the method embodiments, which will not be repeated here.
[0068] The computer program product of the integrated pig farming and herding planning and scheduling method, device and electronic equipment provided in the embodiments of the present invention includes a computer-readable storage medium storing program code. The instructions included in the program code can be used to execute the methods in the preceding method embodiments. For specific implementation, please refer to the method embodiments, which will not be repeated here.
[0069] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the specific working process of the system and / or device described above can be referred to the corresponding process in the foregoing method embodiments, and will not be repeated here.
[0070] Furthermore, in the description of the embodiments of the present invention, unless otherwise explicitly specified and limited, the terms "installation," "connection," and "linking" should be interpreted broadly. For example, they can refer to a fixed connection, a detachable connection, or an integral connection; they can refer to a mechanical connection or an electrical connection; they can refer to a direct connection or an indirect connection through an intermediate medium; and they can refer to the internal connection of two components. Those skilled in the art can understand the specific meaning of the above terms in the present invention based on the specific circumstances.
[0071] If the aforementioned functions are implemented as software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this invention, essentially, or the part that contributes to the prior art, or a portion of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of this invention. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.
[0072] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, and not to limit them; although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some or all of the technical features; and these modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present invention.
Claims
1. A method for integrated pig farming and herding planning and scheduling, characterized in that, include: Obtain health monitoring data and reproductive performance data of pigs to be transferred; Based on the health monitoring data and the reproductive performance data, each litter of pigs is comprehensively rated, and a priority transfer ranking list is generated. Based on the priority transfer sorting list, combined with the pathogen carrier status and / or health risk level of the pigs, a pens-merging and loading plan is dynamically generated according to the principle of prioritizing merging those with the same status. Based on the combined pen loading plan, and combining the integrated pen layout with the comprehensive rating results, target pens are dynamically allocated, and transfer routes and loading instructions are generated.
2. The integrated pig farming and herding planning and scheduling method according to claim 1, characterized in that, The health monitoring data shall include at least one of the following: abnormal body temperature, skin lesions, abnormal movement posture, decreased eating behavior, and disease test results.
3. The integrated pig farming and herding planning and scheduling method according to claim 1, characterized in that, The reproductive performance data shall include at least one of the following: number of live offspring, number of offspring with offspring, parity birth performance, lactation capacity, and genetic index.
4. The integrated pig farming and herding planning and scheduling method according to claim 1, characterized in that, The steps for comprehensively rating each litter of pigs based on the health monitoring data and the reproductive performance data, and generating a priority transfer ranking list, include: Arrange all the nests to be transferred in descending order of the number of live offspring, and then in descending order of the number of offspring with offspring. Based on the target number of sows to be added to the group, healthy sows are selected from the top-ranked litters in turn until the preset target number of sows is reached. Starting from the location of the last selected sow pen, select boars one by one upwards until the preset target number of boars is reached; Based on the selection of pigs, the litter is marked as selected only for sows, selected for the whole litter, or other, and is assigned a three-level rating of A, B, or C accordingly.
5. The integrated pig farming and herding planning and scheduling method according to claim 4, characterized in that, Based on the priority transfer sorting list, and combined with the pathogen carrier status and / or health risk level of the pigs, the steps for dynamically generating a pens-merging and loading plan according to the principle of prioritizing merging those with the same status include: The rated nests are then divided into nursing units, maintaining the priority order; Based on the pathogen-carrying status and / or health risk level of the pigs, litters with the same status should be combined, and litters with different statuses should not be mixed. Priority will be given to merging only sow pens with a rating of A, and merging will be carried out in descending order of ranking, with the number of pens per vehicle not exceeding the set threshold. If there is less than one carload of Class A parking spaces, then supplement them from the selected parking spaces of Class B according to their ranking. The remaining slots are merged in order of priority to generate complete train numbers.
6. The integrated pig farming and herding planning and scheduling method according to claim 5, characterized in that, The pathogen-carrying status includes: the result of PRRS antigen detection; the principle of prioritizing merging those with the same status includes: merging PRRS negative circles with PRRS negative circles, merging PRRS positive circles with PRRS positive circles, and prohibiting the mixing of PRRS negative circles with PRRS positive circles.
7. The integrated pig farming and herding planning and scheduling method according to claim 1, characterized in that, The steps for dynamically allocating target fields include: The integrated housing is divided into Grade A pens and ordinary pens, and the pens with a Grade A rating are preferentially assigned to the Grade A pens. If the number of Grade A nests exceeds the capacity of the Grade A slots, then the number of Grade A slots shall be expanded according to the principle of symmetry. Within the same housing unit, allocation is based on the pathogen carrier status and / or the health risk level; If the number of nests to be transferred exceeds the total number of spaces, then additional nests will be allocated to each individual shed according to the principle of equal distribution.
8. The integrated pig farming and herding planning and scheduling method according to claim 1, characterized in that, The method further includes: Before the regrouping is carried out, a regrouping coordination meeting is held based on the generated regrouping path and the pig loading execution instruction to clarify personnel movement, disinfection procedures and isolation measures; During the transfer process, suspected sick pigs are sorted in real time and guided to isolation and observation pens; After the pigs are transferred to a new group, their feed intake, daily weight gain, and mortality rate are recorded and fed back to the system to optimize subsequent scheduling strategies.
9. The integrated pig farming and herding planning and scheduling method according to claim 1, characterized in that, The method further includes: Before transferring the pigsty, conduct environmental pre-adjustment and equipment maintenance, including at least one of the following: water line disinfection, feed line testing, and temperature and humidity control. Acidified drinking water and anti-stress interventions were used during the regrouping process to reduce stress response in pigs.
10. A pig farming integrated herd transfer planning and scheduling device, characterized in that, include: The pig herd information acquisition module is used to acquire health monitoring data and reproductive performance data of pigs to be transferred. The regrouping and sorting module is used to comprehensively rate each litter of pigs based on the health monitoring data and the reproductive performance data, and generate a priority regrouping and sorting list. The pen-to-pen loading scheme processing module is used to dynamically generate a pen-to-pen loading scheme based on the priority transfer sorting list, combined with the pathogen carrier status and / or health risk level of the pigs, and according to the principle of prioritizing merging those with the same status. The execution module is used to dynamically allocate target pens and generate transfer routes and loading instructions based on the combined pen layout and the comprehensive rating results, according to the combined pen loading plan.