CN104158970A - Environmental sound prompting method and mobile terminal - Google Patents

Environmental sound prompting method and mobile terminal Download PDF

Info

Publication number
CN104158970A
CN104158970A CN201410407346.3A CN201410407346A CN104158970A CN 104158970 A CN104158970 A CN 104158970A CN 201410407346 A CN201410407346 A CN 201410407346A CN 104158970 A CN104158970 A CN 104158970A
Authority
CN
China
Prior art keywords
voice signal
user
processing
acoustic processing
alert condition
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.)
Pending
Application number
CN201410407346.3A
Other languages
Chinese (zh)
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.)
Huawei Device Co Ltd
Original Assignee
Huawei Device 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 Huawei Device Co Ltd filed Critical Huawei Device Co Ltd
Priority to CN201410407346.3A priority Critical patent/CN104158970A/en
Publication of CN104158970A publication Critical patent/CN104158970A/en
Pending legal-status Critical Current

Links

Abstract

The invention discloses an environmental sound prompting method and a mobile terminal. According to the embodiment of the invention, the method comprises the following steps: acquiring the sound signal of an external environment in real time; processing the sound signal according to a processing command to obtain a sound processing value indicating the sound signal; and when the sound processing value is within a prompting range indicated by a prompting condition, prompting a user in a preset prompting way according to prompting way information. By implementing the embodiment of the invention, a function of automatically prompting the user of surrounding environment sound information when hearing is greatly limited is realized, the user correctly deals with sound around in time, and missing of important or emergency matters is avoided.

Description

A kind of environmental sound reminding method and mobile terminal
Technical field
The present invention relates to communication technical field, be specifically related to a kind of environmental sound reminding method and mobile terminal.
Background technology
Along with the development of the communication technology, mobile terminal has incorporated in people's life closely.The function of mobile terminal is more and more polynary change also, except meeting people's the demand of mobile communication, can also provide the abundant function such as amusement, social activity, has greatly improved people's life.Use mobile terminal to listen to the music, listen radio reception and play games and become the entertainment way that people are indispensable.User often will put on earphone (for example, put on earphone is listened to the music or enjoy acoustics etc. in game) in the time using these amusement functions of mobile terminal, and the sound of mobile terminal playing is transferred in user's ear by earphone.
Nowadays, some mobile terminals have the function of reminding user time or event, for example, user sets in advance reminder time and alerting pattern, mobile terminal just starts a corresponding timer, in the time that the time of timer arrives, (time that user arranges is while arrival) starts prompting function, and the alerting pattern that mobile terminal will set in advance according to user is reminded user.
In the research and practice process to prior art, the inventor of the embodiment of the present invention finds, in prior art, there is following technical problem: wear earphone music appreciating if pedestrian walks in the street, while going across the road, just in time there is automobile at a high speed to come from the side, may can not make a response because can't hear the sound of automobile, thereby get into an accident.When user puts on earphone and listens to the sound of mobile terminal playing, the sound of playing because of earphone as the sense of hearing of accessorial visual sense organ is greatly limited.User is difficult to notice the sound (distress call, alarm etc.) of external environment condition, is also difficult to outside ambient sound to make correct and response timely.
Summary of the invention
Given this, the embodiment of the present invention provide a kind of can be according to the environmental sound reminding method of environmental sound signal reminding user and a kind of corresponding mobile terminal.
A kind of environmental sound reminding method, comprising:
Gather the voice signal of external environment condition;
According to preset acoustic processing strategy, processing described voice signal is acoustic processing value;
Judge that described acoustic processing value is whether in the scope of preset alert condition instruction;
If so, the alerting pattern preset according to user, carries out the operation of reminding user.
A kind of mobile terminal, comprising:
Sound signal collecting module, for gathering the voice signal of external environment condition;
Acoustic processing module, for the acoustic processing strategy preset according to user, processing described voice signal is acoustic processing value; Judge that described acoustic processing value is whether in the scope of the preset alert condition instruction of user;
CPU module, in the time that acoustic processing module is judged as YES, the alerting pattern preset according to user, carries out the operation of reminding user.
The embodiment of the present invention is by the voice signal of Real-time Collection external environment condition, process described voice signal, obtain the acoustic processing value of the described voice signal of instruction, in the time of the prompting scope of acoustic processing value in alert condition instruction, according to alerting pattern information, adopt preset alerting pattern reminding user, realize in the time that the sense of hearing is greatly limited because of the sound of earphone broadcasting, the function of automatically prompting user surrounding environment acoustic information, make user make in time correct processing to sound at one's side, avoid missing important or urgent thing.
Brief description of the drawings
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, to the accompanying drawing of required use in embodiment be briefly described below, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, do not paying under the prerequisite of creative work, can also obtain according to these accompanying drawings other accompanying drawing.
Fig. 1 is the basic procedure schematic diagram of the first embodiment of acoustic environment sound prompting method of the present invention;
Fig. 2 is the basic procedure schematic diagram of the second embodiment of acoustic environment sound prompting method of the present invention;
Fig. 3 is the structural representation of embodiment of the present invention mobile terminal.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is only the present invention's part embodiment, instead of whole embodiment.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtaining under creative work prerequisite, belong to the scope of protection of the invention.
The embodiment of the present invention provides a kind of environmental sound reminding method, by the voice signal of external environment condition gathering, adopts the alerting pattern reminding user external environment condition sound setting in advance, and the embodiment of the present invention also provides corresponding mobile terminal.Below be elaborated respectively.
Embodiment mono-
The environmental sound reminding method basic procedure of first embodiment of the invention can be with reference to figure 1, the environmental sound reminding method of the present embodiment mainly comprise step:
Step 101, the voice signal of Real-time Collection external environment condition.
The voice signal of Real-time Collection external environment condition can be by the mode of real-time recording, obtain each period external environment condition voice signal recording fragment and store.Certainly include but not limited to that in embodiments of the present invention aforesaid way gathers the voice signal of external environment condition.
Step 102, according to processing command corresponding to the preset alert condition of user, processing described voice signal is acoustic processing value.
Mobile terminal, according to self software and hardware tenability, provides the alert condition of different modes.Alert condition includes but not limited to following several: susceptibility alert condition, user is set to, determine whether reminding user according to the volume of sound or frequency size, the alert condition that reaches user's setting when the acoustic processing value (volume) of the voice signal detecting is just initiated to remind; Variable quantity alert condition, user is set to, and the alert condition whether size of the change occurring according to the acoustic processing value (volume) of the voice signal in the environment detecting reaches user's setting determines whether reminding.As: minor variations, medium variation and great changes etc.Speech recognition alert condition, user is set to, and when the sound collecting and the sound of typing in advance contrast, in the time that similarity acquires a certain degree, reminds.For example, user Zhang San is the recording typing of " Zhang San " and " Xiao Zhang ".In the time having people to call out " Zhang San " or " Xiao Zhang ", when reaching the degree of setting, similarity reminds, and now, can there is people to call out Zhang San around by reminding user.User, in the time that alert condition is set, can provide some users of option confession intuitively to select on interface, also can be arranged by user oneself.As, user can arrange alert condition: wave volume intensity reaches while reminding thresholding reminds, small sound, medium sound, noisy sound or harshness selected in the word that also can be more readily understood with domestic consumer on interface, the corresponding alert condition through quantizing of each option.
The alert condition that user is preset and processing command are corresponding relation, processing command comprises detection attribute and computational methods, the property value that detects attribute instruction voice signal is volume, frequency size or watt level, detect the frequency size that attribute instruction detects voice signal, the property value of voice signal is exactly the frequency values of voice signal so, if detection attribute just detects the volume of voice signal, tone quality value is exactly the volume value of voice signal so.Computational methods are that the property value of calculating voice signal is the processing method of acoustic processing value, and computational methods can be to average according to the property value of voice signal, can be also other computational methods of the property value of processing audio signal.Calculate by computational methods the acoustic processing value that the property value of voice signal obtains more accurately reliable.In the corresponding relation of processing command, can select corresponding processing command to carry out processing audio signal according to the preset alert condition of user and alert condition.For example, if being frequency, alert condition reminds thresholding, so, according to corresponding with it processing command, according to the property value of the detection detection of attribute voice signal of this processing command, the property value of this voice signal is the frequency values of voice signal, then according to computational methods, calculates the frequency values of the voice signal detecting.Certainly, include but not limited in embodiments of the present invention adopt aforesaid way to set in advance the corresponding relation of alert condition and processing command.
Step 103, judges that described acoustic processing value whether in the scope of the preset alert condition instruction of user, if so, enters step 104;
For example, shown in following table 1, the alert condition that can select when user arranges is the intensity level of sound, remind thresholding to be respectively a, b, c and d (a<b<c<d): four thresholdings corresponding small sound, medium sound, noisy sound and harshness respectively, as shown in table 1 below.
Alert condition Small sound Medium sound Noisy sound Harshness
Prompting scope (dbm) [0,a) [a,b) [b,c) [c,d)
Table 1
User selects after alert condition, and the prompting scope of the alert condition instruction that user can be selected is converted into 0,1,2,3 send, according to setting in advance, again 0,1,2,3 are read as corresponding scope (dbm, intensity level), the acoustic processing value of processing is later exactly intensity of sound value, judges that this intensity level whether in the scope reading, enters step 104 in being judged as YES.
Step 104, according to the operation of preset alerting pattern information and executing reminding user.
User can arrange the alerting pattern that is applicable to oneself, as, the tinkle of bells is reminded, interface prompt, earphone is reminded, vibrating alert, intelligent sound prompting etc., these alerting patterns are stored, in the time that step 103 is judged as YES, according to the alerting pattern reminding user of user's setting or system default.Certainly, include but not limited in embodiments of the present invention adopt aforesaid way to carry out reminding user.
Through in the present embodiment, by the voice signal of Real-time Collection external environment condition, process described voice signal, obtain the acoustic processing value of the described voice signal of instruction, when prompting scope in acoustic processing value in alert condition instruction, according to alerting pattern information, the alerting pattern reminding user that employing sets in advance, realize in the time that the sense of hearing is greatly limited because of the sound of earphone broadcasting, the function of automatically prompting user surrounding environment acoustic information, make user make in time correct processing to sound at one's side, avoid missing important or urgent thing.
Embodiment bis-
For ease of understanding, below the environmental sound reminding method in the embodiment of the present invention is described in detail, refer to Fig. 2, in the embodiment of the present invention, the second embodiment of environmental sound reminding method comprises:
Step 201, the time interval of obtaining alerting pattern, alert condition and the detection voice signal of user's setting or system default.
The kind of alerting pattern has a variety of, and user can be set to alerting pattern call user's attention such as sound, image, vibrations.As: the tinkle of bells is reminded, certain the tinkle of bells reminding user of broadcasting; Remind at interface, and on interface of mobile terminal, display reminding message is carried out reminding user; Earphone is reminded, and plays certain sound and passes to user's ear by earphone and carry out reminding user; Vibrating alert, vibration movement terminal is carried out reminding user; Intelligent sound is reminded, can a prefabricated frequency meter in mobile phone, and more prefabricated recording, as people's audible frequency, the frequency of steam whistle, the frequency of thunder etc., in the time that the sound frequency of the voice signal detecting mates with frequency meter is a certain, mobile phone is play corresponding recording and is pointed out.As: " you have people to call around ", " you have vehicle whistle around " etc.Be understandable that, the various alerting patterns that those skilled in the art can expect all should comprise in embodiments of the present invention.
Mobile terminal can, according to self software and hardware tenability, provide the alert condition of different modes.Alert condition includes but not limited to following several: susceptibility alert condition, user is set to, determine whether reminding user according to the volume of sound or frequency size, the alert condition that reaches user's setting when the acoustic processing value (volume) of the voice signal detecting is just initiated to remind; Variable quantity alert condition, user is set to, and the alert condition whether size of the change occurring according to the acoustic processing value (volume) of the voice signal in the environment detecting reaches user's setting determines whether reminding.As: minor variations, medium variation and great changes etc.Speech recognition alert condition, user is set to, and when the sound collecting and the sound of typing in advance contrast, in the time that similarity acquires a certain degree, reminds.For example, user Zhang San is the recording typing of " Zhang San " and " Xiao Zhang ".In the time having people to call out " Zhang San " or " Xiao Zhang ", when reaching the degree of setting, similarity reminds, and now, can there is people to call out Zhang San around by reminding user.User, in the time that alert condition is set, can provide some users of option confession intuitively to select on interface, also can be arranged by user oneself.As, user can arrange alert condition: wave volume intensity reaches while reminding thresholding reminds, small sound, medium sound, noisy sound or harshness selected in the word that also can be more readily understood with domestic consumer on interface, the corresponding alert condition through quantizing of each option.
The alert condition that user is preset and processing command are corresponding relation, processing command comprises detection attribute and computational methods, the property value that detects attribute instruction voice signal is volume, frequency size or watt level, detect the frequency size that attribute instruction detects voice signal, the property value of voice signal is exactly the frequency values of voice signal so, if detection attribute just detects the volume of voice signal, tone quality value is exactly the volume value of voice signal so.Computational methods are that the property value of calculating voice signal is the processing method of acoustic processing value, and computational methods can be to average according to the property value of voice signal, can be also other computational methods of the property value of processing audio signal.Calculate by computational methods the acoustic processing value that the property value of voice signal obtains more accurately reliable.In the corresponding relation of processing command, can select corresponding processing command to carry out processing audio signal according to the preset alert condition of user and alert condition.For example, if being frequency, alert condition reminds thresholding, so, according to corresponding with it processing command, according to the property value of the detection detection of attribute voice signal of this processing command, the property value of this voice signal is the frequency values of voice signal, then according to computational methods, calculates the frequency values of the voice signal detecting.Certainly, include but not limited in embodiments of the present invention adopt aforesaid way to set in advance the corresponding relation of alert condition and processing command.
Accuracy of detection is the time interval that user detects the property value of voice signal, and change the precision that detects voice signal the interval time that user can arrange level detection, and the accuracy of detection that user arranges is higher, and the interval time of the voice signal of level detection is less.
Step 202, the voice signal of Real-time Collection external environment condition;
The voice signal of Real-time Collection external environment condition can be by the mode of real-time recording, obtain each period external environment condition voice signal recording fragment and store.Certainly include but not limited to that in embodiments of the present invention aforesaid way gathers the voice signal of external environment condition.
Step 203, searches the processing command corresponding with alert condition.
Processing command comprises detection attribute and computational methods, the corresponding relation of alert condition and processing command is pre-configured, obtain acoustic processing value according to the detection attribute of processing command corresponding to alert condition and computational methods, for example, if the scope of alert condition instruction is frequency range, processing command is processed and is detected the frequency values that attribute is detection voice signal so, calculate the frequency values detecting according to computational methods, obtain sound signal processing value, if the scope of alert condition instruction is volume, the property value of processing command detection voice signal is performance number so, calculating this performance number is acoustic processing value.
Step 204, according to the time interval setting timer that detects voice signal.
Information-setting by user also comprises precision information, and described precision information instruction detects the time interval of described voice signal.Set and detect timer according to this time interval.
Step 205, at each timer then, according to detecting attribute, detects the property value of the voice signal of external environment condition.Timer time interval is shorter, and the precision that detects voice signal is just higher.
Step 206, according to computational methods, the property value that calculates the voice signal of the external environment condition detecting is acoustic processing value.
By the property value of computational methods processing audio signal, obtain the acoustic processing value of intuitively and accurately reacting voice signal, for example, the preset alert condition of user is that voice signal frequency is higher than 50HZ.The prompting scope of this alert condition instruction is frequency f >50HZ so.Select the processing command corresponding with alert condition, it is sound frequency value that the detection attribute instruction of this processing command detects voice signal, after obtaining voice signal frequency values, by computational methods (for example, average) process the property value of the voice signal detecting, thus obtain the acoustic processing value of more intuitively and accurately reacting voice signal.
It should be noted that, cause too much insignificant prompting for fear of accidental narrow noise in space, can also be optimized the processing logic of processing command, average algorithm for the acoustic processing value of voice signal is optimized, for example, the acoustic processing value of obtaining a voice signal is more much larger than the acoustic processing value of former and later two times, can think that bad point abandons, and improves the accuracy that acoustic processing value detects.
Step 207, judges that described acoustic processing value, whether in the indicated scope of alert condition, if so, enters step 208.
Step 208, according to the operation of preset alerting pattern information and executing reminding user.The kind of alerting pattern has a variety of, as: the tinkle of bells is reminded, certain the tinkle of bells reminding user of broadcasting; Remind at interface, and on interface of mobile terminal, display reminding message is carried out reminding user; Earphone is reminded, and plays certain sound and passes to user's ear by earphone and carry out reminding user; Vibrating alert, vibration movement terminal is carried out reminding user; Intelligent sound is reminded, can a prefabricated frequency meter in mobile phone, and more prefabricated recording, as people's audible frequency, the frequency of steam whistle, the frequency of thunder etc., the various alerting patterns that those skilled in the art can expect all should comprise in embodiments of the present invention.
Further, if in step 207, judge this acoustic processing value not in the scope of alert condition instruction, enter step 209.
Step 209, does not point out user.
Through in the present embodiment, by the voice signal of Real-time Collection external environment condition, process described voice signal according to processing command, obtain the acoustic processing value of the described voice signal of instruction, when prompting scope in acoustic processing value in alert condition instruction, according to alerting pattern information, the alerting pattern reminding user that employing sets in advance, realize in the time that the sense of hearing is greatly limited because of the sound of earphone broadcasting, the function of automatically prompting user surrounding environment acoustic information, make user make in time correct processing to sound at one's side, avoid missing important or urgent thing.
Below the mobile terminal of the inventive embodiments for carrying out above-mentioned environmental sound reminding method is described, its structural representation is with reference to figure 3, be the structural representation of the mobile terminal that provides of the embodiment of the present invention, this mobile terminal comprises signal acquisition module 31, acoustic processing module 32 and CPU module 33.
Sound signal collecting module 31, for gathering the voice signal of external environment condition.
For the voice signal of Real-time Collection external environment condition.Concrete, signal acquisition module 31 comprises a recording unit, and recording unit is by the voice signal of the mode Real-time Collection external environment condition of recording, obtain each period external environment condition voice signal recording fragment and be stored in CPU module 33.
Acoustic processing module 32, for according to preset processing policy, processing described voice signal is acoustic processing value; Judge that described acoustic processing value is whether in the scope of the preset alert condition instruction of user;
CPU module 33, in the time that acoustic processing module is judged as YES, the alerting pattern preset according to user, carries out the operation of reminding user.
This mobile terminal also comprises: module 34 is set, for obtaining the time interval of the preset alert condition of user, alerting pattern and detection voice signal.
Preferably, acoustic processing module 32 comprises:
Detecting unit 321, for the detection attribute of indicating according to processing command corresponding to alert condition, the property value that the voice signal that detects external environment condition is voice signal.Concrete, this detecting unit comprises: timer subelement, for setting timer according to the time interval of the preset detection external voice signal of user; Detection sub-unit at each timer then, detects the property value of voice signal in the voice signal gathering.
Processing unit 322, for searching the computational methods of the processing command instruction corresponding with alert condition, the property value that calculates described voice signal is acoustic processing value;
Judging unit 323, for judging that described acoustic processing value is whether in the scope of the preset alert condition instruction of user.
It should be noted that, cause too much insignificant prompting for fear of accidental narrow noise in space, signal processing unit 322 can also be optimized the processing logic of processing command, average algorithm for the acoustic processing value of voice signal is optimized, for example, the acoustic processing value of obtaining a voice signal is more much larger than the acoustic processing value of former and later two times, can think that bad point abandons, and improves the accuracy that acoustic processing value detects.Improve like this accuracy of acoustic processing, avoid producing unnecessary prompting.
For the ease of understanding, with concrete application scenarios, above-described embodiment is described in detail below:
Scene 1, can, equally referring to Fig. 2 and Fig. 3, suppose, Zhang San, listens to the music with mobile phone while walking at dead of night on the way home, comparatively quiet on road, and Zhang San is set in advance as when environmental volume intensity is greater than D the prompting that produces " note that and have the larger sound around ".A prefabricated volume intensity table in mobile phone, this volume intensity table is to there being the volume intensity of A, B, C and tetra-ranks of D.And prefabricated voice recording " note that and has the larger sound around ".
Step 201, the module 34 that arranges of mobile terminal is obtained information-setting by user, and mobile terminal shows the volume intensity of A, B, C and tetra-ranks of D by interface, and user Zhang San selects D, and D is stored in CPU module 33 as alert condition information so.The alerting pattern that user Zhang San selects intelligent sound to remind, the alerting pattern of intelligent sound is stored in CPU module 33 as alerting pattern information so, and in addition, the precision information that user Zhang San arranges is 1ms, and 1ms is stored in CPU module 33 as precision information so.
Step 202, the voice signal of sound signal collecting module 31 Real-time Collection external environment conditions, sound signal collecting module 31 is recorded to external data, obtains real-time recording fragment, and recording fragment is stored in to CPU module 33.
Step 203, acoustic processing module 32 is obtained processing command from CPU module 33, it is volume intensity D that CPU module 33 reads the preset alert condition information of user, and the prompting scope of the alert condition instruction that also user can be selected is converted into 0,1,2,3 send to acoustic processing module 32, and the 32 basis settings in advance of acoustic processing module are again 0,1,2,3 are converted into corresponding alert condition.Obtaining with alert condition is the processing command that volume intensity D is corresponding.The volume that the acoustic processing value of this processing command processing is voice signal.
Step 204, acoustic processing module 32 is set timer according to assay intervals 1ms;
Step 205, each timer then, detects current voice signal from the data that gather;
Step 206, the voice signal that treatment step 205 detects, in the time of time T 0, the acoustic processing value after the sound signal processing of detection is: volume intensity D0, and record this data, then, then this detection obtains data D1 to timer next time, and the rest may be inferred, can obtain the sound signal volume intensity data D0 in a period of time, D1 ..., Dn.These volume intensity datas are exactly to process the acoustic processing value obtaining later.
Step 207, acoustic processing module 32 judges the prompting scope whether described acoustic processing value indicates in alert condition, acoustic processing value is greater than volume intensity level D.In the time intensity of sound Dn being detected, Dn>D, enters step 208;
Step 208, acoustic processing module 32 produces the prompting triggering signal of reminding user, prompting triggering signal is issued to CPU module 33, CPU module 33 is according to the alerting pattern information of storage, the intelligent sound alerting pattern reminding user that employing sets in advance, the playing module of mobile terminal is play " note that and have the larger sound around ", passes in user Zhang San ear by earphone.
Scene 2, can, equally referring to Fig. 2 and Fig. 3, suppose, user Li Si has on earphone and uses mobile terminal to play games, the display interface of prefabricated prompting text in mobile terminal " note that around have abnormal ".When thinking there is abnormal voice in environment around, user shows that by display screen the interface of " note that have abnormal " reminds around.When the frequency change of the voice signal of environment is excessive around, can thinks and have abnormal voice around.
Step 201, the module 34 that arranges of mobile terminal is obtained information-setting by user, user Li Si can arrange a difference on the frequency threshold values E, outside environmental sound signal with before the frequency-splitting of average frequency while being greater than threshold values E, illustrate that ambient sound has extremely.E is stored in CPU module 33 as alert condition information.The alerting pattern that user selects intelligent sound to remind, the alerting pattern of intelligent sound is stored in CPU module 33 as alerting pattern information so, and in addition, the precision information that user arranges is 1ms, and 1ms is stored in CPU module 33 as precision information so.
Step 202, the voice signal of sound signal collecting module 31 Real-time Collection external environment conditions, signal acquisition module 31 is recorded to external data, obtains real-time recording fragment, and recording fragment is stored in to CPU module 33.
Step 203, acoustic processing module 32 is obtained processing command in CPU module 33, it is difference on the frequency threshold values E that CPU module 33 reads the preset alert condition information of user, module is set and also the prompting scope of the alert condition instruction of user's selection can be converted into 0,1,2,3 send to CPU module, and the setting in advance of CPU module basis is again 0,1,2,3 are converted into corresponding alert condition.Obtaining with alert condition is the processing command that difference on the frequency threshold values E is corresponding.The frequency-splitting that the acoustic processing value of this processing command processing is voice signal.
Step 204, acoustic processing module 32 is set timer according to assay intervals 1ms;
Step 205, each timer then, detects current voice signal from the data that gather;
Step 206, acoustic processing module 32 detects current sound signal volume intensity D0, and records this data, and timer is then next time, this detection obtains data D1 again, and the rest may be inferred, can obtain the sound signal volume intensity data D0 in a period of time, D1 ..., Dn.These volume intensity datas are exactly to process the acoustic processing value obtaining later.Meanwhile, obtain average intensity of sound S0 during this period of time according to data before, S1 ..., Sn, Sn=1/ (n+1) (D0+D1+ ... + Dn).Detect after an intensity of sound at every turn, all obtain the difference E0 of current intensity and mean intensity with average strength ratio, E1 ..., En, En=Dn – S (n-1).These differences are exactly the acoustic processing value of voice signal.
Step 207, acoustic processing module 32 judges the prompting scope whether described acoustic processing value indicates in alert condition, acoustic processing value is greater than frequency-splitting E.In the time intensity of sound En being detected, En>E now, does not enter step 208 at once, but continues to detect the intensity of sound value En+1 of next time point, in the time that certain hour section En is greater than E to En+j, enters step 208.
Step 208, acoustic processing module 32 produces the prompting triggering signal of reminding user, prompting triggering signal is issued to CPU module 33, CPU module 33 is according to the alerting pattern information of storage, the intelligent sound alerting pattern reminding user that employing sets in advance, the display screen of mobile terminal shows the interface of " note that have abnormal " around, and user Li Si can discover ambient sound around in earphone is played games and change having on.
Scene 3, can, equally referring to Fig. 2 and Fig. 3, suppose, user Xiao Wang hearing is bad, have on earphone and use mobile terminal to play games, user Xiao Wang wishes can know at any time the acoustic situations of surrounding environment, and Xiao Wang is set to the volume that mobile terminal shows surrounding environment in real time.
Step 201, the module 34 that arranges of mobile terminal is obtained information-setting by user, and it is that the volume of any sound of external environment condition is all presented on display screen in real time that user Xiao Wang arranges alert condition and alerting pattern.In addition, the precision information that user Xiao Wang arranges is 0.1ms, and 0.1ms is stored in CPU module 33 as precision information so.
Step 202, the voice signal of sound signal collecting module 31 Real-time Collection external environment conditions, signal acquisition module 31 is recorded to external data, obtains real-time recording fragment, and recording fragment is stored in to CPU module 33.
Step 203, acoustic processing module 32 is obtained processing command in CPU module 33, and it is that all voice signals are all reminded that CPU module 33 reads the preset alert condition information of user, and the prompting scope of this alert condition instruction is all acoustic processing values.
Step 204, acoustic processing module 32 is set timer according to assay intervals 0.1ms;
Step 205, each timer then, detects current voice signal from the data that gather;
Step 206, acoustic processing module 32 is processed the volume intensity D0 of the voice signal detecting, and records this data, and timer is then next time, again obtain data D1, the rest may be inferred, can obtain the sound signal volume intensity data D0 in a period of time, D1 ..., Dn.
Step 207, acoustic processing module 32 judges the prompting scope whether described acoustic processing value indicates in alert condition, all acoustic processing values all, within the scope of prompting, enter step 206.
Step 208, acoustic processing module 32 produces the prompting triggering signal of reminding user, prompting triggering signal is issued to CPU module 33, and CPU module 33 adopts the real-time demonstration wave volume size setting in advance, and the acoustic processing value Dn that each time point is detected is presented on display screen.
It is pointed out that the present invention can also be applied to other several scenes, for example: for hospitalize system, in the time detecting that patient calls for help, makes a scene, moans loudly, remind doctor to rush towards in time in-situ curing processing.Also can be used for children education system, for example, ought detect that monitored children cry and scream, remind teacher to go and find out what's going in time, avoid meeting accident.Can also utilize on the equipment using all use earphones or dysaudia personage, because external sound produces the equipment of the function of prompting.Do not repeat them here.
Through in the present embodiment, mobile terminal is by the voice signal of Real-time Collection external environment condition, process described voice signal according to processing command, obtain the acoustic processing value of the described voice signal of instruction, when prompting scope in acoustic processing value in alert condition instruction, the alerting pattern reminding user that employing sets in advance, realize in the time that the sense of hearing is greatly limited because of the sound of earphone broadcasting, the function of automatically prompting user surrounding environment acoustic information, make user make in time correct processing to sound at one's side, avoid missing important or urgent thing.
One of ordinary skill in the art will appreciate that all or part of step in the whole bag of tricks of above-described embodiment is can carry out the hardware that instruction is relevant by program to complete, this program can be stored in a computer-readable recording medium, and storage medium can comprise: ROM, RAM, disk or CD etc.
The environmental sound reminding method and the mobile terminal that above the embodiment of the present invention are provided are described in detail, applied specific case herein principle of the present invention and execution mode are set forth, the explanation of above embodiment is just for helping to understand method of the present invention and core concept thereof; , for one of ordinary skill in the art, according to thought of the present invention, all will change in specific embodiments and applications, in sum, this description should not be construed as limitation of the present invention meanwhile.

Claims (10)

1. an environmental sound reminding method, is characterized in that, comprising:
Gather the voice signal of external environment condition;
According to preset acoustic processing strategy, processing described voice signal is acoustic processing value;
Judge that described acoustic processing value is whether in the scope of preset alert condition instruction;
If so, the alerting pattern preset according to user, carries out the operation of reminding user.
2. environmental sound reminding method as claimed in claim 1, it is characterized in that, described according to preset acoustic processing strategy, processing described voice signal is acoustic processing value, be specially: according to the corresponding processing command of the preset alert condition of user, processing described voice signal is acoustic processing value.
3. environmental sound reminding method as claimed in claim 2, is characterized in that, described according to the corresponding processing command of preset alert condition, and processing described voice signal is that acoustic processing value specifically comprises:
According to the indicated detection attribute of processing command corresponding to alert condition, the property value that the voice signal that detects external environment condition is voice signal;
Search the indicated computational methods of the processing command corresponding with alert condition, the property value that calculates described voice signal is acoustic processing value.
4. environmental sound reminding method as claimed in claim 3, is characterized in that, described alert condition specifically comprises: the frequency of voice signal is reminded the volume prompting thresholding of thresholding or voice signal.
5. environmental sound reminding method as claimed in claim 3, is characterized in that, the property value that the voice signal of described detection external environment condition is voice signal comprises:
According to the time interval setting timer of the preset detection external voice signal of user;
When each timer then, in the voice signal gathering, detect the property value of voice signal.
6. a mobile terminal, is characterized in that, comprising:
Sound signal collecting module, for gathering the voice signal of external environment condition;
Acoustic processing module, for the acoustic processing strategy preset according to user, processing described voice signal is acoustic processing value; Judge that described acoustic processing value is whether in the scope of the preset alert condition instruction of user;
CPU module, in the time that acoustic processing module is judged as YES, the alerting pattern preset according to user, carries out the operation of reminding user.
7. mobile terminal as claimed in claim 6, is characterized in that, described acoustic processing module comprises:
Detecting unit, for according to the indicated detection attribute of processing command corresponding to alert condition, the property value that the voice signal that detects external environment condition is voice signal;
Processing unit, for searching the indicated computational methods of the processing command corresponding with alert condition, the property value that calculates described voice signal is acoustic processing value;
Judging unit, for judging that described acoustic processing value is whether in the scope of the preset alert condition instruction of user.
8. mobile terminal as claimed in claim 6, is characterized in that, described mobile terminal also comprises:
Preset module, for obtaining the preset alert condition of user, processing command and alerting pattern.
9. mobile terminal as claimed in claim 6, is characterized in that, described CPU module is also for storing preset alert condition and the corresponding relation of processing command.
10. mobile terminal as claimed in claim 7, is characterized in that, described detecting unit comprises:
Timer subelement, for setting timer according to the time interval of the preset detection external voice signal of user;
Detection sub-unit at each timer then, detects the property value of voice signal in the voice signal gathering.
CN201410407346.3A 2010-02-20 2010-02-20 Environmental sound prompting method and mobile terminal Pending CN104158970A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410407346.3A CN104158970A (en) 2010-02-20 2010-02-20 Environmental sound prompting method and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410407346.3A CN104158970A (en) 2010-02-20 2010-02-20 Environmental sound prompting method and mobile terminal

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
CN201010112218.8A Division CN101790000B (en) 2010-02-20 2010-02-20 Environmental sound reminding method and mobile terminal

Publications (1)

Publication Number Publication Date
CN104158970A true CN104158970A (en) 2014-11-19

Family

ID=51884373

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410407346.3A Pending CN104158970A (en) 2010-02-20 2010-02-20 Environmental sound prompting method and mobile terminal

Country Status (1)

Country Link
CN (1) CN104158970A (en)

Cited By (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104570852A (en) * 2014-12-16 2015-04-29 芜湖乐锐思信息咨询有限公司 Environmental self-reminding device for intelligent wearing equipment
CN104764524A (en) * 2015-03-13 2015-07-08 陈蔼珊 Mobile terminal capable of detecting sound decibels and detection method
CN105205955A (en) * 2015-09-25 2015-12-30 小米科技有限责任公司 Method and device for sending out warning signal
CN105681950A (en) * 2016-01-15 2016-06-15 宇龙计算机通信科技(深圳)有限公司 Prompting method, prompting device, earphone and terminal
CN106126058A (en) * 2016-06-17 2016-11-16 北京小米移动软件有限公司 Based reminding method and device
CN106412188A (en) * 2016-10-13 2017-02-15 深圳市冠旭电子股份有限公司 Reminding method and apparatus
CN106550147A (en) * 2016-10-28 2017-03-29 努比亚技术有限公司 A kind of voice broadcast alarm set and its method
CN106791109A (en) * 2016-12-23 2017-05-31 维沃移动通信有限公司 A kind of sound prompting method and mobile terminal
WO2017120944A1 (en) * 2016-01-17 2017-07-20 谢文 Technology-related data collection method for giving alarm with headphones, and headphones for giving alarm
WO2017120958A1 (en) * 2016-01-17 2017-07-20 谢文 Method of giving alarm during headphone usage, and headphones for giving alarm
WO2017120957A1 (en) * 2016-01-17 2017-07-20 谢文 Information notification method for giving alarm with headphones, and headphones for giving alarm
WO2017120955A1 (en) * 2016-01-17 2017-07-20 谢文 Information notification method for giving alarm with headphones, and headphones for giving alarm
WO2017120956A1 (en) * 2016-01-17 2017-07-20 谢文 Method of giving alarm during headphone usage, and headphones for giving alarm
CN107960342A (en) * 2017-11-29 2018-04-27 深圳市沃特沃德股份有限公司 Intelligence stops method and device of barking
CN108540661A (en) * 2018-03-30 2018-09-14 广东欧珀移动通信有限公司 Signal processing method, device, terminal, earphone and readable storage medium storing program for executing
CN109257498A (en) * 2018-09-29 2019-01-22 维沃移动通信有限公司 A kind of sound processing method and mobile terminal
CN105681529B (en) * 2016-01-25 2019-06-28 上海斐讯数据通信技术有限公司 Intelligent sound recorded broadcast device and method
US10349176B1 (en) 2018-03-30 2019-07-09 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Method for processing signals, terminal device, and non-transitory computer-readable storage medium

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6782106B1 (en) * 1999-11-12 2004-08-24 Samsung Electronics Co., Ltd. Apparatus and method for transmitting sound
CN1547802A (en) * 2001-07-13 2004-11-17 �����ɷ� Adaptive audible alert volume control
CN1625277A (en) * 2003-12-01 2005-06-08 上海迪比特实业有限公司 Method of automatic regulating mobile phone prompt mode according to environment noise
CN1780349A (en) * 2004-11-25 2006-05-31 上海环达计算机科技有限公司 Automatic adjuster and adjusting method for cell-phone bell
CN1893498A (en) * 2005-07-01 2007-01-10 英华达(上海)电子有限公司 Method for intelligently regulating incoming telegrame bell sound-volume of hand-set its prompting manner
CN1897054A (en) * 2005-07-14 2007-01-17 松下电器产业株式会社 Device and method for transmitting alarm according various acoustic signals
CN2932502Y (en) * 2005-11-24 2007-08-08 余德斌 A portable sports and fitness guidance broadcasting device
JP2009300915A (en) * 2008-06-17 2009-12-24 Fujitsu Ltd Mobile terminal with music playback function

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6782106B1 (en) * 1999-11-12 2004-08-24 Samsung Electronics Co., Ltd. Apparatus and method for transmitting sound
CN1547802A (en) * 2001-07-13 2004-11-17 �����ɷ� Adaptive audible alert volume control
CN1625277A (en) * 2003-12-01 2005-06-08 上海迪比特实业有限公司 Method of automatic regulating mobile phone prompt mode according to environment noise
CN1780349A (en) * 2004-11-25 2006-05-31 上海环达计算机科技有限公司 Automatic adjuster and adjusting method for cell-phone bell
CN1893498A (en) * 2005-07-01 2007-01-10 英华达(上海)电子有限公司 Method for intelligently regulating incoming telegrame bell sound-volume of hand-set its prompting manner
CN1897054A (en) * 2005-07-14 2007-01-17 松下电器产业株式会社 Device and method for transmitting alarm according various acoustic signals
CN2932502Y (en) * 2005-11-24 2007-08-08 余德斌 A portable sports and fitness guidance broadcasting device
JP2009300915A (en) * 2008-06-17 2009-12-24 Fujitsu Ltd Mobile terminal with music playback function

Cited By (22)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104570852A (en) * 2014-12-16 2015-04-29 芜湖乐锐思信息咨询有限公司 Environmental self-reminding device for intelligent wearing equipment
CN104764524A (en) * 2015-03-13 2015-07-08 陈蔼珊 Mobile terminal capable of detecting sound decibels and detection method
CN105205955A (en) * 2015-09-25 2015-12-30 小米科技有限责任公司 Method and device for sending out warning signal
CN105681950A (en) * 2016-01-15 2016-06-15 宇龙计算机通信科技(深圳)有限公司 Prompting method, prompting device, earphone and terminal
CN105681950B (en) * 2016-01-15 2019-01-22 宇龙计算机通信科技(深圳)有限公司 Reminding method, suggestion device, earphone and terminal
WO2017120957A1 (en) * 2016-01-17 2017-07-20 谢文 Information notification method for giving alarm with headphones, and headphones for giving alarm
WO2017120944A1 (en) * 2016-01-17 2017-07-20 谢文 Technology-related data collection method for giving alarm with headphones, and headphones for giving alarm
WO2017120958A1 (en) * 2016-01-17 2017-07-20 谢文 Method of giving alarm during headphone usage, and headphones for giving alarm
WO2017120955A1 (en) * 2016-01-17 2017-07-20 谢文 Information notification method for giving alarm with headphones, and headphones for giving alarm
WO2017120956A1 (en) * 2016-01-17 2017-07-20 谢文 Method of giving alarm during headphone usage, and headphones for giving alarm
CN105681529B (en) * 2016-01-25 2019-06-28 上海斐讯数据通信技术有限公司 Intelligent sound recorded broadcast device and method
CN106126058A (en) * 2016-06-17 2016-11-16 北京小米移动软件有限公司 Based reminding method and device
CN106412188A (en) * 2016-10-13 2017-02-15 深圳市冠旭电子股份有限公司 Reminding method and apparatus
CN106550147A (en) * 2016-10-28 2017-03-29 努比亚技术有限公司 A kind of voice broadcast alarm set and its method
CN106791109A (en) * 2016-12-23 2017-05-31 维沃移动通信有限公司 A kind of sound prompting method and mobile terminal
CN107960342A (en) * 2017-11-29 2018-04-27 深圳市沃特沃德股份有限公司 Intelligence stops method and device of barking
CN108540661A (en) * 2018-03-30 2018-09-14 广东欧珀移动通信有限公司 Signal processing method, device, terminal, earphone and readable storage medium storing program for executing
US10349176B1 (en) 2018-03-30 2019-07-09 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Method for processing signals, terminal device, and non-transitory computer-readable storage medium
WO2019184398A1 (en) * 2018-03-30 2019-10-03 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Method for processing signals, terminal device, and non-transitory computer-readable storage medium
US10923129B2 (en) 2018-03-30 2021-02-16 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Method for processing signals, terminal device, and non-transitory readable storage medium
CN109257498A (en) * 2018-09-29 2019-01-22 维沃移动通信有限公司 A kind of sound processing method and mobile terminal
CN109257498B (en) * 2018-09-29 2021-01-08 维沃移动通信有限公司 Sound processing method and mobile terminal

Similar Documents

Publication Publication Date Title
CN101790000B (en) Environmental sound reminding method and mobile terminal
CN104158970A (en) Environmental sound prompting method and mobile terminal
CN101795323B (en) Electronic alarm operation method, electronic alarm and mobile communication terminal
CN106031138B (en) Environment senses smart machine
CN104902086B (en) Alarm clock ringing method and device
US9549273B2 (en) Selective enabling of a component by a microphone circuit
CN100360085C (en) Contents reproduction apparatus and method thereof
CN106652996B (en) Prompt tone generation method and device and mobile terminal
CN107509153B (en) Detection method and device of sound playing device, storage medium and terminal
CN107146614A (en) A kind of audio signal processing method, device and electronic equipment
CN108469966A (en) Voice broadcast control method and device, intelligent device and medium
CN103347115B (en) The method and apparatus of a kind of output volume controlling electronic product and a kind of mobile phone
CN201354064Y (en) Automobile alarming device with multiple alarming modes
CN103269405A (en) Method and device for hinting friendlily
CN108536418A (en) A kind of method, apparatus and wireless sound box of the switching of wireless sound box play mode
CN202353638U (en) Mobile phone with outside sound reminding function
CN103309657A (en) Method, device and equipment for exchanging mobile equipment ring voice frequency
CN104698822A (en) Use method and system based on smart watch and smart watch
CN110347366B (en) Volume adjusting method, terminal device, storage medium and electronic device
CN107613113A (en) A kind of headset mode control method, device and computer-readable recording medium
CN104978980A (en) Method for controlling sound playing and sound playing system
CN101895627A (en) Mobile device and control method thereof and program
CN104873062A (en) Water cup with voice control function
CN110503968A (en) A kind of audio-frequency processing method, device, equipment and readable storage medium storing program for executing
CN111787461B (en) Intelligent sound equipment, control method and device thereof and computer readable storage medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right

Effective date of registration: 20171106

Address after: Metro Songshan Lake high tech Industrial Development Zone, Guangdong Province, Dongguan City Road 523808 No. 2 South Factory (1) project B2 -5 production workshop

Applicant after: HUAWEI terminal (Dongguan) Co., Ltd.

Address before: 518129 Longgang District, Guangdong, Bantian HUAWEI base B District, building 2, building No.

Applicant before: Huawei Device Co., Ltd.

TA01 Transfer of patent application right
RJ01 Rejection of invention patent application after publication

Application publication date: 20141119

RJ01 Rejection of invention patent application after publication