Method of limiting pet interaction behavior with children, related devices and program product
By collecting data from pet collars to identify target individuals and implementing differentiated intervention measures, the safety issues arising from interactions between pets and children are resolved, resulting in more effective safety protection.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- HEFEI IFLYTEK TOYCLOUD TECH
- Filing Date
- 2026-04-30
- Publication Date
- 2026-07-28
AI Technical Summary
When pets interact with children, they may unintentionally or intentionally cause harm to the children, and current technology is insufficient to effectively limit and prevent such behavior.
By collecting data about the surrounding environment through pet collars, the system can identify target individuals, monitor distances, determine the direction of approach, and implement differentiated deterrent measures to prevent interactive behavior.
It improves the effectiveness of preventing pets from interacting with children, avoids intentional or unintentional harm to children by pets, and enhances safety and user experience.
Smart Images

Figure CN122469699A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of smart pet devices, and more specifically, to a method, related equipment, and program products for restricting the interaction between pets and children. Background Technology
[0002] Pets are animals kept by people for emotional or psychological reasons, rather than for economic purposes. A pet collar is a specialized device used to protect, control, and leash a pet.
[0003] There are many types of pets, some of which are quite large, such as adult large dogs. Even a slight movement by these large dogs can easily knock over a young child. Furthermore, some pets don't know how to control their behavior, and even minor actions can be dangerous for young children, such as nudging them with their heads, knocking them over, or licking their faces, potentially causing viral infections. Children are easily harmed when interacting with such large pets. Summary of the Invention
[0004] In view of the above problems, this application is made to provide a method, related equipment, and program products for restricting the interaction between pets and children, so as to avoid pets causing harm to children. The specific solution is as follows:
[0005] Firstly, a method for limiting interaction between pets and children is provided, applied to a pet collar, the method including:
[0006] Collect data about the environment surrounding the pet;
[0007] Identify whether a target person exists in the surrounding scene data, wherein the target person is a child whose interaction with pets is restricted;
[0008] After the target person is identified, the distance between the pet and the target person is monitored, and the relative approach direction type between the pet and the target person is determined. The relative approach direction type includes: the pet actively approaches the target person, the target person actively approaches the pet, and the pet and the target person approach each other.
[0009] When it is determined that the distance between the pet and the target person meets the set distance proximity condition, the stopping measures corresponding to the relative proximity direction type of the pet and the target person are executed.
[0010] In one possible design, in another implementation of the first aspect of this application, the process of executing a restraining measure corresponding to the relative approach direction type between the pet and the target person includes:
[0011] When the relative approach direction between the pet and the target person is such that the pet actively approaches the target person, a first deterrent measure is implemented on the pet, which is used to prevent the pet from continuing to approach the target person.
[0012] When the relative approach direction between the pet and the target person is such that the target person actively approaches the pet, a second deterrent measure is implemented against the target person to prevent the target person from continuing to approach the pet.
[0013] When the relative approach direction between the pet and the target person is such that the pet and the target person are approaching each other, the first stopping measure is performed on the pet, and the second stopping measure is performed on the target person.
[0014] In one possible design, in another implementation of the first aspect of the embodiments of this application, the process of collecting scene data around the pet and identifying whether a target person exists in the surrounding scene data includes:
[0015] The system acquires real-time sensor data from the human perception sensor on the pet collar. When the presence of a human is detected based on the sensor data, the system activates the camera module on the pet collar and acquires environmental images captured by the camera module.
[0016] Detect whether a target person exists in the environmental image.
[0017] In one possible design, in another implementation of the first aspect of the embodiments of this application, the process of detecting whether a target person exists in the environmental image includes:
[0018] Detect whether there is a human object in the environmental image;
[0019] If so, the height characteristics of the human object are further detected, and the height characteristics are compared with the reference height characteristics of the target person to determine whether the human object belongs to the target person.
[0020] In one possible design, in another implementation of the first aspect of the embodiments of this application, before executing the stopping measure corresponding to the relatively close direction type, it further includes:
[0021] If the owner's information is detected around the pet, a request for instructions on stopping the behavior is sent to the owner.
[0022] Obtain feedback instructions from the master regarding the request information. If the feedback instructions indicate that output is allowed, then trigger the step of executing the stop measure corresponding to the relative proximity direction type. If the feedback instructions indicate that output is prohibited, then do not execute the stop measure.
[0023] In one possible design, in another implementation of the first aspect of this application, the process of determining whether the distance between the pet and the target person meets the set distance proximity condition includes:
[0024] Acquire real-time status data of the pet and determine the pet's behavioral risk level based on the real-time status data;
[0025] Obtain a safe distance threshold that matches the behavioral risk level, wherein the higher the behavioral risk level, the larger the corresponding safe distance threshold.
[0026] Determine whether the distance between the pet and the target person is less than the safe distance threshold. If so, determine that the set distance approach condition is met; otherwise, determine that the set distance approach condition is not met.
[0027] In one possible design, in another implementation of the first aspect of the embodiments of this application, the first stopping measure includes at least one of the following:
[0028] The collar vibrates, provides sound and light warnings, emits gases to repel pets, and provides physical stimulation.
[0029] The second preventive measure includes at least one of the following:
[0030] It outputs warning sounds to prevent the target from approaching, projects warning images, and emits gases to disperse the target.
[0031] Secondly, a pet collar is provided, including a collar body, on which an environmental sensor, a processor and an output module are provided;
[0032] The environmental sensor is used to collect data about the scene around the pet;
[0033] The processor is configured to identify whether a target person exists in the surrounding scene data, wherein the target person is a child whose interaction with the pet is restricted; after identifying the target person, the processor monitors the distance between the pet and the target person and determines the relative approach direction type of the pet and the target person, wherein the relative approach direction type includes: the pet actively approaches the target person, the target person actively approaches the pet, and the pet and the target person approach each other; when it is determined that the distance between the pet and the target person meets the set distance approach condition, the processor controls the output module to output and execute the restraining measures corresponding to the relative approach direction type according to the relative approach direction type of the pet and the target person.
[0034] Thirdly, a readable storage medium is provided having a computer program stored thereon, which, when executed by a processor, implements the steps of the method for restricting interaction between pets and children as described in any of the first aspects of this application.
[0035] Fourthly, a computer program product is provided, comprising a computer program that, when executed by a processor, implements the steps of the method for restricting interaction between pets and children as described in any of the first aspects of this application.
[0036] Using the aforementioned technical solution, this application can collect surrounding environmental data through a collar worn by a pet to identify the presence of a target person, such as a child, in the environment. After identifying the target person, it can monitor the distance between the pet and the target person in real time and determine the type of relative approach direction, distinguishing whether the pet actively approaches the target person, the target person actively approaches the pet, or the pet and target person are approaching each other. Based on this, the distance between the pet and the target person meeting the proximity condition is used as a trigger condition to execute preventative measures. Furthermore, this application has developed differentiated preventative measures for different types of relative approach directions between the pet and the target person. Compared to single, fixed preventative measures, this application can execute corresponding differentiated preventative measures based on the type of relative approach direction between the pet and the target person in the current scenario, improving the preventative effect and thus more effectively preventing interaction between pets and children, and preventing pets from intentionally or unintentionally harming children. Attached Figure Description
[0037] Various other advantages and benefits will become apparent to those skilled in the art upon reading the following detailed description of preferred embodiments. The accompanying drawings are for illustrative purposes only and are not intended to limit the scope of this application. Furthermore, the same reference numerals denote the same parts throughout the drawings. In the drawings:
[0038] Figure 1 A schematic diagram of an implementation system architecture for a method for restricting interaction between pets and children provided in this application embodiment;
[0039] Figure 2 This is a schematic diagram of a pet collar structure provided in an embodiment of this application;
[0040] Figure 3 This is a flowchart illustrating a method for restricting interaction between pets and children, as provided in an embodiment of this application. Detailed Implementation
[0041] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.
[0042] This application provides a method for restricting pet-child interaction, which can be applied to, for example... Figure 1 The system architecture shown may include a pet collar 100 and a server 200. The server 200 may include one or more servers (…). Figure 1 (This example uses a server as an illustration).
[0043] The pet collar 100 can be used alone to perform the method for restricting pet-child interaction provided in the embodiments of this application. Alternatively, the pet collar 100 and the server 200 can also be used collaboratively to perform the method for restricting pet-child interaction provided in the embodiments of this application.
[0044] Reference Figure 2 As shown, the pet collar 100 of this application includes a collar body 101, and an environmental sensor 110, a processor 111 and an output module 112 disposed on the collar body 101.
[0045] Environmental sensors 110 include, but are not limited to: human body sensing sensors, cameras, radar modules, etc.
[0046] Environmental sensor 110 is used to collect data about the environment around the pet.
[0047] The processor 111 communicates with the environmental sensor 110 to identify whether a target person exists in the surrounding scene data. The target person is a child whose interaction with the pet is restricted. After identifying the target person, the processor monitors the distance between the pet and the target person and determines the relative approach direction type between the pet and the target person. The relative approach direction type includes: the pet actively approaches the target person, the target person actively approaches the pet, and the pet and the target person approach each other. When it is determined that the distance between the pet and the target person meets the set distance approach condition, the processor controls the output module 112 to execute the restraining measures corresponding to the relative approach direction type according to the relative approach direction type between the pet and the target person.
[0048] The output module 112 includes, but is not limited to: vibration unit, speaker, display screen, physical stimulation, gas injection device, etc.
[0049] The vibration unit is used to make the collar vibrate to prevent the pet from getting any closer to the target person.
[0050] The loudspeaker can be used to play warning or deterrent audio messages. These messages can be used to stop a pet from approaching a target person; for example, a pre-recorded warning message from the pet owner, or a pre-recorded threatening message that frightens the pet and prevents it from approaching. Alternatively, the loudspeaker can also be used to stop a target person from approaching the pet, such as playing a message like, "The dog is aggressive; please stay away from the dog immediately."
[0051] The display screen can be used to show warning messages to nearby users, alerting them to the danger posed by the pet and advising them to stay away.
[0052] Physical stimulation, such as electrical stimulation, can be used to prevent a pet from approaching the target person. It should be noted that if the restraining measures would cause harm to the pet, authorization from the pet owner and compliance with relevant laws are required before implementation.
[0053] Gas spray devices can be used to spray gases carrying specific odors to repel pets or people. For example, spraying a gas carrying the scent of a predator can scare away a pet. Alternatively, spraying an irritating gas, such as a "fouling agent," can "smoke" away a person.
[0054] The pet collar provided in this embodiment can collect surrounding environmental data and identify the presence of a target person, such as a child, in the environment. After identifying the target person, it can monitor the distance between the pet and the target person in real time and determine the type of relative approach direction, distinguishing whether the pet actively approaches the target person, the target person actively approaches the pet, or the pet and target person are approaching each other. Based on this, the distance between the pet and the target person meeting the proximity condition is used as a trigger condition to execute preventative measures. Furthermore, this application has developed differentiated preventative measures for different types of relative approach directions between the pet and the target person. Compared to single, fixed preventative measures, the pet collar of this application can execute corresponding differentiated preventative measures according to the type of relative approach direction between the pet and the target person in the current scenario, improving the preventative effect and thus more effectively preventing interaction between pets and children, and preventing pets from intentionally or unintentionally harming children.
[0055] This application provides a method for restricting interaction between pets and children. Taking the application of this method to a computer device as an example, the computer device can specifically be... Figure 1 The system consists of pet collar 100 or pet collar 100 and server 200. (Refer to...) Figure 3 The method for limiting pets' interactions with children specifically includes the following steps:
[0056] Step S100: Collect scene data around the pet.
[0057] Specifically, environmental sensors on a pet's collar can collect data about the surrounding environment.
[0058] Step S110: Identify whether there is a target person in the surrounding scene data, wherein the target person is a child subject whose interaction with pets is restricted.
[0059] Specifically, in this application, the target person refers to a child who is restricted from interacting with pets, that is, a child who is prohibited from interacting with pets. Since pets cannot control their own behavior and may intentionally or unintentionally harm the child during the interaction process, this embodiment sets the child as the target person.
[0060] Based on the surrounding scene data collected in the previous step, the target person is identified, that is, it is determined whether there is a target person in the environment around the pet.
[0061] Step S120: After identifying the target person, monitor the distance between the pet and the target person, and determine the relative approach direction type between the pet and the target person.
[0062] Specifically, once the target person is identified in the surrounding scene data, this step can monitor the distance between the pet and the target person in real time using a pet collar. Specifically, this can be achieved by measuring the distance between the pet and the target person using a distance sensor, or by obtaining the distance information through other means.
[0063] Furthermore, this step can further determine the relative approach direction type between the pet and the target person. The relative approach direction type includes the following three types:
[0064] The pet actively approaches the target person, the target person actively approaches the pet, and the pet and the target person approach each other.
[0065] This embodiment provides an optional implementation method for determining the relative approach direction between a pet and a target person, specifically:
[0066] By collecting the pet's own movement data and the target person's movement data through the pet's collar, and using the pet as the central reference frame, the relative position, relative direction of movement, and distance change trend of the target person relative to the pet are calculated. Three types of approach direction are determined according to the following rules:
[0067] 1. The pet actively approaches the target person.
[0068] The pet will actively approach the target person if the following conditions are met:
[0069] The distance between the pet and the target continues to decrease;
[0070] The pet's own movement direction is pointing towards the target person (for example, the relative azimuth angle is ≤ ±45°).
[0071] The target person does not move significantly closer to the pet (the direction of movement is not towards the pet, or is stationary / at a low speed).
[0072] 2. The target person actively approaches the pet.
[0073] Under the following conditions, it is determined that the target person will actively approach the pet:
[0074] The distance between the pet and the target continues to decrease;
[0075] The target person's movement direction relative to the pet is pointing towards the pet (e.g., relative azimuth angle ≤ ±45°).
[0076] The pet itself does not make any obvious approaching movements (the direction of movement is not towards the target person, or it is stationary / moving at low speed).
[0077] 3. The pet approaches the target person.
[0078] The pet and the target person are determined to move closer to each other under the following conditions:
[0079] The distance between the pet and the target continues to decrease;
[0080] The pet's movement is directed towards the target person;
[0081] The target person's movement relative to the pet is directed towards the pet.
[0082] Step S130: When it is determined that the distance between the pet and the target person meets the set distance approach condition, the corresponding prevention measures are executed according to the relative approach direction type of the pet and the target person.
[0083] This application pre-sets proximity conditions, which can be various. For example, a proximity condition could be: the distance between the pet and the target person is less than a safe distance threshold. Another example is: the distance between the pet and the target person continuously decreases, and the distance between them is less than the safe distance threshold.
[0084] When the distance meets the set proximity condition, it indicates that the pet and the target person may subsequently engage in behavioral interaction. To limit this interaction (and prevent injury to the target person), preventative measures can be implemented. Furthermore, this application can configure preventative measures corresponding to different relative proximity direction types. Specifically, at least two relative proximity direction types have different preventative measures. That is, this application can configure differentiated preventative measures for different relative proximity direction types.
[0085] The corresponding intervention measures for each type of relative proximity are more adapted to the risk causes and protection needs under that type of proximity. They can quickly reduce the distance between the two parties in the most efficient and direct way without frightening the pet or the target person, achieving precise and humane proactive safety protection, and improving the effectiveness of protection and user experience.
[0086] The method for restricting pet-child interaction provided in this application collects environmental data through a collar worn by the pet, identifying the presence of a target person, such as a child. Upon identification, the distance between the pet and the target person is monitored in real time, and the relative approach direction is determined, distinguishing between the pet actively approaching the target person, the target person actively approaching the pet, and the pet and target person approaching each other. Based on this, a trigger condition is set when the distance between the pet and the target person meets a proximity condition, initiating the execution of preventative measures. Furthermore, this application establishes differentiated preventative measures for different types of relative approach directions between the pet and the target person. Compared to single, fixed preventative measures, this application can execute corresponding differentiated preventative measures based on the type of relative approach direction between the pet and the target person in the current scenario, improving the preventative effect and thus more effectively preventing pet-child interaction and avoiding intentional or unintentional harm to children by pets.
[0087] In some embodiments of this application, the process of step S130, which involves executing a restraining measure corresponding to the relative approach direction type between the pet and the target person, will be described.
[0088] There are three types of relative approach directions between the pet and the target person, and the corresponding measures to stop them are explained for each type:
[0089] 1. When the relative approach direction between the pet and the target person is such that the pet actively approaches the target person: take the first stop measure against the pet.
[0090] The first deterrent measure is used to prevent the pet from approaching the target person. That is, when the pet actively approaches the target person, the corresponding deterrent measure is aimed at stopping the pet, and the first deterrent measure is used to stop the pet from actively approaching the target person.
[0091] The first preventative measures include, but are not limited to:
[0092] The collar vibrates, provides audible and visual warnings, emits gases to repel pets, and provides physical stimulation.
[0093] 2. When the relative approach direction between the pet and the target person is such that the target person actively approaches the pet: take the second stopping measure against the target person.
[0094] The second deterrent measure is used to prevent the target person from approaching the pet. That is, when the target person actively approaches the pet, the corresponding deterrent measure is aimed at preventing the target person from actively approaching the pet.
[0095] The second preventive measures include, but are not limited to:
[0096] It outputs warning sounds to deter a target from approaching, projects warning images, and emits gases, such as odorants, to disperse the target.
[0097] 3. When the relative approach direction between the pet and the target person is such that the pet and the target person are approaching each other, the first stopping measure shall be taken against the pet, and the second stopping measure shall be taken against the target person.
[0098] Specifically, when the pet ring and the target person actively approach each other, in order to avoid interaction between the two, the first stopping measure is implemented on the pet and the second stopping measure is implemented on the target person, thereby targeting the pet and improving the stopping effect.
[0099] This embodiment provides examples of intervention measures corresponding to each type of relative proximity. These intervention measures are more adapted to the risk causes and protection needs under the corresponding proximity type. They can quickly reduce the distance between the two parties in the most efficient and direct way without frightening the pet or the target person, achieving precise and humane proactive safety protection, and improving the effectiveness of protection and user experience.
[0100] In some embodiments of this application, the process of collecting pet surrounding scene data in step S100 and identifying whether a target person exists in the surrounding scene data in step S110 is described.
[0101] In one possible implementation, to reduce the power consumption of continuously operating the camera module, this embodiment can have the camera module in a default off state. The system acquires real-time sensor data from the human detection sensor on the pet collar. Only after determining that a human presence is detected based on the sensor data is the camera module on the pet collar activated, and environmental images captured by the camera module are obtained.
[0102] Detect the presence of a target person in an environmental image.
[0103] Among them, human body sensing sensors can be PIR, infrared, radar and other sensors.
[0104] In this embodiment, the camera module is only activated when a human body is detected in the environment by a low-power human body sensing sensor. The camera module is only activated when a human body appears near the pet, which can significantly reduce the effective working time.
[0105] Simultaneously, unnecessary image acquisition and data processing are reduced, lowering the system load. When there are no people in the surrounding environment, the processor on the collar does not need to run complex visual recognition algorithms (such as child detection and distance calculation) and can enter a low-power sleep mode. Only after receiving an interrupt signal from the human perception sensor will the processor wake up, turn on the camera, and run the image recognition model, avoiding a large amount of unnecessary calculation and saving CPU / GPU resources. This can significantly reduce the overall system power consumption and extend battery life.
[0106] In one possible implementation, the process of detecting whether a target person exists in the environmental image described above may include:
[0107] Detect the presence of human objects in an environmental image.
[0108] If so, further examine the height characteristics of the human object and compare them with the reference height characteristics of the target person to determine whether the human object belongs to the target person.
[0109] In this embodiment, target individuals can be identified based on height characteristics. For example, a height threshold, such as 110cm, can be used as a reference height feature. If the height of a human object in the environmental image is lower than the height threshold, then the human object can be determined to belong to the target individual.
[0110] Understandably, in addition to identifying target individuals through height, other attributes, such as facial features, can also be used for identification.
[0111] In some embodiments of this application, another method for restricting pet-child interaction is provided.
[0112] Compared to any of the aforementioned embodiments, this embodiment further includes the following step before executing the stopping measure corresponding to the relative proximity direction type in step S130:
[0113] If the owner's information is detected around the pet, a request for instructions on how to stop the behavior will be sent to the owner.
[0114] Obtain feedback instructions from the master regarding the request information. If the feedback instructions indicate that output is allowed, then trigger the step of executing the stop measure corresponding to the relative proximity direction type. If the feedback instructions indicate that output is prohibited, then do not execute the stop measure.
[0115] In one possible implementation, the pet collar can identify whether the owner is around the pet by using environmental images captured by a camera module.
[0116] In another possible implementation, the pet collar can also communicate and locate the owner's handheld device. The pet collar can then determine whether the distance between itself and the handheld device is within a preset distance threshold; if so, it indicates that the owner is nearby.
[0117] When the system detects the presence of the owner in the vicinity of the pet, it sends a request to the owner for permission to take disciplinary action. This request can be delivered either by broadcasting the request over the pet collar's speaker or by sending the request to the owner's handheld device via the pet collar's communication module.
[0118] After receiving feedback instructions from the owner regarding the request, if the instructions indicate that output is permitted, the aforementioned step S130 is triggered to execute the step of the restraining measure corresponding to the relative proximity direction type. If the feedback instructions indicate that output is prohibited, it means that the owner allows the pet to interact with the target person, so the restraining measure can remain in effect.
[0119] The method provided in this embodiment facilitates emotional communication between the pet and the target person. When the pet's owner is present, the pet can consult the owner before implementing any restraining measures. If the owner decides not to take any measures, the restraining measures can be waived. Thus, under the owner's control, and while ensuring safe interaction, emotional communication between the pet and the target person is permitted.
[0120] In some embodiments of this application, the process of determining whether the distance between the pet and the target person in the aforementioned step S130 meets the set distance proximity condition is described.
[0121] In one optional implementation, this application can pre-set a default safe distance threshold. Based on this, it is determined whether the distance between the pet and the target person is less than the safe distance threshold. If so, it is determined that the set distance proximity condition is met; otherwise, it is determined that the set distance proximity condition is not met.
[0122] In another optional implementation, this embodiment provides a dynamic safety distance threshold setting strategy based on the pet's real-time status. Specifically:
[0123] Obtain real-time status data of pets and determine the risk level of pet behavior based on the real-time status data.
[0124] Obtain a safe distance threshold that matches the behavioral risk level, wherein the higher the behavioral risk level, the larger the corresponding safe distance threshold.
[0125] Determine whether the distance between the pet and the target person is less than the safe distance threshold. If so, determine that the set distance approach condition is met; otherwise, determine that the set distance approach condition is not met.
[0126] In this embodiment, the pet's behavioral risk level can be determined based on the pet's real-time status data. For example, the pet's calm, excited, and agitated states are each categorized into three behavioral risk levels:
[0127] Low risk level (calm state);
[0128] Medium risk level (excitement state);
[0129] High risk level (restless state).
[0130] For different behavioral risk levels, matching safe distance thresholds can be set, and as the behavioral risk level increases, the corresponding safe distance threshold also increases. For example:
[0131] The basic safe distance threshold L corresponding to the low risk level min For example, 5m.
[0132] The safe distance threshold corresponding to the medium risk level = 'a' represents a value greater than 0, for example, 30%-50%.
[0133] The safe distance threshold corresponding to the high-risk level = b > a, for example, 80%-100%.
[0134] In one possible implementation, the process of acquiring real-time status data of a pet can involve acquiring one or more modal data, such as the pet's physiological state, behavioral representation data, and sound data.
[0135] Physiological data refers to data reflecting the pet's physical condition, such as heart rate, heart rate variability (HRV), skin conductivity, and body temperature. This data can be obtained through various sensors attached to the pet's collar.
[0136] Behavioral representation data refers to behavioral data that reflects a pet's needs, such as a stable period before an attack when the head is locked onto a target (head angular velocity approaches 0), a forward shift of the body's center of gravity, and a raised tail. This behavioral representation data can be identified using motion sensors on a pet collar.
[0137] The audio data refers to sound data that reflects a pet's emotions, such as the frequency, pitch, and duration of the pet's vocalizations. This audio data can be collected using a microphone attached to a pet collar.
[0138] The behavioral risk level of a pet can be determined by analyzing its real-time status data. In one optional implementation, a pet behavioral risk level recognition model can be pre-trained. The real-time status data of the pet is then fed into the model to obtain the behavioral risk level output by the model.
[0139] The method in this embodiment classifies the behavioral risk level by the pet's real-time status and adopts a dynamic safe distance threshold setting strategy that is positively correlated with the risk level. It can adaptively adjust the protection standard according to the actual danger level of the pet. Compared with the fixed threshold method, it is closer to the real interaction risk. It avoids over-restricting the pet's activities in low-risk scenarios and improves the user experience. At the same time, it can expand the safe distance in advance in high-risk situations, achieving a balance between protection flexibility and safety, and improving the overall rationality, robustness and actual protection effect of the system.
[0140] This application also provides a computer program product including computer-readable instructions, which, when executed on an electronic device, cause the electronic device to perform the steps of any of the methods for restricting pet-child interaction provided in this application.
[0141] This application also provides a computer-readable storage medium carrying one or more computer programs. When the one or more computer programs are executed by an electronic device, the electronic device is able to implement the steps of any of the methods for restricting pet-child interaction provided in this application.
[0142] It should also be noted that the device embodiments described above are merely illustrative. The units described as separate components may or may not be physically separate, and the components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the modules can be selected to achieve the purpose of this embodiment according to actual needs. In addition, in the device embodiment drawings provided in this application, the connection relationship between modules indicates that they have a communication connection, which can be implemented as one or more communication buses or signal lines.
[0143] Through the above description of the embodiments, those skilled in the art can clearly understand that this application can be implemented by means of software plus necessary general-purpose hardware, or it can be implemented by special-purpose hardware including application-specific integrated circuits, special-purpose CPUs, special-purpose memory, special-purpose components, etc. Generally, any function performed by a computer program can be easily implemented by corresponding hardware, and the specific hardware structure used to implement the same function can also be diverse, such as analog circuits, digital circuits, or special-purpose circuits. However, for this application, software program implementation is more often the preferred implementation method. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product is stored in a readable storage medium, such as a computer floppy disk, USB flash drive, mobile hard disk, ROM, RAM, magnetic disk, or optical disk, etc., and includes several instructions to cause a computer device (which may be a personal computer, training equipment, or network device, etc.) to execute the methods described in the various embodiments of this application.
[0144] In the above embodiments, implementation can be achieved, in whole or in part, through software, hardware, firmware, or any combination thereof. When implemented in software, it can be implemented, in whole or in part, as a computer program product.
[0145] The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, all or part of the processes or functions described in the embodiments of this application are generated. The computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions may be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another. For example, the computer instructions may be transmitted from one website, computer, training device, or data center to another website, computer, training device, or data center via wired (e.g., coaxial cable, fiber optic, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) means. The computer-readable storage medium may be any available medium that a computer can store or a data storage device such as a training device or data center that integrates one or more available media. The available media may be magnetic media (e.g., floppy disks, hard disks, magnetic tapes), optical media (e.g., DVDs), or semiconductor media (e.g., solid-state drives (SSDs)).
[0146] The various embodiments in this specification are described in a progressive manner. Each embodiment focuses on the differences from other embodiments. The various embodiments can be combined as needed, and the same or similar parts can be referred to each other.
Claims
1. A method for restricting interaction between pets and children, characterized in that, Methods for applying to pet collars include: Collect data about the environment surrounding the pet; Identify whether a target person exists in the surrounding scene data, wherein the target person is a child whose interaction with pets is restricted; After the target person is identified, the distance between the pet and the target person is monitored, and the relative approach direction type between the pet and the target person is determined. The relative approach direction type includes: the pet actively approaches the target person, the target person actively approaches the pet, and the pet and the target person approach each other. When it is determined that the distance between the pet and the target person meets the set distance proximity condition, the stopping measures corresponding to the relative proximity direction type of the pet and the target person are executed.
2. The method according to claim 1, characterized in that, The process of executing a stop measure corresponding to the relative approach direction type between the pet and the target person includes: When the relative approach direction between the pet and the target person is such that the pet actively approaches the target person, a first deterrent measure is implemented on the pet, which is used to prevent the pet from continuing to approach the target person. When the relative approach direction between the pet and the target person is such that the target person actively approaches the pet, a second deterrent measure is implemented against the target person to prevent the target person from continuing to approach the pet. When the relative approach direction between the pet and the target person is such that the pet and the target person are approaching each other, the first stopping measure is performed on the pet, and the second stopping measure is performed on the target person.
3. The method according to claim 1, characterized in that, The process of collecting scene data around a pet and identifying whether a target person exists in the surrounding scene data includes: The system acquires real-time sensor data from the human perception sensor on the pet collar. When the presence of a human is detected based on the sensor data, the system activates the camera module on the pet collar and acquires environmental images captured by the camera module. Detect whether a target person exists in the environmental image.
4. The method according to claim 3, characterized in that, The process of detecting whether a target person exists in the environmental image includes: Detect whether there is a human object in the environmental image; If so, the height characteristics of the human object are further detected, and the height characteristics are compared with the reference height characteristics of the target person to determine whether the human object belongs to the target person.
5. The method according to claim 1, characterized in that, Before implementing the stopping measures corresponding to the relatively close direction type, the method further includes: If the owner's information is detected around the pet, a request for instructions on stopping the behavior is sent to the owner. Obtain feedback instructions from the master regarding the request information. If the feedback instructions indicate that output is allowed, then trigger the step of executing the stop measure corresponding to the relative proximity direction type. If the feedback instructions indicate that output is prohibited, then do not execute the stop measure.
6. The method according to claim 1, characterized in that, The process of determining whether the distance between the pet and the target person meets the set proximity condition includes: Acquire real-time status data of the pet and determine the pet's behavioral risk level based on the real-time status data; Obtain a safe distance threshold that matches the behavioral risk level, wherein the higher the behavioral risk level, the larger the corresponding safe distance threshold. Determine whether the distance between the pet and the target person is less than the safe distance threshold. If so, determine that the set distance approach condition is met; otherwise, determine that the set distance approach condition is not met.
7. The method according to claim 2, characterized in that, The first preventive measure includes at least one of the following: The collar vibrates, provides sound and light warnings, emits gases to repel pets, and provides physical stimulation. The second preventive measure includes at least one of the following: It outputs warning sounds to prevent the target from approaching, projects warning images, and emits gases to disperse the target.
8. A pet collar, characterized in that, It includes a collar body, on which an environmental sensor, a processor, and an output module are provided; The environmental sensor is used to collect data about the scene around the pet; The processor is configured to identify whether a target person exists in the surrounding scene data, wherein the target person is a child whose interaction with the pet is restricted; after identifying the target person, the processor monitors the distance between the pet and the target person and determines the relative approach direction type of the pet and the target person, wherein the relative approach direction type includes: the pet actively approaches the target person, the target person actively approaches the pet, and the pet and the target person approach each other; when it is determined that the distance between the pet and the target person meets the set distance approach condition, the processor controls the output module to execute the restraining measures corresponding to the relative approach direction type according to the relative approach direction type of the pet and the target person.
9. A readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by the processor, it implements the steps of the method for restricting the interaction between pets and children as described in any one of claims 1 to 7.
10. A computer program product, comprising a computer program, characterized in that, When the computer program is executed by the processor, it implements the steps of the method for restricting the interaction between pets and children as described in any one of claims 1 to 7.