CN108683980A - A kind of transmission method and mobile terminal of audio signal - Google Patents
A kind of transmission method and mobile terminal of audio signal Download PDFInfo
- Publication number
- CN108683980A CN108683980A CN201810552721.1A CN201810552721A CN108683980A CN 108683980 A CN108683980 A CN 108683980A CN 201810552721 A CN201810552721 A CN 201810552721A CN 108683980 A CN108683980 A CN 108683980A
- Authority
- CN
- China
- Prior art keywords
- distance
- earplug
- mobile terminal
- audio signal
- wireless
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- 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
- H04R3/12—Circuits for transducers, loudspeakers or microphones for distributing signals to two or more loudspeakers
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04R—LOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
- H04R2430/00—Signal processing covered by H04R, not provided for in its groups
Landscapes
- Health & Medical Sciences (AREA)
- General Health & Medical Sciences (AREA)
- Otolaryngology (AREA)
- Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Acoustics & Sound (AREA)
- Signal Processing (AREA)
- Telephone Function (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
An embodiment of the present invention provides a kind of transmission method of audio signal and mobile terminals, solve in an earplug during user only wears bluetooth headset, the problem of being only capable of hearing the audio signal of a sound channel, and miss the audio signal of another sound channel.The method of the present invention includes:Obtain a process instruction;The process instruction is responded, at least two monophonic audio signals for treating playing audio signal carry out mixed processing, obtain mixed audio signal;The mixed audio signal is transmitted to at least one earplug for the earphone that communication connection is established with the mobile terminal.The mixed audio signal for at least two monophonic audio signals obtain after mixed processing is sent at least one earplug in the embodiment of the present invention, so that the audio signal that single earplug is sent out is mixed audio signal, rather than monophonic audio signal, so as to effectively prevent user to miss the audio signal of any sound channel.
Description
Technical field
The present invention relates to the transmission methods and movement of the technical field of communications applications more particularly to a kind of audio signal eventually
End.
Background technology
Nowadays bluetooth headset is known by many users, and existing bluetooth headset includes mainly that monaural bluetooth headset is (main
For conversing) and I tech clip S (be mainly used for play music, earphone include two earplugs, hereinafter referred to as left earplug and
Right earplug).Relative to wired earphone, the cable eliminated between earphone and playback equipment (such as mobile phone) is connect, and is user's
Using bringing great convenience, especially very wireless (True Wireless Stereo, TWS) earphone even more eliminates vertical
Connecting line between two earplugs of body sound bluetooth headset, while it being equipped with storage box (charging box), it is more convenient to use.Existing market
On true wireless stereo Bluetooth earphone mainly have it is following two:
One is the earphone of master-slave relationship, stereo headset one is decided, and one is done from main earplug is distributed after receiving signal
To from earplug;Another kind is the earphone of stereophone bilateral form, and mobile phone sends audio data to two earplugs simultaneously.
Both the above earphone, the audio data that each earplug of earphone plays is relatively-stationary, and left earplug plays left
Channel audio signal, right earplug play right channel audio signal, but in an earplug during user only wears bluetooth headset, only
The audio signal of a sound channel can be received, and misses the audio signal of another sound channel.
Invention content
The purpose of the present invention is to provide a kind of transmission method of audio signal and mobile terminals, to solve only to wear in user
It when wearing an earplug in bluetooth headset, is only capable of hearing the audio signal of a sound channel, and misses the audio of another sound channel
The problem of signal.
In a first aspect, the present invention provides a kind of transmission method of audio signal, it is applied to mobile terminal, including:
Obtain a process instruction;
The process instruction is responded, at least two monophonic audio signals for treating playing audio signal carry out at mixing
Reason, obtains mixed audio signal;
The mixed audio signal is transmitted to at least one ear for the earphone that communication connection is established with the mobile terminal
Plug.
Second aspect, the embodiment of the present invention additionally provide a kind of mobile terminal, including:
Acquisition module, for obtaining a process instruction;
Processing module treats at least two monophonic audios letter of playing audio signal for responding the process instruction
Number carry out mixed processing, obtain mixed audio signal;
Transmission module, for the mixed audio signal to be transmitted to the earphone for establishing communication connection with the mobile terminal
At least one earplug.
The third aspect, the embodiment of the present invention additionally provide a kind of mobile terminal, including:It memory, processor and is stored in
On memory and the computer program that can run on a processor, realized such as when the computer program is executed by the processor
The step of transmission method of the upper audio signal.
Fourth aspect, the embodiment of the present invention additionally provide a kind of computer readable storage medium, described computer-readable to deposit
Computer program is stored on storage media, the computer program realizes the biography of audio signal as described above when being executed by processor
The step of transmission method.
The embodiment of the present invention has the advantages that:
The above-mentioned technical proposal of the embodiment of the present invention obtains a process instruction;The process instruction is responded, to sound to be played
At least two monophonic audio signals of frequency signal carry out mixed processing, obtain mixed audio signal;The mixed audio is believed
Number it is transmitted at least one earplug for the earphone that communication connection is established with the mobile terminal.It will be at least in the embodiment of the present invention
The mixed audio signal that two monophonic audio signals obtained after mixed processing is sent at least one earplug so that single
The audio signal that earplug is sent out is mixed audio signal rather than monophonic audio signal, so as to effectively prevent user wrong
Lose the audio signal of any sound channel.
Description of the drawings
In order to illustrate the technical solution of the embodiments of the present invention more clearly, needed in being described below to the embodiment of the present invention
Attached drawing to be used is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the invention,
For those of ordinary skill in the art, without having to pay creative labor, it can also obtain according to these attached drawings
Obtain other attached drawings.
Fig. 1 is the flow diagram of the transmission method of the audio signal of the embodiment of the present invention;
Fig. 2 is the display renderings of system interface in the embodiment of the present invention;
Fig. 3 is one of the module diagram of mobile terminal of the embodiment of the present invention;
Fig. 4 is the two of the module diagram of the mobile terminal of the embodiment of the present invention;
Fig. 5 is the structure diagram of the mobile terminal of the embodiment of the present invention.
Specific implementation mode
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
It is described at ground, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on
Embodiment in the present invention, those of ordinary skill in the art are obtained every other without creative efforts
Embodiment shall fall within the protection scope of the present invention.
As shown in Figure 1, the embodiment provides a kind of transmission method of audio signal, it is applied to mobile terminal,
Including:
Step 101:Obtain a process instruction.
Specifically, after mobile terminal and earphone establish connection, above-mentioned process instruction is obtained, which can be specially
When instruction input by user or mobile terminal detect the playing condition for meeting mixed audio signal, the place that automatically generates
Reason instruction, such as detect the distance between two earplugs of earphone meet predetermined condition or the mobile terminal respectively with it is described
When the distance between two earplugs meet predetermined condition, above-mentioned process instruction is generated.
Step 102:The process instruction is responded, at least two monophonic audio signals for treating playing audio signal carry out
Mixed processing obtains mixed audio signal.
The mixed audio signal is the mixed signal of at least two monophonic audio signals.
It should be noted that the mixed audio signal is not to include independent at least two monophonic audio signal, and
It is to have been mixed at least two monophonic audios during terminal-pair audio file to be played is decoded processing
It closes.
It, can be especially by a hybrid matrix to be played according to the process instruction after terminal and earphone establish connection
At least two monophonic audio signals of audio file carry out mixed processing, obtain mixed audio signal.For example, to sound to be played
The left channel audio signal and right channel audio signal of frequency file carry out mixed processing, obtain mixed audio signal.
Specifically, being decoded to the audio files to be played of NAND or the storages such as RAM in mobile phone, solution is at processing unit
Identifiable PCM (pulse code modulation) code stream, and handle, such as increasing audio (around sound, supper bass), emphasis is to left and right
Sound channel carries out signal mixed processing so that the signal of output includes the signal message of each sound channel, by hybrid matrix at least
Two monophonic audio signals carry out the audio mixing technology that mixed processing is comparative maturity, are no longer described in detail herein.
Step 103:The mixed audio signal is transmitted to and establishes the earphone of communication connection extremely with the mobile terminal
A few earplug.
Specifically, above-mentioned mixed audio signal to be transferred to at least one ear of the earphone through wireless communication
Plug, such as pass through Bluetooth transmission.For example, can be first by mixed audio signal from the output of the monophonic audio signal of terminal, then
The monophonic audio signal exported is given at least one earplug of the earphone by Bluetooth transmission.
The output port of the monophonic audio signal includes the output port and right audio channel letter of left channel audio signal
Number at least one of output port.
Preferably, the mixed audio signal is exported by the output port of target monophonic audio signal.
The target monophonic audio signal is determined according to the wearing state of earphone, for example, detecting that only left earplug is worn
When, above-mentioned mixed audio signal can be transmitted to left earplug by the output port of left channel audio signal;Detect only auris dextra
When plug is worn, above-mentioned mixed audio signal can be transmitted to right earplug by the output port of right channel audio signal;Detection
When being worn simultaneously to left earplug and right earplug, above-mentioned mixed audio signal can be transmitted separately to the defeated of left channel audio signal
The output port of exit port and right audio channel channel so that the left earplug and right earplug can play above-mentioned mixing sound simultaneously
Frequency signal, to prevent user from missing the audio signal of any sound channel.
Mobile terminal establishes wireless communication connection with the earphone in the embodiment of the present invention, such as establishes bluetooth connection, institute
It includes the first earplug (left earplug) and the second earplug (right earplug) to state earphone, based on this, as the first optional realization method,
Above-mentioned steps 101 obtain a process instruction:
Obtain the process instruction triggered by the button on mobile terminal.
Button on the mobile terminal is physical button or virtual key.
Specifically, as shown in Fig. 2, menu option can be made on the user interface UI of cell phone system, as " shared mould
Formula " presses this menu button when user has demand to carry out content share, then system automatically believes left channel signals and right channel
Number carry out mixing output so that the content of each earphone output is identical, and the method is equal to various forms of I tech clip Ss
It is applicable in.
In the realization method, the scene that an earplug is shared to other people is provided for true wireless headset, clicks share manually,
The transmission mode that bluetooth earplug is individually exported to left and right sound track signals is changed to the mode of left and right acoustic channels mixed signal output, user
It can freely control, meet the specific demand of user, the user experience is improved.
Further, as second of optional realization method, above-mentioned steps 101 obtain a process instruction and include:
Target range is obtained, the target range includes the first distance between first earplug and second earplug
Or the difference including second distance Yu third distance, the second distance is between the mobile terminal and first earplug
Distance, third distance is the distance between the mobile terminal and second earplug;It is more than in the target range
When predetermined threshold value, the process instruction is obtained.
For the I tech clip S of principal and subordinate's form, above-mentioned target range is the first distance, obtains first earplug
The first distance between second earplug, including:
Obtain the first wireless signal strength when first earplug is carried out wireless communication with second earplug;
According to the correspondence of wireless signal strength and distance, obtain and first wireless signal strength corresponding first
Distance.
Since bluetooth master and the bluetooth signal intensity from equipment room increase with the increase of distance, signal strength with
There are certain proportionate relationships for distance, therefore, can be above-mentioned to obtain by obtaining wireless signal strength when two earplug communication
Target range.For the stereophone of master-slave relationship, two earplugs, one earplug of deciding, one is done from earplug, and main earplug connects
It is distributed to after the collection of letters number from earplug, Bluetooth pairing is carried out from earplug and main earplug, wearing principal and subordinate's earplug spacing under normal circumstances
From for P1 and fixation, after being taken from earplug, principal and subordinate's earplug distance is P2, as P2 ≠ P1, and when except allowable error range,
It is believed that an earplug is taken out of human ear, at this point, just generating above-mentioned process instruction, and mixed according to above-mentioned process instruction
Conjunction is handled, and obtains mixed audio signal.
For the I tech clip S of bilateral form, above-mentioned target range is the difference of second distance and third distance;
The difference of second distance and third distance is obtained, including:
Second wireless singal intensity when first earplug is carried out wireless communication with mobile terminal is obtained, and according to wireless
The correspondence of signal strength and distance obtains second distance corresponding with the second wireless singal intensity;
Obtain third wireless signal strength when second earplug and the mobile terminal carry out wireless communication, and according to
The correspondence of wireless signal strength and distance obtains third distance corresponding with the third wireless signal strength;
According to the second distance and the second distance, the difference of the second distance and the third distance is obtained.
It should be noted that the sequence of above-mentioned acquisition second distance and third distance is not specifically limited.
For bilateral form earphone, mobile phone carries out Bluetooth pairings with two earplugs respectively, wear under normal circumstances, with
The change in location of mobile phone and the number of people, the range difference between mobile phone and two earplugs | P2-P1 | minimum value 0, maximum value are two people
Air line distance between ear.As | P2-P1 | it is more than the air line distance between two human ears and when except allowable range of error, it can
Think that an earplug is taken out of human ear, at this point, just generating above-mentioned process instruction, and is mixed according to above-mentioned process instruction
Processing, obtains mixed audio signal.
Certainly, in the embodiment of the present invention, above-mentioned target range can be also obtained according to the proximity sensor on earplug.
The transmission method of the audio signal of the embodiment of the present invention obtains a process instruction;The process instruction is responded, is treated
At least two monophonic audio signals of playing audio signal carry out mixed processing, obtain mixed audio signal;By the mixing
Audio signal transmission extremely establishes at least one earplug of the earphone of communication connection with the mobile terminal.It will in the embodiment of the present invention
The mixed audio signal for at least two monophonic audio signals obtain after mixed processing is sent at least one earplug, makes
It is mixed audio signal rather than monophonic audio signal to obtain the audio signal that single earplug is sent out, so as to effectively prevent making
User misses the audio signal of any sound channel.
As shown in figure 3, the embodiments of the present invention also provide a kind of mobile terminals 300, including:
Acquisition module 301, for obtaining a process instruction;
Processing module 302 treats at least two monophonic audios of playing audio signal for responding the process instruction
Signal carries out mixed processing, obtains mixed audio signal;
Transmission module 303 establishes communication connection for being transmitted to the mixed audio signal with the mobile terminal
At least one earplug of earphone.
The mobile terminal of the embodiment of the present invention, the mobile terminal establish wireless communication connection, the ear with the earphone
Machine includes the first earplug and the second earplug;
The acquisition module 301 is used to obtain the process instruction triggered by the button on mobile terminal;
Alternatively, for obtaining target range;When the target range is more than predetermined threshold value, the process instruction is obtained;
Wherein, the target range include between first earplug and second earplug first distance or including
The difference of second distance and third distance, the second distance be the distance between the mobile terminal and first earplug,
The third distance is the distance between the mobile terminal and second earplug.
The mobile terminal of the embodiment of the present invention, as shown in figure 4, the acquisition module 301 includes:
First acquisition submodule 3011, for obtaining when first earplug and second earplug carry out wireless communication
First wireless signal strength;
Second acquisition submodule 3012, for according to the correspondence of wireless signal strength and distance, obtaining and described the
Corresponding first distance of one wireless signal strength.
The mobile terminal of the embodiment of the present invention, the acquisition module 301 include:
Third acquisition submodule 3013, for obtaining second when first earplug and mobile terminal carry out wireless communication
Wireless signal strength, and according to the correspondence of wireless signal strength and distance, obtain and the second wireless singal intensity pair
The second distance answered;
4th acquisition submodule 3014, for obtaining when second earplug and the mobile terminal carry out wireless communication
Third wireless signal strength, and according to the correspondence of wireless signal strength and distance, obtain strong with the third wireless signal
Spend corresponding third distance;
5th acquisition submodule 3015, for according to the second distance and the second distance, obtain described second away from
From with the difference with a distance from the third.
It should be noted that the mobile terminal is mobile terminal corresponding with above method embodiment, the above method is implemented
All realization methods can also reach identical technique effect suitable for the embodiment of the mobile terminal in example.
The mobile terminal of the embodiment of the present invention obtains a process instruction;The process instruction is responded, audio to be played is believed
Number at least two monophonic audio signals carry out mixed processing, obtain mixed audio signal;The mixed audio signal is passed
Transport at least one earplug for the earphone that communication connection is established with the mobile terminal.It will be at least two in the embodiment of the present invention
The mixed audio signal that monophonic audio signal obtained after mixed processing is sent at least one earplug so that single earplug
The audio signal sent out is mixed audio signal rather than monophonic audio signal, is appointed so as to effectively prevent user to miss
The audio signal of one sound channel.
A kind of hardware architecture diagram of Fig. 5 mobile terminals of each embodiment to realize the present invention, the mobile terminal 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.
It will be understood by those skilled in the art that mobile terminal structure shown in Fig. 5 does not constitute the restriction to mobile terminal, it is mobile whole
End may include either combining certain components or different components arrangement than illustrating more or fewer components.In the present invention
In embodiment, mobile terminal includes but not limited to mobile phone, tablet computer, laptop, palm PC, car-mounted terminal, can wear
Wear equipment and pedometer etc..
Wherein, processor 510, for obtaining a process instruction;The process instruction is responded, playing audio signal is treated
At least two monophonic audio signals carry out mixed processing, obtain mixed audio signal;The mixed audio signal is transmitted to
At least one earplug of the earphone of communication connection is established with the mobile terminal.
The above-mentioned technical proposal of the embodiment of the present invention obtains a process instruction;The process instruction is responded, to sound to be played
At least two monophonic audio signals of frequency signal carry out mixed processing, obtain mixed audio signal;The mixed audio is believed
Number it is transmitted at least one earplug for the earphone that communication connection is established with the mobile terminal.It will be at least in the embodiment of the present invention
The mixed audio signal that two monophonic audio signals obtained after mixed processing is sent at least one earplug so that single
The audio signal that earplug is sent out is mixed audio signal rather than monophonic audio signal, so as to effectively prevent user wrong
Lose the audio signal of any sound channel.
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 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 radio communication system and network and other set
Standby communication.
Mobile terminal has provided wireless broadband internet to the user by network module 502 and has accessed, and such as user is helped to receive
Send e-mails, browse webpage and access streaming video etc..
It is that audio output unit 503 can receive 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 be provided and be moved
The relevant audio output of specific function that dynamic terminal 500 executes is (for example, call signal receives sound, message sink sound etc.
Deng).Audio output unit 503 includes loud speaker, 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 by image capture apparatus (such as camera) in image capture mode 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 of mobile communication base station can be sent to via radio frequency unit 501 by being converted in the case of telephone calling model.
Mobile terminal 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 mobile terminal 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, size and the direction of gravity are can detect that when static, can be used to identify mobile terminal 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 may 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 mobile terminal
Family is arranged 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 user on it or neighbouring touch operation
(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 the signal that touch operation is brought, and 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.
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 lever, 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 touch
The type for touching event provides corresponding visual output on display panel 5061.Although in Figure 5, touch panel 5071 and display
Panel 5061 is to realize the function that outputs and inputs of mobile terminal 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 mobile terminal, it is specific this
Place does not limit.
Interface unit 508 is the interface that external device (ED) is connect with mobile terminal 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 mobile terminal 500 or can be used in 500 He of mobile terminal
Transmission data between external device (ED).
Memory 509 can be used for storing software program and various data.Memory 509 can include mainly storing program area
And storage data field, wherein storing program area can storage program area, application program (such as the sound needed at least one function
Sound playing function, image player function etc.) etc.;Storage data field 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, 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 mobile terminal, utilizes each of various interfaces and the entire mobile terminal 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 mobile terminal, to carry out integral monitoring to mobile terminal.Place
Reason 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.
Mobile terminal 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, mobile terminal 500 includes some unshowned function modules, details are not described herein.
Preferably, the embodiment of the present invention also provides a kind of mobile terminal, including processor, and memory is stored in memory
Computer program that is upper and can running on the processor, the computer program realize above-mentioned audio letter when being executed by processor
Number transmission method embodiment each process, and identical technique 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 mistake of the transmission method embodiment of above-mentioned audio signal when being executed by processor
Journey, and identical technique effect can be reached, to avoid repeating, which is not described herein again.Wherein, the computer-readable storage medium
Matter, such as read-only memory (Read-Only Memory, abbreviation ROM), random access memory (Random Access
Memory, abbreviation RAM), magnetic disc or CD etc..
It should be noted that herein, the terms "include", "comprise" or its any other variant are intended to non-row
His property includes, so that process, method, article or device including a series of elements include not only 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 this
There is also other identical elements in the process of element, method, 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 add the mode of required general hardware platform to realize by software, naturally it is also possible to by hardware, but in many cases
The former is more preferably embodiment.Based on this understanding, technical scheme of the present invention substantially in other words does the prior art
Going out the part of contribution can be expressed in the form of software products, which is stored in a storage medium
In (such as ROM/RAM, magnetic disc, CD), including some instructions are used so that a station 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 in 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 the protection of the present invention.
Claims (9)
1. a kind of transmission method of audio signal is applied to mobile terminal, which is characterized in that including:
Obtain a process instruction;
The process instruction is responded, at least two monophonic audio signals for treating playing audio signal carry out mixed processing, obtain
To mixed audio signal;
The mixed audio signal is transmitted to at least one earplug for the earphone that communication connection is established with the mobile terminal.
2. the transmission method of audio signal according to claim 1, which is characterized in that the mobile terminal and the earphone
Wireless communication connection is established, the earphone includes the first earplug and the second earplug;
A process instruction is obtained, including:
Obtain the process instruction triggered by the button on mobile terminal;
Alternatively, obtaining target range;
When the target range is more than predetermined threshold value, the process instruction is obtained;
Wherein, the target range include between first earplug and second earplug first distance or including second
The difference of distance and third distance, the second distance be the distance between the mobile terminal and first earplug, it is described
Third distance is the distance between the mobile terminal and second earplug.
3. the transmission method of audio signal according to claim 2, which is characterized in that obtain first earplug and described
The first distance between second earplug, including:
Obtain the first wireless signal strength when first earplug is carried out wireless communication with second earplug;
According to the correspondence of wireless signal strength and distance, obtain with first wireless signal strength corresponding first away from
From.
4. the transmission method of audio signal according to claim 2, which is characterized in that obtain second distance and third distance
Difference, including:
Second wireless singal intensity when first earplug is carried out wireless communication with mobile terminal is obtained, and according to wireless signal
The correspondence of intensity and distance obtains second distance corresponding with the second wireless singal intensity;
Third wireless signal strength when second earplug is carried out wireless communication with the mobile terminal is obtained, and according to wireless
The correspondence of signal strength and distance obtains third distance corresponding with the third wireless signal strength;
According to the second distance and the second distance, the difference of the second distance and the third distance is obtained.
5. a kind of mobile terminal, which is characterized in that including:
Acquisition module, for obtaining a process instruction;
Processing module, for responding the process instruction, treat at least two monophonic audio signals of playing audio signal into
Row mixed processing, obtains mixed audio signal;
Transmission module establishes the earphone of communication connection extremely for being transmitted to the mixed audio signal with the mobile terminal
A few earplug.
6. mobile terminal according to claim 5, which is characterized in that the mobile terminal establishes channel radio with the earphone
Letter connection, the earphone include the first earplug and the second earplug;
The acquisition module is used to obtain the process instruction triggered by the button on mobile terminal;
Alternatively, for obtaining target range;When the target range is more than predetermined threshold value, the process instruction is obtained;
Wherein, the target range include between first earplug and second earplug first distance or including second
The difference of distance and third distance, the second distance be the distance between the mobile terminal and first earplug, it is described
Third distance is the distance between the mobile terminal and second earplug.
7. mobile terminal according to claim 6, which is characterized in that the acquisition module includes:
First acquisition submodule, it is first wireless when first earplug and second earplug carry out wireless communication for obtaining
Signal strength;
Second acquisition submodule obtains and first wireless communication for the correspondence according to wireless signal strength and distance
Number corresponding first distance of intensity.
8. mobile terminal according to claim 6, which is characterized in that the acquisition module includes:
Third acquisition submodule, for obtaining second wireless singal when first earplug and mobile terminal carry out wireless communication
Intensity, and according to the correspondence of wireless signal strength and distance, obtain and the second wireless singal intensity corresponding second
Distance;
4th acquisition submodule, it is wireless for obtaining third when second earplug is carried out wireless communication with the mobile terminal
Signal strength, and according to the correspondence of wireless signal strength and distance, obtain corresponding with the third wireless signal strength
Third distance;
5th acquisition submodule, for according to the second distance and the second distance, obtain the second distance with it is described
The difference of third distance.
9. a kind of mobile terminal, which is characterized in that including:Memory, processor and storage are on a memory and can be in processor
The computer program of upper operation realizes such as any one of claims 1 to 4 when the computer program is executed by the processor
The step of transmission method of the audio signal.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810552721.1A CN108683980B (en) | 2018-05-31 | 2018-05-31 | Audio signal transmission method and mobile terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810552721.1A CN108683980B (en) | 2018-05-31 | 2018-05-31 | Audio signal transmission method and mobile terminal |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108683980A true CN108683980A (en) | 2018-10-19 |
CN108683980B CN108683980B (en) | 2020-06-30 |
Family
ID=63809610
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810552721.1A Active CN108683980B (en) | 2018-05-31 | 2018-05-31 | Audio signal transmission method and mobile terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108683980B (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111246346A (en) * | 2020-01-10 | 2020-06-05 | 北京塞宾科技有限公司 | Wireless multi-audio acquisition interoperation system |
CN111930339A (en) * | 2020-08-19 | 2020-11-13 | Oppo广东移动通信有限公司 | Device control method, device, storage medium and electronic device |
CN112954548A (en) * | 2021-02-22 | 2021-06-11 | 惠州Tcl移动通信有限公司 | Method and device for combining sound collected by terminal microphone and headset |
CN113055789A (en) * | 2021-02-09 | 2021-06-29 | 安克创新科技股份有限公司 | Single sound channel sound box, method and system for increasing surround effect in single sound channel sound box |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20090279722A1 (en) * | 2008-05-09 | 2009-11-12 | Pi-Fen Lin | Wireless headset device capable of providing balanced stereo and method thereof |
CN202014358U (en) * | 2011-04-20 | 2011-10-19 | 深圳市兴达实电子有限公司 | Wireless earphones for online games |
CN102395097A (en) * | 2011-09-29 | 2012-03-28 | 深圳市万兴软件有限公司 | Method and system for down-mixing multi-channel audio signals |
CN204362270U (en) * | 2015-01-13 | 2015-05-27 | 易力声科技(深圳)有限公司 | A kind of bluetooth earphone |
US20160205462A1 (en) * | 2015-01-14 | 2016-07-14 | Well Being Digital Limited | Method of transmiting data and a device and system thereof |
WO2017070262A1 (en) * | 2015-10-20 | 2017-04-27 | Alwin Co., Ltd. | Transducer module and sound delivery device having same |
CN107295434A (en) * | 2017-05-26 | 2017-10-24 | 广东思派康电子科技有限公司 | TWS earphones and realize the vocal music of TWS earphones with the computer-readable recording medium broadcast |
-
2018
- 2018-05-31 CN CN201810552721.1A patent/CN108683980B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20090279722A1 (en) * | 2008-05-09 | 2009-11-12 | Pi-Fen Lin | Wireless headset device capable of providing balanced stereo and method thereof |
CN202014358U (en) * | 2011-04-20 | 2011-10-19 | 深圳市兴达实电子有限公司 | Wireless earphones for online games |
CN102395097A (en) * | 2011-09-29 | 2012-03-28 | 深圳市万兴软件有限公司 | Method and system for down-mixing multi-channel audio signals |
CN204362270U (en) * | 2015-01-13 | 2015-05-27 | 易力声科技(深圳)有限公司 | A kind of bluetooth earphone |
US20160205462A1 (en) * | 2015-01-14 | 2016-07-14 | Well Being Digital Limited | Method of transmiting data and a device and system thereof |
WO2017070262A1 (en) * | 2015-10-20 | 2017-04-27 | Alwin Co., Ltd. | Transducer module and sound delivery device having same |
CN107295434A (en) * | 2017-05-26 | 2017-10-24 | 广东思派康电子科技有限公司 | TWS earphones and realize the vocal music of TWS earphones with the computer-readable recording medium broadcast |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111246346A (en) * | 2020-01-10 | 2020-06-05 | 北京塞宾科技有限公司 | Wireless multi-audio acquisition interoperation system |
CN111246346B (en) * | 2020-01-10 | 2021-10-26 | 北京塞宾科技有限公司 | Wireless multi-audio acquisition interoperation system |
CN111930339A (en) * | 2020-08-19 | 2020-11-13 | Oppo广东移动通信有限公司 | Device control method, device, storage medium and electronic device |
CN111930339B (en) * | 2020-08-19 | 2024-04-12 | Oppo广东移动通信有限公司 | Equipment control method and device, storage medium and electronic equipment |
CN113055789A (en) * | 2021-02-09 | 2021-06-29 | 安克创新科技股份有限公司 | Single sound channel sound box, method and system for increasing surround effect in single sound channel sound box |
CN112954548A (en) * | 2021-02-22 | 2021-06-11 | 惠州Tcl移动通信有限公司 | Method and device for combining sound collected by terminal microphone and headset |
Also Published As
Publication number | Publication date |
---|---|
CN108683980B (en) | 2020-06-30 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107770760B (en) | A kind of method and mobile terminal of the type identifying bluetooth equipment | |
CN108958684A (en) | Throw screen method and mobile terminal | |
CN108683980A (en) | A kind of transmission method and mobile terminal of audio signal | |
CN110177296A (en) | A kind of video broadcasting method and mobile terminal | |
CN108540655A (en) | A kind of caller identification processing method and mobile terminal | |
CN107911445A (en) | A kind of information push method, mobile terminal and storage medium | |
CN108391007A (en) | A kind of the volume setting method and mobile terminal of application program | |
CN108418950B (en) | Message prompt method and mobile terminal | |
CN110058836A (en) | A kind of output method and terminal device of audio signal | |
CN108319445A (en) | A kind of audio frequency playing method and mobile terminal | |
CN110351407A (en) | A kind of audio frequency playing method and mobile terminal | |
CN108391123A (en) | A kind of method and terminal generating video | |
CN109993821A (en) | A kind of expression playback method and mobile terminal | |
CN109144703A (en) | A kind of processing method and its terminal device of multitask | |
CN110267145A (en) | A kind of state display method and terminal device | |
CN109194827A (en) | A kind of terminal device, audio frequency signal output and system | |
CN108768838A (en) | One kind putting out screen information sharing method, transmitting terminal and receiving terminal | |
CN108769202A (en) | A kind of information push method and its server and terminal device | |
CN107749761B (en) | A kind of anti-interference method and mobile terminal | |
CN109639738A (en) | The method and terminal device of voice data transmission | |
CN109743454A (en) | A kind of call handling method and mobile terminal | |
CN108319440A (en) | Audio-frequency inputting method and mobile terminal | |
CN108632535A (en) | A kind of image processing method and mobile terminal | |
CN109005297A (en) | A kind of display methods and mobile terminal of navigation application | |
CN108307048A (en) | A kind of message output method and device and mobile terminal |
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 |