Intelligent doorbell control method and device, equipment, storage medium and product

Through the combination of ultrasonic sensor and audio module, the volume of the smart doorbell is dynamically adjusted, which solves the problem of infrared sensor detection error and insufficient volume adjustment, improves the intelligence and humanization of the smart doorbell, and extends the life of the equipment.

CN119179460APending Publication Date: 2024-12-24GEER TECH CO LTD
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202411162240.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-22
Publication Date
2024-12-24

AI Technical Summary

Technical Problem

The existing smart doorbell uses infrared sensor to detect visitor position errors and limited distances, which cannot intelligently adjust the volume, resulting in a decline in user experience and sound quality, excessive load on speakers, and poor life.

Method used

The ultrasonic sensor and audio module are used to detect the visitor position and initial distance, calculate the sound pressure level difference, dynamically adjust the doorbell volume, and adjust the volume and sensitivity of the speaker and microphone.

Benefits of technology

It improves the intelligence and humanization of smart doorbells, improves user experience and sound quality, extends the life of the equipment, and solves the problems of insufficient infrared sensors and poor voice call effects.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119179460A_ABST
    Figure CN119179460A_ABST
Patent Text Reader

Abstract

The invention discloses an intelligent doorbell control method and device, equipment, a storage medium and a product, and relates to the technical field of smart home, and the method comprises the steps: responding to a detected target person, and determining an initial distance corresponding to the current volume of an audio module according to a current scene; detecting the current position of the target person through an ultrasonic sensor; performing difference value calculation by combining the current position of the target person and the initial distance to obtain a distance difference value; calculating a sound pressure level difference value of the audio module based on the distance difference value; and compensating the current volume of the intelligent doorbell based on the sound pressure level difference value of the audio module. According to the scheme, the volume of the loudspeaker and the volume of the microphone of the intelligent doorbell can be intelligently adjusted in different scenes, it is guaranteed that when the position of a visitor changes, the intelligent doorbell always has a proper volume effect, and the service life of an audio system of the intelligent doorbell can be prolonged; and meanwhile, the intelligent doorbell can be developed towards the intelligentization and humanization directions.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

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

[0002] As smart home products are increasingly used in people's daily lives, consumers' requirements for the intelligence of products are also getting higher and higher.

[0003] At present, most smart doorbells on the market need to be equipped with infrared sensors to detect the visitor's location. This method of judging the visitor's location has a large error and a limited judgment distance. At the same time, it is unable to intelligently adjust the volume based on the user's location. This affects the user experience of smart products and the accuracy of distance detection. Not only that, the speaker is under high load operation, and the product life and sound quality will deteriorate.

[0004] With the increase in electronic products, the intelligence, humanization and service life of products are becoming more and more the rigid demands of the current smart home industry. Summary of the invention

[0005] The main purpose of this application is to provide a smart doorbell control method, device, equipment, storage medium and product, aiming to improve the intelligence and humanization level, and / or service life of the smart doorbell and enhance the user experience.

[0006] To achieve the above object, the present application proposes a smart doorbell control method, wherein the smart doorbell is provided with an ultrasonic sensor and an audio module, and the method comprises:

[0007] In response to detecting the target person, determining an initial distance corresponding to the current volume of the audio module according to the current scene;

[0008] Detecting the current position of the target person by using an ultrasonic sensor;

[0009] Calculate the difference between the current position of the target person and the initial distance to obtain the distance difference;

[0010] Calculating a sound pressure level difference of the audio module based on the distance difference;

[0011] The current volume of the smart doorbell is compensated based on the sound pressure level difference of the audio module.

[0012] In one embodiment, the step of calculating the sound pressure level difference of the audio module based on the distance difference comprises:

[0013] The sound pressure level difference of the audio module is calculated based on the distance difference and in combination with a preset sound pressure level difference calculation formula, wherein the sound pressure level difference calculation formula includes a correlation relationship between the sound pressure level and the distance.

[0014] In one embodiment, the step of compensating the current volume of the smart doorbell based on the sound pressure level difference of the audio module includes:

[0015] The sound pressure level difference of the audio module is divided by the sound pressure level change value corresponding to each preset distance of the volume change to obtain a calculation result;

[0016] Determining a volume compensation value according to the calculation result;

[0017] The current volume of the smart doorbell is compensated according to the volume compensation value.

[0018] In one embodiment, the smart doorbell is further provided with an MCU chip and a power amplifier module, and the step of compensating the current volume of the smart doorbell according to the volume compensation value includes:

[0019] The MCU chip is used to adjust the amplification factor of the power amplifier module according to the volume compensation value to compensate for the current volume of the smart doorbell.

[0020] In one embodiment, the method further comprises:

[0021] The sensitivity of the audio module is adjusted according to the compensation result.

[0022] In one embodiment, the method further comprises:

[0023] Detecting, by means of the ultrasonic sensor, whether the position of the target person changes;

[0024] If it is detected that the position of the target person changes, return to the execution step: perform difference calculation based on the current position of the target person and the initial distance to obtain the distance difference, and the audio module includes: a speaker and / or a microphone.

[0025] In addition, to achieve the above purpose, the present application also proposes a smart doorbell control device, wherein the smart doorbell is provided with an ultrasonic sensor and an audio module, and the device comprises:

[0026] A first determination module, configured to determine, in response to detecting a target person, an initial distance corresponding to a current volume of the audio module according to a current scene;

[0027] A second determination module is used to detect the current position of the target person through an ultrasonic sensor;

[0028] A distance difference calculation module is used to calculate the difference between the current position of the target person and the initial distance to obtain the distance difference;

[0029] A sound pressure level difference calculation module, used to calculate the sound pressure level difference of the audio module based on the distance difference;

[0030] A compensation module is used to compensate the current volume of the smart doorbell based on the sound pressure level difference of the audio module.

[0031] In addition, to achieve the above-mentioned purpose, the present application also proposes a smart doorbell control 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 smart doorbell control method as described above.

[0032] 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 the processor, the steps of the smart doorbell control method described above are implemented.

[0033] In addition, to achieve the above-mentioned purpose, the present application also provides a computer program product, which includes a computer program, and when the computer program is executed by a processor, it implements the steps of the smart doorbell control method described above.

[0034] One or more technical solutions proposed in this application have at least the following technical effects: by responding to the detection of the target person, determining the initial distance corresponding to the current volume of the audio module according to the current scene; detecting the current position of the target person by an ultrasonic sensor; performing difference calculation in combination with the current position of the target person and the initial distance to obtain the distance difference; calculating the sound pressure level difference of the audio module based on the distance difference; and compensating the current volume of the smart doorbell based on the sound pressure level difference of the audio module. This solution uses a built-in ultrasonic sensor to identify the visitor position around the smart doorbell, and dynamically adjusts the volume of the audio modules such as the doorbell speaker (speaker), microphone, etc. by volume compensation in combination with the distance between the visitor position and the smart doorbell, so that the volume of the speaker and microphone of the smart doorbell can be intelligently adjusted in different scenes, ensuring that when the visitor position changes, the smart doorbell always has a relatively suitable volume effect, and further can adjust the sensitivity. This solution can not only solve the shortcomings of infrared sensors in detecting visitor positions, but also solve the problem of unstable visitor positions and poor voice call effects, and can also improve the service life of the smart doorbell audio system; at the same time, it is conducive to the development of smart doorbells in the direction of intelligence and humanization. BRIEF DESCRIPTION OF THE DRAWINGS

[0035] 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.

[0036] 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.

[0037] Figure 1 A flowchart of the first embodiment of the smart doorbell control method of the present application is provided;

[0038] Figure 2 A flowchart of the second embodiment of the smart doorbell control method of the present application is provided;

[0039] Figure 3 A flowchart of the third embodiment of the smart doorbell control method of the present application is provided;

[0040] Figure 4 A complete flowchart of the smart doorbell control method provided in the embodiment of the present application;

[0041] Figure 5 This is a schematic diagram of the module structure of the intelligent doorbell control device according to an embodiment of the present application;

[0042] Figure 6 This is a schematic diagram of the device structure of the hardware operating environment involved in the smart doorbell control method in the embodiment of the present application.

[0043] The purpose, features and advantages of this application will be further described in conjunction with the 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] In order to better understand the technical solution of the present application, a detailed description will be given below in conjunction with the accompanying drawings and specific implementation methods.

[0046] The main solution of the embodiment of the present application is: by responding to the detection of the target person, the initial distance corresponding to the current volume of the audio module is determined according to the current scene; the current position of the target person is detected by the ultrasonic sensor, and the current distance between the target person and the smart doorbell is determined based on the current position of the target person; the difference between the current distance and the initial distance is calculated to obtain the distance difference; the sound pressure level difference of the audio module is calculated based on the distance difference; the current volume of the smart doorbell is compensated based on the sound pressure level difference of the audio module. This solution uses a built-in ultrasonic sensor to identify the visitor position around the smart doorbell, and dynamically adjusts the volume of the audio modules such as the doorbell speaker (speaker), microphone, etc. by volume compensation in combination with the distance between the visitor position and the smart doorbell, so that the volume of the speaker and microphone of the smart doorbell can be intelligently adjusted in different scenes, ensuring that the visitor position changes always have a more appropriate volume effect, and further can adjust the sensitivity. This solution not only solves the shortcomings of infrared sensors in detecting visitor positions, but also solves the problem that the visitor position is not fixed and the voice call effect is poor, and can also improve the service life of the smart doorbell audio system; at the same time, it is conducive to the development of smart doorbells in the direction of intelligence and humanization.

[0047] Due to existing technology, most smart doorbells need to be equipped with infrared sensors to detect the visitor's location. This method of judging the visitor's location has a large error and a limited judgment distance. At the same time, it is impossible to intelligently adjust the volume based on the user's location. This affects the user experience and distance detection accuracy of smart products. Not only that, the speaker is under high load operation, and the product life and sound quality will deteriorate.

[0048] The present application provides a solution that can ensure that when the visitor's location changes, the smart doorbell always has a relatively appropriate volume effect, thereby improving the intelligence and humanization level of the smart doorbell, and / or its service life, and improving the user experience.

[0049] It should be noted that the execution subject of this embodiment can be a computing service device with data processing, 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, a smart doorbell, etc. The following takes a smart doorbell as an example to illustrate this embodiment and the following embodiments.

[0050] Based on this, the embodiment of the present application provides a smart doorbell control method, referring to Figure 1 , Figure 1 This is a flow chart of the first embodiment of the smart doorbell control method of the present application.

[0051] In this embodiment, the smart doorbell control method includes steps S10 to S50, each of which is explained in detail below.

[0052] like Figure 1 As shown, the first embodiment of the present application proposes a smart doorbell control method, wherein the smart doorbell is provided with an ultrasonic sensor and an audio module, and the method includes:

[0053] Step S10, in response to detecting the target person, determining an initial distance corresponding to the current volume of the audio module according to the current scene;

[0054] Among them, the target person can be a user such as a visitor of the smart home.

[0055] The audio module may include a speaker and / or a microphone of the smart doorbell. The speaker and the microphone may be installed on the camera of the smart doorbell.

[0056] The technical solution of this embodiment can compensate the volume of the camera's speaker and microphone according to the distance, so as to ensure that when the visitor's position changes, the smart doorbell always has a relatively appropriate volume effect, thereby improving the intelligence and humanization level of the smart doorbell, and / or its service life, and improving the user experience.

[0057] The executor of this embodiment may be a smart doorbell, which may be configured with a camera, an MCU chip, an amplifier module, a speaker, a microphone, an ultrasonic sensor, etc. The MCU chip is communicated with the camera, the amplifier module, the microphone, the ultrasonic sensor, etc., and each functional module is controlled by the MCU chip to perform its operation.

[0058] As an implementation method, when the volume of the speaker and microphone of the camera is adjusted for compensation according to the distance, a strategy of making the adjustment values ​​of the microphone and the speaker consistent can be adopted. This embodiment is mainly described using the speaker as an example.

[0059] In specific implementation, when a visitor comes, the target person, i.e. the visitor, can be detected by the camera of the smart doorbell. The camera sends the detection result to the MCU chip. In response to the detection of the target person, the MCU chip determines the initial distance corresponding to the current volume of the audio module according to the current scene.

[0060] The initial distance corresponding to the current volume of the audio module refers to the distance between the position corresponding to a default suitable volume of the audio module in the current scene and the smart doorbell.

[0061] The default suitable volume of the audio module can be preset according to the actual situation. For example, the audio module is a speaker. For example, the volume can be divided into different levels based on the preset volume change for different locations far away from the smart doorbell according to the playback volume of the speaker, such as 1, 2, 3... That is, different locations (or distances) can correspond to different default volumes.

[0062] In a possible implementation manner, different default volumes corresponding to the speaker and the microphone at different positions (or distances) may also be set in combination with changes in the sound pressure levels of the speaker and the microphone.

[0063] For example, the preset volume change of 10cm is the sound pressure level change ε ​​at the speaker position. Similarly, the microphone volume changes by 10cm and the sound pressure level changes θ after recording. The volume can be divided into 1, 2, 3...

[0064] Step S20, detecting the current position of the target person by an ultrasonic sensor;

[0065] Among them, the current location of the target person can be represented by the distance between the target person and the smart doorbell.

[0066] In this embodiment, an ultrasonic sensor is configured in the smart doorbell, and the current position of the target person (i.e., the visitor) is detected by the ultrasonic sensor so as to determine whether to adjust the volume of the speaker and the microphone according to the current position of the target person.

[0067] Among them, the ultrasonic sensor is a sensor that uses the characteristics of ultrasound to convert ultrasonic signals into electrical signals.

[0068] According to their working principles, ultrasonic sensors can be divided into piezoelectric, magnetostrictive, electromagnetic, etc. They are widely used in industry, national defense, biomedicine, etc., such as anti-theft alarms, lighting, automatic door switches, automobile anti-collision ranging, etc.

[0069] The working principle of ultrasonic sensors to detect the position of people is mainly based on ToF (Time-of-Flight) technology. This sensor transmits ultrasonic pulses and measures the time from the emission to the reflection of the target object, thereby calculating the distance between the target object and the sensor. The specific steps are as follows:

[0070] Transmit phase: The sensor transmits an ultrasonic pulse through the transmitter.

[0071] Receiving stage: The ultrasonic pulse propagates in the air and is reflected back after encountering the target object. The sensor's receiver receives the reflected ultrasonic signal.

[0072] Measurement phase: The sensor calculates the distance between the target object and the sensor by measuring the time difference between the transmission and reception of the ultrasonic pulse. Since the propagation speed of ultrasonic waves in the air is known, the distance can be calculated based on the relationship between the flight time and the propagation speed.

[0073] Ultrasonic sensors have the advantages of high precision, high measurement speed, and strong anti-interference ability, and are suitable for various environments and application scenarios. For example, in smart homes, they can be used for human detection, gesture recognition, and indoor positioning; in security monitoring, they can be used for intrusion detection, tracking, and deployment.

[0074] In addition, ultrasonic sensors also have the advantage of non-contact measurement, which will not damage the target object and is suitable for application scenarios that require non-contact with the measured object. They are relatively insensitive to external interference such as light and dust, and can maintain stable measurement performance in complex environments.

[0075] In terms of human behavior detection, ultrasonic sensors can detect the presence and movement of a human body by emitting ultrasonic waves and receiving the waves reflected by the human body. When a human body moves, the detected distance changes, thereby determining that someone is moving.

[0076] In general, ultrasonic sensors detect and measure the position of a person by emitting and receiving ultrasonic pulses and calculating the flight time of these pulses. They are widely used in many fields such as industrial automation, smart home, and security monitoring. In this embodiment, the current position of the target person (i.e., visitor) is detected by an ultrasonic sensor.

[0077] Compared with the prior art in which the smart doorbell is equipped with an infrared sensor to detect the visitor's location, which results in a large error in visitor location detection and a limited judgment distance, and at the same time, it is impossible to intelligently adjust the volume based on the user's location, which affects the user experience of the smart product and the distance detection accuracy. In this embodiment, an ultrasonic sensor is set in the smart doorbell to detect the visitor's location, which can greatly improve the accuracy of visitor location detection and the judgment distance is not limited.

[0078] Step S30, performing difference calculation based on the current position of the target person and the initial distance to obtain a distance difference;

[0079] Among them, in the specific implementation, as an implementation method, after the ultrasonic sensor detects the current position of the target person, it sends the current position of the target person to the MCU chip, and the MCU chip calculates the difference between the current position of the target person and the initial distance to obtain the distance difference.

[0080] Step S40, calculating the sound pressure level difference of the audio module based on the distance difference;

[0081] In one implementation, calculating the sound pressure level difference of the audio module based on the distance difference may include:

[0082] The sound pressure level difference of the audio module is calculated based on the distance difference and in combination with a preset sound pressure level difference calculation formula, wherein the sound pressure level difference calculation formula includes a correlation relationship between the sound pressure level and the distance.

[0083] Step S50, compensating the current volume of the smart doorbell based on the sound pressure level difference of the audio module.

[0084] In a feasible implementation manner, the step S50 of compensating the current volume of the smart doorbell based on the sound pressure level difference of the audio module may include steps A11 to A13:

[0085] A11, dividing the sound pressure level difference of the audio module by the sound pressure level change value corresponding to each preset distance of volume change to obtain a calculation result;

[0086] A12, determining a volume compensation value according to the calculation result;

[0087] Among them, different calculation results can correspond to different volume compensation values.

[0088] A13, compensate the current volume of the smart doorbell according to the volume compensation value.

[0089] In one embodiment, the volume compensation operation can be performed by the MCU chip and the power amplifier module of the smart doorbell. That is, the MCU chip can adjust the amplification factor of the power amplifier module according to the volume compensation value to compensate for the current volume of the smart doorbell.

[0090] Specifically, as an implementation method, taking a speaker as an example, the calculation and compensation principle of the sound pressure level difference of the speaker is as follows:

[0091] First, the appropriate volume distance A1 is determined for the default current volume of the speaker in the current scene. At this time, the sound pressure level of the speaker is SPL1; and through detection, the current distance A2 between the target person and the smart doorbell is determined. If the appropriate volume can be achieved by adjusting to the current distance, the sound pressure level of the speaker is SPL2.

[0092] Secondly, the difference between the two sound pressure levels is determined to obtain a sound pressure level difference value of the loudspeaker, so as to compensate the volume of the loudspeaker according to the sound pressure level difference value of the loudspeaker.

[0093] The sound pressure level difference calculation formula is as follows:

[0094] △SPL=SPL2-SPL1=20lg(A2 / A1).

[0095] The sound pressure level difference △SPL between the current distance A2 and the volume appropriate distance A1 is calculated according to the sound pressure level difference calculation formula △SPL=SPL2-SPL1=201g(A2 / A1).

[0096] Then, the volume compensation value is calculated based on the calculated sound pressure level difference △SPL, and the current volume of the speaker is compensated. The main calculation process is as follows:

[0097] The sound pressure level difference △SPL is divided by the sound pressure level change ε ​​corresponding to the volume change per 10cm to obtain the calculation result δ.

[0098] Among them, as a possible implementation, if -1<δ<1, the volume compensation value is 0; if -2<δ<-1, the volume compensation value is 1; if 1<δ<2, the volume compensation value is -1; if -3<δ<-2, the volume compensation value is 2; if 2<δ<3, the volume compensation value is -2; and so on. Other volume compensation values ​​can be calculated similarly.

[0099] Afterwards, the current volume of the smart doorbell can be compensated according to the volume compensation value.

[0100] Visitors can hear the normal volume of the voice played by the camera speaker. Similarly, the microphone pickup effect in the camera can also be compensated.

[0101] It can be understood that the technical solution of this embodiment, in response to the detection of the target person, determines the initial distance corresponding to the current volume of the audio module according to the current scene; detects the current position of the target person by an ultrasonic sensor; calculates the difference between the current position of the target person and the initial distance to obtain the distance difference; calculates the sound pressure level difference of the audio module based on the distance difference; and compensates the current volume of the smart doorbell based on the sound pressure level difference of the audio module. This solution uses a built-in ultrasonic sensor to identify the visitor position around the smart doorbell, and dynamically adjusts the volume of the audio modules such as the doorbell speaker (speaker), microphone, etc. by volume compensation in combination with the distance between the visitor position and the smart doorbell, so that the volume of the speaker and microphone of the smart doorbell can be intelligently adjusted in different scenes, ensuring that when the visitor position changes, the smart doorbell always has a more appropriate volume effect. This solution not only solves the shortcomings of infrared sensors in detecting visitor positions, but also solves the problem of unfixed visitor positions and poor voice call effects, and can also improve the service life of the smart doorbell audio system; at the same time, it is conducive to the development of smart doorbells in the direction of intelligence and humanization.

[0102] Based on the first embodiment of the present application, in the second embodiment of the present application, the same or similar contents as those in the first embodiment can refer to the above introduction, and will not be repeated in the following. Figure 2 , after step S50, the smart doorbell control method also includes step S60.

[0103] Step S60: adjusting the sensitivity of the audio module according to the compensation result.

[0104] Specifically, since the sensitivity of the speaker and the microphone is mainly affected by the distance, during adjustment, the sensitivity of the speaker and the microphone can be adjusted accordingly according to the location of the visitor.

[0105] In addition, the adjustment values ​​of the microphone and the speaker may be consistent. This embodiment is mainly described by taking the speaker as an example.

[0106] As an implementation method, the current position of the visitor can be detected by an ultrasonic sensor, that is, the current distance between the visitor and the smart doorbell can be determined; the difference between the current position of the visitor and the initial distance is calculated to obtain the distance difference; the sound pressure level difference of the audio module is calculated based on the distance difference; the current volume of the smart doorbell is compensated based on the sound pressure level difference of the audio module, and finally, the sensitivity of the audio module is adjusted based on the compensation result.

[0107] Among them, for the specific implementation principle of compensating the current volume of the smart doorbell, please refer to the above embodiment and will not be repeated here.

[0108] The technical solution of this embodiment uses a built-in ultrasonic sensor to identify the location of visitors around the smart doorbell, and dynamically adjusts the volume of audio modules such as the doorbell speaker (horn) and microphone through volume compensation in combination with the distance between the visitor's location and the smart doorbell. Therefore, the volume of the speaker and microphone of the smart doorbell can be intelligently adjusted in different scenarios to ensure that when the visitor's location changes, the smart doorbell always has a relatively suitable volume effect. Furthermore, the user's location can be fed back to the MCU chip to adjust the amplification factor of the built-in power amplifier module, thereby intelligently adjusting the sensitivity of the speaker and microphone of the smart doorbell in different scenarios. This solution not only solves the shortcomings of infrared sensors in detecting visitor locations, but also solves the problem of unstable visitor locations and poor voice call effects, and can also improve the service life of the smart doorbell audio system; at the same time, it is conducive to the development of smart doorbells in the direction of intelligence and humanity.

[0109] Based on the first embodiment or the second embodiment of the present application, in the third embodiment of the present application, the same or similar contents as those of the first embodiment or the second embodiment can refer to the above introduction, and will not be repeated later. Figure 3, after step S50, the smart doorbell control method also includes step S70.

[0110] Step S70, detecting by the ultrasonic sensor whether the position of the target person changes;

[0111] If it is detected that the position of the target person has changed, return to step S30: perform a difference calculation based on the current position of the target person and the initial distance to obtain a distance difference, so as to determine again whether the current volume of the smart doorbell needs to be compensated according to the current position of the target person, and / or determine whether the sensitivity of the audio module needs to be adjusted.

[0112] As an implementation method, if it is detected that the position of the target person changes, the process returns to step S30 and subsequent steps.

[0113] The complete process of this embodiment can be referred to Figure 4 shown.

[0114] This embodiment adopts the above scheme, specifically by responding to the detection of the target person, determining the initial distance corresponding to the current volume of the audio module according to the current scene; detecting the current position of the target person by means of an ultrasonic sensor; performing a difference calculation between the current position of the target person and the initial distance to obtain a distance difference; calculating the sound pressure level difference of the audio module based on the distance difference; and compensating for the current volume of the smart doorbell based on the sound pressure level difference of the audio module. In addition, the ultrasonic sensor can also be used to detect whether the position of the target person has changed; if the position of the target person is detected to have changed, then it is determined again based on the current position of the target person whether the current volume of the smart doorbell needs to be compensated, and / or whether the sensitivity of the audio module needs to be adjusted. This solution uses a built-in ultrasonic sensor to identify the visitor position around the smart doorbell, and combines the distance between the visitor position and the smart doorbell to dynamically adjust the volume of the doorbell speaker (horn), microphone and other audio modules through volume compensation, so that the volume of the speaker and microphone of the smart doorbell can be intelligently adjusted in different scenarios to ensure that when the visitor position changes, the smart doorbell always has a relatively suitable volume effect, and the sensitivity can be further adjusted. This solution not only solves the shortcomings of infrared sensors in detecting visitor positions, but also solves the problem of unstable visitor positions and poor voice call effects, and can also improve the service life of the smart doorbell audio system; at the same time, it is conducive to the development of smart doorbells in the direction of intelligence and humanity.

[0115] It should be noted that the above examples are only used to understand the present application and do not constitute a limitation on the smart doorbell control method of the present application. More simple transformations based on this technical concept are all within the scope of protection of the present application.

[0116] In addition, to achieve the above purpose, the present application also proposes a smart doorbell control device, wherein the smart doorbell is provided with an ultrasonic sensor and an audio module, such as Figure 5 As shown, the device comprises:

[0117] A first determination module 10, configured to determine, in response to detecting a target person, an initial distance corresponding to a current volume of the audio module according to a current scene;

[0118] A second determination module is used to detect the current position of the target person through an ultrasonic sensor;

[0119] A distance difference calculation module is used to calculate the difference between the current position of the target person and the initial distance to obtain the distance difference;

[0120] A sound pressure level difference calculation module, used to calculate the sound pressure level difference of the audio module based on the distance difference;

[0121] A compensation module is used to compensate the current volume of the smart doorbell based on the sound pressure level difference of the audio module.

[0122] The smart doorbell control device provided by the present application adopts the smart doorbell control method in the above embodiment, and can intelligently adjust the volume of the speaker and microphone of the smart doorbell in different scenarios, so as to ensure that the smart doorbell always has a relatively suitable volume effect when the visitor's position changes. Compared with the prior art, the beneficial effects of the smart doorbell control device provided by the present application are the same as the beneficial effects of the smart doorbell control method provided by the above embodiment, and the other technical features of the smart doorbell control device are the same as the features disclosed in the above embodiment method, which will not be repeated here.

[0123] In addition, to achieve the above-mentioned purpose, the present application also proposes a smart doorbell control 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 smart doorbell control method as described above.

[0124] Reference below Figure 6, which shows a schematic diagram of the structure of a smart doorbell control device suitable for implementing the embodiment of the present application. The smart doorbell control 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 6 The smart doorbell control 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.

[0125] like Figure 6 As shown, the smart doorbell control 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 xxx device are also stored. The processing device 1001, ROM1002, and RAM1004 are connected to each other via 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 touchpad, 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 smart doorbell control device to communicate with other devices wirelessly or by wire to exchange data. Although the figure shows a smart doorbell control 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 provided instead.

[0126] In particular, according to the embodiments disclosed in the present application, the process described above with reference to the flowchart can be implemented as a computer software program. For example, the embodiments disclosed in the present application include a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes a program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network through a communication device, or installed from a storage device 1003, or installed from a 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 application are executed.

[0127] The smart doorbell control device provided by the present application adopts the smart doorbell control method in the above embodiment, and can intelligently adjust the volume of the speaker and microphone of the smart doorbell in different scenarios, so as to ensure that the smart doorbell always has a relatively suitable volume effect when the visitor's position changes. Compared with the prior art, the beneficial effects of the smart doorbell control device provided by the present application are the same as the beneficial effects of the smart doorbell control method provided by the above embodiment, and the other technical features in the smart doorbell control device are the same as the features disclosed in the method of the previous embodiment, which will not be repeated here.

[0128] It should be understood that the various parts disclosed in this application 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.

[0129] 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 the processor, the steps of the smart doorbell control method described above are implemented.

[0130] The computer-readable storage medium provided in the present application 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 of the above. 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 of the above. In this embodiment, the computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in combination 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 of the above.

[0131] The computer-readable storage medium may be included in the smart doorbell control device; or it may exist independently without being assembled into the smart doorbell control device.

[0132] The computer-readable storage medium carries one or more programs. When the one or more programs are executed by the smart doorbell control device, the smart doorbell control device: determines the initial distance corresponding to the current volume of the audio module according to the current scene in response to detecting a target person; detects the current position of the target person through an ultrasonic sensor; calculates the difference between the current position of the target person and the initial distance to obtain a distance difference; calculates the sound pressure level difference of the audio module based on the distance difference; and compensates for the current volume of the smart doorbell based on the sound pressure level difference of the audio module.

[0133] Computer program code for performing the operations of the present application 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 through 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).

[0134] 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 application. 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.

[0135] The modules involved in the embodiments described in this application 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.

[0136] The readable storage medium provided by the present application is a computer-readable storage medium, which stores computer-readable program instructions (i.e., computer programs) for executing the above-mentioned smart doorbell control method, and can intelligently adjust the volume of the speaker and microphone of the smart doorbell in different scenarios, and can ensure that the smart doorbell always has a relatively suitable volume effect when the visitor's position changes. Compared with the prior art, the beneficial effects of the computer-readable storage medium provided by the present application are the same as the beneficial effects of the smart doorbell control method provided by the above-mentioned embodiment, and will not be repeated here.

[0137] In addition, to achieve the above-mentioned purpose, the present application also provides a computer program product, which includes a computer program, and when the computer program is executed by a processor, it implements the steps of the smart doorbell control method described above.

[0138] The computer program product provided by the present application can intelligently adjust the volume of the speaker and microphone of the smart doorbell in different scenarios, and can ensure that the smart doorbell always has a relatively appropriate volume effect when the visitor's position changes. Compared with the prior art, the beneficial effects of the computer program product provided by the present application are the same as the beneficial effects of the smart doorbell control method provided by the above embodiment, and will not be repeated here.

[0139] One or more technical solutions proposed in this application have at least the following technical effects: by responding to the detection of the target person, determining the initial distance corresponding to the current volume of the audio module according to the current scene; detecting the current position of the target person by an ultrasonic sensor; performing difference calculation based on the current position of the target person and the initial distance to obtain the distance difference; calculating the sound pressure level difference of the audio module based on the distance difference; and compensating the current volume of the smart doorbell based on the sound pressure level difference of the audio module. This solution uses a built-in ultrasonic sensor to identify the visitor position around the smart doorbell, and dynamically adjusts the volume of the audio modules such as the doorbell speaker (speaker), microphone, etc. by volume compensation in combination with the distance between the visitor position and the smart doorbell, so that the volume of the speaker and microphone of the smart doorbell can be intelligently adjusted in different scenes, ensuring that the smart doorbell always has a relatively suitable volume effect when the visitor position changes, and further adjusting the sensitivity. This solution not only solves the shortcomings of infrared sensors in detecting visitor positions, but also solves the problem that the visitor position is not fixed and the voice call effect is poor, and can also improve the service life of the smart doorbell audio system; at the same time, it is conducive to the development of smart doorbells in the direction of intelligence and humanization.

[0140] The above descriptions are only some embodiments of the present application, and are not intended to limit the patent scope of the present application. All equivalent structural changes made using the contents of the present application specification and drawings under the technical concept of the present application, or direct / indirect applications in other related technical fields are included in the patent protection scope of the present application.

Claims

1. A smart doorbell control method, characterized in that: The smart doorbell is provided with an ultrasonic sensor and an audio module, and the method comprises: In response to detecting the target person, determining an initial distance corresponding to the current volume of the audio module according to the current scene; Detecting the current position of the target person by using an ultrasonic sensor; Calculate the difference between the current position of the target person and the initial distance to obtain the distance difference; Calculating a sound pressure level difference of the audio module based on the distance difference; The current volume of the smart doorbell is compensated based on the sound pressure level difference of the audio module.

2. The method according to claim 1, characterized in that The step of calculating the sound pressure level difference of the audio module based on the distance difference comprises: The sound pressure level difference of the audio module is calculated based on the distance difference and in combination with a preset sound pressure level difference calculation formula, wherein the sound pressure level difference calculation formula includes a correlation relationship between the sound pressure level and the distance.

3. The method according to claim 1, characterized in that The step of compensating the current volume of the smart doorbell based on the sound pressure level difference of the audio module includes: The sound pressure level difference of the audio module is divided by the sound pressure level change value corresponding to each preset distance of the volume change to obtain a calculation result; Determining a volume compensation value according to the calculation result; The current volume of the smart doorbell is compensated according to the volume compensation value.

4. The method according to claim 3, characterized in that The smart doorbell is also provided with an MCU chip and a power amplifier module, and the step of compensating the current volume of the smart doorbell according to the volume compensation value comprises: The MCU chip is used to adjust the amplification factor of the power amplifier module according to the volume compensation value to compensate for the current volume of the smart doorbell.

5. The method according to any one of claims 1 to 4, characterized in that The method further comprises: The sensitivity of the audio module is adjusted according to the compensation result.

6. The method according to claim 5, characterized in that The method further comprises: Detecting, by means of the ultrasonic sensor, whether the position of the target person changes; If it is detected that the position of the target person has changed, return to the execution step: perform a difference calculation based on the current position of the target person and the initial distance to obtain the distance difference, so as to determine again whether the current volume of the smart doorbell needs to be compensated, and / or determine whether the sensitivity of the audio module needs to be adjusted, and the audio module includes: a speaker and / or a microphone.

7. An intelligent doorbell control device, characterized in that: The smart doorbell is provided with an ultrasonic sensor and an audio module, and the device comprises: A first determination module, configured to determine, in response to detecting a target person, an initial distance corresponding to a current volume of the audio module according to a current scene; A second determination module is used to detect the current position of the target person through an ultrasonic sensor; A distance difference calculation module is used to calculate the difference between the current position of the target person and the initial distance to obtain the distance difference; A sound pressure level difference calculation module, used to calculate the sound pressure level difference of the audio module based on the distance difference; A compensation module is used to compensate the current volume of the smart doorbell based on the sound pressure level difference of the audio module.

8. An intelligent doorbell control 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 smart doorbell control method according to any one of claims 1 to 6.

9. 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 smart doorbell control method according to any one of claims 1 to 6 are implemented.

10. A computer program product, characterized in that The computer program product comprises a computer program, and when the computer program is executed by a processor, the steps of the smart doorbell control method according to any one of claims 1 to 6 are implemented.

Citation Information

Cited By

  • Method for adjusting sound wave, and related apparatus

    WO2026149143A1