CN109258508B - Sow oestrus analysis method and device, terminal and computer readable storage medium - Google Patents

Sow oestrus analysis method and device, terminal and computer readable storage medium Download PDF

Info

Publication number
CN109258508B
CN109258508B CN201811121439.4A CN201811121439A CN109258508B CN 109258508 B CN109258508 B CN 109258508B CN 201811121439 A CN201811121439 A CN 201811121439A CN 109258508 B CN109258508 B CN 109258508B
Authority
CN
China
Prior art keywords
time
oestrus
sow
standing
sows
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201811121439.4A
Other languages
Chinese (zh)
Other versions
CN109258508A (en
Inventor
申光荣
曹杰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen glaway Technology Co.,Ltd.
Original Assignee
Shenzhen Beishiwo Smart Equipment Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Beishiwo Smart Equipment Co ltd filed Critical Shenzhen Beishiwo Smart Equipment Co ltd
Priority to CN201811121439.4A priority Critical patent/CN109258508B/en
Publication of CN109258508A publication Critical patent/CN109258508A/en
Application granted granted Critical
Publication of CN109258508B publication Critical patent/CN109258508B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • AHUMAN NECESSITIES
    • A01AGRICULTURE; FORESTRY; ANIMAL HUSBANDRY; HUNTING; TRAPPING; FISHING
    • A01KANIMAL HUSBANDRY; AVICULTURE; APICULTURE; PISCICULTURE; FISHING; REARING OR BREEDING ANIMALS, NOT OTHERWISE PROVIDED FOR; NEW BREEDS OF ANIMALS
    • A01K29/00Other apparatus for animal husbandry
    • A01K29/005Monitoring or measuring activity, e.g. detecting heat or mating
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61DVETERINARY INSTRUMENTS, IMPLEMENTS, TOOLS, OR METHODS
    • A61D17/00Devices for indicating trouble during labour of animals ; Methods or instruments for detecting pregnancy-related states of animals
    • A61D17/002Devices for indicating trouble during labour of animals ; Methods or instruments for detecting pregnancy-related states of animals for detecting period of heat of animals, i.e. for detecting oestrus

Landscapes

  • Life Sciences & Earth Sciences (AREA)
  • Health & Medical Sciences (AREA)
  • Veterinary Medicine (AREA)
  • Animal Husbandry (AREA)
  • Biophysics (AREA)
  • Environmental Sciences (AREA)
  • Zoology (AREA)
  • Wood Science & Technology (AREA)
  • Engineering & Computer Science (AREA)
  • Animal Behavior & Ethology (AREA)
  • General Health & Medical Sciences (AREA)
  • Public Health (AREA)
  • Biodiversity & Conservation Biology (AREA)
  • Pregnancy & Childbirth (AREA)
  • Investigating Or Analyzing Materials Using Thermal Means (AREA)
  • Measuring Or Testing Involving Enzymes Or Micro-Organisms (AREA)

Abstract

A sow oestrus analysis method comprises the following steps: judging whether the standing times and standing time of the sow at night exceed an oestrus threshold value, and if so, judging the sow to be an oestrus sow; acquiring the standing times and standing time of the oestrus sows in the oestrus period, and removing disturbance data caused by collective standing of sows near the oestrus sows so as to obtain effective oestrus data; performing piecewise linear regression on the effective estrus data to obtain an estrus trend line; and determining the oestrus ending time and the optimal insemination time of the oestrus sows according to the oestrus trend line. The sow oestrus analysis method, the sow oestrus analysis device, the sow oestrus analysis terminal and the computer readable storage medium provided by the invention can accurately judge the oestrus state of the sow through scientific quantitative calculation, accurately estimate the oestrus ending time and the optimal insemination time of the oestrus sow, and effectively improve the mating accuracy and the mating quality.

Description

Sow oestrus analysis method and device, terminal and computer readable storage medium
Technical Field
The invention belongs to the technical field of pig breeding, and particularly relates to a sow oestrus analysis method, a sow oestrus analysis device, a sow oestrus analysis terminal and a computer readable storage medium.
Background
The pig raising industry is an important industry in agriculture and plays an important role in guaranteeing the safe supply of meat products. The history of the pig breeding industry in China is long and can be traced back thousands of years ago. At present, the pig industry in China is changed from the traditional pig industry to the modern pig industry, and the breeding mode, the regional layout, the production mode and the production capacity are obviously changed.
Nevertheless, the pig industry at present still lacks scientific breeding guidance, and empirical breeding occupies an important position. The empirical breeding depends on the subjective judgment of breeding personnel, error fluctuation is easy to occur to influence the judgment result, the universality to different environments is lacked, and the breeding quality is difficult to guarantee.
For example, oestrus judgment and breeding time prediction of sows have important influence on the breeding of sows. At present, the breeding mode mostly depends on empirical methods such as 'one sees two and three presses back' and the like for judgment and prediction, and the accuracy of quantitative calculation is lacked. Different breeders have different judgment results, the judgment results of the same breeder in different environments are also different obviously, accurate prediction cannot be realized, and the best mating time is missed frequently to influence the conception and fertility quality.
Disclosure of Invention
In order to overcome the defects of the prior art, the invention provides a sow oestrus analysis method, a device, a terminal and a computer readable storage medium, which accurately judge the oestrus state of a sow through scientific quantitative calculation, accurately estimate the oestrus ending time and the optimal insemination time of the oestrus sow and effectively improve the mating accuracy and the mating quality.
The purpose of the invention is realized by the following technical scheme:
a sow oestrus analysis method comprises the following steps:
judging whether the standing times and standing time of the sow at night exceed an oestrus threshold value, and if so, judging the sow to be an oestrus sow;
acquiring the standing times and standing time of the oestrus sows in the oestrus period, and removing disturbance data caused by collective standing of sows near the oestrus sows so as to obtain effective oestrus data;
performing piecewise linear regression on the effective estrus data to obtain an estrus trend line;
and determining the oestrus ending time and the optimal insemination time of the oestrus sows according to the oestrus trend line.
As an improvement of the above technical solution, "performing piecewise linear regression on the effective estrus data to obtain an estrus trend line" includes:
dividing the effective estrus data into a plurality of numerical value intervals according to a preset time interval;
performing linear regression on the plurality of numerical intervals respectively to obtain a plurality of corresponding interval trend lines;
and obtaining the estrus trend line according to the plurality of interval trend line connections.
As a further improvement of the above technical solution, "removing disturbance data caused by collective standing of sows near the estrus sow" includes:
acquiring the number of standing sows near the oestrus sows in the same time segment, wherein the same time segment is positioned in the oestrus of the oestrus sows;
and comparing whether the obtained number exceeds a disturbance threshold value, and if so, filtering the standing times and the standing time of the oestrus sows in the same time segment.
As a further improvement of the technical scheme, the standing times and standing time of the sows are acquired by an array ultrasonic sensor.
As a further improvement of the technical scheme, the array ultrasonic sensors are arranged corresponding to the sows one by one.
A sow estrus analysis device comprising:
the oestrus judging module is used for judging whether the standing times and standing time of the sows at night exceed an oestrus threshold value, and if so, judging the sows to be oestrous sows;
the obtaining and filtering module is used for obtaining the standing times and standing time of the oestrus sows in the oestrus period and removing disturbance data caused by collective standing of the sows near the oestrus sows so as to obtain effective oestrus data;
the linear regression module is used for carrying out piecewise linear regression on the effective estrus data to obtain an estrus trend line;
and the prediction calculation module is used for determining the oestrus ending time and the optimal insemination time of the oestrus sow according to the oestrus trend line.
As an improvement of the above technical solution, the linear regression module includes:
the interval division submodule is used for dividing the effective estrus data into a plurality of numerical value intervals according to a preset time interval;
the interval regression submodule is used for performing linear regression on the numerical intervals respectively to obtain a plurality of corresponding interval trend lines;
and the trend forming submodule is used for obtaining the estrus trend line according to the plurality of interval trend lines in a connected mode.
As a further improvement of the above technical solution, the acquisition filtering module includes:
the positioning acquisition submodule is used for acquiring the number of standing sows near the oestrus sows in the same time segment, and the same time segment is positioned in the oestrus of the oestrus sows;
and the comparison and filtration submodule is used for comparing whether the obtained quantity exceeds a disturbance threshold value or not, and filtering the standing times and the standing time of the estrus sows in the same time segment if the obtained quantity exceeds the disturbance threshold value.
A terminal comprising a memory for storing a computer program and a processor executing the computer program to cause the terminal to implement the sow oestrus analysis method of any one of the preceding claims.
A computer-readable storage medium storing the computer program executed by the terminal.
The invention has the beneficial effects that:
whether the sows are oestrous is judged according to the standing times and standing time of the sows at night, data disturbance caused by external factors (such as activity of feeding personnel, environmental noise and the like) is removed, and effective oestrus data is subjected to piecewise linear regression to obtain oestrus trend lines, so that the oestrus ending time and the optimal insemination time of the oestrus sows are accurately predicted, the scientificity and accuracy of quantitative calculation are achieved, the error influence of main and objective factors is avoided, and the mating accuracy rate and the mating quality are effectively improved.
In order to make the aforementioned and other objects, features and advantages of the present invention comprehensible, preferred embodiments accompanied with figures are described in detail below.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the embodiments will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present invention and therefore should not be considered as limiting the scope, and for those skilled in the art, other related drawings can be obtained according to the drawings without inventive efforts.
Fig. 1 is a flowchart of a sow estrus analysis method provided in embodiment 1 of the present invention;
FIG. 2 is a flow chart of step A of the sow estrus analyzing method provided in the embodiment 1 of the present invention;
fig. 3 is a flowchart of step a0 of the sow estrus analyzing method provided in embodiment 1 of the present invention;
fig. 4 is a flowchart of step B of the sow estrus analyzing method provided in embodiment 1 of the present invention;
fig. 5 is a flowchart of step C of the sow estrus analyzing method provided in embodiment 1 of the present invention;
fig. 6 is a flowchart of step E of the sow estrus analyzing method provided in embodiment 1 of the present invention;
fig. 7 is a flowchart of step E3 of the sow estrus analyzing method provided in embodiment 1 of the present invention;
fig. 8 is a schematic structural view of a sow estrus analyzing device provided in embodiment 2 of the present invention;
fig. 9 is a schematic structural diagram of an estrus judging module of the sow estrus analyzing apparatus according to embodiment 2 of the present invention;
fig. 10 is a schematic structural diagram of an initial data filtering submodule of the oestrus judging module of the sow oestrus analyzing apparatus according to embodiment 2 of the present invention;
fig. 11 is a schematic structural diagram of an acquisition and filtration module of the sow estrus analyzing apparatus according to embodiment 2 of the present invention;
fig. 12 is a schematic structural diagram of a linear regression module of the sow estrus analyzing apparatus according to embodiment 2 of the present invention;
fig. 13 is a schematic structural diagram of an attended correction module of the sow estrus analysis apparatus according to embodiment 2 of the present invention;
fig. 14 is a schematic structural diagram of a semen supplementation and insemination judgment sub-module of the on-duty correction module of the sow estrus analysis device according to embodiment 2 of the present invention;
fig. 15 is a schematic structural diagram of a terminal provided in embodiment 3 of the present invention.
Description of the main element symbols:
100-sow estrus analyzing device, 110-judging estrus module, 111-judging data obtaining sub-module, 112-disturbance data filtering sub-module, 113-estrus judging sub-module, 114-initial data filtering sub-module, 114 a-initial data obtaining sub-unit, 114 b-interference filtering sub-unit, 120-obtaining filtering module, 121-positioning obtaining sub-module, 122-comparing filtering sub-module, 130-linear regression module, 131-interval dividing sub-module, 132-interval regression sub-module, 133-trend form sub-module, 140-prediction calculating module, 150-duty correcting module, 151-duty node obtaining sub-module, 152-actual time selecting sub-module, 153-supplement insemination judging sub-module, 153 a-final value obtaining sub-unit, 153 b-supplementary judgment subunit, 200-terminal, 210-memory, 220-processor, 230-input unit, 240-display unit.
Detailed Description
In order to facilitate understanding of the present invention, a sow estrus analyzing method, an apparatus, a terminal and a computer-readable storage medium will be more fully described with reference to the accompanying drawings. The attached drawings show the preferred embodiments of the sow estrus analysis method, the sow estrus analysis device, the sow estrus analysis terminal and the computer readable storage medium. However, the sow estrus analyzing method, the sow estrus analyzing device, the sow estrus analyzing terminal and the computer readable storage medium can be realized in many different forms and are not limited to the embodiments described herein. Rather, these embodiments are provided so that this disclosure of the sow estrus analysis method, apparatus, terminal and computer-readable storage medium will be more thorough and complete.
It will be understood that when an element is referred to as being "secured to" another element, it can be directly on the other element or intervening elements may also be present. When an element is referred to as being "connected" to another element, it can be directly connected to the other element or intervening elements may also be present. In contrast, when an element is referred to as being "directly on" another element, there are no intervening elements present. The terms "vertical," "horizontal," "left," "right," and the like as used herein are for illustrative purposes only.
Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs. The terms used herein in the specification of the sow estrus analyzing method, apparatus, terminal and computer readable storage medium are for the purpose of describing specific embodiments only and are not intended to limit the present invention. As used herein, the term "and/or" includes any and all combinations of one or more of the associated listed items.
Example 1
Referring to fig. 1, the present embodiment provides a sow estrus analysis method, which includes steps a to D:
step A: and judging whether the standing times and standing time of the sow at night exceed an oestrus threshold value, and if so, judging the sow to be an oestrus sow. The important sign of the sow entering the estrus is that the sow frequently stands up/lies down and the activity frequency is rapidly increased. The oestrus threshold value is a system preset value and can be preset according to parameters such as actual breeding environment, sow variety and state and the like.
In the night time, the living beings are mostly in a rest state, and the influence of external factors is reduced to be within an ideal range. For example, the activity of the breeder (feeding, sweeping, etc.) is essentially stopped and the ambient noise falls to the desired range. Therefore, the frequent standing of the sow at night is mainly caused by oestrus, the external disturbance is less, and the oestrus judgment is accurate. The time period of the night is determined by the actual cultivation environment, and exemplarily, the night is 8 nights to 5 next morning.
Exemplarily, the standing times and the standing time of the sows are acquired by an array ultrasonic sensor. The linear array ultrasonic sensor is composed of a plurality of ultrasonic probes arranged in a linear array, can be used for simultaneously carrying out multi-point acquisition, completely covers the moving area of a sow, effectively ensures the acquisition precision and avoids the loss of a detection object. In addition, ultrasonic detection is not interfered by environmental pollution such as excrement, and data loss caused by environmental shielding in optical detection modes such as an infrared sensor can be avoided.
Exemplarily, the array ultrasonic sensors are arranged in one-to-one correspondence with the sows. In other words, any array ultrasonic sensor completely covers the breeding columns of the sows, and data loss caused by the activities of the sows does not occur. Exemplarily, the linear array ultrasonic sensor can be realized in the form of a ultrasonic, B ultrasonic, etc. And supplementary instructions, the sows are bred in the piggeries in different columns, and only one sow is bred in one breeding column.
Referring to fig. 2, exemplarily, the step a includes steps a 1-3, which further improves the accuracy of oestrus determination:
step A1: acquiring the standing times and standing time of the sow at night;
step A2: removing disturbance data caused by collective standing of sows nearby the sows to obtain effective standing data (standing times and standing time) of the sows;
step A3: and comparing and judging whether the effective standing data of the sow exceeds an oestrus threshold value, and if so, judging the sow to be an oestrus sow.
Wherein the standing times and the standing time of the sow at night are obtained from a starting point outside the adaptation period of the sow. The adaptation period of the sow refers to the adaptation time required by the sow from entering a piggery. During the adaptation period, agitation of the sows may occur, causing disturbing data. The setting of the acquisition starting point can avoid the interference misjudgment caused by the adaptive period data.
Referring to fig. 3, as another example, step a may include step a 0: and removing the standing data of the sows in the adaptation period from all the acquired data, thereby realizing data filtering. Exemplarily, the step A0 includes steps A01-A02:
step A01: acquiring the standing times and standing time of the sows from entering a piggery;
step A02: and removing standing data (standing times and standing time) of the sows within a preset adaptation time length from the time of entering the pigsty, wherein the preset adaptation time length is an environment adaptation period (namely an adaptation period) required by the sows in the pigsty.
And B: and acquiring the standing times and standing time of the estrus sows in the estrus, and removing disturbance data caused by collective standing of sows near the estrus sows so as to obtain effective estrus data.
In this step, estrus includes all periods of the day and night. Generally, the estrus of sows is 2-3 days, and mating is needed before the estrus is finished. The relationship between the optimal insemination time and the oestrus ending time is different for different breeding environments, different sow varieties and even the number of times of birth of the sows, and needs to be preset according to the actual situation.
In the estrus, especially in the daytime, sows in a pigsty sometimes stand together due to activities of raising personnel (such as feeding, cleaning and the like) and influences of the surrounding environment of the pigsty (such as rumbling, rainwater, torpedo and the like), so that data interference on the estrus sows is formed, and the data interference is disturbance data. The disturbance data is characterized in that sows near the oestrus sows stand simultaneously, so that the near linear array ultrasonic sensors acquire standing data at the same time. Based on the data characteristics, filtering can be effectively performed, and therefore the accuracy of effective estrus data is guaranteed.
Referring to FIG. 4, step B may include steps B1-2:
step B1: and acquiring the number of standing sows near the oestrus sows in the same time segment, wherein the same time segment is positioned in the oestrus period of the oestrus sows. The time slice is a preset time scale and is used for limiting the simultaneity of the standing sow. Within this time period, the sows in the vicinity of the estrus sow standing in sequence are all considered to stand simultaneously.
Step B2: and comparing whether the obtained number exceeds a disturbance threshold value, and if so, filtering the standing times and the standing time of the oestrus sows in the same time segment. The disturbance threshold is a preset value and is used for distinguishing individual disturbance from collective disturbance. If the number of standing sows close to the oestrus sows exceeds the disturbance threshold value in the time slice, the sows are stimulated by the same external factor, and data in the time slice are collective disturbance data and should be filtered. The remaining data after filtering is the effective oestrus data.
And C: and performing piecewise linear regression on the effective estrus data to obtain an estrus trend line. In estrus, sows tend to ascend before descend in standing frequency. In other words, the regression coefficients of the linear regression to which the estrus data are subjected are not the same at different estrus stages, thereby presenting different estrus trends. And performing piecewise linear regression on the effective estrus data to obtain the estrus trends of different estrus stages and finally obtain a complete estrus trend line.
Referring to FIG. 5, step C includes steps C1-3:
step C1: and dividing the effective estrus data into a plurality of numerical value intervals according to a preset time interval. The preset time interval is preset duration, and in a numerical value interval defined by the preset duration, the quantity of the effective estrus data is required to ensure that the piecewise linear regression has ideal regression accuracy, so that the estrus trend calculation is more accurate. It is understood that the plurality of value intervals are kept continuous on the time axis. The predetermined time interval is exemplarily half an hour or an hour.
Step C2: and performing linear regression on the plurality of numerical intervals respectively to obtain a plurality of corresponding interval trend lines. In other words, the effective estrus data in each interval of values is linearly regressed. The linear regression of each of the plurality of value ranges forms a piecewise linear regression.
Step C3: and obtaining the estrus trend line according to the plurality of interval trend line connections. In other words, the estrus trend line is composed of a plurality of interval trend lines. By observing the regression coefficients (i.e. slopes) of the trend lines of the plurality of intervals, the variation of the oestrus trend of the oestrus sows can be obtained. It can be understood that in the front part of estrus, the doll seeking desire of the estrus sows is gradually intensified until the peak of estrus; subsequently, the sexual desire of the oestrous sows is gradually weakened and smoothed, and finally the oestrous end point is reached. In different stages, the ovulation condition of the oestrous sows changes, thereby affecting the quality of insemination.
Step D: and determining the oestrus ending time and the optimal insemination time of the oestrus sows according to the oestrus trend line. And calculating to obtain the estrus ending time according to the estrus trend line. It can be understood that the oestrus trend line generally presents a form of ascending trend followed by descending trend, and finally gradually becomes gentle, and the turning point which is gradually gentle finally is the oestrus ending time.
And performing backward calculation according to the estrus finishing time to obtain the optimal insemination time. The insemination and mating are carried out in the optimal insemination time, and the values of the conception rate, the litter size and the like of the sows are ideal, so that the mating quality is ensured, and the economic efficiency of a pig farm is maximized. Studies have shown that hours (illustratively, 4-8 hours) before the end of estrus are the optimal insemination times. In the optimal insemination time, the ovulation state of the oestrous sows reaches the best, so that the mating efficiency and quality are maximized.
Exemplarily, the sow estrus analysis method further comprises the step of E: and judging whether the current value of the optimal insemination time is in the working time period or not according to the on-duty time table of the pigsty, and otherwise, selecting the off-duty time node which is closest to the current value of the optimal insemination time in the on-duty time table as the actual insemination time.
It should be noted that, in the pigsty manually managed by the feeding staff, the pigsty is attended only in the working time period, but is unattended in the non-working time period. The current value of the optimal insemination time is the optimal insemination time obtained by current calculation, and the optimal insemination time (namely the final value) is not finally obtained because the estrus is not finished yet.
If the current value of the optimal insemination time appears in the non-working time period, the sow cannot be inseminated in time due to the unattended pigsty, so that the sow is fertilized and bred. Therefore, the off-duty time node closest to the current value of the optimal insemination time is used as the actual insemination time, and feeding personnel carry out insemination on the sows at the off-duty time node, so that better insemination and mating effects are ensured.
Particularly, as the semen of the boar has certain survival time in the sow body, and the closest off-duty time node is closer to the optimal semen deposition time, when the optimal semen deposition time is reached, the step E can ensure that the active semen which can be combined with the egg cells exists in the sow body, avoid the influence of unattended operation and ensure ideal insemination and mating.
Referring to FIG. 6, step E includes steps E1-2:
step E1: and acquiring the off-duty time node of the current day and the on-duty time node of the next day of the pigsty. In this case, the precise performance of step E can be ensured even if the time-of-day values of different dates in the pigsty are different.
Step E2: and judging whether the current value of the optimal insemination time is positioned between the off-duty time node of the current day and the on-duty time node of the next day, if so, taking the off-duty time node of the current day as the actual insemination time, and otherwise, taking the current value of the optimal insemination time as the actual insemination time. Exemplarily, the current value of the optimal insemination time is a value obtained before the off-duty time node of the current day (may be the off-duty time node of the current day).
Referring to fig. 7, step E further includes step E3: and calculating the semen supplementing time according to the optimal semen supplementing time final value to judge whether the semen is required to be supplemented, and if so, taking the working time node of the next day as the semen supplementing time.
Step E31: and acquiring the optimal insemination time final value. The optimal insemination time final value is calculated according to the effective estrus data of the whole estrus, and the optimal insemination time of the sow is accurately reflected. Specifically, the steps C to D continue to operate based on the effective estrus data after the off-duty time node of the current day, so that the current value of the optimal insemination time is continuously approached to finally obtain the final value of the optimal insemination time.
Step E32: and judging whether the optimal insemination time final value is positioned between the next working time node of the current day and the working time node of the next day and is deviated from the latter, if so, supplementing insemination is needed, and the working time node of the next day is taken as the supplemented insemination time, otherwise, supplementing insemination is not needed.
Example 2
Referring to fig. 8, the present embodiment provides a sow estrus analyzing apparatus 100, which includes:
the oestrus judging module 110 is used for judging whether the standing times and standing time of the sows at night exceed an oestrus threshold value, and if so, judging the sows to be oestrus sows;
the obtaining and filtering module 120 is configured to obtain the number of standing times and the standing time of the estrous sows in the estrus, and remove disturbance data caused by collective standing of sows near the estrous sows, so as to obtain effective estrus data;
a linear regression module 130, configured to perform piecewise linear regression on the effective estrus data to obtain an estrus trend line;
and the prediction calculation module 140 is used for determining the oestrus ending time and the optimal insemination time of the oestrus sow according to the oestrus trend line.
Referring to fig. 9, the oestrus determining module 110 exemplarily includes:
the judgment data acquisition submodule 111 is used for acquiring the standing times and the standing time of the sow at night;
a disturbance data filtering submodule 112, configured to remove disturbance data caused by collective standing of sows near the sows, and obtain effective standing data (standing times and standing time) of the sows;
and the oestrus judging submodule 113 is used for comparing and judging whether the effective standing data of the sow exceeds an oestrus threshold value, and if so, judging the sow to be an oestrus sow.
Referring to fig. 10, the estrus determination module 110 further includes an initial data filtering sub-module 114 for removing the standing data of the sow during the adaptive period from the acquired data.
Illustratively, the raw data filtering submodule 114 includes:
an initial data acquisition subunit 114a, configured to acquire the number of standing times and standing time of a sow since the sow enters a pigsty;
and the interference filtering subunit 114b is configured to remove standing data (standing times and standing time) of the sow within a preset adaptation time period since the sow enters the pigsty, where the preset adaptation time period is an environment adaptation period required by the sow in the pigsty.
Referring to fig. 11, the acquisition filter module 120 exemplarily includes:
a positioning obtaining submodule 121, configured to obtain the number of standing sows near the estrus sow in the same time segment, where the time segment is located in the estrus of the estrus sow;
and the comparison and filtering submodule 122 is configured to compare whether the obtained number exceeds a disturbance threshold, and if so, filter the standing times and the standing time of the estrus sows in the same time slice.
Referring to fig. 12, the linear regression module 130 exemplarily includes:
the interval division submodule 131 is configured to divide the effective oestrus data into a plurality of numerical intervals according to a preset time interval;
an interval regression submodule 132 for performing linear regression on the plurality of numerical intervals respectively to obtain a plurality of corresponding interval trend lines;
the trend forming submodule 133 is configured to obtain the estrus trend line according to the plurality of interval trend lines.
Exemplarily, the sow oestrus analysis device 100 further includes an on-duty correction module 150 for judging whether the current value of the optimal insemination time is within the working time period according to an on-duty schedule of the pigsty, otherwise, selecting an off-duty time node in the on-duty schedule, which is closest to the current value of the optimal insemination time, as the actual insemination time.
Referring to fig. 13, exemplarily, the on duty modification module 150 includes:
a punctual value acquisition submodule 151 configured to acquire a next working time node of the current day and a next working time node of the pigsty;
and an actual time selection submodule 152, configured to determine whether the current value of the optimal insemination time is located between the off-duty time node of the current day and the on-duty time node of the next day, if so, use the off-duty time node of the current day as the actual insemination time, and otherwise, use the current value of the optimal insemination time as the actual insemination time.
Referring to fig. 14, exemplarily, the on duty modification module 150 further includes:
and the semen supplementing and insemination judging submodule 153 is used for calculating the semen supplementing and insemination time according to the optimal semen supplementing and insemination time final value to judge whether the semen is required to be supplemented, and if so, the working time node of the next day is taken as the semen supplementing and insemination time.
Exemplarily, the supplementary semen-deposition judging sub-module 153 includes:
a final value obtaining subunit 153a, configured to obtain the final value of the optimal insemination time;
and a supplement judging subunit 153b, configured to judge whether the optimal final insemination time value is located between the next work time node of the current day and the next work time node of the next day and is biased to the latter, if so, supplement insemination is required, and the next work time node of the next day is taken as a supplement insemination time, otherwise, supplement insemination is not required.
Example 3
Referring to fig. 15, the present embodiment provides a terminal 200, where the terminal 200 includes a memory 210 and a processor 220, the memory 210 is used for storing a computer program, and the processor 220 executes the computer program to enable the terminal 200 to implement the sow estrus analyzing method described above.
The terminal 200 includes a terminal device (such as a computer, a server, etc.) without mobile communication capability, and also includes a mobile terminal (such as a smart phone, a tablet computer, a vehicle-mounted computer, a smart wearable device, etc.).
The memory 210 may include a program storage area and a data storage area. Wherein, the storage program area can store an operating system, application programs (such as a sound playing function, an image playing function, etc.) required by at least one function, and the like; the storage data area may store data (such as audio data, backup files, etc.) created according to the use of the terminal 200, and the like. Further, the memory 210 may include high speed random access memory, and may also include non-volatile memory (e.g., at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device).
Preferably, the terminal 200 further includes an input unit 230 and a display unit 240. The input unit 230 is configured to receive various instructions or parameters (including a preset scrolling manner, a preset time interval, and a preset scrolling number) input by a user, and includes a mouse, a keyboard, a touch panel, and other input devices. The display unit 240 is used to display various output information (including a web page, a parameter configuration interface, etc.) of the terminal 200, including a display panel.
A computer-readable storage medium storing the computer program executed by a terminal is provided herein together.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus and method can be implemented in other ways. The apparatus embodiments described above are merely illustrative and, for example, the flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of apparatus, methods and computer program products according to various embodiments of the present invention. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s).
It should also be noted that, in alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved.
It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
In addition, each functional module or unit in each embodiment of the present invention may be integrated together to form an independent part, or each module may exist separately, or two or more modules may be integrated to form an independent part.
The functions, if implemented in the form of software functional modules and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention or a part of the technical solution that contributes to the prior art in essence can be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a smart phone, a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
In all examples shown and described herein, any particular value should be construed as merely exemplary, and not as a limitation, and thus other examples of example embodiments may have different values.
It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, it need not be further defined and explained in subsequent figures.
The above examples are merely illustrative of several embodiments of the present invention, and the description thereof is more specific and detailed, but not to be construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the inventive concept, which falls within the scope of the present invention. Therefore, the protection scope of the present invention should be subject to the appended claims.

Claims (26)

1. A sow oestrus analysis method is characterized by comprising the following steps:
judging whether the standing times and standing time of the sow at night exceed an oestrus threshold value, and if so, judging the sow to be an oestrus sow;
acquiring the standing times and standing time of the oestrus sows in the oestrus period, and removing disturbance data caused by collective standing of sows near the oestrus sows so as to obtain effective oestrus data;
performing piecewise linear regression on the effective estrus data to obtain an estrus trend line; determining the oestrus ending time and the optimal insemination time of the oestrus sows according to the oestrus trend line;
"removing disturbance data caused by collective standing of sows near the estrus sow" includes:
acquiring the number of standing sows near the oestrus sows in the same time segment, wherein the same time segment is positioned in the oestrus of the oestrus sows;
comparing whether the obtained number exceeds a disturbance threshold value, if so, filtering the standing times and the standing time of the oestrus sows in the same time segment;
"performing piecewise linear regression on the effective estrus data to obtain an estrus trend line" includes:
dividing the effective estrus data into a plurality of numerical value intervals according to a preset time interval;
performing linear regression on the plurality of numerical intervals respectively to obtain a plurality of corresponding interval trend lines;
and obtaining the estrus trend line according to the plurality of interval trend line connections.
2. The sow oestrus analysis method of claim 1 wherein the number and time of the sows standing is collected by an array ultrasound sensor.
3. The sow oestrus analysis method of claim 2 wherein the array ultrasound sensors are arranged in a one-to-one correspondence with the sows.
4. The sow oestrus analysis method of claim 1 wherein the sow is housed in a piggery, and only one sow is housed in any one housing.
5. The sow oestrus analysis method of claim 1 wherein determining whether the number of times the sow stands at night and the standing time exceed oestrus thresholds and if so determining that the sow is an oestrus sow comprises:
acquiring the standing times and standing time of the sow at night;
removing disturbance data caused by collective standing of sows nearby the sows to obtain effective standing data of the sows;
and comparing and judging whether the effective standing data of the sow exceeds an oestrus threshold value, and if so, judging the sow to be an oestrus sow.
6. The sow oestrus analysis method of claim 5 wherein the sow's nocturnal number of standings and time of standing is obtained from a point outside the sow's habituation period.
7. The sow oestrus analysis method of claim 5 wherein determining whether the number of times the sow stands at night and the standing time exceed oestrus thresholds and if so determining that the sow is an oestrus sow further comprises: the standing data of the sows during their acclimation period were removed from all the data acquired.
8. The sow oestrus analysis method of claim 7 wherein the "standing data of the sow during its habituation period" is removed from all acquired data:
acquiring the standing times and standing time of the sows from entering a piggery;
and removing standing data of the sows in a preset adaptation time period since the sows enter the piggery, wherein the preset adaptation time period is the period of the sows in the environment adaptation required by the piggery.
9. The sow oestrus analysis method of claim 1 further comprising: and judging whether the current value of the optimal insemination time is in the working time period or not according to the on-duty time table of the pigsty, and otherwise, selecting the off-duty time node which is closest to the current value of the optimal insemination time in the on-duty time table as the actual insemination time.
10. The sow oestrus analysis method of claim 9 wherein determining whether the current value of the optimal insemination time is within the working time period according to a piggery's watch schedule, and otherwise selecting the off-duty time node in the watch schedule that is closest to the current value of the optimal insemination time as the actual insemination time comprises:
acquiring a next working time node of the current day and a next working time node of the pigsty;
and judging whether the current value of the optimal insemination time is positioned between the off-duty time node of the current day and the on-duty time node of the next day, if so, taking the off-duty time node of the current day as the actual insemination time, and otherwise, taking the current value of the optimal insemination time as the actual insemination time.
11. The sow oestrus analysis method of claim 10 wherein the current value of optimal insemination time is a value obtained prior to the off-hours time node of the day.
12. The sow oestrus analysis method of claim 10 wherein determining whether the current value of the optimal insemination time is within the working time period according to a piggery's watch schedule, and otherwise selecting the off-duty time node in the watch schedule that is closest to the current value of the optimal insemination time as the actual insemination time further comprises: and calculating the semen supplementing time according to the optimal semen supplementing time final value to judge whether the semen is required to be supplemented, and if so, taking the working time node of the next day as the semen supplementing time.
13. The sow oestrus analysis method of claim 12 wherein the step of calculating a supplementary insemination time according to the optimal insemination time final value to determine whether or not a supplementary insemination is required, and if so, using the next day of work time node as the supplementary insemination time comprises:
obtaining the optimal insemination time final value;
and judging whether the optimal insemination time final value is positioned between the next working time node of the current day and the working time node of the next day and is deviated from the latter, if so, supplementing insemination is needed, and the working time node of the next day is taken as the supplemented insemination time, otherwise, supplementing insemination is not needed.
14. The sow oestrus analysis method of claim 13 wherein the final value of optimal insemination time is calculated from valid oestrus data for the entire oestrus.
15. The utility model provides a sow analytical equipment that estruses which characterized in that includes:
the oestrus judging module is used for judging whether the standing times and standing time of the sows at night exceed an oestrus threshold value, and if so, judging the sows to be oestrous sows;
the obtaining and filtering module is used for obtaining the standing times and standing time of the oestrus sows in the oestrus period and removing disturbance data caused by collective standing of the sows near the oestrus sows so as to obtain effective oestrus data;
the linear regression module is used for carrying out piecewise linear regression on the effective estrus data to obtain an estrus trend line;
the prediction calculation module is used for determining the oestrus ending time and the optimal insemination time of the oestrus sow according to the oestrus trend line;
the acquisition filter module includes:
the positioning acquisition submodule is used for acquiring the number of standing sows near the oestrus sows in the same time segment, and the same time segment is positioned in the oestrus of the oestrus sows;
the comparison and filtration submodule is used for comparing whether the obtained quantity exceeds a disturbance threshold value or not, and filtering the standing times and the standing time of the estrus sows in the same time segment if the obtained quantity exceeds the disturbance threshold value;
the linear regression module comprises:
the interval division submodule is used for dividing the effective estrus data into a plurality of numerical value intervals according to a preset time interval;
the interval regression submodule is used for performing linear regression on the numerical intervals respectively to obtain a plurality of corresponding interval trend lines;
and the trend forming submodule is used for obtaining the estrus trend line according to the plurality of interval trend lines in a connected mode.
16. The sow oestrus analysis device of claim 15 wherein the oestrus judgment module comprises:
the judgment data acquisition submodule is used for acquiring the standing times and the standing time of the sow at night;
the disturbance data filtering submodule is used for removing disturbance data caused by collective standing of the sows nearby the sows to obtain effective standing data of the sows, and the effective standing data comprises effective standing times and effective standing time;
and the oestrus judging submodule is used for comparing and judging whether the effective standing data of the sow exceeds an oestrus threshold value, and if so, judging the sow to be an oestrus sow.
17. The sow oestrus analysis device of claim 15 wherein the oestrus determination module further comprises an initial data filtering sub-module for removing standing data of the sow during its habituation period from all acquired data.
18. The sow oestrus analysis device of claim 17 wherein the preliminary data filtering sub-module includes:
the initial data acquisition subunit is used for acquiring the standing times and standing time of the sows from entering the piggery;
and the interference filtering subunit is used for removing standing data of the sow within a preset adaptation time length from the time when the sow enters the pigsty, wherein the preset adaptation time length is the time when the sow is in the environment adaptation period required by the pigsty.
19. The sow oestrus analysis device of claim 15 further comprising an on-duty correction module for determining whether the current value of the optimal insemination time is within the working time period according to an on-duty schedule of the pigsty, otherwise selecting the off-duty time node in the on-duty schedule which is closest to the current value of the optimal insemination time as the actual insemination time.
20. The sow oestrus analysis device of claim 19 wherein the on-duty correction module comprises:
the node acquisition submodule of the value conservation, is used for obtaining the off-duty time node and on-duty time node of the next day of the said pigsty on the same day;
and the actual time selection submodule is used for judging whether the current value of the optimal insemination time is positioned between the off-duty time node of the current day and the on-duty time node of the next day, if so, the off-duty time node of the current day is taken as the actual insemination time, and otherwise, the current value of the optimal insemination time is taken as the actual insemination time.
21. The sow oestrus analysis device of claim 20 wherein the on-duty modification module further comprises a supplementary insemination judgment sub-module for calculating a supplementary insemination time according to the optimal insemination time final value to judge whether or not the insemination is required, and if so, taking the next day of the work time node as the supplementary insemination time.
22. The sow estrus analysis device of claim 21 wherein the supplemental insemination decision sub-module comprises:
a final value obtaining subunit, configured to obtain the final value of the optimal insemination time;
and the supplement judgment subunit is used for judging whether the optimal insemination time final value is positioned between the off-duty time node of the current day and the on-duty time node of the next day and is deviated from the latter, if so, the insemination is needed to be supplemented, and the on-duty time node of the next day is taken as the supplement insemination time, otherwise, the insemination is not needed to be supplemented.
23. The sow oestrus analysis device of claim 15 wherein the number and time of the sows standing is collected by an array ultrasound sensor.
24. The sow oestrus analysis device of claim 23 wherein the array of ultrasound sensors are arranged in a one-to-one correspondence with the sow.
25. A terminal, characterized in that it comprises a memory for storing a computer program and a processor for executing the computer program to make the terminal implement the sow estrus analysis method as claimed in any one of claims 1 to 14.
26. A computer-readable storage medium, characterized in that it stores the computer program executed by the terminal of claim 25.
CN201811121439.4A 2018-09-26 2018-09-26 Sow oestrus analysis method and device, terminal and computer readable storage medium Active CN109258508B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811121439.4A CN109258508B (en) 2018-09-26 2018-09-26 Sow oestrus analysis method and device, terminal and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811121439.4A CN109258508B (en) 2018-09-26 2018-09-26 Sow oestrus analysis method and device, terminal and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN109258508A CN109258508A (en) 2019-01-25
CN109258508B true CN109258508B (en) 2020-11-10

Family

ID=65198948

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811121439.4A Active CN109258508B (en) 2018-09-26 2018-09-26 Sow oestrus analysis method and device, terminal and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN109258508B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2021045033A1 (en) * 2019-09-06 2021-03-11 日本ハム株式会社 Estrus determination device for sows, method for determining estrus of sows, and program for determining estrus of sows
CN111084118B (en) * 2019-12-31 2020-11-10 中国农业大学 Method and device for predicting oestrus of sows
CN113711944B (en) * 2021-08-27 2023-03-03 河南牧原智能科技有限公司 Sow estrus identification method, device and system

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
SE504267C2 (en) * 1994-06-01 1996-12-16 Tetra Laval Holdings & Finance Identity and cobstone indicator
NL9401617A (en) * 1994-10-03 1996-05-01 Nedap Nv Activity detector with position-dependent motion sensor.
ITMI20071072A1 (en) * 2007-05-25 2008-11-26 Lps Electronics S R L EQUIPMENT FOR THE AUTOMATIC DETECTION OF THE HEAT OF A SHROUD.
JP2006075090A (en) * 2004-09-10 2006-03-23 Fumio Kashiwamura Apparatus for finding estrus of cattle
EP1839621A1 (en) * 2006-03-31 2007-10-03 Walter Signorini Method and system to determine a physiological state of a sow
NL2010098C2 (en) * 2013-01-09 2014-07-10 Lely Patent Nv Method and system for generating an oestrus attention signal for a cattle animal.
CN203735246U (en) * 2014-01-16 2014-07-30 诠懋实业有限公司 Estrus detection device for sow mating
CN204180708U (en) * 2014-10-29 2015-03-04 中国农业大学 Oestrus of sow multi-antenna
CN107027650B (en) * 2017-03-21 2019-10-22 中国农业大学 A kind of boar abnormal state detection method and device based on PSO-SVM

Also Published As

Publication number Publication date
CN109258508A (en) 2019-01-25

Similar Documents

Publication Publication Date Title
CN109258508B (en) Sow oestrus analysis method and device, terminal and computer readable storage medium
Mishra et al. Automated irrigation system-IoT based approach
CN110506656A (en) A kind of multi-functional herding intelligence ear tag and its collecting method of low-power consumption
Sammons et al. Larval sampling as a fisheries management tool: early detection of year-class strength
WO2015193327A1 (en) Monitoring device for animals
DE112010003538T5 (en) Body movement detection device and body movement detection method
EP3226682A1 (en) Method for obtaining information about a farm animal
Finney et al. Validating the IceRobotics IceQube tri-axial accelerometer for measuring daily lying duration in dairy calves
KR20200117610A (en) Electronic Sow Management Apparatus
CN111528858A (en) Remote monitoring method and device for livestock movement, storage medium and electronic device
CN113711944A (en) Sow oestrus identification method, device and system
CN110580918A (en) Method and device for sending prompt information, storage medium and electronic device
Kviesis et al. Honey bee colony monitoring with implemented decision support system
CN108541596A (en) A kind of big data sheepfold based on nine grids
CN111449000A (en) Cloud culture system and cloud culture method
CN113516139A (en) Data processing method, device, equipment and storage medium
CN113971227B (en) Big data based livestock monitoring method, system and readable storage medium
CN105608554A (en) Information display method, information display device and terminal
Punt et al. An examination of certain of the assumptions made in the Bayesian approach used to assess the eastern North Pacific stock of gray whales (Eschrichtius robustus)
US20190327938A1 (en) A method for customized monitoring of sounds caused by respiratory distress
DE19834257C2 (en) Method for monitoring an animal, in particular a horse
CN111109123B (en) Beef cattle natural hybridization process monitoring method based on 4G network
CH719673A2 (en) AI-BASED REAL-TIME ACOUSTIC WILDLIFE MONITORING SYSTEM
CN114184755A (en) System and method for automatic monitoring of aquaculture water and prevention of water eutrophication
CN209760957U (en) beasts and birds gathering device and fence based on loRa

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CP03 Change of name, title or address

Address after: 518110 Room 405, building B, 404 Golf Avenue, Guangpei community, Guanlan street, Longhua District, Shenzhen City, Guangdong Province

Patentee after: Shenzhen glaway Technology Co.,Ltd.

Address before: 518000 2nd floor, building a, 68 Weizi old village, fukeng community, Guanlan, Longhua New District, Shenzhen City, Guangdong Province

Patentee before: SHENZHEN BEISHIWO SMART EQUIPMENT Co.,Ltd.

CP03 Change of name, title or address