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

Method for controlling reminding mode and device Download PDF

Info

Publication number
CN102946483B
CN102946483B CN201210461495.9A CN201210461495A CN102946483B CN 102946483 B CN102946483 B CN 102946483B CN 201210461495 A CN201210461495 A CN 201210461495A CN 102946483 B CN102946483 B CN 102946483B
Authority
CN
China
Prior art keywords
ambient sound
indicating mode
property value
mobile 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.)
Active
Application number
CN201210461495.9A
Other languages
Chinese (zh)
Other versions
CN102946483A (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
Xiaomi Inc
Original Assignee
Xiaomi Inc
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 Xiaomi Inc filed Critical Xiaomi Inc
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

Landscapes

  • Telephone Function (AREA)

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 development of scientific and technological progress and mobile terminal technology, various mobile terminal devices are being played the part of more and more important role in daily life.The convenience of mobile 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.Taking mobile phone as example, existing ringing sound of cell phone adjustment scheme is to arrange according to the difference of contextual model, is conventionally 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 conventionally, therefore flexibility and promptness that ringing sound of cell phone changes have been limited, often cause some unnecessary inconvenience, for example: enter in noisy environment and forgotten that adjustment ringing sound of cell phone can't hear ringing sound of cell phone for outdoor pattern, or hear suddenly in bed at night and affect rest of own and household etc. compared with large the tinkle of bells.
In addition, the design phase that is adjusted in to ringing volume in existing mobile phone is to be all divided into mobile phone ringtone volume gear, then regulate the button of side or touch screen operates by user according to different scene and regulate volume to identify, or by the size of the button adjusting ringtone volume of keyboard.And these methods, because operating process is loaded down with trivial details, also for user has caused burden, have affected the convenience of mobile terminal device.
May cause thinking that the tinkle of bells is too noisy quietly time if the problem that may occur in current technical scheme is thus set to max volume exactly, affect the work of oneself or people around; If user turns volume down, can cause under noisy environment bell sound too little, cause oneself can't hear bell sound, miss phone and miss other information.Because most of user can not often regulate ringtone volume according to environment.In sum, the bad adaptability of technical scheme, and complex operation at present, it is convenient not that user experiences.
Summary of the invention
The embodiment of the present invention provides a kind of method and apparatus of controlling indicating mode, for realizing mobile terminal according to ambient sound control indicating mode.
A method of controlling indicating mode, comprises the following steps: mobile terminal gathers ambient sound; Mobile terminal is determined the property value of ambient sound; Mobile terminal, according to the property value of ambient sound, is determined indicating mode; Mobile terminal adopts definite indicating mode.In the present embodiment, mobile terminal is controlled indicating mode automatically according to ambient sound, has reduced manual operation, and has optimized the adaptability of indicating mode to environment.
The step that mobile terminal gathers ambient sound comprises: mobile terminal, taking the predefined time interval as collection period, periodically gathers ambient sound; Or, when mobile terminal need to adopt indicating mode to remind, gather ambient sound; Or mobile terminal gathers ambient sound in real time.Like this, periodically gather ambient sound, the mobile terminal Real-time Collection ambient sound of comparing, has reduced the live load of mobile terminal; Mobile terminal gathers ambient sound in the time that needs indicating mode is reminded, and in the time not needing to remind, does not gather ambient sound, and the mobile terminal Real-time Collection ambient sound of comparing, has reduced unnecessary gatherer process, and this working method is more efficient; Mobile terminal Real-time Collection ambient sound, can quickly respond to the demand of indicating mode.
In described method, property value comprises sound pressure level and/or frequency values.The collection of mobile terminal to the multiple property value of ambient sound and property value combination, more fully analysis environments sound, indicating mode is also more accurate.
Preferably, mobile terminal, according to the property value of ambient sound, determines that the step of indicating mode comprises: mobile terminal, according to default property value and the corresponding relation in ambient sound interval, is determined ambient sound interval corresponding to property value obtaining; Mobile terminal is determined and the interval corresponding indicating mode of definite ambient sound.
Preferably, after mobile terminal is determined the property value of ambient sound, further comprising the steps of: mobile terminal calculates the average property value of the property value of the ambient sound of the collection period finishing recently.Mobile 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 obtaining is corresponding comprises: mobile terminal, according to default average property value and the corresponding relation in ambient sound interval, is determined the ambient sound interval corresponding to average property value of acquisition.Reduced the of short duration and unexpected variation due to ambient sound, mobile terminal is determined the ambient sound interval corresponding with property value continually, is of value to the live load that reduces mobile terminal.
Preferably, after mobile terminal calculates the average property value of property value of the ambient sound of the collection period finishing recently, further comprising the steps of: mobile terminal calculates the average property value in average property value in the collection period finishing recently and an adjacent upper collection period, and draw the absolute value of both differences; Mobile terminal judges whether described absolute value is greater than predefined maximum variable quantity.If described absolute value is not more than maximum variable quantity, mobile terminal keeps current indicating mode constant; If described absolute value is greater than maximum variable quantity, mobile terminal, according to default average property value and the corresponding relation in ambient sound interval, is determined ambient sound interval corresponding to average property value obtaining.Beneficial effect: when ambient sound changes hour, mobile terminal does not change indicating mode; While only having ambient sound to have larger variation, mobile terminal just can be determined corresponding ambient sound interval according to described property value.Alleviate the live load of mobile terminal, and improved efficiency.
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 ensured prompting degree simultaneously.
Preferably, the ascending variation of prompting degree at least comprises one of following variation: 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 has vibration.Beneficial effect: the tinkle of bells of indicating mode is in many-sided ascending variation 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, mobile terminal adopts definite indicating mode to comprise the following steps: if when current indicating mode is definite indicating mode, mobile terminal keeps current indicating mode constant; If current indicating mode is not definite indicating mode, mobile terminal regulate indicating mode to definite indicating mode.Beneficial effect: mobile terminal adopts the indicating mode corresponding with definite ambient sound, has embodied the function that mobile terminal is controlled automatically.
A device of controlling indicating mode, comprising:
Acquisition module, for gathering ambient sound.
Analysis module, for determining the property value of ambient sound.
Interval module, for the property value according to ambient sound, determines indicating mode.
Prompting module, for adopting definite indicating mode.
The acquisition module of described device, taking the predefined time interval as collection period, periodically gathers ambient sound; Or, need to adopt indicating mode to remind time, gather ambient sound; Or, gather in real time ambient sound.
In described device, property value comprises sound pressure level and/or frequency values.
In described device, interval module, according to default property value and the corresponding relation in ambient sound interval, is determined ambient sound interval corresponding to property value obtaining, and determines and the interval corresponding indicating mode of definite ambient sound.
In described device, analysis module is also for calculating the average property value of property value of ambient sound of the collection period finishing recently.
In described device, after analysis module calculates the average property value of property value of the ambient sound of the collection period finishing recently, also by the average property value calculating in average property value in the collection period that finishes recently and an adjacent upper collection period, and draw the absolute value of both differences; Interval module determines whether described absolute value is greater than predefined maximum variable quantity; If described absolute value is not more than maximum variable quantity, prompting module keeps current indicating mode constant; If described absolute value is greater than maximum variable quantity, interval module, according to default property value and the corresponding relation in ambient sound interval, is determined ambient sound interval corresponding to average property value obtaining.
In described device, along with the ascending variation in ambient sound interval, the also ascending variation of prompting degree that indicating mode is corresponding.
In described device, the ascending variation of prompting degree at least comprises one of following variation:
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 has vibration.
In described device, if when current indicating mode is definite indicating mode, prompting module keeps current indicating mode constant; If when current indicating mode is not definite indicating mode, prompting module regulates indicating mode to definite indicating mode.
A device of controlling indicating mode, comprising:
Audio receiver, for gathering ambient sound.
Processor, for determining the property value of ambient sound; According to the property value of ambient sound, determine indicating mode; Adopt definite indicating mode.
Other features and advantages of the present invention will be set forth in the following description, and, partly from specification, become apparent, or understand by implementing the present invention.Object of the present invention and other advantages can be realized and be obtained by specifically noted structure in write specification, claims and accompanying drawing.
Below by drawings and Examples, technical scheme of the present invention is described in further detail.
Brief description of the drawings
Accompanying drawing is used to provide a further understanding of the present invention, and forms a part for specification, for explaining the present invention, is not construed as limiting the invention together with embodiments of the present invention.In the accompanying drawings:
Fig. 1 is the method flow diagram of mobile terminal control indicating mode in the embodiment of the present invention;
Fig. 2 be in the embodiment of the present invention mobile terminal according to the method flow diagram of the sound pressure level control indicating mode of ambient sound;
Fig. 3 is the method flow diagram that in the embodiment of the present invention, mobile 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;
Fig. 4 is the method flow diagram of the processing procedure of the mean value of mobile terminal to the described sound pressure level in two the adjacent collection period that finish recently in the embodiment of the present invention;
Fig. 5 is the first structure chart of controlling the device of indicating mode in the embodiment of the present invention;
Fig. 6 is the second structure chart of controlling the device of indicating mode in the embodiment of the present 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 for description and interpretation the present invention, is not intended to limit the present invention.
In the embodiment of the present invention, mobile terminal gathers ambient sound, and the property value of definite ambient sound, and the corresponding ambient sound of definite property value interval, and then mobile 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, in the present embodiment, the method flow of mobile terminal control indicating mode is as follows:
Step 101 mobile terminal gathers ambient sound.
Step 102 mobile terminal is determined the property value of ambient sound.
Step 103 mobile terminal, according to the property value of ambient sound, is determined indicating mode.Concrete, mobile terminal, according to default property value and the corresponding relation in ambient sound interval, is determined ambient sound interval corresponding to property value obtaining; Mobile terminal is determined and the interval corresponding indicating mode of definite ambient sound.
Step 104 mobile terminal adopts definite indicating mode.
Following inventive embodiments gathers ambient sound by mobile terminal, and the sound pressure level of definite ambient sound, and the corresponding ambient sound of definite sound pressure level interval, and then mobile terminal adopts and the interval corresponding indicating mode of described ambient sound.
Referring to Fig. 2, in the present embodiment, mobile terminal is as follows according to the method flow of the sound pressure level control indicating mode of ambient sound:
Step 201: mobile terminal gathers ambient sound.Mobile terminal period ground gathers the sound in surrounding environment, also can be in the time receiving note or call request need to be according to indicating mode reminding user time, gather the sound in environment.
Step 202: mobile terminal is determined the sound pressure level of the ambient sound gathering.For example, the sound pressure level of definite ambient sound is 39dB in the present embodiment.
Step 203: mobile terminal, according to default sound pressure level and the corresponding relation in ambient sound interval, is determined ambient sound interval corresponding to sound pressure level obtaining.For example, the ambient sound correspondence " ambient sound interval 02 " that in the present embodiment, the definite sound pressure level of mobile terminal is 39dB.As shown in table 1.
Step 204: mobile terminal adopts and the interval corresponding indicating mode of definite ambient sound.For example, as shown in table 1, " ambient sound interval 02 " correspondence " indicating mode 02 ".If when current indicating mode is " indicating mode 02 ", keep this pattern constant; If when current indicating mode is not " indicating mode 02 ", mobile terminal will regulate indicating mode to " indicating mode 02 " pattern.
The present embodiment is to give an example and determine ambient sound interval with sound pressure level, and then the indicating mode of definite mobile terminal.Certainly, can also proportion value etc. attribute determine ambient sound interval, and then definite indicating mode, embodiment can be referring to the embodiment shown in table 1 and Fig. 2.
Table 1
What table 1 was represented is that different sound pressure levels becomes different intervals, respectively corresponding different indicating modes with frequency values apportion.
From indicating mode 01 to indicating mode 06, along with the variation of indicating mode, prompting degree uprises gradually.Uprising of prompting degree can adopt 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 there being vibration.
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 1kHz~10kHz frequency, filters out the signal of 1kHz with lower frequency by filter, and Vibration on Start-up function; Indicating mode 04 comprises the reference acoustic pressure value that improves prompting the tinkle of bells, reminds the tinkle of bells to keep reference frequency value constant, and Vibration on Start-up pattern; Indicating mode 05 comprises the reference acoustic pressure value and the reference frequency value that improve prompting the tinkle of bells, by the signal of 1kHz~10kHz frequency, filters out the signal of 1kHz with lower frequency by filter, and Vibration on Start-up function; Indicating mode 06 comprises high reference frequency value of reminding the tinkle of bells, by the signal of 1kHz~10kHz frequency, filters out the signal of 1kHz with lower frequency by filter, and Vibration on Start-up function.
The present embodiment is to describe as an example of sound pressure level example, can also determine corresponding ambient sound interval according to the frequency values of ambient sound, and then determines corresponding indicating mode.Referring to the embodiment shown in table 1 and Fig. 2.
In addition, the embodiment of the present invention gathers ambient sound by mobile terminal, according to sound pressure level and the frequency of ambient sound, determines the corresponding ambient sound of ambient sound interval; Remind volume and the frequency of the tinkle of bells by control, final mobile terminal adopts and the interval corresponding indicating mode of described ambient sound.
Referring to Fig. 3, the method flow that in following examples, mobile 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 is as follows:
Step 301: mobile terminal period ground gathers surrounding environment sound.
Step 302: mobile terminal is determined sound pressure level and the frequency values of ambient sound.For example, in the present embodiment, the sound pressure level of definite ambient sound is 55dB; Frequency values is 4.2kHz.
Step 303: mobile terminal, according to default sound pressure level and the corresponding relation in ambient sound interval, is determined ambient sound interval corresponding to sound pressure level obtaining.For example, described definite sound pressure level is 55dB, the ambient sound correspondence " ambient sound interval 03 " that frequency is 4.2kHz.
Step 304: mobile terminal adopts and the interval corresponding indicating mode of definite ambient sound.In the present embodiment, mobile terminal determines that " ambient sound interval 03 " corresponding indicating mode is " indicating mode 03 ".For example, " indicating mode 03 " is that upper frequency is (as regulation in 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 (as regulation in table 1, frequency is more than 2001Hz), indicating mode keeps the prompting the tinkle of bells of reference acoustic pressure value, and improve and remind the reference frequency value (1kHz frequency) of the tinkle of bells by filter, pass through the signal of 1kHz~10kHz frequency by filter, filter out the signal of 1kHz with lower frequency, realize the prompting degree that improves indicating mode, and don't infringement loud speaker.As shown in table 1, " ambient sound interval 03 " correspondence " indicating mode 03 ".If when current indicating mode is " indicating mode 03 ", keep this pattern constant; If when current indicating mode is not " indicating mode 03 ", mobile terminal changes indicating mode to " indicating mode 03 " pattern.
In following inventive embodiments, mobile terminal, taking the predefined time interval as collection period, periodically gathers ambient sound, and calculates the mean value of the sound pressure level of ambient sound in each cycle; In the interior described mean value of collection period that calculating finishes recently and an adjacent upper collection period, the absolute value of the difference of described mean value, determines whether this absolute value has exceeded the maximum variable quantity of the mean value of the described sound pressure level of predefined two collection period.Whether mobile terminal exceedes 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, in the present embodiment, the method flow of the processing procedure of the mean value of mobile terminal to the described sound pressure level in two the adjacent collection period that finish is recently as follows:
Step 401: mobile terminal calculates the mean value of the sound pressure level of the ambient sound of the collection period finishing recently.Mobile terminal gathers the sound in environment, and calculates sound pressure level and the mean value of sound pressure level in collection period of these sound.
Step 402: mobile terminal calculates the mean value of the sound pressure level in mean value and the adjacent upper collection period of the sound pressure level in the collection period finishing recently, and draw the absolute value of both differences.
Step 403: mobile terminal judges whether described absolute value is greater than predefined maximum variable quantity, if described absolute value is greater than maximum variable quantity, mobile terminal continues step 404; Otherwise mobile terminal continues step 405.
Step 404: if described absolute value is greater than maximum variable quantity, mobile terminal, according to default sound pressure level and the corresponding relation in ambient sound interval, is determined described ambient sound interval corresponding to sound pressure level.
Step 405: mobile terminal keeps the current indicating mode adopting constant.
In the present embodiment, mobile terminal can periodically gather the sound in environment, the mean value of the sound pressure level in computing cycle, in the time receiving note, call request or network signal prompting, need to be according to indicating mode reminding user time, 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 for gathering ambient sound.Specifically can obtain ambient sound from equipment such as audio receivers.
Analysis module 502 is for determining the property value of ambient sound.
Interval module 503, for the corresponding relation in the property value according to default and ambient sound interval, is determined ambient sound interval corresponding to property value obtaining.
Prompting module 504 adopts and the interval corresponding indicating mode of definite ambient sound.
Acquisition module 501, taking the predefined time interval as collection period, periodically gathers ambient sound; Or, in the time that needs adopt indicating mode to remind, gather ambient sound; Or gather in real time ambient sound.
Wherein property value comprises sound pressure level and/or frequency values.
After analysis module 502 in described device calculates the average property value of property value of the ambient sound of the collection period finishing recently, also by the average property value calculating in average property value in the collection period that finishes recently and an adjacent upper collection period, and draw the absolute value of both differences; Analysis module 502 determines whether described absolute value is greater than predefined maximum variable quantity; If described absolute value is not more than maximum variable quantity, prompting module 504 keeps current indicating mode constant; If described absolute value is greater than maximum variable quantity, interval module 503, according to default property value and the corresponding relation in ambient sound interval, is determined ambient sound interval corresponding to property value obtaining.
Whether prompting module 504 is corresponding with described definite ambient sound interval according to current indicating mode, controls indicating mode.
If current indicating mode is during with the interval corresponding indicating mode of definite ambient sound, prompting module 504 keeps current indicating mode constant; If current indicating mode is not during with the interval corresponding indicating mode of definite ambient sound, prompting module 504 regulate indicating mode to the definite interval corresponding indicating mode of ambient sound.
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 prompting module 504 in described device, the ascending variation of prompting degree of indicating mode at least comprises one of following variation:
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 has vibration.
Referring to Fig. 6, the device of described control indicating mode comprises: audio receiver 601 and processor 602.
Audio receiver 601 is for gathering ambient sound; Audio receiver is specially: sound transducer, pressure sensor etc.
Processor 602 is 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 obtaining; Adopt and the interval corresponding indicating mode of definite ambient sound.
The embodiment of the present invention gathers the sound in environment by mobile terminal, and by the property value of ambient sound is carried out to various analyses and processing, adopts and the ambient sound indicating mode that adapts, thereby has optimized the prompting function of mobile terminal, has reduced manual operation.Mobile terminal gathers ambient sound in many ways, has reduced live load, has also improved efficiency simultaneously.Whether mobile terminal is according to needing prompting to determine whether indicating mode, more efficient like this, also meets the actual demand of user to mobile terminal.
Those skilled in the art should understand, embodiments of the invention can be provided as method, system or computer program.Therefore, the present invention can adopt complete hardware implementation example, completely implement software example or the form in conjunction with the embodiment of software and hardware aspect.And the present invention can adopt the form at one or more upper computer programs of implementing of 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 with reference to describing according to flow chart and/or the block diagram of the method for the embodiment of the present invention, equipment (system) and computer program.Should understand can be by the flow process in each flow process in computer program instructions realization flow figure and/or block diagram and/or square frame and flow chart and/or 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 to produce a machine, the instruction that makes to carry out by the processor of computer or other programmable data processing device produces the device for realizing the function of specifying at flow process of flow chart or multiple flow process and/or square frame of block diagram or multiple square frame.
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, the instruction that makes to be stored in this computer-readable memory produces the manufacture that comprises command device, and this command device is realized the function of specifying in flow process of flow chart or multiple flow process and/or square frame of block diagram or multiple square frame.
These computer program instructions also can be loaded in computer or other programmable data processing device, make to carry out sequence of operations step to produce computer implemented processing on computer or other programmable devices, thereby the instruction of carrying out is provided for realizing the step of the function of specifying in flow process of flow chart or multiple flow process and/or square frame of block diagram or multiple square frame on computer or other programmable devices.
Obviously, those skilled in the art can carry out various changes and modification and not depart from the spirit and scope of the present invention the present invention.Like this, if these amendments of the present invention and within modification belongs to the scope of the claims in the present invention and equivalent technologies thereof, the present invention is also intended to comprise these changes and modification interior.

Claims (13)

1. a method of controlling indicating mode, is characterized in that, comprises the following steps:
Mobile terminal gathers ambient sound;
Mobile terminal is determined the property value of ambient sound, and property value comprises sound pressure level and/or frequency values;
Mobile terminal calculates the average property value of the property value of the ambient sound of the collection period finishing recently;
Mobile terminal calculates the average property value in average property value in the collection period finishing recently and an adjacent upper collection period, and draws the absolute value of both differences; Mobile terminal judges whether described absolute value is greater than predefined maximum variable quantity; If described absolute value is not more than maximum variable quantity, mobile terminal keeps current indicating mode constant;
If described absolute value is greater than maximum variable quantity, mobile terminal, according to default property value and the corresponding relation in ambient sound interval, is determined ambient sound interval corresponding to average property value obtaining;
Mobile terminal, according to the property value in ambient sound interval corresponding to the average property value obtaining, is determined indicating mode;
Mobile terminal adopts definite indicating mode.
2. the method for claim 1, is characterized in that, the step that mobile terminal gathers ambient sound comprises:
Mobile terminal, taking the predefined time interval as collection period, periodically gathers ambient sound; Or
When mobile terminal need to adopt indicating mode to remind, gather ambient sound; Or
Mobile terminal gathers ambient sound in real time.
3. the method for claim 1, is characterized in that, mobile terminal, according to the property value in ambient sound interval corresponding to the average property value obtaining, determines that the step of indicating mode comprises:
Mobile terminal, according to default property value and the corresponding relation in ambient sound interval, is determined ambient sound interval corresponding to property value obtaining; Mobile terminal is determined and the interval corresponding indicating mode of definite ambient sound.
4. method as claimed in claim 3, 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.
5. method as claimed in claim 4, is characterized in that, the ascending variation of prompting degree at least comprises one of following variation:
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 has vibration.
6. the method for claim 1, is characterized in that, mobile terminal adopts definite indicating mode to comprise the following steps:
If when current indicating mode is definite indicating mode, mobile terminal keeps current indicating mode constant; If current indicating mode is not definite indicating mode, mobile terminal regulate indicating mode to definite indicating mode.
7. a device of controlling indicating mode, is characterized in that, comprising:
Acquisition module, for gathering ambient sound;
Analysis module, for determining the property value of ambient sound, property value comprises sound pressure level and/or frequency values, calculate the average property value of the property value of the ambient sound of the collection period finishing recently, by the average property value calculating in average property value in the collection period that finishes recently and an adjacent upper collection period, and draw the absolute value of both differences; Determine whether described absolute value is greater than predefined maximum variable quantity;
Keep module, in the time that described absolute value is not more than maximum variable quantity, keep current indicating mode constant;
Interval module, in the time that described absolute value is greater than maximum variable quantity, according to default property value and the corresponding relation in ambient sound interval, determines ambient sound interval corresponding to average property value obtaining; According to the property value in ambient sound interval corresponding to the average property value obtaining, determine indicating mode;
Prompting module, for adopting definite indicating mode.
8. install as claimed in claim 7, it is characterized in that, acquisition module, taking the predefined time interval as collection period, periodically gathers ambient sound; Or, need to adopt indicating mode to remind time, gather ambient sound; Or, gather in real time ambient sound.
9. install as claimed in claim 7, it is characterized in that, interval module, according to default property value and the corresponding relation in ambient sound interval, is determined ambient sound interval corresponding to property value obtaining, and determines and the interval corresponding indicating mode of definite ambient sound.
10. install as claimed in claim 9, it is characterized in that, along with the ascending variation in ambient sound interval, the also ascending variation of prompting degree that indicating mode is corresponding.
11. install as claimed in claim 10, it is characterized in that, the ascending variation of prompting degree at least comprises one of following variation:
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 has vibration.
12. devices as claimed in claim 7, is characterized in that, if when current indicating mode is definite indicating mode, prompting module keeps current indicating mode constant; If when current indicating mode is not definite indicating mode, prompting module regulates indicating mode to definite indicating mode.
Control the device of indicating mode for 13. 1 kinds, it is characterized in that, comprising:
Audio receiver, for gathering ambient sound;
Processor, for determining the property value of ambient sound; Calculate the average property value of the property value of the ambient sound of the collection period finishing recently; Calculate the average property value in average property value in the collection period that finishes recently and an adjacent upper collection period, and draw the absolute value of both differences; Mobile terminal judges whether described absolute value is greater than predefined maximum variable quantity; If described absolute value is not more than maximum variable quantity, mobile terminal keeps current indicating mode constant; If described absolute value is greater than maximum variable quantity, mobile terminal, according to default property value and the corresponding relation in ambient sound interval, is determined ambient sound interval corresponding to average property value obtaining; According to the property value in ambient sound interval corresponding to the average property value obtaining, determine indicating mode; Adopt definite indicating mode.
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 CN102946483A (en) 2013-02-27
CN102946483B true 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)

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104468944B (en) * 2013-09-16 2018-02-27 联想(北京)有限公司 A kind of method and apparatus of information processing
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
CN105321527B (en) * 2014-06-26 2019-07-19 广东美的制冷设备有限公司 Terminal operating environment reminding method and system
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
WO2017120956A1 (en) * 2016-01-17 2017-07-20 谢文 Method of giving alarm during headphone usage, 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
CN105847592B (en) * 2016-05-25 2020-05-01 维沃移动通信有限公司 Method for starting vibration mode and mobile terminal
CN109660653A (en) * 2017-10-11 2019-04-19 成都鼎桥通信技术有限公司 Method for controlling volume and device

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102075606A (en) * 2010-12-09 2011-05-25 深圳桑菲消费通信有限公司 Method for automatically changing mobile phone ring volume according to environment noise volume

Family Cites Families (1)

* 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

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102075606A (en) * 2010-12-09 2011-05-25 深圳桑菲消费通信有限公司 Method for automatically changing mobile phone ring volume according to environment noise volume

Also Published As

Publication number Publication date
CN102946483A (en) 2013-02-27

Similar Documents

Publication Publication Date Title
CN102946483B (en) Method for controlling reminding mode and device
US8792661B2 (en) Hearing aids, computing devices, and methods for hearing aid profile update
CN102118513A (en) Mobile terminal and ringtone adjusting method therefor
CN100440899C (en) A method and apparatus for automatic regulation of mobile phone volume
US20150078575A1 (en) Audio apparatus and methods
CN106898348A (en) It is a kind of go out acoustic equipment dereverberation control method and device
US20120183163A1 (en) Portable Electronic Device and Computer-Readable Medium for Remote Hearing Aid Profile Storage
CN109788388A (en) Earphone noise-reduction method, smart bluetooth earphone and computer readable storage medium
CN102982823A (en) Method and device for adjusting volume automatically
CN102355562A (en) Volume control method and equipment
JP6588098B2 (en) Method and apparatus for controlling headset noise reduction
CN103095886A (en) Mobile terminal with intelligent voice controlling system and intelligent voice controlling method
CN103428326A (en) Method and device for adjusting and processing ring tone
CN103237137A (en) Method and system for adjusting volume of mobile terminal
CN113531844B (en) Control method and system for noise reduction of air conditioner, electronic equipment and storage medium
CN104869218A (en) Information processing method and device and electronic equipment
CN102905028A (en) Mobile terminal prompt information regulating method and corresponding mobile terminal
CN108766468B (en) Intelligent voice detection method, wireless earphone, TWS earphone and terminal
CN101378423A (en) Apparatus for automatically regulating sound volume of mobile phone talking receiving terminal
CN111182415A (en) Sound box control method, intelligent sound box and storage medium
CN105338162A (en) Method and system for adaptively adjusting incoming call prompting modes of mobile phone
CN103531214A (en) Control method and control device of indoor equipment
CN109511041A (en) A kind of method, apparatus and earphone of the booting setting of earphone
EP2830330A2 (en) Method and apparatus for programming hearing assistance device using perceptual model
WO2015026859A1 (en) Audio apparatus and methods

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