CN105898038A - Method and apparatus for automatically adjusting volume according to ambient noise - Google Patents

Method and apparatus for automatically adjusting volume according to ambient noise Download PDF

Info

Publication number
CN105898038A
CN105898038A CN201610187547.6A CN201610187547A CN105898038A CN 105898038 A CN105898038 A CN 105898038A CN 201610187547 A CN201610187547 A CN 201610187547A CN 105898038 A CN105898038 A CN 105898038A
Authority
CN
China
Prior art keywords
value
volume
volume value
environment noise
presetting
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201610187547.6A
Other languages
Chinese (zh)
Inventor
齐奔宇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
LeTV Holding Beijing Co Ltd
LeTV Mobile Intelligent Information Technology Beijing Co Ltd
Original Assignee
LeTV Holding Beijing Co Ltd
LeTV Mobile Intelligent Information Technology Beijing 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 LeTV Holding Beijing Co Ltd, LeTV Mobile Intelligent Information Technology Beijing Co Ltd filed Critical LeTV Holding Beijing Co Ltd
Priority to CN201610187547.6A priority Critical patent/CN105898038A/en
Publication of CN105898038A publication Critical patent/CN105898038A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72454User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions
    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03GCONTROL OF AMPLIFICATION
    • H03G3/00Gain control in amplifiers or frequency changers
    • H03G3/20Automatic control
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/60Substation equipment, e.g. for use by subscribers including speech amplifiers
    • H04M1/6033Substation equipment, e.g. for use by subscribers including speech amplifiers for providing handsfree use or a loudspeaker mode in telephone sets
    • H04M1/6041Portable telephones adapted for handsfree use
    • H04M1/6058Portable telephones adapted for handsfree use involving the use of a headset accessory device connected to the portable telephone
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/72442User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality for playing music files

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Human Computer Interaction (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Multimedia (AREA)
  • Environmental & Geological Engineering (AREA)
  • Circuit For Audible Band Transducer (AREA)
  • Telephone Function (AREA)

Abstract

The invention discloses a method and apparatus for automatically adjusting volume according to ambient noise. The method includes the steps of detecting the ambient noise value when the earphone accessing is detected, calculating a pre-adjusting volume value according to the ambient noise value, and adjusting the current volume value to the pre-adjusting volume value. The apparatus accordingly comprises an ambient noise detection module, a calculating module and a volume adjusting module. The method and apparatus can effectively protecting hearing, simplify a volume adjusting process and improve user experience.

Description

Method and device according to environment noise automatic regulating volume
Technical field
The present invention relates to Computer Applied Technology field, particularly relate to a kind of method and device according to environment noise automatic regulating volume.
Background technology
Continuous progress along with mobile terminal technology, the quality that audio frequency on mobile terminal is play improves the most day by day, in order to improve auditory effect, the interface for accessing earphone it is typically provided with on mobile terminal, so that user is not under affecting other people's premise, audio frequency can be listened to alone, it is also possible to for being isolated by outside noise.
In prior art, the volume of mobile terminal is manual adjustment, and after mobile terminal accesses earphone, user needs manually to regulate, and will access the volume adjusting of earphone to the volume being suitable for.Above-mentioned regulative mode has the disadvantage that first, when the excessive velocities that running of mobile terminal speed is slow or user manually regulates, accesses the volume in earphone and there is the problem being increased or decreased suddenly, be unfavorable for the protection of audition;Second, when mobile terminal is from the environment that relatively quietly environment entrance environment is noisy, previously positioned volume value cannot meet listens to music or the requirement with ambient noise isolation, needs manual adjustment again, regulates loaded down with trivial details, and Consumer's Experience has to be hoisted.
Therefore, it is necessary to overcome drawbacks described above.
Summary of the invention
In view of this, the present invention provides a kind of method and device according to environment noise automatic regulating volume, to solve above-mentioned technical problem, effectively protects audition, simplifies volume adjusting process, promotes Consumer's Experience.
Method according to environment noise automatic regulating volume provided by the present invention comprises the following steps: step a, when detecting that earphone accesses, and the environment noise value that detection is extraneous;Step b, calculates presetting volume value according to described environment noise value;Step c, by current volume value regulation to described presetting volume value.
As above according to the method for environment noise automatic regulating volume, it is preferable that described step b includes: according to default constant adjustment factor, calculates described presetting volume value, described presetting volume value=described environment noise value × described constant adjustment factor.
As above according to the method for environment noise automatic regulating volume, it is preferable that described step b includes: according to default constant regulated value, calculates described presetting volume value, described presetting volume value=described environment noise value+described constant regulated value.
As above according to the method for environment noise automatic regulating volume, it is preferable that described step c includes: step c1, read current volume value;Step c2, compares described current volume value with described presetting volume value;Step c3, described current volume value with as described in presetting volume value unequal, by the regulation of described current volume value to described presetting volume value.
As above according to the method for environment noise automatic regulating volume, it is preferable that described method also includes: step d, during by the regulation of described current volume value to described presetting volume value, push volume to screen and adjust notice.
Device according to environment noise automatic regulating volume provided by the present invention includes: environment noise test module, for when detecting that earphone accesses, detects extraneous environment noise value;Computing module, for calculating presetting volume value according to described environment noise value;Volume adjusting module, for by current volume value regulation extremely described presetting volume value.
As above according to the device of environment noise automatic regulating volume, it is preferable that described computing module is for according to the constant adjustment factor preset, calculating described presetting volume value, described presetting volume value=described environment noise value × described constant regulated value.
As above according to the device of environment noise automatic regulating volume, it is preferable that described computing module is for according to the constant regulated value preset, calculating described presetting volume value, described presetting volume value=described environment noise value+described constant regulated value.
As above according to the device of environment noise automatic regulating volume, it is preferable that described volume adjusting module includes: current volume value reading submodule, is used for reading current volume value;Volume comparison sub-module, for comparing described current volume value with described presetting volume value;Volume adjusting submodule, for described current volume value with as described in presetting volume value unequal, by described current volume value regulation extremely described presetting volume value.
As above according to the device of environment noise automatic regulating volume, it is preferable that described device also includes: pushing module, for during by the regulation of described current volume value to described presetting volume value, push volume to screen and adjust notice.
Use the method and device according to environment noise automatic regulating volume that the present invention provides, extraneous environment noise can be automatically detected in the case of earphone accesses, after calculating presetting volume value by environment noise value, the current volume value with mobile terminal contrasts, in the case of current volume value and presetting volume value are inconsistent, the current volume value of regulation mobile terminal is to presetting volume value.Effectively protect ears, simplify volume adjusting process, improve Consumer's Experience.
Accompanying drawing explanation
Preferred embodiment in the present invention will be described in detail below, it will help understand objects and advantages of the present invention, wherein by accompanying drawing:
Fig. 1 is the preferred embodiment of the method according to environment noise automatic regulating volume of the present invention.
Fig. 2 is the preferred embodiment of the device according to environment noise automatic regulating volume of the present invention.
Detailed description of the invention
Below in conjunction with embodiment, the present invention is described in detail.The most identical parts are presented with like reference characters.
Fig. 1 is the preferred embodiment of the method according to environment noise automatic regulating volume of the present invention.Method according to environment noise automatic regulating volume provided by the present invention may be used for various mobile terminal, such as: mobile phone, panel computer etc..As it is shown in figure 1, the method according to environment noise automatic regulating volume provided described in the embodiment of the present invention can be realized by following steps.
Step S100, when detecting that earphone accesses, the environment noise value that detection is extraneous.By the sensor that mobile terminal is built-in or external, the embodiment of the present invention can detect whether the earphone interface arranged on mobile terminal has earphone to access, the detection data of hardware detection unit in Mobile terminal main board can also be directly invoked, so that it is determined that currently whether have earphone to access.When having detected that earphone accesses, can be by being arranged on the noise figure that within mobile terminal or peripheral hardware noise transducer detects in external environment condition.Wherein, environment noise value can be arranged to the numerical value in units of decibel, it is also possible to is converted into the percents corresponding with mobile terminal loudness.
In addition, in the step s 100, the application program specifically with noise measuring function can also be set in the terminal, this application program can obtain required environment noise value by directly reading the relevant noise figure in this application program by the noise figure in noise transducer the real time measure current outside environment built-in in mobile terminal in the embodiment of the present invention.
Step S200, calculates presetting volume value according to described environment noise value.
As a preferred embodiment, presetting volume value is calculated when implementing according to environment noise value, described presetting volume value, described presetting volume value=described environment noise value × described constant adjustment factor can be calculated according to default constant adjustment factor.Wherein, the constant adjustment factor preset can be the numerical value that user is arranged voluntarily, it is also possible to the numerical value of threshold value when mobile terminal dispatches from the factory.
In a specific example, the dimensionless scope of the volume value of mobile terminal is defined as 0%-100%, and corresponding decibel numerical value is 0dB-100dB, is 1.2 for the constant adjustment factor preset.If the dimensionless number of the current volume value of mobile terminal is 50%, then corresponding decibels is 50dB.Assume that the environment noise value obtained in step S100 is 40dB, it is 40% after changing into nondimensional numerical value, accordingly, described presetting volume value=40% × 1.2=60% can then be calculated by formula " described presetting volume value=described environment noise value × described constant adjustment factor ".
In a further advantageous embodiment, step S200 calculates presetting volume value according to environment noise value can also be embodied as: according to default constant regulated value, calculate described presetting volume value, described presetting volume value=described environment noise value+described constant regulated value.According to the described environment noise value of detection in step S100, and the described constant regulated value of user preset, described presetting volume value can be calculated.Wherein, described constant regulated value can preferably be realized by user preset.If the unit of the described environment noise value in step S100 is nondimensional percentage ratio, then the described constant regulated value of user preset is likewise provided as nondimensional percentage ratio;If the unit of the described environment noise value detected in step S100 is dB, then the unit of the described constant regulated value of user preset can use dB too.If additionally, the unit of the described environment noise value in step S100 with described in user preset the unit of constant regulated value inconsistent, calculate again after consistent unit can be converted into.In specific implementation process, described constant regulated value is not limited in above-described embodiment with the unit of described environment noise value.
In a specific example, the dimensionless scope of the volume of mobile terminal is 0%-100%, and corresponding decibel numerical value is 0dB-100dB, and the current volume value of mobile terminal is 50%, and the constant regulated value of setting is 20%.The environment noise value obtained in step S100 is 40dB, is 40% after changing into nondimensional numerical value, the most presetting volume value=40%+20%=60%.
Step S300, by the regulation of mobile terminal current volume value to described presetting volume value.On the basis of drawing presetting volume value, regulation mobile terminal loudness is to presetting volume value.
Preferably, by the regulation of mobile terminal current volume value to described presetting volume value in step S300, can be accomplished by: read the current volume value of mobile terminal, corresponding data-interface can directly read from mobile terminal the current volume value of this mobile terminal;Current volume value is contrasted with presetting volume value;As unequal with presetting volume value in current volume value, current volume value regulation to presetting volume value.
In a specific example, the current volume value of mobile terminal is 50%, default volume value is 60%, current volume value is unequal with default volume value, when user uses earphone to receive the audio frequency in mobile terminal, can be disturbed by external environment, now volume value is regulated to 60% by mobile terminal automatically, to promote the audio experience of user.As current volume value is equal with presetting volume value, do not regulate current volume value.Using above-mentioned regulative mode, it is the most reasonable that the volume of mobile terminal is automatically adjusted, it is possible to the volume in real-time ensuring earphone is in optimal numerical value, and the most effectively protection audition exempts from noise induced damage, can be completely cut off by outside noise simultaneously.
As shown in Figure 1, the method according to environment noise automatic regulating volume provided in the preferred embodiment of the present invention can also preferably include step S400, when the current volume value of mobile terminal is regulated to described presetting volume value, push volume to mobile terminal screen and adjust notice, point out the volume of user's earphone to have occurred and that change by the way of screen shows.Such as: the information such as corresponding word, picture or animation that can push in the informing of mobile terminal realize reminding, it is also possible in main screen of mobile terminal curtain, directly push relevant reminder message realize.
Accordingly, present invention also offers a kind of device according to environment noise automatic regulating volume.Fig. 2 is the preferred embodiment of the device according to environment noise automatic regulating volume of the present invention.As in figure 2 it is shown, the device according to environment noise automatic regulating volume of the preferred embodiment of the present invention includes: environment noise test module 10, computing module 20 and volume adjusting module 30.
Described environment noise test module 10, for when detecting that earphone accesses, detects extraneous environment noise value, it is achieved be automatically adjusted the environment noise value acquisition phase of mobile terminal loudness process according to environment noise.Described computing module 20 is for calculating presetting volume value according to described environment noise value;Described volume adjusting module 30 is for by current volume value regulation extremely described presetting volume value.
As above according to the device of environment noise automatic regulating volume, it is preferable that described computing module 20 is for according to the constant adjustment factor preset, calculating described presetting volume value, described presetting volume value=described environment noise value × described constant regulated value.
As above according to the device of environment noise automatic regulating volume, it is preferable that described computing module 20 is for according to the constant regulated value preset, calculating described presetting volume value, described presetting volume value=described environment noise value+described constant regulated value.
As above according to the device of environment noise automatic regulating volume, it is preferable that described volume adjusting module 30 includes: current volume value reading submodule, is used for reading current volume value;Volume comparison sub-module, for comparing described current volume value with described presetting volume value;Volume adjusting submodule, for described current volume value with as described in presetting volume value unequal, by described current volume value regulation extremely described presetting volume value.
As above according to the device of environment noise automatic regulating volume, it is preferable that described device also includes: pushing module 40, for during by the regulation of described current volume value to described presetting volume value, push volume to screen and adjust notice.
Use the method and device according to environment noise automatic regulating volume that the present invention provides, extraneous environment noise can be automatically detected in the case of earphone accesses, after calculating presetting volume value by environment noise value, the current volume value with mobile terminal contrasts, in the case of current volume value and presetting volume value are inconsistent, the current volume value of regulation mobile terminal is to presetting volume value.Effectively protect ears, simplify volume adjusting process, improve Consumer's Experience.
Last it is noted that above example is only in order to illustrate technical scheme, it is not intended to limit;Although the present invention being described in detail with reference to previous embodiment, it will be understood by those within the art that: the technical scheme described in foregoing embodiments still can be modified by it, or wherein portion of techniques feature is carried out equivalent;And these amendments or replacement, do not make the essence of appropriate technical solution depart from the scope of various embodiments of the present invention technical scheme.

Claims (10)

1. the method according to environment noise automatic regulating volume, it is characterised in that described method Comprise the following steps:
Step a, when detecting that earphone accesses, the environment noise value that detection is extraneous;
Step b, calculates presetting volume value according to described environment noise value;
Step c, by current volume value regulation to described presetting volume value.
Method according to environment noise automatic regulating volume the most according to claim 1, it is special Levying and be, described step b includes:
According to default constant adjustment factor, calculate described presetting volume value, described presetting volume Value=described environment noise value × described constant adjustment factor.
Method according to environment noise automatic regulating volume the most according to claim 1, it is special Levying and be, described step b includes:
According to default constant regulated value, calculate described presetting volume value, described presetting volume value= Described environment noise value+described constant regulated value.
4. according to described in any one in claim 1-3 according to environment noise automatic regulating volume Method, it is characterised in that described step c includes:
Step c1, reads current volume value;
Step c2, compares described current volume value with described presetting volume value;
Step c3, described current volume value with as described in presetting volume value unequal, by described currently Volume value regulation is to described presetting volume value.
5. according to described in any one in claim 1-3 according to environment noise automatic regulating volume Method, it is characterised in that described method also includes:
Step d, during by the regulation of described current volume value to described presetting volume value, pushes sound to screen Amount adjusts notice.
6. the device according to environment noise automatic regulating volume, it is characterised in that described device Including:
Environment noise test module, for when detecting that earphone accesses, the environment in the detection external world is made an uproar Sound value;
Computing module, for calculating presetting volume value according to described environment noise value;
Volume adjusting module, for by current volume value regulation extremely described presetting volume value.
Device according to environment noise automatic regulating volume the most according to claim 6, it is special Levying and be, described computing module is for according to the constant adjustment factor preset, calculating described presetting Volume value, described presetting volume value=described environment noise value × described constant regulated value.
Device according to environment noise automatic regulating volume the most according to claim 6, it is special Levying and be, described computing module is for according to the constant regulated value preset, calculating described pre-tuning Value, described presetting volume value=described environment noise value+described constant regulated value.
9. according to described in any one in claim 6-8 according to environment noise automatic regulating volume Device, it is characterised in that described volume adjusting module includes:
Current volume value reading submodule, is used for reading current volume value;
Volume comparison sub-module, for comparing described current volume value with described presetting volume value Relatively;
Volume adjusting submodule, for described current volume value with as described in presetting volume value unequal, By the regulation of described current volume value to described presetting volume value.
10. according to being automatically adjusted sound according to environment noise described in any one in claim 6-8 The device of amount, it is characterised in that described device also includes:
Pushing module, during for described current volume value is regulated to described presetting volume value, Xiang Ping Curtain pushes volume and adjusts notice.
CN201610187547.6A 2016-03-29 2016-03-29 Method and apparatus for automatically adjusting volume according to ambient noise Pending CN105898038A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610187547.6A CN105898038A (en) 2016-03-29 2016-03-29 Method and apparatus for automatically adjusting volume according to ambient noise

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610187547.6A CN105898038A (en) 2016-03-29 2016-03-29 Method and apparatus for automatically adjusting volume according to ambient noise

Publications (1)

Publication Number Publication Date
CN105898038A true CN105898038A (en) 2016-08-24

Family

ID=57014513

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610187547.6A Pending CN105898038A (en) 2016-03-29 2016-03-29 Method and apparatus for automatically adjusting volume according to ambient noise

Country Status (1)

Country Link
CN (1) CN105898038A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2019090607A1 (en) * 2017-11-09 2019-05-16 深圳传音通讯有限公司 Adjustment method and adjustment apparatus for ringtone volume of smart device
CN111208971A (en) * 2020-01-15 2020-05-29 西安文理学院 But public address set of automatically regulated volume
US11632621B2 (en) 2018-07-27 2023-04-18 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Method for controlling volume of wireless headset, and computer-readable storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103237277A (en) * 2013-04-12 2013-08-07 广东欧珀移动通信有限公司 Method and device for headset audio playing
CN104754099A (en) * 2015-03-12 2015-07-01 深圳市金立通信设备有限公司 Conversation volume adjusting method
CN105430191A (en) * 2015-12-24 2016-03-23 北京奇虎科技有限公司 Volume adjusting method and device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103237277A (en) * 2013-04-12 2013-08-07 广东欧珀移动通信有限公司 Method and device for headset audio playing
CN104754099A (en) * 2015-03-12 2015-07-01 深圳市金立通信设备有限公司 Conversation volume adjusting method
CN105430191A (en) * 2015-12-24 2016-03-23 北京奇虎科技有限公司 Volume adjusting method and device

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2019090607A1 (en) * 2017-11-09 2019-05-16 深圳传音通讯有限公司 Adjustment method and adjustment apparatus for ringtone volume of smart device
CN111316621A (en) * 2017-11-09 2020-06-19 深圳传音通讯有限公司 Method and device for adjusting ring volume of intelligent equipment
US11632621B2 (en) 2018-07-27 2023-04-18 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Method for controlling volume of wireless headset, and computer-readable storage medium
CN111208971A (en) * 2020-01-15 2020-05-29 西安文理学院 But public address set of automatically regulated volume

Similar Documents

Publication Publication Date Title
CN112954115B (en) Volume adjusting method and device, electronic equipment and storage medium
CN104978166A (en) Volume adjusting method and device
US11638083B2 (en) Earphone abnormality processing method, earphone, system, and storage medium
WO2017215657A1 (en) Sound effect processing method, and terminal device
GB2527206A (en) Device notification adjustment dependent on user proximity
CN109547848B (en) Loudness adjustment method and device, electronic equipment and storage medium
CN106982403A (en) Detection method and terminal that a kind of earphone is worn
CN107562406B (en) Volume adjusting method, mobile terminal and computer readable storage medium
US8873771B2 (en) Automatic volume adjustment
CN102172044A (en) Control method and apparatus for audio output
CN110459212A (en) Method for controlling volume and equipment
CN113038337B (en) Audio playing method, wireless earphone and computer readable storage medium
CN112468924A (en) Earphone noise reduction method and device
CN110599989B (en) Audio processing method, device and storage medium
CN111083289A (en) Audio playing method and device, storage medium and mobile terminal
CN111314560A (en) Method for adjusting sound loudness and communication terminal
CN101783656A (en) Loudness control method, module and device of stereo system
CN105898038A (en) Method and apparatus for automatically adjusting volume according to ambient noise
CN114071308A (en) Earphone self-adaptive tuning method and device, earphone and readable storage medium
CN114125639A (en) Audio signal processing method and device and electronic equipment
CN108810614A (en) Method for regulation of sound volume, system and readable storage medium storing program for executing
CN109587603B (en) Volume control method, device and storage medium
CN108111664A (en) A kind of method, terminal and the computer-readable medium of the tinkle of bells control
CN114902560B (en) Apparatus and method for automatic volume control with ambient noise compensation
CN112492443B (en) Earphone control method, device, equipment and storage medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20160824

WD01 Invention patent application deemed withdrawn after publication