Summary of the invention
The embodiment of the invention discloses a kind of Headphone volume control method and relevant device, Headphone volume control efficiency can be improved.
Embodiment of the present invention first aspect discloses a kind of Headphone volume control method, arranges a slice pressure sensor, comprising below the receiver sender decoration of described receiver:
Detect the target pressure value that described pressure sensor exports, wherein, described target pressure value is the force value that people's ear that described pressure sensor detects produces when touching described receiver sender decoration;
From the force value of pre-stored and the corresponding table of volume value, read the target sound value that described target pressure value is corresponding;
According to described target sound value, volume adjusting is carried out to described receiver.
In the first possible implementation of embodiment of the present invention first aspect, after the target pressure value detecting the output of described pressure sensor, described method also comprises:
Gather extraneous location information;
Judge whether described extraneous location information mates with the location information of pre-stored, if so, then perform described in from the force value of pre-stored and the corresponding table of volume value, read the step of target sound value corresponding to described target pressure value.
In conjunction with the first possible implementation of embodiment of the present invention first aspect, in the implementation that the second of embodiment of the present invention first aspect is possible, after judging that described extraneous location information mates with the location information of pre-stored, described method also comprises:
Acquisition time information;
Judge whether described temporal information mates with the temporal information of pre-stored, if so, then perform described in from the force value of pre-stored and the corresponding table of volume value, read the step of target sound value corresponding to described target pressure value.
In conjunction with the implementation that the second of embodiment of the present invention first aspect is possible, in the third possible implementation of embodiment of the present invention first aspect, after judging that described temporal information is mated with the temporal information of pre-stored, described method also comprises:
Gather extraneous voiceprint;
Judge whether described extraneous voiceprint mates with the voiceprint of pre-stored, if so, then perform described in from the force value of pre-stored and the corresponding table of volume value, read the step of target sound value corresponding to described target pressure value.
In conjunction with the first of embodiment of the present invention first aspect or embodiment of the present invention first aspect to the possible implementation of any one in the third, in the 4th kind of possible implementation of embodiment of the present invention first aspect, according to described target sound value, volume adjusting is carried out to described receiver, comprising:
Described target sound value is sent to coder, to make coder, volume adjusting is carried out to described receiver.
Embodiment of the present invention second aspect discloses a kind of mobile terminal, and arrange a slice pressure sensor below the receiver sender decoration of described mobile terminal, described mobile terminal comprises:
Detecting unit, for detecting the target pressure value that described pressure sensor exports, wherein, described target pressure value is the force value that people's ear that described pressure sensor detects produces when touching described receiver sender decoration;
Reading unit, for from the force value of pre-stored and the corresponding table of volume value, reads the target sound value that described target pressure value is corresponding;
Regulon, for according to described target sound value, carries out volume adjusting to described receiver.
In the first possible implementation of embodiment of the present invention second aspect, described mobile terminal also comprises:
Collecting unit, for after the target pressure value detecting the output of described pressure sensor, gathers extraneous location information;
Judging unit, whether the location information for the described extraneous location information with pre-stored that judge described collecting unit collection mates, if, trigger described reading unit perform described in from the force value of pre-stored and the corresponding table of volume value, read the step of target sound value corresponding to described target pressure value.
In conjunction with the first possible implementation of embodiment of the present invention second aspect, in the implementation that the second of embodiment of the present invention second aspect is possible, described collecting unit, also for after judging that at described judging unit described extraneous location information that described collecting unit gathers mates with the location information of described pre-stored, acquisition time information;
Described judging unit, whether the temporal information also for the described temporal information with pre-stored that judge described collecting unit collection mates, if, trigger described reading unit perform described in from the force value of pre-stored and the corresponding table of volume value, read the step of target sound value corresponding to described target pressure value.
In conjunction with the implementation that the second of embodiment of the present invention second aspect is possible, in the third possible implementation of embodiment of the present invention second aspect, described collecting unit, also for after judging that described temporal information that described collecting unit gathers is mated with the temporal information of described pre-stored, gather extraneous voiceprint;
Described judging unit, whether the voiceprint also for the described extraneous voiceprint with pre-stored that judge described collecting unit collection mates, if, trigger described reading unit perform described in from the force value of pre-stored and the corresponding table of volume value, read the step of target sound value corresponding to described target pressure value.
In conjunction with the first of embodiment of the present invention second aspect or embodiment of the present invention second aspect to the possible implementation of any one in the third, in the 4th kind of possible implementation of embodiment of the present invention second aspect, described regulon, specifically for described target sound value is sent to coder, carries out volume adjusting to make coder to described receiver.
The embodiment of the present invention third aspect discloses a kind of mobile terminal, comprises handset touch panel, receiver sender decoration, and mobile telephone surface shell center and headphone body, is characterized in that, also comprises pressure sensor;
Wherein, described pressure sensor is clipped between described receiver sender decoration and described mobile telephone surface shell center;
Wherein, a hollow space is formed between described headphone body, described mobile telephone surface shell center, described pressure sensor and described receiver sender decoration.
In the first possible implementation of the embodiment of the present invention third aspect, described receiver sender decoration design length is 15 ~ 30mm, and the exposed Partial Height outside described handset touch panel of described receiver sender decoration is 0.1mm.
Compared with prior art, the embodiment of the present invention has following beneficial effect:
In the embodiment of the present invention, the pressure sensor that one is close to receiver sender decoration can be set below the receiver sender decoration of mobile terminal, to be arranged on below receiver sender decoration due to pressure sensor and to be close to receiver sender decoration, when people's ear is expressed to receiver sender decoration, the extruding force of this people's ear can be passed to the pressure sensor be close to receiver sender decoration by receiver sender decoration, and this extruding force can be converted into target pressure value and export to mobile terminal by pressure sensor after receiving this extruding force, and then the target pressure value that mobile terminal can export according to the pressure sensor arranged below receiver sender decoration, in the force value of pre-stored and the corresponding table of volume value, read the target sound value that target pressure value is corresponding, automatically volume adjusting is carried out to receiver according to target sound value again.Visible, implement the embodiment of the present invention, user regulates Headphone volume without the need to adopting the mode of manual adjustments volume key, thus can improve Headphone volume control efficiency.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, be clearly and completely described the technical scheme in the embodiment of the present invention, obviously, described embodiment is the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
The embodiment of the invention discloses a kind of Headphone volume control method and relevant device, Headphone volume control efficiency can be improved.Below be described in detail respectively.
Refer to Fig. 1, the schematic flow sheet of Fig. 1 a kind of Headphone volume control method disclosed in the embodiment of the present invention.As shown in Figure 1, this Headphone volume control method can comprise the following steps.
101, the target pressure value of mobile terminal detected pressures transducer output.
In the embodiment of the present invention, mobile terminal can comprise the mobile terminals such as smart mobile phone, panel computer, palmtop PC, IPAD and mobile internet device (MobileInternetDevice, MID), and the embodiment of the present invention is not construed as limiting.
Wherein, pressure sensor is arranged on below the receiver sender decoration of mobile terminal receiver, and target pressure value is the force value that people's ear that pressure sensor detects produces when touching receiver sender decoration.
102, mobile terminal is from the force value of pre-stored and the corresponding table of volume value, reads the target sound value that target pressure value is corresponding.
In the embodiment of the present invention, the force value of pre-stored and the corresponding table of volume value refer to force value and volume value two-dimentional form one to one, as shown in the table, and wherein, following table is the reference table of a kind of force value and volume value.
Force value N (unit: N) |
Volume value RLR (unit: dB) |
N=0 |
RLR=-7dB |
0<N≤2 |
RLR=-8dB |
2<N≤4 |
RLR=-9dB |
4<N≤6 |
RLR=-10dB |
6<N≤8 |
RLR=-11dB |
8<N≤10 |
RLR=-12dB |
10<N |
RLR=-13dB |
Wherein, volume value RLR (LoudnessRatingReceiving, volume receives loudness rating) represents, force value N represents.China Mobile requires-5dB >=RLR >=-13dB, and volume value RLR is less, and the volume level that representative exports is larger.In the embodiment of the present invention, when being arranged on force value N=0, preset volume value RLR=-7dB, large compared with the volume value RLR=-6dB received with the type earpiece of existing market.This is because, N=0 shows that user may be because of less at earpiece sound, under the situation of can not hear clearly, ear to be fitted in and receiver sender decoration produces, listen clearer to allow user, therefore volume value RLR is set to-7dB, the volume level that the volume value RLR=-6dB received than the type earpiece of existing market is corresponding is relatively large.
103, mobile terminal is according to target sound value, carries out volume adjusting to receiver.
In the embodiment of the present invention, target sound value is sent to inner coder by mobile terminal, carries out volume adjusting by coder to receiver.
In the method that Fig. 1 describes, the pressure sensor that one is close to receiver sender decoration can be set below the receiver sender decoration of mobile terminal, to be arranged on below receiver sender decoration due to pressure sensor and to be close to receiver sender decoration, when people's ear is expressed to receiver sender decoration, the extruding force of this people's ear can be passed to the pressure sensor be close to receiver sender decoration by receiver sender decoration, and this extruding force can be converted into target pressure value and export to mobile terminal by pressure sensor after receiving this extruding force, and then the target pressure value that mobile terminal can export according to the pressure sensor arranged below receiver sender decoration, in the force value of pre-stored and the corresponding table of volume value, read the target sound value that target pressure value is corresponding, automatically volume adjusting is carried out to receiver according to target sound value again.Visible, implement the method that Fig. 1 describes, mobile phone users regulates Headphone volume without the need to adopting the mode of manual adjustments volume key, improves Headphone volume control efficiency.
Refer to Fig. 2, the schematic flow sheet of Fig. 2 another kind of Headphone volume control method disclosed in the embodiment of the present invention.As shown in Figure 2, this Headphone volume control method can comprise the following steps.
201, the target pressure value of mobile terminal detected pressures transducer output.
202, mobile terminal gathers extraneous location information.
203, mobile terminal judges whether extraneous location information mates with the location information of pre-stored.
In the embodiment of the present invention, if judge, extraneous location information mates with the location information of pre-stored, then perform step 204 and step 205, otherwise, process ends.
204, mobile terminal is from the force value of pre-stored and the corresponding table of volume value, reads the target sound value that target pressure value is corresponding.
205, mobile terminal is according to target sound value, carries out volume adjusting to receiver.
In the method that Fig. 2 describes, first mobile terminal carries out matching judgment to the location information of the extraneous location information gathered and pre-stored, if coupling, the target pressure value exported according to pressure sensor again the force value of pre-stored is corresponding with volume value show in corresponding target sound value, realize the automatic adjustment to Headphone volume.Visible, implement the method that Fig. 2 describes, avoid mobile phone users at some without the need to the appearance automatically regulating the place of Headphone volume to cause automatically regulating Headphone volume problem because of the misoperation of user, improve Headphone volume control efficiency.
Refer to Fig. 3, the schematic flow sheet of Fig. 3 another kind of Headphone volume control method disclosed in the embodiment of the present invention.As shown in Figure 3, this Headphone volume control method can comprise the following steps.
301, the target pressure value of mobile terminal detected pressures transducer output.
302, mobile terminal gathers extraneous location information.
303, mobile terminal judges whether extraneous location information mates with the location information of pre-stored.
In the embodiment of the present invention, if judge, extraneous location information mates with the location information of pre-stored, then perform step 304 and step 305, otherwise, process ends.
304, mobile terminal acquisition time information.
305, mobile terminal judges whether temporal information mates with the temporal information of pre-stored.
In the embodiment of the present invention, if judge, extraneous temporal information is mated with the temporal information of pre-stored, then perform step 306 and step 307, otherwise, process ends.
306, mobile terminal is from the force value of pre-stored and the corresponding table of volume value, reads the target sound value that target pressure value is corresponding.
307, mobile terminal is according to target sound value, carries out volume adjusting to receiver.
As the optional execution mode of one, in the embodiment of the present invention, mobile terminal inside can also be provided with temperature sensor, for gathering the temperature value of interior of mobile phone.Correspondingly, in the method described by Fig. 3, mobile terminal is after execution above-mentioned steps 305 judges that the temporal information of temporal information and pre-stored matches, mobile terminal can read the temperature value that its temperature sensor gathers, and judge whether this temperature value exceedes preset temperature value, if do not exceeded, then perform step 306 and 307; Otherwise if exceeded, mobile terminal can not perform step 306 and step 307.Obviously, this mode is by establishing the booster action of temperature sensor in mobile terminal, the mobile terminal when the temperature of mobile terminal is too high can be avoided still to heighten Headphone volume, thus exacerbate the power consumption of mobile terminal, effectively can reduce the life consumption of mobile terminal internal cell, extend the useful life of mobile terminal.
In the method that Fig. 3 describes, first mobile terminal carries out matching judgment to the location information of the extraneous location information gathered and pre-stored, if coupling, again matching judgment is carried out to the temporal information of the temporal information gathered and pre-stored, if coupling, the target pressure value exported according to pressure sensor again the force value of pre-stored is corresponding with volume value show in corresponding target sound value, realize the automatic adjustment to Headphone volume.Visible, implement the method that Fig. 3 describes, avoid mobile phone users at some without the need to the appearance automatically regulating the place of Headphone volume, time to cause automatically regulating Headphone volume problem because of the misoperation of user, improve Headphone volume control efficiency.
Refer to Fig. 4, the schematic flow sheet of Fig. 4 another kind of Headphone volume control method disclosed in the embodiment of the present invention.As shown in Figure 4, this Headphone volume control method can comprise the following steps.
401, the target pressure value of mobile terminal detected pressures transducer output.
402, mobile terminal gathers extraneous location information.
403, mobile terminal judges whether extraneous location information mates with the location information of pre-stored.
In the embodiment of the present invention, if judge, extraneous location information mates with the location information of pre-stored, then perform step 404 and step 405, otherwise, process ends.
404, mobile terminal acquisition time information.
405, mobile terminal judges whether temporal information mates with the temporal information of pre-stored.
In the embodiment of the present invention, if judge, extraneous temporal information is mated with the temporal information of pre-stored, then perform step 406 and step 407, otherwise, process ends.
406, mobile terminal gathers extraneous voiceprint.
407, mobile terminal judges whether extraneous voiceprint mates with the voiceprint of pre-stored.
In the embodiment of the present invention, if judge, extraneous voiceprint mates with the voiceprint of pre-stored, then perform step 408 and step 409, otherwise, process ends.
408, mobile terminal is from the force value of pre-stored and the corresponding table of volume value, reads the target sound value that target pressure value is corresponding.
409, mobile terminal is according to target sound value, carries out volume adjusting to receiver.
In the-method illustrated in figure 4, first mobile terminal carries out matching judgment to the location information of the extraneous location information gathered and pre-stored, if coupling, again matching judgment is carried out to the temporal information of the temporal information gathered and pre-stored, if coupling, again matching judgment is carried out to the voiceprint of the extraneous voiceprint gathered and pre-stored, if coupling, the target pressure value finally exported according to pressure sensor the force value of pre-stored is corresponding with volume value show in corresponding target sound value, realize the automatic adjustment to Headphone volume.Visible, implement the method that Fig. 4 describes, avoid mobile phone users in some appearance without the need to automatically regulating the place of Headphone volume, time to cause automatically regulating Headphone volume problem because of the misoperation of user, identity verify can also be carried out to mobile phone users simultaneously, improve Headphone volume control efficiency.
Refer to Fig. 5, the structural representation of Fig. 5 a kind of mobile terminal disclosed in the embodiment of the present invention.Wherein, the mobile terminal shown in Fig. 5 can comprise:
Detecting unit 501, for the target pressure value that detected pressures transducer exports.
In the embodiment of the present invention, below the receiver sender decoration of mobile terminal, a slice pressure sensor is set.Target pressure value is the force value that people's ear that pressure sensor detects produces when touching described receiver sender decoration.
Reading unit 502, for from the force value of pre-stored and the corresponding table of volume value, reads the target sound value that target pressure value is corresponding.
Regulon 503, for according to target sound value, carries out volume adjusting to receiver.
In the embodiment of the present invention, regulon, specifically for target sound value is sent to coder, carries out volume adjusting to make coder to receiver.
Visible, implement the mobile terminal that Fig. 5 describes, mobile phone users regulates Headphone volume without the need to adopting the mode of manual adjustments volume key, improves Headphone volume control efficiency.
Refer to Fig. 6, the structural representation of Fig. 6 another kind of mobile terminal disclosed in the embodiment of the present invention.Wherein, the mobile terminal shown in Fig. 6 is that mobile terminal is as shown in Figure 5 optimized and obtains.Compared with the mobile terminal shown in Fig. 6, the mobile terminal shown in Fig. 6 can also comprise:
Collecting unit 504, for after the target pressure value that exports at detected pressures transducer, gathers extraneous location information.
Judging unit 505, for judging whether the extraneous location information that collecting unit 504 gathers mates with the location information of pre-stored, if so, triggering reading unit 502 performs from the force value of pre-stored and the corresponding table of volume value, reads the step of target sound value corresponding to target pressure value.
As the optional execution mode of one, in the mobile terminal shown in Fig. 6:
Collecting unit 504, also for after judging that at judging unit 505 extraneous location information that collecting unit 504 gathers mates with the location information of pre-stored, acquisition time information.
Judging unit 505, also for judging whether the temporal information that collecting unit 504 gathers mates with the temporal information of pre-stored, if so, triggering reading unit 502 performs from the force value of pre-stored and the corresponding table of volume value, reads the step of target sound value corresponding to target pressure value.
As the optional execution mode of one, in the mobile terminal shown in Fig. 6:
Collecting unit 504, also for after judging that temporal information that collecting unit 504 gathers is mated with the temporal information of pre-stored, gathers extraneous voiceprint.
Judging unit 505, also for judging whether the extraneous voiceprint that collecting unit 504 gathers mates with the voiceprint of pre-stored, if so, triggering reading unit 502 performs from the force value of pre-stored and the corresponding table of volume value, reads the step of target sound value corresponding to target pressure value.
Visible, implement the mobile terminal that Fig. 6 describes, avoid mobile phone users in some appearance without the need to automatically regulating the place of Headphone volume, time to cause automatically regulating Headphone volume problem because of the misoperation of user, identity verify can also be carried out to mobile phone users simultaneously, improve Headphone volume control efficiency.
Refer to the structural representation of Fig. 7 (a) and Fig. 7 (b), Fig. 7 (a) and Fig. 7 (b) another kind of mobile terminal disclosed in the embodiment of the present invention.Wherein, the mobile terminal shown in Fig. 7 (a) and Fig. 7 (b) can comprise: handset touch panel 701, receiver sender decoration 702, mobile telephone surface shell center 703, headphone body 704 and pressure sensor 705.
In the embodiment of the present invention, pressure sensor 705 is clipped between receiver sender decoration 702 and mobile telephone surface shell center 703.Meanwhile, a hollow space is formed between headphone body 704, mobile telephone surface shell center 703, pressure sensor 705 and receiver sender decoration 702.
Wherein, receiver sender decoration 702 design length is 15 ~ 30mm, and the exposed Partial Height outside handset touch panel 701 of receiver sender decoration 702 is 0.1mm.
Visible, implement the mobile terminal that Fig. 7 (a) and Fig. 7 (b) describes, because pressure sensor 705 is clipped between receiver sender decoration 702 and mobile telephone surface shell center 703, and be close to receiver sender decoration 702 and mobile telephone surface shell center 703, therefore, the extruding force produced during people's ear extruding receiver sender decoration 702 can be passed to pressure sensor 705 by this kind of design effectively, realizes the effective reception of pressure sensor 705 to this extruding force.This extruding force can be converted into target pressure value and export to mobile terminal after pressure sensor 705 receives this extruding force, the target pressure value that mobile terminal can export according to the pressure sensor arranged below receiver sender decoration, in the force value of pre-stored and the corresponding table of volume value, read the target sound value that target pressure value is corresponding, more automatically volume adjusting is carried out to receiver according to target sound value.
In addition, a hollow space is formed between headphone body 704, mobile telephone surface shell center 703, pressure sensor 705 and receiver sender decoration 702, the volume that receiver can be allowed to regulate passes to the people's ear being close to receiver sound hole decoration 702 effectively by above-mentioned hollow space, realize the reception of people's ear to the volume that mobile terminal regulates.
Visible, implement the mobile terminal that Fig. 7 (a) and Fig. 7 (b) describes, user regulates Headphone volume without the need to adopting the mode of manual adjustments volume key, improves Headphone volume control efficiency.
One of ordinary skill in the art will appreciate that all or part of step in the various methods of above-described embodiment is that the hardware that can carry out instruction relevant by program has come, this program can be stored in a computer-readable recording medium, storage medium comprises read-only memory (Read-OnlyMemory, ROM), random asccess memory (RandomAccessMemory, RAM), programmable read only memory (ProgrammableRead-onlyMemory, PROM), Erasable Programmable Read Only Memory EPROM (ErasableProgrammableReadOnlyMemory, EPROM), disposable programmable read-only memory (One-timeProgrammableRead-OnlyMemory, OTPROM), the electronics formula of erasing can make carbon copies read-only memory (Electrically-ErasableProgrammableRead-OnlyMemory, EEPROM), read-only optical disc (CompactDiscRead-OnlyMemory, or other disk storages CD-ROM), magnetic disc store, magnetic tape storage, or can be used in any other medium computer-readable carrying or store data.
Above a kind of Headphone volume control method disclosed in the embodiment of the present invention and relevant device are described in detail, apply specific case herein to set forth principle of the present invention and execution mode, the explanation of above embodiment just understands method of the present invention and core concept thereof for helping; Meanwhile, for one of ordinary skill in the art, according to thought of the present invention, all will change in specific embodiments and applications, in sum, this description should not be construed as limitation of the present invention.