Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation description, it is clear that described embodiments are some of the embodiments of the present invention, instead of all the embodiments.Based on this hair
Embodiment in bright, every other implementation obtained by those of ordinary skill in the art without making creative efforts
Example, shall fall within the protection scope of the present invention.
As shown in Figure 1, the audio play control method of the embodiment of the present invention, is applied to terminal device, the terminal device
Including supersonic signal generator and multiple ultrasonic transducers that different location is arranged in;
The described method includes:
Step 101, in the case where detecting that the audio signal of loudspeaker of the terminal device is to be output, described in triggering
Supersonic signal generator generates multiple ultrasonic electric signals.
In this step, detect loudspeaker audio signal it is to be output in the case where, supersonic signal generator can be triggered
Multiple ultrasonic electric signals are generated, to change the medium on acoustic transmission path based on ultrasonic electric signal generation ultrasonic wave.Its
In, it is that terminal device is known by monitoring the working condition of loudspeaker that loudspeaker needs to export with the presence or absence of audio signal,
And audio signal can be also possible to the audio-video document derived from network derived from the audio-video document of storage local.
Step 102, the multiple ultrasonic electric signal is inputted into the multiple ultrasonic transducer respectively, makes the multiple ultrasound
Energy converter generates ultrasonic wave respectively.
In the embodiment, the position of multiple ultrasonic transducers is preset, so that its ultrasonic wave generated can reach
To desired effect.In this step, step 101 can be triggered to multiple ultrasonic electric signals that supersonic signal generator generates and inputted respectively
Into corresponding ultrasonic transducer, ultrasonic transducer then can generate ultrasonic wave based on the ultrasonic electric signal of input.Wherein,
Ultrasonic electric signal is one-to-one with ultrasonic transducer.
Step 103, it when the multiple ultrasonic transducer generates ultrasonic wave respectively, controls the loudspeaker and exports the sound
Frequency signal.
In this step, terminal device is controlled when ultrasonic transducer generates ultrasonic wave based on the ultrasonic electric signal of input
Loudspeaker output audio signal completes the broadcasting of audio signal.
In this way, terminal device can be directed to the broadcasting of audio by step 101- step 103, pass through triggering ultrasound letter
Number generator generates multiple ultrasonic electric signals, then multiple ultrasonic electric signals are inputted to multiple ultrasounds that different location is arranged in respectively
Energy converter makes multiple ultrasonic transducers generate ultrasonic wave respectively, and when multiple ultrasonic transducers generate ultrasonic wave respectively, it can control
Loudspeaker output audio signal processed.In this way, the air agitation because of ultrasonic wave to ambient enviroment, will cause the atmospheric density in environment
Different degrees of variation occurs, finally make sound after the change in the environment of occur spread speed and sound quality variation, reach
Specific sound result of broadcast.
Moreover, because the audio play control method of the embodiment of the present invention, does not need to carry out audio signal for audio
More parsings, so, audio signal is unlikely to the case where being distorted in excessive resolving, ensure that audio signal
High quality.
Certainly, in this embodiment, it is contemplated that Yao Liyong ultrasonic directional disturbs air (direction is user's ear region),
The ultrasonic transducer of different location generates the ultrasonic wave of each orientation different frequency, forms different acoustic fields.And to pass through different frequency
Ultrasonic wave reaches desired sound effect, then needs for multiple ultrasonic transducers to be arranged in corresponding different location.
Optionally, shield accounting to be promoted, the position of ultrasonic transducer is arranged at the side or the back side of terminal device more, needs
It is configured according to actual spatial distribution.
It should be appreciated that in the embodiment, using the loudspeaker of existing terminal device, except the ultrasound of setting terminal equipment
Outside the position of energy converter, it is also based on the frequency of ultrasonic electric signal, the ultrasonic electric signal of different frequency is inputted accordingly respectively
The ultrasonic transducer of position, control ultrasonic transducer generate the ultrasonic wave of each orientation different frequency.Ultrasonic telecommunications in terminal device
Number the corresponding relationship of target frequency and multiple ultrasonic transducers set, therefore, optionally, in step 101, trigger described super
Sound signal generator generates multiple ultrasonic electric signals, comprising:
According to the target frequency of ultrasonic electric signal and the corresponding relationship of multiple ultrasonic transducers, the ultrasonic signal hair is triggered
Raw device generates the ultrasonic electric signal of multiple and different frequencies, the ultrasonic electric signal of the corresponding frequency of a ultrasonic transducer.
Here, it will be able to which, according to the target frequency of ultrasonic electric signal and the corresponding relationship of multiple ultrasonic transducers, triggering is super
Sound signal generator generates the ultrasonic electric signal of multiple and different frequencies, then will ultrasonic telecommunications corresponding with each ultrasonic transducer
Number it is input to ultrasonic transducer, so that ultrasonic transducer generates the ultrasonic wave of different frequency, air set is disturbed to reach
It is dynamic.
In general, the target frequency of the ultrasonic electric signal of each ultrasonic transducer input is preset by system.
However, it is contemplated that also the selection of offer user progress sound effect mode, sound effect mode include but is not limited to when audio file plays
Stereo, monophonic, allusion, romance etc..And corresponding different sound effect modes, to realize effective ultrasonic wave disturbance, same ultrasound
The frequency of the ultrasonic electric signal of energy converter input can also have differences, and have between sound effect mode and ultrasonic signal frequency certain
Mapping relations, for example, ultrasonic transducer A, B and C of terminal device, in stereo mode, ultrasonic transducer A, B and C's is super
Acoustoelectric signal frequency is followed successively by P1, P2 and P3;In monophonic mode, the ultrasonic signal frequency of ultrasonic transducer A, B and C are successively
For P1 ', P2 ' and P3 '.
So optionally, according to the target frequency of ultrasonic electric signal and the corresponding relationship of multiple ultrasonic transducers, triggering institute
Supersonic signal generator is stated, before the ultrasonic electric signal for generating multiple and different frequencies, further includes:
Obtain the target sound effect mode of the audio signal;
According to the map information between sound effect mode and ultrasonic signal frequency, determination is corresponding with the target sound effect mode
Target frequency.
In this way, the target sound effect mode of the audio signal will be selected to obtain first by user, later according to sound effect mode and
Map information between ultrasonic signal frequency determines target frequency corresponding with the target sound effect mode.Certainly, due to end
End equipment includes multiple ultrasonic transducers, and a ultrasonic transducer corresponds to the ultrasonic electric signal of a frequency, a sound effect mode
The ultrasonic signal frequency of mapping are as follows: a set of frequencies of corresponding multiple ultrasonic transducers.Mesh is being determined based on target sound effect mode
It, then can be further according to the target frequency of ultrasonic electric signal and the corresponding relationship of multiple ultrasonic transducers, triggering after marking frequency
Supersonic signal generator generates the ultrasonic electric signal of multiple and different frequencies, therefore multiple ultrasonic transducers are based respectively on and respectively input
The audio that the ultrasonic wave that ultrasonic electric signal generates can more be applicable in target sound effect mode to the disturbance of air plays, and obtains preferably
Sound effect.
Wherein, user plays audio file using the audio player on terminal device, and at this moment, user can pass through triggering
The preset sound effect mode setting selection target sound effect mode of audio player, as an example, sound effect mode setting can be directly
Sound effect schema entry is clicked, can be voice input target sound effect mode etc..In embodiments of the present invention, audio may include flac
The audio or other following by exploitation of format, ape format, wav format, mp3 format, aac format, ogg format, wma format
Format audio.
Later, optionally, in step 102, the multiple ultrasonic electric signal is inputted into the multiple ultrasonic transducer respectively,
Include:
The ultrasonic electric signal of different frequency is input to the ultrasonic transducer of corresponding position.
Here, supersonic signal generator produces multiple ultrasonic electric signals, in order to guarantee that it is pre- that each ultrasonic transducer generates
The ultrasonic wave of phase, the ultrasonic electric signal of different frequency will enter into the ultrasonic transducer of corresponding position.It is by above content it is known that super
There are corresponding relationships with multiple ultrasonic transducers for the frequency of acoustoelectric signal, and therefore, terminal device is generated according to the corresponding relationship
After the ultrasonic electric signal for multiple frequencies that multiple ultrasonic transducers need, additionally it is possible to by the corresponding relationship, by the super of multiple frequencies
Acoustoelectric signal is input to corresponding ultrasonic transducer, guarantees that ultrasonic transducer is based on suitable ultrasonic electric signal and generates expectation
Ultrasonic wave.
In addition, in this embodiment, optionally, the ultrasonic wave that the multiple ultrasonic transducer generates respectively has default side
To.
Here, the ultrasonic transducer of different location can be configured, the ultrasonic wave direction for generating it has preset
Direction, thus, multiple ultrasonic wave collective effects can Directional perturbation air, such as loudspeaker play sound the direction of propagation on,
Avoid non-productive work and the wasting of resources of ultrasonic wave.
Wherein, ultrasonic transducer can be piezoelectric ultrasonic transducer.
In a particular application, using the terminal device of the audio play control method of the embodiment of the present invention, as shown in Fig. 2,
Whether terminal device system detection has audio signal to be output, if so, the stereo-circulation effect based on user's selection, triggering ultrasound
Signal generator generates the ultrasonic electric signal of multiple and different frequencies, and multiple ultrasonic electric signals are respectively corresponded input and are arranged in difference
Multiple piezoelectric ultrasonic transducers of position, make multiple ultrasonic transducers generate different frequency ultrasonic wave respectively, and ultrasonic wave disturbance is empty
Gas, so that atmospheric density is different at different parts, and when multiple ultrasonic transducers generate ultrasonic wave respectively, loudspeaker can be controlled
Output audio signal, audio signal spread speed and sound quality in different densities air are also changed, and solid is finally reached
Surrounding effect.
In conclusion the audio play control method of the embodiment of the present invention, can be directed to the broadcasting of audio, it is super by triggering
Sound signal generator generates multiple ultrasonic electric signals, then multiple ultrasonic electric signals is inputted respectively, the multiple of different location are arranged in
Ultrasonic transducer makes multiple ultrasonic transducers generate ultrasonic wave respectively, and when multiple ultrasonic transducers generate ultrasonic wave respectively,
Loudspeaker output audio signal can be controlled.In this way, the air agitation because of ultrasonic wave to ambient enviroment, will cause the air in environment
Different degrees of variation occurs for density, finally make sound after the change in the environment of occur spread speed and sound quality variation,
Reach specific sound result of broadcast.
Fig. 3 is the block diagram of the terminal device of one embodiment of the invention.Terminal device 300 shown in Fig. 3 includes ultrasound letter
Number generator and multiple ultrasonic transducers that different location is arranged in, terminal device 300 further include that trigger module 301, first is controlled
Molding block 302 and the second control module 303.
Trigger module 301, in the case where detecting that the audio signal of loudspeaker of the terminal device is to be output,
It triggers the supersonic signal generator and generates multiple ultrasonic electric signals;
First control module 302 makes for the multiple ultrasonic electric signal to be inputted the multiple ultrasonic transducer respectively
The multiple ultrasonic transducer generates ultrasonic wave respectively;
Second control module 303, for controlling the loudspeaking when the multiple ultrasonic transducer generates ultrasonic wave respectively
Device exports the audio signal.
Optionally, the trigger module 301 is also used to:
According to the target frequency of ultrasonic electric signal and the corresponding relationship of multiple ultrasonic transducers, the ultrasonic signal hair is triggered
Raw device generates the ultrasonic electric signal of multiple and different frequencies, the ultrasonic electric signal of the corresponding frequency of a ultrasonic transducer.
Optionally, on the basis of Fig. 3, as shown in figure 4, the terminal device 300 further include:
Module 304 is obtained, for obtaining the target sound effect mode of the audio signal;
Determining module 305, for according to the map information between sound effect mode and ultrasonic signal frequency, it is determining with it is described
The corresponding target frequency of target sound effect mode.
Optionally, first control module 302 is also used to:
The ultrasonic electric signal of different frequency is input to the ultrasonic transducer of corresponding position.
Optionally, the ultrasonic wave that the multiple ultrasonic transducer generates respectively has preset direction.
It should be noted that the terminal device is the terminal device using above-mentioned audio play control method, the above method
The implementation of embodiment is suitable for the terminal device, can also reach identical effect.
Terminal device 300 can be realized each process that terminal device is realized in the embodiment of the method for Fig. 1, Fig. 2, to avoid
It repeats, which is not described herein again.The terminal device of the embodiment of the present invention can be directed to the broadcasting of audio, by triggering ultrasonic signal
Generator generates multiple ultrasonic electric signals, then multiple ultrasonic electric signals are inputted respectively and multiple ultrasounds of different location are arranged in change
Energy device, makes multiple ultrasonic transducers generate ultrasonic wave respectively, and when multiple ultrasonic transducers generate ultrasonic wave respectively, it can control
Loudspeaker output audio signal.In this way, the air agitation because of ultrasonic wave to ambient enviroment, will cause the atmospheric density hair in environment
Raw different degrees of variation, finally make sound after the change in the environment of the variation of spread speed and sound quality occurs, reach special
Fixed sound result of broadcast.
A kind of hardware structural diagram of Fig. 5 terminal device of each embodiment to realize the present invention, the terminal device 500
Including but not limited to: radio frequency unit 501, audio output unit 503, input unit 504, sensor 505, is shown network module 502
Show the components such as unit 506, user input unit 507, interface unit 508, memory 509, processor 510 and power supply 511.
The terminal device 500 further includes supersonic signal generator and multiple ultrasonic transducers that different location is arranged in, and is not shown in the figure.
It will be understood by those skilled in the art that terminal device structure shown in Fig. 5 does not constitute the restriction to terminal device, terminal is set
Standby may include perhaps combining certain components or different component layouts than illustrating more or fewer components.In the present invention
In embodiment, terminal device includes but is not limited to mobile phone, tablet computer, laptop, palm PC, car-mounted terminal, can wear
Wear equipment and pedometer etc..
Wherein, processor 510, the situation to be output for the audio signal in the loudspeaker for detecting the terminal device
Under, it triggers the supersonic signal generator and generates multiple ultrasonic electric signals;Described in the multiple ultrasonic electric signal is inputted respectively
Multiple ultrasonic transducers make the multiple ultrasonic transducer generate ultrasonic wave respectively;It is produced respectively in the multiple ultrasonic transducer
When raw ultrasonic wave, controls the loudspeaker and export the audio signal.
As it can be seen that the terminal device can be directed to the broadcasting of audio, multiple ultrasounds are generated by triggering supersonic signal generator
Electric signal, then multiple ultrasonic electric signals are inputted to multiple ultrasonic transducers that different location is arranged in respectively, change multiple ultrasounds
Energy device generates ultrasonic wave respectively, and when multiple ultrasonic transducers generate ultrasonic wave respectively, loudspeaker output audio letter can be controlled
Number.In this way, the air agitation because of ultrasonic wave to ambient enviroment, will cause the atmospheric density in environment and different degrees of change occurs
Change, finally make sound after the change in the environment of the variation of spread speed and sound quality occurs, reach specific sound and play effect
Fruit.
It should be understood that the embodiment of the present invention in, radio frequency unit 501 can be used for receiving and sending messages or communication process in, signal
Send and receive, specifically, by from base station downlink data receive after, to processor 510 handle;In addition, by uplink
Data are sent to base station.In general, radio frequency unit 501 includes but is not limited to antenna, at least one amplifier, transceiver, coupling
Device, low-noise amplifier, duplexer etc..In addition, radio frequency unit 501 can also by wireless communication system and network and other set
Standby communication.
Terminal device provides wireless broadband internet by network module 502 for user and accesses, and such as user is helped to receive
It sends e-mails, browse webpage and access streaming video etc..
Audio output unit 503 can be received by radio frequency unit 501 or network module 502 or in memory 509
The audio data of storage is converted into audio signal and exports to be sound.Moreover, audio output unit 503 can also provide and end
The relevant audio output of specific function that end equipment 500 executes is (for example, call signal receives sound, message sink sound etc.
Deng).Audio output unit 503 includes loudspeaker, buzzer and receiver etc..
Input unit 504 is for receiving audio or video signal.Input unit 504 may include graphics processor
(Graphics Processing Unit, GPU) 5041 and microphone 5042, graphics processor 5041 is in video acquisition mode
Or the image data of the static images or video obtained in image capture mode by image capture apparatus (such as camera) carries out
Reason.Treated, and picture frame may be displayed on display unit 506.Through graphics processor 5041, treated that picture frame can be deposited
Storage is sent in memory 509 (or other storage mediums) or via radio frequency unit 501 or network module 502.Mike
Wind 5042 can receive sound, and can be audio data by such acoustic processing.Treated audio data can be
The format output that mobile communication base station can be sent to via radio frequency unit 501 is converted in the case where telephone calling model.
Terminal device 500 further includes at least one sensor 505, such as optical sensor, motion sensor and other biographies
Sensor.Specifically, optical sensor includes ambient light sensor and proximity sensor, wherein ambient light sensor can be according to environment
The light and shade of light adjusts the brightness of display panel 5061, and proximity sensor can close when terminal device 500 is moved in one's ear
Display panel 5061 and/or backlight.As a kind of motion sensor, accelerometer sensor can detect in all directions (general
For three axis) size of acceleration, it can detect that size and the direction of gravity when static, can be used to identify terminal device posture (ratio
Such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap);It passes
Sensor 505 can also include fingerprint sensor, pressure sensor, iris sensor, molecule sensor, gyroscope, barometer, wet
Meter, thermometer, infrared sensor etc. are spent, details are not described herein.
Display unit 506 is for showing information input by user or being supplied to the information of user.Display unit 506 can wrap
Display panel 5061 is included, liquid crystal display (Liquid Crystal Display, LCD), Organic Light Emitting Diode can be used
Forms such as (Organic Light-Emitting Diode, OLED) configure display panel 5061.
User input unit 507 can be used for receiving the number or character information of input, and generate the use with terminal device
Family setting and the related key signals input of function control.Specifically, user input unit 507 include touch panel 5071 and
Other input equipments 5072.Touch panel 5071, also referred to as touch screen collect the touch operation of user on it or nearby
(for example user uses any suitable objects or attachment such as finger, stylus on touch panel 5071 or in touch panel 5071
Neighbouring operation).Touch panel 5071 may include both touch detecting apparatus and touch controller.Wherein, touch detection
Device detects the touch orientation of user, and detects touch operation bring signal, transmits a signal to touch controller;Touch control
Device processed receives touch information from touch detecting apparatus, and is converted into contact coordinate, then gives processor 510, receiving area
It manages the order that device 510 is sent and is executed.Furthermore, it is possible to more using resistance-type, condenser type, infrared ray and surface acoustic wave etc.
Seed type realizes touch panel 5071.In addition to touch panel 5071, user input unit 507 can also include other input equipments
5072.Specifically, other input equipments 5072 can include but is not limited to physical keyboard, function key (such as volume control button,
Switch key etc.), trace ball, mouse, operating stick, details are not described herein.
Further, touch panel 5071 can be covered on display panel 5061, when touch panel 5071 is detected at it
On or near touch operation after, send processor 510 to determine the type of touch event, be followed by subsequent processing device 510 according to touching
The type for touching event provides corresponding visual output on display panel 5061.Although in Fig. 5, touch panel 5071 and display
Panel 5061 is the function that outputs and inputs of realizing terminal device as two independent components, but in some embodiments
In, can be integrated by touch panel 5071 and display panel 5061 and realize the function that outputs and inputs of terminal device, it is specific this
Place is without limitation.
Interface unit 508 is the interface that external device (ED) is connect with terminal device 500.For example, external device (ED) may include having
Line or wireless head-band earphone port, external power supply (or battery charger) port, wired or wireless data port, storage card end
Mouth, port, the port audio input/output (I/O), video i/o port, earphone end for connecting the device with identification module
Mouthful etc..Interface unit 508 can be used for receiving the input (for example, data information, electric power etc.) from external device (ED) and
By one or more elements that the input received is transferred in terminal device 500 or can be used in 500 He of terminal device
Data are transmitted between external device (ED).
Memory 509 can be used for storing software program and various data.Memory 509 can mainly include storing program area
The storage data area and, wherein storing program area can (such as the sound of application program needed for storage program area, at least one function
Sound playing function, image player function etc.) etc.;Storage data area can store according to mobile phone use created data (such as
Audio data, phone directory etc.) etc..In addition, memory 509 may include high-speed random access memory, it can also include non-easy
The property lost memory, a for example, at least disk memory, flush memory device or other volatile solid-state parts.
Processor 510 is the control centre of terminal device, utilizes each of various interfaces and the entire terminal device of connection
A part by running or execute the software program and/or module that are stored in memory 509, and calls and is stored in storage
Data in device 509 execute the various functions and processing data of terminal device, to carry out integral monitoring to terminal device.Place
Managing device 510 may include one or more processing units;Preferably, processor 510 can integrate application processor and modulatedemodulate is mediated
Manage device, wherein the main processing operation system of application processor, user interface and application program etc., modem processor is main
Processing wireless communication.It is understood that above-mentioned modem processor can not also be integrated into processor 510.
Terminal device 500 can also include the power supply 511 (such as battery) powered to all parts, it is preferred that power supply 511
Can be logically contiguous by power-supply management system and processor 510, to realize management charging by power-supply management system, put
The functions such as electricity and power managed.
In addition, terminal device 500 includes some unshowned functional modules, details are not described herein.
Preferably, the embodiment of the present invention also provides a kind of terminal device, including processor, memory and is stored in memory
Computer program that is upper and can running on the processor, the computer program realize that above-mentioned audio is broadcast when being executed by processor
Each process of place control method embodiment, and identical technical effect can be reached, to avoid repeating, which is not described herein again.
The embodiment of the present invention also provides a kind of computer readable storage medium, and meter is stored on computer readable storage medium
Calculation machine program, the computer program realize each process of above-mentioned audio play control method embodiment when being executed by processor,
And identical technical effect can be reached, to avoid repeating, which is not described herein again.Wherein, the computer readable storage medium,
Such as read-only memory (Read-Only Memory, abbreviation ROM), random access memory (Random Access Memory, letter
Claim RAM), magnetic or disk etc..
It should be noted that, in this document, the terms "include", "comprise" or its any other variant are intended to non-row
His property includes, so that the process, method, article or the device that include a series of elements not only include those elements, and
And further include other elements that are not explicitly listed, or further include for this process, method, article or device institute it is intrinsic
Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including being somebody's turn to do
There is also other identical elements in the process, method of element, article or device.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side
Method can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but in many cases
The former is more preferably embodiment.Based on this understanding, technical solution of the present invention substantially in other words does the prior art
The part contributed out can be embodied in the form of software products, which is stored in a storage medium
In (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that a terminal (can be mobile phone, computer, service
Device, air conditioner or network equipment etc.) execute method described in each embodiment of the present invention.
The embodiment of the present invention is described with above attached drawing, but the invention is not limited to above-mentioned specific
Embodiment, the above mentioned embodiment is only schematical, rather than restrictive, those skilled in the art
Under the inspiration of the present invention, without breaking away from the scope protected by the purposes and claims of the present invention, it can also make very much
Form belongs within protection of the invention.