CN110999810A - Live pig number detection device and detection method - Google Patents

Live pig number detection device and detection method Download PDF

Info

Publication number
CN110999810A
CN110999810A CN201911232975.6A CN201911232975A CN110999810A CN 110999810 A CN110999810 A CN 110999810A CN 201911232975 A CN201911232975 A CN 201911232975A CN 110999810 A CN110999810 A CN 110999810A
Authority
CN
China
Prior art keywords
pulse
pigs
live
pig
detection device
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.)
Pending
Application number
CN201911232975.6A
Other languages
Chinese (zh)
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.)
Miaozhen Information Technology Co Ltd
Original Assignee
Miaozhen Information Technology 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 Miaozhen Information Technology Co Ltd filed Critical Miaozhen Information Technology Co Ltd
Priority to CN201911232975.6A priority Critical patent/CN110999810A/en
Publication of CN110999810A publication Critical patent/CN110999810A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • AHUMAN NECESSITIES
    • A01AGRICULTURE; FORESTRY; ANIMAL HUSBANDRY; HUNTING; TRAPPING; FISHING
    • A01KANIMAL HUSBANDRY; CARE OF BIRDS, FISHES, INSECTS; FISHING; REARING OR BREEDING ANIMALS, NOT OTHERWISE PROVIDED FOR; NEW BREEDS OF ANIMALS
    • A01K29/00Other apparatus for animal husbandry
    • AHUMAN NECESSITIES
    • A01AGRICULTURE; FORESTRY; ANIMAL HUSBANDRY; HUNTING; TRAPPING; FISHING
    • A01KANIMAL HUSBANDRY; CARE OF BIRDS, FISHES, INSECTS; FISHING; REARING OR BREEDING ANIMALS, NOT OTHERWISE PROVIDED FOR; NEW BREEDS OF ANIMALS
    • A01K11/00Marking of animals
    • A01K11/001Ear-tags
    • A01K11/004Ear-tags with electronic identification means, e.g. transponders
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B5/00Measuring for diagnostic purposes; Identification of persons
    • A61B5/02Detecting, measuring or recording pulse, heart rate, blood pressure or blood flow; Combined pulse/heart-rate/blood pressure determination; Evaluating a cardiovascular condition not otherwise provided for, e.g. using combinations of techniques provided for in this group with electrocardiography or electroauscultation; Heart catheters for measuring blood pressure
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B2503/00Evaluating a particular growth phase or type of persons or animals
    • A61B2503/40Animals

Abstract

The embodiment of the application provides a live pig number detection device and a live pig number detection method, and relates to the technical field of live pig feeding. The device comprises a pulse detection device, a server and a client, wherein the pulse detection device, the server and the client are arranged on the ears of the pigs, and the server is in communication connection with the pulse detection device and the client; the pulse detection device is used for acquiring pulse data of the live pigs; the client is used for setting a pulse threshold value and sending the pulse threshold value to the server; and the server is used for storing the pulse data and the corresponding identification information and classifying the pigs according to the received pulse threshold value so as to obtain the number of each type of pigs. According to the pulse data collected by the pulse detection device, live pigs are classified, the number of each type of live pigs is counted, the purpose of monitoring the live pigs in real time is achieved, and the problems of low accuracy and high limitation of the existing method are solved.

Description

Live pig number detection device and detection method
Technical Field
The application relates to the technical field of live pig feeding, in particular to a live pig number detection device and a live pig number detection method.
Background
In modern pig raising methods, the number of pig types such as commercial pigs, boars or boars and sows needs to be checked, and one of the common methods is an artificial checking method, which is easy to cause errors and has low efficiency.
The other method is to adopt a machine learning inventory model, the method needs to photograph live pigs, and the pigs are separated from the input images by adopting an image recognition method, so that the inventory purpose is achieved, but the method needs to carry out a large amount of training in the early stage, has a long period and is influenced by the live pig marketing period, so that the method has low reuse rate and high use cost; in addition, under the condition of insufficient light at night, the user cannot take pictures, so that the method cannot be used and has limitation.
Disclosure of Invention
An object of the embodiment of the application is to provide a live pig number detection device and a detection method, the live pigs are classified according to pulse data collected by a pulse detection device, the number of each type of live pigs is counted, the purpose of monitoring the live pigs in real time is achieved, and the problems of low accuracy and high limitation of the existing method are solved.
The embodiment of the application provides a live pig number detection device, which comprises a pulse detection device, a server and a client, wherein the pulse detection device is arranged on a pig ear;
the pulse detection device is used for acquiring pulse data of the live pigs;
the client is used for setting a pulse threshold value and sending the pulse threshold value to the server;
and the server is used for storing the pulse data and the corresponding identification information and classifying the pigs according to the received pulse threshold value so as to obtain the number of each type of pigs.
In the above-mentioned implementation process, the server with pulse detection device customer end communication connection, the example, pulse detection device can be through wireless network like WIFI router and server communication connection, be convenient for in time upload the pulse signal of the live pig that pulse detection device detected to the server, be convenient for server real time monitoring live pig's pulse signal.
The method has the advantages that the pulse data of the live pigs are acquired through the pulse detection device and are sent to the server, the real-time monitoring is carried out on the pulse data of the live pigs, the health states of the live pigs are judged through the pulse data, the live pigs in different states are classified, the number of each type of live pigs is checked according to the identification information, the method is high in reuse rate, free of influence of live pig marketing, free of use condition requirements, and the problems of low accuracy rate and high limitation of the existing method are solved.
Further, pulse detection device is ear tag formula pulse detection device, ear tag formula pulse detection device includes the casing of U type structure and sets up the circuit board in the casing.
In the implementation process, the pulse detection device may be an ear tag type pulse detection device, which is worn on the pig ear to measure the pulse data of the live pig according to the characteristic that the blood flow of the pig ear changes along with the heart beat.
Further, the circuit board includes:
the light emitting diode is used for emitting light rays and irradiating the light rays on the photoelectric sensor through the pig ear;
the photoelectric sensor is used for receiving light rays passing through the light emitting diodes of the pig ears so as to collect pulse signals of the pigs;
and the controller is used for receiving and processing the pulse signals collected by the photoelectric sensor and sending the pulse signals to the server.
In the implementation process, the ear tag type pulse detection device collects pulse data of the live pig by matching the light emitting diode with the photoelectric sensor, specifically, the light emitting diode emits light, the light irradiates the light receiving window of the photoelectric sensor through the pig ear, when the blood flow of the pig ear changes along with the heartbeat, the light emitted by the light emitting diode and passing through the pig ear and reaching the light receiving window changes along with the change of the blood flow of the pig ear, so that the photocurrent of the photoelectric sensor also changes along with the fluctuation, and the heart pulse signal of the live pig can be collected; the pulse signals of the live pigs are transmitted to the controller, the controller sends the pulse signals of the live pigs to the server periodically for storage and processing, and the purpose of monitoring the pulse data of the live pigs is achieved.
Further, the shell of the U-shaped structure comprises a first connecting part and a second connecting part, wherein one ends of the first connecting part and the second connecting part are connected with each other;
the light emitting diode and the photoelectric sensor are respectively and oppositely arranged on the first connecting part and the second connecting part of the shell, so that the photoelectric sensor receives light rays emitted by the light emitting diode and penetrating through the pig ears;
be provided with the ear tag hasp post and the lockhole of mutual supporting on the casing, ear tag hasp post pass the pig ear with the lockhole is connected, in order with ear tag formula pulse detection device is fixed to the pig ear.
In the above-mentioned realization process, the casing includes arbitrary end interconnect's the first connecting portion and the second connecting portion that constitute U type structure, the relative side that closes on of setting up of first connecting portion and second connecting portion is provided with emitting diode and photoelectric sensor respectively, so that the light that emitting diode sent passes the pig ear and shines on photoelectric sensor, thereby change the change that drives light according to blood flow when the heart beats, gather pulse signal according to the change of light, ear tag formula pulse detection device passes through ear tag hasp post and lockhole and fixes to the pig ear, convenient the dismantlement.
Furthermore, the circuit board further comprises an operational amplifier and a voltage comparator, after the voltage signal output by the photoelectric sensor is subjected to operational processing by the operational amplifier, the voltage comparator converts the pulse signal into a square wave signal, so that the voltage signal acquired by the photoelectric sensor is converted into a square wave signal and then is input to the controller.
In the implementation process, the fluctuating voltage signal acquired by the photoelectric sensor is amplified, filtered and the like through the operational amplifier and the voltage comparator, converted into a pulse signal of square waves, processed through the controller and transmitted to the server.
The embodiment of the application also provides a live pig number detection method, which is applied to a server of the live pig number detection device, and the method comprises the following steps:
periodically receiving pulse data of the live pig and corresponding identification information sent by a pulse detection device;
receiving a pulse threshold value sent by a client;
and classifying the live pigs according to the pulse threshold and the pulse data, and acquiring the number of each type of live pigs.
In the implementation process, the server regularly receives the pulse data of the pigs and the corresponding identification information sent by the pulse detection devices, and because the identification information of the pulse detection devices corresponding to each pig is different, the number of the pigs can be accurately and efficiently counted according to the identification information;
receive the pulse threshold value that the client sent, classify the live pig according to this pulse threshold value and the pulse data of every pig, and the quantity of every kind of live pig of accurate statistics, realize the real-time supervision to the pulse data of live pig, when the pulse is unusual, the breeder of being convenient for in time discovers, the method is applicable to the live pig in each growth stage, also do not have special requirement to service environment and service condition, the installation finishes and can use, therefore, it is extensive to use, the reusability is high, the problem that current method rate of accuracy is low, the limitation is high has been solved.
Further, the pulse threshold includes a live pig pulse threshold, an alarm pulse threshold and a death pulse threshold, and the live pigs are classified according to the pulse threshold and the pulse data, and the number of each type of live pigs is obtained, including:
correspondingly dividing the live pigs into live pigs, pigs with abnormal pulse and dead pigs according to the live pig pulse threshold, the alarm pulse threshold, the dead pulse threshold and the pulse data;
and acquiring the number of live pigs, pigs with abnormal pulse and dead pigs according to the identification information corresponding to the pulse data of each type of live pigs.
In the implementation process, the pulse threshold value comprises a live pig pulse threshold value, an alarm pulse threshold value and a death pulse threshold value, the live pig can be divided into three types of live pigs, abnormal pulse pigs and dead pigs according to the three types of pulse threshold values, the number of each type of live pigs is accurately obtained, the change of the pulse data of each type of live pigs and the number of each type of live pigs can be monitored in real time, the abnormal pulse pigs and the dead pigs are positioned, so that monitoring and timely processing are facilitated, and in addition, according to the classification, the method is favorable for a breeder to screen the slaughtered pigs.
Further, before the step of receiving the pulse data of the live pig and the corresponding identification information sent by the pulse detection device, the method further comprises:
establishing communication connection with the pulse detection device to receive the identification information sent by the pulse detection device;
and counting the number of the live pigs according to the identification information, and establishing an initial live pig information database.
In the implementation process, the server is in communication connection with the pulse detection device, identification information of the pulse detection device is uploaded to the server, the number of live pigs in a piggery and identification information corresponding to each live pig are recorded, and an initial live pig information database is established so as to monitor the number change of each type of live pigs in the following process.
An embodiment of the present application further provides an electronic device, where the electronic device includes a memory and a processor, the memory is used for storing a computer program, and the processor runs the computer program to make the computer device execute any one of the above methods for detecting the number of live pigs.
An embodiment of the present application further provides a readable storage medium, where computer program instructions are stored, and when the computer program instructions are read and executed by a processor, the method for detecting the number of live pigs is performed.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are required to be used in the embodiments of the present application will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present application and therefore should not be considered as limiting the scope, and that those skilled in the art can also obtain other related drawings based on the drawings without inventive efforts.
Fig. 1 is a block diagram of a device for detecting the number of live pigs according to an embodiment of the present disclosure;
fig. 2 is a schematic structural diagram of an ear tag type pulse detection device according to an embodiment of the present disclosure;
fig. 3 is a block diagram of a circuit structure of an ear tag type pulse detection device according to an embodiment of the present disclosure;
FIG. 4 is a left side view of the ear tag type pulse detecting device;
FIG. 5 is a right side view of the ear tag type pulse detecting device;
FIG. 6 is a top view of the ear tag type pulse detection device;
FIG. 7 is a bottom view of the ear tag type pulse detection device;
fig. 8 is a flowchart of a method for detecting the number of live pigs according to an embodiment of the present application;
fig. 9 is a flowchart illustrating a specific process for classifying pigs according to pulse threshold and pulse data according to an embodiment of the present application;
fig. 10 is a flowchart for establishing an initial pig information database according to an embodiment of the present application.
Icon:
101-a first connection; 102-a second connection; 200-a light emitting diode; 300-a photosensor; 400-ear tag locking post; 500-circuit board.
Detailed Description
The technical solutions in the embodiments of the present application will be described below with reference to the drawings in the embodiments of the present application.
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. Meanwhile, in the description of the present application, the terms "first", "second", and the like are used only for distinguishing the description, and are not to be construed as indicating or implying relative importance.
Example 1
Referring to fig. 1, fig. 1 is a block diagram of a device for detecting the number of live pigs according to an embodiment of the present application. The device comprises a plurality of pulse detection devices arranged on pig ears, a server and a client, wherein the server is in communication connection with the pulse detection devices and the client; the client can be arranged on a host computer or a mobile terminal such as a mobile phone and other user pc terminals, so that the user can check the pulse signal state of the live pig in real time.
The pulse detection device is used for acquiring pulse data of the live pig;
for example, the pulse detection device may be an ear tag type pulse detection device which is mounted on the ear of a pig and can measure the pulse data of the pig according to the characteristic that the blood flow of the ear of the pig changes along with the heartbeat. Specifically, as shown in fig. 2, it is a schematic structural diagram of an ear tag type pulse detection device. The ear tag type pulse detecting device includes a housing having a U-shaped structure and a circuit board 500 disposed in the housing.
Fig. 3 is a block diagram of a circuit structure of an ear tag type pulse detection device according to an embodiment of the present disclosure. The circuit board 500 may specifically include:
the light emitting diode 200 is used for emitting light and irradiating the light to the photosensor 300 through the pig ear, and for example, a red light emitting diode may be used.
And the photoelectric sensor 300 is used for receiving light rays passing through the light emitting diode 200 of the pig ear so as to collect the pulse signal of the live pig. For example, the photosensor 300 may be an OPT101 type photosensor, and the OPT101 type photosensor is a device integrating a light-sensitive device and signal amplification.
And the controller is used for receiving and processing the pulse signals collected by the photoelectric sensor 300 and sending the pulse signals to the server. For example, the controller may use a UA800 single chip microcomputer and a 12MHz crystal oscillator, and the UA800 single chip microcomputer has a WIFI module and may be in communication connection with a remote server.
In addition, the circuit board 500 further includes a processing circuit formed by an operational amplifier and a voltage comparator, after the voltage signal output by the photoelectric sensor 300 is subjected to the operational processing of the operational amplifier, the pulse signal is converted into a square wave signal by the voltage comparator, so that the voltage signal collected by the photoelectric sensor 300 is converted into a square wave signal and is input to the controller.
For example, the operational amplifier may adopt a low-power operational amplifier LM158, and the voltage comparator may adopt a general integrated voltage comparator AD790 or a dual in-line AD790 single integrated voltage comparator.
In the processing process, a No. 5 pin of a chip of the OPT101 type photoelectric sensor outputs a fluctuating voltage signal, and the fluctuating voltage signal is transmitted to an inverting input end of a low-power operational amplifier LM158 through a resistor, a capacitor and the like, and in the process, in order to avoid interference signals, a bipolar coupling capacitor consisting of two capacitors is adopted for isolation; then a low-pass filter consisting of a capacitor and a resistor is used for removing high-frequency signals, wherein the cut-off frequency is 3.33 Hz; then the voltage comparator converts the voltage signal into a square wave signal and inputs the square wave signal into the UA800 singlechip; in addition, a potentiometer is used for adjusting the reference voltage of the voltage comparator so as to eliminate the difference of different pig ears.
In the working process of the ear tag type pulse detection device, pulse data of a live pig are collected by matching the light emitting diode 200 and the photoelectric sensor 300, specifically, the red light emitting diode emits red light which passes through the pig ear and irradiates on a light receiving window of the OPT101 type photoelectric sensor, when the blood flow of the pig ear changes along with the heartbeat, the red light emitted by the red light emitting diode and passing through the pig ear and reaching the light receiving window changes, so that the photocurrent generated by the OPT101 type photoelectric sensor also changes in a fluctuating manner, and the pulse signal of the heart of the live pig is collected by utilizing the fluctuation change of the photocurrent.
After the pulse signals are processed by the operational amplifier and the voltage comparator, the signals are converted into square wave signals and input into the UA800 single chip microcomputer, the UA800 single chip microcomputer receives the pulse signals converted into the square waves through pins, and after the pulse signals are calculated and processed by an MCU unit in the UA800 single chip microcomputer, the pulse signals are transmitted to a server through a WIFI module of the UA800 single chip microcomputer and a WIFI router arranged in a pigsty.
The housing of the U-shaped structure includes a first connecting portion 101 and a first connecting portion 102, one end of which is connected to each other, and the first connecting portion 101 and the first connecting portion 102 are both plate-shaped structures, and as shown in the figure, left ends of the first connecting portion 101 and the first connecting portion 102 are connected to each other and form the U-shaped structure.
The light emitting diode 200 is arranged on the upper side face of the first connecting portion 102, the photoelectric sensor 300 is arranged on the lower side face of the first connecting portion 101, the light emitting diode 200 and the photoelectric sensor 300 are oppositely arranged on the adjacent side of the first connecting portion 101 and the first connecting portion 102 of the shell, the photoelectric sensor 300 receives light rays emitted by the light emitting diode 200 and penetrating through pig ears, the blood flow changes to drive the light rays to change according to the heart beating, and pulse signals are collected according to the change of the light rays.
Fig. 4-7 show a left-right view and a pitch view of the ear tag type pulse detecting device, respectively. The shell is provided with an ear tag locking column 400 and a locking hole which are matched with each other, the first connecting part 102 is penetrated with the vertically arranged ear tag locking column 400, the corresponding position of the first connecting part 101 is provided with the locking hole matched with the ear tag locking column 400, and the ear tag locking column 400 is connected with the locking hole in a buckling manner; when using, pass the pig ear through ear tag pincers with ear tag hasp post 400 and detain in the lockhole of pig ear opposite side to on being fixed the pig ear with ear tag formula pulse detection device, ear tag formula pulse detection device passes through ear tag hasp post 400 and lockhole cooperation and uses fixedly to the pig ear, easy to assemble and dismantlement.
The client is used for setting a pulse threshold value and sending the pulse threshold value to the server;
and the server is used for storing the pulse data and the corresponding identification information and classifying the pigs according to the received pulse threshold value so as to obtain the number of each type of pigs.
The circuit board 500 further includes a power supply unit consisting of a battery and a power circuit, wherein the battery is used for supplying power to the light emitting diode 200, the photosensor 300, the operational amplifier, the voltage comparator and the controller; as shown in fig. 6, the circuit board 500 is disposed in the first connection portion 101.
In conclusion, the detected pulse data of the live pig are uploaded to the server through the pulse detection device so as to monitor the pulse data of the live pig in real time; meanwhile, live pigs are classified by utilizing a pulse threshold value set by a user in a client, the number of each type of live pigs is counted by utilizing identification information, the counting accuracy is high, and the change of the number of each type of live pigs and the change of the states of the live pigs are monitored so as to facilitate marketing screening; the device can be used after being installed, is not influenced by live pigs being slaughtered, has no requirement on the live pigs on use conditions, has high reuse rate, and solves the problems of low accuracy and high limitation of the existing method.
Example 2
The embodiment of the present application further provides a live pig number detection method, which is applied to the server of the live pig number detection device in embodiment 1, and as shown in fig. 8, is a flowchart of the live pig number detection method. The method may specifically comprise the steps of:
step S100: periodically receiving pulse data of the live pig and corresponding identification information sent by a pulse detection device;
in the implementation process, the pulse detection device sends the detected pulse data of the live pig to the server periodically, so that the server can monitor the pulse of the live pig in real time.
Step S200: receiving a pulse threshold value sent by a client;
step S300: and classifying the live pigs according to the pulse threshold and the pulse data, and acquiring the number of each type of live pigs.
For example, the pulse threshold may include a live pig pulse threshold, an alarm pulse threshold, and a death pulse threshold, and the server classifies the live pigs according to the received pulse threshold and pulse data, and obtains the number of each type of live pigs, so as to perform targeted monitoring on each type of live pigs, as shown in fig. 9, which is a specific flowchart for classifying the live pigs according to the pulse threshold and pulse data. Step S300 may specifically include:
step S301: correspondingly dividing live pigs into live pigs, pigs with abnormal pulse and dead pigs according to the live pig pulse threshold, the alarm pulse threshold, the dead pulse threshold and the pulse data;
step S302: and acquiring the number of live pigs, pigs with abnormal pulse and dead pigs according to the identification information corresponding to the pulse data of each type of live pigs.
In the implementation process, the user can set the pulse threshold value through the client of the upper computer or the mobile terminal, including live pig pulse threshold value, alarm pulse threshold value, death pulse threshold value, send these pulse threshold values to the server, the server classifies the pulse data of the live pig received according to the pulse threshold value set by the user, respectively corresponding to the live pig, the abnormal pig of pulse and the death pig, wherein, the live pig that the live pig pulse threshold value corresponds is healthy pig, the abnormal pig of pulse that the alarm pulse threshold value corresponds is the live pig that the pulse exists unusually still survives, the death pulse threshold value corresponds the death pig, the quantity of each type of live pig is confirmed through the identification information of the pulse detection device on the pig ear of each pig.
Before the step of receiving the pulse data of the live pig and the corresponding identification information sent by the pulse detection device, as shown in fig. 10, a flowchart of establishing an initial live pig information database is shown. The method further comprises the following steps:
step S401: establishing communication connection with a pulse detection device to receive identification information sent by the pulse detection device;
step S402: and counting the number of the live pigs according to the identification information, and establishing an initial live pig information database.
In the implementation process, taking a certain pigsty as an example, arranging a WIFI router in the pigsty, wearing ear tag type pulse detection devices on the ears of each pig, wherein each ear tag type pulse detection device has a unique identifier, and the ear tag type pulse detection devices are in communication connection with a server through WIFI and upload identifier information to the server, correspond the identifier information to each live pig, establish archive information of each live pig, count the number of the live pigs and establish an initial live pig information database; the ear tag type pulse detection device worn on the pig ear of each pig is connected with the server to be put into use, and the reusability is strong.
Uploading the measured pulse data of the live pigs to a server, and storing the pulse data of each live pig by the server; receiving live pig pulse threshold values, alarm pulse threshold values and death pulse threshold values sent by a client, classifying the live pigs according to the pulse threshold values, counting the number of each type of live pigs, and monitoring the state and the number of each type of live pigs according to pulse data received regularly, so that a breeder can know the states of all the live pigs in a pigsty in real time; in addition, the classification also facilitates the screening of live pigs when they are slaughtered.
Example 3
An embodiment of the present application further provides an electronic device, where the electronic device includes a memory and a processor, the memory is used to store a computer program, and the processor runs the computer program to enable the computer device to execute the live pig number detection method according to embodiment 2.
The embodiment of the present application further provides a readable storage medium, where computer program instructions are stored, and when the computer program instructions are read and executed by a processor, the method for detecting the number of live pigs in embodiment 2 is executed.
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 application. 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 some 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, functional modules in the embodiments of the present application 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 application or portions thereof that substantially contribute to the prior art may be embodied in the form of a software product stored in a storage medium and including instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present application. 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.
The above description is only an example of the present application and is not intended to limit the scope of the present application, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, improvement and the like made within the spirit and principle of the present application shall be included in the protection scope of the present application. 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 description is only for the specific embodiments of the present application, but the scope of the present application is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present application, and shall be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.
It is noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.

Claims (10)

1. The device for detecting the number of the live pigs is characterized by comprising a pulse detection device, a server and a client, wherein the pulse detection device, the server and the client are arranged on ears of the pigs;
the pulse detection device is used for acquiring pulse data of the live pigs;
the client is used for setting a pulse threshold value and sending the pulse threshold value to the server;
and the server is used for storing the pulse data and the corresponding identification information and classifying the pigs according to the received pulse threshold value so as to obtain the number of each type of pigs.
2. The device for detecting the number of live pigs according to claim 1, wherein the pulse detection device is an ear tag type pulse detection device, and the ear tag type pulse detection device comprises a shell with a U-shaped structure and a circuit board arranged in the shell.
3. The live pig number detecting device according to claim 2, wherein the circuit board comprises:
the light emitting diode is used for emitting light rays and irradiating the light rays on the photoelectric sensor through the pig ear;
the photoelectric sensor is used for receiving light rays passing through the light emitting diodes of the pig ears so as to collect pulse signals of the pigs;
and the controller is used for receiving and processing the pulse signals collected by the photoelectric sensor and sending the pulse signals to the server.
4. The live pig number detecting device according to claim 3, wherein the housing of the U-shaped structure comprises a first connecting part and a second connecting part, one ends of which are connected with each other;
the light emitting diode and the photoelectric sensor are respectively and oppositely arranged on the first connecting part and the second connecting part of the shell, so that the photoelectric sensor receives light rays emitted by the light emitting diode and penetrating through the pig ears;
be provided with the ear tag hasp post and the lockhole of mutual supporting on the casing, ear tag hasp post pass the pig ear with the lockhole is connected, in order with ear tag formula pulse detection device is fixed to the pig ear.
5. The live pig number detecting device according to claim 3, wherein the circuit board further comprises an operational amplifier and a voltage comparator, after the voltage signal output by the photoelectric sensor is subjected to operational processing by the operational amplifier, the voltage comparator converts the pulse signal into a square wave signal, so that the voltage signal collected by the photoelectric sensor is converted into a square wave signal and is input to the controller.
6. A method for detecting the number of pigs, which is applied to a server of the apparatus for detecting the number of pigs according to claim 1 or 2, the method comprising:
periodically receiving pulse data of the live pig and corresponding identification information sent by a pulse detection device;
receiving a pulse threshold value sent by a client;
and classifying the live pigs according to the pulse threshold and the pulse data, and acquiring the number of each type of live pigs.
7. The method for detecting the number of live pigs according to claim 6, wherein the pulse thresholds include a live pig pulse threshold, an alarm pulse threshold and a death pulse threshold, and the classifying the live pigs according to the pulse thresholds and the pulse data and obtaining the number of each type of live pigs comprises:
correspondingly dividing the live pigs into live pigs, pigs with abnormal pulse and dead pigs according to the live pig pulse threshold, the alarm pulse threshold, the dead pulse threshold and the pulse data;
and acquiring the number of live pigs, pigs with abnormal pulse and dead pigs according to the identification information corresponding to the pulse data of each type of live pigs.
8. The method for detecting the number of live pigs according to claim 6, wherein before the step of receiving the pulse data of the live pigs sent by the pulse detection device and the corresponding identification information, the method further comprises:
establishing communication connection with the pulse detection device to receive the identification information sent by the pulse detection device;
and counting the number of the live pigs according to the identification information, and establishing an initial live pig information database.
9. An electronic device, characterized in that the electronic device comprises a memory for storing a computer program and a processor for executing the computer program to cause the computer device to perform the live pig number detection method according to any one of claims 6 to 8.
10. A readable storage medium, wherein computer program instructions are stored in the readable storage medium, and when the computer program instructions are read and executed by a processor, the method for detecting the number of live pigs according to any one of claims 6 to 8 is executed.
CN201911232975.6A 2019-12-04 2019-12-04 Live pig number detection device and detection method Pending CN110999810A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911232975.6A CN110999810A (en) 2019-12-04 2019-12-04 Live pig number detection device and detection method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911232975.6A CN110999810A (en) 2019-12-04 2019-12-04 Live pig number detection device and detection method

Publications (1)

Publication Number Publication Date
CN110999810A true CN110999810A (en) 2020-04-14

Family

ID=70115608

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911232975.6A Pending CN110999810A (en) 2019-12-04 2019-12-04 Live pig number detection device and detection method

Country Status (1)

Country Link
CN (1) CN110999810A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113628165A (en) * 2021-07-12 2021-11-09 杨龙 Livestock rotating fence checking method, device and storage medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113628165A (en) * 2021-07-12 2021-11-09 杨龙 Livestock rotating fence checking method, device and storage medium

Similar Documents

Publication Publication Date Title
CN104305972B (en) Multi-parameter monitoring based on intelligent watch with it is health management system arranged
CN103325080B (en) A kind of home for the aged based on technology of Internet of things intelligent safeguard system and method
KR101961311B1 (en) Disease Prediction and Notification System for Livestock
CN103646492B (en) Remote medical monitor and safety defense monitoring system
US11145174B2 (en) Methods and system for monitoring an environment
CN113662530B (en) Pig physiological growth state monitoring and early warning method
CN104361724B (en) Device and method for detecting peeing of baby
CN110999810A (en) Live pig number detection device and detection method
KR102371506B1 (en) System and method for checking status of construction site worker
CN110811583B (en) Heart rate monitoring method and device, electronic equipment and computer readable storage medium
KR20120138313A (en) Method for notifying emergency situation and u-health apparatus using the same
CN211832364U (en) Pulse detection device
CN117150313A (en) Power information communication method and system based on abnormal state identification
CN205067288U (en) Dust detection device
KR20130088667A (en) U-it based remote image medical device for improvement of livestock productivity
US7155365B1 (en) Optimal bandwidth and power utilization for ad hoc networks of wireless smart sensors
TW201727589A (en) Notification system of environment abnormality and the notification method of the same
CN106292610B (en) Intelligent home control system
CN211796430U (en) Domestic animal state monitoring facilities
CN113944986A (en) Air purifier and detection method and detection device for service life of filter screen of air purifier
CN212436910U (en) Object motion behavior detection device and system
CN211793688U (en) Live pig early lameness detection and alarm device based on limb hoof infrared thermal imaging
CN211506655U (en) Based on wisdom all-in-one of shooing
CN105635293A (en) Method of collecting sign data by using household smart terminal
CN205388753U (en) Intelligence medical system based on cloud platform

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