Voice broadcast volume control method and device for voice air conditioner and voice air conditioner

文档序号:1934736 发布日期:2021-12-07 浏览:12次 中文

阅读说明:本技术 一种语音空调语音播报音量控制方法、装置及语音空调 (Voice broadcast volume control method and device for voice air conditioner and voice air conditioner ) 是由 邹周利 梁博 王子 廖海霖 李保水 于 2021-08-02 设计创作,主要内容包括:本发明公开了一种语音空调语音播报音量控制方法、装置及语音空调,属于语音空调领域;当接收到语音播报指令时,获取待播报语音的待播报音量,根据待播报音量判断是否需要调整音量,如果需要,则以调整后的音量进行语音播报,如果不需要,则以待播报音量进行语音播报。本申请方案能够在待播报语音还未播报时就预先判断其待播报音量是否合适,不会使播报时的音量过小;也不会使播报时的音量过大而产生噪声。即可以保证用户听清,又可以保证用户的身心健康,大大提高了用户的体验。(The invention discloses a voice broadcast volume control method and device for a voice air conditioner and the voice air conditioner, belonging to the field of voice air conditioners; when receiving the voice broadcast instruction, acquire the volume of waiting to report pronunciation, judge whether need adjust the volume according to waiting to report the volume, if need, then carry out voice broadcast with the volume after the adjustment, if do not need, then carry out voice broadcast with waiting to report the volume. According to the scheme, whether the volume to be broadcasted is appropriate can be judged in advance when the voice to be broadcasted is not broadcasted, and the volume during broadcasting cannot be too small; the volume when broadcasting is not too large and noise is not generated. The method can ensure that the user can hear clearly, can also ensure the physical and mental health of the user, and greatly improves the experience of the user.)

1. A voice air conditioner voice broadcast volume control method is characterized by comprising the following steps:

when a voice broadcasting instruction is received, acquiring the volume to be broadcasted of voice to be broadcasted;

judging whether the volume needs to be adjusted or not according to the volume to be broadcasted;

if so, adjusting the volume and carrying out voice broadcast by the adjusted volume; if not, then carry out voice broadcast with waiting to report the volume.

2. The method of claim 1, wherein: whether the volume needs to be adjusted or not is judged according to the volume to be broadcasted, and the method comprises the following steps:

comparing the volume to be broadcasted with a first threshold value and a second threshold value, wherein the first threshold value is smaller than the second threshold value;

and when the volume to be broadcasted is smaller than a first threshold value or when the volume to be broadcasted is larger than a second threshold value, judging that the volume needs to be adjusted.

3. The method of claim 2, further comprising:

when the volume to be broadcasted is not smaller than the first threshold value and not larger than a second threshold value, acquiring the time length to be broadcasted of the voice to be broadcasted;

and judging whether the volume needs to be adjusted according to the time length to be broadcasted and the volume to be broadcasted.

4. The method of claim 3, wherein: the judging whether the volume needs to be adjusted according to the time length to be broadcasted and the volume to be broadcasted comprises the following steps:

and when the volume to be broadcasted is larger than a third threshold value and the time length to be broadcasted is larger than a first preset time length, judging that the volume needs to be adjusted.

5. The method of claim 2, wherein: the adjusting the volume includes:

when the volume to be broadcasted is smaller than a first threshold value, increasing the volume to be broadcasted;

and when the volume to be broadcasted is larger than a second threshold value, reducing the volume to be broadcasted.

6. The method of claim 4, wherein: the adjusting the volume includes:

and when the volume to be broadcasted is greater than a third threshold value and the time length to be broadcasted is greater than a first preset time length, the volume to be broadcasted is reduced.

7. The method of claim 4, further comprising:

acquiring the time to be broadcasted of the voice to be broadcasted;

and adjusting the sizes of the first threshold, the second threshold and the third threshold according to the time to be broadcasted.

8. The method of claim 1, further comprising:

acquiring the environmental volume;

judging whether the environment volume is noise;

if so, voice broadcast is carried out to remind the user.

9. The method of claim 8, wherein: the determining whether the ambient volume is noise comprises:

judging whether the volume is larger than a fourth threshold value;

if not, judging whether the noise is noise; if so, judging whether the time that the volume is greater than the fourth threshold is greater than a second preset time length;

if yes, judging the noise, and if not, judging the noise.

10. The utility model provides a voice air conditioner voice broadcast volume control device which characterized in that includes:

the voice broadcasting device comprises a to-be-broadcasted volume acquisition module, a to-be-broadcasted volume acquisition module and a to-be-broadcasted volume acquisition module, wherein the to-be-broadcasted volume acquisition module is used for acquiring the to-be-broadcasted volume of voice to be broadcasted when a voice broadcasting instruction is received;

the volume adjustment judging module is used for judging whether the volume needs to be adjusted or not according to the volume to be broadcasted;

the volume adjusting and broadcasting module is used for adjusting the volume and carrying out voice broadcasting according to the adjusted volume if necessary; if not, then carry out voice broadcast with waiting to report the volume.

11. A voice air conditioner is characterized in that: comprising a control device according to claim 10.

Technical Field

The invention relates to the field of voice air conditioners, in particular to a voice air conditioner voice broadcast volume control method and device and a voice air conditioner.

Background

Noise can cause hearing loss, especially long-term contact noise, and is prone to noise deafness. Noise also tends to cause tinnitus because of the frequent contact with noise, which is somewhat damaging to the inner ear, and tends to cause noisy tinnitus. In addition, noise can affect normal sleep, leading to insomnia, or poor sleep quality. With the development of air conditioners, many voice type air conditioners have appeared. Voice air conditioner not only can accept user's speech control, can also carry out voice broadcast or pronunciation to air conditioner self situation or external environment situation and remind, need change if the filter screen blocks up, or voice warning such as the too high suggestion dehumidification of ambient humidity. However, the volume of voice played by the existing voice air conditioner cannot be automatically adjusted, the user cannot be reminded when the voice volume is too small, and noise is generated when the voice volume is too large, so that physical and mental health of the user is influenced.

Disclosure of Invention

In order to overcome the defects of the prior art, the invention provides a voice broadcast volume control method and device of a voice air conditioner and the voice air conditioner, and aims to solve the problems that the volume of voice broadcast by the existing voice air conditioner cannot be automatically adjusted, a user cannot be reminded when the voice volume is too small, and noise is generated when the voice volume is too large, so that the physical and mental health of the user is influenced.

The technical scheme adopted by the invention for solving the technical problems is as follows:

in a first aspect,

a voice air conditioner voice broadcast volume control method comprises the following steps:

when a voice broadcasting instruction is received, acquiring the volume to be broadcasted of voice to be broadcasted;

judging whether the volume needs to be adjusted or not according to the volume to be broadcasted;

if so, adjusting the volume and carrying out voice broadcast by the adjusted volume; if not, then carry out voice broadcast with waiting to report the volume.

Further, the judging whether the volume needs to be adjusted according to the volume to be broadcasted includes:

comparing the volume to be broadcasted with a first threshold value and a second threshold value, wherein the first threshold value is smaller than the second threshold value;

and when the volume to be broadcasted is smaller than a first threshold value or when the volume to be broadcasted is larger than a second threshold value, judging that the volume needs to be adjusted.

Further, still include:

when the volume to be broadcasted is not smaller than the first threshold value and not larger than a second threshold value, acquiring the time length to be broadcasted of the voice to be broadcasted;

and judging whether the volume needs to be adjusted according to the time length to be broadcasted and the volume to be broadcasted.

Further, the judging whether the volume needs to be adjusted according to the time length to be broadcasted and the volume to be broadcasted comprises:

and when the volume to be broadcasted is larger than a third threshold value and the time length to be broadcasted is larger than a first preset time length, judging that the volume needs to be adjusted.

Further, the adjusting the volume includes:

when the volume to be broadcasted is smaller than a first threshold value, increasing the volume to be broadcasted;

and when the volume to be broadcasted is larger than a second threshold value, reducing the volume to be broadcasted.

Further, the adjusting the volume includes:

and when the volume to be broadcasted is greater than a third threshold value and the time length to be broadcasted is greater than a first preset time length, the volume to be broadcasted is reduced.

Further, still include:

acquiring the time to be broadcasted of the voice to be broadcasted;

and adjusting the sizes of the first threshold, the second threshold and the third threshold according to the time to be broadcasted.

Further, still include:

acquiring the environmental volume;

judging whether the environment volume is noise;

if so, voice broadcast is carried out to remind the user.

Further, the determining whether the ambient volume is noise includes:

judging whether the volume is larger than a fourth threshold value;

if not, judging whether the noise is noise; if so, judging whether the time that the volume is greater than the fourth threshold is greater than a second preset time length;

if yes, judging the noise, and if not, judging the noise.

In a second aspect of the present invention,

a voice air conditioner voice broadcast volume control device, comprising:

the voice broadcasting device comprises a to-be-broadcasted volume acquisition module, a to-be-broadcasted volume acquisition module and a to-be-broadcasted volume acquisition module, wherein the to-be-broadcasted volume acquisition module is used for acquiring the to-be-broadcasted volume of voice to be broadcasted when a voice broadcasting instruction is received;

the volume adjustment judging module is used for judging whether the volume needs to be adjusted or not according to the volume to be broadcasted;

the volume adjusting and broadcasting module is used for adjusting the volume and carrying out voice broadcasting according to the adjusted volume if necessary; if not, then carry out voice broadcast with waiting to report the volume.

In a third aspect,

a voice air conditioner comprises the control device in the technical scheme.

This application adopts above technical scheme, possesses following beneficial effect at least:

according to the voice air conditioner voice broadcast volume control method and device and the voice air conditioner, when a voice broadcast instruction is received, the volume to be broadcasted of voice to be broadcasted is obtained, whether the volume needs to be adjusted or not is judged according to the volume to be broadcasted, if yes, voice broadcast is carried out according to the adjusted volume, and if not, voice broadcast is carried out according to the volume to be broadcasted. According to the scheme, whether the volume to be broadcasted is appropriate can be judged in advance when the voice to be broadcasted is not broadcasted, and the volume during broadcasting cannot be too small; the volume when broadcasting is not too large and noise is not generated. The method can ensure that the user can hear clearly, can also ensure the physical and mental health of the user, and greatly improves the experience of the user.

Drawings

In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.

Fig. 1 is a flowchart of a method for controlling volume of a voice broadcast of a voice air conditioner according to an embodiment of the present invention;

fig. 2 is a flowchart of a specific method for controlling the volume of a voice broadcast of a voice air conditioner according to an embodiment of the present invention;

fig. 3 is a schematic structural diagram of a voice broadcast volume control device of a voice air conditioner according to an embodiment of the present invention.

Detailed Description

In order to make the objects, technical solutions and advantages of the present invention more apparent, the following detailed description of the technical solutions of the present invention is provided with reference to the accompanying drawings and examples. It is to be understood that the embodiments described are only a few embodiments of the present application and not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the examples given herein without making any creative effort, shall fall within the protection scope of the present application.

Referring to fig. 1, an embodiment of the present invention provides a method for controlling a volume of a voice broadcast of a voice air conditioner, including the following steps:

when a voice broadcasting instruction is received, acquiring the volume to be broadcasted of voice to be broadcasted;

judging whether the volume needs to be adjusted or not according to the volume to be broadcasted;

if so, adjusting the volume and carrying out voice broadcast by the adjusted volume; if not, then carry out voice broadcast with waiting to report the volume.

According to the voice air conditioner voice broadcast volume control method provided by the embodiment of the invention, when a voice broadcast instruction is received, the volume to be broadcast of the voice to be broadcast is obtained, whether the volume needs to be adjusted or not is judged according to the volume to be broadcast, if yes, the voice broadcast is carried out according to the adjusted volume, and if not, the voice broadcast is carried out according to the volume to be broadcast. According to the scheme, whether the volume to be broadcasted is appropriate can be judged in advance when the voice to be broadcasted is not broadcasted, and the volume during broadcasting cannot be too small; the volume when broadcasting is not too large and noise is not generated. The method can ensure that the user can hear clearly, can also ensure the physical and mental health of the user, and greatly improves the experience of the user.

As shown in fig. 2, as a supplementary explanation to the above embodiment, the determining whether the volume needs to be adjusted according to the volume to be broadcasted includes: comparing the volume to be broadcasted with a first threshold value and a second threshold value, wherein the first threshold value is smaller than the second threshold value; wherein, the first threshold value is used for the lowest decibel value of sound that a person can hear clearly; the second threshold is the lowest decibel value of noise that is directly harmful to humans.

Therefore, when the volume to be broadcasted is smaller than the first threshold value or when the volume to be broadcasted is larger than the second threshold value, the volume needs to be adjusted. When the volume to be broadcasted is smaller than a first threshold value, the volume to be broadcasted is increased; and when the volume to be broadcasted is larger than a second threshold value, reducing the volume to be broadcasted.

When the volume to be broadcasted is not less than a first threshold value and not more than a second threshold value, acquiring the time length to be broadcasted of the voice to be broadcasted; and judging whether the volume needs to be adjusted according to the time length to be broadcasted and the volume to be broadcasted. Specifically, when the volume to be broadcasted is larger than a third threshold value and the time length to be broadcasted is larger than a first preset time length, the volume needs to be adjusted. When the volume to be broadcasted is larger than a third threshold value and the time length to be broadcasted is larger than a first preset time length, the volume to be broadcasted is reduced. The third threshold is a decibel value that the user is affected after a period of time. Namely, although the decibel value will not immediately harm the user, the physical and mental health of the user can still be affected after a long time.

As an optional implementation manner of the embodiment of the invention, the time to be broadcasted of the voice to be broadcasted is obtained; and adjusting the sizes of the first threshold, the second threshold and the third threshold according to the time to be broadcasted. Illustratively, the time of broadcasting is obtained by the time to be broadcasted is daytime, and the numerical values of the first threshold, the second threshold and the third threshold are larger at the time; if it is night, the values of the first threshold, the second threshold and the third threshold are smaller.

In addition, the voice broadcast volume can be controlled by receiving a mode selection instruction manually sent by a user. Illustratively, the modes are divided into five types, and the voice broadcast volume is as follows:

class zero: 50 decibels in the daytime and 40 decibels at night;

one type is as follows: 55 decibels in the daytime and 45 decibels at night;

the second type is as follows: 60 decibels in the daytime and 50 decibels at night;

three types are as follows: 65 decibels in the daytime and 55 decibels at night;

four types: 70 db daytime and 55 db nighttime.

The class-zero standard is suitable for areas which need to be quiet particularly, such as sanatorium areas, high-grade villas areas, high-grade hotel areas and the like. One class of standards applies to areas dominated by residential and cultural institutions. The rural residential environment may be referred to for enforcing such criteria. The second type of standard is applicable to residential, commercial and industrial mixed areas. Three types of standards apply to the industrial sector. The four types of standards are suitable for the areas on two sides of a road traffic trunk in a city and pass through the areas on two sides of an inland waterway in the city. The class of standards is also enforced by the limits of background noise (meaning the noise level when not passing a train) in the areas on either side of the main and secondary rails of a railway that traverse urban areas.

In the actual use process, the method also comprises the following steps: acquiring the environmental volume; judging whether the environmental volume is noise; if so, voice broadcast is carried out to remind the user. Specifically, whether the volume is larger than a fourth threshold value is judged; if not, judging whether the noise is noise; if so, judging whether the time that the volume is greater than the fourth threshold is greater than a second preset time length; if yes, judging the noise, and if not, judging the noise. It should be noted that the fourth threshold may be the same as the second threshold, or may be different from the second threshold, and the specific situation is set according to the user requirement. It will be appreciated that the fourth threshold may also be adjusted based on the current time. I.e., large in the daytime and small at night.

The control method provided by the embodiment of the invention can be used for acquiring the sound of the environment where the user is located in real time; and carrying out noise analysis on the sound acquired by the environment where the user is located, and analyzing whether the acquired sound reaches a preset noise value harmful to human health in a first preset time period. And if the acquired sound reaches a preset noise value which is harmful to human health within the first preset time, reminding the user that the current environment is harmful to noise. In addition, the volume of sound during voice broadcasting is analyzed, whether the current broadcasting volume value of the air conditioner is the current environment applicable volume is judged, if the current environment applicable volume is met, the volume is not changed, if the current environment applicable volume is lower than the applicable volume, the volume is increased, and otherwise, the volume is reduced.

In an embodiment, the present invention further provides a voice broadcast volume control device of a voice air conditioner, as shown in fig. 3, including:

and the volume to be broadcasted acquisition module 31 is used for acquiring the volume to be broadcasted of the voice to be broadcasted when receiving the voice broadcasting instruction.

The volume adjustment judging module 32 is used for judging whether the volume needs to be adjusted according to the volume to be broadcasted; specifically, the volume to be broadcasted is compared with a first threshold value and a second threshold value, and the first threshold value is smaller than the second threshold value; and when the volume to be broadcasted is smaller than a first threshold value or when the volume to be broadcasted is larger than a second threshold value, judging that the volume needs to be adjusted. When the volume to be broadcasted is not less than a first threshold value and not more than a second threshold value, acquiring the time length to be broadcasted of the voice to be broadcasted; and judging whether the volume needs to be adjusted according to the time length to be broadcasted and the volume to be broadcasted.

Wherein, judge whether need to adjust the volume according to waiting to report length of time and waiting to report the volume and include: and when the volume to be broadcasted is larger than a third threshold value and the time length to be broadcasted is larger than a first preset time length, judging that the volume needs to be adjusted.

Adjusting the volume includes: when the volume to be broadcasted is smaller than a first threshold value, the volume to be broadcasted is increased; and when the volume to be broadcasted is larger than a second threshold value, reducing the volume to be broadcasted. When the volume to be broadcasted is larger than a third threshold value and the time length to be broadcasted is larger than a first preset time length, the volume to be broadcasted is reduced.

Further comprising: acquiring the time to be broadcasted of the voice to be broadcasted; and adjusting the sizes of the first threshold, the second threshold and the third threshold according to the time to be broadcasted.

The volume adjusting and broadcasting module 33 is used for adjusting the volume and performing voice broadcasting according to the adjusted volume if necessary; if not, then carry out voice broadcast with waiting to report the volume.

The volume adjusting and broadcasting module is also used for acquiring the environment volume; judging whether the environmental volume is noise; if so, voice broadcast is carried out to remind the user. Determining whether the ambient volume is noise includes: judging whether the volume is greater than a fourth threshold value; if not, judging whether the noise is noise; if so, judging whether the time that the volume is greater than the fourth threshold is greater than a second preset time length; if yes, judging the noise, and if not, judging the noise.

According to the voice air conditioner voice broadcast volume control device provided by the embodiment of the invention, when a voice broadcast instruction is received, the volume to be broadcast acquisition module acquires the volume to be broadcast of the voice to be broadcast; the volume adjustment judging module judges whether the volume needs to be adjusted or not according to the volume to be broadcasted; if the volume is needed, the volume adjusting and broadcasting module adjusts the volume and carries out voice broadcasting according to the adjusted volume; if not, then volume adjustment reports module and carries out voice broadcast with waiting to report the volume. The control device provided by the embodiment of the invention can control the volume of voice broadcast of the voice air conditioner, so that the voice broadcast is that the volume is not too small to be heard clearly, and the physical and mental health of a user is not affected too much, thereby greatly improving the user experience.

In one embodiment, the present invention further provides a voice air conditioner, including the control device provided in the above embodiments, and the present embodiment mainly includes reusing a voice module, i.e., a microphone array, of the current voice air conditioner; and air conditioner control module and voice broadcast module. And then, on the basis, a noise analysis module is added to carry out noise analysis on the pickup file of the microphone array.

The voice air conditioner provided by the embodiment of the invention is characterized in that the process of simulating the playing of the file needing to be played by the voice broadcasting module is carried out. When a file to be played is acquired, firstly, the file is virtually pre-played by combining a volume value set by current equipment in a noise analysis module, noise analysis is performed on the pre-played, and whether a noise decibel value reached when the volume is played is within a preset threshold value (suitable for receiving the decibel value by a person but not increasing to noise pollution) range is analyzed. If the decibel value reached by the pre-playing is within the preset threshold value, the volume of the equipment is not adjusted, and the equipment is played normally. If the decibel value reached by the pre-playing is smaller than the preset threshold value, the volume value of the equipment is increased to enable the equipment to play after reaching the preset threshold value. If the decibel value reached by the pre-playing is larger than the preset threshold value, the volume value of the equipment is reduced to enable the equipment to play after reaching the preset threshold value.

In the using process of the voice air conditioner, the microphone array of the voice air conditioner collects the sound of the current environment in real time. The audio files identified by the microphone array can be used for awakening identification and other functions, the audio files can be transferred to the noise analysis module for analysis, whether the audio files reach a noise pollution threshold value within preset time is analyzed, if the audio files reach the noise pollution threshold value within the preset time, the voice broadcasting module is controlled through the air conditioner control module, noise pollution reminding is broadcasted to a user, and otherwise, reminding feedback is not carried out. Such as: the average noise value of the audio file reaches 65db within three continuous minutes after the audio file is picked up by the microphone array of the voice air conditioner, namely the current environment is considered to have noise pollution, the voice broadcasting module is controlled by the air conditioner control module to broadcast the noise pollution prompt to a user, otherwise, the noise pollution prompt is not broadcasted or feedback is not made.

According to the voice air conditioner provided by the embodiment of the invention, the noise in the environment is identified through the microphone array of the multiplexing air conditioner, the user is reminded of strengthening the defense consciousness to noise pollution through identification, the self volume is adjusted through voice volume self-adaption, the noise pollution caused by the self volume is reduced, and the self voice awakening rate is improved.

It is understood that the same or similar parts in the above embodiments may be mutually referred to, and the same or similar parts in other embodiments may be referred to for the content which is not described in detail in some embodiments.

It should be noted that, in the description of the present application, the terms "first", "second", etc. are used for descriptive purposes only and are not to be construed as indicating or implying relative importance. Further, in the description of the present application, the meaning of "a plurality" means at least two unless otherwise specified.

Any process or method descriptions in flow charts or otherwise described herein may be understood as representing modules, segments, or portions of code which include one or more executable instructions for implementing specific logical functions or steps of the process, and the scope of the preferred embodiments of the present application includes other implementations in which functions may be executed out of order from that shown or discussed, including substantially concurrently or in reverse order, depending on the functionality involved, as would be understood by those reasonably skilled in the art of the present application.

It should be understood that portions of the present application may be implemented in hardware, software, firmware, or a combination thereof. In the above embodiments, the various steps or methods may be implemented in software or firmware stored in memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, any one or combination of the following techniques, which are known in the art, may be used: a discrete logic circuit having a logic gate circuit for implementing a logic function on a data signal, an application specific integrated circuit having an appropriate combinational logic gate circuit, a Programmable Gate Array (PGA), a Field Programmable Gate Array (FPGA), or the like.

It will be understood by those skilled in the art that all or part of the steps carried by the method for implementing the above embodiments may be implemented by hardware related to instructions of a program, which may be stored in a computer readable storage medium, and when the program is executed, the program includes one or a combination of the steps of the method embodiments.

In addition, functional units in the embodiments of the present application may be integrated into one processing module, or each unit may exist alone physically, or two or more units are integrated into one module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode. The integrated module, if implemented in the form of a software functional module and sold or used as a stand-alone product, may also be stored in a computer readable storage medium.

The storage medium mentioned above may be a read-only memory, a magnetic or optical disk, etc.

In the description herein, reference to the description of the term "one embodiment," "some embodiments," "an example," "a specific example," or "some examples," etc., means that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the application. In this specification, the schematic representations of the terms used above do not necessarily refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.

Although embodiments of the present application have been shown and described above, it is understood that the above embodiments are exemplary and should not be construed as limiting the present application, and that variations, modifications, substitutions and alterations may be made to the above embodiments by those of ordinary skill in the art within the scope of the present application.

10页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:一种空调控制方法、控制装置、空调器及设备

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!