CN106375554A - Audio output control method and mobile terminal - Google Patents
Audio output control method and mobile terminal Download PDFInfo
- Publication number
- CN106375554A CN106375554A CN201610723390.4A CN201610723390A CN106375554A CN 106375554 A CN106375554 A CN 106375554A CN 201610723390 A CN201610723390 A CN 201610723390A CN 106375554 A CN106375554 A CN 106375554A
- Authority
- CN
- China
- Prior art keywords
- audio signal
- earphone
- mobile terminal
- receiver
- sound channel
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72448—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
- H04M1/72454—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/60—Substation equipment, e.g. for use by subscribers including speech amplifiers
- H04M1/6033—Substation equipment, e.g. for use by subscribers including speech amplifiers for providing handsfree use or a loudspeaker mode in telephone sets
- H04M1/6041—Portable telephones adapted for handsfree use
- H04M1/6058—Portable telephones adapted for handsfree use involving the use of a headset accessory device connected to the portable telephone
- H04M1/6066—Portable telephones adapted for handsfree use involving the use of a headset accessory device connected to the portable telephone including a wireless connection
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72403—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
- H04M1/72409—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality by interfacing with external accessories
- H04M1/72412—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality by interfacing with external accessories using two-way short-range wireless interfaces
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72403—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
- H04M1/72442—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality for playing music files
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72448—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
- H04M1/72457—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to geographic location
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Human Computer Interaction (AREA)
- Environmental & Geological Engineering (AREA)
- Multimedia (AREA)
- Telephone Function (AREA)
Abstract
The invention provides an audio output control method and a mobile terminal, wherein the audio output control method is applied to the mobile terminal, and comprises the following steps of: obtaining motion state information of the mobile terminal when the fact that the mobile terminal transmits a first audio signal through an earphone is detected; acquiring an environmental audio signal when the fact that the mobile terminal is in the motion state is determined according to the motion state information; and outputting the environmental audio signal through the earphone if the volume of the environmental audio signal is greater than a pre-set value. According to the audio output control method and the mobile terminal disclosed by the invention, when the facts that the mobile terminal transmits the first audio signal through the earphone and the mobile terminal is in the motion state are detected, the environmental audio signal, the volume of which is greater than the pre-set value, is output through the earphone; therefore, users can obtain self environmental information accurately in time while using the earphone in the motion state; therefore, important information can be prevented from being missed; the user security is increased; and the user experience is improved.
Description
Technical field
The present invention relates to communication technical field, particularly relate to a kind of control method of audio output and mobile terminal.
Background technology
With the popularization of mobile terminal, for meeting the use demand of user's diversification, application program on mobile terminal
Species and function are more and more abundanter.
Nowadays, the user that is on the way seen everywhere wears earphone and carries out audio and video playing or voice and video telephone by mobile terminal
Deng extraneous environmental noise not only being isolated by earphone, can also improve listening quality, lift user experience.But with
When, due to the shielding action of earphone environment noise to external world, lead to user in the sound carrying out audio frequency and video or voice using earphone
Transmission is it is impossible to timely and accurately know itself residing environmental information, and then miss critical information, or even initiation potential.
Content of the invention
The technical problem to be solved in the present invention is to provide a kind of control method of audio output and mobile terminal, can solve the problem that
User is using the problem that cannot timely and accurately know itself residing environmental information during earphone.
In a first aspect, the embodiment of the present invention provides a kind of control method of audio output, it is applied to mobile terminal, the method
Including:
When mobile terminal is detected by earphone transmission the first audio signal, obtain the kinestate letter of mobile terminal
Breath;
When according to movement state information, when determining that mobile terminal is kept in motion, gather environmental audio signal;
If the volume of environmental audio signal is more than preset value, environmental audio signal is exported by earphone.
Second aspect, the embodiment of the present invention provides a kind of mobile terminal, and this mobile terminal includes:
Acquisition module, for when mobile terminal is detected by earphone transmission the first audio signal, obtaining mobile terminal
Movement state information;
Acquisition module, for working as according to movement state information, when determining that mobile terminal is kept in motion, gathers ambient sound
Frequency signal;
Output module, if the volume for environmental audio signal is more than preset value, environmental audio signal is passed through earphone
Output.
The control method of audio output provided in an embodiment of the present invention and mobile terminal, pass through ear mobile terminal is detected
Machine transmits the first audio signal, and when mobile terminal is kept in motion, the environmental audio signal that volume is more than preset value is led to
Cross earphone output so that user under kinestate using earphone when, can timely and accurately know itself residing environment letter
Breath, it is to avoid miss critical information, it is possible to increase user security, lifts Consumer's Experience.
Brief description
In order to be illustrated more clearly that the technical scheme of the embodiment of the present invention, below will be to required in embodiment of the present invention description
Accompanying drawing to be used be briefly described it should be apparent that, drawings in the following description are only some embodiments of the present invention,
For those of ordinary skill in the art, without having to pay creative labor, can also be obtained according to these accompanying drawings
Obtain other accompanying drawings.
Fig. 1 represents a kind of flow chart of the control method of audio output that first embodiment of the invention provides;
Fig. 2 represents a kind of flow chart of the step 101 that first embodiment of the invention provides;
Fig. 3 represents a kind of flow chart of the control method of audio output that second embodiment of the invention provides;
Fig. 4 represents a kind of flow chart of the control method of audio output that third embodiment of the invention provides;
Fig. 5 represents a kind of structure chart of the mobile terminal that fourth embodiment of the invention provides;
Fig. 6 represents another kind of structure chart of the mobile terminal that fourth embodiment of the invention provides;
Fig. 7 represents a kind of structure chart of the mobile terminal that fifth embodiment of the invention provides;
Fig. 8 represents a kind of structure chart of the mobile terminal that sixth embodiment of the invention provides.
Specific embodiment
For making the technical problem to be solved in the present invention, technical scheme and advantage clearer, below in conjunction with accompanying drawing and tool
Body embodiment is described in detail.
First embodiment
Refer to Fig. 1, it is illustrated that the flow chart of the control method of audio output that first embodiment of the invention provides,
First embodiment of the invention provides a kind of control method of audio output, is applied to mobile terminal, the method can include following
Step:
Step 101, when mobile terminal is detected by earphone transmission the first audio signal, obtains the motion of mobile terminal
Status information.
In this step, currently pass through earphone transmission first audio signal mobile terminal is detected, this first audio frequency is believed
Number it is a certain audio signal being passed through earphone transmission by mobile terminal, such as music, video sound, call voice etc., now, really
Determine user and just carry out audio signal transmission using earphone, then obtain the movement state information of mobile terminal.Wherein, optional at some
Embodiment in, the movement state information of mobile terminal can include positioning position information, then in step 101, obtain move
The step of the movement state information of terminal may include that the positioning position information obtaining mobile terminal;Or, optional at some
In embodiment, the movement state information of mobile terminal can include step number statistical information, then, in step 101, obtain mobile whole
The step of the movement state information at end may include that the step number statistical information obtaining mobile terminal in second scheduled time.Certainly,
The movement state information of this mobile terminal can include positioning position information and step number statistical information simultaneously, is not construed as limiting here.
Step 102, when according to movement state information, when determining that mobile terminal is kept in motion, collection environmental audio is believed
Number.
In this step, environmental audio signal refers to the audio signal of outside (around) environment residing for mobile terminal.This
In, when determining that mobile terminal is kept in motion, gather environmental audio signal, be that subsequent step is prepared.Wherein it is possible to it is logical
Cross the mike collection environmental audio signal on mobile terminal.
In addition, after determining that mobile terminal is kept in motion, may further determine that the user carrying this mobile terminal
Whether it is kept in motion, then gather environmental audio signal again.For example, by working as in first scheduled time, sprocket bit confidence
When the change in location scope of breath is in the first preset range, that is, determines that mobile terminal is kept in motion, and carry this movement
When the user of terminal is kept in motion, gather environmental audio signal.Again for example, by being more than default step when step number statistical information
During number, that is, determine that mobile terminal is kept in motion, and when carrying the user of this mobile terminal and being kept in motion, gather environment
Audio signal.
Step 103, if the volume of environmental audio signal is more than preset value, environmental audio signal is exported by earphone.
In this step, setting for screening to the environmental audio signal currently collecting of preset value, with judgement be
No need by earphone export prompting user;This preset value can be carried out by actually used scene, general knowledge or empirical value
Set, this preset value can be the numerical value using decibel as measurement unit, for example, can be 90 decibels, this embodiment does not limit
Fixed.Here, the volume of the environmental audio signal collecting and preset value are compared, when environmental audio signal is more than preset value
When, then judge to need to export the environmental audio signal collecting by earphone, and environmental audio signal exported by earphone,
So that user's ear receives this environmental audio signal.Wherein, in this step, further can will be little for volume in environmental audio signal
Audio signal in preset value is filtered, and only output, more than the audio signal of preset value, will be more than in environmental audio signal
The audio signal of preset value is exported by earphone.
In an optional embodiment, for preventing the environmental audio signal that will be greater than preset value from directly exporting by earphone
User's ear is caused damage, for this reason, in step 103, environmental audio signal be may include that by the step that earphone exports
Environmental audio signal is carried out fall can process, obtain the second audio signal;Second audio signal is exported by earphone.
Here, the fall that environmental audio signal is carried out with equal proportion can be processed, by the peak of the volume of environmental audio signal
It is maintained at default decibel value scope, such as 60 to 70 decibels, process and obtain the second audio signal, so that the sound of environmental audio signal
Amount is maintained at the suitable decibel value of user's ear, is then exported processing the second audio signal obtaining by earphone, with true again
The environmental audio signal protecting output will not cause to user's ear to damage.In addition, as one kind deformation of present embodiment, permissible
The maximum of the volume of environmental audio signal is set to the volume identical decibel value with the first audio signal.
In an optional embodiment, step 103, the step that environmental audio signal is exported by earphone can be wrapped
Include:
Environmental audio signal is mixed with the first audio signal, obtains the 3rd audio signal, the 3rd sound is exported by earphone
Frequency signal;Or, suspend and pass through earphone transmission first audio signal, environmental audio signal is exported by earphone.
Here it is possible to mix environmental audio signal in insertion the first audio signal, obtain the 3rd audio signal, then will
3rd audio signal is exported by earphone points out user;Or, the first audio signal is suspended output, individually by environmental audio
Signal is exported by earphone and points out user.In addition, in one kind deformation of present embodiment, environmental audio signal can be replaced
For default prompting audio frequency, such as alarm audio frequency or the voice message audio frequency as " please noting ".
In addition, in actual use, two receivers of earphone may all not worn or all not be worn on user's ear
On piece, at this moment although mobile terminal passes through earphone exports audio signal, but environment noise is not shielded to external world, now,
User can pass through ear direct access extraneous environmental noise.Based on the consideration to said circumstances, based on the above method,
Referring to Fig. 2, it is illustrated that a kind of flow chart of the step 101 that first embodiment of the invention provides, and the embodiment of the present invention provides
Method in, step 101 may comprise steps of:
Step 1011, when mobile terminal passes through earphone transmission the first audio signal, judges first receiver and the of earphone
Whether two receivers are in wearing state.
In this step, set up with mobile terminal in earphone and be connected, the headset plug insertion mobile terminal of such as wired earphone
Bluetooth equipment in the earphone jack of upper configuration or mobile terminal is communicated to connect with wireless headset, and mobile terminal is passed by earphone
During defeated first audio signal, the first receiver to earphone and the wearing state of the second receiver judge, to determine whether to be
The no movement state information needing acquisition mobile terminal, is that subsequent step is prepared.
Step 1012, when judging the first receiver and the second receiver is in wearing state, obtains the motion of mobile terminal
Status information.
In this step, when two receivers determining earphone are in wearing state, then obtain the motion shape of mobile terminal
State information;When judging that at least one of two receivers of earphone (one or two) be not in wearing state, the now side of end
Method flow process.
After earphone and mobile terminal are set up and be connected, the earphone power amplifier unit of mobile terminal can be respectively earphone, and each is listened
Sound channel on cylinder is powered to drive earphone, realizes mobile terminal and passes through earphone transmission first audio signal.Find under study for action, will
User's ear wears receiver compared with not wearing receiver, and when wearing, the sound channel air pressure ratio of the receiver worn is larger, in earphone work(
Put the same voltage drive signals of unit output, the vibration amplitude of this sound channel is less, and resistance is less, thus the driving electricity of this sound channel
Stream is larger.Based on this principle, the driving current value of the sound channel of each receiver of earphone can be obtained in real time or at regular intervals,
To judge whether user's ear wears headset earpiece according to this driving current value.
In an optional embodiment, step 1011, judge whether the first receiver of earphone and the second receiver are in wearing
The step wearing state may include that
Obtain the first earphone sound channel and the driving current value of the second earphone sound channel, wherein, the first earphone sound channel is and first
The corresponding electric signal transmission passage connecting of receiver, the second earphone sound channel is that the electric signal transmission of connection corresponding with the second receiver is led to
Road;
When the driving current value of the first earphone sound channel is more than the first predetermined current threshold, judges that the first receiver is in and wear shape
State;
When the driving current value of the second earphone sound channel is more than the second predetermined current threshold, judges that the second receiver is in and wear shape
State.
Here, obtain the first earphone sound channel and the driving current value of the second earphone sound channel respectively, then will get first
The first predetermined current threshold under the driving current value of earphone sound channel voltage drive signals corresponding with the first earphone sound channel is carried out
Relatively, by the under corresponding with the second earphone sound channel for the driving current value of the get second earphone sound channel voltage drive signals
Two predetermined current threshold are compared, when the driving current value of a certain earphone sound channel is more than corresponding predetermined current threshold, then
Judge that this corresponding receiver of earphone sound channel is in wearing state.Wherein, for the drive of the first earphone sound channel and the second earphone sound channel
The acquisition of galvanic electricity flow valuve can be by way of using real-time acquisition, it would however also be possible to employ the mode that the interval scheduled time obtains.
The control method of the audio output that first embodiment of the invention provides, passes through earphone transmission mobile terminal is detected
First audio signal, and when mobile terminal is kept in motion, the environmental audio signal that volume is more than preset value is defeated by earphone
Go out so that user under kinestate using earphone when, can timely and accurately know itself residing environmental information, it is to avoid wrong
Cross important information, it is possible to increase user security, lift Consumer's Experience.
Second embodiment
Refer to Fig. 3, it is illustrated that a kind of stream of the control method of audio output that second embodiment of the invention provides
Cheng Tu, second embodiment of the invention provides a kind of control method of audio output, is applied to mobile terminal, the method can include
Following steps:
Step 301, when mobile terminal passes through earphone transmission the first audio signal, judges first receiver and second of earphone
Whether receiver is in wearing state.
In this step, in actual use, two receivers of earphone may all not worn or all not be worn on use
On the ear of family, although at this moment mobile terminal passes through earphone exports audio signal, environment noise is not shielded to external world, this
When user can pass through ear direct access extraneous environmental noise.Therefore, set up with mobile terminal in earphone and be connected, for example wired
The headset plug of earphone inserts bluetooth equipment and wireless headset on the earphone jack configuring on mobile terminal or mobile terminal
Communication connection, when mobile terminal passes through earphone transmission the first audio signal, then the pendant of the first receiver to earphone and the second receiver
The state of wearing is judged.
Step 302, when judging the first receiver and the second receiver is in wearing state, obtains the sprocket bit of mobile terminal
Confidence ceases.
In this step, when two receivers determining earphone are in wearing state, then obtain the sprocket bit of mobile terminal
Confidence ceases;When judging that at least one of two receivers of earphone (one or two) be not in wearing state, then ending method
Flow process.Wherein, the positioning position information of mobile terminal can be obtained by the location positioning module detection of configuration on mobile terminal,
This location positioning module is that configuration is used for obtaining the positional information (latitude and longitude coordinates) of mobile phone users on mobile terminals
Device, this location positioning module is generally the standard configuration device on mobile terminal, such as gps (global positioning
System, global positioning system).In addition, detecting that the method for positioning position information can be according to existing according to location positioning module
Technology is realized, and is not construed as limiting here.
After earphone and mobile terminal are set up and be connected, the earphone power amplifier unit of mobile terminal can be respectively earphone, and each is listened
Sound channel on cylinder is powered to drive earphone, realizes mobile terminal and passes through earphone transmission first audio signal.Find under study for action, will
User's ear wears receiver compared with not wearing receiver, and when wearing, the sound channel air pressure ratio of the receiver worn is larger, in earphone work(
Put the same voltage drive signals of unit output, the vibration amplitude of this sound channel is less, and resistance is less, thus the driving electricity of this sound channel
Stream is larger.Based on this principle, the driving current value of the sound channel of each receiver of earphone can be obtained in real time or at regular intervals,
To judge whether user's ear wears headset earpiece according to this driving current value.
In an optional embodiment, step 301, judge whether the first receiver of earphone and the second receiver are in wearing
The step of state may include that
Obtain the first earphone sound channel and the driving current value of the second earphone sound channel, wherein, the first earphone sound channel is and first
The corresponding electric signal transmission passage connecting of receiver, the second earphone sound channel is that the electric signal transmission of connection corresponding with the second receiver is led to
Road;When the driving current value of the first earphone sound channel is more than the first predetermined current threshold, judge that the first receiver is in wearing state;When
The driving current value of the second earphone sound channel is more than the second predetermined current threshold, judges that the second receiver is in wearing state.
Here, obtain the first earphone sound channel and the driving current value of the second earphone sound channel respectively, then will get first
The first predetermined current threshold under the driving current value of earphone sound channel voltage drive signals corresponding with the first earphone sound channel is carried out
Relatively, by the under corresponding with the second earphone sound channel for the driving current value of the get second earphone sound channel voltage drive signals
Two predetermined current threshold are compared, when the driving current value of a certain earphone sound channel is more than corresponding predetermined current threshold, then
Judge that this corresponding receiver of earphone sound channel is in wearing state.Wherein, for the drive of the first earphone sound channel and the second earphone sound channel
The acquisition of galvanic electricity flow valuve can be by way of using real-time acquisition, it would however also be possible to employ the mode that the interval scheduled time obtains.
Step 303, when, in first scheduled time, the change in location scope of positioning position information is in the first preset range
When, gather environmental audio signal.
In this step, the positioning position information according to obtaining obtains the position of the positioning position information in first scheduled time
Excursion, and judge whether this change in location scope is in the first preset range, the setting of this first preset range is used for
Judge whether change in location scope within first scheduled time for the positioning position information obtaining belongs to proper motion and (for example walk
Or run) change in location scope, motion of mobile terminals is excluded with this and carries the situation that the user of this mobile terminal does not move
And such as user takes the situation of subway and other modes of transport.This first preset range can be by actually used scene, general knowledge
Or empirical value is set, this embodiment is not construed as limiting.
In addition, in this step, environmental audio signal refers to the audio frequency letter of outside (around) environment residing for mobile terminal
Number.Here, when determining that the user carrying this mobile terminal is kept in motion, gather environmental audio signal, be subsequent step
Prepare.Wherein it is possible to environmental audio signal is gathered by the mike on mobile terminal.
Step 304, if the volume of environmental audio signal is more than preset value, environmental audio signal is exported by earphone.
In this step, setting for screening to the environmental audio signal currently collecting of preset value, with judgement be
No need by earphone export prompting user;This preset value can be carried out by actually used scene, general knowledge or empirical value
Set, this preset value can be the numerical value using decibel as measurement unit, for example, can be 90 decibels, this embodiment does not limit
Fixed.Here, the volume of the environmental audio signal collecting and preset value are compared, when environmental audio signal is more than preset value
When, then judge to need to export the environmental audio signal collecting by earphone, and environmental audio signal exported by earphone,
So that user's ear receives this environmental audio signal.Wherein, in this step, further can will be little for volume in environmental audio signal
Audio signal in preset value is filtered, and only output, more than the audio signal of preset value, will be more than in environmental audio signal
The audio signal of preset value is exported by earphone.
In an optional embodiment, for preventing the environmental audio signal that will be greater than preset value from directly exporting by earphone
User's ear is caused damage, for this reason, in step 304, by environmental audio signal by the step that earphone exports may include that by
Environmental audio signal carries out fall and can process, and obtains the second audio signal;Second audio signal is exported by earphone.
Here, the fall that environmental audio signal is carried out with equal proportion can be processed, by the peak of the volume of environmental audio signal
It is maintained at default decibel value scope, such as 60 to 70 decibels, process and obtain the second audio signal, so that the sound of environmental audio signal
Amount is maintained at the suitable decibel value of user's ear, and the second audio signal obtaining after then processing again is exported by earphone, with
Guarantee that the environmental audio signal exporting will not cause to user's ear to damage.In addition, as one kind deformation of present embodiment, can
The maximum of the volume of environmental audio signal to be set to the volume identical decibel value with the first audio signal.
In an optional embodiment, step 304, the step that environmental audio signal is exported by earphone can be wrapped
Include: environmental audio signal is mixed with the first audio signal, obtains the 3rd audio signal, by earphone output the 3rd audio frequency letter
Number;Or, suspend and pass through earphone transmission first audio signal, environmental audio signal is exported by earphone.
Here it is possible to mix environmental audio signal in insertion the first audio signal, obtain the 3rd audio signal, then will
3rd audio signal is exported by earphone points out user;Or, the first audio signal is suspended output, individually by environmental audio
Signal is exported by earphone and points out user.In addition, in one kind deformation of present embodiment, environmental audio signal can be replaced
For default prompting audio frequency, such as alarm audio frequency or the voice message audio frequency as " please noting ".
The control method of the audio output that second embodiment of the invention provides, passes through earphone transmission first sound in mobile terminal
Frequency signal, the first receiver of earphone and the second receiver are in wearing state, and in first scheduled time, the determining of mobile terminal
When the change in location scope of position positional information is in the first preset range, the volume collecting is more than the ambient sound of preset value
Frequency signal is exported by earphone so that user is in kinestate and when ears all wear headset earpiece using earphone, Neng Gouji
When know itself residing environmental information exactly, it is to avoid miss critical information, it is possible to increase user security, lifted user's body
Test.
3rd embodiment
Refer to Fig. 4, it is illustrated that a kind of stream of the control method of audio output that third embodiment of the invention provides
Cheng Tu, third embodiment of the invention provides a kind of control method of audio output, is applied to mobile terminal, the method can include
Following steps:
Step 401, when mobile terminal passes through earphone transmission the first audio signal, judges first receiver and second of earphone
Whether receiver is in wearing state.
In this step, in actual use, two receivers of earphone may all not worn or all not be worn on use
On the ear of family, although at this moment mobile terminal passes through earphone exports audio signal, environment noise is not shielded to external world, this
When user can pass through ear direct access extraneous environmental noise.Therefore, set up with mobile terminal in earphone and be connected, for example wired
The headset plug of earphone inserts bluetooth equipment and wireless headset on the earphone jack configuring on mobile terminal or mobile terminal
Communication connection, when mobile terminal passes through earphone transmission the first audio signal, then the pendant of the first receiver to earphone and the second receiver
The state of wearing is judged.
Step 402, when judging the first receiver and the second receiver is in wearing state, obtains in second scheduled time and moves
The step number statistical information of dynamic terminal.
In this step, when two receivers determining earphone are in wearing state, then obtain in second scheduled time and move
The step number statistical information of dynamic terminal;When judging that at least one of two receivers of earphone (one or two) be not in wearing shape
State, then ending method flow process.Wherein, the step number statistical information of mobile terminal can be by the pedometer module of configuration on mobile terminal
Detection obtains, and this pedometer module is that configuration is used for obtaining the device of mobile phone users walking or running step number on mobile terminals
Part, this pedometer module typically carries the motion of the user of this mobile terminal by acceleration sensor and/or vibrating sensor measurement
Thus calculating step number statistical information within a certain period of time, this pedometer module detects that the method for step number statistical information can root to acceleration
Obtain according to prior art, be not construed as limiting here.
After earphone and mobile terminal are set up and be connected, the earphone power amplifier unit of mobile terminal can be respectively earphone, and each is listened
Sound channel on cylinder is powered to drive earphone, realizes mobile terminal and passes through earphone transmission first audio signal.Find under study for action, will
User's ear wears receiver compared with not wearing receiver, and when wearing, the sound channel air pressure ratio of the receiver worn is larger, in earphone work(
Put the same voltage drive signals of unit output, the vibration amplitude of this sound channel is less, and resistance is less, thus the driving electricity of this sound channel
Stream is larger.Based on this principle, the driving current value of the sound channel of each receiver of earphone can be obtained in real time or at regular intervals,
To judge whether user's ear wears headset earpiece according to this driving current value.
In an optional embodiment, step 401, judge whether the first receiver of earphone and the second receiver are in wearing
The step of state may include that
Obtain the first earphone sound channel and the driving current value of the second earphone sound channel, wherein, the first earphone sound channel is and first
The corresponding electric signal transmission passage connecting of receiver, the second earphone sound channel is that the electric signal transmission of connection corresponding with the second receiver is led to
Road;When the driving current value of the first earphone sound channel is more than the first predetermined current threshold, judge that the first receiver is in wearing state;When
The driving current value of the second earphone sound channel is more than the second predetermined current threshold, judges that the second receiver is in wearing state.
Here, obtain the first earphone sound channel and the driving current value of the second earphone sound channel respectively, then will get first
The first predetermined current threshold under the driving current value of earphone sound channel voltage drive signals corresponding with the first earphone sound channel is carried out
Relatively, by the under corresponding with the second earphone sound channel for the driving current value of the get second earphone sound channel voltage drive signals
Two predetermined current threshold are compared, when the driving current value of a certain earphone sound channel is more than corresponding predetermined current threshold, then
Judge that this corresponding receiver of earphone sound channel is in wearing state.Wherein, for the drive of the first earphone sound channel and the second earphone sound channel
The acquisition of galvanic electricity flow valuve can be by way of using real-time acquisition, it would however also be possible to employ the mode that the interval scheduled time obtains.
Step 403, when step number statistical information is more than default step number, gathers environmental audio signal.
In this step, it is compared according to the step number statistical information in second scheduled time getting and default step number,
Setting of this default step number is used for judging whether the step number statistical information in second scheduled time meets ordinary running condition (for example
Walking or run), motion of mobile terminals is excluded with this and carries the situation that the user of this mobile terminal do not move and such as use
The situation of subway and other modes of transport is taken at family.This default step number can be set by actually used scene, general knowledge or empirical value
Fixed, this embodiment is not construed as limiting.
In addition, in this step, environmental audio signal refers to the audio frequency letter of outside (around) environment residing for mobile terminal
Number.Here, when determining that the user carrying this mobile terminal is kept in motion, gather environmental audio signal, be subsequent step
Prepare.Wherein it is possible to environmental audio signal is gathered by the mike on mobile terminal.
Step 404, if the volume of environmental audio signal is more than preset value, environmental audio signal is exported by earphone.
In this step, setting for screening to the environmental audio signal currently collecting of preset value, with judgement be
No need by earphone export prompting user;This preset value can be carried out by actually used scene, general knowledge or empirical value
Set, this preset value can be the numerical value using decibel as measurement unit, for example, can be 90 decibels, this embodiment does not limit
Fixed.Here, the volume of the environmental audio signal collecting and preset value are compared, when environmental audio signal is more than preset value
When, then judge to need to export the environmental audio signal collecting by earphone, and environmental audio signal exported by earphone,
So that user's ear receives this environmental audio signal.Wherein, in this step, further can will be little for volume in environmental audio signal
Audio signal in preset value is filtered, and only output, more than the audio signal of preset value, will be more than in environmental audio signal
The audio signal of preset value is exported by earphone.
In an optional embodiment, for preventing the environmental audio signal that will be greater than preset value from directly exporting by earphone
User's ear is caused damage, for this reason, in step 404, by environmental audio signal by the step that earphone exports may include that by
Environmental audio signal carries out fall and can process, and obtains the second audio signal;Second audio signal is exported by earphone.
Here, the fall that environmental audio signal is carried out with equal proportion can be processed, by the peak of the volume of environmental audio signal
It is maintained at default decibel value scope, such as 60 to 70 decibels, obtains the second audio signal, so that the volume of environmental audio signal is protected
Hold in the suitable decibel value of user's ear, then again the second audio signal is exported by earphone, to guarantee the ambient sound exporting
Frequency signal will not cause to user's ear to damage.In addition, as one kind deformation of present embodiment, can be by environmental audio signal
The maximum of volume be set to the volume identical decibel value with the first audio signal.
In an optional embodiment, step 404, the step that environmental audio signal is exported by earphone can be wrapped
Include: environmental audio signal is mixed with the first audio signal, obtains the 3rd audio signal, by earphone output the 3rd audio frequency letter
Number;Or, suspend and pass through earphone transmission first audio signal, environmental audio signal is exported by earphone.
Here it is possible to mix environmental audio signal in insertion the first audio signal, obtain the 3rd audio signal, Ran Houtong
Cross earphone and export the 3rd audio signal to point out user;Or, the first audio signal is suspended output, individually environmental audio is believed
Number exported by earphone and to point out user.In addition, in one kind deformation of present embodiment, environmental audio signal can be replaced with
Default prompting audio frequency, such as alarm audio frequency or the voice message audio frequency as " please noting ".
The control method of the audio output that third embodiment of the invention provides, passes through earphone transmission first sound in mobile terminal
Frequency signal, the first receiver of earphone and the second receiver are in the step number of mobile terminal in wearing state, and second scheduled time
When statistical information is more than default step number, the environmental audio signal that the volume collecting is more than preset value is exported by earphone, makes
In kinestate and ears all wear receiver, during using earphone, can timely and accurately obtain itself residing environment to obtain user
Information, it is to avoid miss critical information, it is possible to increase user security, lifts Consumer's Experience.
Fourth embodiment
Referring to Fig. 5, it is illustrated that the structural representation of the mobile terminal that fourth embodiment of the invention provides, and the present invention the
Four embodiments provide a kind of mobile terminals 500, this mobile terminal 500 may include that acquisition module 510, acquisition module 520 and
Output module 530.
Acquisition module 510, mobile whole for when mobile terminal is detected by earphone transmission the first audio signal, obtaining
The movement state information at end;
Acquisition module 520, for working as according to movement state information, when determining that mobile terminal is kept in motion, gathers ring
Border audio signal;
Output module 530, if the volume for environmental audio signal is more than preset value, environmental audio signal is passed through ear
Machine exports.
In the basis of Fig. 5, the mobile terminal 500 providing referring to Fig. 6, fourth embodiment of the invention, acquisition module 510 can
To include: judging unit 511 and the first determining unit 512.
Judging unit 511, for when mobile terminal passes through earphone transmission the first audio signal, judging first tin of earphone
Whether cylinder and the second receiver are in wearing state;
First determining unit 512, for when judging the first receiver and the second receiver is in wearing state, obtaining and moving
The movement state information of terminal.
In some optional embodiments, judging unit 511 may include that the first acquisition subelement 5111, first sentences
Disconnected subelement 5112 and the second judgment sub-unit 5113.
First acquisition subelement 5111, for obtaining in first scheduled time, the first earphone sound channel and the second earphone sound channel
Driving current value, wherein, the first earphone sound channel is to be used for transmitting the passage of audio signal, the second earphone sound channel on the first receiver
For being used on the second receiver transmitting the passage of audio signal;
First judgment sub-unit 5112, is more than the first predetermined current threshold for the driving current value when the first earphone sound channel
Value, judges that the first receiver is in wearing state;
Second judgment sub-unit 5113, is more than the second predetermined current threshold for the driving current value when the second earphone sound channel
Value, judges that the second receiver is in wearing state.
In some optional embodiments, acquisition module 510 may include that first acquisition unit 513;Acquisition module
520 may include that the first collecting unit 521.
First acquisition unit 513, for obtaining the positioning position information of mobile terminal;
First collecting unit 521, for when in first scheduled time, the change in location scope of positioning position information is in the
When in one preset range, gather environmental audio signal.
In some optional embodiments, acquisition module 510 may include that second acquisition unit 514;Acquisition module
520 may include that the second collecting unit 522.
Second acquisition unit 514, for obtaining the step number statistical information of mobile terminal in second scheduled time;
Second collecting unit 522, for when step number statistical information is more than default step number, gathering environmental audio signal.
In some optional embodiments, output module 530 may include that processing unit 531 and the first output are single
Unit 532.
Processing unit 531, can process for environmental audio signal is carried out fall, obtain the second audio signal;
First output unit 532, for exporting the second audio signal by earphone.
In some optional embodiments, output module 530 may include that the second output unit 533 and the 3rd is defeated
Go out unit 534.
Second output unit 533, for mixing environmental audio signal with the first audio signal, obtains the 3rd audio frequency letter
Number, the 3rd audio signal is exported by earphone;Or,
3rd output unit 534, passes through earphone transmission first audio signal for suspending, and environmental audio signal is passed through ear
Machine exports.
The mobile terminal that fourth embodiment of the invention provides and the audio output of the embodiment offer of method described above
Control method belongs to same design, and it implements the embodiment that process refers to method described above, for avoiding repeating, here not
Repeat again.
Fourth embodiment of the invention provides a kind of mobile terminal, passes through earphone transmission first audio frequency mobile terminal is detected
Signal, and when mobile terminal is kept in motion, the environmental audio signal that volume is more than preset value exported by earphone so that
User under kinestate using earphone when, can timely and accurately know itself residing environmental information, it is to avoid miss important
Information, it is possible to increase user security, lifts Consumer's Experience.
5th embodiment
Fig. 7 is a kind of structure chart of the mobile terminal that fifth embodiment of the invention provides.Mobile terminal 700 shown in Fig. 7
Including: at least one processor 701, memorizer 702, at least one network interface 704 and other users interface 703.Mobile whole
Each assembly in end 700 is coupled by bus system 705.It is understood that bus system 705 is used for realizing these assemblies
Between connection communication.Bus system 705, in addition to including data/address bus, also includes power bus, controlling bus and state letter
Number bus.But for the sake of clear explanation, in the figure 7 various buses are all designated as bus system 705.
Wherein, user interface 703 can include display, keyboard or pointing device (for example, mouse, trace ball
(trackball), touch-sensitive plate or touch screen) etc..
It is appreciated that the memorizer 702 in the embodiment of the present invention can be volatile memory or nonvolatile memory,
Or may include volatibility and nonvolatile memory.Wherein, nonvolatile memory can be read only memory (read-
Only memory, rom), programmable read only memory (programmable rom, prom), the read-only storage of erasable programmable
Device (erasable prom, eprom), Electrically Erasable Read Only Memory (electrically eprom, eeprom) or
Flash memory.Volatile memory can be random access memory (random access memory, ram), and it is used as outside high
Speed caching.By exemplary but be not restricted explanation, the ram of many forms can use, such as static RAM
(static ram, sram), dynamic random access memory (dynamic ram, dram), Synchronous Dynamic Random Access Memory
(synchronous dram, sdram), double data speed synchronous dynamic RAM (double data rate
Sdram, ddrsdram), enhancement mode Synchronous Dynamic Random Access Memory (enhanced sdram, esdram), synchronized links
Dynamic random access memory (synchlinkdram, sldram) and direct rambus random access memory (direct
Rambus ram, drram).The memorizer 702 of system and method described herein be intended to including but not limited to these and arbitrarily its
It is suitable for the memorizer of type.
In some embodiments, memorizer 702 stores following element, executable module or data structure, or
Their subset of person, or their superset: operating system 7021 and application program 7022.
Wherein, operating system 7021, comprise various system programs, such as ccf layer, core library layer, driving layer etc., are used for
Realize various basic businesses and process hardware based task.Application program 7022, comprises various application programs, for example, shows
Controller, media player (media player), browser (browser) etc., are used for realizing various applied business.Realize this
The program of inventive embodiments method may be embodied in application program 7022.
In embodiments of the present invention, can be by calling program or the instruction of memorizer 702 storage, specifically, application
The program of storage or instruction in program 7022, processor 701 detects mobile terminal by earphone transmission first audio frequency for working as
During signal, obtain the movement state information of mobile terminal;When according to movement state information, determining that mobile terminal is kept in motion
When, gather environmental audio signal;If the volume of environmental audio signal is more than preset value, environmental audio signal is passed through earphone defeated
Go out.
The method that the embodiments of the present invention disclose can apply in processor 701, or is realized by processor 701.
Processor 701 is probably a kind of IC chip, has the disposal ability of signal.Realize during, said method each
Step can be completed by the instruction of the integrated logic circuit of the hardware in processor 701 or software form.Above-mentioned process
Device 701 can be general processor, digital signal processor (digital signal processor, dsp), special integrated electricity
Road (application specific integrated circuit, asic), ready-made programmable gate array (field
Programmable gate array, fpga) or other PLDs, discrete gate or transistor logic,
Discrete hardware components.Can realize or execute disclosed each method in the embodiment of the present invention, step and logic diagram.General
Processor can be microprocessor or this processor can also be any conventional processor etc..In conjunction with embodiment of the present invention institute
The step of disclosed method can be embodied directly in hardware decoding processor execution and complete, or with the hardware in decoding processor
And software module combination execution completes.Software module may be located at random access memory, and flash memory, read only memory are programmable read-only
In the ripe storage medium in this area such as memorizer or electrically erasable programmable memory, depositor.This storage medium is located at
Memorizer 702, processor 701 reads the information in memorizer 702, the step completing said method in conjunction with its hardware.
It is understood that embodiments described herein can with hardware, software, firmware, middleware, microcode or its
Combine and to realize.Hardware is realized, processing unit can be implemented in one or more special IC (application
Specific integrated circuits, asic), digital signal processor (digital signal processing,
Dsp), digital signal processing appts (dspdevice, dspd), programmable logic device (programmable logic
Device, pld), field programmable gate array (field-programmable gate array, fpga), general processor,
Controller, microcontroller, microprocessor, for executing in other electronic units or a combination thereof of herein described function.
Software is realized, can be realized herein by executing the module (such as process, function etc.) of function described herein
Described technology.Software code is storable in memorizer and passes through computing device.Memorizer can within a processor or
Realize outside processor.
Alternatively, processor 701 is additionally operable to, when mobile terminal passes through earphone transmission the first audio signal, judge earphone
Whether the first receiver and the second receiver are in wearing state;When judging that the first receiver and the second receiver be in wearing state
When, obtain the movement state information of mobile terminal.
Alternatively, processor 701 is additionally operable to obtain the driving current value of the first earphone sound channel and the second earphone sound channel, its
In, the first earphone sound channel is the electric signal transmission passage of connection corresponding with the first receiver, and the second earphone sound channel is and the second receiver
The corresponding electric signal transmission passage connecting;When the driving current value of the first earphone sound channel is more than the first predetermined current threshold, judge
First receiver is in wearing state;When the driving current value of the second earphone sound channel is more than the second predetermined current threshold, judge second
Receiver is in wearing state.
Alternatively, as another embodiment, processor 701 is additionally operable to obtain the positioning position information of mobile terminal;Also
For working as in first scheduled time, when the change in location scope of positioning position information is in the first preset range, gather environment
Audio signal.
Processor 701 is additionally operable to obtain the step number statistical information of mobile terminal in second scheduled time;It is additionally operable to work as step number
When statistical information is more than default step number, gather environmental audio signal.
Processor 701 is additionally operable to environmental audio signal is carried out dropping and can be processed, and obtains the second audio signal;Defeated by earphone
Go out the second audio signal.
Processor 701 is additionally operable to mix environmental audio signal with the first audio signal, obtains the 3rd audio signal, passes through
Earphone exports the 3rd audio signal;Or, suspend and pass through earphone transmission first audio signal, environmental audio signal is passed through earphone
Output.
Mobile terminal 700 is capable of each process that in previous embodiment, mobile terminal is realized, for avoiding repeating, here
Repeat no more.
Mobile terminal provided in an embodiment of the present invention, passes through earphone transmission first audio signal mobile terminal is detected,
And mobile terminal is when being kept in motion, the environmental audio signal that volume is more than preset value is exported by earphone so that user
When under kinestate using earphone, can timely and accurately know itself residing environmental information, it is to avoid miss critical information,
User security can be improved, lift Consumer's Experience.
Sixth embodiment
Fig. 8 is a kind of structure chart of the mobile terminal that sixth embodiment of the invention provides.Specifically, the mobile end in Fig. 8
End 800 can be mobile phone, panel computer, personal digital assistant (personal digital assistant, pda) or vehicle-mounted
Computer etc..
Mobile terminal 800 in Fig. 8 includes radio frequency (radio frequency, rf) circuit 810, memorizer 820, input
Unit 830, display unit 840, processor 860, voicefrequency circuit 870, wifi (wireless fidelity) module 880 and electricity
Source 890.
Wherein, input block 830 can be used for numeral or the character information of receiving user's input, and produces and mobile terminal
800 user setup and the relevant signal input of function control.Specifically, in the embodiment of the present invention, this input block 830 can
To include contact panel 831.Contact panel 831, also referred to as touch screen, can collect user thereon or neighbouring touch operation
(such as user uses the operation on contact panel 831 of any suitable object such as finger, stylus or adnexa), and according in advance
The formula setting drives corresponding attachment means.Optionally, contact panel 831 may include touch detecting apparatus and touch controller
Two parts.Wherein, touch detecting apparatus detect the touch orientation of user, and detect the signal that touch operation brings, by signal
Send touch controller to;Touch controller receives touch information from touch detecting apparatus, and is converted into contact coordinate,
Give this processor 860 again, and can the order sent of receiving processor 860 being executed.Furthermore, it is possible to using resistance-type,
The polytypes such as condenser type, infrared ray and surface acoustic wave realize contact panel 831.Except contact panel 831, input block
830 can also include other input equipments 832, and other input equipments 832 can include but is not limited to physical keyboard, function key
One or more of (such as volume control button, switch key etc.), trace ball, mouse, action bars etc..
Wherein, display unit 840 can be used for showing by the information of user input or the information and the movement that are supplied to user
The various menu interfaces of terminal 800.Display unit 840 may include display floater 841, optionally, can adopt lcd or organic
The forms such as optical diode (organic light-emitting diode, oled) are configuring display floater 841.
It should be noted that contact panel 831 can cover display floater 841, form touch display screen, when the inspection of this touch display screen
Measure thereon or after neighbouring touch operation, send processor 860 to determine the type of touch event, with preprocessor
860 provide corresponding visual output according to the type of touch event in touch display screen.
Touch display screen includes Application Program Interface viewing area and conventional control viewing area.This Application Program Interface viewing area
And the arrangement mode of this conventional control viewing area does not limit, can for being arranged above and below, left-right situs etc. can distinguish two and show
Show the arrangement mode in area.This Application Program Interface viewing area is displayed for the interface of application program.Each interface is permissible
Comprise the interface elements such as icon and/or the widget desktop control of at least one application program.This Application Program Interface viewing area
It can also be the empty interface not comprising any content.This conventional control viewing area is used for showing the higher control of utilization rate, for example,
Application icons such as settings button, interface numbering, scroll bar, phone directory icon etc..
Wherein processor 860 is the control centre of mobile terminal 800, using various interfaces and connection whole mobile phone
Various pieces, by running or executing software program and/or the module being stored in first memory 821, and call storage
Data in second memory 822, the various functions of execution mobile terminal 800 and processing data, thus to mobile terminal 800
Carry out integral monitoring.Optionally, processor 860 may include one or more processing units.
In embodiments of the present invention, by call store this first memory 821 in software program and/or module and/
Or the data in this second memory 822, processor 860 is for mobile terminal is detected by earphone transmission first audio frequency letter
Number when, obtain mobile terminal movement state information;When according to movement state information, determining that mobile terminal is kept in motion
When, gather environmental audio signal;If the volume of environmental audio signal is more than preset value, environmental audio signal is passed through earphone defeated
Go out.
Alternatively, processor 860 is additionally operable to, when mobile terminal passes through earphone transmission the first audio signal, judge earphone
Whether the first receiver and the second receiver are in wearing state;When judging that the first receiver and the second receiver be in wearing state
When, obtain the movement state information of mobile terminal.
Alternatively, processor 860 is additionally operable to obtain the driving current value of the first earphone sound channel and the second earphone sound channel, its
In, the first earphone sound channel is the electric signal transmission passage of connection corresponding with the first receiver, and the second earphone sound channel is and the second receiver
The corresponding electric signal transmission passage connecting;When the driving current value of the first earphone sound channel is more than the first predetermined current threshold, judge
First receiver is in wearing state;When the driving current value of the second earphone sound channel is more than the second predetermined current threshold, judge second
Receiver is in wearing state.
Alternatively, processor 860 is additionally operable to obtain the positioning position information of mobile terminal;It is additionally operable to when first scheduled time
Interior, when the change in location scope of positioning position information is in the first preset range, gather environmental audio signal.
Alternatively, processor 860 is additionally operable to obtain the step number statistical information of mobile terminal in second scheduled time;It is additionally operable to
When step number statistical information is more than default step number, gather environmental audio signal.
Alternatively, processor 860 is additionally operable to environmental audio signal is carried out dropping and can be processed, and obtains the second audio signal;Logical
Cross earphone and export the second audio signal.
Alternatively, processor 860 is additionally operable to mix environmental audio signal with the first audio signal, obtains the 3rd audio frequency letter
Number, the 3rd audio signal is exported by earphone;Or, suspend and pass through earphone transmission first audio signal, by environmental audio signal
Exported by earphone.
It can be seen that, mobile terminal provided in an embodiment of the present invention, passes through earphone transmission first audio frequency mobile terminal is detected
Signal, and when mobile terminal is kept in motion, the environmental audio signal that volume is more than preset value exported by earphone so that
User under kinestate using earphone when, can timely and accurately know itself residing environmental information, it is to avoid miss important
Information, it is possible to increase user security, lifts Consumer's Experience.
It should be noted that in inventive embodiments, such as first and second or the like relational terms be used merely to by
One entity or operation are made a distinction with another entity or operation, and not necessarily require or imply these entities or operation
Between there is any this actual relation or order.
Those of ordinary skill in the art are it is to be appreciated that combine the list of each example of the embodiments described herein description
Unit and algorithm steps, being capable of being implemented in combination in electronic hardware or computer software and electronic hardware.These functions are actually
To be executed with hardware or software mode, the application-specific depending on technical scheme and design constraint.Professional and technical personnel
Each specific application can be used different methods to realize described function, but this realization is it is not considered that exceed
The scope of the present invention.
Those skilled in the art can be understood that, for convenience and simplicity of description, the system of foregoing description,
Device and the specific work process of unit, may be referred to the corresponding process in preceding method embodiment, will not be described here.
It should be understood that disclosed apparatus and method in embodiment provided herein, can pass through other
Mode is realized.For example, device embodiment described above is only schematically, for example, the division of described unit, it is only
A kind of division of logic function, actual can have other dividing mode when realizing, for example multiple units or assembly can in conjunction with or
Person is desirably integrated into another system, or some features can be ignored, or does not execute.Another, shown or discussed is mutual
Between coupling or direct-coupling or communication connection can be by some interfaces, the INDIRECT COUPLING of device or unit or communication link
Connect, can be electrical, mechanical or other forms.
The described unit illustrating as separating component can be or may not be physically separate, show as unit
The part showing can be or may not be physical location, you can with positioned at a place, or can also be distributed to multiple
On NE.The mesh to realize this embodiment scheme for some or all of unit therein can be selected according to the actual needs
's.
In addition, can be integrated in a processing unit in each functional unit in each embodiment of the present invention it is also possible to
It is that unit is individually physically present it is also possible to two or more units are integrated in a unit.
If described function realized using in the form of SFU software functional unit and as independent production marketing or use when, permissible
It is stored in a computer read/write memory medium.Based on such understanding, technical scheme is substantially in other words
Partly being embodied in the form of software product of part that prior art is contributed or this technical scheme, this meter
Calculation machine software product is stored in a storage medium, including some instructions with so that a computer equipment (can be individual
People's computer, server, or network equipment etc.) execution each embodiment methods described of the present invention all or part of step.
And aforesaid storage medium includes: u disk, portable hard drive, rom, ram, magnetic disc or CD etc. are various can be with store program codes
Medium.
The above, the only specific embodiment of the present invention, but protection scope of the present invention is not limited thereto, and any
Those familiar with the art the invention discloses technical scope in, change or replacement can be readily occurred in, all should contain
Cover within protection scope of the present invention.Therefore, protection scope of the present invention should be defined by scope of the claims.
Claims (14)
1. a kind of control method of audio output, is applied to mobile terminal it is characterised in that methods described includes:
When mobile terminal is detected by earphone transmission the first audio signal, obtain the kinestate letter of described mobile terminal
Breath;
When according to described movement state information, when determining that described mobile terminal is kept in motion, gather environmental audio signal;
If the volume of described environmental audio signal is more than preset value, described environmental audio signal is exported by earphone.
2. method according to claim 1 is it is characterised in that the described mobile terminal that ought detect passes through earphone transmission first
During audio signal, the step obtaining the movement state information of described mobile terminal includes:
When described mobile terminal is by described earphone transmission the first audio signal, judge first receiver and second of described earphone
Whether receiver is in wearing state;
When judging described first receiver and described second receiver is in wearing state, obtain the motion shape of described mobile terminal
State information.
3. method according to claim 2 is it is characterised in that the first receiver of the described earphone of described judgement and the second receiver
The step whether being in wearing state includes:
Obtain the first earphone sound channel and the driving current value of the second earphone sound channel, wherein, described first earphone sound channel be with described
The corresponding electric signal transmission passage connecting of first receiver, described second earphone sound channel is the electricity of connection corresponding with described second receiver
Signal transmission passage;
When the driving current value of described first earphone sound channel is more than the first predetermined current threshold, judge that described first receiver is in pendant
Wear state;
When the driving current value of described second earphone sound channel is more than the second predetermined current threshold, judge that described second receiver is in pendant
Wear state.
4. method according to claim 1 is it is characterised in that the movement state information of the described mobile terminal of described acquisition
Step includes:
Obtain the positioning position information of described mobile terminal;
Described when according to described movement state information, when determining that described mobile terminal is kept in motion, collection environmental audio letter
Number step include:
When in first scheduled time, when the change in location scope of described positioning position information is in the first preset range, collection
Described environmental audio signal.
5. method according to claim 1 is it is characterised in that the movement state information of the described mobile terminal of described acquisition
Step includes:
Obtain the step number statistical information of described mobile terminal in second scheduled time;
Described when according to described movement state information, when determining that described mobile terminal is kept in motion, collection environmental audio letter
Number step include:
When described step number statistical information is more than default step number, gather described environmental audio signal.
6. method according to claim 1 is it is characterised in that described exported described environmental audio signal by earphone
Step includes:
Described environmental audio signal is carried out fall can process, obtain the second audio signal;
Described second audio signal is exported by described earphone.
7. method according to claim 1 is it is characterised in that described exported described environmental audio signal by earphone
Step includes:
Described environmental audio signal is mixed with the first audio signal, obtains the 3rd audio signal, institute is exported by described earphone
State the 3rd audio signal;
Or,
Suspend by described earphone transmission first audio signal, described environmental audio signal is exported by described earphone.
8. a kind of mobile terminal is it is characterised in that described mobile terminal includes:
Acquisition module, for when mobile terminal is detected by earphone transmission the first audio signal, obtaining described mobile terminal
Movement state information;
Acquisition module, for working as according to described movement state information, when determining that described mobile terminal is kept in motion, gathers ring
Border audio signal;
Output module, if the volume for described environmental audio signal is more than preset value, described environmental audio signal is passed through
Earphone exports.
9. mobile terminal according to claim 8 is it is characterised in that described acquisition module includes:
Judging unit, for when described mobile terminal is by described earphone transmission the first audio signal, judging described earphone
Whether the first receiver and the second receiver are in wearing state;
First determining unit, for when judging described first receiver and described second receiver is in wearing state, obtaining institute
State the movement state information of mobile terminal.
10. mobile terminal according to claim 9 is it is characterised in that described judging unit includes:
First acquisition subelement, for obtaining the driving current value of the first earphone sound channel and the second earphone sound channel, wherein, described the
One earphone sound channel is the electric signal transmission passage of connection corresponding with described first receiver, and described second earphone sound channel is and described
The corresponding electric signal transmission passage connecting of two receivers;
First judgment sub-unit, is more than the first predetermined current threshold for the driving current value when described first earphone sound channel, sentences
Described first receiver that breaks is in wearing state;
Second judgment sub-unit, is more than the second predetermined current threshold for the driving current value when described second earphone sound channel, sentences
Described second receiver that breaks is in wearing state.
11. mobile terminals according to claim 8 are it is characterised in that described acquisition module includes:
First acquisition unit, for obtaining the positioning position information of described mobile terminal;
Described acquisition module includes:
First collecting unit, for when, in first scheduled time, the change in location scope of described positioning position information is in first
When in preset range, gather described environmental audio signal.
12. mobile terminals according to claim 8 are it is characterised in that described acquisition module includes:
Second acquisition unit, for obtaining the step number statistical information of described mobile terminal in second scheduled time;
Described acquisition module includes:
Second collecting unit, for when described step number statistical information is more than default step number, gathering described environmental audio signal.
13. mobile terminals according to claim 8 are it is characterised in that described output module includes:
Processing unit, can process for described environmental audio signal is carried out fall, obtain the second audio signal;
First output unit, for exporting described second audio signal by described earphone.
14. mobile terminals according to claim 8 are it is characterised in that described output module includes:
Second output unit, for mixing described environmental audio signal with the first audio signal, obtains the 3rd audio signal, leads to
Cross described earphone and export described 3rd audio signal;Or,
3rd output unit, for suspending by described earphone transmission first audio signal, described environmental audio signal is passed through
Described earphone output.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610723390.4A CN106375554B (en) | 2016-08-25 | 2016-08-25 | Audio output control method and mobile terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610723390.4A CN106375554B (en) | 2016-08-25 | 2016-08-25 | Audio output control method and mobile terminal |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106375554A true CN106375554A (en) | 2017-02-01 |
CN106375554B CN106375554B (en) | 2020-02-11 |
Family
ID=57879171
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610723390.4A Active CN106375554B (en) | 2016-08-25 | 2016-08-25 | Audio output control method and mobile terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106375554B (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111372158A (en) * | 2020-02-28 | 2020-07-03 | 歌尔股份有限公司 | Motion detection method, wireless headset and computer readable storage medium |
WO2022068113A1 (en) * | 2020-09-30 | 2022-04-07 | 珠海格力电器股份有限公司 | Monitoring method and apparatus, and device and storage medium |
CN114900786A (en) * | 2022-04-15 | 2022-08-12 | 广州易而达科技股份有限公司 | Bluetooth headset connection control method and device, electronic equipment and storage medium |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101840700A (en) * | 2010-04-28 | 2010-09-22 | 宇龙计算机通信科技(深圳)有限公司 | Voice recognition method based on mobile terminal and mobile terminal |
CN103825993A (en) * | 2014-03-11 | 2014-05-28 | 宇龙计算机通信科技(深圳)有限公司 | Method and device for treating environment sound during conversation |
CN104484150A (en) * | 2014-12-29 | 2015-04-01 | 宇龙计算机通信科技(深圳)有限公司 | Audio play method, audio play device and terminal |
CN104602162A (en) * | 2014-12-17 | 2015-05-06 | 惠州Tcl移动通信有限公司 | External noise reduction device for mobile terminal and noise reduction method of external noise reduction device |
US20160188291A1 (en) * | 2014-12-30 | 2016-06-30 | Nokia Technologies Oy | Method, apparatus and computer program product for input detection |
CN105787027A (en) * | 2016-02-24 | 2016-07-20 | 广东欧珀移动通信有限公司 | Audio file playing method and terminal |
-
2016
- 2016-08-25 CN CN201610723390.4A patent/CN106375554B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101840700A (en) * | 2010-04-28 | 2010-09-22 | 宇龙计算机通信科技(深圳)有限公司 | Voice recognition method based on mobile terminal and mobile terminal |
CN103825993A (en) * | 2014-03-11 | 2014-05-28 | 宇龙计算机通信科技(深圳)有限公司 | Method and device for treating environment sound during conversation |
CN104602162A (en) * | 2014-12-17 | 2015-05-06 | 惠州Tcl移动通信有限公司 | External noise reduction device for mobile terminal and noise reduction method of external noise reduction device |
CN104484150A (en) * | 2014-12-29 | 2015-04-01 | 宇龙计算机通信科技(深圳)有限公司 | Audio play method, audio play device and terminal |
US20160188291A1 (en) * | 2014-12-30 | 2016-06-30 | Nokia Technologies Oy | Method, apparatus and computer program product for input detection |
CN105787027A (en) * | 2016-02-24 | 2016-07-20 | 广东欧珀移动通信有限公司 | Audio file playing method and terminal |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111372158A (en) * | 2020-02-28 | 2020-07-03 | 歌尔股份有限公司 | Motion detection method, wireless headset and computer readable storage medium |
WO2022068113A1 (en) * | 2020-09-30 | 2022-04-07 | 珠海格力电器股份有限公司 | Monitoring method and apparatus, and device and storage medium |
CN114900786A (en) * | 2022-04-15 | 2022-08-12 | 广州易而达科技股份有限公司 | Bluetooth headset connection control method and device, electronic equipment and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN106375554B (en) | 2020-02-11 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10902866B2 (en) | Sound signal processing method, terminal, and headset | |
CN106791109A (en) | A kind of sound prompting method and mobile terminal | |
CN103488939B (en) | Method, device and terminal for prompting user | |
CN106303804A (en) | The control method of a kind of mike and mobile terminal | |
CN106488013A (en) | A kind of danger based reminding method and mobile terminal | |
CN103455407A (en) | Mobile terminal CPU (Central Processing Unit) occupation rate monitoring method and device and mobile terminal | |
CN109697010A (en) | A kind of suspended window position control method, terminal and computer readable storage medium | |
CN106227588A (en) | The creation method of a kind of multi-instance object, device and mobile terminal | |
CN106331359B (en) | A kind of speech signal collection method, device and terminal | |
CN106161804A (en) | A kind of audio play control method and mobile terminal | |
CN106126411A (en) | A kind of method and apparatus that tested program code is tested | |
CN106951850A (en) | The method and mobile terminal of a kind of control fingerprint recognition module | |
CN106255000A (en) | A kind of audio signal sample method and mobile terminal | |
CN105916074A (en) | Play control method for multimedia and terminal | |
CN106375554A (en) | Audio output control method and mobile terminal | |
CN106201547A (en) | Method, device and the mobile terminal that a kind of message based on mobile terminal shows | |
CN107466387B (en) | Method and device for detecting touch mode | |
KR20180029075A (en) | System and method for dual knuckle touch screen control | |
CN106648460B (en) | Step counting data filtering method and intelligent terminal | |
CN105807908B (en) | A kind of method and apparatus of switching working mode | |
CN106161800A (en) | Incoming call reminding method and device and mobile communication terminal | |
CN103546632A (en) | Method and device for alarm ringing of mobile terminal and mobile terminal | |
CN107241642A (en) | A kind of player method and terminal | |
CN107066090A (en) | The method and mobile terminal of a kind of control fingerprint recognition module | |
CN106484563A (en) | A kind of data migration method and terminal unit |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |