CN102946483A - Method for controlling reminding mode and device - Google Patents

Method for controlling reminding mode and device Download PDF

Info

Publication number
CN102946483A
CN102946483A CN2012104614959A CN201210461495A CN102946483A CN 102946483 A CN102946483 A CN 102946483A CN 2012104614959 A CN2012104614959 A CN 2012104614959A CN 201210461495 A CN201210461495 A CN 201210461495A CN 102946483 A CN102946483 A CN 102946483A
Authority
CN
China
Prior art keywords
ambient sound
indicating mode
property value
portable terminal
interval
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.)
Granted
Application number
CN2012104614959A
Other languages
Chinese (zh)
Other versions
CN102946483B (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.)
Beijing Xiaomi Technology Co Ltd
Original Assignee
Beijing Xiaomi Technology 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 Beijing Xiaomi Technology Co Ltd filed Critical Beijing Xiaomi Technology Co Ltd
Priority to CN201210461495.9A priority Critical patent/CN102946483B/en
Publication of CN102946483A publication Critical patent/CN102946483A/en
Application granted granted Critical
Publication of CN102946483B publication Critical patent/CN102946483B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses a method for controlling a reminding mode, which is used for realizing that a mobile terminal automatically controls and adjusts the reminding mode according to environment sounds. The method comprises the following steps that: the mobile terminal collects the environment sounds; the mobile terminal determines the attribute value of the environment sounds; the mobile terminal determines the reminding mode according to the attribute value of the environment sounds; and the mobile terminal adopts the determined reminding mode. The invention also discloses a device for realizing the method.

Description

A kind of method and apparatus of controlling indicating mode
Technical field
The present invention relates to electric field, relate in particular to a kind of method and apparatus of controlling indicating mode.
Background technology
Along with the progress of science and technology and the development of portable terminal technology, various mobile terminal devices are being played the part of more and more important role in daily life.The convenience of portable terminal and instantaneity also allow people produce the dependence of always carving.In this simultaneously, mobile terminal device convenience and intelligent aspect still have very large innovative space.Take mobile phone as example, existing ringing sound of cell phone adjustment scheme is that the difference according to contextual model arranges, and usually is divided into: mode standard, silent mode, conference model, outdoor pattern and some personalized patterns etc.But the setting of these patterns and conversion need artificial carrying out to operate accordingly usually, therefore flexibility and promptness that ringing sound of cell phone changes have been limited, often cause some unnecessary inconvenience, for example: enter in the noisy environment and forgotten that the adjustment ringing sound of cell phone can't hear ringing sound of cell phone for outdoor pattern, perhaps hear suddenly larger the tinkle of bells in bed at night and affect rest of own and household etc.
In addition, the design phase that is adjusted in to ringing volume in the existing mobile phone all is to be divided into mobile phone ringtone volume gear, then the volume sign is regulated in button or the touch screen operation of regulating side by the user according to different scenes, or the size of being regulated ringtone volume by the button of keyboard.And these methods because operating process is loaded down with trivial details, have also caused burden for the user, have affected the convenience of mobile terminal device.
May cause quietly the time, thinking that the tinkle of bells is too noisy if the problem that may occur in present technical scheme thus is set to max volume exactly, affect the work of oneself or people on every side; If the user turns volume down, then can cause under noisy environment the bell sound too little, cause oneself can't hear the bell sound, miss phone and miss other information.Because most of user can not often regulate ringtone volume according to environment.In sum, the at present bad adaptability of technical scheme, and complex operation, it is convenient not that the user experiences.
Summary of the invention
The embodiment of the invention provides a kind of method and apparatus of controlling indicating mode, is used for the realization portable terminal and controls indicating mode according to ambient sound.
A kind of method of controlling indicating mode may further comprise the steps: portable terminal gathers ambient sound; Portable terminal is determined the property value of ambient sound; Portable terminal is determined indicating mode according to the property value of ambient sound; Portable terminal adopts the indicating mode of determining.Portable terminal is controlled indicating mode automatically according to ambient sound in the present embodiment, has reduced manual operation, and has optimized the adaptability of indicating mode to environment.
The step that portable terminal gathers ambient sound comprises: portable terminal take the predefined time interval as collection period, periodically gather ambient sound; Perhaps, when portable terminal need to adopt indicating mode to remind, gather ambient sound; Perhaps, portable terminal gathers ambient sound in real time.Like this, periodically gather ambient sound, the portable terminal Real-time Collection ambient sound of comparing has reduced the live load of portable terminal; Portable terminal gathers ambient sound when the needs indicating mode is reminded, when not needing to remind, then do not gather ambient sound, and the portable terminal Real-time Collection ambient sound of comparing has reduced unnecessary gatherer process, and this working method is more efficient; Portable terminal Real-time Collection ambient sound can quickly respond to the demand of indicating mode.
In the described method, property value comprises sound pressure level and/or frequency values.Portable terminal is to the collection of the multiple property value of ambient sound and property value combination, analysis environments sound more fully, and indicating mode is also more accurate.
Preferably, portable terminal determines that according to the property value of ambient sound the step of indicating mode comprises: portable terminal is determined ambient sound interval corresponding to property value that obtains according to default property value and the corresponding relation in ambient sound interval; Portable terminal is determined and the interval corresponding indicating mode of the ambient sound of determining.
Preferably, portable terminal is determined after the property value of ambient sound, and is further comprising the steps of: portable terminal calculates the recently average property value of the property value of the ambient sound of a collection period of end.Portable terminal is according to default property value and the corresponding relation in ambient sound interval, the step in the ambient sound interval that definite property value that obtains is corresponding comprises: portable terminal is according to default average property value and the corresponding relation in ambient sound interval, and the ambient sound that the average property value of definite acquisition is corresponding is interval.Reduced the of short duration and unexpected variation owing to ambient sound, portable terminal determines that continually the ambient sound corresponding with property value is interval, is of value to the live load that reduces portable terminal.
Preferably, after the average property value of the property value of the ambient sound of the collection period that portable terminal calculating finishes recently, further comprising the steps of: portable terminal calculates the interior average property value of average property value and an adjacent upper collection period in the collection period that finishes recently, and draws the absolute value of both differences; Portable terminal judges that whether described absolute value is greater than predefined maximum variable quantity.If described absolute value is not more than maximum variable quantity, then portable terminal keeps current indicating mode constant; If described absolute value is greater than maximum variable quantity, then portable terminal is determined ambient sound interval corresponding to average property value that obtains according to default average property value and the corresponding relation in ambient sound interval.Beneficial effect: when ambient sound changes hour, portable terminal does not change indicating mode; When only having ambient sound that larger variation is arranged, portable terminal just can determine that corresponding ambient sound is interval according to described property value.Alleviate the live load of portable terminal, and improved efficient.
Preferably, comprise with the interval corresponding indicating mode of ambient sound: along with the ascending variation in ambient sound interval, the also ascending variation of prompting degree that indicating mode is corresponding.Beneficial effect: described method has embodied the correspondence in indicating mode and ambient sound interval.Also guaranteed simultaneously the prompting degree.
Preferably, the ascending variation of prompting degree comprises one of following variation at least: remind the ascending variation of sound pressure level of the tinkle of bells; Remind the ascending variation of frequency values of the tinkle of bells; Friction is to the variation that vibration is arranged.Beneficial effect: the tinkle of bells of indicating mode is in many-sided ascending variations such as sound pressure level and frequency values, and indicating mode has more adaptive method to the variation of ambient sound like this; Vibrating function is reminding effect from sense of touch, and these functions have all been strengthened the adaptability of indicating mode to ambient sound, have optimized user's experience.
Preferably, the indicating mode that portable terminal adopt to be determined may further comprise the steps: if current indicating mode during for the indicating mode determined, portable terminal keeps current indicating mode constant; If current indicating mode is the indicating mode for determining, portable terminal regulate indicating mode to the indicating mode of determining.Beneficial effect: portable terminal adopts the indicating mode corresponding with the ambient sound of determining, has embodied the automatically function of control of portable terminal.
A kind of device of controlling indicating mode comprises:
Acquisition module is used for gathering ambient sound.
Analysis module is for the property value of determining ambient sound.
Interval module is used for the property value according to ambient sound, determines indicating mode.
Prompting module is used for adopting the indicating mode of determining.
The acquisition module of described device take the predefined time interval as collection period, periodically gather ambient sound; Perhaps, when needing to adopt indicating mode to remind, gather ambient sound; Perhaps, gather in real time ambient sound.
In the described device, property value comprises sound pressure level and/or frequency values.
In the described device, interval module is determined the ambient sound interval corresponding to property value of acquisition according to default property value and the corresponding relation in ambient sound interval, and the interval corresponding indicating mode of the ambient sound of determining and determining.
In the described device, analysis module also is used for calculating the recently average property value of the property value of the ambient sound of a collection period of end.
In the described device, after the average property value of the property value of the ambient sound of the collection period that analysis module calculating finishes recently, also will calculate the interior average property value of average property value and an adjacent upper collection period in the collection period that finishes recently, and draw the absolute value of both differences; Interval module determines that whether described absolute value is greater than predefined maximum variable quantity; If described absolute value is not more than maximum variable quantity, then prompting module keeps current indicating mode constant; If described absolute value is greater than maximum variable quantity, then interval module is determined ambient sound interval corresponding to average property value that obtains according to default property value and the corresponding relation in ambient sound interval.
In the described device, along with the ascending variation in ambient sound interval, the also ascending variation of prompting degree that indicating mode is corresponding.
In the described device, the ascending variation of prompting degree comprises one of following variation at least:
Remind the ascending variation of sound pressure level of the tinkle of bells.
Remind the ascending variation of frequency values of the tinkle of bells.
Friction is to the variation that vibration is arranged.
In the described device, if current indicating mode during for the indicating mode determined, prompting module keeps current indicating mode constant; When if current indicating mode is not the indicating mode of determining, prompting module is regulated indicating mode to the indicating mode of determining.
A kind of device of controlling indicating mode comprises:
Audio receiver is used for gathering ambient sound.
Processor is for the property value of determining ambient sound; According to the property value of ambient sound, determine indicating mode; Adopt the indicating mode of determining.
Other features and advantages of the present invention will be set forth in the following description, and, partly from specification, become apparent, perhaps understand by implementing the present invention.Purpose of the present invention and other advantages can realize and obtain by specifically noted structure in the specification of writing, claims and accompanying drawing.
Below by drawings and Examples, technical scheme of the present invention is described in further detail.
Description of drawings
Accompanying drawing is used to provide a further understanding of the present invention, and consists of the part of specification, is used for together with embodiments of the present invention explaining the present invention, is not construed as limiting the invention.In the accompanying drawings:
Fig. 1 is the method flow diagram of portable terminal control indicating mode in the embodiment of the invention;
Fig. 2 is the method flow diagram that portable terminal is controlled indicating mode in the embodiment of the invention according to the sound pressure level of ambient sound;
Fig. 3 is the method flow diagram that portable terminal is controlled the tinkle of bells sound pressure level and the frequency values of indicating mode according to sound pressure level and the frequency values of ambient sound in the embodiment of the invention;
Fig. 4 be in the embodiment of the invention portable terminal to the method flow diagram of the processing procedure of the mean value of the described sound pressure level in two adjacent collection period of nearest end;
Fig. 5 is the first structure chart of the device of control indicating mode in the embodiment of the invention;
Fig. 6 is the second structure chart of the device of control indicating mode in the embodiment of the invention.
Embodiment
Below in conjunction with accompanying drawing the preferred embodiments of the present invention are described, should be appreciated that preferred embodiment described herein only is used for description and interpretation the present invention, is not intended to limit the present invention.
Portable terminal gathers ambient sound in the embodiment of the invention, and the property value of definite ambient sound, and the corresponding ambient sound of definite property value is interval, and then portable terminal adopts and the interval corresponding indicating mode of described ambient sound, reduce user's operation burden with this, and improve convenience and the adaptability of mobile terminal device.
Referring to Fig. 1, the method flow of portable terminal control indicating mode is as follows in the present embodiment:
Step 101 portable terminal gathers ambient sound.
Step 102 portable terminal is determined the property value of ambient sound.
Step 103 portable terminal is determined indicating mode according to the property value of ambient sound.Concrete, portable terminal is according to default property value and the corresponding relation in ambient sound interval, and the ambient sound that definite property value that obtains is corresponding is interval; Portable terminal is determined and the interval corresponding indicating mode of the ambient sound of determining.
Step 104 portable terminal adopts the indicating mode of determining.
Following inventive embodiments gathers ambient sound by portable terminal, and the sound pressure level of definite ambient sound, and the corresponding ambient sound of definite sound pressure level is interval, and then portable terminal adopts and the interval corresponding indicating mode of described ambient sound.
Referring to Fig. 2, portable terminal is as follows according to the method flow of the sound pressure level control indicating mode of ambient sound in the present embodiment:
Step 201: portable terminal gathers ambient sound.Mobile terminal period ground gathers the sound in the surrounding environment, also can be when receiving note or call request need to be according to the indicating mode reminding user time, gather the sound in the environment.
Step 202: portable terminal is determined the sound pressure level of the ambient sound of collection.The sound pressure level of the ambient sound of for example, determining in the present embodiment is 39dB.
Step 203: portable terminal is determined ambient sound interval corresponding to sound pressure level that obtains according to default sound pressure level and the corresponding relation in ambient sound interval.For example, the sound pressure level that portable terminal is determined in the present embodiment is the ambient sound corresponding " ambient sound interval 02 " of 39dB.As shown in table 1.
Step 204: portable terminal adopts and the interval corresponding indicating mode of the ambient sound of determining.For example, as shown in table 1, " ambient sound interval 02 " correspondence " indicating mode 02 ".When if current indicating mode is " indicating mode 02 ", keep this pattern constant; When if current indicating mode is not " indicating mode 02 ", portable terminal will be regulated indicating mode to " indicating mode 02 " pattern.
Present embodiment is to give an example to determine that with sound pressure level ambient sound is interval, and then the indicating mode of definite portable terminal.Certainly, can also the proportion value etc. attribute determine that ambient sound is interval, and then definite indicating mode, embodiment can be referring to table 1 and embodiment shown in Figure 2.
Table 1
Figure BDA00002410989400071
What table 1 was represented is that different sound pressure levels becomes different intervals, respectively corresponding different indicating modes with the frequency values apportion.
From indicating mode 01 to indicating mode 06, along with the variation of indicating mode, the prompting degree uprises gradually.Uprising of prompting degree can be adopted one of following concrete mode or combination: improve gradually the sound pressure level of reminding the tinkle of bells, improve gradually the frequency values of reminding the tinkle of bells, from friction to vibration is arranged.
For example, indicating mode 01 comprises mute and vibration mode; Indicating mode 02 comprises the prompting the tinkle of bells of reference acoustic pressure value and reference frequency value (1kHz frequency), not vibration; Indicating mode 03 comprises the prompting the tinkle of bells of reference acoustic pressure value, and improves the frequency values of reminding the tinkle of bells, by the signal of filter by 1kHz~10kHz frequency, filters out 1kHz with the signal of lower frequency, and the Vibration on Start-up function; Indicating mode 04 comprises the reference acoustic pressure value that improves the prompting the tinkle of bells, reminds the tinkle of bells to keep the reference frequency value constant, and the Vibration on Start-up pattern; Indicating mode 05 comprises reference acoustic pressure value and the reference frequency value that improves the prompting the tinkle of bells, by the signal of filter by 1kHz~10kHz frequency, filters out 1kHz with the signal of lower frequency, and the Vibration on Start-up function; Indicating mode 06 comprises high reference frequency value of reminding the tinkle of bells, by the signal of filter by 1kHz~10kHz frequency, filters out 1kHz with the signal of lower frequency, and the Vibration on Start-up function.
Present embodiment is to describe as an example of sound pressure level example, can also determine that corresponding ambient sound is interval according to the frequency values of ambient sound, and then determine corresponding indicating mode.Referring to table 1 and embodiment shown in Figure 2.
In addition, the embodiment of the invention gathers ambient sound by portable terminal, according to sound pressure level and the frequency of ambient sound, determines that the corresponding ambient sound of ambient sound is interval; By volume and the frequency that the tinkle of bells is reminded in control, final portable terminal adopts and the interval corresponding indicating mode of described ambient sound.
Referring to Fig. 3, the method flow that portable terminal is controlled the tinkle of bells sound pressure level and the frequency values of indicating mode according to the sound pressure level of ambient sound and frequency values in following examples is as follows:
Step 301: mobile terminal period ground gathers surrounding environment sound.
Step 302: portable terminal is determined sound pressure level and the frequency values of ambient sound.For example, the sound pressure level of definite ambient sound is 55dB in the present embodiment; Frequency values is 4.2kHz.
Step 303: portable terminal is determined ambient sound interval corresponding to sound pressure level that obtains according to default sound pressure level and the corresponding relation in ambient sound interval.For example, described definite sound pressure level is 55dB, and frequency is the ambient sound corresponding " ambient sound interval 03 " of 4.2kHz.
Step 304: portable terminal adopts and the interval corresponding indicating mode of the ambient sound of determining.Portable terminal determines that " ambient sound interval 03 " corresponding indicating mode is " indicating mode 03 " in the present embodiment.For example, " indicating mode 03 " is that upper frequency is (such as regulation in the table 1, frequency is more than 2001Hz) remind the tinkle of bells to add the indicating mode of vibration, because of the sound pressure level of ambient sound and frequency values all higher (such as regulation in the table 1, frequency is more than 2001Hz), indicating mode keeps the prompting the tinkle of bells of reference acoustic pressure value, and the reference frequency value (1kHz frequency) of improve reminding the tinkle of bells by filter, by the signal of filter by 1kHz~10kHz frequency, filter out 1kHz with the signal of lower frequency, realize improving the prompting degree of indicating mode, and don't the infringement loud speaker.As shown in table 1, " ambient sound interval 03 " correspondence " indicating mode 03 ".When if current indicating mode is " indicating mode 03 ", keep this pattern constant; When if current indicating mode is not " indicating mode 03 ", portable terminal changes indicating mode to " indicating mode 03 " pattern.
In the following inventive embodiments, portable terminal take the predefined time interval as collection period, periodically gather ambient sound, and calculate the mean value of the sound pressure level of ambient sound in each cycle; Calculate the absolute value of described mean value in the collection period that finishes recently and the difference of the adjacent interior described mean value of a upper collection period, determine whether this absolute value has surpassed the maximum variable quantity of mean value of the described sound pressure level of predefined two collection period.Whether portable terminal surpasses the maximum variable quantity of described mean value according to the absolute value of described difference, determines whether to regulate indicating mode, makes indicating mode corresponding with ambient sound.
Referring to Fig. 4, portable terminal is as follows to the method flow of the processing procedure of the mean value of the described sound pressure level in two adjacent collection period of nearest end in the present embodiment:
Step 401: portable terminal calculates the recently mean value of the sound pressure level of the ambient sound of a collection period of end.Portable terminal gathers the sound in the environment, and calculates sound pressure level and the mean value of sound pressure level in collection period of these sound.
Step 402: the mean value of the sound pressure level that the mean value that portable terminal calculates the sound pressure level in the collection period that finishes recently and an adjacent upper collection period are interior, and draw the absolute value of both differences.
Step 403: whether portable terminal judges described absolute value greater than predefined maximum variable quantity, if described absolute value greater than maximum variable quantity, then portable terminal continues step 404; Otherwise portable terminal continues step 405.
Step 404: if described absolute value greater than maximum variable quantity, then portable terminal is determined the ambient sound interval that described sound pressure level is corresponding according to default sound pressure level and the corresponding relation in ambient sound interval.
Step 405: portable terminal keeps the current indicating mode that is adopting constant.
Portable terminal can periodically gather the sound in the environment in the present embodiment, the mean value of the sound pressure level in the computing cycle, when receiving the prompting of note, call request or network signal, in the time of need to be according to the indicating mode reminding user, continue step 402 and subsequent step.
Referring to Fig. 5, the comprising of a kind of device of controlling indicating mode in following examples: acquisition module 501, analysis module 502, interval module 503 and prompting module 504.
Acquisition module 501 is used for gathering ambient sound.Specifically can obtain ambient sound from equipment such as audio receivers.
Analysis module 502 is used for determining the property value of ambient sound.
Interval module 503 is used for according to default property value and the corresponding relation in ambient sound interval, and the ambient sound that definite property value that obtains is corresponding is interval.
Prompting module 504 adopts and the interval corresponding indicating mode of the ambient sound of determining.
Acquisition module 501 take the predefined time interval as collection period, periodically gather ambient sound; Perhaps, when needs adopt indicating mode to remind, gather ambient sound; Perhaps gather in real time ambient sound.
Wherein property value comprises sound pressure level and/or frequency values.
After the average property value of the property value of the ambient sound of the collection period that analysis module 502 calculating in the described device finish recently, also will calculate the interior average property value of average property value and an adjacent upper collection period in the collection period that finishes recently, and draw the absolute value of both differences; Analysis module 502 determines that whether described absolute value is greater than predefined maximum variable quantity; If described absolute value is not more than maximum variable quantity, then prompting module 504 keeps current indicating mode constant; If described absolute value is greater than maximum variable quantity, then interval module 503 is determined ambient sound interval corresponding to property value that obtains according to default property value and the corresponding relation in ambient sound interval.
Whether prompting module 504 is corresponding with described definite ambient sound interval according to current indicating mode, the control indicating mode.
If current indicating mode is during with the interval corresponding indicating mode of the ambient sound of determining, prompting module 504 keeps current indicating mode constant; If current indicating mode is not during with the interval corresponding indicating mode of the ambient sound of determining, prompting module 504 regulate indicating modes to the interval corresponding indicating mode of the ambient sound of determining.
In a kind of device of controlling indicating mode, along with the ascending variation in ambient sound interval, the also ascending variation of prompting degree that indicating mode is corresponding.
In the prompting module 504 in the described device, the ascending variation of prompting degree of indicating mode comprises one of following variation at least:
Remind the ascending variation of sound pressure level of the tinkle of bells.
Remind the ascending variation of frequency values of the tinkle of bells.
Friction is to the variation that vibration is arranged.
Referring to Fig. 6, the device of described control indicating mode comprises: audio receiver 601 and processor 602.
Audio receiver 601 is used for gathering ambient sound; Audio receiver is specially: sound transducer, pressure sensor etc.
Processor 602 is used for determining the property value of ambient sound; According to default property value and the corresponding relation in ambient sound interval, determine ambient sound interval corresponding to property value that obtains; Adopt and the interval corresponding indicating mode of the ambient sound of determining.
The embodiment of the invention gathers sound in the environment by portable terminal, and carries out various analyses and processing by the property value to ambient sound, adopts and the ambient sound indicating mode that adapts, thereby has optimized the prompting function of portable terminal, has reduced manual operation.Portable terminal gathers ambient sound in many ways, has reduced live load, has also improved efficient simultaneously.Whether portable terminal is according to needing prompting to determine whether indicating mode, more efficient like this, also meets the user to the actual demand of portable terminal.
Those skilled in the art should understand that embodiments of the invention can be provided as method, system or computer program.Therefore, the present invention can adopt complete hardware implementation example, complete implement software example or in conjunction with the form of the embodiment of software and hardware aspect.And the present invention can adopt the form of the computer program of implementing in one or more computer-usable storage medium (including but not limited to magnetic disc store and optical memory etc.) that wherein include computer usable program code.
The present invention is that reference is described according to flow chart and/or the block diagram of method, equipment (system) and the computer program of the embodiment of the invention.Should understand can be by the flow process in each flow process in computer program instructions realization flow figure and/or the block diagram and/or square frame and flow chart and/or the block diagram and/or the combination of square frame.Can provide these computer program instructions to the processor of all-purpose computer, special-purpose computer, Embedded Processor or other programmable data processing device producing a machine, so that the instruction of carrying out by the processor of computer or other programmable data processing device produces the device of the function that is used for being implemented in flow process of flow chart or a plurality of flow process and/or square frame of block diagram or a plurality of square frame appointments.
These computer program instructions also can be stored in energy vectoring computer or the computer-readable memory of other programmable data processing device with ad hoc fashion work, so that the instruction that is stored in this computer-readable memory produces the manufacture that comprises command device, this command device is implemented in the function of appointment in flow process of flow chart or a plurality of flow process and/or square frame of block diagram or a plurality of square frame.
These computer program instructions also can be loaded on computer or other programmable data processing device, so that carry out the sequence of operations step producing computer implemented processing at computer or other programmable devices, thereby be provided for being implemented in the step of the function of appointment in flow process of flow chart or a plurality of flow process and/or square frame of block diagram or a plurality of square frame in the instruction that computer or other programmable devices are carried out.
Obviously, those skilled in the art can carry out various changes and modification to the present invention and not break away from the spirit and scope of the present invention.Like this, if of the present invention these are revised and modification belongs within the scope of claim of the present invention and equivalent technologies thereof, then the present invention also is intended to comprise these changes and modification interior.

Claims (19)

1. a method of controlling indicating mode is characterized in that, may further comprise the steps:
Portable terminal gathers ambient sound;
Portable terminal is determined the property value of ambient sound;
Portable terminal is determined indicating mode according to the property value of ambient sound;
Portable terminal adopts the indicating mode of determining.
2. the method for claim 1 is characterized in that, the step that portable terminal gathers ambient sound comprises:
Portable terminal take the predefined time interval as collection period, periodically gather ambient sound; Perhaps
When portable terminal need to adopt indicating mode to remind, gather ambient sound; Perhaps
Portable terminal gathers ambient sound in real time.
3. the method for claim 1 is characterized in that, property value comprises sound pressure level and/or frequency values.
4. the method for claim 1 is characterized in that, portable terminal determines that according to the property value of ambient sound the step of indicating mode comprises:
Portable terminal is determined ambient sound interval corresponding to property value that obtains according to default property value and the corresponding relation in ambient sound interval; Portable terminal is determined and the interval corresponding indicating mode of the ambient sound of determining.
5. method as claimed in claim 4 is characterized in that, portable terminal is determined after the property value of ambient sound, and is further comprising the steps of:
Portable terminal calculates the recently average property value of the property value of the ambient sound of a collection period of end;
Portable terminal is according to default property value and the corresponding relation in ambient sound interval, the step in the ambient sound interval that definite property value that obtains is corresponding comprises: portable terminal is according to default average property value and the corresponding relation in ambient sound interval, and the ambient sound that the average property value of definite acquisition is corresponding is interval.
6. method as claimed in claim 5, it is characterized in that, after the average property value of the property value of the ambient sound of the collection period that portable terminal calculating finishes recently, further comprising the steps of: portable terminal calculates the interior average property value of average property value and an adjacent upper collection period in the collection period that finishes recently, and draws the absolute value of both differences; Portable terminal judges that whether described absolute value is greater than predefined maximum variable quantity; If described absolute value is not more than maximum variable quantity, then portable terminal keeps current indicating mode constant;
If described absolute value is greater than maximum variable quantity, then portable terminal is determined ambient sound interval corresponding to average property value that obtains according to default property value and the corresponding relation in ambient sound interval.
7. method as claimed in claim 4 is characterized in that, comprises with the interval corresponding indicating mode of ambient sound:
Along with the ascending variation in ambient sound interval, the also ascending variation of prompting degree that indicating mode is corresponding.
8. method as claimed in claim 7 is characterized in that, the ascending variation of prompting degree comprises one of following variation at least:
Remind the ascending variation of sound pressure level of the tinkle of bells;
Remind the ascending variation of frequency values of the tinkle of bells;
Friction is to the variation that vibration is arranged.
9. the method for claim 1 is characterized in that, portable terminal adopts the indicating mode of determining may further comprise the steps:
If current indicating mode is during for the indicating mode determined, portable terminal keeps current indicating mode constant; If current indicating mode is the indicating mode for determining, portable terminal regulate indicating mode to the indicating mode of determining.
10. a device of controlling indicating mode is characterized in that, comprising:
Acquisition module is used for gathering ambient sound;
Analysis module is for the property value of determining ambient sound;
Interval module is used for the property value according to ambient sound, determines indicating mode;
Prompting module is used for adopting the indicating mode of determining.
11. as claimed in claim 10 the device, it is characterized in that, acquisition module take the predefined time interval as collection period, periodically gather ambient sound; Perhaps, when needing to adopt indicating mode to remind, gather ambient sound; Perhaps, gather in real time ambient sound.
12. device is characterized in that property value comprises sound pressure level and/or frequency values as claimed in claim 10.
13. install as claimed in claim 10, it is characterized in that, interval module is according to default property value and the corresponding relation in ambient sound interval, and the ambient sound that definite property value that obtains is corresponding is interval, and the corresponding indicating mode in ambient sound interval of determining and determining.
14. device is characterized in that as claimed in claim 10, analysis module also is used for calculating the recently average property value of the property value of the ambient sound of a collection period of end;
Interval module is according to default average property value and the corresponding relation in ambient sound interval, and the ambient sound that definite average property value that obtains is corresponding is interval.
15. install as claimed in claim 10, it is characterized in that, after the average property value of the property value of the ambient sound of the collection period that analysis module calculating finishes recently, also will calculate the interior average property value of average property value and an adjacent upper collection period in the collection period that finishes recently, and draw the absolute value of both differences; Determine that whether described absolute value is greater than predefined maximum variable quantity;
If described absolute value is not more than maximum variable quantity, then prompting module keeps current indicating mode constant;
If described absolute value is greater than maximum variable quantity, then interval module is determined ambient sound interval corresponding to average property value that obtains according to default property value and the corresponding relation in ambient sound interval.
16. device is characterized in that as claimed in claim 10, along with the ascending variation in ambient sound interval, and the also ascending variation of prompting degree that indicating mode is corresponding.
17. install as claimed in claim 10, it is characterized in that the ascending variation of prompting degree comprises one of following variation at least:
Remind the ascending variation of sound pressure level of the tinkle of bells;
Remind the ascending variation of frequency values of the tinkle of bells;
Friction is to the variation that vibration is arranged.
18. device is characterized in that as claimed in claim 10, if current indicating mode during for the indicating mode determined, prompting module keeps current indicating mode constant; When if current indicating mode is not the indicating mode of determining, prompting module is regulated indicating mode to the indicating mode of determining.
19. a device of controlling indicating mode is characterized in that, comprising:
Audio receiver is used for gathering ambient sound;
Processor is for the property value of determining ambient sound; According to the property value of ambient sound, determine indicating mode; Adopt the indicating mode of determining.
CN201210461495.9A 2012-11-15 2012-11-15 Method for controlling reminding mode and device Active CN102946483B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210461495.9A CN102946483B (en) 2012-11-15 2012-11-15 Method for controlling reminding mode and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210461495.9A CN102946483B (en) 2012-11-15 2012-11-15 Method for controlling reminding mode and device

Publications (2)

Publication Number Publication Date
CN102946483A true CN102946483A (en) 2013-02-27
CN102946483B CN102946483B (en) 2014-11-26

Family

ID=47729388

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210461495.9A Active CN102946483B (en) 2012-11-15 2012-11-15 Method for controlling reminding mode and device

Country Status (1)

Country Link
CN (1) CN102946483B (en)

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104468944A (en) * 2013-09-16 2015-03-25 联想(北京)有限公司 An information processing method and apparatus
CN104618589A (en) * 2015-01-20 2015-05-13 深圳市金立通信设备有限公司 Terminal
CN104954539A (en) * 2014-03-25 2015-09-30 联想(北京)有限公司 Information processing method and electric device
CN105321527A (en) * 2014-06-26 2016-02-10 广东美的制冷设备有限公司 Terminal operation environment prompt method and system
CN105516490A (en) * 2015-12-09 2016-04-20 广东欧珀移动通信有限公司 Incoming call processing method and apparatus and terminal device
CN105847592A (en) * 2016-05-25 2016-08-10 维沃移动通信有限公司 Method for starting vibration mode and mobile terminal
CN105895092A (en) * 2015-01-26 2016-08-24 阿里巴巴集团控股有限公司 Method and device for processing ambient sound
WO2017120944A1 (en) * 2016-01-17 2017-07-20 谢文 Technology-related data collection 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
CN103870235B (en) * 2014-03-24 2017-11-07 深圳市金立通信设备有限公司 A kind of terminal operation method and terminal
CN104618589B (en) * 2015-01-20 2018-02-09 深圳市金立通信设备有限公司 A kind of terminal
CN109660653A (en) * 2017-10-11 2019-04-19 成都鼎桥通信技术有限公司 Method for controlling volume and device

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020076033A1 (en) * 2000-12-14 2002-06-20 International Business Machines Corporation Intelligent telephone ringer control and method
CN102075606A (en) * 2010-12-09 2011-05-25 深圳桑菲消费通信有限公司 Method for automatically changing mobile phone ring volume according to environment noise volume

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020076033A1 (en) * 2000-12-14 2002-06-20 International Business Machines Corporation Intelligent telephone ringer control and method
CN102075606A (en) * 2010-12-09 2011-05-25 深圳桑菲消费通信有限公司 Method for automatically changing mobile phone ring volume according to environment noise volume

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104468944A (en) * 2013-09-16 2015-03-25 联想(北京)有限公司 An information processing method and apparatus
CN103870235B (en) * 2014-03-24 2017-11-07 深圳市金立通信设备有限公司 A kind of terminal operation method and terminal
CN104954539A (en) * 2014-03-25 2015-09-30 联想(北京)有限公司 Information processing method and electric device
CN105321527A (en) * 2014-06-26 2016-02-10 广东美的制冷设备有限公司 Terminal operation environment prompt method and system
CN104618589A (en) * 2015-01-20 2015-05-13 深圳市金立通信设备有限公司 Terminal
CN104618589B (en) * 2015-01-20 2018-02-09 深圳市金立通信设备有限公司 A kind of terminal
CN105895092A (en) * 2015-01-26 2016-08-24 阿里巴巴集团控股有限公司 Method and device for processing ambient sound
CN105895092B (en) * 2015-01-26 2020-12-18 阿里巴巴集团控股有限公司 Method and device for processing environmental sound
CN105516490A (en) * 2015-12-09 2016-04-20 广东欧珀移动通信有限公司 Incoming call processing method and apparatus and terminal device
WO2017120944A1 (en) * 2016-01-17 2017-07-20 谢文 Technology-related data collection 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
CN105847592A (en) * 2016-05-25 2016-08-10 维沃移动通信有限公司 Method for starting vibration mode and mobile terminal
CN109660653A (en) * 2017-10-11 2019-04-19 成都鼎桥通信技术有限公司 Method for controlling volume and device

Also Published As

Publication number Publication date
CN102946483B (en) 2014-11-26

Similar Documents

Publication Publication Date Title
CN102946483B (en) Method for controlling reminding mode and device
CN106898348B (en) Dereverberation control method and device for sound production equipment
CN102118513A (en) Mobile terminal and ringtone adjusting method therefor
CN101795323B (en) Electronic alarm operation method, electronic alarm and mobile communication terminal
US20110176697A1 (en) Hearing Aids, Computing Devices, and Methods for Hearing Aid Profile Update
CN101924828A (en) Mobile terminal, method and device for adjusting volume thereof
US20120183163A1 (en) Portable Electronic Device and Computer-Readable Medium for Remote Hearing Aid Profile Storage
CN102355562A (en) Volume control method and equipment
CN109788388A (en) Earphone noise-reduction method, smart bluetooth earphone and computer readable storage medium
CN102905028A (en) Mobile terminal prompt information regulating method and corresponding mobile terminal
CN103237137A (en) Method and system for adjusting volume of mobile terminal
CN106303806B (en) The volume balance control method and device of sound system
US11068230B2 (en) Bluetooth speaker, and intelligent control method for playing audio
CN104869218A (en) Information processing method and device and electronic equipment
CN113531844B (en) Control method and system for noise reduction of air conditioner, electronic equipment and storage medium
JP2018506906A (en) Method and apparatus for controlling headset noise reduction
CN111182415A (en) Sound box control method, intelligent sound box and storage medium
CN103309657A (en) Method, device and equipment for exchanging mobile equipment ring voice frequency
CN105338162A (en) Method and system for adaptively adjusting incoming call prompting modes of mobile phone
CN202979082U (en) Automatic call volume adjuster applied for mobile phone
CN106161801A (en) The In Call control method of a kind of mobile terminal and device
CN111260864A (en) Voice broadcast control method and device and air conditioner
CN104967747A (en) Mobile terminal prompting mechanism intelligent adjusting method and system and mobile terminal
CN110972012A (en) Earphone control method and earphone
CN109511041A (en) A kind of method, apparatus and earphone of the booting setting of earphone

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C53 Correction of patent of invention or patent application
CB02 Change of applicant information

Address after: 100085 Beijing city Haidian District Qinghe Street No. 68 Huarun colorful city shopping center two floor 13

Applicant after: Xiaomi Technology Co., Ltd.

Address before: 100102, No. 50, block B, building No. 12, winding stone world building, Wangjing West Road, Beijing, Chaoyang District

Applicant before: Beijing Xiaomi Technology Co., Ltd.

C14 Grant of patent or utility model
GR01 Patent grant
EE01 Entry into force of recordation of patent licensing contract

Application publication date: 20130227

Assignee: BEIJING SMARTMI TECHNOLOGY CO., LTD.

Assignor: Xiaomi Technology Co., Ltd.

Contract record no.: 2015110000039

Denomination of invention: Method for controlling reminding mode and device

Granted publication date: 20141126

License type: Exclusive License

Record date: 20150812

LICC Enforcement, change and cancellation of record of contracts on the licence for exploitation of a patent or utility model