CN109068210A - A kind of volume adjustment control method, earphone and computer readable storage medium - Google Patents
A kind of volume adjustment control method, earphone and computer readable storage medium Download PDFInfo
- Publication number
- CN109068210A CN109068210A CN201810847219.3A CN201810847219A CN109068210A CN 109068210 A CN109068210 A CN 109068210A CN 201810847219 A CN201810847219 A CN 201810847219A CN 109068210 A CN109068210 A CN 109068210A
- Authority
- CN
- China
- Prior art keywords
- pressure
- earphone
- current
- volume
- volume adjustment
- 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
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04R—LOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
- H04R1/00—Details of transducers, loudspeakers or microphones
- H04R1/10—Earpieces; Attachments therefor ; Earphones; Monophonic headphones
- H04R1/1041—Mechanical or electronic switches, or control elements
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04R—LOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
- H04R3/00—Circuits for transducers, loudspeakers or microphones
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04R—LOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
- H04R2430/00—Signal processing covered by H04R, not provided for in its groups
- H04R2430/01—Aspects of volume control, not necessarily automatic, in sound systems
Landscapes
- Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Acoustics & Sound (AREA)
- Signal Processing (AREA)
- Telephone Function (AREA)
Abstract
The invention discloses a kind of volume adjustment control method, earphone and computer readable storage mediums, the volume adjustment control method passes through when receiving pressure control operations, obtain the current pressure information of earphone, and then the pressure information by current pressure information and before receiving pressure control operations is compared, the current volume adjustment strategy of earphone is determined based on comparative result, further, it is controlled according to the volume adjustment strategy volume current to earphone.Earphone keystroke or mobile phone key can only be manipulated by user in the prior art to adjust the volume of earphone by solving, and mode is more single, the low problem of user's operation Experience Degree.The invention also discloses a kind of earphone and computer readable storage mediums to provide the new volume adjustment mode of one kind and select for user, largely improve the operating experience degree of user by implementing above scheme.
Description
Technical field
The present invention relates to audio output technical field, more specifically to a kind of volume adjustment control method, earphone and
Computer readable storage medium.
Background technique
With the depth development of internet, more and more industries are added in internet tide, produce countless be based on
The application of internet provides the recreation based on text, picture, video, game, big data service etc., intelligent terminal
On the type and quantity of application program installed it is also more and more, it is to be understood that more and more users are accustomed to using
Earphone carries out that song, voice etc. is listened to operate, and can listen to sound equipment alone in the case where not influencing other people, can also separate week
The sound in collarette border still in the prior art, earphone keystroke or mobile phone key can only be manipulated by user to adjust the sound of earphone
Amount, mode is relatively simple, and the operating experience degree of user is not high.
Summary of the invention
The technical problem to be solved in the present invention is that solve in the prior art can only by user manipulate earphone keystroke or
Mobile phone key adjusts the volume of earphone, and mode is more single, the problem for causing user's operation Experience Degree low.It is asked for the technology
Topic provides a kind of volume adjustment control method, earphone and computer readable storage medium.
In order to solve the above technical problems, the present invention provides a kind of volume adjustment control method, it is applied to include at least one
The earphone of pressure sensor, the volume adjustment control method include:
When receiving pressure control operations, the current pressure information of the earphone is obtained;
Pressure information by the current pressure information and before receiving the pressure control operations is compared;
Result determines the current volume adjustment strategy of the earphone based on the comparison;
According to the volume adjustment strategy, the volume current to the earphone is controlled.
Optionally, the pressure information includes: at least one of pressure area, the intensity of pressure.
Optionally, the result based on the comparison determines the current volume adjustment strategy of the earphone, comprising:
Judging the difference of the current pressure information and the pressure information before receiving the pressure control operations is
It is no to be greater than preset threshold;
If so, the volume current to the earphone is adjusted.
Optionally, the volume current to the earphone is adjusted, comprising:
It is adjusted according to preset pressure information change value-volume adjustment value mapping table volume current to the earphone
It is whole.
Optionally, the pressure information includes pressure area, and the current pressure information of the earphone that obtains includes:
The earphone is obtained currently by the region area of ambient pressure;
The pressure information by the current pressure information and before receiving the pressure control operations compares
Compared with, comprising:
The region area that will acquire and the suffered ambient pressure before receiving the pressure control operations
Region area is compared.
Optionally, the volume current to the earphone is adjusted, comprising:
The suffered ambient pressure before the region area got is greater than and receives the pressure control operations
When region area, the volume current to the earphone is tuned up;
The suffered ambient pressure before the region area got is less than and receives the pressure control operations
When region area, the volume current to the earphone is turned down.
Optionally, the pressure information includes the intensity of pressure, and the current pressure information of the earphone that obtains includes:
The earphone is obtained currently by the intensity of pressure of ambient pressure;
The pressure information by the current pressure information and before receiving the pressure control operations compares
Compared with, comprising:
The intensity of pressure that will acquire and the suffered ambient pressure before receiving the pressure control operations
The intensity of pressure is compared.
Optionally, the volume current to the earphone is adjusted, comprising:
When the intensity of pressure got is greater than the suffered ambient pressure before receiving the pressure control operations
The intensity of pressure when, the volume current to the earphone tunes up;
When the intensity of pressure got is less than the suffered ambient pressure before receiving the pressure control operations
The intensity of pressure when, the volume current to the earphone is turned down.
Further, the present invention also provides a kind of earphone, the earphone include processor, memory, communication bus and
At least one pressure sensor;
The pressure sensor is for receiving the pressure control operations that user issues;
The communication bus is for realizing the connection between the processor, the memory and the pressure sensor
Communication;
The processor is for executing one or more program stored in the memory, to realize any of the above-described
The step of described volume adjustment control method.
Further, the present invention also provides a kind of computer readable storage medium, the computer readable storage mediums
It is stored with one or more program, one or more of programs can be executed by one or more processor, to realize
The step of volume adjustment control method as described in any one of the above embodiments.
Beneficial effect
The present invention provides a kind of volume adjustment control method, earphone and computer readable storage medium, the volume adjustment control
Method processed obtains the current pressure information of earphone by when receiving pressure control operations, and then by current pressure information
It is compared with the pressure information before receiving pressure control operations, determines the current volume adjustment of earphone based on comparative result
Strategy, further, according to volume adjustment strategy, the volume current to earphone is controlled.Solving can only lead in the prior art
It crosses user and manipulates earphone keystroke or mobile phone key to adjust the volume of earphone, mode is more single, and user's operation Experience Degree is low
Problem.Namely in the present invention, by user's operation earphone, and then the sound current to earphone according to the pressure information that earphone is subject to
Amount is adjusted, and the not existing volume current to earphone by the manipulation button operations such as earphone keystroke or mobile phone key carries out
Adjustment enriches current earpiece volume adjustment mode that is, the present invention provides a kind of new earpiece volume adjustment mode, is promoted
The operating experience degree of user.
Detailed description of the invention
Present invention will be further explained below with reference to the attached drawings and examples, in attached drawing:
The hardware structural diagram of Fig. 1 each embodiment one optional earphone to realize the present invention;
Fig. 2 is the basic procedure schematic diagram for the volume adjustment control method that first embodiment of the invention provides;
The structure of pressure sensor is set on a kind of feasible In-Ear Headphones that Fig. 3 provides for first embodiment of the invention
Schematic diagram;
Fig. 4 is that one kind that first embodiment of the invention provides is feasible determines the current volume tune of earphone based on comparative result
The basic procedure schematic diagram of whole strategy;
Fig. 5 is a kind of basic procedure signal for specific volume adjustment control method that second embodiment of the invention provides
Figure;
Fig. 6 is the Headphone structure schematic diagram that third embodiment of the invention provides;
Fig. 7 is a kind of basic procedure signal for specific volume adjustment control process that fourth embodiment of the invention provides
Figure.
Specific embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
In subsequent description, it is only using the suffix for indicating such as " module ", " component " or " unit " of element
Be conducive to explanation of the invention, itself there is no a specific meaning.Therefore, " module ", " component " or " unit " can mix
Ground uses.
Earphone is described in the present invention to be implemented in a variety of manners.For example, earphone may include smartwatch, intelligent hand
Ring, pedometer etc..
It will be illustrated by taking earphone as an example in subsequent descriptions, it will be appreciated by those skilled in the art that in addition to being used in particular for
Except the element of mobile purpose, the construction of embodiment according to the present invention can also apply to various types of earphones.
Referring to Fig. 1, a kind of hardware structural diagram of its earphone of each embodiment to realize the present invention, the earphone
100 may include: RF (Radio Frequency, radio frequency) unit 101, WiFi module 102, audio output unit 103, A/V
(audio/video) input unit 104, sensor 105, display unit 106, user input unit 107, interface unit 108, storage
The components such as device 109, processor 110 and power supply 111.It will be understood by those skilled in the art that Headphone structure shown in Fig. 1
Do not constitute the restriction to earphone, earphone may include than illustrating more or fewer components, perhaps combine certain components or
Different component layouts.
It is specifically introduced below with reference to all parts of the Fig. 1 to earphone:
Radio frequency unit 101 can be used for receiving and sending messages or communication process in, signal sends and receivees, specifically, radio frequency list
Uplink information can be sent to base station by member 101, after the downlink information that in addition can also be sent base station receives, be sent to earphone
Processor 110 handle, base station to the downlink information that radio frequency unit 101 is sent can be according to radio frequency unit 101 transmission it is upper
What row information generated, it is also possible to after the information update for detecting earphone actively to the push of radio frequency unit 101, for example,
After detecting that geographical location locating for earphone changes, base station can send geographical location to the radio frequency unit 101 of earphone and become
The message informing can be sent to the processing of earphone after receiving the message informing by the message informing of change, radio frequency unit 101
The processing of device 110, the processor 110 of earphone can control the message informing and be shown on the display unit 106 of earphone;In general, penetrating
Frequency unit 101 includes but is not limited to antenna, at least one amplifier, transceiver, coupler, low-noise amplifier, duplexer
Deng.In addition, radio frequency unit 101 can also be communicated with network and other equipment by wireless communication.But it is understood that penetrating
Frequency unit 101 is simultaneously not belonging to must be configured into for earphone, can according to need completely within the scope of not changing the essence of the invention and
It omits.
WiFi belongs to short range wireless transmission technology, it provides wireless broadband internet access for user.Although Fig. 1
WiFi module 102 is shown, it can also be appreciated that WiFi module 102 also and is not belonging to must be configured into for earphone, completely may be used
To omit within the scope of not changing the essence of the invention as needed.
Audio output unit 103 can be in call signal reception pattern, call mode, logging mode, language in earphone 100
It is radio frequency unit 101 or WiFi module 102 is received or depositing when under the isotypes such as sound recognition mode, broadcast reception mode
The audio data stored in reservoir 109 is converted into audio signal and exports to be sound.Moreover, audio output unit 103 may be used also
To provide audio output relevant to the specific function that earphone 100 executes (for example, call signal receives sound, message sink sound
Sound etc.).Audio output unit 103 may include loudspeaker, buzzer etc..
A/V input unit 104 is for receiving audio signal.A/V input unit 104 may include graphics processor
(Graphics Processing Unit, GPU) 1041 and microphone 1042, graphics processor 1041 is in video acquisition mode
Or the image data of the static images or video obtained in image capture mode by image capture apparatus (such as camera) carries out
Reason.Treated, and picture frame may be displayed on display unit 106.Through graphics processor 1041, treated that picture frame can be deposited
Storage is sent in memory 109 (or other storage mediums) or via radio frequency unit 101 or WiFi module 102.Mike
Wind 1042 can connect in telephone calling model, logging mode, speech recognition mode etc. operational mode via microphone 1042
Quiet down sound (audio data), and can be audio data by such acoustic processing.Audio that treated (voice) data can
To be converted to the format output that can be sent to mobile communication base station via radio frequency unit 101 in the case where telephone calling model.
Microphone 1042 can be implemented various types of noises elimination (or inhibition) algorithms and send and receive sound to eliminate (or inhibition)
The noise generated during frequency signal or interference.
Earphone 100 further includes at least one pressure sensor 105, subsequent to be specifically illustrated.
Display unit 106 is for showing information input by user or being supplied to the information of user.Specifically, can use
Active matrix organic light-emitting diode (Active Matrix/Organic Light-Emitting Diode, AMOLED), nothing
Source organic electric exciting light-emitting diode (Passive matrix OLED).
User input unit 107 can be used for receiving generation key signals related with the user setting of earphone and function control
Input.Specifically, user input unit 107 may include other input equipments 1071.Specifically, other input equipments 1071 can be with
Including but not limited to one of function key (such as volume control button, switch key etc.) etc. or a variety of, does not do specifically herein
It limits.
Interface unit 108 be used as at least one external device (ED) connect with earphone 100 can by interface.For example, external
Device may include wired or wireless headphone port, external power supply (or battery charger) port, wired or wireless number
According to port, memory card port, port, the port audio input/output (I/O), view for connecting the device with identification module
The port frequency I/O, ear port etc..Interface unit 108 can be used for receiving the input from external device (ED) (for example, data are believed
Breath, electric power etc.) and by one or more elements that the input received is transferred in earphone 100 or can be used in ear
Data are transmitted between machine 100 and external device (ED).
Memory 109 can be used for storing software program and various data.Memory 109 can mainly include storing program area
The storage data area and, wherein storing program area can (such as the sound of application program needed for storage program area, at least one function
Sound playing function) etc.;Storage data area, which can be stored, uses created data (such as audio data) etc. according to earphone.This
Outside, memory 109 may include high-speed random access memory, can also include nonvolatile memory, for example, at least one
Disk memory, flush memory device or other volatile solid-state parts.
Processor 110 is the control centre of earphone, using the various pieces of interface and the entire earphone of connection, passes through fortune
Row executes the software program and/or module being stored in memory 109, and calls the data being stored in memory 109,
The various functions and processing data for executing earphone, to carry out integral monitoring to earphone.Processor 110 may include one or more
Processing unit;Preferably, processor 110 can integrate application processor and modem processor, wherein application processor is main
Processing operation system, user interface and application program etc., modem processor mainly handle wireless communication.It is understood that
It is that above-mentioned modem processor can not also be integrated into processor 110.
Earphone 100 can also include the power supply 111 (such as battery) powered to all parts, it is preferred that bluetooth headset is just
Equipped with power supply 111.
Based on above-mentioned mobile earphone hardware configuration, each embodiment of the present invention is proposed.
First embodiment
In order to solve that the volume of earphone can only be adjusted by user's manipulation earphone keystroke or mobile phone key in the prior art,
Mode is more single, the low problem of user's operation Experience Degree.Present embodiments provide a kind of volume adjustment control method, this method
By when receiving pressure control operations, the current pressure information of earphone is obtained, and then by current pressure information and reception
Pressure information before to pressure control operations is compared, and determines the current volume adjustment strategy of earphone based on comparative result,
Further, it is controlled, is specifically may refer to shown in Fig. 2 according to the volume adjustment strategy volume current to earphone, Fig. 2 is this
The volume adjustment control method basic flow chart that embodiment provides, the volume adjustment control method include:
S201: when receiving pressure control operations, the current pressure information of earphone is obtained.
Firstly, it is necessary to explanation, volume adjustment control method provided by the present invention is based on pressure sensor to ear
Machine volume is adjusted, therefore earphone mentioned by the present invention includes at least one pressure sensor, such as may include one
A pressure sensor, two pressure sensors or several pressure sensors, in practical applications, the number of pressure sensor
Flexible setting is carried out by developer, is not specifically limited herein.
Secondly, it should be noted that the avris in earphone can be set in pressure sensor, for example, with reference to shown in Fig. 3, is
A kind of In-Ear Headphones, the earphone avris of left and right earphone are respectively provided with 4 pressure sensors.It is worth noting that, here only
It is the explanation carried out by taking a kind of specific pressure sensor number and specific setting position as an example, in practical applications, pressure passes
The specific setting position of sensor also carries out flexible setting by developer, is not specifically limited herein.
In the present embodiment, earphone includes but is not limited to In-Ear Headphones, PlayGear Stealth, headphone, hangers
Formula earphone etc., it is preferred that the earphone in the present embodiment is In-Ear Headphones.
It is understood that the pressure sensor on earphone can receive pressure information when user's operation earphone, wherein
Pressure information includes but is not limited to pressure area, the intensity of pressure.In the present embodiment, what pressure area referred to is on earphone
Overall area area of the pressure sensor by ambient pressure, for example, be provided with 4 pressure sensors on earphone, obtain respectively this 4
The region area of region area of a pressure sensor by ambient pressure, 4 pressure sensors that will acquire is added, at this time
Earphone is obtained currently by the overall area area of ambient pressure;What the intensity of pressure referred to is pressure sensor on earphone by outer
The gross pressure intensity of boundary's pressure, for example, be provided with 2 pressure sensors on earphone, obtain respectively this 2 pressure sensors by
The intensity of pressure of ambient pressure, the intensities of pressure of 2 pressure sensors that will acquire are added, obtain at this time earphone currently by
The gross pressure intensity of ambient pressure.
In some embodiments, the pressure sensor that pressure area also may refer on earphone is averaged by ambient pressure
Region area obtains this 4 pressure sensors by ambient pressure for example, being provided with 4 pressure sensors on earphone respectively
Region area, divided by the number of pressure sensor after the region area addition for 4 pressure sensors that will acquire, namely divided by
4, earphone is obtained at this time currently by the average area area of ambient pressure;The intensity of pressure also may refer to the biography of the pressure on earphone
Average pressure intensity of the sensor by ambient pressure obtains this 2 pressures for example, being provided with 2 pressure sensors on earphone respectively
The intensity of pressure of the force snesor by ambient pressure, divided by pressure after the intensity of pressure addition for 2 pressure sensors that will acquire
The number of force snesor, namely divided by 2, earphone is obtained at this time currently by the average pressure intensity of ambient pressure.
It is worth noting that, being only the explanation carried out using some specific pressure sensor numbers as example here, in reality
In the application of border, adaptation adjustment need to be done according to specific pressure sensor number, it should be noted that believed with pressure here
Breath includes the explanation that pressure area and the intensity of pressure carry out, and the invention is not limited to both pressure informations, as long as in fact,
Belong in the scope of pressure information, is within the scope of the invention.
In order to better understand the present invention, it is following still with pressure information include pressure area, the intensity of pressure carry out example say
It is bright.
S202: the pressure information by current pressure information and before receiving pressure control operations is compared.
In the present embodiment, when the pressure information got includes pressure area, the current area surface that will acquire
The region area of suffered ambient pressure before accumulating and receiving pressure control operations is compared, it is to be understood that if
Current region area be currently overall area area by ambient pressure when, necessarily will be currently by total area of ambient pressure
Domain area is compared with the overall area area of the suffered ambient pressure before receiving pressure control operations;If current area
Domain area be currently average area area by ambient pressure when, necessarily will be currently by the average area face of ambient pressure
Product is compared with the average area area of the suffered ambient pressure before receiving pressure control operations.
In the present embodiment, when the pressure information got includes the intensity of pressure, the current pressure that will acquire is strong
The intensity of pressure of suffered ambient pressure before spending and receiving pressure control operations is compared, it is to be understood that if
The current intensity of pressure be currently gross pressure intensity by ambient pressure when, necessarily will be currently by the stagnation pressure of ambient pressure
Power intensity is compared with the gross pressure intensity of the suffered ambient pressure before receiving pressure control operations;If current pressure
Power intensity be currently average pressure intensity by ambient pressure when, it is necessarily that the average pressure currently by ambient pressure is strong
It spends and is compared with the average pressure intensity of the suffered ambient pressure before receiving pressure control operations.
S203: the current volume adjustment strategy of earphone is determined based on comparative result.
In the present embodiment, determine that the current volume adjustment strategy of earphone includes at least following two side based on comparative result
Formula:
Mode one, referring specifically to Fig. 4:
S401: judge whether the difference of current pressure information and the pressure information before receiving pressure control operations is big
In preset threshold;
If so, S402 is executed, if it is not, executing S403.
In order to better understand the present invention, it is illustrated here with an example, for example, it is strong as pressure to set pressure information
Degree, the gross pressure intensity that earphone is currently subject to are a, and the gross pressure intensity received before pressure control operations is b, while setting a
It has been greater than preset threshold c with the difference of b, has executed S402 at this time.It is worth noting that, preset threshold is by developing in practical applications
Personnel carry out flexible setting according to experiment or experience.
S402: the volume current to earphone is adjusted.
Example in undertaking, further, the volume current to earphone are adjusted.
In the present embodiment, when the pressure information got includes pressure area, the volume current to earphone is adjusted
Whole includes following two situation:
Situation one: the region area got is greater than the region of suffered ambient pressure before receiving pressure control operations
When area, the volume current to earphone is tuned up.It is understood that receiving pressure when the region area got is greater than
Before control operation when the region area of suffered ambient pressure, it is meant that the current volume of earphone is less than normal, is needed at this time to earphone
Current volume carries out tuning up processing.
Situation two: the region area got is less than the region of suffered ambient pressure before receiving pressure control operations
When area, the volume current to earphone is turned down.It is understood that receiving pressure when the region area got is less than
Before control operation when the region area of suffered ambient pressure, it is meant that the current volume of earphone is bigger than normal, is needed at this time to earphone
Current volume carries out turning processing down.
In the present embodiment, when the pressure information got includes the intensity of pressure, the volume current to earphone is adjusted
Whole includes following two situation:
Situation one: the intensity of pressure got is greater than the pressure of the suffered ambient pressure before receiving pressure control operations
When power intensity, the volume current to earphone is tuned up.It is understood that receiving pressure when the intensity of pressure got is greater than
When the intensity of pressure of the suffered ambient pressure before power control operation, it is meant that the current volume of earphone is less than normal, needs at this time pair
The current volume of earphone carries out tuning up processing.
Situation two: the intensity of pressure got is less than the pressure of the suffered ambient pressure before receiving pressure control operations
When power intensity, the volume current to earphone is turned down.It is understood that receiving pressure when the intensity of pressure got is less than
When the intensity of pressure of the suffered ambient pressure before power control operation, it is meant that the current volume of earphone is bigger than normal, needs at this time pair
The current volume of earphone carries out turning processing down.
It will be clear that in the present embodiment, store preset pressure area change value-volume adjustment value mapping relations
Table is to facilitate the volume current to earphone to be adjusted.For example, with reference to shown in table one, become for a kind of specific preset pressure area
Change value-volume adjustment value mapping table.
Table one
Pressure area changing value | Volume adjustment value |
5~8 | 5 |
8~11 | 8 |
11~14 | 11 |
…… | …… |
Here with shown in table one, if the current volume value of earphone is a, when the current pressure area of earphone and pressure is received
The difference of pressure area before control operation is at 5~8, the volume a plus/minus 5 current to earphone, specifically, when earphone is worked as
Preceding pressure area is greater than the pressure area before receiving pressure control operations at 5~8, at this time that earphone is current volume
A adds 5, when the current pressure area of earphone is less than the pressure area before receiving pressure control operations 5~8, at this time will
The current volume a of earphone subtracts 5;The difference of pressure area when the current pressure area of earphone and before receiving pressure control operations
For value at 8~11 and 11~14, which is not described herein again.
It is worth noting that, closed with a kind of specific preset pressure area change value-volume adjustment value mapping here
It is that table is illustrated for example, in practical applications, preset pressure area change value-volume adjustment value mapping table is by developing
Personnel carry out flexible setting according to experiment or experience.
It will be clear that in the present embodiment, also store preset pressure Strength Changes value-volume adjustment value mapping and closing
It is table to facilitate the volume current to earphone to be adjusted.It is a kind of specific preset pressure intensity for example, with reference to shown in table two
Changing value-volume adjustment value mapping table.
Table two
Here with shown in table two, if the current volume value of earphone is b, when the current intensity of pressure of earphone and pressure is received
The difference of the intensity of pressure before control operation is at 5~10, the volume b plus/minus 5 current to earphone, specifically, when earphone is worked as
The preceding intensity of pressure is greater than the intensity of pressure before receiving pressure control operations at 5~10, at this time that earphone is current sound
Amount b adds 5, when the current intensity of pressure of earphone is less than the intensity of pressure before receiving pressure control operations 5~10, at this time
The current volume b of earphone is subtracted 5;When the current intensity of pressure of earphone and the intensity of pressure before receiving pressure control operations
For difference at 10~15 and 15~20, which is not described herein again.
It is worth noting that, being also only with a kind of specific preset pressure Strength Changes value-volume adjustment value mapping here
Relation table is illustrated for example, and in practical applications, preset pressure Strength Changes value-volume adjustment value mapping table is by opening
Hair personnel carry out flexible setting according to experiment or experience.
S403: volume not current to earphone is adjusted.
It is understood that when current pressure information and the difference for receiving the pressure information before pressure control operations
Less than preset threshold, volume not current to earphone is adjusted, namely when earphone it is current pressure information variation and it is little, this
Shi Wuxu is adjusted.
Mode two:
Volume directly current to earphone is adjusted.
As long as it is understood that current pressure information and receiving pressure information before pressure control operations not phase
Whens equal, can the volume current to earphone be adjusted, mode two for mode one, the accuracy of volume adjustment compared with
Height is the more excellent mode of the present embodiment.Specifically the volume current to earphone be adjusted mode above-mentioned progress specifically
Bright, which is not described herein again.
S204: according to volume adjustment strategy, the volume current to earphone is controlled.
It is understood that accordingly being controlled according to the above-mentioned volume adjustment strategy got the volume current to earphone
System, for example, still with shown in table two, if current volume is k, the current intensity of pressure of earphone and receive pressure control operations it
The difference of the preceding intensity of pressure is 10~15, and the current intensity of pressure of earphone is greater than the pressure received before pressure control operations
Power intensity, at this time according to table two it is found that the current volume of earphone need to be increased by 10, the current volume k of control earphone adds 10 at this time.
It is worth noting that, being only that the explanation carried out with a specific example need to do phase in practical applications as the case may be here
It should adjust.
A kind of volume adjustment control method is present embodiments provided, which, which passes through to work as, receives pressure
When control operation, obtain the current pressure information of earphone, so by current pressure information and receive pressure control operations it
Preceding pressure information is compared, and the current volume adjustment strategy of earphone is determined based on comparative result, further, according to volume
The adjustable strategies volume current to earphone controls.Earphone keystroke or hand can only be manipulated by user in the prior art by solving
Machine key adjusts the volume of earphone, and mode is more single, the low problem of user's operation Experience Degree.Namely in the present embodiment,
By user's operation earphone, and then the pressure information being subject to according to the earphone volume current to earphone is adjusted, and non-existing
Be adjusted by the manipulation button operations such as the earphone keystroke or mobile phone key volume current to earphone, i.e., the present embodiment provides
A kind of new earpiece volume adjustment mode, enriches current earpiece volume adjustment mode, improves the operating experience of user
Degree.Also, it in the present embodiment, is obtained by the way that pressure sensor and the higher advantage of user's compactness in earphone is utilized
It is more humanized based on the earpiece volume adjustment that this is carried out to pressure information, further improve the experience satisfaction of user.
Second embodiment
The present embodiment is on the basis of first embodiment, to this hair by taking a kind of specific volume adjustment control method as an example
Bright work further illustrates, and specifically may refer to Fig. 5.
S501: judge whether to receive pressure control operations;
If so, S502 is executed, if it is not, continuing to execute S501.
If the current volume of earphone is A, user has carried out pressure control operations to earphone at this time, that is, has had received pressure control
System operation, executes S502 at this time.
S502: the current pressure information of earphone is obtained.
If getting the current pressure information of earphone is intensity of pressure a, and intensity of pressure a is that all pressure pass on earphone
Summation of the sensor by ambient pressure.
S503: judge whether the difference of current pressure information and the pressure information before receiving pressure control operations is big
In preset threshold;
If so, S504 is executed, if it is not, executing S505.
If getting the intensity of pressure before receiving pressure control operations is b, it is to be understood that pressure here
Intensity b is summation of all pressure sensors by ambient pressure on earphone, is at this time compared a and b, if the difference of a and b
N has been greater than preset threshold m, executes S504 at this time.
S504: the volume current to earphone is adjusted.
Example in undertaking further needs the volume current to earphone to be adjusted at this time, if a is greater than b, and searches pre-
If intensity of pressure changing value-volume adjustment value mapping table, obtaining volume adjustment value corresponding to the difference n of a and b is D, this
When the volume A current to earphone carry out tuning up processing, i.e. the current volume A of control earphone adds D.
S505: volume not current to earphone is adjusted.
It is understood that being adjusted when the difference of a and b is less than preset threshold m without the volume current to earphone
It is whole.
Volume adjustment control method provided in this embodiment, which, which passes through to work as, receives pressure control
When operation, the current pressure information of earphone is obtained, and then by current pressure information and before receiving pressure control operations
Pressure information is compared, and the current volume adjustment strategy of earphone is determined based on comparative result, further, according to volume adjustment
The strategy volume current to earphone controls.Solve can only be manipulated in the prior art by user earphone keystroke or mobile phone by
Key adjusts the volume of earphone, and mode is more single, the low problem of user's operation Experience Degree.Namely in the present embodiment, pass through
User's operation earphone, and then the pressure information being subject to according to the earphone volume current to earphone is adjusted, it is not existing logical
It crosses the manipulation button operations such as the earphone keystroke or mobile phone key volume current to earphone to be adjusted, that is, present embodiments provides one
The new earpiece volume adjustment mode of kind, enriches current earpiece volume adjustment mode, improves the operating experience degree of user.
3rd embodiment
Shown in Figure 6 the present embodiment provides a kind of earphone, earphone provided in this embodiment includes processor 601, deposits
Reservoir 602, communication bus 603 and at least one pressure sensor 604.
Wherein, the pressure sensor 604 in the present embodiment is used to receive the pressure control operations that user issues, communication is total
Line 603 is then used for realizing the connection communication between processor 601, memory 602 and pressure sensor 604, processor 601
In executing one or more program stored in memory 602, to perform the steps of
When receiving pressure control operations, the current pressure information of the earphone is obtained;
Pressure information by the current pressure information and before receiving the pressure control operations is compared;
Result determines the current volume adjustment strategy of the earphone based on the comparison;
According to the volume adjustment strategy, the volume current to the earphone is controlled.
It should be noted that in the present embodiment, the number and specific location of pressure sensor are carried out by developer
Flexible setting is not specifically limited herein.It is understood that earphone includes but is not limited to In-Ear Headphones, ear type ear
Machine, headphone, clip-on type earphone etc., it is preferred that the earphone in the present embodiment is In-Ear Headphones.
It will be clear that the pressure sensor 604 on earphone can receive pressure information when user's operation earphone,
Wherein pressure information includes but is not limited to pressure area, the intensity of pressure.In some embodiments, what pressure area referred to is ear
Overall area area of the pressure sensor by ambient pressure on machine, what the intensity of pressure referred to is pressure sensor on earphone by
To the gross pressure intensity of ambient pressure;In further embodiments, pressure area also may refer to the pressure sensor on earphone
By the average area area of ambient pressure, the intensity of pressure also may refer to the pressure sensor on earphone by ambient pressure
Average pressure intensity.
In the present embodiment, when the pressure information got includes pressure area, processor 601 be will acquire current
Region area and the region area of the suffered ambient pressure before receiving pressure control operations be compared.
In the present embodiment, when the pressure information got includes the intensity of pressure, processor 601 be will acquire current
The intensity of pressure and the intensity of pressure of the suffered ambient pressure before receiving pressure control operations be compared
In the present embodiment, processor 601 also executes following steps:
It is pre- to judge whether the difference of current pressure information and the pressure information before receiving pressure control operations is greater than
If threshold value;
If so, the volume current to earphone is adjusted.
In the present embodiment, when the pressure information got includes pressure area, the sound current to earphone of processor 601
Amount is adjusted including following two situation:
Situation one: the region area got is greater than the region of suffered ambient pressure before receiving pressure control operations
When area, the volume current to earphone of processor 601 is tuned up.
Situation two: the region area got is less than the region of suffered ambient pressure before receiving pressure control operations
When area, the volume current to earphone of processor 601 is turned down.
In the present embodiment, when the pressure information got includes the intensity of pressure, the sound current to earphone of processor 601
Amount is adjusted including following two situation:
Situation one: the intensity of pressure got is greater than the pressure of the suffered ambient pressure before receiving pressure control operations
When power intensity, the volume current to earphone of processor 601 is tuned up.
Situation two: the intensity of pressure got is less than the pressure of the suffered ambient pressure before receiving pressure control operations
When power intensity, the volume current to earphone of processor 601 is turned down.
It is worth noting that, not fully expounding the institute in embodiment one, two in the present embodiment in order not to burden explanation
There is example, it is understood that, all examples in embodiment one, two are suitable for the present embodiment.
The present embodiment also provides a kind of computer readable storage medium, computer-readable recording medium storage have one or
Multiple programs, one or more program can be executed by one or more processor, to realize that above-mentioned volume adjustment such as controls
The step of method.
Earphone and computer readable storage medium provided in this embodiment receive pressure control behaviour by judging whether
Make, if receive pressure control operations, obtains current pressure information, and then by current pressure information and receive pressure
Pressure information before control operation is compared, and determines current volume adjustment strategy, further, root based on comparative result
Current volume is controlled according to volume adjustment strategy.Namely earphone provided in this embodiment realizes and receives what user executed
Pressure control operations, and then be adjusted according to the pressure information the being subject to volume current to earphone, and only lead in the prior art
It crosses the manipulation button operations such as the earphone keystroke or mobile phone key volume current to earphone and is adjusted and compare, described in the present embodiment
Earphone provides a kind of earpiece volume adjustment mode, enriches current earpiece volume adjustment mode, improves the operation of user
Experience Degree.
Fourth embodiment
The present embodiment provides a kind of tool of the realization of processor 601 volume adjustment control on the basis of 3rd embodiment
Body process realizes that process is as follows, specifically may refer to Fig. 7.
S701: judge whether to receive pressure control operations;
If so, S702 is executed, if it is not, continuing to execute S701.
If the current volume of earphone is A, user has carried out pressure control operations, i.e. pressure sensor 604 to earphone at this time
Pressure control operations are had received, execute S702 at this time.
S702: the current pressure information of earphone is obtained.
If it is pressure area a that processor 601, which gets the current pressure information of earphone, and pressure area a is on earphone
Average value of all pressure sensors by ambient pressure.
S703: judge whether current pressure information is greater than the pressure information before receiving pressure control operations;
If so, S704 is executed, if it is not, executing S705.
If it is b that processor 601, which gets the pressure area before receiving pressure control operations, it is to be understood that
Here pressure area b is average value of all pressure sensors by the pressure area of ambient pressure on earphone, is handled at this time
A and b are compared by device 601, if a is less than b, execute S705 at this time.
S704: the volume current to earphone tunes up.
It is understood that when a be greater than b when, processor 601 need to the volume current to earphone carry out tuning up processing.
S705: the volume current to earphone is turned down.
Example in undertaking, further, processor 601 needs the volume current to earphone to carry out turning processing down at this time, searches
Preset pressure Strength Changes value-volume adjustment value mapping table, obtaining volume adjustment value corresponding to the difference n of a and b is D,
The volume A current to earphone of processor 601 carries out turning processing down at this time, i.e. the current volume A of control earphone subtracts D.
Earphone provided in this embodiment receives pressure control operations by judging whether, if receiving pressure control behaviour
When making, current pressure information is obtained, and then the pressure by current pressure information and before receiving pressure control operations is believed
Breath is compared, and determines current volume adjustment strategy based on comparative result, further, according to volume adjustment strategy to current
Volume controlled.Namely earphone provided in this embodiment realizes and receives the pressure control operations that user executes, Jin Ergen
It is adjusted according to the pressure information the being subject to volume current to earphone, and only passes through manipulation earphone keystroke or mobile phone in the prior art
The button operations such as the key volume current to earphone, which is adjusted, to be compared, and earphone described in the present embodiment provides a kind of earphone sound
Adjustment mode is measured, current earpiece volume adjustment mode is enriched, improves the operating experience degree of user.
It should be noted that, in this document, the terms "include", "comprise" or its any other variant are intended to non-row
His property includes, so that the process, method, article or the device that include a series of elements not only include those elements, and
And further include other elements that are not explicitly listed, or further include for this process, method, article or device institute it is intrinsic
Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including being somebody's turn to do
There is also other identical elements in the process, method of element, article or device.
The serial number of the above embodiments of the invention is only for description, does not represent the advantages or disadvantages of the embodiments.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side
Method can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but in many cases
The former is more preferably embodiment.Based on this understanding, technical solution of the present invention substantially in other words does the prior art
The part contributed out can be embodied in the form of software products, which is stored in a storage medium
In (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that a terminal (can be mobile phone, computer, service
Device, air conditioner or network equipment etc.) execute method described in each embodiment of the present invention.
The embodiment of the present invention is described with above attached drawing, but the invention is not limited to above-mentioned specific
Embodiment, the above mentioned embodiment is only schematical, rather than restrictive, those skilled in the art
Under the inspiration of the present invention, without breaking away from the scope protected by the purposes and claims of the present invention, it can also make very much
Form, all of these belong to the protection of the present invention.
Claims (10)
1. a kind of volume adjustment control method, which is characterized in that described applied to the earphone including at least one pressure sensor
Volume adjustment control method includes:
When receiving pressure control operations, the current pressure information of the earphone is obtained;
Pressure information by the current pressure information and before receiving the pressure control operations is compared;
Result determines the current volume adjustment strategy of the earphone based on the comparison;
According to the volume adjustment strategy, the volume current to the earphone is controlled.
2. volume adjustment control method as described in claim 1, which is characterized in that the pressure information include: pressure area,
At least one of intensity of pressure.
3. volume adjustment control method as claimed in claim 2, which is characterized in that the result based on the comparison determines institute
State the current volume adjustment strategy of earphone, comprising:
Whether the difference of the pressure information before judging the current pressure information and receiving the pressure control operations is big
In preset threshold;
If so, the volume current to the earphone is adjusted.
4. volume adjustment control method as claimed in claim 3, which is characterized in that the volume current to the earphone into
Row adjustment, comprising:
It is adjusted according to preset pressure information change value-volume adjustment value mapping table volume current to the earphone.
5. volume adjustment control method as described in claim 3 or 4, which is characterized in that the pressure information includes pressure face
Product, the current pressure information of the earphone that obtains include:
The earphone is obtained currently by the region area of ambient pressure;
The pressure information by the current pressure information and before receiving the pressure control operations is compared, and is wrapped
It includes:
The region of the region area that will acquire and the suffered ambient pressure before receiving the pressure control operations
Area is compared.
6. volume adjustment control method as claimed in claim 5, which is characterized in that the volume current to the earphone into
Row adjustment, comprising:
The region of suffered ambient pressure before the region area got is greater than and receives the pressure control operations
When area, the volume current to the earphone is tuned up;
The region of suffered ambient pressure before the region area got is less than and receives the pressure control operations
When area, the volume current to the earphone is turned down.
7. volume adjustment control method as described in claim 3 or 4, which is characterized in that the pressure information includes that pressure is strong
Degree, the current pressure information of the earphone that obtains include:
The earphone is obtained currently by the intensity of pressure of ambient pressure;
The pressure information by the current pressure information and before receiving the pressure control operations is compared, and is wrapped
It includes:
The pressure of the intensity of pressure that will acquire and the suffered ambient pressure before receiving the pressure control operations
Intensity is compared.
8. volume adjustment control method as claimed in claim 7, which is characterized in that the volume current to the earphone into
Row adjustment, comprising:
When the intensity of pressure got is greater than the pressure of the suffered ambient pressure before receiving the pressure control operations
When power intensity, the volume current to the earphone is tuned up;
When the intensity of pressure got is less than the pressure of the suffered ambient pressure before receiving the pressure control operations
When power intensity, the volume current to the earphone is turned down.
9. a kind of earphone, which is characterized in that the earphone includes that processor, memory, communication bus and at least one pressure pass
Sensor;
The pressure sensor is for receiving the pressure control operations that user issues;
The communication bus is logical for realizing the connection between the processor, the memory and the pressure sensor
Letter;
The processor is for executing one or more program stored in the memory, to realize such as claim 1-8
The step of described in any item volume adjustment control methods.
10. a kind of computer readable storage medium, which is characterized in that the computer-readable recording medium storage have one or
Multiple programs, one or more of programs can be executed by one or more processor, to realize that claim 1-8 such as appoints
The step of volume adjustment control method described in one.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810847219.3A CN109068210A (en) | 2018-07-27 | 2018-07-27 | A kind of volume adjustment control method, earphone and computer readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810847219.3A CN109068210A (en) | 2018-07-27 | 2018-07-27 | A kind of volume adjustment control method, earphone and computer readable storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109068210A true CN109068210A (en) | 2018-12-21 |
Family
ID=64835764
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810847219.3A Pending CN109068210A (en) | 2018-07-27 | 2018-07-27 | A kind of volume adjustment control method, earphone and computer readable storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109068210A (en) |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101661777A (en) * | 2008-08-27 | 2010-03-03 | 索尼株式会社 | Playback apparatus, playback method and program |
CN103106021A (en) * | 2011-11-11 | 2013-05-15 | 财团法人资讯工业策进会 | Handheld device and control method thereof |
CN103458113A (en) * | 2013-08-18 | 2013-12-18 | 苏州量跃信息科技有限公司 | Method and terminal for adjusting communication volume |
CN105246000A (en) * | 2015-10-28 | 2016-01-13 | 维沃移动通信有限公司 | Method for improving sound quality of headset and mobile terminal |
CN105955658A (en) * | 2016-05-23 | 2016-09-21 | 广东欧珀移动通信有限公司 | Method and apparatus for interaction by curved surface screen and mobile terminal |
CN106843572A (en) * | 2016-12-30 | 2017-06-13 | 上海创功通讯技术有限公司 | Mobile terminal and its control method |
-
2018
- 2018-07-27 CN CN201810847219.3A patent/CN109068210A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101661777A (en) * | 2008-08-27 | 2010-03-03 | 索尼株式会社 | Playback apparatus, playback method and program |
CN103106021A (en) * | 2011-11-11 | 2013-05-15 | 财团法人资讯工业策进会 | Handheld device and control method thereof |
CN103458113A (en) * | 2013-08-18 | 2013-12-18 | 苏州量跃信息科技有限公司 | Method and terminal for adjusting communication volume |
CN105246000A (en) * | 2015-10-28 | 2016-01-13 | 维沃移动通信有限公司 | Method for improving sound quality of headset and mobile terminal |
CN105955658A (en) * | 2016-05-23 | 2016-09-21 | 广东欧珀移动通信有限公司 | Method and apparatus for interaction by curved surface screen and mobile terminal |
CN106843572A (en) * | 2016-12-30 | 2017-06-13 | 上海创功通讯技术有限公司 | Mobile terminal and its control method |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109511037B (en) | Earphone volume adjusting method and device and computer readable storage medium | |
CN108647005A (en) | Audio frequency playing method, mobile terminal and computer readable storage medium | |
CN106375573B (en) | Method and device for switching call mode | |
US11234089B2 (en) | Microphone hole blockage detection method, microphone hole blockage detection device, and wireless earphone | |
US20070140471A1 (en) | Enhanced usage of telephone in noisy surroundings | |
WO2020057419A1 (en) | Audio control method and device, and terminal | |
CN109656511A (en) | A kind of audio frequency playing method, terminal and computer readable storage medium | |
US20230114196A1 (en) | Hearing protector systems | |
CN108111670A (en) | Automatically adjust the method, apparatus and bluetooth headset of bluetooth headset volume | |
EP1943819A1 (en) | Method and device for wireless sound production into user's ear | |
CN107258058A (en) | The system and method for antenna diversity switching | |
CN112004174B (en) | Noise reduction control method, device and computer readable storage medium | |
CN109040446A (en) | Call handling method and Related product | |
CN109256151B (en) | Call voice regulation and control method and device, mobile terminal and readable storage medium | |
CN110350935B (en) | Audio signal output control method, wearable device and readable storage medium | |
CN110602696A (en) | Conversation privacy protection method and electronic equipment | |
US20240171953A1 (en) | Earphone communication method, earphone device and computer-readable storage medium | |
CN109375894A (en) | Earpiece volume based reminding method, device, mobile terminal and readable storage medium storing program for executing | |
CN109873894B (en) | Volume adjusting method and mobile terminal | |
CN107609371A (en) | A kind of message prompt method and audio-frequence player device | |
US20190124436A1 (en) | Automatic keyword pass-through system | |
CN109828738A (en) | A kind of volume adjustment control method, earphone and computer readable storage medium | |
CN105827813B (en) | The method and terminal device of a kind of terminal device call | |
CN109068210A (en) | A kind of volume adjustment control method, earphone and computer readable storage medium | |
CN112770001B (en) | Output volume regulation and control method, device and computer readable storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20181221 |
|
RJ01 | Rejection of invention patent application after publication |