CN112704024B - Pet dog emergency placating system based on Internet of things - Google Patents
Pet dog emergency placating system based on Internet of things Download PDFInfo
- Publication number
- CN112704024B CN112704024B CN202011599867.5A CN202011599867A CN112704024B CN 112704024 B CN112704024 B CN 112704024B CN 202011599867 A CN202011599867 A CN 202011599867A CN 112704024 B CN112704024 B CN 112704024B
- Authority
- CN
- China
- Prior art keywords
- data
- pet
- training
- abnormal
- time
- 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
Links
- 238000004422 calculation algorithm Methods 0.000 claims abstract description 16
- 238000013480 data collection Methods 0.000 claims abstract description 6
- 230000002159 abnormal effect Effects 0.000 claims description 84
- 230000008451 emotion Effects 0.000 claims description 84
- 238000012549 training Methods 0.000 claims description 54
- 238000003066 decision tree Methods 0.000 claims description 41
- 238000013145 classification model Methods 0.000 claims description 34
- 238000009826 distribution Methods 0.000 claims description 12
- 238000000034 method Methods 0.000 claims description 12
- 238000013500 data storage Methods 0.000 claims description 11
- 238000012512 characterization method Methods 0.000 claims description 10
- 238000012360 testing method Methods 0.000 claims description 9
- 238000005728 strengthening Methods 0.000 claims description 6
- 238000012795 verification Methods 0.000 claims description 6
- 230000001360 synchronised effect Effects 0.000 claims description 5
- 230000009471 action Effects 0.000 claims description 4
- 230000001914 calming effect Effects 0.000 claims description 4
- 230000002996 emotional effect Effects 0.000 claims description 4
- 238000012545 processing Methods 0.000 claims description 4
- 230000029058 respiratory gaseous exchange Effects 0.000 claims description 4
- 238000013459 approach Methods 0.000 claims description 3
- 230000006399 behavior Effects 0.000 claims description 3
- 230000008859 change Effects 0.000 claims description 3
- 238000009795 derivation Methods 0.000 claims description 3
- 230000008569 process Effects 0.000 claims description 2
- 230000036391 respiratory frequency Effects 0.000 claims description 2
- 238000004364 calculation method Methods 0.000 claims 1
- 230000003211 malignant effect Effects 0.000 abstract description 4
- 241000282472 Canis lupus familiaris Species 0.000 description 48
- 238000007726 management method Methods 0.000 description 5
- 238000011161 development Methods 0.000 description 2
- 238000010586 diagram Methods 0.000 description 2
- 230000036651 mood Effects 0.000 description 2
- 238000004458 analytical method Methods 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000007405 data analysis Methods 0.000 description 1
- 238000007418 data mining Methods 0.000 description 1
- 238000013499 data model Methods 0.000 description 1
- 230000003247 decreasing effect Effects 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 238000010801 machine learning Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000036387 respiratory rate Effects 0.000 description 1
- 238000000638 solvent extraction Methods 0.000 description 1
Images
Classifications
-
- A—HUMAN NECESSITIES
- A01—AGRICULTURE; FORESTRY; ANIMAL HUSBANDRY; HUNTING; TRAPPING; FISHING
- A01K—ANIMAL HUSBANDRY; AVICULTURE; APICULTURE; PISCICULTURE; FISHING; REARING OR BREEDING ANIMALS, NOT OTHERWISE PROVIDED FOR; NEW BREEDS OF ANIMALS
- A01K29/00—Other apparatus for animal husbandry
- A01K29/005—Monitoring or measuring activity, e.g. detecting heat or mating
-
- A—HUMAN NECESSITIES
- A01—AGRICULTURE; FORESTRY; ANIMAL HUSBANDRY; HUNTING; TRAPPING; FISHING
- A01K—ANIMAL HUSBANDRY; AVICULTURE; APICULTURE; PISCICULTURE; FISHING; REARING OR BREEDING ANIMALS, NOT OTHERWISE PROVIDED FOR; NEW BREEDS OF ANIMALS
- A01K15/00—Devices for taming animals, e.g. nose-rings or hobbles; Devices for overturning animals in general; Training or exercising equipment; Covering boxes
- A01K15/02—Training or exercising equipment, e.g. mazes or labyrinths for animals ; Electric shock devices ; Toys specially adapted for animals
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06N—COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06N5/00—Computing arrangements using knowledge-based models
- G06N5/01—Dynamic search techniques; Heuristics; Dynamic trees; Branch-and-bound
-
- G—PHYSICS
- G08—SIGNALLING
- G08B—SIGNALLING OR CALLING SYSTEMS; ORDER TELEGRAPHS; ALARM SYSTEMS
- G08B21/00—Alarms responsive to a single specified undesired or abnormal condition and not otherwise provided for
- G08B21/18—Status alarms
- G08B21/24—Reminder alarms, e.g. anti-loss alarms
-
- G—PHYSICS
- G10—MUSICAL INSTRUMENTS; ACOUSTICS
- G10L—SPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
- G10L25/00—Speech or voice analysis techniques not restricted to a single one of groups G10L15/00 - G10L21/00
- G10L25/27—Speech or voice analysis techniques not restricted to a single one of groups G10L15/00 - G10L21/00 characterised by the analysis technique
-
- G—PHYSICS
- G10—MUSICAL INSTRUMENTS; ACOUSTICS
- G10L—SPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
- G10L25/00—Speech or voice analysis techniques not restricted to a single one of groups G10L15/00 - G10L21/00
- G10L25/48—Speech or voice analysis techniques not restricted to a single one of groups G10L15/00 - G10L21/00 specially adapted for particular use
- G10L25/51—Speech or voice analysis techniques not restricted to a single one of groups G10L15/00 - G10L21/00 specially adapted for particular use for comparison or discrimination
- G10L25/63—Speech or voice analysis techniques not restricted to a single one of groups G10L15/00 - G10L21/00 specially adapted for particular use for comparison or discrimination for estimating an emotional state
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/12—Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
Landscapes
- Engineering & Computer Science (AREA)
- Life Sciences & Earth Sciences (AREA)
- Health & Medical Sciences (AREA)
- Environmental Sciences (AREA)
- Physics & Mathematics (AREA)
- Signal Processing (AREA)
- Computational Linguistics (AREA)
- General Health & Medical Sciences (AREA)
- Acoustics & Sound (AREA)
- Multimedia (AREA)
- Biodiversity & Conservation Biology (AREA)
- Theoretical Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Animal Husbandry (AREA)
- Audiology, Speech & Language Pathology (AREA)
- Human Computer Interaction (AREA)
- Computing Systems (AREA)
- Data Mining & Analysis (AREA)
- Physical Education & Sports Medicine (AREA)
- Medical Informatics (AREA)
- Computer Networks & Wireless Communication (AREA)
- Mathematical Physics (AREA)
- Biophysics (AREA)
- General Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Artificial Intelligence (AREA)
- Evolutionary Computation (AREA)
- Animal Behavior & Ethology (AREA)
- Zoology (AREA)
- Business, Economics & Management (AREA)
- Emergency Management (AREA)
- Child & Adolescent Psychology (AREA)
- Hospice & Palliative Care (AREA)
- Psychiatry (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
The invention discloses an Internet of things-based pet dog emergency pacifying system, which is used for solving the problem that how to perform emergency pacifying on a pet dog and disputes caused by dog raising every year and the problem that the event layer of dog hurting people is endless; the intelligent wearable device is used for collecting real-time data of the pet dog, playing sound, interacting with the pet owner through the corresponding pet APP and uploading the collected real-time data to the data layer; the data layer is used for receiving real-time data uploaded by the intelligent wearable equipment and data information on a network, and the data collection platform is a group of data receiving servers; according to the invention, pet management is combined with Internet of things intelligent equipment and a big data algorithm, and the pet dog emergency placating system is used for preventing accidents in the future, so that the occurrence of the malignant events is effectively avoided, and the public safety is improved.
Description
Technical Field
The invention relates to the technical field of pet dog pacifying, in particular to a pet dog emergency pacifying system based on the Internet of things.
Background
In recent years, with the development of countries, more and more people raise pets, and urban life pressure is relieved by pets, wherein pet dogs are selected to occupy most of the pets, but with the development of urbanization, the activity space of people is smaller and smaller, pet dogs and residents often share the same public area, in order to strengthen management, government departments all over the world have made a rather strict management system, and nevertheless disputes caused by raising dogs are still increasing and decreasing every year, the events of dog hurting people are endless, and public security cases and official officials caused by dog hurting people are continuous. How to prevent the occurrence of such events fundamentally becomes a problem to be solved urgently.
Disclosure of Invention
The invention aims to provide an emergency pet dog pacifying system based on the Internet of things, aiming at solving the problems that how to perform emergency pacifying on a pet dog and disputes caused by dog raising every year and the occurrence of injuring people by the dog are reduced; according to the invention, pet management is combined with Internet of things intelligent equipment and a big data algorithm, and the pet dog emergency placating system is used for preventing accidents in the future, so that the occurrence of the malignant events is effectively avoided, and the public safety is improved.
The purpose of the invention can be realized by the following technical scheme: a pet dog emergency pacifying system based on the Internet of things comprises a data layer, a data collection platform, a big data storage platform, a big data computing platform, a training layer, a user application layer and intelligent wearable equipment;
the intelligent wearable device is used for collecting real-time data of the pet dog, playing sound, interacting with a pet owner through the corresponding pet APP and uploading the collected real-time data to the data layer; the data layer is used for receiving real-time data uploaded by the intelligent wearable equipment and data information on a network, and the data collection platform is a group of data receiving servers and used for sending the received data to the big data storage platform;
the big data storage platform comprises a hadoop module and a search engine module; the hadoop module is used for storing the abnormal emotion characterization data of the pet and other basic data and providing the abnormal emotion characterization data and other basic data for the big data computing platform to analyze and use; the search engine module is used for positioning the information of the pet in real time and providing the information for the pet APP for real-time query;
the big data computing platform is used for carrying out big data algorithm classification model training and obtaining a pet abnormal emotion decision tree classification model through training; wherein, the big data algorithm is a decision tree;
the training layer is used for training the pet dog by using the intelligent wearable device through the pet abnormal emotion decision tree classification model to obtain a soothing scheme of the pet dog under various abnormal emotions;
the user application layer is used for a pet owner to check pet information and placate a scheme in real time through the mobile phone APP.
Preferably, the data computing platform is composed of spark ecology, including spark-core, spark-sql, spark mllib, and spark-streaming.
Preferably, the real-time data comprises GPS positioning, sound, pulse heartbeat, respiratory rate, motion condition, pet heart rate data, and cry, cry size and motion data of various abnormal emotions of the pet; the data information comprises real-time pet positioning data and abnormal pet emotion representation data; the pet information comprises pet positions and pet emotional states.
Preferably, the emergency placating method of the system comprises the following steps:
s1: receiving real-time data uploaded by the intelligent wearable device and data information on a network through a data layer;
s2: carrying out big data algorithm classification model training on the abnormal emotion characterization data of the pet through a big data computing platform to obtain an abnormal emotion decision tree classification model of the pet;
s3: initializing the intelligent wearable equipment, selecting a pet dog type by a user, and storing synchronous data into the intelligent wearable equipment; the synchronous data comprises basic data and an abnormal emotion decision tree classification model;
s4: a pet owner trains a pet dog by using the intelligent wearable device, trains an optimal appeasing scheme for various abnormal emotions through multiple times of training, evaluates whether the scheme is qualified, and finishes the training if the scheme is qualified;
s5: when abnormal emotions occur to the pet dog, the abnormal emotions are detected through feedback data of the intelligent wearing equipment and the abnormal emotion condition decision tree classification model, the intelligent wearing equipment plays soothing sounds, the soothing sounds are processed, early warning reminding is sent to a pet dog owner, and when the soothing cannot be completed within effective time, the pet dog is analyzed and forced to sooth.
Preferably, the abnormal emotion classification model training in S2 by data mining includes the following steps:
s21: processing the real-time data and the data information received by the data layer, wherein the processing process comprises the following steps: dividing a training set and a verification data set by using a leave-out method, calculating the characteristic importance degree of each performance characteristic of the abnormal emotion of the pet by using a big data decision tree algorithm and combining ID3 and CS4.5, and evaluating the characteristic importance degree by the information gain of the decision tree; the method comprises the steps of obtaining an optimal decision tree classification model through multiple iterative training and verification for decision tree node division standards, and performing model strengthening retraining regularly in a set time period;
s22: using the formula ofObtaining information Gain (D, a), namely calculating information entropy change conditions brought by using a certain characteristic as a certain branch standard of the decision tree before and after division, wherein Ent (D) is the information entropy before division,for the divided information entropy, the larger the information gain is, the more important the feature importance degree is;
the intelligent wearable equipment in the S3 is initialized as follows: and acquiring initialization data, wherein the initialization data comprises a trained abnormal emotion decision tree classification model and time T from the beginning of each abnormal emotion to the occurrence of severe behaviors.
Preferably, the training of the pet dog in the step S4 comprises the following steps:
s41: the intelligent wearable equipment collects the sound, pulse and heartbeat states, the breathing states and the pet action states of the pet dog in various states; the voice comprises tone and voice size, and is used for voice recognition, and relevant representation data is input into the abnormal emotion condition decision tree classification model of the corresponding type of pet dog to obtain whether the pet dog enters an abnormal emotion state or not;
s42: selecting a pacifying sound from a plurality of alternative pacifying data sets input by a pet owner for playing, recording a pacifying effective time T _ A and prompting the pet owner to give a reward if the pacifying is successful;
s43: through multiple times of training, after the effective calming time T _ A < T of the abnormal emotion, 10 times of continuous tests are carried out in different time periods, and the effective calming time T _ A < T is established; if the pacifying succeeds each time and the probability that the effective time T _ A < T is p, the pacifying succeeds for ten times and T _ A < T, and two-term distribution is met;
the binomial distribution is a two-point distribution of N times:
probability of two-point distribution P = P x ×(1-p) (1-x) Wherein x is equal to 1 or equal to 0;
to obtainThe derivation of p is made to make the result equal to 0 for the extreme value of p, and the formula is transformed into:thereby can obtainWhen 10 consecutive tests are successful in several different time periods, i.e. N =10p =1,p occurrence probability has approached 1, so this abnormal mood placation is successful and effective time TA is placated<T approaches to the inevitable event, and the abnormal emotion training is judged to be qualified; training the soothing of other abnormal emotions according to the same steps, storing the qualified data in a big data storage platform and intelligent wearable equipment respectively, and strengthening the training of each abnormal emotion again through warning reminding in a preset period.
Compared with the prior art, the invention has the beneficial effects that: according to the invention, pet management is combined with Internet of things intelligent equipment and a big data algorithm, and the pet dog emergency placating system is used for preventing accidents in the future, so that the occurrence of the malignant events is effectively avoided, and the public safety is improved.
Drawings
In order to facilitate understanding for those skilled in the art, the present invention will be further described with reference to the accompanying drawings.
FIG. 1 is an architectural diagram of the present invention;
FIG. 2 is a logic diagram of the present invention.
Detailed Description
The technical solutions of the present invention will be described below clearly and completely in conjunction with the embodiments, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Referring to fig. 1-2, an internet of things-based pet dog emergency pacifying system comprises a data layer, a data collection platform, a big data storage platform, a big data computing platform, a training layer and a user application layer;
the data layer comprises data collected by various channels such as intelligent equipment collection uploading and network, and the data comprises real-time pet positioning data and abnormal pet emotion representation data;
the data collection platform is a group of data receiving servers and sends the received data to the big data storage platform;
the big data storage platform comprises two parts, wherein one part is that abnormal emotion characterization data of pets and other basic data are stored by the hadoop platform and are used for analysis of the big data analysis platform; a part of search engine elastic search stores the real-time positioning information of the pet, and can be used for the pet APP to inquire in real time;
the big data computing platform is formed by spark ecology, comprises spark-core, spark-sql, spark-mllib, spark-streaming and the like, and is mainly used for carrying out big data decision tree classification model training and obtaining a pet abnormal emotion decision tree model through training;
the training layer is used for training the pet dog by the pet owner based on the pet abnormal emotion decision tree model by using intelligent equipment, so that an optimal placating scheme of the pet dog under various abnormal emotions is obtained;
the user application layer pet owner can check data such as pet position, pet emotion state and pet heart rate in real time through the mobile phone APP at ordinary times; when an emergency occurs, abnormal emotions of the pet dog occur, the system immediately feeds back data through intelligent equipment and detects the abnormal emotions through an abnormal emotion decision tree classification model, and an optimal pacifying scheme is intelligently selected for pacifying;
in order to achieve the above object, an internet of things-based pet dog emergency placating method, shown in fig. 2, includes:
s1: the intelligent wearable device has the functions of GPS positioning, sound collection and playing, pulse and heartbeat collection, respiratory frequency collection and motion condition collection, real-time data can be uploaded to the cloud server, a pet owner can interact with the intelligent device through the corresponding APP, and cloud data can be obtained in real time;
s2: the cloud big data service system is used for representing the abnormal emotion characterization data of the pet, which are collected by various channels such as user uploaded data, a network and the like, and the collected data comprise the data of the cry, the size of the cry, the heartbeat pulse, the respiration and the action of the pet in various abnormal emotions; performing machine learning through a big data algorithm such as a decision tree to obtain a pet abnormal emotion classification model; the model training steps are as follows:
dividing a training set and a verification data set by using a leave-out method, calculating the information gain of each performance characteristic of abnormal emotion of the pet by combining ID3 and CS4.5 by using a big data decision tree algorithm to evaluate the importance degree of the characteristic so as to be used as a decision tree node division standard, and obtaining an optimal decision tree classification model by carrying out repeated iterative training and verification; performing model strengthening retraining on the final classification model based on time period timing;
information gain computation logicNamely, the information entropy change condition brought by a certain characteristic used as a certain branch standard of the decision tree before and after division is calculated,
ent (D) is the entropy of the information before partitioning,for the divided information entropy, the larger the information gain, the more important the characteristic is;
s3: initializing intelligent equipment, selecting a pet dog type by a user, and synchronizing data from a cloud server to local intelligent equipment by a system; the synchronous data comprises abnormal emotion decision tree classification models trained by cloud big data service, and each abnormal emotion starts until severe behavior time T appears;
s4: the master uses the intelligent equipment to train the pet dog, trains for multiple times to train an optimal appeasing scheme for various abnormal emotions, evaluates whether the scheme is qualified, and finishes the training if the scheme is qualified; and re-strengthening training for each abnormal emotion through warning reminding in a certain period;
the training mode comprises the following steps: the pet dog training method comprises the steps that a pet dog trains, a master inputs a plurality of soothing sounds as an alternative soothing sound set, the system collects sounds, pulse heartbeat states, breathing states and pet action states of the pet dog in various abnormal states, wherein the sounds comprise tone and sound size, voice recognition is carried out, relevant representation data are input into an abnormal emotion condition decision tree classification model of a corresponding type of pet dog in the system, emotion conditions, such as attack and anger states, of the current pet dog are obtained, the optimal soothing sounds under each emotion are trained from the alternative soothing sound set, and if the soothing is successful, the system records effective soothing time T _ A and prompts the master to give a pet reward;
training for multiple times until the effective time T _ A of the abnormal emotion placation is less than T, and performing 10 continuous tests for multiple times in different time periods; and the pacifying effective time T _ A < T is established; if the pacifying succeeds each time and the probability that the effective time T _ A < T is p, the pacifying succeeds ten times and the effective time T _ A < T, because 10 continuous tests in different time periods succeed for multiple times, the test is not a random event, and each test is successful or failed, so that two distributions are met;
the binomial distribution is a two-point distribution of N times:
probability of two-point distribution P = P x * (1-p) (1-x) wherein x is equal to 1 or equal to 0
Likelihood functionThe logarithm based on e is taken on both sides of the equationDerivation is performed on p, the result is equal to 0 to obtain the p extremum, and the formula is transformed into:thereby can obtainSince 10 consecutive tests were successful over several different time periods, N =10So the p =1,p occurrence probability has approached 1, so this abnormal mood placating is successful and the effective time TA is placated<T approaches to the inevitable event, and the abnormal emotion training system judges the abnormal emotion to be qualified;
training other abnormal emotions to pacify according to the same steps; storing the qualified data in the cloud and the intelligent equipment respectively, and performing re-strengthening training on each abnormal emotion through warning reminding in a certain period;
s5: the pet owner can check data such as pet position, pet emotional state and pet heart rate in real time through the mobile phone APP at ordinary times; the owner walks the dog at ordinary times; when an emergency situation is met, abnormal emotion of the pet dog occurs, if offensive emotion occurs, the system immediately detects the abnormal emotion through feedback data of the intelligent wearable device and a decision tree classification model of the abnormal emotion condition, intelligently plays soothing sound after training is completed, conducts soothing treatment and sends out early warning prompt to a master of the pet dog, and if the soothing cannot be completed within the time T, the system determines whether to conduct forced soothing according to different situations;
installing a jdk environment, downloading a jdk8, and configuring corresponding environment variables;
deploying a zookeeper cluster, modifying a configuration file zoo.cfg, configuring cluster information, writing a serial number of a machine in the cluster for myid, performing the same configuration on all machines of the zookeeper, coordinating service of a zookeeper distributed application program, and serving a big data system;
deploying a HADOOP cluster and configuring host hosts; ssh mutual trust among all machines of a cluster is configured, namely ssh access does not need passwords; downloading the hadoop and decompressing to a corresponding directory, and configuring corresponding configuration files core-site.xml, hdfs-site.xml, yarn-site.xml, mapred-site.xml, hadoop-env.sh, yarn-env.sh and slaves; all the machines of the hadoop cluster are configured in the same way;
deploying a spark cluster, modifying a configuration file spark-env.sh, and adding configurations such as a Master and a log directory; conf, modifying spark and increasing spark operation parameter configuration; modifying the slave and increasing the slave node; all the machines are configured in the same way, and big data model training is carried out through spark;
deploying an elastic search cluster, modifying a configuration file elastic search.yml, configuring cluster information, creating a file and a log path, and configuring a jvm parameter; all machines in the elastic search are configured in the same way;
when the intelligent wearable device is used, real-time data uploaded by the intelligent wearable device and data information on a network are received through a data layer; carrying out big data algorithm classification model training on the abnormal emotion characterization data of the pet through a big data computing platform to obtain a decision tree classification model of the abnormal emotion of the pet; initializing the intelligent wearable equipment, selecting a pet dog type by a user, and storing synchronous data into the intelligent wearable equipment; wherein the synchronization data comprises basic data and an abnormal emotion decision tree classification model; a pet owner trains a pet dog by using the intelligent wearable device, trains an optimal appeasing scheme for various abnormal emotions through multiple times of training, evaluates whether the scheme is qualified, and finishes the training if the scheme is qualified; when abnormal emotions occur to the pet dog, the abnormal emotions are detected through feedback data of the intelligent wearing equipment and the abnormal emotion condition decision tree classification model, the intelligent wearing equipment plays soothing sounds, the soothing sounds are treated, an early warning prompt is sent to a pet dog owner, and when the soothing cannot be completed within effective time, the pet dog is analyzed and forced soothing is carried out; the invention combines pet management with Internet of things intelligent equipment and a big data algorithm, and prevents the pet from happening in the future through a pet dog emergency placating system, thereby effectively avoiding the occurrence of the malignant event and improving the public safety.
The preferred embodiments of the invention disclosed above are intended to be illustrative only. The preferred embodiments are not intended to be exhaustive or to limit the invention to the precise form disclosed. Obviously, many modifications and variations are possible in light of the above teaching. The embodiments were chosen and described in order to best explain the principles of the invention and the practical application, to thereby enable others skilled in the art to best utilize the invention. The invention is limited only by the claims and their full scope and equivalents.
Claims (3)
1. A pet dog emergency pacifying system based on the Internet of things is characterized by comprising a data layer, a data collecting platform, a big data storage platform, a big data computing platform, a training layer, a user application layer and intelligent wearing equipment;
the intelligent wearable device is used for collecting real-time data of the pet dog, playing sound, interacting with a pet owner through the corresponding pet APP and uploading the collected real-time data to the data layer; the data layer is used for receiving real-time data uploaded by the intelligent wearable equipment and data information on a network, and the data collection platform is a group of data receiving servers and used for sending the received data to the big data storage platform;
the big data storage platform comprises a hadoop module and a search engine module; the hadoop module is used for storing the abnormal emotion characterization data of the pet and other basic data and providing the abnormal emotion characterization data and other basic data for the big data computing platform to analyze and use; the search engine module is used for positioning the information of the pet in real time and providing the information for the pet APP for real-time query;
the big data computing platform is used for carrying out big data algorithm classification model training and obtaining a pet abnormal emotion decision tree classification model through training; wherein, the big data algorithm is a decision tree;
the training layer is used for training the pet dog by using the intelligent wearable device through the pet abnormal emotion decision tree classification model to obtain a soothing scheme of the pet dog under various abnormal emotions;
the user application layer is used for enabling a pet owner to check pet information and placate a scheme in real time through the mobile phone APP;
the big data computing platform is composed of spark ecology and comprises spark-core, spark-sql, spark-mllib and spark-streaming;
the real-time data comprises GPS positioning, sound, pulse heartbeat, respiratory frequency, motion conditions, pet heart rate data, and various cry, cry size and motion data of the pet in abnormal emotion; the data information comprises real-time pet positioning data and abnormal pet emotion representation data; the pet information comprises pet positions and pet emotional states;
the emergency placating method of the system comprises the following steps:
s1: receiving real-time data uploaded by the intelligent wearable device and data information on a network through a data layer;
s2: carrying out big data algorithm classification model training on the abnormal emotion characterization data of the pet through a big data computing platform to obtain an abnormal emotion decision tree classification model of the pet;
s3: initializing the intelligent wearable device, selecting a pet dog type by a user, and storing synchronous data into the intelligent wearable device; wherein the synchronization data comprises basic data and an abnormal emotion decision tree classification model;
s4: a pet owner trains a pet dog by using intelligent wearable equipment, trains an optimal appeasing scheme for various abnormal emotions through multiple times of training, evaluates whether the scheme is qualified or not, and finishes training when the scheme is qualified;
s5: when abnormal emotions occur to the pet dog, the abnormal emotions are detected through feedback data of the intelligent wearing equipment and the abnormal emotion condition decision tree classification model, the intelligent wearing equipment plays soothing sounds, the soothing sounds are treated, an early warning prompt is sent to a pet dog owner, and when the soothing cannot be completed within effective time, the pet dog is analyzed and forced soothing is carried out;
in S2, big data algorithm classification model training is carried out on the abnormal emotion characterization data of the pet through a big data computing platform, and the method comprises the following steps:
s21: processing the real-time data and the data information received by the data layer, wherein the processing process comprises the following steps: dividing a training set and a verification data set by using a leave-out method, calculating the characteristic importance degree of each performance characteristic of the abnormal emotion of the pet by using a big data decision tree algorithm and combining ID3 and CS4.5, and evaluating the characteristic importance degree by the information gain of the decision tree; the method comprises the steps of obtaining an optimal decision tree classification model through multiple iterative training and verification for decision tree node division standards, and performing model enhancement training at set time periods in a fixed time;
s22: using the formula of calculation asObtaining information Gain (D, a), namely calculating information entropy change conditions brought by using a certain characteristic as a certain branch standard of the decision tree before and after division, wherein Ent (D) is the information entropy before division,for the divided information entropy, the larger the information gain, the more important the feature importance degree.
2. The internet of things-based pet dog emergency pacifying system according to claim 1, wherein in the S3, the intelligent wearable device is initialized to: and acquiring initialization data, wherein the initialization data comprises a trained abnormal emotion decision tree classification model and time T from the beginning of each abnormal emotion to the occurrence of severe behaviors.
3. The Internet of things-based pet dog emergency pacifying system according to claim 1, wherein the training of the pet dog in the S4 comprises the following steps:
s41: the intelligent wearable equipment collects the sound, pulse and heartbeat states, breathing states and pet action states of the pet dog in various states; the voice comprises tone and voice size, is used for voice recognition, and inputs related representation data into an abnormal emotion condition decision tree classification model of a corresponding type of pet dog to obtain whether to enter an abnormal emotion state;
s42: selecting a pacifying sound from a plurality of alternative pacifying data sets input by a pet owner for playing, and if the pacifying is successful, recording the pacifying effective time T _ A and prompting the pet owner to give a reward to the pet;
s43: through multiple times of training, 10 times of continuous tests are carried out in different time periods until the effective calming time T _ A < T of the abnormal emotion is reached, and the effective calming time T _ A < T is also reached; if the pacifying succeeds each time and the probability that the effective time T _ A < T is p, the pacifying succeeds for ten times and T _ A < T, and two-term distribution is met;
the binomial distribution is a two-point distribution of N times:
probability of two-point distribution P = P x ×(1-p) (1-x) Wherein x is equal to 1 or equal to 0;
to obtainDerivation is performed on p, the result is equal to 0 to obtain the p extremum, and the formula is transformed into:thereby can obtainWhen 10 consecutive tests are successful in different time periods, i.e. N =10p =1,p occurrence probability has approached 1, so this abnormal emotional soothing was successful and effective time T _ a was pacified<T approaches to the inevitable events, and the abnormal emotion training is judged to be qualified; training the appeasing of other abnormal emotions according to the same steps, storing the qualified data in a big data storage platform and intelligent wearable equipment respectively, and re-strengthening the training of each abnormal emotion through warning reminding in a preset period.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011599867.5A CN112704024B (en) | 2020-12-30 | 2020-12-30 | Pet dog emergency placating system based on Internet of things |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011599867.5A CN112704024B (en) | 2020-12-30 | 2020-12-30 | Pet dog emergency placating system based on Internet of things |
Publications (2)
Publication Number | Publication Date |
---|---|
CN112704024A CN112704024A (en) | 2021-04-27 |
CN112704024B true CN112704024B (en) | 2022-11-15 |
Family
ID=75546678
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202011599867.5A Active CN112704024B (en) | 2020-12-30 | 2020-12-30 | Pet dog emergency placating system based on Internet of things |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112704024B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN116391630A (en) * | 2023-04-24 | 2023-07-07 | 重庆长安汽车股份有限公司 | In-vehicle pet management method, system, electronic equipment and storage medium |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1478269A (en) * | 2001-08-06 | 2004-02-25 | ������������ʽ���� | Device and method for judging dog's feeling from cry vocal character analysis |
CN110460807A (en) * | 2018-05-08 | 2019-11-15 | 友愉股份有限公司 | Device and method and its storage medium for intelligent pet alarm |
Family Cites Families (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2005073589A (en) * | 2003-09-01 | 2005-03-24 | Fujitsu Support & Service Kk | Pet-tending system, pet-tending apparatus and method for tending pet |
CN104932459B (en) * | 2015-04-29 | 2018-04-13 | 海南大学 | A kind of multifunctional pet management monitoring system based on Internet of Things |
CN106386561B (en) * | 2016-08-30 | 2019-11-26 | 深圳市沃特沃德股份有限公司 | Pacify the method, apparatus and system of pet |
US10776615B2 (en) * | 2018-01-06 | 2020-09-15 | Shaobo Kuang | System and method of social networks for dogs or other pets |
CN108925456A (en) * | 2018-05-31 | 2018-12-04 | 广州粤创富科技有限公司 | A kind of method, apparatus interacted with pet and wearable device |
CN110352866A (en) * | 2018-09-30 | 2019-10-22 | 北京四个爪爪科技有限公司 | Pet behavior management system |
CN109451356A (en) * | 2018-12-20 | 2019-03-08 | 珠海市微半导体有限公司 | A kind of intelligent mobile robot, automatic order method, device and chip |
CN110175526B (en) * | 2019-04-28 | 2024-06-21 | 平安科技(深圳)有限公司 | Training method and device for dog emotion recognition model, computer equipment and storage medium |
CN111179965A (en) * | 2020-03-20 | 2020-05-19 | 万不知 | Pet emotion recognition method and system |
CN112134949A (en) * | 2020-09-22 | 2020-12-25 | 珠海格力电器股份有限公司 | Pet hosting method, device and system |
-
2020
- 2020-12-30 CN CN202011599867.5A patent/CN112704024B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1478269A (en) * | 2001-08-06 | 2004-02-25 | ������������ʽ���� | Device and method for judging dog's feeling from cry vocal character analysis |
CN110460807A (en) * | 2018-05-08 | 2019-11-15 | 友愉股份有限公司 | Device and method and its storage medium for intelligent pet alarm |
Also Published As
Publication number | Publication date |
---|---|
CN112704024A (en) | 2021-04-27 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20210287694A1 (en) | Systems for and methods of intelligent acoustic monitoring | |
CN107773214B (en) | Method, computer readable medium and system for optimal wake-up strategy | |
US11551103B2 (en) | Data-driven activity prediction | |
CN101553855A (en) | Memory training via visual journal | |
RU2005113303A (en) | DEVICE MODELING INSPIRATION, DEVICE MODELING SPONTANEOUS EMOTION, AND RELATED WAYS AND PROGRAMS | |
CN108537017A (en) | A kind of method and apparatus for managing game user | |
CN113254833B (en) | Information pushing method and service system based on birth teaching fusion | |
CN110193127A (en) | Method, apparatus, computer equipment and the storage medium of music assisting sleep | |
CN112704024B (en) | Pet dog emergency placating system based on Internet of things | |
CN111292832B (en) | Intelligent terminal based psychological crisis personnel active prediction method and device | |
CN116662773A (en) | Model acquisition system, gesture recognition method, gesture recognition device, apparatus and storage medium | |
CN108710820A (en) | Infantile state recognition methods, device and server based on recognition of face | |
US20210378514A1 (en) | Smartphone-based mental health and addiction assessment | |
Veronese et al. | Realistic human behaviour simulation for quantitative ambient intelligence studies | |
US20210110924A1 (en) | System and method for monitoring system compliance with measures to improve system health | |
CN117204855A (en) | User psychological state assessment method and system based on interaction equipment | |
CN108170452A (en) | The growing method of robot | |
CN112819174A (en) | Artificial intelligence algorithm-based improved ethical virtual simulation experiment method and robot | |
CN116308955A (en) | Intelligent community for health care management based on AI artificial intelligence | |
Monaco | Classification and authentication of one-dimensional behavioral biometrics | |
US20220050697A1 (en) | Data driven computer user emulation | |
KR102425521B1 (en) | Method for Image Information Analysis Based Prevention System and Method thereof | |
CN112507972B (en) | Performance assessment system based on blockchain | |
CN114302161A (en) | Video stream auditing control method and device, equipment and medium thereof | |
CN110688469B (en) | Method and device for automatically analyzing similar behavior characteristics |
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 |