CN106973349A - Directional loudspeaker control method, directional loudspeaker control device and intelligent terminal - Google Patents
Directional loudspeaker control method, directional loudspeaker control device and intelligent terminal Download PDFInfo
- Publication number
- CN106973349A CN106973349A CN201710378188.7A CN201710378188A CN106973349A CN 106973349 A CN106973349 A CN 106973349A CN 201710378188 A CN201710378188 A CN 201710378188A CN 106973349 A CN106973349 A CN 106973349A
- Authority
- CN
- China
- Prior art keywords
- intelligent terminal
- directional loudspeaker
- distance
- hoc location
- mentioned
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 48
- 238000003860 storage Methods 0.000 claims abstract description 7
- 238000001514 detection method Methods 0.000 claims description 29
- 238000004590 computer program Methods 0.000 claims description 12
- 230000032258 transport Effects 0.000 claims 1
- 230000006870 function Effects 0.000 description 15
- 230000008569 process Effects 0.000 description 8
- 230000001960 triggered effect Effects 0.000 description 4
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 3
- 238000004891 communication Methods 0.000 description 2
- 230000008878 coupling Effects 0.000 description 2
- 230000003321 amplification Effects 0.000 description 1
- 230000008901 benefit Effects 0.000 description 1
- 238000004422 calculation algorithm Methods 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 230000004069 differentiation Effects 0.000 description 1
- 238000001914 filtration Methods 0.000 description 1
- 238000007689 inspection Methods 0.000 description 1
- 230000005238 low-frequency sound signal Effects 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 238000003199 nucleic acid amplification method Methods 0.000 description 1
- 230000000644 propagated effect Effects 0.000 description 1
- 238000004549 pulsed laser deposition Methods 0.000 description 1
- 230000009467 reduction Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04R—LOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
- H04R9/00—Transducers of moving-coil, moving-strip, or moving-wire type
- H04R9/06—Loudspeakers
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04R—LOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
- H04R3/00—Circuits for transducers, loudspeakers or microphones
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04R—LOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
- H04R9/00—Transducers of moving-coil, moving-strip, or moving-wire type
- H04R9/02—Details
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04R—LOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
- H04R2420/00—Details of connection covered by H04R, not provided for in its groups
- H04R2420/03—Connection circuits to selectively connect loudspeakers or headphones to amplifiers
Landscapes
- Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Acoustics & Sound (AREA)
- Signal Processing (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The invention discloses a directional loudspeaker control method, a directional loudspeaker control device, an intelligent terminal and a computer readable storage medium, wherein the directional loudspeaker control method comprises the following steps: detecting whether the distance between a specific position on the intelligent terminal and an object is not greater than a preset distance threshold value or not; and if the distance between the specific position on the intelligent terminal and the object is not larger than the distance threshold value, triggering or keeping the directional loudspeaker of the intelligent terminal to be closed. The technical scheme provided by the invention can simplify the operation of closing the directional loudspeaker.
Description
Technical field
The present invention relates to intelligent terminal technical field, and in particular to a kind of directional loudspeaker control method, directional loudspeaker
Control device and intelligent terminal.
Background technology
The sound that ventional loudspeakers are sent to all the winds is propagated, and to realize orientation, and the diameter of loudspeaker must be done
Obtain very big.Different from the principle of conventional loudspeakers, it is very strong that low frequency sound signals are loaded in directive property by directional loudspeaker first
On high-frequency signal, then by amplification, be transmitted into air, then air can be high-frequency signal rapid filtration, thereon audible
Voice signal will be filtered out naturally, realize the direction propagation as laser.
Part intelligent terminal is had at present equipped with directional loudspeaker, and to enable intelligent terminal to realize, sound orientation is defeated
The function of going out.Under some specific occasions, in order to ensure the interference of individual subscriber privacy or reduction to surrounding population, things,
User may enable the function of sound orientation output.In the prior art, when directional loudspeaker is opened, if user wants to close
The directional loudspeaker, then need user first to operate intelligent terminal to enter corresponding setting interface, then again in the setting interface
Above-mentioned directional loudspeaker is closed, operating process is relatively complicated.
The content of the invention
The present invention provides a kind of directional loudspeaker control method, directional loudspeaker control device and intelligent terminal, for letter
Change the operation for closing directional loudspeaker.
First aspect present invention provides a kind of directional loudspeaker control method, applied to intelligent terminal, the directional loudspeaker
Control method includes:
Detect whether the distance between ad-hoc location and object on the intelligent terminal are not more than default distance threshold;
If detecting the distance between ad-hoc location and object on the intelligent terminal is not more than the distance threshold,
Trigger or keep the directional loudspeaker of the intelligent terminal to close.
Based on first aspect present invention, in the first possible implementation, on the detection intelligent terminal
Whether the distance between ad-hoc location and object are not more than default distance threshold, are:
During the intelligent terminal exports audio under non-headset mode, detect specific on the intelligent terminal
Whether the distance between position and object are not more than default distance threshold.
The first possible implementation based on first aspect present invention, in second of possible implementation, if
The distance between ad-hoc location and object on the intelligent terminal is detected is touched in the case of being not more than the distance threshold
The directional loudspeaker for sending out intelligent terminal described is closed, then the directional loudspeaker control method also includes:
The receiver for triggering the intelligent terminal is opened;
Or, the non-directional loudspeaker for triggering the intelligent terminal is opened.
The first possible implementation based on first aspect present invention, in second of possible implementation, institute
State whether the distance between ad-hoc location and object on the detection intelligent terminal are not more than default distance threshold, wrap afterwards
Include:
If detecting the distance between ad-hoc location and object on the intelligent terminal is more than the distance threshold, touch
Send out or keep the directional loudspeaker of the intelligent terminal to open.
Based on first aspect present invention, the either possible implementation of the first of first aspect present invention or this hair
Second of possible implementation of bright first aspect, in the third possible implementation, the detection intelligence is eventually
Whether the distance between ad-hoc location and object on end are not more than default distance threshold, are:
Based on the ultrasonic sensor for being preset in the ad-hoc location, the distance between the ad-hoc location and object are detected
Whether the distance threshold is not more than.
Second aspect of the present invention provides a kind of directional loudspeaker control device, using with intelligent terminal, the directional loudspeaker
Control device includes:
Detection unit, for detecting whether the ad-hoc location on the intelligent terminal and the distance between object are no more than pre-
If distance threshold;
Control unit, for detected when the detection unit between ad-hoc location and object on the intelligent terminal away from
During from no more than default distance threshold, trigger or keep the directional loudspeaker of the intelligent terminal to close.
Based on second aspect of the present invention, in the first possible implementation, the detection unit specifically for:Work as institute
State during intelligent terminal exports audio under non-headset mode, detect ad-hoc location and object on the intelligent terminal it
Between distance whether be not more than default distance threshold.
The first possible implementation based on second aspect of the present invention, in second of possible implementation, institute
Control unit is stated to be additionally operable to:When the detection unit detects the distance between ad-hoc location and object on the intelligent terminal
During more than the distance threshold, trigger or keep the directional loudspeaker of the intelligent terminal to open.
Third aspect present invention provides a kind of intelligent terminal, and the intelligent terminal includes memory, processor and is stored in
On the memory and the directional loudspeaker control program that can run on the processor, oriented described in the computing device
Realized during loudspeaker control program in any possible implementation such as first aspect present invention or first aspect present invention
Directional loudspeaker control method.
Fourth aspect present invention provides a kind of computer-readable recording medium, and above computer readable storage medium storing program for executing is stored with
Directional loudspeaker control program, when above-mentioned directional loudspeaker control program is by least one computing device, is realized such as the present invention
Directional loudspeaker control method in any possible implementation of first aspect or first aspect present invention.
Therefore, by detecting the distance between the ad-hoc location on intelligent terminal and object in the present invention program, when
When the distance between the ad-hoc location and object are not more than default distance threshold, trigger or keep the orientation of the intelligent terminal to raise
Sound device is closed.Based on the present invention program, user only need to be by object close to the ad-hoc location, you can close the orientation of the intelligent terminal
Loudspeaker, closes above-mentioned orientation in the setting interface again behind interface and raises one's voice without operating intelligent terminal to enter corresponding set
Device, is effectively simplified the operation for closing directional loudspeaker.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing
There is the accompanying drawing used required in technology description to be briefly described, it should be apparent that, drawings in the following description are only this
Some embodiments of invention, for those of ordinary skill in the art, without having to pay creative labor, may be used also
To obtain other accompanying drawings according to these accompanying drawings.
Directional loudspeaker control method one embodiment schematic flow sheet that Fig. 1 provides for the present invention;
Directional loudspeaker control method another embodiment schematic flow sheet that Fig. 2 provides for the present invention;
Directional loudspeaker control device one embodiment structural representation that Fig. 3 provides for the present invention;
Intelligent terminal one embodiment structural representation that Fig. 4 provides for the present invention.
Embodiment
To enable goal of the invention, feature, the advantage of the present invention more obvious and understandable, below in conjunction with the present invention
Accompanying drawing in embodiment, the technical scheme in the embodiment of the present invention is clearly and completely described, it is clear that described reality
It is only a part of embodiment of the invention to apply example, and not all embodiments.Based on the embodiment in the present invention, the common skill in this area
The every other embodiment that art personnel are obtained under the premise of creative work is not made, belongs to the model that the present invention is protected
Enclose.
Embodiment one
A kind of directional loudspeaker control method applied to intelligent terminal is described the embodiment of the present invention, refers to figure
1, above-mentioned directional loudspeaker control method includes:
Whether the distance between step 101, the ad-hoc location on detection intelligent terminal and object are not more than default distance
Threshold value;
In the embodiment of the present invention, above-mentioned object can be each position (the finger, ear such as people) of live body, or
It can also be any object.Above-mentioned ad-hoc location namely predeterminated position, the ad-hoc location can be the receivers of intelligent terminal
Close position, or can also be the other positions of intelligent terminal.Above-mentioned ad-hoc location, above-mentioned distance threshold can be according to reality
Demand is set, and is not construed as limiting herein.
In a kind of application scenarios, whether the ad-hoc location and the distance between object on above-mentioned detection intelligent terminal are little
Can be in default distance threshold:Based on the ultrasonic sensor for being preset in above-mentioned ad-hoc location, above-mentioned ad-hoc location is detected
Whether it is not more than above-mentioned distance threshold with the distance between object.Specifically, above-mentioned based on being preset in the super of above-mentioned ad-hoc location
Sonic sensor, detects whether no more than above-mentioned distance threshold includes for the distance between above-mentioned ad-hoc location and object:In triggering
State ultrasonic sensor transmitting ultrasonic signal;Receive the reflection wave signal of above-mentioned ultrasonic signal;By above-mentioned ultrasonic signal
Launch time and above-mentioned back wave both reception time time difference, be multiplied by the aerial spread speed of ultrasonic wave, obtain
To the distance between above-mentioned ad-hoc location and object;The distance is compared with above-mentioned distance threshold, it is above-mentioned specific to judge
Whether the distance between position and object are not more than above-mentioned distance threshold.
In another application scenarios, no whether the distance between ad-hoc location and object on above-mentioned detection intelligent terminal
Can be more than default distance threshold:Based on the range sensor for being preset in above-mentioned ad-hoc location, above-mentioned ad-hoc location is detected
Whether it is not more than above-mentioned distance threshold with the distance between object.Specifically, it is above-mentioned based on be preset in above-mentioned ad-hoc location away from
From sensor, detect whether no more than above-mentioned distance threshold includes for the distance between above-mentioned ad-hoc location and object:Triggering is above-mentioned
Range sensor emission detection signal (such as infrared signal);Receive the reflected signal of above-mentioned detectable signal;Based on above-mentioned reflection
The distance between the above-mentioned ad-hoc location of Strength co-mputation and object of signal;The distance is compared with above-mentioned distance threshold, with
Judge whether the distance between above-mentioned ad-hoc location and object are not more than above-mentioned distance threshold.
Certainly, can also be detected otherwise in the embodiment of the present invention ad-hoc location on intelligent terminal and object it
Between distance whether be not more than default distance threshold, do not limit herein.
In a step 101, the spy on above-mentioned intelligent terminal can be periodically detected under above-mentioned intelligent terminal open state
Positioning is put with whether the distance between object is not more than default distance threshold;Or, determining for above-mentioned intelligent terminal can also be worked as
When being in opening to loudspeaker, detect periodically or in real time between ad-hoc location and object on above-mentioned intelligent terminal away from
The default distance threshold from whether no more than;Or, above-mentioned intelligent terminal can also be worked as audio is exported under non-headset mode
During, detect whether the distance between ad-hoc location and object on above-mentioned intelligent terminal are not more than default distance threshold.
Wherein, above-mentioned non-headset mode refers to other audio output modes (such as handset mode, loudspeaker in addition to headset mode
Pattern etc.), above-mentioned headset mode refers to the pattern that earphone is accessed in above-mentioned intelligent terminal and audio is exported by the earphone.
If the distance between step 102, the ad-hoc location and object detected on above-mentioned intelligent terminal be not more than it is above-mentioned away from
From threshold value, then trigger or keep the directional loudspeaker of above-mentioned intelligent terminal to close;
It is not more than above-mentioned distance when step 101 detects the distance between ad-hoc location and object on above-mentioned intelligent terminal
During threshold value, trigger or keep the directional loudspeaker of above-mentioned intelligent terminal to close.Specifically, when step 101 detects above-mentioned intelligence
The distance between ad-hoc location and object in terminal are not more than above-mentioned distance threshold, and above-mentioned directional loudspeaker is in and opens shape
During state, the directional loudspeaker for triggering above-mentioned intelligent terminal is closed, namely closes the directional loudspeaker of above-mentioned intelligent terminal.Work as step
101, which detect the distance between ad-hoc location and object on above-mentioned intelligent terminal, is not more than above-mentioned distance threshold, and above-mentioned fixed
When being closed to loudspeaker, the directional loudspeaker of above-mentioned intelligent terminal is kept to close, namely keep above-mentioned intelligent terminal
Directional loudspeaker be closed.
Optionally, during above-mentioned intelligent terminal exports audio under non-headset mode, if detecting above-mentioned intelligence
The distance between ad-hoc location and object in energy terminal trigger above-mentioned intelligent terminal in the case of being not more than above-mentioned distance threshold
Directional loudspeaker close, then the directional loudspeaker control method in the embodiment of the present invention also includes:Trigger above-mentioned intelligent terminal
Receiver open (namely by above-mentioned receiver export audio);Or, trigger the non-directional loudspeaker of above-mentioned intelligent terminal
Open (namely audio is exported by above-mentioned non-directional loudspeaker).Wherein, above-mentioned non-directional loudspeaker namely do not possess orientation pass
The ventional loudspeakers of multicast function.
Further, after step 101, if the distance between ad-hoc location on above-mentioned intelligent terminal and object be more than it is upper
Distance threshold is stated, then can trigger or keep the directional loudspeaker of above-mentioned intelligent terminal to open.Specifically, when step 101 is detected
The distance between ad-hoc location and object on to above-mentioned intelligent terminal are more than at above-mentioned distance threshold, and above-mentioned directional loudspeaker
When closed mode, the directional loudspeaker for triggering above-mentioned intelligent terminal is opened, namely is raised one's voice by the orientation of above-mentioned intelligent terminal
Device exports audio.When step 101 detect the distance between ad-hoc location on above-mentioned intelligent terminal and object be more than it is above-mentioned away from
From threshold value, and above-mentioned directional loudspeaker is when being in opening, keeps the directional loudspeaker of above-mentioned intelligent terminal to open, Ye Jibao
Hold and audio is exported by the directional loudspeaker of above-mentioned intelligent terminal.Certainly, in other embodiments, when on above-mentioned intelligent terminal
The distance between ad-hoc location and object are more than above-mentioned distance threshold, can also be not responding to any operation, or return performs step
Rapid 101, it is not construed as limiting herein.
It should be noted that the directional loudspeaker control method in the embodiment of the present invention can be controlled to fill by directional loudspeaker
Realization is put, the directional loudspeaker control device can be independent equipment, intelligent terminal (such as intelligent hand can also be integrated in
Machine, tablet personal computer, intelligent wearable device etc.) in, it is not construed as limiting herein.
It should be understood that the size of the sequence number of each step is not meant to the priority of execution sequence, each process in above-described embodiment
Execution sequence should determine that the implementation process without tackling the embodiment of the present invention constitutes any limit with its function and internal logic
It is fixed.
Therefore, by detecting the distance between the ad-hoc location on intelligent terminal and object in the embodiment of the present invention,
When the distance between the ad-hoc location and object are not more than default distance threshold, the orientation of the intelligent terminal is triggered or kept
Loudspeaker is closed.Based on the present invention program, user only need to be by object close to the ad-hoc location, you can close determining for the intelligent terminal
To loudspeaker, close above-mentioned orientation without operating intelligent terminal to enter corresponding set in the setting interface again behind interface and raise one's voice
Device, is effectively simplified the operation for closing directional loudspeaker.In addition, based on the present invention program, passing through the conjunction to above-mentioned ad-hoc location
Reason is set, and can realize that the automatic closing of directional loudspeaker (for example will be above-mentioned in the case where that need not open the scene of directional loudspeaker
Ad-hoc location is set as the close position of the receiver of above-mentioned intelligent terminal, then can be real when intelligent terminal is pressed close to ear by user
The automatic closing of existing directional loudspeaker), so as to reach the purpose for saving power consumption.
Embodiment two
The difference of the embodiment of the present invention and embodiment one is that the embodiment of the present invention can realize orientation under non-headset mode
Loudspeaker is opened and closed automatically.Specifically, referring to Fig. 2, directional loudspeaker control method bag in the embodiment of the present invention
Include:
Step 201, during intelligent terminal exports audio under non-headset mode, detect on above-mentioned intelligent terminal
Whether the distance between ad-hoc location and object are not more than default distance threshold;
In the embodiment of the present invention, above-mentioned non-headset mode refers to other audio output modes in addition to headset mode
(such as handset mode, speaker mode), above-mentioned headset mode refers to access earphone in above-mentioned intelligent terminal and by this
Earphone exports the pattern of audio.
Above-mentioned object can be each position (the finger, ear such as people) of live body, or can also be any thing
Body.Above-mentioned ad-hoc location namely predeterminated position, the ad-hoc location can be the close position of the receiver of intelligent terminal, Huo Zheye
Can be the other positions of intelligent terminal.Above-mentioned ad-hoc location, above-mentioned distance threshold can be set according to the actual requirements, this
Place is not construed as limiting.
In a kind of application scenarios, whether the ad-hoc location and the distance between object on above-mentioned detection intelligent terminal are little
Can be in default distance threshold:Based on the ultrasonic sensor for being preset in above-mentioned ad-hoc location, above-mentioned ad-hoc location is detected
Whether it is not more than above-mentioned distance threshold with the distance between object.Specifically, above-mentioned based on being preset in the super of above-mentioned ad-hoc location
Sonic sensor, detects whether no more than above-mentioned distance threshold includes for the distance between above-mentioned ad-hoc location and object:In triggering
State ultrasonic sensor transmitting ultrasonic signal;Receive the reflection wave signal of above-mentioned ultrasonic signal;By above-mentioned ultrasonic signal
Launch time and above-mentioned back wave both reception time time difference, be multiplied by the aerial spread speed of ultrasonic wave, obtain
To the distance between above-mentioned ad-hoc location and object;The distance is compared with above-mentioned distance threshold, it is above-mentioned specific to judge
Whether the distance between position and object are not more than above-mentioned distance threshold.
In another application scenarios, no whether the distance between ad-hoc location and object on above-mentioned detection intelligent terminal
Can be more than default distance threshold:Based on the range sensor for being preset in above-mentioned ad-hoc location, above-mentioned ad-hoc location is detected
Whether it is not more than above-mentioned distance threshold with the distance between object.Specifically, it is above-mentioned based on be preset in above-mentioned ad-hoc location away from
From sensor, detect whether no more than above-mentioned distance threshold includes for the distance between above-mentioned ad-hoc location and object:Triggering is above-mentioned
Range sensor emission detection signal (such as infrared signal);Receive the reflected signal of above-mentioned detectable signal;Based on above-mentioned reflection
The distance between the above-mentioned ad-hoc location of Strength co-mputation and object of signal;The distance is compared with above-mentioned distance threshold, with
Judge whether the distance between above-mentioned ad-hoc location and object are not more than above-mentioned distance threshold.
Certainly, can also be detected otherwise in the embodiment of the present invention ad-hoc location on intelligent terminal and object it
Between distance whether be not more than default distance threshold, do not limit herein.
If the distance between step 202, the ad-hoc location and object detected on above-mentioned intelligent terminal be not more than it is above-mentioned away from
From threshold value, then trigger or keep the directional loudspeaker of above-mentioned intelligent terminal to close;
It is not more than above-mentioned distance when step 201 detects the distance between ad-hoc location and object on above-mentioned intelligent terminal
During threshold value, trigger or keep the directional loudspeaker of above-mentioned intelligent terminal to close.Specifically, when step 201 detects above-mentioned intelligence
The distance between ad-hoc location and object in terminal are not more than above-mentioned distance threshold, and above-mentioned directional loudspeaker is in and opens shape
During state, the directional loudspeaker for triggering above-mentioned intelligent terminal is closed, namely closes the directional loudspeaker of above-mentioned intelligent terminal.Work as step
201, which detect the distance between ad-hoc location and object on above-mentioned intelligent terminal, is not more than above-mentioned distance threshold, and above-mentioned fixed
When being closed to loudspeaker, the directional loudspeaker of above-mentioned intelligent terminal is kept to close, namely keep above-mentioned intelligent terminal
Directional loudspeaker be closed.
Optionally, if the distance between ad-hoc location and object on above-mentioned intelligent terminal is detected be not more than it is above-mentioned away from
The directional loudspeaker that above-mentioned intelligent terminal is triggered in the case of from threshold value is closed, then the directional loudspeaker control in the embodiment of the present invention
Method processed also includes:The receiver for triggering above-mentioned intelligent terminal is opened (namely exporting audio by above-mentioned receiver);Or, touch
The non-directional loudspeaker for sending out intelligent terminal above-mentioned is opened (namely exporting audio by above-mentioned non-directional loudspeaker).Wherein, it is above-mentioned
Non-directional loudspeaker namely the ventional loudspeakers for not possessing direction propagation function.
If the distance between step 203, the ad-hoc location and object detected on above-mentioned intelligent terminal are more than above-mentioned distance
Threshold value, then trigger or keep the directional loudspeaker of above-mentioned intelligent terminal to open;
Specifically, when step 201 detect the distance between ad-hoc location on above-mentioned intelligent terminal and object be more than it is upper
State distance threshold, and above-mentioned directional loudspeaker, when being closed, the directional loudspeaker for triggering above-mentioned intelligent terminal is opened,
Audio is exported by the directional loudspeaker of above-mentioned intelligent terminal.When step 201 detects the certain bits on above-mentioned intelligent terminal
Put and be more than above-mentioned distance threshold with the distance between object, and above-mentioned directional loudspeaker is when being in opening, keeps above-mentioned intelligence
The directional loudspeaker of energy terminal is opened, namely keeps the directional loudspeaker for passing through above-mentioned intelligent terminal to export audio.
It should be noted that the directional loudspeaker control method in the embodiment of the present invention can be controlled to fill by directional loudspeaker
Realization is put, the directional loudspeaker control device can be independent equipment, intelligent terminal (such as intelligent hand can also be integrated in
Machine, tablet personal computer, intelligent wearable device etc.) in, it is not construed as limiting herein.
It should be understood that the size of the sequence number of each step is not meant to the priority of execution sequence, each process in above-described embodiment
Execution sequence should determine that the implementation process without tackling the embodiment of the present invention constitutes any limit with its function and internal logic
It is fixed.
Therefore, in the embodiment of the present invention during intelligent terminal exports audio under non-headset mode, pass through
The distance between ad-hoc location and object on detection intelligent terminal, when the distance between the ad-hoc location and object are not more than in advance
If distance threshold when, trigger or keep the directional loudspeaker of the intelligent terminal to close, when between the ad-hoc location and object
When distance is more than default distance threshold, trigger or keep the directional loudspeaker of the intelligent terminal to open.Based on the present invention program,
During intelligent terminal exports audio under non-headset mode, user only need to by object closer or far from the ad-hoc location,
The directional loudspeaker of the intelligent terminal can be turned off or on, without operating intelligent terminal to exist again after entering corresponding setting interface
Above-mentioned directional loudspeaker is turned off or in the setting interface, the operation closed and open directional loudspeaker is effectively simplified.Separately
Outside, based on the present invention program, by the reasonable setting to above-mentioned ad-hoc location, the field of directional loudspeaker need not can opened
Realize that above-mentioned ad-hoc location (is for example set as the neighbour of the receiver of above-mentioned intelligent terminal by the automatic closing of directional loudspeaker under scape
Near position, then can realize the automatic closing of directional loudspeaker when intelligent terminal is pressed close to ear by user), so as to reach saving work(
The purpose of consumption.
Embodiment three
The present invention provides a kind of directional loudspeaker control device, and the directional loudspeaker control device is applied to intelligent terminal.
As shown in figure 3, above-mentioned directional loudspeaker control device includes:
Detection unit 301, for detecting whether the ad-hoc location on the intelligent terminal and the distance between object are little
In default distance threshold;
Control unit 302, for being detected when detection unit 301 between ad-hoc location and object on the intelligent terminal
Distance when being not more than the distance threshold, trigger or keep the directional loudspeaker of the intelligent terminal to close.
Optionally, detection unit 301 specifically for:When the intelligent terminal exports the process of audio under non-headset mode
In, detect whether the distance between ad-hoc location and object on the intelligent terminal are not more than default distance threshold.
Optionally, control unit 302 is additionally operable to:When between the ad-hoc location and object on the intelligent terminal is detected
Distance be not more than the distance threshold in the case of when triggering the directional loudspeaker of the intelligent terminal and closing, trigger the intelligence
The non-directional loudspeaker that the intelligent terminal was opened or triggered to the receiver of energy terminal is opened.
Optionally, control unit 302 is additionally operable to:When detection unit 301 detects the ad-hoc location on the intelligent terminal
When being more than the distance threshold with the distance between object, trigger or keep the directional loudspeaker of the intelligent terminal to open.
Optionally, detection unit 301 specifically for:Based on the ultrasonic sensor for being preset in the ad-hoc location, detection
Whether the distance between the ad-hoc location and object are not more than the distance threshold.
It should be noted that the directional loudspeaker control device in the embodiment of the present invention can be independent equipment, also may be used
To be integrated in intelligent terminal (such as smart mobile phone, tablet personal computer, intelligent wearable device), it is not construed as limiting herein.
It should be understood that the switching device in the embodiment of the present invention can be used for realizing whole technologies in above method embodiment
Scheme, the function of its each functional module can be implemented according to the method in above method embodiment, and it was implemented
Journey can refer to the associated description in above-described embodiment, and here is omitted.
Therefore, by detecting the distance between the ad-hoc location on intelligent terminal and object in the embodiment of the present invention,
When the distance between the ad-hoc location and object are not more than default distance threshold, the orientation of the intelligent terminal is triggered or kept
Loudspeaker is closed.Based on the present invention program, user only need to be by object close to the ad-hoc location, you can close determining for the intelligent terminal
To loudspeaker, close above-mentioned orientation without operating intelligent terminal to enter corresponding set in the setting interface again behind interface and raise one's voice
Device, is effectively simplified the operation for closing directional loudspeaker.In addition, based on the present invention program, passing through the conjunction to above-mentioned ad-hoc location
Reason is set, and can realize that the automatic closing of directional loudspeaker (for example will be above-mentioned in the case where that need not open the scene of directional loudspeaker
Ad-hoc location is set as the close position of the receiver of above-mentioned intelligent terminal, then can be real when intelligent terminal is pressed close to ear by user
The automatic closing of existing directional loudspeaker), so as to reach the purpose for saving power consumption.
Example IV
Fig. 4 is the schematic diagram for the intelligent terminal that one embodiment of the invention is provided.As shown in figure 4, the intelligence of the embodiment is eventually
End 4 includes:Processor 40, memory 41 and it is stored in the computer program that can be run in memory 41 and on processor 40
42, such as directional loudspeaker control program.Processor 40 is realized in each above-mentioned embodiment of the method when performing computer program 42
Directional loudspeaker control method, such as step 201~203 shown in the step 101 shown in Fig. 1 and 102, Fig. 2.Or, meter
Calculation machine program 42 can be divided into one or more module/units, and one or more of module/units, which are stored in, to be deposited
In reservoir 41, and performed by processor 40, to complete the present invention.One or more of module/units can be completed
The series of computation machine programmed instruction section of specific function, the instruction segment is used to describe computer program 42 in intelligent terminal 4
Implementation procedure.For example, computer program 42 can be divided into detection unit 301 and control unit 302 as shown in Figure 3, inspection
The function of survey unit 301 and control unit 302 is referred to the description in embodiment illustrated in fig. 3, and here is omitted.
Intelligent terminal 4 may include, but be not limited only to processor 40, memory 41.It will be understood by those skilled in the art that figure
4 be only the example of intelligent terminal 4, does not constitute the restriction to intelligent terminal 4, can be included than illustrating more or less portions
Part, either combines some parts or different parts, and such as intelligent terminal 4 can also include input-output equipment, network and connect
Enter equipment, bus etc..
Alleged processor 40 can be CPU (Central Processing Unit, CPU), can also be
Other general processors, digital signal processor (Digital Signal Processor, DSP), application specific integrated circuit
(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 etc..General processor can be microprocessor or the processor can also be any conventional processor
Deng.
The memory 41 can be the internal storage unit of intelligent terminal 4, the hard disk or internal memory of such as intelligent terminal 4.
The memory 41 can also be the External memory equipment of intelligent terminal 4, such as the plug-in type hard disk being equipped with intelligent terminal 4,
Intelligent memory card (Smart Media Card, SMC), secure digital (Secure Digital, SD) card, flash card (Flash
Card) etc..Further, the memory 41 can also both including intelligent terminal 4 internal storage unit or deposited including outside
Store up equipment.Memory 41 is used to store other programs and data needed for the computer program and intelligent terminal 4.Memory
41 can be also used for temporarily storing the data that has exported or will export.
It is apparent to those skilled in the art that, for convenience of description and succinctly, only with above-mentioned each work(
Energy unit, the division progress of module are for example, in practical application, as needed can distribute above-mentioned functions by different
Functional unit, module are completed, i.e., the internal structure of described device is divided into different functional unit or module, more than completion
The all or part of function of description.Each functional unit, module in embodiment can be integrated in a processing unit, also may be used
To be that unit is individually physically present, can also two or more units it is integrated in a unit, it is above-mentioned integrated
Unit can both be realized in the form of hardware, it would however also be possible to employ the form of SFU software functional unit is realized.In addition, each function list
Member, the specific name of module are also only to facilitate mutually differentiation, is not limited to the protection domain of the application.Said system
The specific work process of middle unit, module, may be referred to the corresponding process in preceding method embodiment, will not be repeated here.
In the above-described embodiments, the description to each embodiment all emphasizes particularly on different fields, without detailed description or note in some embodiment
The part of load, may refer to the associated description of other embodiments.
Those of ordinary skill in the art are it is to be appreciated that the list of each example described with reference to the embodiments described herein
Member and algorithm steps, can be realized with the combination of electronic hardware or computer software and electronic hardware.These functions are actually
Performed with hardware or software mode, depending on the application-specific and design constraint of technical scheme.Professional and technical personnel
Described function can be realized using distinct methods to each specific application, but this realization is it is not considered that exceed
The scope of the present invention.
, can be with embodiment provided by the present invention, it should be understood that disclosed device/intelligent terminal and method
Realize by another way.For example, device described above/intelligent terminal embodiment is only schematical, for example, institute
The division of module or unit is stated, only a kind of division of logic function there can be other dividing mode, for example when actually realizing
Multiple units or component can combine or be desirably integrated into another system, or some features can be ignored, or not perform.Separately
A bit, shown or discussed coupling or direct-coupling or communication connection each other can be by some interfaces, device
Or INDIRECT COUPLING or the communication connection of unit, can be electrical, machinery or other forms.
The unit illustrated as separating component can be or may not be it is physically separate, it is aobvious as unit
The part shown can be or may not be physical location, you can with positioned at a place, or can also be distributed to multiple
On NE.Some or all of unit therein can be selected to realize the mesh of this embodiment scheme according to the actual needs
's.
In addition, each functional unit in each embodiment of the invention can be integrated in a processing unit, can also
That unit is individually physically present, can also two or more units it is integrated in a unit.Above-mentioned integrated list
Member can both be realized in the form of hardware, it would however also be possible to employ the form of SFU software functional unit is realized.
If the integrated module/unit realized using in the form of SFU software functional unit and as independent production marketing or
In use, can be stored in a computer read/write memory medium.Understood based on such, the present invention realizes above-mentioned implementation
All or part of flow in example method, can also instruct the hardware of correlation to complete, described meter by computer program
Calculation machine program can be stored in a computer-readable recording medium, and the computer program can be achieved when being executed by processor
The step of stating each embodiment of the method.Wherein, the computer program includes computer program code, the computer program generation
Code can be source code form, object identification code form, executable file or some intermediate forms etc..The computer-readable medium
It can include:Any entity or device, recording medium, USB flash disk, mobile hard disk, magnetic of the computer program code can be carried
Dish, CD, computer storage, read-only storage (ROM, Read-Only Memory), random access memory (RAM,
Random Access Memory), electric carrier signal, telecommunication signal and software distribution medium etc..It should be noted that described
The content that computer-readable medium is included can carry out appropriate increasing according to legislation in jurisdiction and the requirement of patent practice
Subtract, such as in some jurisdictions, according to legislation and patent practice, computer-readable medium include be electric carrier signal and
Telecommunication signal.
Embodiment described above is merely illustrative of the technical solution of the present invention, rather than its limitations;Although with reference to foregoing reality
Example is applied the present invention is described in detail, it will be understood by those within the art that:It still can be to foregoing each
Technical scheme described in embodiment is modified, or carries out equivalent substitution to which part technical characteristic;And these are changed
Or replace, the essence of appropriate technical solution is departed from the spirit and scope of various embodiments of the present invention technical scheme, all should
Within protection scope of the present invention.
Claims (10)
1. a kind of directional loudspeaker control method, applied to intelligent terminal, it is characterised in that the directional loudspeaker controlling party
Method, including:
Detect whether the distance between ad-hoc location and object on the intelligent terminal are not more than default distance threshold;
If detecting the distance between ad-hoc location and object on the intelligent terminal is not more than the distance threshold, trigger
Or keep the directional loudspeaker of the intelligent terminal to close.
2. directional loudspeaker control method according to claim 1, it is characterised in that on the detection intelligent terminal
The distance between ad-hoc location and object whether be not more than default distance threshold, be:
During the intelligent terminal exports audio under non-headset mode, the ad-hoc location on the intelligent terminal is detected
Whether it is not more than default distance threshold with the distance between object.
3. directional loudspeaker control method according to claim 2, it is characterised in that if detecting the intelligent terminal
On the distance between ad-hoc location and object be not more than the distance threshold in the case of trigger the orientation of the intelligent terminal
Loudspeaker is closed, then the directional loudspeaker control method also includes:
The receiver for triggering the intelligent terminal is opened;
Or, the non-directional loudspeaker for triggering the intelligent terminal is opened.
4. directional loudspeaker control method according to claim 2, it is characterised in that on the detection intelligent terminal
The distance between ad-hoc location and object whether be not more than default distance threshold, include afterwards:
If detecting the distance between ad-hoc location on the intelligent terminal and object is more than the distance threshold, triggering or
The directional loudspeaker of the intelligent terminal is kept to open.
5. the directional loudspeaker control method according to any one of Claims 1-4, it is characterised in that described in the detection
Whether the distance between ad-hoc location and object on intelligent terminal are not more than default distance threshold, are:
Based on the ultrasonic sensor for being preset in the ad-hoc location, whether the distance between the ad-hoc location and object are detected
No more than described distance threshold.
6. a kind of directional loudspeaker control device, applied to intelligent terminal, it is characterised in that the directional loudspeaker control device
Including:
Detection unit, for detecting whether the ad-hoc location on the intelligent terminal and the distance between object are no more than default
Distance threshold;
Control unit, for detecting the distance between ad-hoc location and object on the intelligent terminal when the detection unit no
During more than default distance threshold, trigger or keep the directional loudspeaker of the intelligent terminal to close.
7. directional loudspeaker control device according to claim 6, it is characterised in that the detection unit specifically for:
During the intelligent terminal exports audio under non-headset mode, the ad-hoc location and thing on the intelligent terminal are detected
Whether the distance between body is not more than default distance threshold.
8. directional loudspeaker control device according to claim 7, it is characterised in that described control unit is additionally operable to:When
When the detection unit detects the distance between ad-hoc location and object on the intelligent terminal more than the distance threshold,
Trigger or keep the directional loudspeaker of the intelligent terminal to open.
9. a kind of intelligent terminal, including memory, processor and it is stored on the memory and can transports on the processor
Capable directional loudspeaker control program, it is characterised in that realize that right such as will described in the computing device during computer program
Seek the directional loudspeaker control method described in 1 to 5 any one.
10. a kind of computer-readable recording medium, the computer-readable recording medium storage has directional loudspeaker control program,
Characterized in that, when the directional loudspeaker control program is by least one computing device, realizing as appointed in claim 1-5
Directional loudspeaker control method described in one.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710378188.7A CN106973349A (en) | 2017-05-24 | 2017-05-24 | Directional loudspeaker control method, directional loudspeaker control device and intelligent terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710378188.7A CN106973349A (en) | 2017-05-24 | 2017-05-24 | Directional loudspeaker control method, directional loudspeaker control device and intelligent terminal |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106973349A true CN106973349A (en) | 2017-07-21 |
Family
ID=59327183
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710378188.7A Pending CN106973349A (en) | 2017-05-24 | 2017-05-24 | Directional loudspeaker control method, directional loudspeaker control device and intelligent terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106973349A (en) |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107770880A (en) * | 2017-10-23 | 2018-03-06 | 上海摩软通讯技术有限公司 | ANTENNAUDIO transcriber and its control method and system |
CN107885394A (en) * | 2017-11-08 | 2018-04-06 | 广东小天才科技有限公司 | Terminal equipment control method based on ultrasonic waves and terminal equipment |
CN108196819A (en) * | 2018-01-30 | 2018-06-22 | 广东小天才科技有限公司 | Working mode switching method and device applied to terminal and electronic equipment |
CN109639908A (en) * | 2019-01-28 | 2019-04-16 | 上海与德通讯技术有限公司 | A kind of bluetooth headset, anti-eavesdrop method, apparatus, equipment and medium |
CN110839196A (en) * | 2019-10-28 | 2020-02-25 | 华为终端有限公司 | Electronic equipment and playing control method thereof |
CN111629304A (en) * | 2020-05-15 | 2020-09-04 | 维沃移动通信有限公司 | Loudspeaker control method and device and electronic equipment |
CN111683171A (en) * | 2020-05-28 | 2020-09-18 | 维沃移动通信有限公司 | Audio output method and electronic equipment |
CN112291689A (en) * | 2020-11-27 | 2021-01-29 | 歌尔光学科技有限公司 | Sound playing method, wearable device and readable storage medium |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1774871A (en) * | 2003-04-15 | 2006-05-17 | 专利创投公司 | Directional speakers |
CN101111095A (en) * | 2007-07-12 | 2008-01-23 | 电子科技大学 | Sound frequency directional loudspeaker system based on consumer electronic equipments |
CN103106060A (en) * | 2013-02-04 | 2013-05-15 | 苏州三星电子电脑有限公司 | Computer volume adjustment method |
US20160323672A1 (en) * | 2015-04-30 | 2016-11-03 | International Business Machines Corporation | Multi-channel speaker output orientation detection |
CN205793240U (en) * | 2016-05-25 | 2016-12-07 | 深圳凯利通通信设备有限公司 | A kind of smart mobile phone with sound directivity |
-
2017
- 2017-05-24 CN CN201710378188.7A patent/CN106973349A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1774871A (en) * | 2003-04-15 | 2006-05-17 | 专利创投公司 | Directional speakers |
CN101111095A (en) * | 2007-07-12 | 2008-01-23 | 电子科技大学 | Sound frequency directional loudspeaker system based on consumer electronic equipments |
CN103106060A (en) * | 2013-02-04 | 2013-05-15 | 苏州三星电子电脑有限公司 | Computer volume adjustment method |
US20160323672A1 (en) * | 2015-04-30 | 2016-11-03 | International Business Machines Corporation | Multi-channel speaker output orientation detection |
CN205793240U (en) * | 2016-05-25 | 2016-12-07 | 深圳凯利通通信设备有限公司 | A kind of smart mobile phone with sound directivity |
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107770880A (en) * | 2017-10-23 | 2018-03-06 | 上海摩软通讯技术有限公司 | ANTENNAUDIO transcriber and its control method and system |
CN107885394A (en) * | 2017-11-08 | 2018-04-06 | 广东小天才科技有限公司 | Terminal equipment control method based on ultrasonic waves and terminal equipment |
CN108196819A (en) * | 2018-01-30 | 2018-06-22 | 广东小天才科技有限公司 | Working mode switching method and device applied to terminal and electronic equipment |
CN108196819B (en) * | 2018-01-30 | 2020-06-05 | 广东小天才科技有限公司 | Working mode switching method and device applied to terminal and electronic equipment |
CN109639908A (en) * | 2019-01-28 | 2019-04-16 | 上海与德通讯技术有限公司 | A kind of bluetooth headset, anti-eavesdrop method, apparatus, equipment and medium |
CN110839196A (en) * | 2019-10-28 | 2020-02-25 | 华为终端有限公司 | Electronic equipment and playing control method thereof |
CN111629304A (en) * | 2020-05-15 | 2020-09-04 | 维沃移动通信有限公司 | Loudspeaker control method and device and electronic equipment |
CN111683171A (en) * | 2020-05-28 | 2020-09-18 | 维沃移动通信有限公司 | Audio output method and electronic equipment |
WO2021238844A1 (en) * | 2020-05-28 | 2021-12-02 | 维沃移动通信有限公司 | Audio output method and electronic device |
CN112291689A (en) * | 2020-11-27 | 2021-01-29 | 歌尔光学科技有限公司 | Sound playing method, wearable device and readable storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106973349A (en) | Directional loudspeaker control method, directional loudspeaker control device and intelligent terminal | |
CN112992169B (en) | Voice signal acquisition method and device, electronic equipment and storage medium | |
CN106899320B (en) | A kind of method, system, mobile terminal and storage device reducing SAR value | |
CN108702415A (en) | A kind of apparatus control method and equipment | |
KR20130017140A (en) | Mobile terminal and control method therof | |
CN111431634B (en) | Radio frequency power control circuit | |
CN105657656B (en) | A kind of transmission power adjustment method and user equipment | |
US10582290B2 (en) | Earpiece with tap functionality | |
CN106951521A (en) | The reading/writing method of journal file, apparatus and system | |
CN108196458A (en) | Intelligent home equipment control method, device and terminal device | |
CN107395883A (en) | Voice signal adjusting method, communication terminal and computer-readable recording medium | |
CN108595145A (en) | Voice playing control method and device of wearable device and wearable device | |
CN105744609B (en) | Improve the method and device of mobile terminal power consumption | |
CN106815025A (en) | Sensing data report method and device | |
CN107871015A (en) | Daily record data processing method and processing device, terminal and readable storage medium storing program for executing | |
CN107172313A (en) | Improve method, device, mobile terminal and the storage medium of hand-free call quality | |
CN107820684A (en) | Channel Detection, method for sending information, device and communication equipment | |
CN109858237A (en) | Audio data collecting method, apparatus, terminal and storage medium | |
CN105824509A (en) | Method and device for arranging icons | |
CN106790936B (en) | Call mode switching method and wearable device | |
CN110505547A (en) | A kind of earphone wearing state detection method and earphone | |
CN106951145A (en) | Electricity based reminding method and mobile terminal during charging | |
CN106788561A (en) | Radio circuit control method, device and terminal device | |
CN105929960A (en) | Fingerprint module based volume control method and mobile terminal | |
CN107798821A (en) | Safety prompt function method, apparatus, mobile terminal and readable storage medium storing program for executing |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20170721 |
|
RJ01 | Rejection of invention patent application after publication |