CN107172533B - A kind of method and apparatus and mobile terminal for selecting sound direction - Google Patents
A kind of method and apparatus and mobile terminal for selecting sound direction Download PDFInfo
- Publication number
- CN107172533B CN107172533B CN201710405012.6A CN201710405012A CN107172533B CN 107172533 B CN107172533 B CN 107172533B CN 201710405012 A CN201710405012 A CN 201710405012A CN 107172533 B CN107172533 B CN 107172533B
- Authority
- CN
- China
- Prior art keywords
- sound direction
- sound
- mobile terminal
- distance
- posture
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
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/20—Arrangements for obtaining desired frequency or directional characteristics
- H04R1/32—Arrangements for obtaining desired frequency or directional characteristics for obtaining desired directional characteristic only
- H04R1/323—Arrangements for obtaining desired frequency or directional characteristics for obtaining desired directional characteristic only for loudspeakers
-
- 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
Landscapes
- Engineering & Computer Science (AREA)
- Signal Processing (AREA)
- Health & Medical Sciences (AREA)
- Otolaryngology (AREA)
- Physics & Mathematics (AREA)
- Acoustics & Sound (AREA)
- Environmental & Geological Engineering (AREA)
- Human Computer Interaction (AREA)
- Computer Networks & Wireless Communication (AREA)
- Telephone Function (AREA)
Abstract
The invention proposes a kind of methods and apparatus and mobile terminal for selecting sound direction, wherein this method is applied to mobile terminal, multiple sound directions out are provided on the mobile terminal, respectively go out sound direction and corresponds to different sound play devices, this method comprises: determine it is each it is described go out sound direction in first go out sound direction and second go out sound direction, wherein, go out in the pre-determined distance on sound direction described first there are obstacle, described second go out sound it is reversed on pre-determined distance in obstacle is not present;Selection second goes out sound direction and carries out out sound.Multiple sound play devices are being set with this, and are selecting the sound direction out that sound direction is not blocked to carry out out sound, ensure that sound normally goes out sound, further ensures the needs that user normally obtains sound, improves the usage experience of user.
Description
Technical field
The present invention relates to field of mobile terminals, in particular to a kind of method and apparatus for selecting sound direction and movement are eventually
End.
Background technique
Currently, in mobile phone loudspeaker only one, overleaf or mobile phone lower section, and user is when using mobile phone for setting, such as
In use, being easy to that there is a situation where loudspeaker to be blocked, sound can not be transmitted normally transverse screen, and then influence user to sound
It is normal to obtain, cause the experience of user bad.
Summary of the invention
In view of this, the invention proposes a kind of methods and apparatus and mobile terminal for selecting sound direction.
Specifically, the invention proposes embodiments in detail below:
The embodiment of the present invention proposes a kind of method for selecting sound direction, is applied to mobile terminal, the mobile terminal
On be provided with it is multiple go out sound directions, respectively sound direction corresponds to different sound play devices out, this method comprises:
Determine it is each it is described go out sound direction in first go out sound direction and second go out sound direction, wherein go out described first
There are obstacles in pre-determined distance on sound direction, go out described second and obstacle is not present in the pre-determined distance on sound direction;
Selection second goes out sound direction and carries out out sound.
In a specific embodiment, on the mobile terminal it is each it is described go out sound direction be correspondingly arranged on distance perception and answer
Device;
The determination it is each it is described go out sound direction in first go out sound direction and second go out sound direction, comprising:
For each distance-sensor, by the corresponding obstacle gone out on sound direction of distance-sensor detection with
The distance of the mobile terminal;
Judge whether the distance is less than pre-determined distance;
If the determination result is YES, then by it is described apart from it is corresponding go out sound direction be set as first go out sound direction;
If judging result be it is no, by it is described apart from it is corresponding go out sound direction be set as second go out sound direction.
In a specific embodiment, the distance-sensor includes: that infrared distance sensor or ultrasonic distance perception are answered
Device.
In a specific embodiment, this method further include:
For sound direction is respectively gone out, go out between sound direction when the sound direction out goes out sound direction and described second described first
When the pre-switch of carry out state, when judging whether the time difference between the pre-switch and the switching of last state is less than default
Between section;
If the determination result is YES, then stop the pre-switch;
If judging result be it is no, execute the pre-switch.
In a specific embodiment, this method further include:
When determining that being not present second goes out sound direction, preset sound direction out is selected to carry out out sound.
In a specific embodiment, this method further include:
When determine there is no second go out sound direction when, determine it is each it is described go out sound direction on obstacle and the mobile terminal
Distance;
The sound volume that goes out on each sound direction out is adjusted according to the distance.
In a specific embodiment, this method further include:
Improve the first of the sound volume gone out on sound direction.
In a specific embodiment, this method further include:
Stopping goes out sound direction by described first and carries out out sound.
In a specific embodiment, this method further include:
Monitor the posture of the mobile terminal, wherein the posture includes upright posture, handstand posture, horizontal attitude, cross
To posture;
The selection second goes out sound direction and carries out out sound, comprising:
Sound direction is inquired in preset database according to the posture;Wherein, each institute is stored in the database
State the corresponding relationship of posture and each sound direction out;
It chooses second gone out in sound direction that inquiry obtains and carries out out sound in sound direction out.
In a specific embodiment, the posture of the monitoring mobile terminal, comprising:
The mobile terminal is monitored by the gravity sensor, with the posture of the determination mobile terminal.
The embodiment of the present invention also proposed a kind of equipment for selecting sound direction, be applied to mobile terminal, described mobile whole
Multiple sound directions out are provided on end, respectively sound direction corresponds to different sound play devices out, which includes:
Determining module, for determine it is each it is described go out sound direction in first go out sound direction and second go out sound direction, wherein
There are obstacles in the pre-determined distance on described first out sound direction, do not deposit in the pre-determined distance that described second goes out on sound direction
In obstacle;
Selecting module carries out out sound for selecting second to go out sound direction.
In a specific embodiment, on the mobile terminal it is each it is described go out sound direction be correspondingly arranged on distance perception and answer
Device;
The determining module, is used for:
For each distance-sensor, by the corresponding obstacle gone out on sound direction of distance-sensor detection with
The distance of the mobile terminal;
Judge whether the distance is less than pre-determined distance;
If the determination result is YES, then by it is described apart from it is corresponding go out sound direction be set as first go out sound direction;
If judging result be it is no, by it is described apart from it is corresponding go out sound direction be set as second go out sound direction.
In a specific embodiment, the distance-sensor includes: that infrared distance sensor or ultrasonic distance perception are answered
Device.
In a specific embodiment, the equipment further include:
Switching module, for for respectively going out sound direction, when it is described go out sound direction described first go out sound direction and described the
Two go out sound direction between carry out state pre-switch when, judge the pre-switch with last time state switching whether occur pre-
If period;
If the determination result is YES, then stop the pre-switch;
If judging result be it is no, execute the pre-switch.
In a specific embodiment, the selecting module is also used to:
When determining that being not present second goes out sound direction, preset sound direction out is selected to carry out out sound.
In a specific embodiment, equipment further include: adjustment module is used for: go out sound when determination is not present second
When direction, determine the obstacle on each sound direction out at a distance from the mobile terminal;
It is determined according to the distance and goes out sound volume on each sound direction out.
In a specific embodiment, the equipment further include:
Volume improves module, the first of the sound volume gone out on sound direction for improving.
In a specific embodiment, the equipment further include:
Stopping modular goes out sound direction by described first for stopping and carries out out sound.
In a specific embodiment, the equipment further include:
Monitoring module, for monitoring the posture of the mobile terminal, wherein the posture includes upright posture, handstand appearance
State, horizontal attitude, lateral attitude;
The selecting module, is used for:
Sound direction is inquired in preset database according to the posture;Wherein, each institute is stored in the database
State the corresponding relationship of posture and each sound direction out;
It chooses second gone out in sound direction that inquiry obtains and carries out out sound in sound direction out.
In a specific embodiment, the monitoring module, is used for:
The mobile terminal is monitored by the gravity sensor, with the posture of the determination mobile terminal.
The embodiment of the present invention also proposed a kind of mobile terminal, multiple sound directions out is provided on the mobile terminal, respectively
Sound direction corresponds to different sound play devices out, which includes:
Processor;
It is stored with the memory of the executable instruction of the processor;
Wherein the processor is used for:
Determine it is each it is described go out sound direction in first go out sound direction and second go out sound direction, wherein go out described first
There are obstacles in pre-determined distance on sound direction, go out described second and obstacle is not present in the pre-determined distance on sound direction;
Selection second goes out sound direction and carries out out sound.
In a specific embodiment, on the mobile terminal it is each it is described go out sound direction be correspondingly arranged on distance perception and answer
Device;
The determination it is each it is described go out sound direction in first go out sound direction and second go out sound direction, comprising:
For each distance-sensor, by the corresponding obstacle gone out on sound direction of distance-sensor detection with
The distance of the mobile terminal;
Judge whether the distance is less than pre-determined distance;
If the determination result is YES, then first direction is set as apart from corresponding sound direction out by described;
If judging result be it is no, by it is described apart from it is corresponding go out sound direction be set as second direction.
In a specific embodiment, the distance-sensor includes: that infrared distance sensor or ultrasonic distance perception are answered
Device.
In a specific embodiment, the processor is also used to:
For sound direction is respectively gone out, go out between sound direction when the sound direction out goes out sound direction and described second described first
When the pre-switch of carry out state, judge whether the pre-switch and the switching of last state occurred in the preset period;
If the determination result is YES, then stop the pre-switch;
If judging result be it is no, execute the pre-switch.
In a specific embodiment, the processor is also used to:
When determining that being not present second goes out sound direction, preset sound direction out is selected to carry out out sound.
In a specific embodiment, the processor is also used to:
When determine there is no second go out sound direction when, determine it is each it is described go out sound direction on obstacle and the mobile terminal
Distance;
The sound volume that goes out on each sound direction out is adjusted according to the distance.
In a specific embodiment, the processor is also used to:
Improve the first of the sound volume gone out on sound direction.
In a specific embodiment, the processor is also used to:
Stopping goes out sound direction by described first and carries out out sound.
In a specific embodiment, the processor is also used to:
Monitor the posture of the mobile terminal, wherein the posture includes upright posture, handstand posture, horizontal attitude, cross
To posture;
The selection second goes out sound direction and carries out out sound, comprising:
Sound direction is inquired in preset database according to the posture;Wherein, each institute is stored in the database
State the corresponding relationship of posture and each sound direction out;
It chooses second gone out in sound direction that inquiry obtains and carries out out sound in sound direction out.
In a specific embodiment, the posture of the monitoring mobile terminal, comprising:
The mobile terminal is monitored by the gravity sensor, with the posture of the determination mobile terminal.
Here, the embodiment of the invention discloses a kind of methods and apparatus and mobile terminal for selecting sound direction, wherein
This method is applied to mobile terminal, multiple sound directions out is provided on the mobile terminal, respectively sound direction corresponds to different sound out
Sound playing device, this method comprises: determine it is each it is described go out sound direction in first go out sound direction and second go out sound direction,
In, there are obstacles in the pre-determined distance on described first out sound direction, go out in the pre-determined distance on sound direction described second
There is no obstacles;Selection second goes out sound direction and carries out out sound.With this according to whether being blocked there are obstacle to select sound direction, to the greatest extent
The normal transmitting that may ensure that sound, ensure that the usage experience of user.
Detailed description of the invention
In order to illustrate the technical solution of the embodiments of the present invention more clearly, below will be to needed in the embodiment attached
Figure is briefly described, it should be understood that the following drawings illustrates only certain embodiments of the present invention, therefore is not construed as pair
The restriction of range for those of ordinary skill in the art without creative efforts, can also be according to this
A little attached drawings obtain other relevant attached drawings.
Fig. 1 is a kind of flow diagram for method for selecting sound direction that the embodiment of the present invention proposes;
Fig. 2 is a kind of schematic diagram for going out sound direction for mobile terminal that the embodiment of the present invention proposes;
Fig. 3 is a kind of structural schematic diagram for equipment for selecting sound direction that the embodiment of the present invention proposes;
Fig. 4 is a kind of schematic diagram for mobile terminal that the embodiment of the present invention proposes.
Specific embodiment
Hereinafter, the various embodiments of the disclosure will be described more fully.The disclosure can have various embodiments, and
It can adjust and change wherein.It should be understood, however, that: there is no the various embodiments of the disclosure are limited to spy disclosed herein
Determine the intention of embodiment, but the disclosure should be interpreted as in the spirit and scope for covering the various embodiments for falling into the disclosure
All adjustment, equivalent and/or optinal plan.
Hereinafter, can the term " includes " used in the various embodiments of the disclosure or " may include " instruction disclosed in
Function, operation or the presence of element, and do not limit the increase of one or more functions, operation or element.In addition, such as existing
Used in the various embodiments of the disclosure, term " includes ", " having " and its cognate are meant only to indicate special characteristic, number
Word, step, operation, the combination of element, component or aforementioned item, and be understood not to exclude first one or more other
Feature, number, step, operation, element, component or aforementioned item combined presence or increase one or more features, number,
Step, operation, element, component or aforementioned item combination a possibility that.
In the various embodiments of the disclosure, states "or" or " at least one of A or/and B " includes listing file names with
Any combination of text or all combinations.For example, statement " A or B " or " at least one of A or/and B " may include A, may include
B may include A and B both.
The statement (" first ", " second " etc.) used in the various embodiments of the disclosure can be modified in various implementations
Various constituent element in example, but respective sets can not be limited into element.For example, the above statement is not intended to limit the suitable of the element
Sequence and/or importance.The above statement is only used for the purpose for differentiating an element and other elements.For example, the first user fills
It sets and indicates different user device with second user device, although the two is all user apparatus.For example, not departing from each of the disclosure
In the case where the range of kind embodiment, first element is referred to alternatively as second element, and similarly, second element is also referred to as first
Element.
It should also be noted that if a constituent element ' attach ' to another constituent element by description, it can be by the first composition member
Part is directly connected to the second constituent element, and " connection " third can form between the first constituent element and the second constituent element
Element.On the contrary, when a constituent element " being directly connected to " is arrived another constituent element, it will be appreciated that in the first constituent element
And second third constituent element is not present between constituent element.
The term used in the various embodiments of the disclosure " user " can be indicated using the people of electronic device or using electricity
The device (for example, artificial intelligence electronic device) of sub-device.
The term used in the various embodiments of the disclosure is used only for the purpose of describing specific embodiments and not anticipates
In the various embodiments of the limitation disclosure.As used herein, singular is intended to also include plural form, unless context is clear
Chu it is indicated otherwise.Unless otherwise defined, otherwise all terms (including technical terms and scientific terms) used herein have
There is meaning identical with the various normally understood meanings of embodiment one skilled in the art of the disclosure.The term
(term such as limited in the dictionary generally used) is to be interpreted as having and situational meaning in the related technical field
Identical meaning and it will be interpreted as having Utopian meaning or meaning too formal, unless in the various of the disclosure
It is clearly defined in embodiment.
Embodiment 1
The embodiment of the present invention 1 discloses a kind of method for selecting sound direction, is applied to mobile terminal, the mobile terminal
On be provided with it is multiple go out sound directions, respectively sound direction correspond to different sound play devices out, it is as shown in Figure 1 this method comprises:
Step 101, determine it is each it is described go out sound direction in first go out sound direction and second go out sound direction, wherein in institute
It states first to go out in the pre-determined distance on sound direction there are obstacle, goes out in the pre-determined distance on sound direction that there is no barriers described second
Hinder;
Step 102, selection second go out sound direction and carry out out sound.
Specifically, as shown in Fig. 2, for example mobile terminal can there are two go out sound direction, respectively sound direction 1 and out sound out
Direction 2, naturally it is also possible to be arranged 3 or 4 and go out sound direction, specifically can according to need and be flexibly arranged, herein not
Superfluous chat is carried out again.It is illustrated at this with embodiment in Fig. 2;When determine in the pre-determined distance on sound direction 1 there are
Obstacle, it is determined that go out sound direction 1 for first and go out sound direction;And if out in the pre-determined distance on sound direction 2 there is no there is obstacle,
Then determine that sound direction 2 goes out sound direction for second;Subsequently selected second go out sound direction (carry out out sound herein to go out sound direction 2,
Corresponding sound play device 2 is selected to start work).
In a specific embodiment, on the mobile terminal it is each it is described go out sound direction be correspondingly arranged on distance perception and answer
Device;
With the determination in this step 101 it is each it is described go out sound direction in first go out sound direction and second go out sound side
To, comprising:
For each distance-sensor, by the corresponding obstacle gone out on sound direction of distance-sensor detection with
The distance of the mobile terminal;
Judge whether the distance is less than pre-determined distance;
If the determination result is YES, then by it is described apart from it is corresponding go out sound direction be set as first go out sound direction;
If judging result be it is no, by it is described apart from it is corresponding go out sound direction be set as second go out sound direction.
Specifically, determining whether the pre-determined distance on each sound direction out has barrier by distance-sensor, specifically
Pre-determined distance may be based on whether to influence user and normally receive sound to be configured, for example, 0.5 centimetre or 0.2
Centimetre or 0.1 centimetre etc., can be different according to the difference of usage scenario and specific mobile terminal.
Specifically, the distance-sensor includes: infrared distance sensor or ultrasonic distance-sensor.
It is the measurement carried out by infrared reflection principle to obstacle distance and this by taking infrared distance sensor as an example
Similarly ultrasonic distance-sensor, is the ranging by ultrasonic reflections to carry out, and specific distance-sensor is in addition to this
Other than two specific, there can also be other embodiments, realize quickly and effectively ranging on mobile terminals as long as being able to satisfy
?.
In a specific embodiment, this method further include:
For sound direction is respectively gone out, go out between sound direction when the sound direction out goes out sound direction and described second described first
When the pre-switch of carry out state, when judging whether the time difference between the pre-switch and the switching of last state is less than default
Between section;
If the determination result is YES, then stop the pre-switch;
If judging result be it is no, execute the pre-switch.
It is illustrated herein with specific example, if the hand of user frequently goes out sound direction 1 in mobile terminal
On waved, cause on sound direction 1 out frequently to go out sound direction and second first and go out between sound direction to switch over;Lead to wave
Process resource and electricity are taken, therefore have been directed to the situation, when needing to switch over according to Distance Judgment, into pre-switch
Process, and judge whether the pre-switch and the time difference of the last switching carried out are less than preset time period, if being less than, stop
The process of the pre-switch executes the pre-switch if being not less than, with this guarantee will not frequent progress switching, guarantee making for user
With experience.
In a specific embodiment, this method further include:
When determining that being not present second goes out sound direction, preset sound direction out is selected to carry out out sound.
Specifically, to go out sound direction when there is no second, namely sound direction is all blocked out, in this case, it is possible to select
Preset sound direction out carries out out sound, and sound direction can be gone out for random selection one by specifically setting out sound direction in advance, or
Realize sound direction etc. out that user specifies.
In a specific embodiment, this method further include:
When determine there is no second go out sound direction when, determine it is each it is described go out sound direction on obstacle and the mobile terminal
Distance;
The sound volume that goes out on each sound direction out is adjusted according to the distance.
Specifically, to go out sound direction when there is no second, namely sound direction is all blocked out, in the case, such as in the presence of
Sound direction 1 and out sound direction 2 out, in the case, based on respectively going out on sound direction obstacle at a distance from mobile terminal come to respectively going out
The sound volume that goes out on sound direction is adjusted, such as the distance on sound direction 1 is 0.2 centimetre out, and the distance on sound direction 2 out
It is 0.1 centimetre, can be adjusted based on the distance, a kind of mode is that the volume adjusted out on sound direction 1 is greater than on sound direction 2 out
Volume, guarantee that more volumes are heard by user with this, also a kind of mode is then on the contrary, adjust out the volume on sound direction 1
Less than the volume on sound direction 2 out, guarantee the equilibrium of sound with this;Specific regulative mode can there are many, can be according to tool
The difference of the needs of body and carry out different settings.
In a specific embodiment, this method further include:
Improve the first of the sound volume gone out on sound direction.
When second sound direction carries out out sound out, in order to guarantee bigger volume, can will go out sound first goes out sound
Volume on direction is improved.
And in another specific embodiment, for energy saving reason, this method further include:
Stopping goes out sound direction by described first and carries out out sound.
In the case, first goes out sound direction and has been blocked, and sound can not effectively be transferred to user, therefore clear-cut stops
Go out sound direction by first and carry out out sound, to realize energy conservation.
In a specific embodiment, this method further include:
Monitor the posture of the mobile terminal, wherein the posture includes upright posture, handstand posture, horizontal attitude, cross
To posture;
The selection second goes out sound direction and carries out out sound, comprising:
Sound direction is inquired in preset database according to the posture;Wherein, each institute is stored in the database
State the corresponding relationship of posture and each sound direction out;
It chooses second gone out in sound direction that inquiry obtains and carries out out sound in sound direction out.
It specifically, mobile terminal is, for example, mobile phone, can be used, can also be used with vertical screen with transverse screen, it is in the case, different
Use posture, it is corresponding go out sound also have different modes, to guarantee better user experience, if second go out sound direction have it is more
It is a, in the case, select agree with the posture used second to go out sound direction to carry out out sound, to realize better user's body
It tests.
As for the posture of the above-mentioned monitoring mobile terminal, comprising:
The mobile terminal is monitored by the gravity sensor, with the posture of the determination mobile terminal.
Embodiment 2
The embodiment of the present invention 2 also discloses a kind of equipment for selecting sound direction, is applied to mobile terminal, described mobile whole
Multiple sound directions out are provided on end, respectively sound direction corresponds to different sound play devices out, as shown in figure 3, the equipment includes:
Determining module 201, for determine it is each it is described go out sound direction in first go out sound direction and second go out sound direction,
In, there are obstacles in the pre-determined distance on described first out sound direction, go out in the pre-determined distance on sound direction described second
There is no obstacles;
Selecting module 202 carries out out sound for selecting second to go out sound direction.
In a specific embodiment, on the mobile terminal it is each it is described go out sound direction be correspondingly arranged on distance perception and answer
Device;
The determining module, is used for:
For each distance-sensor, by the corresponding obstacle gone out on sound direction of distance-sensor detection with
The distance of the mobile terminal;
Judge whether the distance is less than pre-determined distance;
If the determination result is YES, then by it is described apart from it is corresponding go out sound direction be set as first go out sound direction;
If judging result be it is no, by it is described apart from it is corresponding go out sound direction be set as second go out sound direction.
In a specific embodiment, the distance-sensor includes: that infrared distance sensor or ultrasonic distance perception are answered
Device.
In a specific embodiment, the equipment further include:
Switching module, for for respectively going out sound direction, when it is described go out sound direction described first go out sound direction and described the
Two when going out between sound direction to carry out the pre-switch of state, judges the time difference between the pre-switch and the switching of last state
Whether preset time period is less than;
If the determination result is YES, then stop the pre-switch;
If judging result be it is no, execute the pre-switch.
In a specific embodiment, the selecting module is also used to:
When determining that being not present second goes out sound direction, preset sound direction out is selected to carry out out sound.
In a specific embodiment, equipment further include: adjustment module is used for: go out sound when determination is not present second
When direction, determine the obstacle on each sound direction out at a distance from the mobile terminal;
It is determined according to the distance and goes out sound volume on each sound direction out.
In a specific embodiment, the equipment further include:
Volume improves module, the first of the sound volume gone out on sound direction for improving.
In a specific embodiment, the equipment further include:
Stopping modular goes out sound direction by described first for stopping and carries out out sound.
In a specific embodiment, the equipment further include:
Monitoring module, for monitoring the posture of the mobile terminal, wherein the posture includes upright posture, handstand appearance
State, horizontal attitude, lateral attitude;
The selecting module, is used for:
Sound direction is inquired in preset database according to the posture;Wherein, each institute is stored in the database
State the corresponding relationship of posture and each sound direction out;
It chooses second gone out in sound direction that inquiry obtains and carries out out sound in sound direction out.
In a specific embodiment, the monitoring module, is used for:
The mobile terminal is monitored by the gravity sensor, with the posture of the determination mobile terminal.
Embodiment 3
The embodiment of the present invention 3 also discloses a kind of mobile terminal, multiple sound directions out is provided on the mobile terminal, respectively
Sound direction corresponds to different sound play devices out, as shown in figure 4, for ease of description, illustrates only and the embodiment of the present invention
Relevant part, it is disclosed by specific technical details, please refer to present invention method part.The mobile terminal can be packet
Include mobile phone, tablet computer, PDA (Personal Digital Assistant, personal digital assistant), POS (Point of
Sales, point-of-sale terminal), any mobile terminal device such as vehicle-mounted computer, by taking mobile terminal is mobile phone as an example:
Fig. 4 shows the block diagram of the part-structure of mobile phone relevant to terminal provided in an embodiment of the present invention.With reference to figure
4, mobile phone includes: radio frequency (Radio Frequency, RF) circuit 1510, memory 1520, input unit 1530, display unit
1540, sensor 1550, voicefrequency circuit 1560, Wireless Fidelity (wireless fidelity, WiFi) module 1570, processor
The components such as 1580 and power supply 1590.It will be understood by those skilled in the art that handset structure shown in Fig. 4 is not constituted pair
The restriction of mobile phone may include perhaps combining certain components or different component cloth than illustrating more or fewer components
It sets.
It is specifically introduced below with reference to each component parts of the Fig. 4 to mobile phone:
RF circuit 1510 can be used for receiving and sending messages or communication process in, signal sends and receivees, particularly, by base station
After downlink information receives, handled to baseband processor 1581;In addition, the data for designing uplink are sent to base station.In general, RF is electric
Road 1510 includes but is not limited to antenna, at least one amplifier, transceiver, coupler, low-noise amplifier (Low Noise
Amplifier, LNA), duplexer etc..In addition, RF circuit 1510 can also be logical with network and other equipment by wireless communication
Letter.Any communication standard or agreement, including but not limited to global system for mobile communications (Global can be used in above-mentioned wireless communication
System of Mobile communication, GSM), general packet radio service (General Packet Radio
Service, GPRS), CDMA (Code Division Multiple Access, CDMA), wideband code division multiple access
(Wideband Code Division Multiple Access, WCDMA), long term evolution (Long Term Evolution,
LTE), Email, short message service (Short Messaging Service, SMS) etc..
Memory 1520 can be used for storing software program and module, and processor 1580 is stored in memory by operation
1520 software program and module, thereby executing the various function application and data processing of mobile phone.Memory 1520 can be led
It to include storing program area and storage data area, wherein storing program area can be needed for storage program area, at least one function
Application program (such as sound-playing function, image player function etc.) etc.;Storage data area, which can be stored, uses institute according to mobile phone
Data (such as audio data, phone directory etc.) of creation etc..In addition, memory 1520 may include high random access storage
Device, can also include nonvolatile memory, and a for example, at least disk memory, flush memory device or other volatibility are solid
State memory device.
Input unit 1530 can be used for receiving the number or character information of input, and generate with the user setting of mobile phone with
And the related key signals input of function control.Specifically, input unit 1530 may include touch panel 1531 and other inputs
Equipment 1532.Touch panel 1531, also referred to as touch screen collect touch operation (such as the user of user on it or nearby
Use the behaviour of any suitable object or attachment such as finger, stylus on touch panel 1531 or near touch panel 1531
Make), and corresponding attachment device is driven according to preset formula.Optionally, touch panel 1531 may include touch detection
Two parts of device and touch controller.Wherein, the touch orientation of touch detecting apparatus detection user, and detect touch operation band
The signal come, transmits a signal to touch controller;Touch controller receives touch information from touch detecting apparatus, and by it
It is converted into contact coordinate, then gives processor 1580, and order that processor 1580 is sent can be received and executed.In addition,
Touch panel 1531 can be realized using multiple types such as resistance-type, condenser type, infrared ray and surface acoustic waves.In addition to touch surface
Plate 1531, input unit 1530 can also include other input equipments 1532.Specifically, other input equipments 1532 may include
But in being not limited to physical keyboard, function key (such as volume control button, switch key etc.), trace ball, mouse, operating stick etc.
It is one or more.
Display unit 1540 can be used for showing information input by user or be supplied to user information and mobile phone it is each
Kind menu.Display unit 1540 may include display panel 1541, optionally, can use liquid crystal display (Liquid
Crystal Display, LCD), the forms such as Organic Light Emitting Diode (Organic Light-Emitting Diode, OLED)
To configure display panel 1541.Further, touch panel 1531 can cover display panel 1541, when touch panel 1531 detects
After arriving touch operation on it or nearby, processor 1580 is sent to determine the type of touch event, is followed by subsequent processing device
1580 provide corresponding visual output according to the type of touch event on display panel 1541.Although in Fig. 4, touch panel
1531 and display panel 1541 are the input and input function for realizing mobile phone as two independent components, but in certain realities
Apply in example, can be integrated by touch panel 1531 and display panel 1541 and that realizes mobile phone output and input function.
Mobile phone may also include at least one sensor 1550, such as optical sensor, motion sensor and other sensors.
Specifically, optical sensor may include ambient light sensor and proximity sensor, wherein ambient light sensor can be according to ambient light
Light and shade adjust the brightness of display panel 1541, proximity sensor can close display panel when mobile phone is moved in one's ear
1541 and/or backlight.As a kind of motion sensor, accelerometer sensor can detect in all directions (generally three axis) and add
The size of speed can detect that size and the direction of gravity when static, can be used to identify application (such as the horizontal/vertical screen of mobile phone posture
Switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap) etc.;Also as mobile phone
The other sensors such as configurable gyroscope, barometer, hygrometer, thermometer, infrared sensor, details are not described herein.
Voicefrequency circuit 1560, loudspeaker 1561, microphone 1562 can provide the audio interface between user and mobile phone.Audio
Electric signal after the audio data received conversion can be transferred to loudspeaker 1561, be converted by loudspeaker 1561 by circuit 1560
For voice signal output;On the other hand, the voice signal of collection is converted to electric signal by microphone 1562, by voicefrequency circuit 1560
Audio data is converted to after reception, then by after the processing of audio data output processor 1580, through RF circuit 1510 to be sent to ratio
Such as another mobile phone, or audio data is exported to memory 1520 to be further processed.
WiFi belongs to short range wireless transmission technology, and mobile phone can help user's transceiver electronics postal by WiFi module 1570
Part, browsing webpage and access streaming video etc., it provides wireless broadband internet access for user.Although Fig. 4 is shown
WiFi module 1570, but it is understood that, and it is not belonging to must be configured into for mobile phone, it can according to need do not changing completely
Become in the range of the essence of invention and omits.
Processor 1580 is the control centre of mobile phone, using the various pieces of various interfaces and connection whole mobile phone,
By running or execute the software program and/or module that are stored in memory 1520, and calls and be stored in memory 1520
Interior data execute the various functions and processing data of mobile phone, to carry out integral monitoring to mobile phone.Optionally, processor
1580 may include one or more processing units;Preferably, processor 1580 can integrate application processor, and application processor is main
Processing operation system, user interface and application program etc..1581 major function of baseband processor is baseband coding/decoding, sound
Coding and voice coding etc., baseband processor 1581 can integrate modem processor, and modem processor can not also
It is integrated into baseband processor 1581.It is understood that baseband processor 1581 can also be integrated in processor 1580.
Mobile phone further includes the power supply 1590 (such as battery) powered to all parts, it is preferred that power supply can pass through power supply
Management system and processor 1580 are logically contiguous, to realize management charging, electric discharge and power consumption pipe by power-supply management system
The functions such as reason.
Although being not shown, mobile phone can also include camera, bluetooth module etc., and details are not described herein.
In embodiments of the present invention, the processor 1580 included by the terminal is used for:
Determine it is each it is described go out sound direction in first go out sound direction and second go out sound direction, wherein go out described first
There are obstacles in pre-determined distance on sound direction, go out described second and obstacle is not present in the pre-determined distance on sound direction;
Selection second goes out sound direction and carries out out sound.
In a specific embodiment, on the mobile terminal it is each it is described go out sound direction be correspondingly arranged on distance perception and answer
Device;
The determination it is each it is described go out sound direction in first go out sound direction and second go out sound direction, comprising:
For each distance-sensor, by the corresponding obstacle gone out on sound direction of distance-sensor detection with
The distance of the mobile terminal;
Judge whether the distance is less than pre-determined distance;
If the determination result is YES, then first direction is set as apart from corresponding sound direction out by described;
If judging result be it is no, by it is described apart from it is corresponding go out sound direction be set as second direction.
In a specific embodiment, the distance-sensor includes: that infrared distance sensor or ultrasonic distance perception are answered
Device.
In a specific embodiment, the processor 1580 is also used to:
For sound direction is respectively gone out, go out between sound direction when the sound direction out goes out sound direction and described second described first
When the pre-switch of carry out state, when judging whether the time difference between the pre-switch and the switching of last state is less than default
Between section;
If the determination result is YES, then stop the pre-switch;
If judging result be it is no, execute the pre-switch.
In a specific embodiment, the processor 1580 is also used to:
When determining that being not present second goes out sound direction, preset sound direction out is selected to carry out out sound.
In a specific embodiment, the processor 1580 is also used to:
When determine there is no second go out sound direction when, determine it is each it is described go out sound direction on obstacle and the mobile terminal
Distance;
The sound volume that goes out on each sound direction out is adjusted according to the distance.
In a specific embodiment, the processor 1580 is also used to:
Improve the first of the sound volume gone out on sound direction.
In a specific embodiment, the processor 1580 is also used to:
Stopping goes out sound direction by described first and carries out out sound.
In a specific embodiment, the processor 1580 is also used to:
Monitor the posture of the mobile terminal, wherein the posture includes upright posture, handstand posture, horizontal attitude, cross
To posture;
The selection second goes out sound direction and carries out out sound, comprising:
Sound direction is inquired in preset database according to the posture;Wherein, each institute is stored in the database
State the corresponding relationship of posture and each sound direction out;
It chooses second gone out in sound direction that inquiry obtains and carries out out sound in sound direction out.
In a specific embodiment, the posture of the monitoring mobile terminal, comprising:
The mobile terminal is monitored by the gravity sensor, with the posture of the determination mobile terminal.
The invention proposes a kind of methods and apparatus and mobile terminal for selecting sound direction, and wherein this method is applied to
Mobile terminal, be provided on the mobile terminal it is multiple go out sound directions, respectively sound direction correspond to different sound play devices out, this
Method comprise determining that it is each it is described go out sound direction in first go out sound direction and second go out sound direction, wherein go out described first
There are obstacle in pre-determined distance on sound direction, described second go out sound it is reversed on pre-determined distance in obstacle is not present;Selection
Second, which goes out sound direction, carries out out sound.Multiple sound play devices are being set with this, and are selecting the sound out that sound direction is not blocked
Direction carries out out sound, and ensure that sound normally goes out sound, further ensures the needs that user normally obtains sound, improves
The usage experience of user.
It will be appreciated by those skilled in the art that the accompanying drawings are only schematic diagrams of a preferred implementation scenario, module in attached drawing or
Process is not necessarily implemented necessary to the present invention.
It will be appreciated by those skilled in the art that the module in device in implement scene can be described according to implement scene into
Row is distributed in the device of implement scene, can also be carried out corresponding change and is located at the one or more dresses for being different from this implement scene
In setting.The module of above-mentioned implement scene can be merged into a module, can also be further split into multiple submodule.
Aforementioned present invention serial number is for illustration only, does not represent the superiority and inferiority of implement scene.
Disclosed above is only several specific implementation scenes of the invention, and still, the present invention is not limited to this, Ren Heben
What the technical staff in field can think variation should all fall into protection scope of the present invention.
The present embodiment further discloses:
A1, a kind of method for selecting sound direction are applied to mobile terminal, and multiple sounds out are provided on the mobile terminal
Direction, respectively sound direction corresponds to different sound play devices out, this method comprises:
Determine it is each it is described go out sound direction in first go out sound direction and second go out sound direction, wherein go out described first
There are obstacles in pre-determined distance on sound direction, go out described second and obstacle is not present in the pre-determined distance on sound direction;
Selection second goes out sound direction and carries out out sound.
A2, method as described in a1, on the mobile terminal it is each it is described go out sound direction be correspondingly arranged on distance-sensor;
The determination it is each it is described go out sound direction in first go out sound direction and second go out sound direction, comprising:
For each distance-sensor, by the corresponding obstacle gone out on sound direction of distance-sensor detection with
The distance of the mobile terminal;
Judge whether the distance is less than pre-determined distance;
If the determination result is YES, then by it is described apart from it is corresponding go out sound direction be set as first go out sound direction;
If judging result be it is no, by it is described apart from it is corresponding go out sound direction be set as second go out sound direction.
A3, as described in A2 method, the distance-sensor include: infrared distance sensor or ultrasonic distance-sensor.
A4, as described in A2 method, further includes:
For sound direction is respectively gone out, go out between sound direction when the sound direction out goes out sound direction and described second described first
When the pre-switch of carry out state, when judging whether the time difference between the pre-switch and the switching of last state is less than default
Between section;
If the determination result is YES, then stop the pre-switch;
If judging result be it is no, execute the pre-switch.
A5, method as described in a1, further includes:
When determining that being not present second goes out sound direction, preset sound direction out is selected to carry out out sound.
A6, method as described in a1, further includes:
When determine there is no second go out sound direction when, determine it is each it is described go out sound direction on obstacle and the mobile terminal
Distance;
The sound volume that goes out on each sound direction out is adjusted according to the distance.
A7, method as described in a1, further includes:
Improve the first of the sound volume gone out on sound direction.
A8, method as described in a1, further includes:
Stopping goes out sound direction by described first and carries out out sound.
A9, method as described in a1, further includes:
Monitor the posture of the mobile terminal, wherein the posture includes upright posture, handstand posture, horizontal attitude, cross
To posture;
The selection second goes out sound direction and carries out out sound, comprising:
Sound direction is inquired in preset database according to the posture;Wherein, each institute is stored in the database
State the corresponding relationship of posture and each sound direction out;
It chooses second gone out in sound direction that inquiry obtains and carries out out sound in sound direction out.
A10, the method as described in A9, the posture of the monitoring mobile terminal, comprising:
The mobile terminal is monitored by the gravity sensor, with the posture of the determination mobile terminal.
A11, a kind of equipment for selecting sound direction, are applied to mobile terminal, be provided on the mobile terminal it is multiple go out
Sound direction, respectively sound direction corresponds to different sound play devices out, which includes:
Determining module, for determine it is each it is described go out sound direction in first go out sound direction and second go out sound direction, wherein
There are obstacles in the pre-determined distance on described first out sound direction, do not deposit in the pre-determined distance that described second goes out on sound direction
In obstacle;
Selecting module carries out out sound for selecting second to go out sound direction.
A12, the equipment as described in A11, on the mobile terminal it is each it is described go out sound direction be correspondingly arranged on distance-sensor;
The determining module, is used for:
For each distance-sensor, by the corresponding obstacle gone out on sound direction of distance-sensor detection with
The distance of the mobile terminal;
Judge whether the distance is less than pre-determined distance;
If the determination result is YES, then by it is described apart from it is corresponding go out sound direction be set as first go out sound direction;
If judging result be it is no, by it is described apart from it is corresponding go out sound direction be set as second go out sound direction.
A13, the equipment as described in A12, the distance-sensor include: that infrared distance sensor or ultrasonic distance perception are answered
Device.
A14, the equipment as described in A12, further includes:
Switching module, for for respectively going out sound direction, when it is described go out sound direction described first go out sound direction and described the
Two when going out between sound direction to carry out the pre-switch of state, judges the time difference between the pre-switch and the switching of last state
Whether preset time period is less than;
If the determination result is YES, then stop the pre-switch;
If judging result be it is no, execute the pre-switch.
A15, the equipment as described in A11, the selecting module are also used to:
When determining that being not present second goes out sound direction, preset sound direction out is selected to carry out out sound.
A16, the equipment as described in A11, further includes: adjustment module is used for: when determining that being not present second goes out sound direction,
Determine the obstacle on each sound direction out at a distance from the mobile terminal;
It is determined according to the distance and goes out sound volume on each sound direction out.
A17, the equipment as described in A11, further includes:
Volume improves module, the first of the sound volume gone out on sound direction for improving.
A18, the equipment as described in A11, further includes:
Stopping modular goes out sound direction by described first for stopping and carries out out sound.
A19, the equipment as described in A11, further includes:
Monitoring module, for monitoring the posture of the mobile terminal, wherein the posture includes upright posture, handstand appearance
State, horizontal attitude, lateral attitude;
The selecting module, is used for:
Sound direction is inquired in preset database according to the posture;Wherein, each institute is stored in the database
State the corresponding relationship of posture and each sound direction out;
It chooses second gone out in sound direction that inquiry obtains and carries out out sound in sound direction out.
A20, the equipment as described in A19, the monitoring module are used for:
The mobile terminal is monitored by the gravity sensor, with the posture of the determination mobile terminal.
A21, a kind of mobile terminal, be provided on the mobile terminal it is multiple go out sound directions, respectively sound direction is corresponding different out
Sound play device, which includes:
Processor;
It is stored with the memory of the executable instruction of the processor;
Wherein the processor is used for:
Determine it is each it is described go out sound direction in first go out sound direction and second go out sound direction, wherein go out described first
There are obstacles in pre-determined distance on sound direction, go out described second and obstacle is not present in the pre-determined distance on sound direction;
Selection second goes out sound direction and carries out out sound.
A22, the mobile terminal as described in A21, on the mobile terminal it is each it is described go out sound direction be correspondingly arranged on distance perception
Answer device;
The determination it is each it is described go out sound direction in first go out sound direction and second go out sound direction, comprising:
For each distance-sensor, by the corresponding obstacle gone out on sound direction of distance-sensor detection with
The distance of the mobile terminal;
Judge whether the distance is less than pre-determined distance;
If the determination result is YES, then first direction is set as apart from corresponding sound direction out by described;
If judging result be it is no, by it is described apart from it is corresponding go out sound direction be set as second direction.
A23, the mobile terminal as described in A22, the distance-sensor include: infrared distance sensor or ultrasonic distance
Inductor.
A24, the mobile terminal as described in A22, the processor are also used to:
For sound direction is respectively gone out, go out between sound direction when the sound direction out goes out sound direction and described second described first
When the pre-switch of carry out state, when judging whether the time difference between the pre-switch and the switching of last state is less than default
Between section;
If the determination result is YES, then stop the pre-switch;
If judging result be it is no, execute the pre-switch.
A25, the mobile terminal as described in A21, the processor are also used to:
When determining that being not present second goes out sound direction, preset sound direction out is selected to carry out out sound.
A26, the mobile terminal as described in A21, the processor are also used to:
When determine there is no second go out sound direction when, determine it is each it is described go out sound direction on obstacle and the mobile terminal
Distance;
The sound volume that goes out on each sound direction out is adjusted according to the distance.
A27, the mobile terminal as described in A21, the processor are also used to:
Improve the first of the sound volume gone out on sound direction.
A28, the mobile terminal as described in A21, the processor are also used to:
Stopping goes out sound direction by described first and carries out out sound.
A29, the mobile terminal as described in A21, the processor are also used to:
Monitor the posture of the mobile terminal, wherein the posture includes upright posture, handstand posture, horizontal attitude, cross
To posture;
The selection second goes out sound direction and carries out out sound, comprising:
Sound direction is inquired in preset database according to the posture;Wherein, each institute is stored in the database
State the corresponding relationship of posture and each sound direction out;
It chooses second gone out in sound direction that inquiry obtains and carries out out sound in sound direction out.
A30, the mobile terminal as described in A29, the posture of the monitoring mobile terminal, comprising:
The mobile terminal is monitored by the gravity sensor, with the posture of the determination mobile terminal.
Claims (24)
1. a kind of method for selecting sound direction, which is characterized in that be applied to mobile terminal, be provided on the mobile terminal more
A sound direction out, respectively sound direction corresponds to different sound play devices out, this method comprises:
Determine it is each it is described go out sound direction in first go out sound direction and second go out sound direction, wherein go out sound side described first
There are obstacles in upward pre-determined distance, go out described second and obstacle is not present in the pre-determined distance on sound direction;
Selection second goes out sound direction and carries out out sound;
Wherein, go out between sound direction to carry out the pre-cut of state when the sound direction out goes out sound direction and described second described first
When changing, judge whether the time difference between the pre-switch and the switching of last state is less than preset time period;
If the determination result is YES, then stop the pre-switch;
If judging result be it is no, execute the pre-switch;
When determine there is no described second go out sound direction when, determine it is each it is described go out sound direction on obstacle and the mobile terminal
Distance, wherein adjust the big volume for going out sound direction of the distance be less than adjust it is described apart from going out sound direction described in small one
Volume.
2. the method as described in claim 1, which is characterized in that each sound direction out is correspondingly arranged on the mobile terminal
Distance-sensor;
The determination it is each it is described go out sound direction in first go out sound direction and second go out sound direction, comprising:
For each distance-sensor, by the corresponding obstacle gone out on sound direction of distance-sensor detection with it is described
The distance of mobile terminal;
Judge whether the distance is less than pre-determined distance;
If the determination result is YES, then by it is described apart from it is corresponding go out sound direction be set as first go out sound direction;
If judging result be it is no, by it is described apart from it is corresponding go out sound direction be set as second go out sound direction.
3. method according to claim 2, which is characterized in that the distance-sensor includes: infrared distance sensor or surpasses
Sound distance-sensor.
4. the method as described in claim 1, which is characterized in that further include:
When determining that being not present second goes out sound direction, preset sound direction out is selected to carry out out sound.
5. the method as described in claim 1, which is characterized in that further include:
Improve the first of the sound volume gone out on sound direction.
6. the method as described in claim 1, which is characterized in that further include:
Stopping goes out sound direction by described first and carries out out sound.
7. the method as described in claim 1, which is characterized in that further include:
Monitor the posture of the mobile terminal, wherein the posture includes upright posture, handstand posture, horizontal attitude, lateral appearance
State;
The selection second goes out sound direction and carries out out sound, comprising:
Sound direction is inquired in preset database according to the posture;Wherein, each appearance is stored in the database
The corresponding relationship of state and each sound direction out;
It chooses second gone out in sound direction that inquiry obtains and carries out out sound in sound direction out.
8. the method for claim 7, which is characterized in that the posture of the monitoring mobile terminal, comprising:
The mobile terminal is monitored by gravity sensor, with the posture of the determination mobile terminal.
9. a kind of equipment for selecting sound direction, which is characterized in that be applied to mobile terminal, be provided on the mobile terminal more
A sound direction out, respectively sound direction corresponds to different sound play devices out, which includes:
Determining module, for determine it is each it is described go out sound direction in first go out sound direction and second go out sound direction, wherein in institute
It states first to go out in the pre-determined distance on sound direction there are obstacle, goes out in the pre-determined distance on sound direction that there is no barriers described second
Hinder;
Selecting module carries out out sound for selecting second to go out sound direction;
Switching module, for going out with described second when the sound direction out goes out sound direction described first for sound direction is respectively gone out
When carrying out the pre-switch of state between sound direction, judge whether is time difference between the pre-switch and the switching of last state
Less than preset time period;
If the determination result is YES, then stop the pre-switch;
If judging result be it is no, execute the pre-switch;
Adjustment module is used for: when determine go out sound direction there is no described second when, determine it is each it is described go out sound direction on obstacle with
The distance of the mobile terminal, wherein adjust the big volume for going out sound direction of the distance be less than adjust it is described apart from small one
The volume in the sound direction out.
10. equipment as claimed in claim 9, which is characterized in that each sound direction out is correspondingly arranged on the mobile terminal
There is distance-sensor;
The determining module, is used for:
For each distance-sensor, by the corresponding obstacle gone out on sound direction of distance-sensor detection with it is described
The distance of mobile terminal;
Judge whether the distance is less than pre-determined distance;
If the determination result is YES, then by it is described apart from it is corresponding go out sound direction be set as first go out sound direction;
If judging result be it is no, by it is described apart from it is corresponding go out sound direction be set as second go out sound direction.
11. equipment as claimed in claim 10, which is characterized in that the distance-sensor include: infrared distance sensor or
Ultrasonic distance-sensor.
12. equipment as claimed in claim 9, which is characterized in that the selecting module is also used to:
When determining that being not present second goes out sound direction, preset sound direction out is selected to carry out out sound.
13. equipment as claimed in claim 9, which is characterized in that further include:
Volume improves module, the first of the sound volume gone out on sound direction for improving.
14. equipment as claimed in claim 9, which is characterized in that further include:
Stopping modular goes out sound direction by described first for stopping and carries out out sound.
15. equipment as claimed in claim 9, which is characterized in that further include:
Monitoring module, for monitoring the posture of the mobile terminal, wherein the posture includes upright posture, handstand posture, water
Flat posture, lateral attitude;
The selecting module, is used for:
Sound direction is inquired in preset database according to the posture;Wherein, each appearance is stored in the database
The corresponding relationship of state and each sound direction out;
It chooses second gone out in sound direction that inquiry obtains and carries out out sound in sound direction out.
16. equipment as claimed in claim 15, which is characterized in that the monitoring module is used for:
The mobile terminal is monitored by gravity sensor, with the posture of the determination mobile terminal.
17. a kind of mobile terminal, which is characterized in that be provided on the mobile terminal it is multiple go out sound directions, each sound direction pair out
Different sound play devices is answered, which includes:
Processor;
It is stored with the memory of the executable instruction of the processor;
Wherein the processor is used for:
Determine it is each it is described go out sound direction in first go out sound direction and second go out sound direction, wherein go out sound side described first
There are obstacles in upward pre-determined distance, go out described second and obstacle is not present in the pre-determined distance on sound direction;
Selection second goes out sound direction and carries out out sound;
Wherein, go out between sound direction to carry out the pre-cut of state when the sound direction out goes out sound direction and described second described first
When changing, judge whether the time difference between the pre-switch and the switching of last state is less than preset time period;
If the determination result is YES, then stop the pre-switch;
If judging result be it is no, execute the pre-switch;
When determine there is no described second go out sound direction when, determine it is each it is described go out sound direction on obstacle and the mobile terminal
Distance, wherein adjust the big volume for going out sound direction of the distance be less than adjust it is described apart from going out sound direction described in small one
Volume.
18. mobile terminal as claimed in claim 17, which is characterized in that each sound direction out is corresponding on the mobile terminal
It is provided with distance-sensor;
The determination it is each it is described go out sound direction in first go out sound direction and second go out sound direction, comprising:
For each distance-sensor, by the corresponding obstacle gone out on sound direction of distance-sensor detection with it is described
The distance of mobile terminal;
Judge whether the distance is less than pre-determined distance;
If the determination result is YES, then first direction is set as apart from corresponding sound direction out by described;
If judging result be it is no, by it is described apart from it is corresponding go out sound direction be set as second direction.
19. mobile terminal as claimed in claim 18, which is characterized in that the distance-sensor includes: infrared Distance-sensing
Device or ultrasonic distance-sensor.
20. mobile terminal as claimed in claim 17, which is characterized in that the processor is also used to:
When determining that being not present second goes out sound direction, preset sound direction out is selected to carry out out sound.
21. mobile terminal as claimed in claim 17, which is characterized in that the processor is also used to:
Improve the first of the sound volume gone out on sound direction.
22. mobile terminal as claimed in claim 17, which is characterized in that the processor is also used to:
Stopping goes out sound direction by described first and carries out out sound.
23. mobile terminal as claimed in claim 17, which is characterized in that the processor is also used to:
Monitor the posture of the mobile terminal, wherein the posture includes upright posture, handstand posture, horizontal attitude, lateral appearance
State;
The selection second goes out sound direction and carries out out sound, comprising:
Sound direction is inquired in preset database according to the posture;Wherein, each appearance is stored in the database
The corresponding relationship of state and each sound direction out;
It chooses second gone out in sound direction that inquiry obtains and carries out out sound in sound direction out.
24. mobile terminal as claimed in claim 23, which is characterized in that the posture of the monitoring mobile terminal, comprising:
The mobile terminal is monitored by gravity sensor, with the posture of the determination mobile terminal.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710405012.6A CN107172533B (en) | 2017-06-01 | 2017-06-01 | A kind of method and apparatus and mobile terminal for selecting sound direction |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710405012.6A CN107172533B (en) | 2017-06-01 | 2017-06-01 | A kind of method and apparatus and mobile terminal for selecting sound direction |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107172533A CN107172533A (en) | 2017-09-15 |
CN107172533B true CN107172533B (en) | 2019-09-13 |
Family
ID=59822265
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710405012.6A Active CN107172533B (en) | 2017-06-01 | 2017-06-01 | A kind of method and apparatus and mobile terminal for selecting sound direction |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107172533B (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109189362B (en) * | 2018-07-09 | 2022-07-12 | Oppo广东移动通信有限公司 | Sound production control method and device, electronic equipment and storage medium |
CN109086023B (en) * | 2018-07-09 | 2022-06-21 | Oppo广东移动通信有限公司 | Sound production control method and device, electronic equipment and storage medium |
CN110166587B (en) * | 2019-04-24 | 2021-08-03 | 维沃移动通信有限公司 | Mobile terminal |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102693060A (en) * | 2011-03-22 | 2012-09-26 | 联想(北京)有限公司 | Method and apparatus for controlling switching of terminal state, and terminal |
CN106033676A (en) * | 2015-03-13 | 2016-10-19 | 北京智谷睿拓技术服务有限公司 | Audio play control method and device and electronic device |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
GB2382241B (en) * | 2001-11-07 | 2006-08-09 | Sendo Int Ltd | Speaker volume control means and method of operation |
CN102082844A (en) * | 2009-11-27 | 2011-06-01 | 英业达股份有限公司 | Handheld electronic device and method for adjusting sound quality thereof |
CN103501375B (en) * | 2013-09-16 | 2017-04-19 | 华为终端有限公司 | Method and device for controlling sound effect |
CN104750369B (en) * | 2015-03-31 | 2017-11-21 | 广东欧珀移动通信有限公司 | The control method and device of rapid switch in a kind of intelligent terminal |
CN106534589A (en) * | 2016-12-26 | 2017-03-22 | 宇龙计算机通信科技(深圳)有限公司 | Mobile terminal control method and mobile terminal |
-
2017
- 2017-06-01 CN CN201710405012.6A patent/CN107172533B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102693060A (en) * | 2011-03-22 | 2012-09-26 | 联想(北京)有限公司 | Method and apparatus for controlling switching of terminal state, and terminal |
CN106033676A (en) * | 2015-03-13 | 2016-10-19 | 北京智谷睿拓技术服务有限公司 | Audio play control method and device and electronic device |
Also Published As
Publication number | Publication date |
---|---|
CN107172533A (en) | 2017-09-15 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104168175B (en) | Message group sending method and terminal in instant messaging | |
US20170364257A1 (en) | Gesture control method, gesture control device and gesture control system | |
CN108293080A (en) | A kind of method of contextual model switching | |
CN106507482B (en) | A kind of network locating method and terminal device | |
CN106714103B (en) | A kind of network locating method and terminal device | |
CN105430600B (en) | A kind of data transmission method and the terminal of data transmission | |
CN106991034A (en) | A kind of method and apparatus and mobile terminal for monitoring interim card | |
CN102833419B (en) | Method and terminal for controlling screen state | |
CN107949826A (en) | A kind of message display method, user terminal and graphical user interface | |
CN107172533B (en) | A kind of method and apparatus and mobile terminal for selecting sound direction | |
CN106453840B (en) | The method for adjusting performance and mobile terminal of mobile terminal | |
CN108668328A (en) | A kind of method for switching network and mobile terminal | |
CN107103074A (en) | The processing method and mobile terminal of a kind of sharing information | |
CN109284186A (en) | Mobile terminal and its method and apparatus for detecting frame rate adjustment mobile terminal performance | |
CN109040433A (en) | Mobile terminal and the method, apparatus to receive calls | |
CN106657657B (en) | Method, the system of mobile terminal and mobile terminal video browsing | |
CN106488391B (en) | A kind of data migration method and terminal device | |
CN109151942A (en) | A kind of network insertion switching method, device and mobile terminal | |
CN109189538A (en) | A kind of method and apparatus sending orientation red packet | |
CN108040492A (en) | A kind of data copy method and user terminal | |
CN110891262A (en) | Bluetooth pairing method, system and terminal equipment | |
CN106131892A (en) | The control method of network insertion and equipment | |
CN109144353A (en) | The method, apparatus that mobile terminal and information are shown | |
CN110427572A (en) | Find good friend's method, mobile terminal and storage medium | |
CN106658705B (en) | A kind of network locating method and terminal device |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |