CN114283770A - Method, system, device and storage medium for preventing pets from entering restricted areas - Google Patents
Method, system, device and storage medium for preventing pets from entering restricted areas Download PDFInfo
- Publication number
- CN114283770A CN114283770A CN202111576166.4A CN202111576166A CN114283770A CN 114283770 A CN114283770 A CN 114283770A CN 202111576166 A CN202111576166 A CN 202111576166A CN 114283770 A CN114283770 A CN 114283770A
- Authority
- CN
- China
- Prior art keywords
- driving
- pet
- away
- instruction
- restricted area
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 64
- 230000000694 effects Effects 0.000 claims abstract description 48
- 230000009471 action Effects 0.000 claims abstract description 28
- 238000013459 approach Methods 0.000 claims abstract description 13
- 230000006399 behavior Effects 0.000 claims description 32
- 238000012549 training Methods 0.000 claims description 12
- 241000282472 Canis lupus familiaris Species 0.000 description 13
- 238000010586 diagram Methods 0.000 description 9
- 238000012545 processing Methods 0.000 description 8
- 230000006870 function Effects 0.000 description 5
- 238000005516 engineering process Methods 0.000 description 3
- 238000013507 mapping Methods 0.000 description 3
- 230000003287 optical effect Effects 0.000 description 3
- 238000004088 simulation Methods 0.000 description 3
- 239000000428 dust Substances 0.000 description 2
- 239000000463 material Substances 0.000 description 2
- 239000013307 optical fiber Substances 0.000 description 2
- 230000000644 propagated effect Effects 0.000 description 2
- 241000894007 species Species 0.000 description 2
- 241000282326 Felis catus Species 0.000 description 1
- 241000282412 Homo Species 0.000 description 1
- 241001465754 Metazoa Species 0.000 description 1
- 238000003491 array Methods 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 230000008092 positive effect Effects 0.000 description 1
- 230000008569 process Effects 0.000 description 1
- 230000003252 repetitive effect Effects 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
- 238000012360 testing method Methods 0.000 description 1
Images
Landscapes
- Housing For Livestock And Birds (AREA)
- Optical Communication System (AREA)
- Purification Treatments By Anaerobic Or Anaerobic And Aerobic Bacteria Or Animals (AREA)
- Beverage Vending Machines With Cups, And Gas Or Electricity Vending Machines (AREA)
Abstract
The invention provides a method, a system, equipment and a storage medium for preventing pets from entering a restricted area, wherein the method comprises the following steps: acquiring first position information of a pet and information of a monitored area; judging whether the pet approaches a restricted area or not according to the first position information and the information of the monitored area; if the pet is judged to be close to a limited area, a first driving-away instruction set is obtained, and the first driving-away instruction set comprises at least one first driving-away instruction; a first drive-away instruction is selected from the first drive-away instruction set and a drive-away action is performed according to the selected first drive-away instruction. The method for preventing the pet from entering the restricted area can automatically identify and drive away when the pet enters the restricted area, and can automatically adjust the driving-away instruction according to the driving-away effect of the driving-away behavior on the pet to achieve the optimal driving-away effect.
Description
Technical Field
The present invention relates to the field of data processing, and more particularly, to a method, system, device, and storage medium for preventing pets from entering a restricted area.
Background
With the rise of pet economy, more and more families have pets, and the pets are in closer contact with family members. The situation that no person is in the house for a long time and the pet is put in the house to freely move frequently occurs due to work and other reasons. However, in consideration of privacy and hygiene, the pet activity area is still generally limited at home to prevent the pet from entering a relatively private area such as a room.
The traditional pet activity limiting modes such as cage, fence, artificial training and the like can limit the activity range of the pet, but also cause certain inconvenience to the activity of people; also, the above method may not necessarily be effective due to individual differences of dogs.
It is to be noted that the information disclosed in the above background section is only for enhancement of understanding of the background of the present invention and therefore may include information that does not constitute prior art known to a person of ordinary skill in the art.
Disclosure of Invention
The invention aims to provide a method, a system, equipment and a storage medium for preventing a pet from entering a restricted area, which can automatically identify and drive away the pet when the pet enters the restricted area, and can automatically adjust a driving instruction according to the driving away effect of the driving away action on the pet so as to achieve the optimal driving away effect.
An embodiment of the present invention provides a method of preventing a pet from entering a restricted area, comprising the steps of:
acquiring first position information of a pet and information of a monitored area, wherein the monitored area comprises position information of at least one restricted area;
judging whether the pet approaches a restricted area or not according to the first position information and the information of the monitored area;
if the pet is judged to be close to a limited area, a first driving-away instruction set is obtained, wherein the first driving-away instruction set comprises at least one first driving-away instruction;
selecting a first drive-off instruction from the first drive-off instruction set and performing a drive-off action according to the selected first drive-off instruction.
According to an embodiment of the present invention, the determining whether the pet approaches a restricted area according to the first location information and the monitored area information includes the following steps:
acquiring the position information of each restricted area according to the information of the monitored area; judging whether the distance between the pet and each limiting area is smaller than a first threshold value or not according to the first position information and the position information of each limiting area;
and if the distance between the at least one restricted area and the first position information is smaller than a first threshold value, the pet is considered to be close to the restricted area.
According to one embodiment of the invention, a restricted area for a pet to approach is determined;
acquiring a danger level corresponding to the limited area according to the determined limited area;
and obtaining a corresponding first driving-off instruction set according to the danger level corresponding to the limited area.
According to an embodiment of the invention, the first drive-off command is a command for generating sound waves, and the first drive-off command includes amplitude, frequency and duration of the generated sound waves.
According to an embodiment of the present invention, the performing a drive-off action according to the selected first instruction includes the steps of:
sending a first driving-away instruction to an acoustic wave generating circuit;
the sound wave generating circuit generates sound waves according to the first driving-off instruction.
According to an embodiment of the present invention, the method for preventing pet from entering the restricted area further comprises the steps of:
acquiring physical state information of the pet after the driving-away action is executed according to a driving-away instruction;
and determining the driving-away effect of the driving-away behavior on the pet according to the physical state information.
According to an embodiment of the invention, the physical state information is second position information of the pet after the first driving is executed, and the following steps are performed according to the physical state information to determine the driving effect of the driving behavior on the pet:
judging whether the distance between the second position information and the limiting area is smaller than the distance between the first position information and the limiting area;
if so, the driving-away effect of the driving-away behavior on the pet is successful;
if not, the driving-away effect of the driving-away behavior on the pet is failure.
According to an embodiment of the present invention, the method for preventing pet from entering the restricted area further comprises the steps of:
acquiring the driving-away effect of the determined driving-away behavior on the pet;
if the driving-away effect of the driving-away behavior on the pet is failure, acquiring third position information of the pet;
judging whether the distance between the pet and the restricted area is smaller than a second threshold value according to the third position information, wherein the second threshold value is smaller than the first threshold value;
if so, acquiring a second driving-off instruction set, wherein the second driving-off instruction set comprises at least one second driving-off instruction;
selecting a second drive-off instruction from the second drive-off instruction set and performing a drive-off action according to the selected second drive-off instruction.
According to an embodiment of the present invention, the first driving-off instruction set includes a plurality of first driving-off instructions ordered in rank;
selecting a first drive-off command from the first drive-off command set is selecting a first drive command with a top-most order from the first drive-off command set.
According to an embodiment of the present invention, the method for preventing pet from entering the restricted area further comprises the steps of:
acquiring the driving-away effect of the determined driving-away behavior on the pet;
and if the driving-away effect of the driving-away behavior on the pet is failure, adjusting the cis position of the selected first driving instruction in the first driving-away instruction set backwards.
According to an embodiment of the invention, the method for preventing pets from entering the restricted area, while the step of driving away is performed according to the selected first driving-away instruction, further comprises the steps of:
and acquiring a voice training instruction and playing voice according to the voice training instruction.
The embodiment of the invention also provides a system for preventing pets from entering the restricted area, which is used for realizing the steps of the method for preventing pets from entering the restricted area, and comprises a position module, a judgment module, an instruction module and an execution module, wherein:
the position module is used for acquiring first position information of the pet;
the judgment module is used for judging whether the distance between the pet and the restricted area is smaller than a first threshold value according to the first position information;
the instruction module is used for acquiring a first driving instruction set and selecting a first driving instruction from the first driving instruction set when the judgment module judges that the distance between the pet and the restricted area is smaller than a first threshold value according to the position information, and the first driving instruction set comprises at least one first driving instruction;
the execution module is used for executing the driving-off action according to the selected first driving-off instruction.
An embodiment of the present invention further provides an electronic device, including:
a processor;
a memory having stored therein executable instructions of the processor;
wherein the processor is configured to perform the steps of the method of preventing pets from entering a restricted area via execution of the executable instructions.
Embodiments of the present invention also provide a computer-readable storage medium storing a program, wherein the program, when executed, performs the steps of the method for preventing a pet from entering a restricted area.
The method for preventing the pet from entering the restricted area can automatically identify and drive away when the pet enters the restricted area, and can automatically adjust the driving-away instruction according to the driving-away effect of the driving-away behavior on the pet so as to achieve the optimal driving-away effect; in addition, in some embodiments, a voice training instruction can be implanted while the driving-away behavior is performed, so that the purposes of training a pet and assisting a user to help the pet form a good habit are achieved, and the pet is harmonious and in mutual contact with people.
Drawings
Other features, objects, and advantages of the invention will be apparent from the following detailed description of non-limiting embodiments, which proceeds with reference to the accompanying drawings and which is incorporated in and constitutes a part of this specification, illustrating embodiments consistent with the present application and together with the description serve to explain the principles of the application. It is obvious that the drawings in the following description are only some embodiments of the invention, and that for a person skilled in the art, other drawings can be derived from them without inventive effort.
FIG. 1 is a flow chart of a method for preventing pets from entering a restricted area according to one embodiment of the present invention;
FIG. 2 is a diagram illustrating a scenario of a method for preventing a pet from entering a restricted area according to an embodiment of the present invention;
FIG. 3 is a diagram illustrating a scenario of a method for preventing a pet from entering a restricted area according to another embodiment of the present invention;
FIG. 4 is a diagram illustrating a scenario of a method for preventing a pet from entering a restricted area according to another embodiment of the present invention;
FIG. 5 is a schematic diagram of a system for preventing pets from entering a restricted area, in accordance with one embodiment of the present invention;
fig. 6 is a schematic structural diagram of an electronic device according to an embodiment of the invention;
fig. 7 is a schematic structural diagram of a computer-readable storage medium according to an embodiment of the present invention.
Detailed Description
Example embodiments will now be described more fully with reference to the accompanying drawings. Example embodiments may, however, be embodied in many different forms and should not be construed as limited to the examples set forth herein; rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the concept of example embodiments to those skilled in the art. The described features, structures, or characteristics may be combined in any suitable manner in one or more embodiments.
Furthermore, the drawings are merely schematic illustrations of the present disclosure and are not necessarily drawn to scale. The same reference numerals in the drawings denote the same or similar parts, and thus their repetitive description will be omitted. Some of the block diagrams shown in the figures are functional entities and do not necessarily correspond to physically or logically separate entities. These functional entities may be implemented in the form of software, or in one or more hardware modules or integrated circuits, or in different networks and/or processor devices and/or microcontroller devices.
Reference throughout this specification to "one embodiment," "some embodiments," "an example," "a specific example," or "some examples," or the like, means that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the present application. Furthermore, the particular features, structures, materials, or characteristics shown may be combined in any suitable manner in any one or more embodiments or examples. Moreover, various embodiments or examples and features of different embodiments or examples presented in this application can be combined and combined by those skilled in the art without contradiction.
Although the terms first, second, etc. may be used herein to describe various elements in some instances, these elements should not be limited by these terms. These terms are only used to distinguish one element from another. For example, the first interface and the second interface are represented. Also, as used herein, the singular forms "a", "an" and "the" are intended to include the plural forms as well, unless the context indicates otherwise. It will be further understood that the terms "comprises," "comprising," "includes" and/or "including," when used in this specification, specify the presence of stated features, steps, operations, elements, components, items, species, and/or groups, but do not preclude the presence, or addition of one or more other features, steps, operations, elements, components, items, species, and/or groups thereof. The terms "or" and/or "as used herein are to be construed as inclusive or meaning any one or any combination. Thus, "A, B or C" or "A, B and/or C" means "any of the following: a; b; c; a and B; a and C; b and C; A. b and C ". An exception to this definition will occur only when a combination of elements, functions, steps or operations are inherently mutually exclusive in some way.
An embodiment of the present invention provides a method for preventing a pet from entering a restricted area, and fig. 1 is a flowchart of the method for preventing the pet from entering the restricted area according to an embodiment of the present invention, and the method includes the following steps:
s100: acquiring first position information of a pet and information of a monitored area, wherein the monitored area comprises position information of at least one restricted area; the monitored space may be a living space, and the restricted area may be a room of the owner or a study, etc. which is defined according to the scene and is prohibited from pet entering. S200: judging whether the pet approaches a restricted area or not according to the first position information and the information of the monitored area; if the pet is close to a restricted area, S300: acquiring a first driving-off instruction set, wherein the first driving-off instruction set comprises at least one first driving-off instruction; if not, the system does not execute any action, or after a preset interval time, then executes step S100.
S400: selecting a first drive-off instruction from the first drive-off instruction set and performing a drive-off action according to the selected first drive-off instruction.
The method for preventing the pet from entering the restricted area can automatically identify and drive away when the pet enters the restricted area, and can set the first drive-away instruction set and select different first drive-away instructions according to the actual scene to achieve the purpose of obtaining personalized drive-away instructions aiming at different scenes so as to obtain the optimal drive-away effect.
In one embodiment, S200: according to an embodiment of the present invention, the determining whether the pet approaches a restricted area according to the first location information and the monitored area information includes the following steps:
s210: acquiring the position information of each restricted area according to the information of the monitored area; in practical applications, a space such as a monitored space may include more than one restricted area, and each restricted area may restrict a pet to a different degree, i.e., different restricted areas may define different levels of danger for the pet.
S220: judging whether the distance between the pet and each limiting area is smaller than a first threshold value or not according to the first position information and the position information of each limiting area; at this time, the step S100 of obtaining the first position information of the pet may obtain the coordinate information in the monitored area by wearing a distance sensor or a positioning device on the pet; in step S220, the distance between the pet and each restricted area is calculated by obtaining the coordinate information of each restricted area.
S230: and judging whether the distance between the pet and each of the restricted areas is smaller than a set first threshold, and if the distance between at least one of the restricted areas and the first position information is smaller than the first threshold, determining that the pet is close to the restricted area. If the distance between the pet and each restricted area is larger than the set first threshold value, the pet is not close to any restricted area in the monitored area.
In the step S200, it may be determined whether the pet is close to a restricted area by other methods, such as thermal sensing, pressure sensing, image recognition, etc., that is, a thermal sensor, a pressure sensor, or a camera is disposed at the entrance of the restricted area, and when the pet is detected by thermal sensing, pressure sensing, or image recognition, the pet is considered to be close to the restricted area. The determination of whether the pet approaches a restricted area in the step S200 of the present invention is not limited to the above-described embodiment.
When the pet is considered to approach a restricted area, S240 determines the restricted area where the pet approaches; such as a study or room in proximity;
s250: acquiring a danger level corresponding to the limited area according to the determined limited area; in general, the user can set different danger levels for each restricted area according to actual needs.
S260: the corresponding first driving-away instruction set is obtained according to the danger level corresponding to the restricted area, and the steps from S240 to S260 may be obtained by respectively setting the mapping relationship between each restricted area and the danger level corresponding thereto and the mapping relationship between the danger level and the first driving-away instruction set, or may be obtained by directly setting the mapping relationship between each restricted area and the first driving-away instruction set corresponding thereto. The manner of obtaining the first location information of the pet according to the present invention is not limited to the above manner. On the basis of obtaining the first position information of the pet, executing S200 to determine whether the pet is close to a restricted area; here, the restricted area may be a room of the owner or a study, etc., which is defined according to the scene and in which the pet is prohibited from entering. The method of the present invention may set different first driving-away instructions in the first driving-away instruction set setting in step S300, and finally execute step S400 to select a first driving-away instruction from the first driving-away instruction set and execute driving-away behavior according to the selected first driving-away instruction.
The hearing frequency range that human ear can feel is between 20 ~ 20000 Hz, but is the most sensitive to 1000 ~ 3000 Hz sound. The auditory sense of the pet is different from that of the human, for example, the auditory sense of the dog is developed, the auditory sense frequency range of the dog is 15-50000 Hz, and the auditory sense frequency range of the cat is 60-65000 Hz. Although dogs hear 16 times as much as humans, it has been tested that frequencies above 25000 hertz are uncomfortable for dogs, and dogs above 36000 hertz may experience pain, which can cause them to feel stressed and conquered, and thus to retreat. In addition, the pet is afraid of certain sounds, such as the sound of striking a thunder, the sound of a dust collector, the sound of fireworks and firecrackers, and the like. Pets are afraid of strong white light and the like, so that the pets can be forced to take avoidance behaviors by generating interference causing discomfort and intolerability of animals by emitting ultrasonic waves with certain frequency, emitting sounds simulating the fear of the pets, such as thunder, and emitting strong white light and the like, and the ultrasonic waves with the frequency or the strong white light has no influence on people.
The method for preventing pet from entering the restricted area of the present invention will be further described by taking the first driving-off command as an example of a command for generating sound waves. The first driving-away instruction can comprise amplitude, frequency, duration and the like of sound waves, for a scene that a pet is a dog, the amplitude, the frequency, the duration and the like of the sound waves generated in the first driving-away instruction can be set according to individual differences of the variety, age, physical conditions and the like of the pet dog, and the effect of driving away the pet dog can be achieved through the combination of certain high frequency and high amplitude (volume). Of course, the frequency and amplitude (intensity) of the generated sound wave should be controlled within a reasonable range to avoid frightening the pet to cause over-excitation behavior or causing no harm to the pet and people. For different defined regions, reasonable amplitude can be designed according to the area of the defined region and the like, so as to obtain the required sound wave intensity. Of course, as mentioned above, for the defined regions with different risk levels, different first driving instruction sets corresponding to the defined regions may be set, for example, for the defined regions with high risk levels, hard guidance such as ultrasonic waves may be set; for example, soft guidance such as voice can be set for the limited area with low danger level.
When the first driving-off instruction is an instruction for generating sound waves, the step S400 of performing driving-off action according to the selected first instruction includes the following steps:
s410: sending a first driving-away instruction to an acoustic wave generating circuit; the sound wave generating circuit may be a vibration motor or a buzzer, and is not limited herein.
S420: the sound wave generating circuit generates sound waves according to the first driving-off instruction. Because pets such as dogs are afraid of high frequency waves, it is preferred that the acoustic waves generated are high frequency waves, where high frequency waves refer to acoustic waves having a frequency above 20000 hertz.
Further, the method for preventing pets from entering the restricted area further comprises the following steps:
s500: acquiring physical state information of the pet after the driving-away action is executed according to a driving-away instruction;
s600: and determining the driving-away effect of the driving-away behavior on the pet according to the physical state information.
According to an embodiment of the present invention, the physical state information in the step S500 is second position information of the pet after the first pet is driven, and determining the driving-away effect of the driving-away action on the pet according to the physical state information includes the following steps:
s610: judging whether the distance between the second position information and the limiting area is smaller than the distance between the first position information and the limiting area;
if so, the driving-away effect of the driving-away action in the step S600 on the pet is successful;
if not, the driving-away effect of the driving-away action in the step S600 on the pet is failure.
The step S500 of obtaining the second position information of the pet may be obtained through an image recognition technology, or may be obtained by the pet wearing a distance sensor or a positioning device, and the manner of obtaining the second position information of the pet in the present invention is not limited by the above manner.
In the above embodiment, it is determined whether the driving-away action produces the driving-away effect on the pet by the change of the distance between the pet and the restricted area after the driving-away action is performed, and when the pet is far from the restricted area, the positive effect produced by the driving-away action is considered, otherwise, the driving-away failure is considered.
In other embodiments where the pet is determined to be approaching the defined area by thermal sensing, pressure sensing, or image recognition, the pet may be determined to be driven by sensing whether the pet is leaving the thermal, pressure sensing, or image recognition area, and the pet may still be sensed by the sensing device as described above, and the drive is considered to have failed. In the invention, the driving-away effect of the driving-away behavior on the pet can be sent to the user in the monitored area, namely the owner of the pet, through a short message or a user interface, so that the user can conveniently realize real-time or pet state.
In other alternative embodiments, the pet may be identified by image recognition technology or the like as being still, moving forward, moving backward or the like to obtain the driving-away effect of the driving-away action on the pet, and the method for obtaining the driving-away effect of the driving-away action on the pet is not limited by the present invention.
The fixed sonic frequency may vary from one breed of dog to another or from individual dog to individual dog depending on the test, and the method of preventing pet access to a restricted area of the present invention further comprises the steps of:
s710: acquiring the driving-away effect of the determined driving-away behavior on the pet;
if the driving-away effect of the driving-away behavior on the pet is failure, S720: acquiring third position information of the pet;
s730, judging whether the distance between the pet and the restricted area is smaller than a second threshold value according to the third position information, wherein the second threshold value is smaller than the first threshold value;
if so, S740: acquiring a second driving-off instruction set, wherein the second driving-off instruction set comprises at least one second driving-off instruction;
s750: selecting a second drive-off instruction from the second drive-off instruction set and performing a drive-off action according to the selected second drive-off instruction.
In an actual scenario, when the pet is found to be located at the door position, a short, high-frequency and high-volume expelling may be preferentially adopted, and when the pet is found to have entered the room, a low-intensity and long-duration audio may be adopted to make the pet feel uncomfortable to leave by itself, fig. 2 is a schematic view of the above-mentioned method for preventing the pet from entering the restricted area, that is, when the distance between the pet and the room is smaller than a first threshold (located at the door position), the system performs steps S300 to S400, the first expelling instruction set adopted includes a plurality of first expelling instructions for generating high frequency, large amplitude, long duration, and after the system performs step S400, the pet expelling effect is found not to be obtained through steps S500 and S600, and conversely, when the distance between the pet and the room is smaller than a second threshold, the system may consider that the pet enters the room, and perform steps S740 to S750, at this time, the second drive-off instruction set includes a second drive-off instruction with high frequency, small amplitude intensity and long duration, that is, the sound wave generated by the second drive-off instruction is smaller than the sound wave generated by the first drive-off instruction in intensity and longer in duration.
The method for preventing the pet from entering the restricted area can realize that the driving-away behavior is executed when the system finds that the pet has the behavior close to the restricted area by setting the first threshold and the second threshold and setting the first driving-away instruction set and the second driving-away instruction set which comprise different driving-away instructions, and the driving-away behavior is intelligently adjusted according to the behavior of the pet. The forms of the sound waves generated by the specific driving-off instructions included in the first driving-off instruction set and the second driving-off instruction set (such as high-frequency wave generation, thunder simulation, dust collector sound simulation, firework and firecracker sound simulation and the like) can be set according to actual use scenes (such as pet types, pet ages, pet body conditions and the like).
As described above, the first drive-off instruction set may include a plurality of first drive-off instructions, which in some embodiments may be ordered in rank order;
in step S400, a first drive-off command is selected from the first drive-off command set as a first drive command with the highest rank from the first drive-off command set. The above-mentioned order may be an order empirical value obtained from data.
The first drive-off commands included in the first drive-off command set may also be ordered according to the frequency, amplitude or duration generated by each command, for example, the first drive-off command generating a sound wave with a specific frequency (certain amplitude) may be arranged at the top, and the frequency (amplitude) of the sound wave generated by the following first drive-off command may be sequentially increased. Take the scene diagram of fig. 3 as an example; when the system executes the method of the invention, the method for preventing the pet from entering the restricted area further comprises the step of identifying the variety of the pet by an image identification technology and the like, when the pet is identified as A, a first driving-away instruction is selected from the first driving-away instruction set in the step S400 as a first preset driving-away instruction suitable for driving away the pet A, the sound wave generated by the first driving-away instruction is the frequency A, when the pet is identified as B, a first driving-away instruction is selected from the first driving-away instruction set in the step S400 as a first preset driving-away instruction suitable for driving away the pet B, and the sound wave generated by the first driving-away instruction is the frequency B. The method for preventing pets from entering the restricted area of the above embodiment uses a scenario in which there are many pets in the home.
When the system executes the method of the present invention, after this time executing the first expelling instruction that generates sound waves of this particular frequency (amplitude), then the method of preventing pets from entering the restricted area further comprises the steps of:
acquiring the driving-away effect of the driving-away behavior determined in the step S600 on the pet;
and if the driving-away effect of the driving-away behavior on the pet is failure, adjusting the cis position of the selected first driving instruction in the first driving-away instruction set backwards.
The usage scenario of the above steps can be further explained with reference to fig. 4, when a pet approaches the restricted area this time, a first driving-away instruction is selected from the first driving-away instruction set as a first driving instruction with the highest rank from the first driving-away instruction set, the first driving-away instruction generates a high-frequency wave with C frequency, when the system determines that the first driving-away instruction fails to generate the high-frequency wave with C frequency, the rank of the first driving-away instruction in the first driving-away instruction set that generates the high-frequency wave with C frequency is adjusted backward, that is, when the pet approaches the restricted area again, the system executes the first driving-away instruction selected from the first driving-away instruction set that is no longer the first driving-away instruction that generates the high-frequency wave with C frequency, but the first driving-away instruction that generates the high-frequency wave with D frequency. When the pet approaches the restricted area for multiple times, the system repeats the above process until the high-frequency wave generated by the selected first driving instruction reaches the effect of driving away the pet, and the driving away instruction at the moment is regarded as the optimal driving away instruction for the pet. The variation of the drive-off command is not limited to the above-described variation of the frequency, and may be a variation of the entire acoustic wave form. The method is suitable for the situation that the same pet is not sensitive after getting used to a high-frequency wave, so that the driving-away instruction needs to be adjusted, and is also suitable for the situation that the owner newly buys the pet which needs to obtain the optimal driving-away instruction.
In some other alternative embodiments, the method for preventing pets from entering a restricted area of the invention, while performing the step of driving away in accordance with the selected first driving away instruction, further comprises the steps of:
and acquiring a voice training instruction and playing voice according to the voice training instruction. The voice training instruction may be a corresponding password for driving away the pet.
Through the steps, the pet can be driven away through the sound wave generated by the preset password auxiliary driving instruction, and meanwhile, the habit that the pet listens to the password can be trained while driving away the pet for a long time. Such as: the hearing of the young pet is developed, the sound wave intensity can be properly reduced to avoid injuring the pet, and the effect is achieved by adjusting the loudness of the driving-away password.
The embodiment of the invention also provides a system for preventing pets from entering the restricted area, which is used for realizing the steps of the method for preventing pets from entering the restricted area, and FIG. 5 is a schematic structural diagram of the system for preventing pets from entering the restricted area according to the embodiment of the invention; the system for preventing pets from entering the restricted area comprises a position module M100, a judgment module M200, an instruction module M300 and an execution module M400, wherein:
the position module M100 is used for acquiring first position information of the pet;
the judging module M200 is used for judging whether the distance between the pet and the restricted area is smaller than a first threshold value according to the first position information;
the instruction module M300 is configured to obtain a first driving instruction set and select a first driving instruction from the first driving instruction set when the determination module determines that the distance between the pet and the restricted area is smaller than the first threshold value, where the first driving instruction set includes at least one first driving instruction;
the execution module M400 is configured to execute a drive-off action according to the selected first drive-off instruction.
The function implementation manner of each function module in the system for preventing the pet from entering the restricted area of the embodiment can be implemented by adopting the specific implementation manner of each step in the method for preventing the pet from entering the restricted area. For example, the position module M100, the determining module M200, the instruction module M300, and the executing module M400 may respectively implement the functions thereof by using the specific implementation manners of the steps S100 to S750, which are not described herein again. The system identifies whether the pet is close to the restricted area through the position module and the judgment module, and executes the driving-away action through the instruction module and the execution module, and meanwhile, the driving-away instruction can be automatically adjusted to achieve the best driving-away effect according to the driving-away effect of the pet.
An electronic device 600 according to this embodiment of the invention is described below with reference to fig. 6. The electronic device 600 shown in fig. 6 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present invention.
As shown in fig. 6, the electronic device 600 is embodied in the form of a general purpose computing device. The components of the electronic device 600 may include, but are not limited to: at least one processing unit 610, at least one memory unit 620, a bus 630 connecting the different platform components (including the memory unit 620 and the processing unit 610), a display unit 640, etc.
Wherein the storage unit stores program code which can be executed by the processing unit 610 such that the processing unit 610 performs the steps according to various exemplary embodiments of the present invention as described in the above-mentioned method section of the present specification. For example, processing unit 610 may perform the steps as shown in fig. 1.
The storage unit 620 may include readable media in the form of volatile memory units, such as a random access memory unit (RAM)6201 and/or a cache memory unit 6202, and may further include a read-only memory unit (ROM) 6203.
The memory unit 620 may also include a program/utility 6204 having a set (at least one) of program modules 6205, such program modules 6205 including, but not limited to: an operating system, one or more application programs, other program modules, and program data, each of which, or some combination thereof, may comprise an implementation of a network environment.
The electronic device 600 may also communicate with one or more external devices 700 (e.g., keyboard, pointing device, bluetooth device, etc.), with one or more devices that enable a user to interact with the electronic device 600, and/or with any devices (e.g., router, modem, etc.) that enable the electronic device 600 to communicate with one or more other computing devices. Such communication may occur via an input/output (I/O) interface 650. Also, the electronic device 600 may communicate with one or more networks (e.g., a Local Area Network (LAN), a Wide Area Network (WAN), and/or a public network such as the Internet) via the network adapter 660. The network adapter 660 may communicate with other modules of the electronic device 600 via the bus 630. It should be appreciated that although not shown in the figures, other hardware and/or software modules may be used in conjunction with the electronic device 600, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage platforms, to name a few.
Embodiments of the present invention also provide a computer-readable storage medium storing a program for executing the steps of the method for preventing a pet from entering a restricted area. In some possible embodiments, the various aspects of the invention may also be implemented in the form of a program product comprising program code means for causing a terminal device to carry out the steps according to the various exemplary embodiments of the invention described in the method part above of this description when said program product is run on the terminal device.
Referring to fig. 7, a program product 800 for implementing the above method according to an embodiment of the present invention is described, which may employ a portable compact disc read only memory (CD-ROM) and include program code, and may be run on a terminal device, such as a personal computer. However, the program product of the present invention is not limited in this regard and, in the present document, a readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
The program product may employ any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. A readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples (a non-exhaustive list) of the readable storage medium include: an electrical connection having one or more wires, a portable disk, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
A computer readable storage medium may include a propagated data signal with readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A readable storage medium may also be any readable medium that is not a readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a readable storage medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Program code for carrying out operations for aspects of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computing device, partly on the user's device, as a stand-alone software package, partly on the user's computing device and partly on a remote computing device, or entirely on the remote computing device or server. In the case of a remote computing device, the remote computing device may be connected to the user computing device through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computing device (e.g., through the internet using an internet service provider).
In conclusion, the method for preventing the pet from entering the restricted area can automatically identify and drive away when the pet enters the restricted area, and can automatically adjust the driving-away instruction according to the driving-away effect of the driving-away behavior on the pet so as to achieve the optimal driving-away effect, so that the method is suitable for different pets to establish the optimal driving-away instruction, and can also prevent the situation that the driving-away effect of the same pet is poor after the method is adapted; in addition, in some embodiments, a voice training instruction can be implanted while the driving-away behavior is performed, so that the purposes of training a pet and assisting a user to help the pet form a good habit are achieved, and the pet is harmonious and in mutual contact with people.
The foregoing is a more detailed description of the invention in connection with specific preferred embodiments and it is not intended that the invention be limited to these specific details. It will be evident to those skilled in the art that the present application is not limited to the details of the foregoing illustrative embodiments, and that the present application may be embodied in other specific forms without departing from the spirit or essential attributes thereof. The present embodiments are therefore to be considered in all respects as illustrative and not restrictive, the scope of the application being indicated by the appended claims rather than by the foregoing description, and all changes which come within the meaning and range of equivalency of the claims are therefore intended to be embraced therein. Any reference sign in a claim should not be construed as limiting the claim concerned.
Claims (14)
1. A method of preventing pets from entering a restricted area, comprising the steps of:
acquiring first position information of a pet and information of a monitored area, wherein the monitored area comprises position information of at least one restricted area;
judging whether the pet approaches a restricted area or not according to the first position information and the information of the monitored area;
if the pet is judged to be close to a limited area, a first driving-away instruction set is obtained, wherein the first driving-away instruction set comprises at least one first driving-away instruction;
selecting a first drive-off instruction from the first drive-off instruction set and performing a drive-off action according to the selected first drive-off instruction.
2. The method of claim 1, wherein said determining whether the pet is approaching a restricted area based on said first location information and the monitored area information comprises the steps of:
acquiring the position information of each restricted area according to the information of the monitored area; judging whether the distance between the pet and each limiting area is smaller than a first threshold value or not according to the first position information and the position information of each limiting area;
and if the distance between the at least one restricted area and the first position information is smaller than a first threshold value, the pet is considered to be close to the restricted area.
3. The method of claim 1, wherein a restricted area is determined to which the pet is approaching;
acquiring a danger level corresponding to the limited area according to the determined limited area;
and obtaining a corresponding first driving-off instruction set according to the danger level corresponding to the limited area.
4. The method of preventing pet access to the confined area of claim 1 wherein said first dislodging instruction is an instruction to generate sound waves, said first dislodging instruction including the amplitude, frequency and duration of the generated sound waves.
5. A method of preventing pets from entering a restricted area according to claim 4, wherein said performing a driving-away action according to a selected first instruction comprises the steps of:
sending a first driving-away instruction to an acoustic wave generating circuit;
the sound wave generating circuit generates sound waves according to the first driving-off instruction.
6. The method of preventing pet access to a restricted area of claim 2 further comprising the steps of:
acquiring physical state information of the pet after the driving-away action is executed according to a driving-away instruction;
and determining the driving-away effect of the driving-away behavior on the pet according to the physical state information.
7. The method for preventing pet from entering into the restricted area according to claim 6, wherein the physical state information is second position information of the pet after the first driving is executed, and the step of determining the driving-away effect of the driving-away action on the pet according to the physical state information comprises the following steps:
judging whether the distance between the second position information and the limiting area is smaller than the distance between the first position information and the limiting area;
if so, the driving-away effect of the driving-away behavior on the pet is successful;
if not, the driving-away effect of the driving-away behavior on the pet is failure.
8. The method of preventing pet access to a restricted area of claim 7 further comprising the steps of:
acquiring the driving-away effect of the determined driving-away behavior on the pet;
if the driving-away effect of the driving-away behavior on the pet is failure, acquiring third position information of the pet;
judging whether the distance between the pet and the restricted area is smaller than a second threshold value according to the third position information, wherein the second threshold value is smaller than the first threshold value;
if so, acquiring a second driving-off instruction set, wherein the second driving-off instruction set comprises at least one second driving-off instruction;
selecting a second drive-off instruction from the second drive-off instruction set and performing a drive-off action according to the selected second drive-off instruction.
9. The method of preventing pets from entering a restricted area according to claim 7, wherein said first dislodging instruction set includes a plurality of first dislodging instructions ordered in rank order;
selecting a first drive-off command from the first drive-off command set is selecting a first drive command with a top-most order from the first drive-off command set.
10. The method of preventing pet access to a restricted area of claim 9 further comprising the steps of:
acquiring the driving-away effect of the determined driving-away behavior on the pet;
and if the driving-away effect of the driving-away behavior on the pet is failure, adjusting the cis position of the selected first driving instruction in the first driving-away instruction set backwards.
11. A method of preventing pets from entering a restricted area according to claim 1, where, while the step of driving away is being performed according to the selected first driving away instruction, further comprising the steps of:
and acquiring a voice training instruction and playing voice according to the voice training instruction.
12. A system for preventing pets from entering a restricted area, for implementing the steps of the method for preventing pets from entering the restricted area of any one of claims 1 to 11, comprising a location module, a determination module, an instruction module and an execution module, wherein:
the position module is used for acquiring first position information of the pet;
the judgment module is used for judging whether the distance between the pet and the restricted area is smaller than a first threshold value according to the first position information;
the instruction module is used for acquiring a first driving instruction set and selecting a first driving instruction from the first driving instruction set when the judgment module judges that the distance between the pet and the restricted area is smaller than a first threshold value according to the position information, and the first driving instruction set comprises at least one first driving instruction;
the execution module is used for executing the driving-off action according to the selected first driving-off instruction.
13. An apparatus for preventing pets from entering a restricted area, comprising:
a processor;
a memory having stored therein executable instructions of the processor;
wherein the processor is configured to perform the steps of the method of preventing pets from entering a restricted area of any of claims 1 to 11 via execution of the executable instructions.
14. A computer-readable storage medium storing a program which, when executed by a processor, performs the steps of the method of preventing pet access to a restricted area of any one of claims 1 to 11.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111576166.4A CN114283770A (en) | 2021-12-21 | 2021-12-21 | Method, system, device and storage medium for preventing pets from entering restricted areas |
TW111109175A TWI815348B (en) | 2021-12-21 | 2022-03-14 | Method for preventing pet from entering restricted area |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111576166.4A CN114283770A (en) | 2021-12-21 | 2021-12-21 | Method, system, device and storage medium for preventing pets from entering restricted areas |
Publications (1)
Publication Number | Publication Date |
---|---|
CN114283770A true CN114283770A (en) | 2022-04-05 |
Family
ID=80874153
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202111576166.4A Pending CN114283770A (en) | 2021-12-21 | 2021-12-21 | Method, system, device and storage medium for preventing pets from entering restricted areas |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN114283770A (en) |
TW (1) | TWI815348B (en) |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2011082208A2 (en) * | 2010-01-04 | 2011-07-07 | Titan Pet Products, Inc. | Animal containment and monitoring systems |
US20130207803A1 (en) * | 2012-02-15 | 2013-08-15 | Epc4Roi Limited Partnership | Wireless Pet Barrier using RFID |
CN108094402A (en) * | 2017-12-25 | 2018-06-01 | 好得科技(深圳)有限公司 | A kind of multi-function animal drives device |
CN109168831A (en) * | 2018-08-22 | 2019-01-11 | 深圳威琳懋生物科技有限公司 | Bird-repellent robots |
CN109799760A (en) * | 2019-01-30 | 2019-05-24 | 华通科技有限公司 | The bird-repellent robots control system and control method of power industry |
CN209359307U (en) * | 2018-12-03 | 2019-09-10 | 仙游县元生智汇科技有限公司 | A kind of pet monitoring system |
CN110679584A (en) * | 2019-10-31 | 2020-01-14 | 中国民航科学技术研究院 | Automatic bird repelling device and method |
CN211185607U (en) * | 2019-09-05 | 2020-08-07 | 国网浙江永嘉县供电有限公司 | Transformer substation animal expelling device |
CN112602619A (en) * | 2020-12-25 | 2021-04-06 | 黄华 | Pet electronic collar based on image recognition |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TWM471754U (en) * | 2013-05-14 | 2014-02-11 | Bang-You Sun | Pet training device |
CN110290356A (en) * | 2019-07-26 | 2019-09-27 | 上海秒针网络科技有限公司 | The processing method and processing device of object |
-
2021
- 2021-12-21 CN CN202111576166.4A patent/CN114283770A/en active Pending
-
2022
- 2022-03-14 TW TW111109175A patent/TWI815348B/en active
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2011082208A2 (en) * | 2010-01-04 | 2011-07-07 | Titan Pet Products, Inc. | Animal containment and monitoring systems |
US20130207803A1 (en) * | 2012-02-15 | 2013-08-15 | Epc4Roi Limited Partnership | Wireless Pet Barrier using RFID |
CN108094402A (en) * | 2017-12-25 | 2018-06-01 | 好得科技(深圳)有限公司 | A kind of multi-function animal drives device |
CN109168831A (en) * | 2018-08-22 | 2019-01-11 | 深圳威琳懋生物科技有限公司 | Bird-repellent robots |
CN209359307U (en) * | 2018-12-03 | 2019-09-10 | 仙游县元生智汇科技有限公司 | A kind of pet monitoring system |
CN109799760A (en) * | 2019-01-30 | 2019-05-24 | 华通科技有限公司 | The bird-repellent robots control system and control method of power industry |
CN211185607U (en) * | 2019-09-05 | 2020-08-07 | 国网浙江永嘉县供电有限公司 | Transformer substation animal expelling device |
CN110679584A (en) * | 2019-10-31 | 2020-01-14 | 中国民航科学技术研究院 | Automatic bird repelling device and method |
CN112602619A (en) * | 2020-12-25 | 2021-04-06 | 黄华 | Pet electronic collar based on image recognition |
Also Published As
Publication number | Publication date |
---|---|
TW202325158A (en) | 2023-07-01 |
TWI815348B (en) | 2023-09-11 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109644303B (en) | Robot for operating sounding body | |
JP6409206B2 (en) | Autonomous robot that welcomes you | |
US7117190B2 (en) | Robot apparatus, control method thereof, and method for judging character of robot apparatus | |
JP6402320B2 (en) | An autonomous behavioral robot | |
JP6436548B2 (en) | Autonomous robot | |
JP4576715B2 (en) | ROBOT DEVICE, ROBOT DEVICE CONTROL METHOD, AND PROVIDING MEDIUM | |
US20210219524A1 (en) | Animal training device and control method | |
WO2003097308A1 (en) | Robot device and robot control method | |
JP6409209B2 (en) | Autonomous robot for coolness | |
US20020192625A1 (en) | Monitoring device and monitoring system | |
US20230016899A1 (en) | Robot, robot control method, and recording medium | |
JP6915879B2 (en) | Music providing system for non-human animals | |
JP7281198B2 (en) | Autonomous behavioral robot that acts based on experience | |
US20230225290A1 (en) | Operating an automated and adaptive animal behavioral training system using machine learning | |
CN114283770A (en) | Method, system, device and storage medium for preventing pets from entering restricted areas | |
JP7559765B2 (en) | Autonomous moving body, information processing method, program, and information processing device | |
US11134876B2 (en) | IOT based monitoring method and system for detecting separation anxiety of pet using support vector machine and complex event processing | |
JP6890397B2 (en) | Paw animal stress relief device | |
CN116352727B (en) | Control method of bionic robot and related equipment | |
US20240367066A1 (en) | Autonomous mobile body, information processing method, and program | |
US20240367065A1 (en) | Autonomous mobile body, information processing method, and program | |
US20230289404A1 (en) | Information processing apparatus and information processing method | |
US12263592B2 (en) | Autonomous mobile body, information processing method, and information processing device | |
CN116913275A (en) | Control method and device of electronic device | |
CN114550083A (en) | Intelligent farm creature repelling method, device, equipment and storage medium |
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 |