Barking stopping method and barking stopping device

By identifying dog barking sounds and sound wave frequencies, and automatically adjusting the frequency and emission time of the repelling sound waves, it solves the problems of limited use time and impact on the dog's sense of smell of existing bark stoppers, and achieves long-term and effective bark control effects.

CN118765820AInactive Publication Date: 2024-10-15广东酷特科技有限公司
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411125007.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-15
Publication Date
2024-10-15
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

Existing bark control devices require regular addition of aromatherapy, which has a limited use time and too much aromatherapy has a negative impact on the dog's sense of smell, making it unable to effectively control barking for a long time.

Method used

The sound collection module identifies the dog barking sound, combines the pre-stored sound model to identify the dog type and sound wave frequency, generates a driving sound wave of the same frequency, and automatically adjusts the frequency and emission time according to the distance and environmental sound until the dog stops barking to avoid unnecessary noise. Necessary to drive away sonic emissions.

Benefits of technology

It achieves long-term and effective anti-barking function, reduces the negative impact on the dog's sense of smell, and improves the convenience and effectiveness of the device.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118765820A_ABST
    Figure CN118765820A_ABST
Patent Text Reader

Abstract

The invention provides a bark stopping method and a bark stopping device, and relates to the technical field of pet equipment, a sound collection module, a distance detection module and a sound wave emitting module are adopted as components for sound collection, distance detection and driving sound emitting, after a first environment sound is obtained and bark sound of a dog is recognized, the type of the bark dog is recognized, and the type of the bark dog is recognized; the method comprises the following steps of: firstly, acquiring a barking sound wave frequency, further identifying the barking sound wave frequency, then generating a first driving sound wave with the same frequency, after acquiring a first distance, if the first distance is smaller than a preset distance, sending the first driving sound wave towards a barking dog, acquiring a current second environment sound, and if no barking sound exists in the second environment sound, stopping sending the first driving sound wave, so that barking stopping is successful at the moment; the barking stopping method and the barking stopping device can stop barking of the barking dog so that a user can use the barking stopping device for a long time, and meanwhile negative effects on the smell of the dog cannot be generated.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of pet equipment, and in particular to a barking control method and a barking control device. Background Art

[0002] Pet dogs have always been loyal companions of humans, accompanying many people in life, and even guide dogs have entered the field of assisting human life. The present invention is mainly aimed at the field of pet dogs. There are many types of pet dogs, including Maltese, Erha, VIP, etc. When these pets accompany quietly, they are good companions, but pet dogs are also sensitive animals. Sometimes they can't help but restrain their nature. Their barking often interferes with people's normal life, resulting in nuisance.

[0003] Patent number CN112825790B is a dog barking identification and prevention method, device and barking stopper, which uses the method of releasing fragrance after obtaining the sound of dog barking to drive away the dog to stop barking. The effect is significant, but the user needs to add fragrance regularly. If the fragrance is insufficient, the dog cannot be stopped from barking, which is not conducive to long-term use. In addition, too much fragrance diffused in the surrounding environment has a negative impact on the dog's sense of smell, which is not conducive to the dog's normal life.

[0004] Therefore, it is necessary to provide a barking stop method and a barking stop device to stop the barking dog, so that the user can use it for a long time without having a negative impact on the dog's sense of smell. Summary of the invention

[0005] In order to solve the above problems, the present invention provides a barking stop method and a barking stop device to stop a barking dog, so that the user can use the device for a long time without having a negative impact on the dog's sense of smell.

[0006] The present invention is achieved through the following technical solutions:

[0007] The present invention provides a method for stopping barking, comprising:

[0008] Get the current first ambient sound;

[0009] According to the first environmental sound, a dog barking sound is identified;

[0010] According to the barking sound of the dog combined with the pre-stored sound model, the type of the barking dog is identified;

[0011] According to the type of barking dog and the sound of the barking dog, identify the frequency of the barking sound wave;

[0012] Generate a first driving-away sound wave with the same frequency according to the frequency of the barking sound wave;

[0013] Get the first distance of the barking dog in the current environment;

[0014] Determining whether the first distance of the barking dog is less than a preset distance;

[0015] If so, a first driving sound wave is emitted toward the barking dog;

[0016] Get the current second environment sound;

[0017] Determine whether there is a dog barking sound in the current second environment sound;

[0018] If not, stop sending the first driving sound wave.

[0019] Furthermore, the step of determining whether there is a dog barking sound in the ambient sound further includes:

[0020] If so, obtain the second distance of the barking dog in the current environment;

[0021] determining whether the second distance of the barking dog is less than a preset distance;

[0022] If yes, then based on the frequency of the barking sound wave, the numerical values ​​are sequentially transformed and paused within a preset frequency range to obtain a plurality of second driving sound waves with different frequencies;

[0023] The second driving sound waves of different frequencies are sequentially emitted toward the barking dog at preset intervals, and the current third environmental sound is obtained once each time the second driving sound wave is emitted, until there is no dog barking in the third environmental sound, then the second driving sound wave is stopped;

[0024] The frequency of the last second driving sound wave without dog barking is recorded, and the second driving sound wave of the frequency is packaged and stored with the corresponding dog species.

[0025] Furthermore, the step of sequentially transforming the values ​​within a preset frequency range and pausing based on the frequency of the barking sound wave to obtain a plurality of second driving sound waves with different frequencies includes:

[0026] Get the first sound wave frequency value of the current dog barking;

[0027] The first sound wave frequency value is put into the sound wave frequency threshold value in the range of 15 to 30 KHz for comparison;

[0028] Select a sound wave frequency band above the first sound wave frequency value and below 30KHz;

[0029] The frequency value of the first sound wave is used as a base a, the preset increase frequency value is used as an increase b, the transformation is performed at a+bn and paused, and the value of a+bn is assigned to the second driving sound wave to obtain multiple gradually increasing second driving sound waves, n>0, a, b, n are all positive integers.

[0030] Furthermore, the step of sequentially emitting second driving sound waves of different frequencies toward the barking dog at preset intervals, and acquiring the current third ambient sound once each time the second driving sound wave is emitted until there is no dog barking in the third ambient sound, includes:

[0031] Sending a second driving sound wave within a first preset time;

[0032] After waiting for a second preset time, obtaining a second ambient sound;

[0033] Determine whether there is a dog barking sound in the third environmental sound;

[0034] If so, a second driving sound wave with a different frequency is emitted within a first preset time;

[0035] After waiting for a second preset time, obtaining a third ambient sound;

[0036] Determine whether there is a dog barking sound in the third environmental sound;

[0037] If yes, repeat the above steps until there is no dog barking in the third ambient sound.

[0038] Furthermore, the step of obtaining the first distance of the barking dog in the current environment includes:

[0039] Get the horizontal distance, vertical height, and horizontal width of the object in front;

[0040] Determine whether the horizontal distance is less than the preset distance;

[0041] If yes, then first marking is performed;

[0042] Determining whether the vertical height is within a preset threshold of a dog's standing height;

[0043] If yes, then a second marking is performed;

[0044] Determining whether the lateral width is within a preset threshold of a dog's standing width;

[0045] If yes, then perform the third marking;

[0046] If the object in front satisfies the first mark, the second mark, and the third mark at the same time, the object in front is assumed to be a barking dog, and the horizontal distance is assigned to the first distance.

[0047] A barking stopper, according to the above-mentioned barking stopper method, comprises a shell, a circuit board, a sound collection module, a distance detection module, and a sound wave emitting module, wherein the circuit board is fixedly connected in the shell, the sound collection module, the distance detection module, and the sound wave emitting module are all fixedly connected to one side of the shell, the sound collection module, the distance detection module, and the sound wave emitting module are all facing outward, the sound collection module, the distance detection module, and the sound wave emitting module are all electrically connected to the circuit board, and the circuit board is provided with a first comparison and identification module, a second comparison and identification module, a third comparison and identification module, a calculation module, a first judgment module, a first execution module, a second judgment module, and a second execution module;

[0048] The sound collection module is used to obtain the current first ambient sound, second ambient sound, and third ambient sound;

[0049] The distance detection module is used to obtain a first distance and a second distance of a barking dog in a current environment;

[0050] The sound wave emitting module is used to emit a first driving sound wave and a second driving sound wave toward the barking dog;

[0051] The first comparison and recognition module is used to recognize the dog barking sound according to the first environmental sound;

[0052] The second comparison and identification module is used to identify the type of the barking dog based on the barking sound combined with the pre-stored sound model;

[0053] The third comparison and identification module identifies the frequency of the barking sound wave according to the type of the barking dog and the sound of the barking dog;

[0054] The operation module is used to generate a first driving-away sound wave with the same frequency according to the frequency of the barking sound wave;

[0055] The first determination module is used to determine whether the first distance of the barking dog is less than a preset distance;

[0056] The first execution module is used for sending a first driving sound wave toward the barking dog if yes;

[0057] The second determination module is used to determine whether there is a dog barking sound in the current second environmental sound;

[0058] The second execution module is used for stopping emitting the first driving sound wave if no.

[0059] Furthermore, the circuit board is also provided with a third execution module, a third judgment module, a fourth execution module, a rotation execution module, and a record storage module;

[0060] The third execution module is used to determine whether there is a dog barking sound in the current second environmental sound, and if so, start the sound collection module;

[0061] The third judgment module is used to judge whether the second distance of the barking dog is less than a preset distance;

[0062] The fourth execution module is used for, if yes, sequentially transforming the values ​​in a preset frequency range based on the frequency of the barking sound wave and pausing to obtain a plurality of second driving sound waves with different frequencies;

[0063] The rotation execution module is used to sequentially emit second driving sound waves of different frequencies toward the barking dog at preset intervals, and obtain the current third environmental sound once each time the second driving sound wave is emitted, until there is no dog barking in the third environmental sound, then stop emitting the second driving sound wave;

[0064] The recording and storage module is used to record the frequency of the last second driving sound wave without dog barking, and to package and store the second driving sound wave of the frequency and the corresponding dog species.

[0065] Furthermore, the bark arrester also includes a distance detection adjustment switch, which is fixedly connected to the housing and electrically connected to the circuit board.

[0066] Furthermore, the bark suppressor also includes a display screen, which is fixedly connected to one side of the shell, and the display screen is electrically connected to the circuit board.

[0067] Furthermore, the bark suppressor also includes a battery, which is fixedly connected to the inside of the shell and electrically connected to the circuit board.

[0068] Beneficial effects of the present invention:

[0069] The present invention proposes a barking-stopping method and a barking-stopping device, which use a sound collection module, a distance detection module, and a sound wave emitting module as components for sound collection, distance detection, and emitting a driving-away sound. After acquiring a first ambient sound and identifying the sound of a dog barking, the type of the barking dog is identified, and then the frequency of the barking sound wave is identified, and then a first driving-away sound wave with the same frequency is generated. After acquiring a first distance, if the first distance is less than a preset distance, the first driving-away sound wave is emitted toward the barking dog to acquire the current second ambient sound. If there is no dog barking in the second ambient sound, the first driving-away sound wave is stopped, and the barking-stopping is successful at this time. In summary, the present barking-stopping method and the barking-stopping device can stop the barking dog from barking, so that the user can use it for a long time, and at the same time will not have a negative impact on the dog's sense of smell. BRIEF DESCRIPTION OF THE DRAWINGS

[0070] Figure 1is a flow chart of the barking control method of the present invention;

[0071] Figure 2 A block diagram of the modules in the circuit board of the bark suppressor of the present invention;

[0072] Figure 3 It is an overall schematic diagram of the bark suppressor of the present invention.

[0073] The reference numerals are as follows:

[0074] Shell 1, sound collection module 3, distance detection module 4, sound wave emitting module 5, distance detection adjustment switch 6, display screen 7, first comparison and identification module 21, second comparison and identification module 22, third comparison and identification module 23, operation module 24, first judgment module 25, first execution module 26, second judgment module 27, second execution module 28. DETAILED DESCRIPTION

[0075] In order to more clearly and completely illustrate the technical solution of the present invention, the present invention is further described below in conjunction with the accompanying drawings.

[0076] Please refer to Figure 1-Figure 2 The present invention provides a method for stopping barking, comprising:

[0077] S10: Obtain the current first ambient sound;

[0078] S11: recognizing a dog barking sound according to the first environmental sound;

[0079] S12: Identify the type of the barking dog based on the barking sound and the pre-stored sound model;

[0080] S13: identifying the frequency of barking sound waves according to the type of the barking dog and the sound of the barking dog;

[0081] S14: generating a first driving-away sound wave with the same frequency according to the frequency of the barking sound wave;

[0082] S15: obtaining the first distance of the barking dog in the current environment;

[0083] S16: Determine whether the first distance of the barking dog is less than a preset distance;

[0084] S17: If yes, emit a first driving sound wave toward the barking dog;

[0085] S18: Obtain the current second ambient sound;

[0086] S19: Determine whether there is a dog barking sound in the current second ambient sound;

[0087] S20: If not, stop emitting the first driving sound wave.

[0088] In this embodiment, the current first environmental sound is obtained, and the first environmental sound is all the surrounding sounds; based on the first environmental sound, the dog barking sound is identified, and if there is a sound in the first environmental sound that meets the sound frequency of the dog barking, the dog barking sound is distinguished separately and marked as the dog barking sound; based on the dog barking sound combined with the pre-stored sound model, the type of barking dog is identified, and the sound timbre and frequency of different dogs barking are different, and the pre-stored sound model stores the barking sounds of various dogs; based on the type of barking dog and the dog barking sound, the barking sound wave frequency is identified, and the barking sound wave frequencies of different dogs are different, and the barking dog can be quickly and accurately identified based on the type of the barking dog; based on the barking sound wave frequency, a first driving sound wave of the same frequency is generated, and the first driving sound wave can be an ultrasonic wave or a processed dog barking sound. For example, when the current first environmental sound is obtained, the first driving sound wave can be an ultrasonic wave or a processed dog barking sound. The barking frequency of the poodle is 16KHz, so a first driving sound wave of 16KHz is generated; the first distance of the barking dog in the current environment is obtained, for example, if the current distance of the barking dog is 6 meters, the first distance is 6 meters; it is determined whether the first distance of the barking dog is less than the preset distance, for example, if the preset distance is 7 meters and the first distance is 6 meters, then the first distance is less than the preset distance; if so, the first driving sound wave is emitted towards the barking dog, that is, the first driving sound wave of 16KHz is emitted to drive the barking dog away; the current second environmental sound is obtained, and the second environmental sound is all the surrounding sounds for a period of time after the first driving sound wave is emitted; it is determined whether there is dog barking in the current second environmental sound, that is, after obtaining the environmental sound, whether the dog barking can be identified; if not, the first driving sound wave is stopped, indicating that the dog has stopped barking and the barking is stopped successfully;

[0089] In the whole process of stopping barking, after obtaining the first environmental sound and identifying the dog barking sound, the type of the barking dog is identified, and then the frequency of the barking sound wave is identified, and then a first driving sound wave with the same frequency is generated. After obtaining the first distance, if the first distance is less than the preset distance, the first driving sound wave is emitted toward the barking dog, and the current second environmental sound is obtained. If there is no dog barking in the second environmental sound, the first driving sound wave is stopped, and the barking is stopped successfully.

[0090] In summary, the barking control method and barking control device can stop barking dogs, so that users can use them for a long time without negatively affecting the dog's sense of smell.

[0091] In this embodiment, the step of determining whether there is a dog barking sound in the ambient sound further includes:

[0092] S191: If yes, obtain the second distance of the barking dog in the current environment;

[0093] S192: Determine whether the second distance of the barking dog is less than a preset distance;

[0094] S193: If yes, then based on the frequency of the barking sound wave, the numerical values ​​are sequentially transformed within a preset frequency range and paused to obtain a plurality of second driving sound waves with different frequencies;

[0095] S194: emitting second driving sound waves of different frequencies toward the barking dog at preset intervals, acquiring the current third ambient sound once each time the second driving sound wave is emitted, and stopping emitting the second driving sound wave until there is no dog barking in the third ambient sound;

[0096] S195: Record the frequency of the last second driving sound wave without dog barking, and package and store the second driving sound wave of the frequency with the corresponding dog species.

[0097] In this embodiment, if the barking dog is still barking after the first driving sound wave is emitted, that is, there is a dog barking sound in the current second environmental sound, then the second distance of the barking dog in the current environment is obtained, and the method of obtaining is the same as the first distance; determine whether the second distance of the barking dog is less than the preset distance, for example, if the current distance of the barking dog is 6.5 meters, the second distance is 6.5 meters, and the preset distance is 7 meters, then the second distance is less than the preset distance; if so, then based on the frequency of the barking sound wave, the numerical values ​​are sequentially transformed and paused in the preset frequency range to obtain a plurality of second driving sound waves with different frequencies, for example, the barking sound wave frequency is 16KHz, and the preset frequency range is 15-30KHz, then the numerical values ​​are sequentially transformed and paused between 16-30KHz, and the second driving sound waves of 16.5KHz, 17KHz, 17.5KHz, etc. until 30KHz are obtained; second driving sound waves of different frequencies are sequentially emitted toward the barking dog at preset intervals, and each time the second driving sound waves are emitted The second driving sound wave is used to obtain the current third environmental sound once, until there is no dog barking in the third environmental sound, then the second driving sound wave is stopped. For example, after emitting the second driving sound wave of 16.5KHz, the current third environmental sound is obtained. If there is dog barking, the second driving sound wave of 17KHz is emitted, and then the current third environmental sound is obtained. If there is still dog barking, the second driving sound wave of 17.5KHz is emitted, and then the current third environmental sound is obtained. If there is no dog barking this time, the second driving sound wave is stopped; the frequency of the last second driving sound wave without dog barking is recorded, and the second driving sound wave of the frequency is packaged and stored with the corresponding dog species. For example, if it is a poodle barking, after emitting the second driving sound wave of 17.5KHz, the dog barking stops, then the second driving sound wave of 17.5KHz is recorded, and it is packaged and stored with the poodle species, and when the poodle is barking again the next time, the second driving sound wave of 17.5KHz is directly emitted.

[0098] In this embodiment, the step of sequentially transforming the values ​​and pausing within a preset frequency range based on the frequency of the barking sound wave to obtain a plurality of second driving sound waves with different frequencies includes:

[0099] S1931: Obtain the first sound wave frequency value of the current dog barking;

[0100] S1932: Put the first sound wave frequency value into the sound wave frequency threshold value in the range of 15 to 30 KHz for comparison;

[0101] S1933: Select a sound wave frequency band that is greater than the first sound wave frequency value and less than 30 KHz;

[0102] S1934: The first sound wave frequency value is used as a base value a, and the preset increase frequency value is used as an increase value b. n Transform and pause, and add a+b n The value of is assigned in the second driving sound wave to obtain multiple gradually increasing second driving sound waves, n>0, a, b, n are all positive integers.

[0103] In this embodiment, the first sound wave frequency value of the current dog barking is obtained, and the barking sound wave frequency is identified and the first sound wave frequency value is obtained according to the type of the barking dog and the sound of the barking dog. For example, the first sound wave frequency value obtained is 18KHz; the first sound wave frequency value is placed in the sound wave frequency threshold value of 15 to 30KHz for comparison. For example, the first sound wave frequency value is 18KHz, and 18KHz is placed in the sound wave frequency threshold value of 15 to 30KHz for comparison; a sound wave frequency band above the first sound wave frequency value and below 30KHz is selected, for example, A sound wave frequency threshold of 18 to 30 kHz; using the first sound wave frequency value as a base a, using a preset increase frequency value as an increase b, transforming and pausing at a+bn, and assigning the value of a+bn to the second driving sound wave, to obtain a plurality of gradually increasing second driving sound waves, n>0, a, b, and n are all positive integers, for example, a is 18 kHz, b is 0.5 kHz, the second driving sound wave emitted for the first time is 18.5 kHz, the second driving sound wave emitted for the second time is 19 kHz, and the second driving sound wave emitted for the third time is 19.5 kHz.

[0104] In this embodiment, the step of sequentially emitting second driving sound waves of different frequencies toward the barking dog at preset intervals, and acquiring the current third ambient sound once each time the second driving sound wave is emitted, until there is no dog barking in the third ambient sound, includes:

[0105] S1941: emit a second driving sound wave within the first preset time;

[0106] S1942: After waiting for a second preset time, obtaining a second ambient sound;

[0107] S1943: Determine whether there is a dog barking sound in the third environmental sound;

[0108] S1944: If yes, emit a second driving sound wave with a different frequency within the first preset time;

[0109] S1945: After waiting for a second preset time, obtaining a third ambient sound;

[0110] S1946: Determine whether there is a dog barking sound in the third environmental sound;

[0111] S1947: If yes, repeat the above steps until there is no dog barking in the third ambient sound.

[0112] In this embodiment, a second driving sound wave is emitted within a first preset time, for example, the second driving sound wave is emitted within 3 seconds, that is, the second driving sound wave is continuously emitted for 3 seconds; after waiting for the second preset time, a second environmental sound is obtained, for example, after waiting for 2 seconds, the second environmental sound is obtained; it is determined whether there is a dog barking sound in the third environmental sound; if so, a second driving sound wave of a different frequency is emitted within the first preset time, for example, a second driving sound wave of 18KHz was emitted last time, and a second driving sound wave of 18.5KHz is emitted this time; after waiting for the second preset time, the second environmental sound is obtained. After a period of time, obtain the third environmental sound, for example, after waiting for 2 seconds, obtain the third environmental sound again; determine whether there is dog barking in the third environmental sound; if so, repeat the above steps until there is no dog barking in the third environmental sound. For example, if there is still dog barking after the second driving sound wave of 18.5KHz was emitted last time, a second driving sound wave of 19KHz is emitted. If there is still dog barking in the acquired third environmental sound, a second driving sound wave of 19.5KHz is emitted until there is no dog barking in the third environmental sound. The upper limit of the second driving sound wave is 30KHz.

[0113] In this embodiment, the step of obtaining the first distance of the barking dog in the current environment includes:

[0114] S151: Obtain the horizontal distance, vertical height, and horizontal width of the object in front;

[0115] S152: Determine whether the horizontal distance is less than a preset distance;

[0116] S153: If yes, perform first marking;

[0117] S154: Determine whether the vertical height is within a preset threshold of a dog's standing height;

[0118] S155: If yes, perform second marking;

[0119] S156: Determine whether the lateral width is within a preset threshold of a dog's standing width;

[0120] S157: If yes, perform third marking;

[0121] S158: If the front object satisfies the first mark, the second mark, and the third mark at the same time, it is assumed that the front object is a barking dog, and the horizontal distance is assigned to the first distance.

[0122] In this embodiment, the horizontal distance, vertical height, and horizontal width of the object in front are obtained; it is determined whether the horizontal distance is less than the preset distance, for example, the preset distance is 7 meters; if so, a first mark is performed, if the horizontal distance of the object in front is 6 meters and the preset distance is 7 meters, the object in front is first marked; it is determined whether the vertical height is within the preset threshold of the standing height of a dog, for example, the preset threshold of the standing height of a dog is 20-120 mm; if so, a second mark is performed, for example, if the vertical height of the object in front is 50 mm, it falls within 20-120 mm, Perform a second mark on the object in front; determine whether the lateral width is within the preset threshold of the dog's standing width, for example, the preset threshold of the dog's standing width is 15-150mm, this width covers the width of the dog's front and side, and is a wide value; if so, perform a third mark, for example, if the lateral width of the object in front is 40mm, it falls within 15-150mm, and the object in front is marked for the third time; if the object in front satisfies the first mark, the second mark, and the third mark at the same time, the object in front is assumed to be a barking dog, and the horizontal distance is assigned to the first distance.

[0123] Please refer to Figure 1 , Figure 3 A barking stopper, according to the above-mentioned barking stopper method, includes a shell 1, a circuit board, a sound collection module 3, a distance detection module 4, and a sound wave emitting module 5. The circuit board is fixedly connected in the shell 1, and one end of the shell 1 is provided with a hanging plate 11 for external fixing. The barking stopper can be fixed on a wall or other vertical surface through the hanging plate 11. The sound collection module 3, the distance detection module 4, and the sound wave emitting module 5 are all fixedly connected to one side of the shell 1. The sound collection module 3, the distance detection module 4, and the sound wave emitting module 5 are all facing outward. The sound collection module 3, the distance detection module 4, and the sound wave emitting module 5 are all electrically connected to the circuit board. The circuit board is provided with a first comparison and identification module 21, a second comparison and identification module 22, a third comparison and identification module 23, a calculation module 24, a first judgment module 25, a first execution module 26, a second judgment module 27, and a second execution module 28;

[0124] The sound collection module 3 is used to obtain the current first ambient sound, second ambient sound, and third ambient sound;

[0125] The distance detection module 4 is used to obtain a first distance and a second distance of a barking dog in the current environment;

[0126] The sound wave emitting module 5 is used to emit a first driving sound wave and a second driving sound wave toward the barking dog;

[0127] The first comparison and recognition module 21 is used to recognize the dog barking sound according to the first environmental sound;

[0128] The second comparison and identification module 22 is used to identify the type of the barking dog based on the barking sound combined with the pre-stored sound model;

[0129] The third comparison and identification module 23 identifies the frequency of the barking sound wave according to the type of the barking dog and the sound of the barking dog;

[0130] The operation module 24 is used to generate a first driving sound wave with the same frequency according to the frequency of the barking sound wave;

[0131] The first determination module 25 is used to determine whether the first distance of the barking dog is less than a preset distance;

[0132] The first execution module 26 is used for issuing a command to the sound wave emitting module 5 if yes, so that the sound wave emitting module 5 emits a first driving sound wave toward the barking dog;

[0133] The second judging module 27 is used to judge whether there is a dog barking sound in the current second ambient sound;

[0134] The second execution module 28 is used for stopping emitting the first driving sound wave if no.

[0135] In this embodiment, when acquiring the first ambient sound, the second ambient sound, and the third ambient sound, the sound collection module 3 is used for acquisition. The sound collection module 3 is a microphone, the distance detection module 4 can be an ultrasonic distance detection module or an infrared distance detection module, and the sound wave emitting module 5 can be an ultrasonic emitting module or a speaker.

[0136] In this embodiment, the circuit board is further provided with a third execution module, a third judgment module, a fourth execution module, a rotation execution module, and a record storage module;

[0137] The third execution module is used to determine whether there is a dog barking sound in the current second environmental sound, and if so, start the sound collection module;

[0138] The third judgment module is used to judge whether the second distance of the barking dog is less than the preset distance;

[0139] The fourth execution module is used for, if yes, sequentially transforming the numerical values ​​in a preset frequency range based on the frequency of the barking sound wave and pausing to obtain a plurality of second driving sound waves with different frequencies;

[0140] The rotation execution module is used to sequentially emit second driving sound waves of different frequencies toward the barking dog at preset intervals, and obtain the current third environmental sound once each time the second driving sound wave is emitted, until there is no dog barking in the third environmental sound, then stop emitting the second driving sound wave;

[0141] The recording and storage module is used for recording the frequency of the last second driving sound wave without dog barking, and packing and storing the second driving sound wave of the frequency with the corresponding dog species.

[0142] In this embodiment, the bark stopper also includes a distance detection adjustment switch 6, which is fixedly connected to the shell 1 and electrically connected to the circuit board. The distance detection adjustment switch 6 is used to adjust the detection distance of the distance detection module 4. For example, if the bark stopper is installed in a relatively open location, the original preset distance of 7 meters can be adjusted to 10 meters. That is, when the dog barks within 7 meters, the bark stopper will emit a driving sound wave. Now after the adjustment, when the dog barks within 10 meters, the bark stopper will emit a driving sound wave. The distance detection adjustment switch 6 can be a knob switch or a linear adjustment switch.

[0143] In this embodiment, the barking stopper further includes a display screen 7, which is fixedly connected to one side of the housing 1 and electrically connected to the circuit board. The display screen 7 can display the current distance of the barking dog and can also play the current time.

[0144] In this embodiment, the bark suppressor further includes a battery, which is fixedly connected to the inside of the housing 1 and electrically connected to the circuit board. The battery is a lithium battery and is used to power the bark suppressor, making it easy to carry the bark suppressor outside.

[0145] Of course, the present invention may have many other implementations. Based on this implementation, other implementations obtained by ordinary technicians in this field without any creative work are all within the scope of protection of the present invention.

Claims

1. A method to stop barking, It is characterized in that include: Get the current first ambient sound; According to the first environmental sound, a dog barking sound is identified; According to the barking sound of the dog combined with the pre-stored sound model, the type of the barking dog is identified; According to the type of barking dog and the sound of the barking dog, identify the frequency of the barking sound wave; Generate a first driving-away sound wave with the same frequency according to the frequency of the barking sound wave; Get the first distance of the barking dog in the current environment; Determining whether the first distance of the barking dog is less than a preset distance; If so, a first driving sound wave is emitted toward the barking dog; Get the current second environment sound; Determine whether there is a dog barking sound in the current second environment sound; If not, stop sending the first driving sound wave.

2. The method for stopping barking according to claim 1, It is characterized in that The step of determining whether there is a dog barking sound in the ambient sound also includes: If so, obtain the second distance of the barking dog in the current environment; determining whether the second distance of the barking dog is less than a preset distance; If yes, then based on the frequency of the barking sound wave, the numerical values ​​are sequentially transformed and paused within a preset frequency range to obtain a plurality of second driving sound waves with different frequencies; The second driving sound waves of different frequencies are sequentially emitted toward the barking dog at preset intervals, and the current third environmental sound is obtained once each time the second driving sound wave is emitted, until there is no dog barking in the third environmental sound, then the second driving sound wave is stopped; The frequency of the last second driving sound wave without dog barking is recorded, and the second driving sound wave of the frequency is packaged and stored with the corresponding dog species.

3. The method for stopping barking according to claim 2, It is characterized in that The step of sequentially transforming the values ​​within a preset frequency range and pausing based on the frequency of the barking sound wave to obtain a plurality of second driving sound waves with different frequencies includes: Get the first sound wave frequency value of the current dog barking; The first sound wave frequency value is put into the sound wave frequency threshold value in the range of 15 to 30 KHz for comparison; Select a sound wave frequency band above the first sound wave frequency value and below 30KHz; The frequency value of the first sound wave is used as a base a, the preset increase frequency value is used as an increase b, the transformation is performed at a+bn and paused, and the value of a+bn is assigned to the second driving sound wave to obtain multiple gradually increasing second driving sound waves, n>0, a, b, n are all positive integers.

4. The method for stopping barking according to claim 2, It is characterized in that The step of sequentially emitting second driving sound waves of different frequencies toward the barking dog at preset intervals, and acquiring the current third ambient sound once each time the second driving sound wave is emitted until there is no dog barking in the third ambient sound, comprises: Sending a second driving sound wave within a first preset time; After waiting for a second preset time, obtaining a second ambient sound; Determine whether there is a dog barking sound in the third environmental sound; If so, a second driving sound wave with a different frequency is emitted within a first preset time; After waiting for a second preset time, obtaining a third ambient sound; Determine whether there is a dog barking sound in the third environmental sound; If yes, repeat the above steps until there is no dog barking in the third ambient sound.

5. The method for stopping barking according to claim 1, It is characterized in that The step of obtaining the first distance of the barking dog in the current environment includes: Get the horizontal distance, vertical height, and horizontal width of the object in front; Determine whether the horizontal distance is less than the preset distance; If yes, then first marking is performed; Determining whether the vertical height is within a preset threshold of a dog's standing height; If yes, then a second marking is performed; Determining whether the lateral width is within a preset threshold of a dog's standing width; If yes, then perform the third marking; If the object in front satisfies the first mark, the second mark, and the third mark at the same time, the object in front is assumed to be a barking dog, and the horizontal distance is assigned to the first distance.

6. A barking control device according to any one of claims 1 to 5, It is characterized in that It includes a shell, a circuit board, a sound collection module, a distance detection module, and a sound wave emitting module, wherein the circuit board is fixedly connected in the shell, the sound collection module, the distance detection module, and the sound wave emitting module are all fixedly connected to one side of the shell, the sound collection module, the distance detection module, and the sound wave emitting module are all facing outward, the sound collection module, the distance detection module, and the sound wave emitting module are all electrically connected to the circuit board, and the circuit board is provided with a first comparison and identification module, a second comparison and identification module, a third comparison and identification module, a calculation module, a first judgment module, a first execution module, a second judgment module, and a second execution module; The sound collection module is used to obtain the current first ambient sound, second ambient sound, and third ambient sound; The distance detection module is used to obtain a first distance and a second distance of a barking dog in a current environment; The sound wave emitting module is used to emit a first driving sound wave and a second driving sound wave toward the barking dog; The first comparison and recognition module is used to recognize the dog barking sound according to the first environmental sound; The second comparison and identification module is used to identify the type of the barking dog based on the barking sound combined with the pre-stored sound model; The third comparison and identification module identifies the frequency of the barking sound wave according to the type of the barking dog and the sound of the barking dog; The operation module is used to generate a first driving-away sound wave with the same frequency according to the frequency of the barking sound wave; The first determination module is used to determine whether the first distance of the barking dog is less than a preset distance; The first execution module is used for sending a first driving sound wave toward the barking dog if yes; The second determination module is used to determine whether there is a dog barking sound in the current second environmental sound; The second execution module is used for stopping emitting the first driving sound wave if no.

7. The bark suppressor according to claim 6, It is characterized in that The circuit board is also provided with a third execution module, a third judgment module, a fourth execution module, a rotation execution module, and a record storage module; The third execution module is used to determine whether there is a dog barking sound in the current second environmental sound, and if so, start the sound collection module; The third judgment module is used to judge whether the second distance of the barking dog is less than a preset distance; The fourth execution module is used for, if yes, sequentially transforming the values ​​in a preset frequency range based on the frequency of the barking sound wave and pausing to obtain a plurality of second driving sound waves with different frequencies; The rotation execution module is used to sequentially emit second driving sound waves of different frequencies toward the barking dog at preset intervals, and obtain the current third environmental sound once each time the second driving sound wave is emitted, until there is no dog barking in the third environmental sound, then stop emitting the second driving sound wave; The recording and storage module is used to record the frequency of the last second driving sound wave without dog barking, and to package and store the second driving sound wave of the frequency and the corresponding dog species.

8. The bark suppressor according to claim 6, It is characterized in that The barking control device further comprises a distance detection adjustment switch, wherein the distance detection adjustment switch is fixedly connected to the housing and is electrically connected to the circuit board.

9. The bark suppressor according to claim 6, It is characterized in that The bark control device further comprises a display screen, which is fixedly connected to one side of the shell and electrically connected to the circuit board.

10. The bark suppressor according to claim 6, It is characterized in that The bark suppressor further comprises a battery, wherein the battery is fixedly connected to the inside of the housing and is electrically connected to the circuit board.