Animal behavior guiding method and device, equipment and storage medium

By analyzing animal activity videos, the sound model is trained to generate target-guided sounds, which solves the problem of animal behavior guidance in the existing technology, achieves accurate guidance of animal behavior, and improves animal welfare and human safety.

CN119132285APending Publication Date: 2024-12-13HUBEI ENG UNIV
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411222579.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-02
Publication Date
2024-12-13

AI Technical Summary

Technical Problem

The prior art is difficult to effectively guide animal behavior, resulting in a decline in animal welfare and human safety risks, and lack of effective behavior guidance methods and devices.

Method used

By obtaining videos of animal activity, determining effective animal behavior and sounds, training initial sound models to generate target-guided sounds, using these sounds to guide animals for behavioral guidance.

Benefits of technology

Accurate guidance of animal behavior is achieved, animal welfare and human safety are improved, and an effective animal behavior guidance method, device and storage medium is provided.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119132285A_ABST
    Figure CN119132285A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of animal behavior guidance, and discloses an animal behavior guidance method and device, equipment and a storage medium, and the method comprises the steps: when a behavior guidance instruction issued by a user is received, determining a target guidance sound corresponding to the behavior guidance instruction according to a preset sound model, the preset sound model is a model obtained by training an initial sound model through an animal activity video of the to-be-guided animal, and performing behavior guidance on the to-be-guided animal through the target guidance sound. According to the method, the guiding instruction issued by the user is analyzed, the target guiding sound corresponding to the instruction is determined through the preset sound model, the to-be-guided animal is guided by playing the target guiding sound, and the sound for communicating with the to-be-guided animal can be obtained through the preset sound model, so that the guiding effect of the to-be-guided animal is improved. And animal behaviors can be guided through the sound.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of animal behavior guidance, and in particular to an animal behavior guidance method, device, equipment and storage medium. Background Art

[0002] The importance of guiding animal behavior has become increasingly prominent in modern society, which is due to the deep concern for animal welfare and the strong pursuit of harmonious coexistence between humans and animals. As people's understanding of animal welfare deepens, scientific research continues to reveal the importance of animals' psychological and physical health to their overall well-being. Bad behavior will not only directly damage the physical and mental health of animals and reduce their quality of life, but also may pose a hidden danger to the safety of human society. Therefore, how to effectively guide animal behavior has become an urgent problem to be solved.

[0003] The above contents are only used to assist in understanding the technical solution of the present application and do not constitute an admission that the above contents are prior art. Summary of the invention

[0004] The main purpose of this application is to provide an animal behavior guidance method, device, equipment and storage medium, aiming to solve the technical problem of how to guide animal behavior.

[0005] To achieve the above objectives, the present application proposes an animal behavior guidance method, the method comprising:

[0006] When receiving a behavior guidance instruction issued by a user, determining a target guidance sound corresponding to the behavior guidance instruction according to a preset sound model, wherein the preset sound model is a model obtained by training an initial sound model through an animal activity video of the animal to be guided;

[0007] The target guiding sound is used to guide the behavior of the animal to be guided.

[0008] In one embodiment, when receiving the behavior guidance instruction issued by the user, before the step of determining the target guidance sound corresponding to the behavior guidance instruction according to the preset sound model, the step includes:

[0009] Obtain animal activity videos of the animals to be guided;

[0010] Determining effective animal behaviors of the animals to be guided in each of the animal activity videos, and determining effective animal sounds corresponding to the effective animal behaviors;

[0011] The initial sound model is trained by using the effective animal behaviors and the effective animal sounds to obtain a preset sound model.

[0012] In one embodiment, the step of determining the effective animal behavior of the animal to be guided in each of the animal activity videos and determining the effective animal sound corresponding to the effective animal behavior includes:

[0013] Determining the animal behavior of the animal to be guided in each of the animal activity videos and the animal sound corresponding to the animal behavior;

[0014] Screening and obtaining effective animal behaviors from the animal behaviors based on preset standard behaviors;

[0015] The animal sound corresponding to the effective animal behavior is used as the effective animal sound.

[0016] In one embodiment, the step of determining the animal behavior of the animal to be guided in each of the animal activity videos and the animal sound corresponding to the animal behavior includes:

[0017] Segmenting the animal activity video according to preset time periods to obtain animal activity video segments;

[0018] Identify the animal to be guided in each of the animal activity video segments to obtain target parameters, where the target parameters include at least one of a displacement parameter and a speed parameter of the animal to be guided;

[0019] The animal behavior of the animal to be guided and the animal sound corresponding to the animal behavior are determined according to the target parameters.

[0020] In one embodiment, the step of selecting and obtaining effective animal behaviors from the animal behaviors based on preset standard behaviors includes:

[0021] Comparing the similarity of each of the animal behaviors with a preset standard behavior;

[0022] When the comparison result reaches a preset similarity threshold, the animal behavior is determined to be a valid behavior.

[0023] In one embodiment, the step of training the initial sound model through the effective animal behavior and the effective animal sound to obtain the preset sound model includes:

[0024] Transcribing each of the valid animal sounds, and playing each transcription result;

[0025] The current behavior of the animal to be guided is collected, and it is determined whether the matching degree between each collection result and the effective animal behavior corresponding to each effective animal sound meets a preset condition;

[0026] If so, the initial sound model is trained using the effective animal sounds to obtain a preset sound model.

[0027] In one embodiment, when receiving a behavior guidance instruction issued by a user, the step of determining a target guidance sound corresponding to the behavior guidance instruction according to a preset sound model includes:

[0028] When receiving a guidance instruction triggered by a user, determining a guidance behavior corresponding to the guidance instruction;

[0029] The guiding behavior is input into a preset sound model to obtain a target guiding sound corresponding to the guiding behavior.

[0030] In addition, to achieve the above-mentioned purpose, the present application also proposes an animal behavior guiding device, the device comprising:

[0031] A sound conversion module, for, when receiving a behavior guidance instruction issued by a user, determining a target guidance sound corresponding to the behavior guidance instruction according to a preset sound model, wherein the preset sound model is a model obtained by training an initial sound model through an animal activity video of the animal to be guided;

[0032] The behavior guidance module is used to guide the behavior of the animal to be guided through the target guidance sound.

[0033] In addition, to achieve the above-mentioned purpose, the present application also proposes an animal behavior guidance device, which includes: a memory, a processor, and a computer program stored in the memory and executable on the processor, and the computer program is configured to implement the steps of the animal behavior guidance method as described above.

[0034] In addition, to achieve the above-mentioned purpose, the present application also proposes a storage medium, which is a computer-readable storage medium, and a computer program is stored on the storage medium. When the computer program is executed by a processor, the steps of the animal behavior guidance method described above are implemented.

[0035] The present application proposes an animal behavior guidance method, device, equipment and storage medium, characterized in that the method includes: when receiving a behavior guidance instruction issued by a user, determining a target guidance sound corresponding to the behavior guidance instruction according to a preset sound model, wherein the preset sound model is a model obtained by training an initial sound model through an animal activity video of the animal to be guided, and guiding the behavior of the animal to be guided through the target guidance sound. The present application can analyze the guidance instruction issued by the user, determine the target guidance sound corresponding to the instruction through a preset sound model, and guide the animal to be guided by playing the target guidance sound. Since the sound for communicating with the animal to be guided can be obtained through the preset sound model, the animal behavior can be guided through the sound. BRIEF DESCRIPTION OF THE DRAWINGS

[0036] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.

[0037] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.

[0038] Figure 1 A flowchart of a first embodiment of the animal behavior guidance method proposed in the embodiment of the present application;

[0039] Figure 2 A flow chart of a second embodiment of the animal behavior guidance method proposed in the embodiment of the present application;

[0040] Figure 3 A flowchart of a third embodiment of the animal behavior guidance method proposed in the embodiment of the present application;

[0041] Figure 4 A diagram of an animal behavior guiding device provided in an embodiment of the present application;

[0042] Figure 5 It is a schematic diagram of the structure of an animal behavior guiding device suitable for implementing the embodiment of the present application.

[0043] The realization of the purpose, functional features and advantages of this application will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION

[0044] It should be understood that the specific embodiments described herein are only used to explain the technical solutions of the present application and are not used to limit the present application.

[0045] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0046] It should be noted that all directional indications in the embodiments of the present application (such as up, down, left, right, front, back, etc.) are only used to explain the relative position relationship, movement status, etc. between the components under a certain specific posture (as shown in the accompanying drawings). If the specific posture changes, the directional indication will also change accordingly.

[0047] It is understandable that in today's society, the importance of guiding animal behavior has become increasingly prominent. Behind this phenomenon, society reflects its deep concern for animal welfare and its strong pursuit of the ideal of harmonious coexistence between humans and animals. As people's understanding of animal welfare continues to deepen, scientific research continues to reveal the importance of animals' mental and physical health to their overall well-being. Bad behavior will not only directly damage the physical and mental health of animals and lead to a decline in their quality of life, but may also pose a potential threat to the safety of human society, such as aggressive behavior of wild animals and accidental injuries to pets. Therefore, how to effectively guide animal behavior and ensure that they can maintain a good mental and physical state in human society has become an urgent problem to be solved.

[0048] Therefore, in order to solve the technical problem of how to guide animal behavior, this embodiment proposes an animal behavior guidance method, the method comprising: when receiving a behavior guidance instruction issued by a user, determining the target guidance sound corresponding to the above behavior guidance instruction according to a preset sound model, wherein the preset sound model is a model obtained by training an initial sound model through an animal activity video of the animal to be guided, and guiding the behavior of the animal to be guided through the above target guidance sound. The present application can analyze the guidance instruction issued by the user, determine the target guidance sound corresponding to the instruction through a preset sound model, and guide the animal to be guided by playing the target guidance sound. Since the sound for communicating with the animal to be guided can be obtained through the above preset sound model, the animal behavior can be guided through the sound.

[0049] For ease of understanding, the following combination Figures 1 to 5 The animal behavior guiding method provided in the embodiment of the present application and the animal behavior guiding method, device, equipment and storage medium provided in the following embodiments are specifically introduced.

[0050] The present application embodiment provides an animal behavior guidance method, referring to Figure 1 , Figure 1 This is a flow chart of the first embodiment of the animal behavior guidance method proposed in the embodiments of the present application.

[0051] like Figure 1 As shown, the method includes:

[0052] Step S10: When a behavior guidance instruction issued by a user is received, a target guidance sound corresponding to the behavior guidance instruction is determined according to a preset sound model, wherein the preset sound model is a model obtained by training an initial sound model through an animal activity video of the animal to be guided.

[0053] It should be noted that the execution subject of this embodiment can be a computing service device with animal behavior guidance, network communication and program running functions, such as a tablet computer, a personal computer, a mobile phone, etc., or an electronic device capable of realizing the above functions, etc. The following takes the animal behavior guidance device (hereinafter referred to as the device) as an example to illustrate this embodiment and the following embodiments.

[0054] In addition, it should be noted that the above-mentioned behavior guidance instructions can be a series of instructions issued by the user in order to change or adjust the behavior of the animal. These instructions can be simple commands, such as "sit down" and "leave", or complex training tasks designed to help animals learn new behavior patterns or improve existing behaviors. The above-mentioned target guidance sound can be an animal sound corresponding to the above-mentioned behavior obtained according to a preset sound model, and the animal sound is a sound extracted and analyzed from the animal activity video that can communicate with the animal to be guided.

[0055] It is understandable that the above-mentioned preset sound model can be a trained sound recognition and processing model, which can recognize and generate sounds related to animal behavior guidance, and is obtained by analyzing the animal activity video of the animal to be guided and customizing the initial sound model (such as the OpenL3 model). The above-mentioned initial sound model can be a model that contains a wide range of sound samples and corresponding general behavioral responses. During the training process, the above-mentioned initial model will learn the response of specific animals to different sounds, thereby adjusting and optimizing the association between sound and behavior. This training enables the preset sound model to more accurately predict and generate specific sounds that can guide specific animal behaviors. For example, if we want to train a dog to learn to sit down when it hears a specific sound, the preset sound model will analyze the dog's response to different sounds, find the sound that can most effectively trigger the sitting behavior, and output it as the target guiding sound to achieve the purpose of behavioral guidance.

[0056] Furthermore, when receiving the behavior guidance instruction issued by the user, the step of determining the target guidance sound corresponding to the behavior guidance instruction according to the preset sound model includes:

[0057] Step S101: when receiving a guidance instruction triggered by a user, determining a guidance behavior corresponding to the guidance instruction;

[0058] Step S102: inputting the guidance behavior into a preset sound model to obtain a target guidance sound corresponding to the guidance behavior.

[0059] It should be noted that the above-mentioned guidance behavior can be the behavior that the user needs the animal to be guided to perform obtained by analyzing the guidance instruction. In a specific implementation, when the above-mentioned device receives the guidance instruction issued by the user, it determines the behavior that the user needs the animal to be guided to perform currently by analyzing the content of the instruction, and searches for the animal sound corresponding to the behavior from the preset sound model as the target guidance sound based on the above-mentioned behavior.

[0060] In addition, it should be noted that when facing different types of animals to be guided, the preset sound model can be trained according to the activity videos of the different animals to be guided, so that the above-mentioned device can adjust the stable guidance effect when facing different types of animals to be guided.

[0061] Step S20: guiding the behavior of the animal to be guided by the target guiding sound.

[0062] It is understandable that, in order to guide behavior, the above-mentioned device in this embodiment may also be provided with a playback device, such as a speaker, etc. In a specific implementation, after confirming the target guidance sound, the above-mentioned device may directly play the above-mentioned target guidance sound through a speaker or other sound playback device, so that the above-mentioned animal to be guided performs activities according to the guidance behavior required by the above-mentioned user after hearing the target guidance sound.

[0063] The present embodiment relates to the technical field of animal behavior guidance, and discloses an animal behavior guidance method, which includes: when receiving a behavior guidance instruction issued by a user, determining a target guidance sound corresponding to the behavior guidance instruction according to a preset sound model, wherein the preset sound model is a model obtained by training an initial sound model through an animal activity video of the animal to be guided, and guiding the animal to be guided through the target guidance sound. The present embodiment can analyze the guidance instruction issued by the user, determine the target guidance sound corresponding to the instruction through the preset sound model, and guide the animal to be guided by playing the target guidance sound. Since the sound for communicating with the animal to be guided can be obtained through the preset sound model, the animal behavior can be guided through the sound.

[0064] Based on the first embodiment, in the second embodiment, the same or similar contents as those in the above-mentioned embodiment 1 can be referred to the above introduction, and will not be described in detail later. Figure 2 , Figure 2 This is a flow chart of the second embodiment of the animal behavior guidance method proposed in the embodiment of the present application. In order to obtain the trained preset sound model, the above step S10 also includes steps S01 to S03:

[0065] Step S01: Obtaining an animal activity video of the animal to be guided.

[0066] It should be noted that the animal activity video may be a video recording a series of behaviors of the animal to be guided, including the behavioral image of the animal to be guided and the animal sound corresponding to the image, and the animal activity video may be an activity video of the animal to be guided or an activity video of an animal of the same species, gender and characteristics as the animal to be guided. In a specific implementation, the device may obtain the activity video of the animal to be guided by directly shooting or from the Internet, and this embodiment is not limited thereto.

[0067] Step S02: determining the effective animal behaviors of the animals to be guided in each of the animal activity videos, and determining the effective animal sounds corresponding to the effective animal behaviors.

[0068] It should be understood that the above-mentioned effective animal behavior may be the behavior of the animal that can be identified by the above-mentioned device, and the above-mentioned effective animal sound may be the sound of the animal to be guided in the activity video corresponding to the above-mentioned effective animal behavior.

[0069] It is understandable that there are a series of behaviors in the process of animal activities, some of which have social significance and some do not. Users can formulate preset standard behaviors based on the daily behaviors of the animals to be guided and provide them to the above-mentioned devices for judging whether the animal behaviors in the activity video are valid animal behaviors.

[0070] Exemplarily, the following explanation is based on the behavior of mice, but this embodiment is not specifically limited. The user can pre-define the standard behavior of mice, including: 1 Chasing males: the distance between the two males is within 30cm, the initial distance of the chased male is more than 15cm away from the female mouse, and the two movement trajectories overlap by at least 50%; 2 Chasing: one follows the other, and the routes overlap by 60%; 3 Fighting: the overlapping parts of the bodies of the two mice are greater than 30%, and the behaviors are biting, wrestling, grappling, etc.; 4 Escape: A mouse reacts quickly to certain behaviors and sounds, with an initial acceleration greater than 5cm / s; 5 Avoidance: The behavior of moving away from a certain place or a certain mouse, with a speed greater than 2.5cm / s; 6 Circling each other : Two mice chased each other and sniffed each other's reproductive organs, with 80% overlapping routes; 7 Walking: There were no other mice within 35cm, crawling alone, more than 20 frames, and the speed was less than 2cm / s; 8 Chasing females: A mouse was chasing a female mouse, with 50% overlapping routes; 9 Summoning: When mice encounter certain situations, the surrounding mice will have a clustering effect, and more than two mice will gather within 5cm around the mouse if the distance exceeds 8CM; 10 Hiding: When mice encounter certain situations, more than two mice within 5-10cm will run away more than 8CM, accompanied by the running of other mice around them, with an initial speed of 2.5cm / s.

[0071] Furthermore, in order to determine the effective animal behaviors and effective animal sounds in the above-mentioned animal activity videos, the steps of determining the effective animal behaviors of the animals to be guided in each of the animal activity videos and determining the effective animal sounds corresponding to the effective animal behaviors include:

[0072] Step S021: determining the animal behavior of the animal to be guided in each of the animal activity videos and the animal sound corresponding to the animal behavior.

[0073] It should be noted that the above-mentioned animal behaviors may be all behaviors of the animal to be guided obtained from the analysis of the above-mentioned animal activity video, and the above-mentioned animal sounds may be the sounds of the animal to be guided in the video corresponding to the above-mentioned animal behavior portion in the above-mentioned animal activity video. In a specific implementation, after acquiring the animal activity video, the above-mentioned device determines whether there is animal behavior in the video based on information such as the movement pattern or speed of the animal in the picture, and if there is animal behavior, obtains the sound of the corresponding segment of the video, and if there is no animal behavior, stops subsequent operations.

[0074] Step S022: Filtering and obtaining effective animal behaviors from the animal behaviors based on preset standard behaviors;

[0075] Step S023: taking the animal sound corresponding to the valid animal behavior as the valid animal sound.

[0076] It should be noted that the above-mentioned preset standard behavior can be a standard behavior set in advance by the user according to the general behavior of the animal to be guided. In a specific implementation, after the above-mentioned device extracts the animal behavior of the animal to be guided from the above-mentioned animal activity video, the above-mentioned animal behavior is compared with the preset standard behavior to determine whether the above-mentioned animal behavior belongs to the preset standard behavior. If not, the device stops and the operation is required. If so, the above-mentioned animal behavior is regarded as a valid animal behavior, and the animal sound corresponding to the valid animal behavior is regarded as a valid animal sound.

[0077] Step S03: training the initial sound model through the effective animal behavior and the effective animal sound to obtain a preset sound model.

[0078] In a specific implementation, after obtaining the above-mentioned effective animal behavior and effective animal sound, the above-mentioned device binds the above-mentioned effective animal behavior and effective animal sound through the above-mentioned initial sound model, and stores them in the sound model to obtain a preset sound model.

[0079] In this embodiment, the above-mentioned device can obtain effective animal behaviors and effective animal sounds by acquiring and analyzing the activity videos of the above-mentioned animals to be guided, and train the initial sound model through the effective animal behaviors and effective animal sounds to obtain a preset sound model, so that the sound model can generate effective sounds corresponding to effective behaviors through instructions issued by the user, so as to guide the behavior of the above-mentioned animals to be guided.

[0080] At the same time, when facing different types of animals to be guided, the above-mentioned device can train the above-mentioned preset sound model according to the activity videos of the above-mentioned different animals to be guided, so that the above-mentioned device can achieve the effect of guiding the animals to be guided when facing different types of animals to be guided.

[0081] Based on the first and second embodiments, in the third embodiment, the same or similar contents as those in the first and second embodiments can be referred to the above description, and will not be described in detail later. Figure 3 , Figure 3 This is a flowchart of the third embodiment of the animal behavior guidance method proposed in the embodiment of the present application. In order to more accurately determine the animal behavior and the corresponding animal sound, the step of determining the animal behavior of the animal to be guided in each of the animal activity videos and the animal sound corresponding to the animal behavior includes:

[0082] Step S0211: Segment the animal activity video according to preset time periods to obtain animal activity video segments.

[0083] It should be noted that the obtained animal activity video is generally long in duration, and the video can be segmented to obtain several video segments, and then the animal behavior can be more efficiently identified by analyzing the video segments. The above-mentioned preset time period can be a fixed time length set in the video segmentation process, which is used to cut the continuous video stream into multiple independent parts, and the above-mentioned animal activity video segment can be a segment of the animal activity video obtained by segmenting the above-mentioned animal activity video.

[0084] Step S0212: Identify the animal to be guided in each of the animal activity video segments to obtain target parameters, where the target parameters include at least one of a displacement parameter and a speed parameter of the animal to be guided;

[0085] Step S0213: determining the animal behavior of the animal to be guided and the animal sound corresponding to the animal behavior according to the target parameters.

[0086] It should be noted that the above-mentioned target parameter can be at least one of the displacement parameter and speed parameter of the animal to be guided. The above-mentioned displacement parameter can be the distance moved by the above-mentioned animal to be guided in several consecutive frames or several seconds of video in the activity video. The above-mentioned speed parameter can be the average speed of the above-mentioned animal to be guided in the animal activity video or the speed at a certain moment. This embodiment is not limited to this.

[0087] For ease of understanding, the following takes the analysis of a video of an animal activity of a mouse as an example, but does not specifically limit this embodiment. Video analysis corresponding to different behaviors of mice includes: 1. Chasing males: two consecutive images with a time interval of less than 10 frames are merged into one sample, and the videos with less than 6 frames after merging are eliminated. The mice in the sample are analyzed, and the matching degree of the front and back paths of the two mice is more than 80%; 2. Chasing: the videos with an interval of less than 10 frames are merged into one sample, and the matching degree of the front and back paths of the two mice is more than 50%; 3. Fighting: the merger within an interval of less than 10 frames, the sample duration is more than 30 frames, the initial position of the two mice is at least 5cm away from the opposite sex mouse, and the initial speed is greater than 7.5cm / s; 4. Escape: the sample time is greater than 10 frames, and the initial position distance of the two mice does not exceed 8cm; 5. Stay away: the sample time is greater than 10 frames, and the initial position distance of the two mice does not exceed 8cm; 6. Turning around each other: the merger within 5 frames, select the one with more than 10 frames, and the initial position of the two mice is less than 5cm; 7. Walking: select the one with more than 20 frames; 8. Chasing females: the merger within an interval of less than 10 frames, select the video with more than 10 frames, and the overlap of the footprints of the two mice is greater than 20%. The initial distance between the two mice is between 7cm and 30cm; 9 Summoning: In certain specific situations (when encountering food), two or more mice with a distance of more than 8cm will gather around the mouse; 10 Hiding: In 10 frames, two or more mice will run away from the mouse.

[0088] Furthermore, in order to more accurately screen out effective animal behaviors and effective animal sounds, the step of screening out effective animal behaviors from the animal behaviors based on preset standard behaviors includes:

[0089] Step S0221: comparing the similarity between each of the animal behaviors and a preset standard behavior;

[0090] Step S0222: When the comparison result reaches a preset similarity threshold, the animal behavior is determined to be a valid behavior.

[0091] It should be noted that the above-mentioned similarity comparison can be an evaluation method, by which the actually observed animal behavior is compared with the preset standard behavior set in advance to determine the degree of similarity between the two. The above-mentioned preset similarity threshold can be a preset score limit, which is used to determine whether the similarity between the observed behavior and the preset standard behavior is sufficient to determine whether the behavior achieves the expected effect. In a specific implementation, after the above-mentioned device obtains the animal behavior of the animal to be guided from the above-mentioned animal activity video, the obtained animal behavior is compared with the preset standard behavior for similarity, and it is determined whether the similarity between the two reaches the preset similarity threshold (such as 80%). If not, the animal behavior is determined to be invalid animal behavior. If so, the above-mentioned animal behavior is determined to be valid animal behavior, and the animal sound corresponding to the valid animal behavior is obtained as the valid animal sound, and subsequent operations are performed based on the obtained valid animal behavior and valid animal sound.

[0092] Further, in order to determine that the effective animal sound can guide the animal to be guided, the step of training the initial sound model through the effective animal behavior and the effective animal sound to obtain the preset sound model includes:

[0093] Step S031: transcribing each of the valid animal sounds and playing each transcription result;

[0094] It should be noted that the above transcription may be to convert the above valid animal sound from a sound signal into an electrical signal or a virtual signal and then convert the electrical signal or the virtual signal into a sound, and the transcription result is the sound obtained by the above transcription. In a specific implementation, after obtaining the valid animal sound, the above device transcribes the animal sound and plays the transcribed sound through a speaker or other device.

[0095] Step S032: collecting the current behavior of the animal to be guided, and determining whether the matching degree between each collection result and the effective animal behavior corresponding to each effective animal sound meets a preset condition;

[0096] Step S033: If yes, the initial sound model is trained by the effective animal sound to obtain a preset sound model.

[0097] It should be understood that the above-mentioned collection results may be the behavior of the animal after the transcription results are played, the above-mentioned matching degree may be the degree of correlation between the above-mentioned collection results and the effective animal behavior corresponding to the transcribed effective animal sound, and the preset condition may be an indicator pre-set by the user for judging the above-mentioned degree of correlation.

[0098] In a specific implementation, after playing the transcribed sound, the above-mentioned device identifies and collects the behavior of the animal to be guided, compares the collected animal behavior with the effective animal behavior corresponding to the transcribed effective animal sound, and determines whether the match between the two meets the preset conditions (such as the similarity of the behavior reaches 90%). If not, subsequent operations are stopped. If so, the above-mentioned initial sound model is trained through the above-mentioned effective animal behavior and effective animal sound to obtain a preset sound model.

[0099] It should be noted that the above examples are only used to understand the present embodiment and do not constitute a limitation on the animal behavior guidance method of the present embodiment. More simple transformations based on this technical concept are all within the protection scope of the present embodiment.

[0100] This embodiment also provides an animal behavior guidance device, please refer to Figure 4 , Figure 4 A diagram of an animal behavior guidance device provided in an embodiment of the present application, wherein the animal behavior guidance device comprises:

[0101] A sound conversion module, for, when receiving a behavior guidance instruction issued by a user, determining a target guidance sound corresponding to the behavior guidance instruction according to a preset sound model, wherein the preset sound model is a model obtained by training an initial sound model through an animal activity video of the animal to be guided;

[0102] The behavior guidance module is used to guide the behavior of the animal to be guided through the target guidance sound.

[0103] The animal behavior guiding device provided in this embodiment adopts the animal behavior guiding method in the above embodiment, which can solve the technical problem of how to guide animal behavior. Compared with the prior art, the beneficial effects of the animal behavior guiding device provided in this embodiment are the same as the beneficial effects of the animal behavior guiding method provided in the above embodiment, and other technical features in the animal behavior guiding device are the same as the features disclosed in the above embodiment method, which will not be repeated here.

[0104] As an embodiment, the sound conversion module is also used to obtain animal activity videos of the animals to be guided; determine the effective animal behaviors of the animals to be guided in each of the animal activity videos, and determine the effective animal sounds corresponding to the effective animal behaviors; train the initial sound model through the effective animal behaviors and the effective animal sounds to obtain a preset sound model.

[0105] The sound conversion module is also used to determine the animal behavior of the animal to be guided in each of the animal activity videos and the animal sound corresponding to the animal behavior; filter and obtain effective animal behavior from the animal behavior based on preset standard behavior; and use the animal sound corresponding to the effective animal behavior as the effective animal sound.

[0106] The sound conversion module is also used to determine the guidance behavior corresponding to the guidance instruction when receiving the guidance instruction triggered by the user; input the guidance behavior into the preset sound model to obtain the target guidance sound corresponding to the guidance behavior.

[0107] As an embodiment, the sound conversion module is also used to divide the animal activity video according to preset time periods to obtain animal activity video segments; identify the animal to be guided in each of the animal activity video segments to obtain target parameters, and the target parameters include at least: at least one of the displacement parameters and speed parameters of the animal to be guided; determine the animal behavior of the animal to be guided and the animal sound corresponding to the animal behavior based on the target parameters.

[0108] As an implementation mode, the sound conversion module is also used to compare the similarity between each of the animal behaviors and a preset standard behavior; when the comparison result reaches a preset similarity threshold, the animal behavior is determined to be a valid behavior.

[0109] As an embodiment, the sound conversion module is also used to transcribe each of the valid animal sounds and play each transcription result; collect the current behavior of the animal to be guided, and determine whether the matching degree between each collected result and the valid animal behavior corresponding to each of the valid animal sounds meets the preset conditions; if so, the initial sound model is trained through the valid animal sounds to obtain a preset sound model.

[0110] This embodiment provides an animal behavior guidance device, which includes: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the animal behavior guidance method in the above-mentioned embodiment one.

[0111] Reference below Figure 5 , Figure 5: is a schematic diagram of the structure of an animal behavior guidance device suitable for implementing the embodiment of the present application. The animal behavior guidance device in the embodiment of the present application may include but is not limited to mobile terminals such as mobile phones, laptop computers, digital broadcast receivers, PDAs (Personal Digital Assistants), PADs (Portable Application Descriptions), PMPs (Portable Media Players), vehicle-mounted terminals (such as vehicle-mounted navigation terminals), etc., and fixed terminals such as digital TVs, desktop computers, etc. Figure 5 The animal behavior guiding device shown is merely an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.

[0112] like Figure 5 As shown, the animal behavior guidance device may include a processing device 1001 (e.g., a central processing unit, a graphics processor, etc.), which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM: Read Only Memory) 1002 or a program loaded from a storage device 1003 to a random access memory (RAM: Random Access Memory) 1004. In RAM1004, various programs and data required for the operation of the animal behavior guidance device are also stored. The processing device 1001, ROM1002, and RAM1004 are connected to each other through a bus 1005. An input / output (I / O) interface 1006 is also connected to the bus. Generally, the following systems can be connected to the I / O interface 1006: an input device 1007 including, for example, a touch screen, a touch pad, a keyboard, a mouse, an image sensor, a microphone, an accelerometer, a gyroscope, etc.; an output device 1008 including, for example, a liquid crystal display (LCD: Liquid Crystal Display), a speaker, a vibrator, etc.; a storage device 1003 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 1009. The communication device 1009 can allow the animal behavior guidance device to communicate wirelessly or wired with other devices to exchange data. Although the figure shows an animal behavior guidance device with various systems, it should be understood that it is not required to implement or have all the systems shown. More or fewer systems can be implemented or have alternatively.

[0113] In particular, according to the present embodiment, the process described above with reference to the flowchart can be implemented as a computer software program. For example, the present embodiment includes a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program contains program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from the network through a communication device, or installed from the storage device 1003, or installed from the ROM 1002. When the computer program is executed by the processing device 1001, the above-mentioned functions defined in the method of the embodiment disclosed in the present embodiment are executed.

[0114] The animal behavior guiding device provided in this embodiment adopts the animal behavior guiding method in the above embodiment, which can solve the technical problem of how to guide animal behavior. Compared with the prior art, the beneficial effects of the animal behavior guiding device provided in this embodiment are the same as the beneficial effects of the animal behavior guiding method provided in the above embodiment, and other technical features in the animal behavior guiding device are the same as the features disclosed in the method of the previous embodiment, which will not be repeated here.

[0115] It should be understood that the various parts disclosed in this embodiment can be implemented by hardware, software, firmware or a combination thereof. In the description of the above embodiments, specific features, structures, materials or characteristics can be combined in any one or more embodiments or examples in a suitable manner.

[0116] The above is only a specific implementation of this embodiment, but the protection scope of this embodiment is not limited thereto. Any technician familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed in this embodiment, which should be included in the protection scope of this embodiment. Therefore, the protection scope of this embodiment should be based on the protection scope of the claims.

[0117] This embodiment provides a computer-readable storage medium having computer-readable program instructions (ie, computer programs) stored thereon, and the computer-readable program instructions are used to execute the animal behavior guiding method in the above-mentioned embodiment.

[0118] The computer-readable storage medium provided in this embodiment may be, for example, a USB flash drive, but is not limited to electrical, magnetic, optical, electromagnetic, infrared, or semiconductor systems, systems or devices, or any combination thereof. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer 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 disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination thereof. In this embodiment, the computer-readable storage medium may be any tangible medium containing or storing a program that may be used by or in conjunction with an instruction execution system, system or device. The program code contained on the computer-readable storage medium may be transmitted using any appropriate medium, including, but not limited to: wires, optical cables, RF (Radio Frequency), etc., or any suitable combination thereof.

[0119] The computer-readable storage medium may be included in the animal behavior guiding device; or may exist independently without being assembled into the animal behavior guiding device.

[0120] The computer-readable storage medium carries one or more programs. When the one or more programs are executed by the animal behavior guidance device, the animal behavior guidance device performs animal behavior guidance.

[0121] The computer program code for performing the operations of the present embodiment may be written in one or more programming languages ​​or a combination thereof, including object-oriented programming languages, such as Java, Smalltalk, C++, and conventional procedural programming languages, such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer via any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., via the Internet using an Internet service provider).

[0122] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present embodiment. In this regard, each square box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.

[0123] The modules involved in the description of this embodiment may be implemented by software or hardware, wherein the name of the module does not constitute a limitation on the unit itself in some cases.

[0124] The readable storage medium provided in this embodiment is a computer-readable storage medium, which stores computer-readable program instructions (i.e., computer programs) for executing the above-mentioned animal behavior guidance method, and can solve the technical problem of how to guide animal behavior. Compared with the prior art, the beneficial effects of the computer-readable storage medium provided in this embodiment are the same as the beneficial effects of the animal behavior guidance method provided in the above-mentioned embodiment, and will not be repeated here.

[0125] This embodiment also provides a computer program product, including a computer program, which implements the steps of the animal behavior guiding method as described above when executed by a processor.

[0126] The computer program product provided in this embodiment can solve the technical problem of how to guide animal behavior. Compared with the prior art, the beneficial effects of the computer program product provided in this embodiment are the same as the beneficial effects of the animal behavior guiding method provided in the above embodiment, which will not be repeated here.

[0127] The above descriptions are only some embodiments, and are not intended to limit the patent scope of this embodiment. All equivalent structural changes made using the contents of the specification and drawings of this application under the technical concept of this application, or directly / indirectly applied in other related technical fields are included in the patent protection scope of this application.

Claims

1. A method for guiding animal behavior, characterized in that: The method comprises: When receiving a behavior guidance instruction issued by a user, determining a target guidance sound corresponding to the behavior guidance instruction according to a preset sound model, wherein the preset sound model is a model obtained by training an initial sound model through an animal activity video of the animal to be guided; The target guiding sound is used to guide the behavior of the animal to be guided.

2. The method according to claim 1, characterized in that Before the step of determining the target guidance sound corresponding to the behavior guidance instruction according to the preset sound model when receiving the behavior guidance instruction issued by the user, the method includes: Obtain animal activity videos of the animals to be guided; Determining effective animal behaviors of the animals to be guided in each of the animal activity videos, and determining effective animal sounds corresponding to the effective animal behaviors; The initial sound model is trained by using the effective animal behaviors and the effective animal sounds to obtain a preset sound model.

3. The method according to claim 2, characterized in that The step of determining the effective animal behavior of the animal to be guided in each of the animal activity videos, and determining the effective animal sound corresponding to the effective animal behavior, comprises: Determining the animal behavior of the animal to be guided in each of the animal activity videos and the animal sound corresponding to the animal behavior; Filtering and obtaining effective animal behaviors from the animal behaviors based on preset standard behaviors; The animal sound corresponding to the effective animal behavior is used as the effective animal sound.

4. The method according to claim 3, characterized in that The step of determining the animal behavior of the animal to be guided in each of the animal activity videos and the animal sound corresponding to the animal behavior comprises: Segmenting the animal activity video according to preset time periods to obtain animal activity video segments; Identify the animal to be guided in each of the animal activity video segments to obtain target parameters, where the target parameters include at least one of a displacement parameter and a speed parameter of the animal to be guided; The animal behavior of the animal to be guided and the animal sound corresponding to the animal behavior are determined according to the target parameters.

5. The method according to claim 3, characterized in that The step of selecting and obtaining effective animal behaviors from the animal behaviors based on preset standard behaviors comprises: Comparing the similarity of each of the animal behaviors with a preset standard behavior; When the comparison result reaches a preset similarity threshold, the animal behavior is determined to be a valid behavior.

6. The method according to claim 2, characterized in that The step of training the initial sound model through the effective animal behavior and the effective animal sound to obtain the preset sound model comprises: Transcribing each of the valid animal sounds, and playing each transcription result; The current behavior of the animal to be guided is collected, and it is determined whether the matching degree between each collection result and the effective animal behavior corresponding to each effective animal sound meets a preset condition; If so, the initial sound model is trained using the effective animal sounds to obtain a preset sound model.

7. The method according to claim 1, characterized in that The step of determining the target guidance sound corresponding to the behavior guidance instruction according to the preset sound model when receiving the behavior guidance instruction issued by the user includes: When receiving a guidance instruction triggered by a user, determining a guidance behavior corresponding to the guidance instruction; The guiding behavior is input into a preset sound model to obtain a target guiding sound corresponding to the guiding behavior.

8. An animal behavior guiding device, characterized in that: The device comprises: A sound conversion module, for, when receiving a behavior guidance instruction issued by a user, determining a target guidance sound corresponding to the behavior guidance instruction according to a preset sound model, wherein the preset sound model is a model obtained by training an initial sound model through an animal activity video of the animal to be guided; The behavior guidance module is used to guide the behavior of the animal to be guided through the target guidance sound.

9. An animal behavior guiding device, characterized in that: The device comprises: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the computer program is configured to implement the steps of the animal behavior guiding method according to any one of claims 1 to 7.

10. A storage medium, characterized in that: The storage medium is a computer-readable storage medium, and a computer program is stored on the storage medium. When the computer program is executed by a processor, the steps of the animal behavior guiding method according to any one of claims 1 to 7 are implemented.