CN105276751B - Speech playing method and system - Google Patents

Speech playing method and system Download PDF

Info

Publication number
CN105276751B
CN105276751B CN201410300965.2A CN201410300965A CN105276751B CN 105276751 B CN105276751 B CN 105276751B CN 201410300965 A CN201410300965 A CN 201410300965A CN 105276751 B CN105276751 B CN 105276751B
Authority
CN
China
Prior art keywords
air conditioner
air
sound
value
sound frequency
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201410300965.2A
Other languages
Chinese (zh)
Other versions
CN105276751A (en
Inventor
程德凯
吕艳红
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Midea Group Co Ltd
Original Assignee
Midea Group Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Midea Group Co Ltd filed Critical Midea Group Co Ltd
Priority to CN201410300965.2A priority Critical patent/CN105276751B/en
Publication of CN105276751A publication Critical patent/CN105276751A/en
Application granted granted Critical
Publication of CN105276751B publication Critical patent/CN105276751B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Air Conditioning Control Device (AREA)

Abstract

The embodiment of the present invention discloses a kind of speech playing method, and this method includes:First acoustic information of local environment when gathering air conditioner work, obtain the first sound frequency value of ambient noise corresponding to the first acoustic information;By the first sound frequency value of ambient noise compared with predetermined threshold value;When the first sound frequency value exceedes predetermined threshold value, the air supply pattern of air conditioner is adjusted, the second sound information of local environment when collection air conditioner is without air-supply, and obtain the second sound frequency values of ambient noise corresponding to second sound information;According to second sound frequency values, broadcast sound volume value corresponding to second sound frequency values is obtained;According to broadcast sound volume value, audio-frequency information corresponding to broadcasting;A kind of language play back system is also disclosed in the embodiment of the present invention;Speech playing method of the embodiment of the present invention and system have the beneficial effect that voice messaging can be played according to the running noise adjust automatically broadcast sound volume when ambient sound residing for air conditioner and work and according to the volume after adjustment.

Description

Speech playing method and system
Technical field
The present invention relates to speech play technology, more particularly to a kind of speech playing method and system.
Background technology
With the progress of speech play technology, increasing household electrical appliance such as air conditioner, receiving correspondingly Play instruction when, can play corresponding to voice messaging;By taking air conditioner as an example, conventional air conditioner can only be according to fixed sound Amount size plays out to corresponding voice messaging, and can not be according to when the ambient sound residing for the air conditioner itself and work Running noise adjust corresponding broadcast sound volume.Therefore, how according to running noise when residing ambient sound and work Turn into a urgent problem to be solved to adjust the broadcast sound volume of air conditioner.
Above content is only that auxiliary understands technical scheme, does not represent and recognizes the above as prior art.
The content of the invention
It is a primary object of the present invention to adjusted according to the running noise when ambient sound residing for air conditioner and work Broadcast sound volume.
To achieve the above object, the embodiment of the present invention provides a kind of speech playing method, comprises the following steps:
The first acoustic information of local environment, obtains environment corresponding to first acoustic information when gathering air conditioner work First sound frequency value of noise;
By first sound frequency value of ambient noise compared with predetermined threshold value;
When first sound frequency value exceedes the predetermined threshold value, the air supply pattern of the air conditioner is adjusted, is gathered The second sound information of local environment when air conditioner is without air-supply, and obtain the of ambient noise corresponding to the second sound information Two sound frequency values;
According to the second sound frequency values, broadcast sound volume value corresponding to the second sound frequency values is obtained;
According to the broadcast sound volume value, audio-frequency information corresponding to broadcasting.
Preferably, it is described when first sound frequency value exceedes the predetermined threshold value, adjust sending for the air conditioner Wind pattern, include when collection air conditioner is without air-supply the step of the second sound information of local environment:
When first sound frequency value exceedes the predetermined threshold value, the lasting air supply pattern of the air conditioner is adjusted For interval air supply pattern, and when air conditioner interval is out-of-blast, local environment when gathering the air conditioner without air-supply Second sound information.
Preferably, described the step of obtaining the second sound frequency values of ambient noise corresponding to the second sound information it Afterwards, in addition to:
Identify that the second sound frequency values reach the first default ambient noise value, or the second sound frequency values During less than the second default ambient noise value, the air supply pattern of the air conditioner is adjusted again.
Preferably, it is described adjust the air conditioner again air supply pattern the step of include:
If the air supply pattern of the air conditioner is interval air supply pattern, the air conditioner is adjusted by interval air supply pattern For lasting air supply pattern.
Preferably, described the step of obtaining the second sound frequency values of ambient noise corresponding to the second sound information it Afterwards, it is described according to the second sound frequency values, the step of obtaining broadcast sound volume value corresponding to the second sound frequency values it Before, in addition to:
If the second sound frequency values are more than the 3rd default ambient noise value,:
The wind speed of the air conditioner air-supply is reduced until the second sound frequency values obtained are less than the 3rd default environment During noise figure, stop reducing the wind speed of the air conditioner air-supply;
If the wind speed of the air conditioner air-supply is reduced to default wind speed threshold value, the second sound frequency values are still not below Described 3rd default ambient noise value, then stop reducing the wind speed of the air conditioner air-supply, and adjusts the air-supply mould of the air-conditioning Formula.
In addition, to achieve the above object, the present invention also provides a kind of language play back system, including:
Noise frequency acquisition module, is used for:
The first acoustic information of local environment, obtains environment corresponding to first acoustic information when gathering air conditioner work First sound frequency value of noise;By first sound frequency value of ambient noise compared with predetermined threshold value;When described When first sound frequency value exceedes the predetermined threshold value, the air supply pattern of the air conditioner is adjusted, when collection air conditioner is without air-supply The second sound information of local environment, and obtain the second sound frequency values of ambient noise corresponding to the second sound information;
Broadcast sound volume acquisition module, for according to the second sound frequency values, obtaining the second sound frequency values pair The broadcast sound volume value answered;
Voice messaging playing module, for according to the broadcast sound volume value, audio-frequency information corresponding to broadcasting.
Preferably, the noise frequency acquisition module is additionally operable to:
When first sound frequency value exceedes the predetermined threshold value, the lasting air supply pattern of the air conditioner is adjusted For interval air supply pattern, and when air conditioner interval is out-of-blast, local environment when gathering the air conditioner without air-supply Second sound information.
Preferably, the noise frequency acquisition module is additionally operable to:
Identify that the second sound frequency values reach the first default ambient noise value, or the second sound frequency values During less than the second default ambient noise value, the air supply pattern of the air conditioner is adjusted again.
Preferably, the noise frequency acquisition module is additionally operable to:
If the air supply pattern of the air conditioner is interval air supply pattern, the air conditioner is adjusted by interval air supply pattern For lasting air supply pattern.
Preferably, the noise frequency acquisition module is additionally operable to:
If the second sound frequency values are more than the 3rd default ambient noise value,:
The wind speed of the air conditioner air-supply is reduced until the second sound frequency values obtained are less than the 3rd default environment During noise figure, stop reducing the wind speed of the air conditioner air-supply;
If the wind speed of the air conditioner air-supply is reduced to default wind speed threshold value, the second sound frequency values are still not below Described 3rd default ambient noise value, then stop reducing the wind speed of the air conditioner air-supply, and adjusts the air-supply mould of the air-conditioning Formula.
The first acoustic information of local environment, obtains described first during the collection air conditioner work of air conditioner of the embodiment of the present invention First sound frequency value of ambient noise corresponding to acoustic information;By first sound frequency value of ambient noise and default threshold Value is compared;When first sound frequency value exceedes the predetermined threshold value, the air supply pattern of the air conditioner is adjusted, is adopted The second sound information of local environment when collecting air conditioner without air-supply, and obtain ambient noise corresponding to the second sound information Second sound frequency values;According to the second sound frequency values, broadcast sound volume value corresponding to the second sound frequency values is obtained; According to the broadcast sound volume value, audio-frequency information corresponding to broadcasting;With can be according to the ambient sound residing for air conditioner and work When running noise adjust automatically broadcast sound volume and according to after adjustment volume play voice messaging beneficial effect.
Brief description of the drawings
Fig. 1 is the hardware structure schematic diagram for the air conditioner preferred embodiment that the present invention realizes speech play;
Fig. 2 is language play back system preferred embodiment high-level schematic functional block diagram of the present invention;
Fig. 3 is speech playing method preferred embodiment schematic flow sheet of the present invention.
Realization, functional characteristics and the advantage of purpose of the embodiment of the present invention will be done furtherly referring to the drawings in conjunction with the embodiments It is bright.
Embodiment
Technical scheme is further illustrated below in conjunction with Figure of description and specific embodiment.It should be appreciated that this The specific embodiment of place description is not intended to limit the present invention only to explain the present invention.
Fig. 1 is refer to, Fig. 1 is the hardware structure schematic diagram for the air conditioner preferred embodiment that the present invention realizes speech play. As shown in figure 1, the air conditioner 100 includes processing unit 11, memory cell 12, collecting unit 13 and language play back system 14. Wherein, the embodiment of the present invention is only described by taking air conditioner as an example, as long as it will be understood to those skilled in the art that by the present invention The thought of speech playing method and system is applied to other forms or other kinds of hardware device in addition to air conditioner, Belong within protection scope of the present invention.
As shown in figure 1, in the air conditioner 100, the memory cell 12, for storing:The language play back system 14 And its service data, acoustic information, the language play back system 14 of the collection of language play back system 14 obtain the broadcasting Threshold information such as predetermined threshold value, the first default ambient noise value, the second default ambient noise value and the 3rd needed for volume Default ambient noise value etc..It is emphasized that the memory cell 12 both can be a single storage device or The general designation of multiple different storage devices, therefore not to repeat here.
The collecting unit 13, under the control of the processing unit 11, gathering residing ring when air conditioner 100 works First acoustic information in border;And second sound information of the collection air conditioner 100 without local environment when blowing.For the ease of air-conditioning Device 100 can obtain the acoustic information in the air conditioner 100 itself local environment in time, and the collecting unit 13 is in the processing Under the control of unit 11, the acoustic information in local environment when air conditioner 100 works is gathered in real time.It is of course also possible to according to tool Body needs, and in order to reduce the power consumption of air conditioner 100, the collecting unit 13 is under the control of the processing unit 11, according to pre- Acoustic information when if cycle collection air conditioner 100 works in local environment.In the present embodiment, the acoustic information is appreciated that For:In the local environment of air conditioner 100, the information corresponding to any sound that the collecting unit 13 can collect;It is such as empty Sound that the source of students information that itself is sent when adjusting device 100 to work, sound, people corresponding to nature send, musical sound or its Sound that is that the human ear of his type can be heard or can not hearing, as long as the sound letter that the collecting unit 13 can gather Breath.
The processing unit 11, for calling and performing the language play back system 14, to gather air conditioner work when institute Locate the first acoustic information of environment, obtain the first sound frequency value of ambient noise corresponding to first acoustic information;By ring First sound frequency value of border noise is compared with predetermined threshold value;When first sound frequency value exceedes described preset During threshold value, the air supply pattern of the air conditioner is adjusted, the second sound information of local environment when collection air conditioner is without air-supply, and obtain Take the second sound frequency values of ambient noise corresponding to the second sound information;According to the second sound frequency values, obtain Broadcast sound volume value corresponding to the second sound frequency values;According to the broadcast sound volume value, audio-frequency information corresponding to broadcasting.At this It both can be single unit respectively that unit 11, which is managed, with memory cell 12, can also integrate, and form a controller, This is not repeated.
In the present embodiment, the control process unit 11 of air conditioner 100 calls and performs the language play back system 14 and adopts The first acoustic information of local environment, obtains first of ambient noise corresponding to first acoustic information when collecting air conditioner work Sound frequency value;By first sound frequency value of ambient noise compared with predetermined threshold value;When first sound audio When rate value exceedes the predetermined threshold value, the air supply pattern of the air conditioner is adjusted, local environment when collection air conditioner is without air-supply Second sound information, and obtain the second sound frequency values of ambient noise corresponding to the second sound information;According to described Two sound frequency values, obtain broadcast sound volume value corresponding to the second sound frequency values;According to the broadcast sound volume value, broadcasting pair The audio-frequency information answered.By above-mentioned implementation, the air conditioner 100 described in the embodiment of the present invention has reached can be according to the sky The running noise when ambient sound residing for device 100 itself and work is adjusted to adjust the purpose of broadcast sound volume.
Fig. 2 is refer to, Fig. 2 is language play back system first embodiment high-level schematic functional block diagram of the present invention.
It is emphasized that it will be apparent to those skilled in the art that functional block diagram shown in Fig. 2 is only one preferably real The exemplary plot of example is applied, those skilled in the art, can be easily around the functional module of the language play back system 14 shown in Fig. 2 Carry out the supplement of new functional module;The title of each functional module is self-defined title, is only used for auxiliary and understands that the voice is broadcast Each program function block of place system 14, restriction technical scheme is not used in, the core of technical solution of the present invention is, respectively The function to be reached of the functional module of self-defined title.
The language play back system 14 that the present embodiment proposes is run in air conditioner 100 described in Fig. 1, the speech play System 14 includes:Noise frequency acquisition module 141, broadcast sound volume acquisition module 142 and voice messaging playing module 143, respectively The function of individual module is as follows:
Noise frequency acquisition module 141, is used for:
The first acoustic information of local environment when air conditioner 100 works is gathered, is obtained corresponding to first acoustic information First sound frequency value of ambient noise;By first sound frequency value of ambient noise compared with predetermined threshold value;When When first sound frequency value exceedes the predetermined threshold value, the air supply pattern of the air conditioner 100 is adjusted, gathers air conditioner The 100 second sound information without local environment when blowing, and obtain second of ambient noise corresponding to the second sound information Sound frequency value;
In the present embodiment, the noise frequency acquisition module 141 gathers the work of air conditioner 100 when air conditioner 100 works The first acoustic information when making in local environment.Because in the present embodiment, the noise frequency acquisition module 141 gathers described First acoustic information gathers when the air conditioner 100 works, and therefore, first acoustic information includes the air conditioner Running noise caused by itself during 100 work.First sound letter corresponding to being collected when the noise frequency acquisition module 141 During breath, the first sound frequency value of ambient noise corresponding to first acoustic information is obtained;The noise frequency acquisition module 141 modes that first sound frequency value is obtained according to first acoustic information include but is not limited to:By searching sound The mapping table of information and the first sound frequency value, obtain first sound frequency value of the first acoustic information mapping;Or Person, after gathering first acoustic information, noise decibel corresponding to the acoustic information is obtained, according to the noise decibel, is obtained First sound frequency value corresponding to taking.
The noise frequency acquisition module 141 first sound audio according to corresponding to being got first acoustic information After rate value, the noise frequency acquisition module 141 is by first sound frequency value of acquisition compared with predetermined threshold value;Institute Predetermined threshold value is stated to can be understood as:Whether need to detect critical point of the air conditioner 100 without the ambient noise under air supply pattern;Work as , it is necessary to detect air conditioner 100 without the ring under air supply pattern when first sound frequency is greater than the predetermined threshold value Border noise;When first sound frequency is less than the predetermined threshold value, then air conditioner 100 need not be detected without under air supply pattern Ambient noise.
In the present embodiment, if the noise frequency acquisition module 141 first sound frequency value is preset with described The comparative result of threshold value is:First sound frequency value is more than or equal to the predetermined threshold value, then it represents that the air conditioner Noise in 100 working environments being presently in is larger, may influence the language play back system 14 and play corresponding voice Information;In order to exclude running noise caused by itself when air conditioner 100 is blown, the noise frequency acquisition module 141 will be adjusted The air supply pattern of the whole air conditioner 100, so as to gather second sound information of the air conditioner 100 without local environment when blowing, enter And according to the second sound information of collection, obtain second sound frequency values corresponding to the second sound information.By institute The second sound information for stating the collection of noise frequency acquisition module 141 is the air conditioner 100 without the sound under air supply pattern Information, it is therefore contemplated that the second sound information does not include running noise caused by itself when air conditioner 100 is blown. Wherein, the air supply pattern of the adjustment of noise frequency acquisition module 141 air conditioner can be understood as:If air conditioner 100 is now Mode of operation is to continue air supply pattern, then the lasting air supply pattern of air conditioner 100 is adjusted into interval air supply pattern or nothing is sent Wind pattern.In the present embodiment, normally blown to not influence air conditioner 100, preferably by the lasting air-supply mould of air conditioner 100 Formula is adjusted to interval air supply pattern.When the lasting air supply pattern of air conditioner 100 is adjusted to by the noise frequency acquisition module 141 During interval air supply pattern, the noise frequency acquisition module 141 is of short duration out-of-blast during being blown in the gap of air conditioner 100 Gap, ambient noise when measuring air conditioner 100 without air-supply, the collection now second sound information in environment.
If the comparison knot of first sound frequency value of noise frequency acquisition module 141 and the predetermined threshold value Fruit is:First sound frequency value is less than the predetermined threshold value, then the noise that can be understood as in current environment is smaller, above-mentioned Influence when less noise plays accordingly voice messaging to the language play back system 14 can be ignored, then empty without adjusting The air supply pattern of device 100 is adjusted, broadcasting for the first sound frequency value mapping is directly obtained by the broadcast sound volume acquisition module 142 Playback value, and then the broadcast sound volume value by the voice messaging playing module 143 according to acquisition, audio corresponding to broadcasting Information.
Broadcast sound volume acquisition module 142, for according to the second sound frequency values, obtaining the second sound frequency values Corresponding broadcast sound volume value;
After the noise frequency acquisition module 141 obtains the second sound frequency values in the local environment of air conditioner 100, The broadcast sound volume acquisition module 142 obtains institute corresponding to the second sound frequency values according to the second sound frequency values State broadcast sound volume value.
In the embodiment of the present invention, the broadcast sound volume acquisition module 142 obtains according to the second sound frequency values of acquisition The broadcast sound volume value corresponding to taking can take following manner:
After the noise frequency acquisition module 141 obtains the second sound frequency values, the broadcast sound volume acquisition module 142 search Tone Map table, obtain the broadcast sound volume value that the second sound frequency values are mapped.In order to improve described broadcast The accuracy for the broadcast sound volume value that playback amount acquisition module 142 obtains, the language play back system 14 is according to predetermined period Update the Tone Map table.
Certainly, in the embodiment of the present invention, the broadcast sound volume acquisition module 142 is according to the noise frequency acquisition module The 141 second sound frequency values obtained, the broadcast sound volume value can also be according to the rising tone audio corresponding to acquisition Default broadcast sound volume corresponding to rate value obtains functional expression, for example it can be described that the default broadcast sound volume, which obtains functional expression, Linear function or quadratic function etc. corresponding to second sound frequency values;When the noise frequency acquisition module 141 gets institute When stating second sound frequency values, the broadcast sound volume acquisition module 142 can also be by described in second sound frequency values substitution Default broadcast sound volume obtains functional expression, and the broadcast sound volume value corresponding to the second sound frequency values is calculated.This reality Example is applied to the specific functional relation of the default broadcast sound volume acquisition functional expression without limiting, as long as this hair can be realized Bright thought.
Voice messaging playing module 143, for according to the broadcast sound volume value, audio-frequency information corresponding to broadcasting.
The voice messaging playing module 143, which is acquired, in the broadcast sound volume acquisition module 142 plays voice when institute After the broadcast sound volume value used, the voice messaging playing module 143 is according to the obtained broadcast sound volume value, broadcasting pair The voice messaging answered.
In the embodiment of the present invention, because the ambient noise residing for air conditioner 100 is probably change, therefore the noise is frequently The acoustic information of local environment is also likely to be change when the air conditioner 100 that rate acquisition module 141 gathers works, therefore institute State noise frequency acquisition module 141 acquisition the second sound frequency values it could also be possible that change, broadcast by the voice When the broadcast sound volume acquisition module 142 of place system 14 is handled above-mentioned second sound frequency values, the broadcasting language that finally gives The broadcast sound volume value is also possible to difference used by message ceases, therefore, in order to avoid the air conditioner 100 plays voice letter During breath because broadcast sound volume value it is different cause the larger fluctuation that plays broadcast sound volume caused by voice messaging, can take as Lower measure:
It is residing when the noise frequency acquisition module 141 in the air conditioner 100 gathers the work of air conditioner 100 in real time During the first acoustic information of environment, the broadcast sound volume acquisition module 142 can be set according to predetermined period according to the noise The second sound frequency values that frequency acquisition module 141 obtains, obtain the broadcasting corresponding to the second sound frequency values Volume value;Or the broadcast sound volume obtained according to the second sound frequency values when the broadcast sound volume acquisition module 142 Be worth variable quantity in preset duration be no more than it is default when playing threshold value, continue according to the broadcast sound volume value being used after The voice messaging is put in continued broadcasting;The default broadcasting threshold value can be understood as:The deficient change of broadcast sound volume value is to cause human ear Discover (in such cases, air conditioner 100 play audio-frequency information object of listening to be audience).Or when the broadcast sound volume Variable quantity of the broadcast sound volume value that acquisition module 142 is got according to the second sound frequency values in preset duration surpasses When crossing default broadcasting threshold value, the voice messaging playing module 143 is according to broadcast sound volume described in default fade interval successively gradual change Value, and according to voice messaging corresponding to the broadcast sound volume value broadcasting of gradual change.It is of course also possible to other modes are taken to reach above-mentioned skill Art effect, the embodiment of the present invention do not carry out exhaustive one by one to it.
The first acoustic information of local environment, obtains described first during the collection air conditioner work of air conditioner of the embodiment of the present invention First sound frequency value of ambient noise corresponding to acoustic information;By first sound frequency value of ambient noise and default threshold Value is compared;When first sound frequency value exceedes the predetermined threshold value, the air supply pattern of the air conditioner is adjusted, is adopted The second sound information of local environment when collecting air conditioner without air-supply, and obtain ambient noise corresponding to the second sound information Second sound frequency values;According to the second sound frequency values, broadcast sound volume value corresponding to the second sound frequency values is obtained; According to the broadcast sound volume value, audio-frequency information corresponding to broadcasting;With can be according to the ambient sound residing for air conditioner and work When running noise adjust automatically broadcast sound volume and according to after adjustment volume play voice messaging beneficial effect;Improve language Sound play system it is intelligent, realize more excellent broadcasting control effect, while also cause speech play more hommization.
Further, Fig. 1 and Fig. 2 are continued referring to, in the present embodiment, in the language play back system 14, the broadcasting If volume acquisition module 142 identifies that the second sound frequency values reach the first default ambient noise value, or described second When sound frequency value is less than the second default ambient noise value, the broadcast sound volume acquisition module 142 will adjust the air-conditioning again The air supply pattern of device.
For example the language play back system 14 sets the described first default ambient noise value when being 80db, then is broadcast when described When playback amount acquisition module 142 identifies that the second sound frequency values reach 80db, then it is assumed that air conditioner 100 currently runs ring Noise has reached higher limit 80db in border, then the broadcast sound volume acquisition module 142 directly exits clearance mode, adjusts again The air supply pattern of the air conditioner;For example the gap air supply pattern of the air conditioner 100 is adjusted back again and continues air supply pattern.
Or the language play back system 14 is when setting the described second default ambient noise value 35db, then when described When broadcast sound volume acquisition module 142 identifies that the second sound frequency values reach 35db, then it is assumed that air conditioner 100 is currently run Environment is quieter, and running noise caused by itself operating has been not enough to influence the voice when air conditioner 100 is blown The broadcast sound volume of information playing module 143, then the broadcast sound volume acquisition module 142 directly exit clearance mode, adjust again The air supply pattern of the air conditioner;For example the gap air supply pattern of the air conditioner 100 is adjusted back again and continues air supply pattern.
Further, in language play back system embodiment of the present invention, the language play back system 14 sets the 3rd default ring Border noise figure, i.e., noise lower limit corresponding to ambient noise value;The noise frequency acquisition module 141 gets the rising tone Voice frequency value is more than the 3rd default ambient noise value, then reduces the wind speed that the air conditioner 100 is blown;Reducing the air conditioner While 100 air-supply wind speed, the noise frequency acquisition module 141 gathers and obtains the second sound frequency values, until institute When stating second sound frequency values less than the 3rd default ambient noise value, stop reducing the wind speed that the air conditioner 100 is blown.By institute Broadcast sound volume acquisition module 142 is stated according to the broadcast sound volume value corresponding to second sound frequency values acquisition, so as to by institute Voice messaging playing module 143 is stated according to the broadcast sound volume value, audio-frequency information corresponding to broadcasting.
If the wind speed that the noise frequency acquisition module 141 controls the air conditioner 100 to blow is reduced to default wind speed threshold During value, the second sound frequency values that the noise frequency acquisition module 141 obtains still are not below the described 3rd default environment Noise figure, the then stopping of noise frequency acquisition module 141 reduce the wind speed of the air conditioner air-supply;Described in such a situation represents Ambient noise residing for air conditioner 100 is larger, then the noise frequency acquisition module 141 without carrying out clearance measurement noise again Value, that is, the air supply pattern of the air conditioner 100 is adjusted, the interval air supply pattern of the air conditioner 100 is adjusted to continue air-supply Pattern.
The embodiment of the present invention adjusts the air supply pattern of air conditioner by ambient noise conditions, improves corresponding to ambient noise The accuracy that sound frequency value obtains, while nor affect on the normal use of air conditioner.
Fig. 3 is refer to, Fig. 3 is the schematic flow sheet of speech playing method first embodiment of the present invention.As shown in figure 3, this Invention speech playing method comprises the following steps:
The first acoustic information of local environment, obtains first acoustic information pair when step S01, gathering air conditioner work First sound frequency value of the ambient noise answered;
In the present embodiment, when the air conditioner works, the first acoustic information when gathering itself work in local environment.By In the present embodiment, first acoustic information of the air conditioner collection gathers when the air conditioner works, therefore, First acoustic information includes running noise caused by the itself when air conditioner works.When the air conditioner collects pair During the first acoustic information answered, the first sound frequency value of ambient noise corresponding to first acoustic information is obtained;The sky Adjust device to obtain the mode of first sound frequency value according to first acoustic information to include but is not limited to:By searching sound The mapping table of information and sound frequency value, obtain first sound frequency value of the first acoustic information mapping;Or adopt After collecting first acoustic information, noise decibel corresponding to the acoustic information is obtained, according to the noise decibel, is obtained corresponding First sound frequency value.
Step S02, by first sound frequency value of ambient noise compared with predetermined threshold value;
After the air conditioner first sound frequency value according to corresponding to being got first acoustic information, the sky Adjust device by first sound frequency value of acquisition compared with predetermined threshold value;The predetermined threshold value can be understood as:Whether Need to detect critical point of the air conditioner without the ambient noise under air supply pattern;I.e. when first sound frequency is greater than , it is necessary to detect air conditioner without the ambient noise under air supply pattern during the predetermined threshold value;When first sound frequency is less than institute When stating predetermined threshold value, then air conditioner need not be detected without the ambient noise under air supply pattern.
Step S03, when first sound frequency value exceedes the predetermined threshold value, the air-supply mould of the air conditioner is adjusted Formula, the second sound information of local environment when collection air conditioner is without air-supply, and obtain environment corresponding to the second sound information The second sound frequency values of noise;
In the present embodiment, if the comparative result of the air conditioner first sound frequency value and the predetermined threshold value For:First sound frequency value is more than or equal to the predetermined threshold value, then it represents that the work that the air conditioner is presently in Noise in environment is larger, may influence voice messaging corresponding to the air conditioner broadcasting;During in order to exclude air conditioner air-supply Running noise caused by itself, the air conditioner will adjust the air supply pattern of itself, so as to gather air conditioner without air-supply when institute Locate the second sound information of environment, and then according to the second sound information of collection, it is corresponding to obtain the second sound information Second sound frequency values.Due to the air conditioner collection the second sound information for the air conditioner without under air supply pattern Acoustic information, it is therefore contemplated that the second sound information include air conditioner air-supply when itself caused by operating make an uproar Sound.Wherein, the air conditioner adjusts itself air supply pattern and can be understood as:If the mode of operation of air conditioner now is lasting air-supply Pattern, then the lasting air supply pattern of air conditioner is adjusted to interval air supply pattern or without air supply pattern.In the present embodiment, in order to Air conditioner is not influenceed normally to blow, and the lasting air supply pattern of air conditioner is preferably adjusted to interval air supply pattern.When described When the lasting air supply pattern of itself is adjusted to interval air supply pattern by air conditioner, the air conditioner is short during being blown in gap Temporarily out-of-blast gap, ambient noise when measuring air conditioner without air-supply, gathers the rising tone message in now environment Breath.
If the comparative result of air conditioner first sound frequency value and the predetermined threshold value is:Described first Sound frequency value is less than the predetermined threshold value, then the noise that can be understood as in current environment is smaller, above-mentioned less noise pair The influence when air conditioner plays accordingly voice messaging can be ignored, then the air supply pattern of air conditioner need not be adjusted, by institute The broadcast sound volume value that air conditioner directly obtains the first sound frequency value mapping is stated, and then by the air conditioner according to acquisition The broadcast sound volume value, audio-frequency information corresponding to broadcasting.
Step S04, according to the second sound frequency values, broadcast sound volume corresponding to the second sound frequency values is obtained Value;
After second sound frequency values when the air conditioner obtains itself work in local environment, the air conditioner is according to institute Second sound frequency values are stated, obtain the broadcast sound volume value corresponding to the second sound frequency values.
In the embodiment of the present invention, the air conditioner is described corresponding to acquisition according to the second sound frequency values of acquisition Broadcast sound volume value can take following manner:After the air conditioner obtains the second sound frequency values, the air conditioner is searched Tone Map table, obtain the broadcast sound volume value that the second sound frequency values are mapped.Obtained to improve the air conditioner The accuracy of the broadcast sound volume value taken, the air conditioner update the Tone Map table according to predetermined period.
Certainly, in the embodiment of the present invention, the air conditioner is according to the second sound frequency values of acquisition, corresponding to acquisition The broadcast sound volume value can also the default broadcast sound volume according to corresponding to the second sound frequency values obtain functional expression, such as It can be linear function or secondary letter corresponding to the second sound frequency values that the default broadcast sound volume, which obtains functional expression, Number etc.;When the air conditioner gets the second sound frequency values, the air conditioner can also be by the rising tone audio Rate value substitutes into the default broadcast sound volume and obtains functional expression, and the broadcasting corresponding to the second sound frequency values is calculated Volume value.The present embodiment obtains the specific functional relation of functional expression to the default broadcast sound volume without limiting, as long as The thought of the present invention can be realized.
Step S05, according to the broadcast sound volume value, audio-frequency information corresponding to broadcasting.
The air conditioner acquire play voice when the used broadcast sound volume value after, the air conditioner according to The obtained broadcast sound volume value, voice messaging corresponding to broadcasting.
In the embodiment of the present invention, because the ambient noise residing for air conditioner is probably change, therefore the air conditioner is adopted The acoustic information of local environment is also likely to be change during itself work of collection, therefore the rising tone that the air conditioner obtains Voice frequency value is when being handled by the air conditioner above-mentioned second sound frequency values, final it could also be possible that change To broadcasting voice messaging used by the broadcast sound volume value be also possible to difference, therefore, in order to avoid the air conditioner is broadcast Cause the larger fluctuation of broadcast sound volume caused by broadcasting voice messaging when putting voice messaging because of the difference of broadcast sound volume value, can To take following measure:
When the air conditioner gathers itself work in real time during the first acoustic information of local environment, the sky can be set The second sound frequency values for adjusting device to be obtained according to predetermined period according to the air conditioner, obtain the second sound frequency values The corresponding broadcast sound volume value;Or the broadcasting sound obtained according to the second sound frequency values when the air conditioner When variable quantity of the value in preset duration is no more than default broadcasting threshold value, continue according to the broadcast sound volume value being used Continue to play the voice messaging;The default broadcasting threshold value can be understood as:The deficient change of broadcast sound volume value is to cause people Ear is discovered (object of listening to that in such cases, air conditioner plays audio-frequency information is audience).Or when the air conditioner according to Variable quantity of the broadcast sound volume value that the second sound frequency values are got in preset duration exceedes default broadcasting threshold value When, the air conditioner is broadcast according to broadcast sound volume value described in default fade interval successively gradual change, and according to the broadcast sound volume value of gradual change Put corresponding voice messaging.It is of course also possible to take other modes to reach above-mentioned technique effect, the embodiment of the present invention is not entered to it Row is exhaustive one by one.
The first acoustic information of local environment, obtains described first during the collection air conditioner work of air conditioner of the embodiment of the present invention First sound frequency value of ambient noise corresponding to acoustic information;By first sound frequency value of ambient noise and default threshold Value is compared;When first sound frequency value exceedes the predetermined threshold value, the air supply pattern of the air conditioner is adjusted, is adopted The second sound information of local environment when collecting air conditioner without air-supply, and obtain ambient noise corresponding to the second sound information Second sound frequency values;According to the second sound frequency values, broadcast sound volume value corresponding to the second sound frequency values is obtained; According to the broadcast sound volume value, audio-frequency information corresponding to broadcasting;With can be according to the ambient sound residing for air conditioner and work When running noise adjust automatically broadcast sound volume and according to after adjustment volume play voice messaging beneficial effect;Improve language Sound play system it is intelligent, realize more excellent broadcasting control effect, while also cause speech play more hommization.
Further, Fig. 3 is continued referring to, in speech playing method embodiment of the present invention, if the air conditioner identifies The second sound frequency values reach the first default ambient noise value, or the second sound frequency values less than the second default ring During the noise figure of border, the air conditioner will adjust the air supply pattern of itself again.
For example the air conditioner sets the described first default ambient noise value when be 80db, then when air conditioner identification When going out the second sound frequency values and reaching 80db, then it is assumed that noise has reached the higher limit in air conditioner current operating environment 80db, then the air conditioner directly exit clearance mode, adjust the air supply pattern of the air conditioner again;Such as by the sky Adjust the gap air supply pattern of device to adjust back again and continue air supply pattern.
Or the air conditioner is when setting the described second default ambient noise value 35db, then when the air conditioner is known When not going out the second sound frequency values and reaching 35db, then it is assumed that air conditioner current operating environment is quieter, the air conditioner Running noise caused by itself operating has been not enough to influence the broadcast sound volume of the air conditioner during air-supply, then the air conditioner is straight Connect and exit clearance mode, adjust the air supply pattern of the air conditioner again;Such as by the gap air supply pattern of the air conditioner again Adjust back and continue air supply pattern.
Further, in speech playing method embodiment of the present invention, the air conditioner sets the 3rd default ambient noise value, Noise lower limit i.e. corresponding to ambient noise value;The air conditioner gets the second sound frequency values more than the 3rd default ring Border noise figure, then reduce the wind speed of the air conditioner air-supply;While the air conditioner air-supply wind speed is reduced, the air conditioner Gather and obtain the second sound frequency values, until when the second sound frequency values are less than the 3rd default ambient noise value, Stop reducing the wind speed of the air conditioner air-supply.Described in as corresponding to the air conditioner according to second sound frequency values acquisition Broadcast sound volume value, so that by the air conditioner according to the broadcast sound volume value, audio-frequency information corresponding to broadcasting.
If the wind speed of air conditioner control air-supply is reduced to default wind speed threshold value, the air conditioner obtain described the Two sound frequency values are still not below the described 3rd default ambient noise value, then the air conditioner stops reducing the wind speed of air-supply;This Kind situation represents that the ambient noise residing for the air conditioner is larger, then the air conditioner need not carry out clearance measurement noise figure again, The air supply pattern of the air conditioner is adjusted, the interval air supply pattern of the air conditioner is adjusted to continue air supply pattern.
The embodiment of the present invention adjusts the air supply pattern of air conditioner by ambient noise conditions, improves corresponding to ambient noise The accuracy that sound frequency value obtains, while nor affect on the normal use of air conditioner.
It should be noted that herein, term " comprising ", "comprising" or its any other variant are intended to non-row His property includes, so that process, method, article or system including a series of elements not only include those key elements, and And also include the other element being not expressly set out, or also include for this process, method, article or system institute inherently Key element.In the absence of more restrictions, the key element limited by sentence "including a ...", it is not excluded that including this Other identical element also be present in the process of key element, method, article or system.
The embodiments of the present invention are for illustration only, do not represent the quality of embodiment.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side Method can add the mode of required general hardware platform to realize by software, naturally it is also possible to by hardware, but in many cases The former is more preferably embodiment.Based on such understanding, technical scheme is substantially done to prior art in other words Going out the part of contribution can be embodied in the form of software product, and the computer software product is stored in a storage medium In (such as ROM/RAM, magnetic disc, CD), including some instructions to cause a station terminal equipment (can be mobile phone, computer, clothes Be engaged in device, air conditioner or the network equipment etc.) perform method described in each embodiment of the present invention.
The preferred embodiments of the present invention are the foregoing is only, not thereby limit its scope of the claims, it is every to utilize the present invention The equivalent structure or equivalent flow conversion that specification and accompanying drawing content are made, directly or indirectly it is used in other related technology necks Domain, it is included within the scope of the present invention.

Claims (10)

1. a kind of speech playing method, it is characterised in that comprise the following steps:
The first acoustic information of local environment, obtains ambient noise corresponding to first acoustic information when gathering air conditioner work The first sound frequency value;
By first sound frequency value of ambient noise compared with predetermined threshold value;
When first sound frequency value exceedes the predetermined threshold value, the air supply pattern of the air conditioner is adjusted, gathers air-conditioning The second sound information of local environment when device is without air-supply, and obtain the rising tone of ambient noise corresponding to the second sound information Voice frequency value;
According to the second sound frequency values, broadcast sound volume value corresponding to the second sound frequency values is obtained;
According to the broadcast sound volume value, audio-frequency information corresponding to broadcasting.
2. speech playing method as claimed in claim 1, it is characterised in that described when first sound frequency value exceedes institute When stating predetermined threshold value, the air supply pattern of the air conditioner is adjusted, the rising tone message of local environment when collection air conditioner is without air-supply The step of breath, includes:
When first sound frequency value exceedes the predetermined threshold value, between the lasting air supply pattern of the air conditioner is adjusted to Have a rest air supply pattern, and when air conditioner interval is out-of-blast, the second of local environment when gathering the air conditioner without air-supply Acoustic information.
3. speech playing method as claimed in claim 1 or 2, it is characterised in that described to obtain the second sound information pair After the step of second sound frequency values for the ambient noise answered, in addition to:
Identify that the second sound frequency values reach the first default ambient noise value, or the second sound frequency values are less than During the second default ambient noise value, the air supply pattern of the air conditioner is adjusted again.
4. speech playing method as claimed in claim 3, it is characterised in that the air-supply mould for adjusting the air conditioner again The step of formula, includes:
If the air supply pattern of the air conditioner is interval air supply pattern, the air conditioner is adjusted to hold by interval air supply pattern Continuous air supply pattern.
5. speech playing method as claimed in claim 1 or 2, it is characterised in that described to obtain the second sound information pair It is described according to the second sound frequency values after the step of second sound frequency values for the ambient noise answered, obtain described the Corresponding to two sound frequency values the step of broadcast sound volume value before, in addition to:
If the second sound frequency values are more than the 3rd default ambient noise value,:
The wind speed of the air conditioner air-supply is reduced until the second sound frequency values obtained are less than the 3rd default ambient noise During value, stop reducing the wind speed of the air conditioner air-supply;
If the wind speed of the air conditioner air-supply is reduced to default wind speed threshold value, the second sound frequency values are still not below described 3rd default ambient noise value, then stop reducing the wind speed of the air conditioner air-supply, and adjusts the air supply pattern of the air-conditioning.
A kind of 6. language play back system, it is characterised in that including:
Noise frequency acquisition module, is used for:
The first acoustic information of local environment, obtains ambient noise corresponding to first acoustic information when gathering air conditioner work The first sound frequency value;By first sound frequency value of ambient noise compared with predetermined threshold value;When described first When sound frequency value exceedes the predetermined threshold value, the air supply pattern of the air conditioner is adjusted, it is residing when collection air conditioner is without air-supply The second sound information of environment, and obtain the second sound frequency values of ambient noise corresponding to the second sound information;
Broadcast sound volume acquisition module, for according to the second sound frequency values, obtaining corresponding to the second sound frequency values Broadcast sound volume value;
Voice messaging playing module, for according to the broadcast sound volume value, audio-frequency information corresponding to broadcasting.
7. language play back system as claimed in claim 6, it is characterised in that the noise frequency acquisition module is additionally operable to:
When first sound frequency value exceedes the predetermined threshold value, between the lasting air supply pattern of the air conditioner is adjusted to Have a rest air supply pattern, and when air conditioner interval is out-of-blast, the second of local environment when gathering the air conditioner without air-supply Acoustic information.
8. language play back system as claimed in claims 6 or 7, it is characterised in that the noise frequency acquisition module is additionally operable to:
Identify that the second sound frequency values reach the first default ambient noise value, or the second sound frequency values are less than During the second default ambient noise value, the air supply pattern of the air conditioner is adjusted again.
9. language play back system as claimed in claim 8, it is characterised in that the noise frequency acquisition module is additionally operable to:
If the air supply pattern of the air conditioner is interval air supply pattern, the air conditioner is adjusted to hold by interval air supply pattern Continuous air supply pattern.
10. language play back system as claimed in claims 6 or 7, it is characterised in that the noise frequency acquisition module is also used In:
If the second sound frequency values are more than the 3rd default ambient noise value,:
The wind speed of the air conditioner air-supply is reduced until the second sound frequency values obtained are less than the 3rd default ambient noise During value, stop reducing the wind speed of the air conditioner air-supply;
If the wind speed of the air conditioner air-supply is reduced to default wind speed threshold value, the second sound frequency values are still not below described 3rd default ambient noise value, then stop reducing the wind speed of the air conditioner air-supply, and adjusts the air supply pattern of the air-conditioning.
CN201410300965.2A 2014-06-26 2014-06-26 Speech playing method and system Active CN105276751B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410300965.2A CN105276751B (en) 2014-06-26 2014-06-26 Speech playing method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410300965.2A CN105276751B (en) 2014-06-26 2014-06-26 Speech playing method and system

Publications (2)

Publication Number Publication Date
CN105276751A CN105276751A (en) 2016-01-27
CN105276751B true CN105276751B (en) 2018-03-13

Family

ID=55146222

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410300965.2A Active CN105276751B (en) 2014-06-26 2014-06-26 Speech playing method and system

Country Status (1)

Country Link
CN (1) CN105276751B (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107421068B (en) * 2017-07-26 2020-03-06 广东美的制冷设备有限公司 Air conditioner control method, electronic device, and computer-readable storage medium
CN107680612A (en) * 2017-10-27 2018-02-09 深圳市共进电子股份有限公司 audio optimization unit and network camera
CN108954693B (en) * 2018-08-06 2024-02-09 珠海格力电器股份有限公司 Central air conditioner with sound amplifying function and working method thereof
CN111076245B (en) * 2018-10-19 2021-07-23 宁波方太厨具有限公司 Intelligent noise reduction method for range hood
CN111365813B (en) * 2018-12-25 2022-12-23 青岛海尔空调器有限总公司 Air conditioner and control method thereof
CN111365815B (en) * 2018-12-25 2022-10-28 青岛海尔空调器有限总公司 Air conditioner and control method thereof
CN110530028B (en) * 2019-09-23 2023-09-26 珠海格力电器股份有限公司 Shell, water heater and noise reduction control method

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101192813A (en) * 2007-12-12 2008-06-04 四川长虹电器股份有限公司 Self-adapted volume control method
CN101435616A (en) * 2007-11-13 2009-05-20 珠海格力电器股份有限公司 Air conditioner with audio playing apparatus and control method thereof
CN201575534U (en) * 2009-10-22 2010-09-08 珠海格力电器股份有限公司 Air conditioner
CN101881484A (en) * 2009-05-05 2010-11-10 海尔集团公司 Voice controlled air conditioner
JP2012112570A (en) * 2010-11-24 2012-06-14 Hitachi Appliances Inc Air conditioner
CN103428326A (en) * 2012-05-14 2013-12-04 中兴通讯股份有限公司 Method and device for adjusting and processing ring tone

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101435616A (en) * 2007-11-13 2009-05-20 珠海格力电器股份有限公司 Air conditioner with audio playing apparatus and control method thereof
CN101192813A (en) * 2007-12-12 2008-06-04 四川长虹电器股份有限公司 Self-adapted volume control method
CN101881484A (en) * 2009-05-05 2010-11-10 海尔集团公司 Voice controlled air conditioner
CN201575534U (en) * 2009-10-22 2010-09-08 珠海格力电器股份有限公司 Air conditioner
JP2012112570A (en) * 2010-11-24 2012-06-14 Hitachi Appliances Inc Air conditioner
CN103428326A (en) * 2012-05-14 2013-12-04 中兴通讯股份有限公司 Method and device for adjusting and processing ring tone

Also Published As

Publication number Publication date
CN105276751A (en) 2016-01-27

Similar Documents

Publication Publication Date Title
CN105276751B (en) Speech playing method and system
CN105225681B (en) Speech playing method and system
CN103886731B (en) A kind of noise control method and equipment
CN108039174A (en) Speech recognition system, method and apparatus
CN107124149A (en) A kind of method for regulation of sound volume, device and equipment
CN110418232A (en) A kind of volume adjusting method and device, computer readable storage medium
CN109741747B (en) Voice scene recognition method and device, voice control method and device and air conditioner
CN102982823A (en) Method and device for adjusting volume automatically
CN109413537A (en) Audio signal playback method, device and earphone
CN105281693A (en) Voice playing method and system
CN108536418A (en) A kind of method, apparatus and wireless sound box of the switching of wireless sound box play mode
CN104754462B (en) Apparatus for automatically regulating sound volume and method and earphone
CN104966521B (en) A kind of method and device for adjusting music playing mode
CN106775571A (en) Audio frequency playing method and device
CN103177750A (en) Audio playing device and control method thereof
CN106572228A (en) Volume adjusting method, volume adjusting device and mobile terminal
CN108573709A (en) A kind of auto gain control method and device
CN105430191A (en) Volume adjusting method and device
CN108922528A (en) Method and apparatus for handling voice
CN110446102A (en) The loudness method of adjustment and device of audio signal
CN103873919B (en) A kind of information processing method and electronic equipment
CN106162405A (en) Denoising device, earphone and noise-reduction method
CN105091208B (en) Air conditioner wind speed control method and system
CN106980487A (en) Audio control method and audio control apparatus
CN113096677B (en) Intelligent noise reduction method and related equipment

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant