Doorbell control method, device, doorbell device and readable storage medium

By using the microphone to collect signals in the intelligent security doorbell device to judge and control the speaker output drainage sound, the problem of speaker moisture affecting acoustic performance is solved, and the automatic drainage function is realized, which improves the user experience.

CN114900667BActive Publication Date: 2024-11-15GOERTEK INC
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210581433.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-05-26
Publication Date
2024-11-15
Estimated Expiration
2042-05-26

AI Technical Summary

Technical Problem

When the smart security doorbell device is exposed to the external environment for a long time, the speaker is easily wet by rain, resulting in a decrease in acoustic performance, affecting the effect of alarms and video calls, and lacking automatic drainage function.

Method used

By using the microphone in the doorbell device to collect the preset detection tone signal, determine whether the drain mode is activated, and control the speaker to output the preset drain tone to quickly discharge moisture and realize the automatic drain function.

Benefits of technology

It effectively ensures the acoustic performance of the speaker, improves the user experience, and ensures the normal operation of the doorbell equipment on rainy days.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114900667B_ABST
    Figure CN114900667B_ABST
Patent Text Reader

Abstract

The present invention discloses a doorbell control method, device, doorbell device and computer-readable storage medium, which are applied to the field of smart home technology. The method comprises: controlling a speaker of a doorbell device to output a preset detection sound; judging whether to start a drainage mode according to a sound signal corresponding to the preset detection sound collected by a microphone of the doorbell device; if so, controlling the speaker to output the preset drainage sound; the present invention judges whether to start the drainage mode according to a sound signal corresponding to the preset detection sound collected by the microphone of the doorbell device, and can use the speaker and microphone in the doorbell device to detect water in the direction of the sound output of the speaker in the doorbell device; by controlling the speaker to output the preset drainage sound, water in the direction of the sound output of the speaker can be quickly drained, thereby realizing the automatic drainage function of the doorbell device, ensuring the acoustic performance of the speaker, and improving the user experience.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of smart home technology, and in particular to a doorbell control method, device, doorbell equipment and computer-readable storage medium. Background Art

[0002] As living standards improve, people have higher and higher requirements for home security performance, and more people will choose to buy doorbell devices (such as smart security doorbells). Smart security doorbells can monitor the surrounding environment in real time. If there is an abnormality in the surrounding environment, it will sound an alarm and notify the user. It also has the function of real-time communication with the owner. However, doorbell devices are installed outdoors for a long time and are often exposed to rain. If there is water in the direction of the speaker (i.e., loudspeaker), it will affect the acoustic performance of the speaker, affecting the effect of the alarm sound and video call.

[0003] Therefore, how to realize the automatic drainage function of the doorbell device, quickly drain the water in the direction of the speaker sound, ensure the acoustic performance of the speaker, and improve the user experience is a problem that needs to be solved urgently. Summary of the invention

[0004] The purpose of the present invention is to provide a doorbell control method, device, doorbell device and computer-readable storage medium to realize the automatic drainage function of the doorbell device, quickly drain the water in the sound direction of the speaker, ensure the acoustic performance of the speaker, and improve the user experience.

[0005] In order to solve the above technical problems, the present invention provides a doorbell control method, comprising:

[0006] Control the speaker of the doorbell device to output a preset detection tone;

[0007] Determining whether to start the drainage mode according to the sound signal corresponding to the preset detection sound collected by the microphone of the doorbell device;

[0008] If yes, the speaker is controlled to output a preset drainage sound.

[0009] Optionally, judging whether to start the drainage mode according to a sound signal corresponding to the preset detection sound collected by a microphone of the doorbell device includes:

[0010] Acquire a sound signal corresponding to the preset detection sound collected by the microphone;

[0011] Calculating a mean value of the frequency response sensitivity corresponding to the sound signal;

[0012] Determining whether to start the drainage mode according to the frequency response sensitivity mean and the sensitivity range corresponding to the drainage mode;

[0013] If yes, the control of the speaker to output a preset drainage sound is executed.

[0014] Optionally, controlling the speaker to output a preset drainage sound includes:

[0015] The speaker is controlled to output a preset drainage sound corresponding to a target drainage mode; wherein the target drainage mode is any of the drainage modes, and the output power of the preset drainage sound corresponding to different drainage modes is different.

[0016] Optionally, the preset drainage sound is a low-frequency signal with a preset duration less than or equal to 100 Hz.

[0017] Optionally, the preset detection tone is a frequency sweep signal within a preset frequency band.

[0018] Optionally, before the speaker of the doorbell device is controlled to output a preset detection sound, the method further includes:

[0019] Detect whether there is anyone in the detection range in front of the door corresponding to the doorbell device;

[0020] If yes, the step of controlling the speaker of the doorbell device to output a preset detection sound is executed.

[0021] Optionally, the preset detection tone is a sweep frequency signal of 5kHz-10kHz.

[0022] The present invention also provides a doorbell control device, comprising:

[0023] A detection output module, used to control the speaker of the doorbell device to output a preset detection tone;

[0024] A detection and judgment module, used to determine whether to start the drainage mode according to the sound signal corresponding to the preset detection sound collected by the microphone of the doorbell device;

[0025] The drainage output module is used to control the speaker to output a preset drainage sound if the drainage mode is activated.

[0026] The present invention also provides a doorbell device, comprising: a microphone, a speaker, a memory and a processor; wherein:

[0027] The memory is used to store computer programs;

[0028] The processor is used to implement the steps of the doorbell control method as described above when executing the computer program.

[0029] In addition, the present invention also provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps of the doorbell control method as described above are implemented.

[0030] A doorbell control method provided by the present invention comprises: controlling a speaker of a doorbell device to output a preset detection sound; judging whether to start a drainage mode according to a sound signal corresponding to the preset detection sound collected by a microphone of the doorbell device; and if so, controlling the speaker to output the preset drainage sound;

[0031] It can be seen that the present invention determines whether to start the drainage mode according to the sound signal corresponding to the preset detection sound collected by the microphone of the doorbell device, and can use the speaker and microphone in the doorbell device to detect the water in the direction of the speaker sound in the doorbell device; by controlling the speaker to output the preset drainage sound, the water in the direction of the speaker sound can be quickly drained, realizing the automatic drainage function of the doorbell device, ensuring the acoustic performance of the speaker, and improving the user experience. In addition, the present invention also provides a doorbell control device, a doorbell device, and a computer-readable storage medium, which also have the above-mentioned beneficial effects. BRIEF DESCRIPTION OF THE DRAWINGS

[0032] In order to more clearly illustrate the embodiments of the present invention 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, the drawings described below are only embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on the provided drawings without paying creative work.

[0033] Figure 1 A flow chart of a doorbell control method provided by an embodiment of the present invention;

[0034] Figure 2 A schematic flow chart of another doorbell control method provided by an embodiment of the present invention;

[0035] Figure 3 A display diagram of a frequency response curve of different water volumes provided by an embodiment of the present invention;

[0036] Figure 4 This is a structural block diagram of a doorbell control device provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0037] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0038] Please refer to Figure 1 , Figure 1This is a flow chart of a doorbell control method provided by an embodiment of the present invention. The method may include:

[0039] Step 101: Control the speaker of the doorbell device to output a preset detection tone.

[0040] It can be understood that the preset detection sound output by the speaker in this embodiment can be a pre-set sound signal for detecting water in the direction of the speaker in the doorbell device; that is, the processor in this embodiment can use the microphone of the doorbell device to collect the sound signal corresponding to the preset detection sound after controlling the speaker of the doorbell device to output the preset detection sound, and detect the water situation in the direction of the speaker, such as the water content on the mesh and / or steel mesh cover.

[0041] Specifically, the specific signal type of the preset detection sound in this embodiment can be set by the designer according to practical scenarios and user needs. For example, the preset detection sound can be a sweep frequency signal within a preset frequency band, such as a sweep frequency signal of 5kHz-10kHz or a sweep frequency signal of 3500Hz-12500Hz; the preset detection sound can be a single frequency signal of a certain frequency within the preset frequency band, such as a single frequency signal of any frequency within 5kHz-10kHz. As long as the processor detects the water situation in the direction of the speaker's sound through the preset detection sound output by the speaker, this embodiment does not impose any restrictions on this.

[0042] Correspondingly, the specific time for the processor in this embodiment to control the speaker of the doorbell device to output the preset detection sound can be set by the designer according to practical scenarios and user needs. For example, the processor can control the speaker of the doorbell device to output the preset detection sound when it detects that there is someone near the doorbell device, so that the preset detection sound can also be used as a prompt sound to indicate the location of the doorbell device; that is, before this step, the processor can detect whether there is someone in the detection range in front of the door corresponding to the doorbell device; if so, enter this step to control the speaker of the doorbell device to output the preset detection sound; if not, the current process can be ended directly or return to the step of detecting whether there is someone in the detection range in front of the door corresponding to the doorbell device, and continue to detect the approach of the waiting person.

[0043] For example, the processor can use image data collected by the camera on the doorbell device and / or sensor data collected by a sensor (such as a distance sensor) to detect whether there is someone in the detection range in front of the door corresponding to the doorbell device; if so, enter step 101 to control the speaker of the doorbell device to output a preset detection sound.

[0044] Accordingly, the processor may also control the speaker of the doorbell device to output a preset detection sound at a preset time point (i.e., a preset time point). Accordingly, the method provided in this embodiment may also include a step of generating and storing a preset time point according to the acquired time setting instruction, so as to control the speaker of the doorbell device to output a preset detection sound when the preset time point is reached; wherein the time setting instruction may include time setting information corresponding to the preset time point; for example, a user may generate and send a time setting instruction to the doorbell device through a user terminal (such as a mobile phone) after raining, so as to control the processor of the doorbell device to automatically drain water after raining.

[0045] Furthermore, the processor can also control the speaker of the doorbell device to output a preset detection sound according to the obtained weather information. For example, the processor can control the speaker of the doorbell device to output a preset detection sound after a certain time after each raining ends according to the obtained weather information.

[0046] It should be noted that the doorbell control method provided in this embodiment can be applied to a doorbell device, that is, the processor of the doorbell device can execute the method provided in this embodiment to realize its own automatic drainage function; the doorbell control method provided in this embodiment can also be applied to a user terminal or other smart home devices (such as a smart speaker) connected to the doorbell device (such as a WIFI connection). For example, the processor of the smart speaker can control the doorbell device through the method provided in this embodiment to realize the automatic drainage function of the doorbell device.

[0047] Step 102: Determine whether to start the drainage mode based on the sound signal corresponding to the preset detection sound collected by the microphone of the doorbell device; if so, proceed to step 103.

[0048] It can be understood that in this step, the processor can use the microphone of the doorbell device to collect the sound signal when the speaker outputs the preset detection sound, detect the water situation in the sound direction of the speaker in the doorbell device, and thus determine whether it is necessary to start the drainage mode for drainage.

[0049] Correspondingly, in the case where the drainage mode does not need to be started in this embodiment, the present process can be directly terminated, and the speaker is waited for to output the preset detection sound next time.

[0050] It should be noted that the drainage mode in this embodiment can be a mode of draining water by controlling the speaker to output a preset drainage sound. The specific number and type of drainage modes in this embodiment can be set by the designer according to practical scenarios and user needs. For example, the number of drainage modes can be 1, that is, the processor can start the drainage mode and control the speaker to output the preset drainage sound to quickly drain the water in the direction of the speaker in the doorbell device. The number of drainage modes can also be 2 or more values, so that the processor can start the corresponding drainage mode (i.e., the target drainage mode) according to the amount of water detected in the direction of the speaker, and control the speaker to output the preset drainage sound corresponding to the target drainage mode; wherein the target drainage mode is any drainage mode, and the output power, playback duration and / or output frequency of the preset drainage sound corresponding to different drainage modes are different, such as the output power of the preset drainage sound corresponding to different drainage modes can be different, so that according to the different detected water volumes, the speaker is controlled to emit a low-frequency signal of a preset duration at different output powers to achieve energy saving effects; for example, when the rated power of the speaker is 6W and the drainage mode is 2, the output power of the preset drainage sound corresponding to the drainage mode with a large amount of water can be 6W, and the output power of the preset drainage sound corresponding to the drainage mode with a small amount of water can be 3W.

[0051] Specifically, the specific method for the processor in this step to determine whether to start the drainage mode based on the sound signal corresponding to the preset detection sound collected by the microphone of the doorbell device can be set by the designer according to practical scenarios and user needs. For example, when the preset detection sound is a sweep signal of a preset frequency band, the processor can obtain the sound signal corresponding to the preset detection sound collected by the microphone; calculate the mean frequency response sensitivity corresponding to the sound signal; determine whether to start the drainage mode based on the mean frequency response sensitivity and the sensitivity range corresponding to the drainage mode; if so, proceed to step 103. Figure 2 As shown, in this embodiment, the processor can analyze the frequency response (frequency response) curve of the sound signal corresponding to the preset detection sound collected by the microphone, use the frequency response curve to calculate the average value of the sensitivity (i.e., the mean value of the frequency response sensitivity) as the sound model, and compare the sound model with the sensitivity range corresponding to each pre-stored drainage mode (i.e., the built-in sound model), so that when the mean value of the frequency response sensitivity is in any sensitivity range, it is determined to start the drainage mode, and the drainage mode corresponding to the sensitivity range is used as the target drainage mode. Correspondingly, when the preset detection sound is a swept frequency signal of a preset frequency band, the processor can also use the frequency response sensitivity variance or frequency response sensitivity standard deviation and the corresponding sensitivity range corresponding to the sound signal collected by the microphone to determine whether to start the drainage mode; when the preset detection sound is a single-frequency signal of a preset frequency band, the processor can also use the frequency response sensitivity and the corresponding sensitivity range corresponding to the sound signal collected by the microphone to determine whether to start the drainage mode. This embodiment does not impose any restrictions on this.

[0052] For example, pour 5ml and 15ml of water on the speaker box of the doorbell device respectively to record the sound, perform FFT (Fast Fourier Transform) conversion on the recorded signal, and test the frequency response curve. The result can be shown as follows: Figure 3 As shown; from the test results, it can be seen that compared with the normal situation, the gap between 3500Hz-12500Hz for the 5ml water test is relatively large. The preset detection tone can be selected as a swept frequency signal of 3500Hz-12500Hz, or a certain sweep frequency, or one of the single frequency signals; the frequency response curve of 15ml water has decreased as a whole, and no matter what frequency band signal is used, it can be distinguished.

[0053] In order to facilitate the user to hear the preset detection sound when it is used as a prompt sound, in this embodiment, the preset detection sound can be a sweep frequency signal using 5kHz-10kHz. Figure 3 The test results show that when the preset detection sound is a sweep frequency signal of 5kHz-10kHz, the average frequency response sensitivity is 85.5dB in the normal state; after pouring 5ml of water, the average frequency response sensitivity is 80.5dB; after pouring 15ml of water, the average frequency response sensitivity is 58dB; in this embodiment, the number of drainage modes can be set to 2, and the sensitivity range corresponding to the drainage mode with a large amount of water can be a range less than the first threshold, and the first threshold can be greater than 58dB, such as 77db; the sensitivity range corresponding to the drainage mode with a small amount of water can be a range greater than or equal to the first threshold and less than or equal to the second threshold, and the second threshold can be 85.5db, so that after calculating the average frequency response sensitivity A corresponding to the sound signal collected by the microphone in this step, if A> the second threshold, the drainage mode is not started, and the process can be directly terminated; if the second threshold ≤ A ≤ the first threshold, the drainage mode with a small amount of water can be started, and the speaker can be controlled to output the corresponding preset drainage sound; if A< the second threshold, the drainage mode with a large amount of water can be started, and the speaker can be controlled to output the corresponding preset drainage sound.

[0054] Step 103: Control the speaker to output a preset drainage sound.

[0055] It can be understood that in this embodiment, the processor controls the speaker to output a preset drainage sound, and can quickly drain the water in the direction of the speaker's sound through the vibration when the speaker outputs the preset drainage sound.

[0056] Specifically, the specific method of controlling the speaker to output the preset drainage sound in this step can be set by the designer. For example, when the number of drainage modes is 1, the processor can directly control the speaker to output the preset drainage sound, such as a low-frequency signal of less than or equal to 100Hz with a preset output power and a preset duration, such as a 50Hz low-frequency signal of 10s output with a 6w output power; when the number of drainage modes is greater than 1, the processor can control the speaker to output the preset drainage sound corresponding to the target drainage mode; wherein the target drainage mode is any drainage mode, and the output power, preset duration and / or output frequency of the preset drainage sound corresponding to different drainage modes are different. For example, when the output power of the preset drainage sound corresponding to different drainage modes is different, the greater the water volume corresponding to the drainage mode in this step, the greater the output power of the drainage mode; when the preset duration of the preset drainage sound corresponding to different drainage modes is different, the greater the water volume corresponding to the drainage mode in this step, the longer the preset duration of the drainage mode; when the output frequency of the preset drainage sound corresponding to different drainage modes is different, the greater the water volume corresponding to the drainage mode in this step, the lower the output frequency of the drainage mode.

[0057] The preset drainage sound in this embodiment may be a low-frequency sound to which the human ear is not sensitive, such as a low-frequency signal less than or equal to 100 Hz.

[0058] In the present embodiment, the embodiment of the present invention determines whether to start the drainage mode according to the sound signal corresponding to the preset detection sound collected by the microphone of the doorbell device. The speaker and microphone in the doorbell device can be used to detect water in the direction of the sound of the speaker in the doorbell device; by controlling the speaker to output the preset drainage sound, the water in the direction of the sound of the speaker can be quickly drained, thereby realizing the automatic drainage function of the doorbell device, ensuring the acoustic performance of the speaker, and improving the user experience.

[0059] Corresponding to the above method embodiment, the embodiment of the present invention further provides a doorbell control device. The doorbell control device described below and the doorbell control method described above can be referred to each other.

[0060] Please refer to Figure 4 , Figure 4 This is a structural block diagram of a doorbell control device provided by an embodiment of the present invention. The device may include:

[0061] A detection output module 10, used to control the speaker of the doorbell device to output a preset detection sound;

[0062] The detection and judgment module 20 is used to determine whether to start the drainage mode according to the sound signal corresponding to the preset detection sound collected by the microphone of the doorbell device;

[0063] The drainage output module 30 is used to control the speaker to output a preset drainage sound when the drainage mode is activated.

[0064] Optionally, the detection and judgment module 20 may include:

[0065] The acquisition submodule is used to obtain the sound signal corresponding to the preset detection sound acquired by the microphone;

[0066] A calculation submodule, used to calculate the mean value of the frequency response sensitivity corresponding to the sound signal;

[0067] The judgment submodule is used to judge whether to start the drainage mode according to the frequency response sensitivity mean and the sensitivity range corresponding to the drainage mode; if so, send a start signal to the drainage output module 30.

[0068] Optionally, the drainage output module 30 may be specifically used to control the speaker to output a preset drainage sound corresponding to a target drainage mode; wherein the target drainage mode is any drainage mode, and the output power of the preset drainage sound corresponding to different drainage modes is different.

[0069] Optionally, the preset drainage sound is a low-frequency signal of a preset duration less than or equal to 100 Hz.

[0070] Optionally, the preset detection tone is a sweep frequency signal within a preset frequency band.

[0071] Optionally, the device may further include:

[0072] The personnel detection module is used to detect whether there is anyone in the detection range in front of the door corresponding to the doorbell device; if so, a start signal is sent to the detection output module 10.

[0073] Optionally, the preset detection tone is a sweep frequency signal of 5kHz-10kHz.

[0074] In this embodiment, the embodiment of the present invention determines whether to start the drainage mode according to the sound signal corresponding to the preset detection sound collected by the microphone of the doorbell device through the detection and judgment module 20. The speaker and microphone in the doorbell device can be used to detect water in the direction of the sound of the speaker in the doorbell device; the speaker is controlled to output the preset drainage sound by the drainage output module 30, so that the water in the direction of the sound of the speaker can be quickly drained, thereby realizing the automatic drainage function of the doorbell device, ensuring the acoustic performance of the speaker, and improving the user experience.

[0075] Corresponding to the above method embodiment, the embodiment of the present invention further provides a doorbell device. The doorbell device described below and the doorbell control method described above can be referred to each other.

[0076] A doorbell device, comprising: a microphone, a speaker, a memory and a processor; wherein:

[0077] Memory for storing computer programs;

[0078] The processor is used to implement the steps of the doorbell control method provided in the above method embodiment when executing the computer program.

[0079] Corresponding to the above method embodiment, an embodiment of the present invention further provides a computer-readable storage medium. The computer-readable storage medium described below and the doorbell control method described above can be referred to each other.

[0080] A computer-readable storage medium stores a computer program, which, when executed by a processor, implements the steps of the doorbell control method provided by the above method embodiment.

[0081] The computer-readable storage medium may be a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, or any other computer-readable storage medium that can store program codes.

[0082] The various embodiments in the specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the various embodiments can be referred to each other. As for the device, doorbell device and computer-readable storage medium disclosed in the embodiment, since they correspond to the method disclosed in the embodiment, the description is relatively simple, and the relevant parts can be referred to the method part description.

[0083] The above is a detailed introduction to a doorbell control method, device, doorbell equipment and computer-readable storage medium provided by the present invention. Specific examples are used in this article to illustrate the principles and implementation methods of the present invention. The description of the above embodiments is only used to help understand the method of the present invention and its core idea. It should be pointed out that for ordinary technicians in this technical field, without departing from the principle of the present invention, several improvements and modifications can be made to the present invention, and these improvements and modifications also fall within the scope of protection of the claims of the present invention.

Claims

1. A doorbell control method, It is characterized in that include: Detect whether there is anyone in the detection range in front of the door corresponding to the doorbell device; if there is someone, control the speaker of the doorbell device to output a preset detection sound; and / or, controlling a speaker of a doorbell device to output a preset detection tone according to the acquired weather information; Determining whether to start the drainage mode according to the sound signal corresponding to the preset detection sound collected by the microphone of the doorbell device; If yes, controlling the speaker to output a preset drainage sound; Wherein, judging whether to start the drainage mode according to the sound signal corresponding to the preset detection sound collected by the microphone of the doorbell device includes: Acquire a sound signal corresponding to the preset detection sound collected by the microphone; Calculating a mean value of the frequency response sensitivity corresponding to the sound signal; Determining whether to start the drainage mode according to the frequency response sensitivity mean and the sensitivity range corresponding to the drainage mode; If yes, then controlling the speaker to output a preset drainage sound is executed; The controlling the speaker to output a preset drainage sound comprises: The speaker is controlled to output a preset drainage sound corresponding to a target drainage mode; wherein the target drainage mode is any of the drainage modes, and the output power of the preset drainage sound corresponding to different drainage modes is different.

2. The doorbell control method according to claim 1, It is characterized in that The preset drainage sound is a low-frequency signal with a preset duration less than or equal to 100 Hz.

3. The doorbell control method according to claim 1, It is characterized in that The preset detection tone is a frequency sweep signal within a preset frequency band.

4. The doorbell control method according to any one of claims 1 to 3, It is characterized in that The preset detection tone is a sweep frequency signal of 5kHz-10kHz.

5. A doorbell control device, It is characterized in that include: A detection output module, used to detect whether there is anyone in the detection range in front of the door corresponding to the doorbell device; If there is someone, the speaker of the doorbell device is controlled to output a preset detection tone; and / or, controlling a speaker of a doorbell device to output a preset detection tone according to the acquired weather information; A detection and judgment module, used to determine whether to start the drainage mode according to the sound signal corresponding to the preset detection sound collected by the microphone of the doorbell device; A drainage output module, used to control the speaker to output a preset drainage sound if the drainage mode is activated; Wherein, the detection and judgment module includes: A collection submodule, used to obtain a sound signal corresponding to the preset detection sound collected by the microphone; A calculation submodule, used to calculate the mean value of the frequency response sensitivity corresponding to the sound signal; A judgment submodule, used to judge whether to start the drainage mode according to the frequency response sensitivity mean and the sensitivity range corresponding to the drainage mode; if so, send a start signal to the drainage output module; The drainage output module is specifically used to control the speaker to output a preset drainage sound corresponding to a target drainage mode; wherein the target drainage mode is any of the drainage modes, and the output power of the preset drainage sound corresponding to different drainage modes is different.

6. A doorbell device, It is characterized in that include: A microphone, a speaker, a memory and a processor; wherein, The memory is used to store computer programs; The processor is used to implement the steps of the doorbell control method according to any one of claims 1 to 4 when executing the computer program.

7. A computer-readable storage medium, It is characterized in that The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the doorbell control method according to any one of claims 1 to 4 are implemented.