CN107801113B - A kind of method, wireless headset and mobile terminal controlling wireless headset sound channel - Google Patents
A kind of method, wireless headset and mobile terminal controlling wireless headset sound channel Download PDFInfo
- Publication number
- CN107801113B CN107801113B CN201710927239.7A CN201710927239A CN107801113B CN 107801113 B CN107801113 B CN 107801113B CN 201710927239 A CN201710927239 A CN 201710927239A CN 107801113 B CN107801113 B CN 107801113B
- Authority
- CN
- China
- Prior art keywords
- headset
- channel
- wireless headset
- information
- separate
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04R—LOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
- H04R1/00—Details of transducers, loudspeakers or microphones
- H04R1/10—Earpieces; Attachments therefor ; Earphones; Monophonic headphones
- H04R1/1041—Mechanical or electronic switches, or control elements
-
- 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/05—Detection of connection of loudspeakers or headphones to amplifiers
Landscapes
- Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Acoustics & Sound (AREA)
- Signal Processing (AREA)
- Telephone Function (AREA)
- Headphones And Earphones (AREA)
Abstract
The embodiment of the invention provides a kind of method, wireless headset and mobile terminals for controlling wireless headset sound channel, which comprises obtains heat transfer agent, and generates the acceleration of gravity information of the wireless headset using the heat transfer agent;Switch the channel type of the wireless headset according to the acceleration of gravity information;Sound channel based on the wireless headset exports corresponding audio-frequency information.It realizes when wireless headset is worn pleasant middle by user, wireless headset can automatically switch sound channel normally to listen to multichannel audio, so as to avoid because of sound field entanglement caused by non-corresponding sound channel broadcasting audio-frequency information, and then improve service efficiency and user experience.
Description
Technical field
The present invention relates to field of data transmission more particularly to a kind of methods for controlling wireless headset sound channel, a kind of wireless ear
Machine and a kind of mobile terminal.
Background technique
With the development of mobile communication technology, mobile terminal has become a part indispensable in people's life, when
Before, wireless communication module, such as bluetooth module, infrared module etc. are all loaded in most of mobile terminal devices, this gives people
Life bring more convenient places.Correspondingly, the wireless communication earphone of bluetooth module or infrared module is carried undoubtedly
It is one of the peripheral product favored by people.The appearance of wireless communication earphone allows people to get rid of the constraint of wired earphone.
During user wears wireless headset, wrong the earphone of non-corresponding sound channel can often be worn in pleasant, for example, by right
Sound channel earphone is worn into left ear, or, L channel earphone is worn into auris dextra, this is because giving user in existing most wireless headset
Only one small letter mark of sound channel instruction is provided, if user does not examine before wearing, it is easy to can be wrong
The earphone of non-corresponding sound channel is worn in pleasant, if the earphone of non-corresponding sound channel is worn pleasant middle broadcasting multichannel audio text in mistake
Part will lead to sound field entanglement, also, some wireless headset sound channels are fixed, this just makes user in mistake non-corresponding sound
When the earphone in road wears pleasant middle, needing to re-start wireless headset wearing could use correct sound channel normally to listen to multichannel sound
Frequently, to reduce service efficiency, and, poor user experience.
Although having had the wireless headset that can adjust sound channel now, the wireless headset how to be worn according to user
It identifies the left and right ear of user, and accordingly adjusts the L channel and right channel of wireless headset, enable audio from correct
Sound channel output, be still urgent problem to be solved.
Summary of the invention
The embodiment of the present invention provides a kind of method, wireless headset and mobile terminal for controlling wireless headset sound channel, to solve
The problem of audio cannot be exported from the correct sound channel of wireless headset.
In a first aspect, providing a kind of method for controlling wireless headset sound channel, the method is applied to mobile terminal, described
Method includes:
Heat transfer agent is obtained, and generates the acceleration of gravity information of the wireless headset using the heat transfer agent;
Switch the channel type of the wireless headset according to the acceleration of gravity information;
Sound channel based on the wireless headset exports corresponding audio-frequency information.
Preferably, the acquisition heat transfer agent, and accelerated using the gravity that the heat transfer agent generates the wireless headset
Spend information the step of include:
Call instruction is sent to the sensor, obtains the direction of motion and motion track information of the wireless headset;
The acceleration of gravity information of the wireless headset is generated using the direction of motion and motion track information.
Preferably, the sensor includes electronic compass and gravity accelerometer.
Preferably, the wireless headset includes the first separate headset and the second separate headset, and the channel type includes a left side
Sound channel and right channel, described the step of switching the channel type of the wireless headset according to the acceleration of gravity information include:
The position of first separate headset and the second separate headset is determined according to acceleration of gravity information;
First separate headset is switched into L channel, second separate headset is switched into right channel;Alternatively, will
First separate headset switches to right channel, and second separate headset is switched to L channel.
Preferably, the wireless headset includes the first separate headset and the second separate headset, and the channel type includes a left side
The step of sound channel and right channel, the channel type for switching the wireless headset according to acceleration of gravity information includes:
The head movement trace information of user is determined according to the direction of motion and motion track information;
The position of the first separate headset and the second separate headset is determined using the head movement trace information;
First separate headset is switched into L channel, second separate headset is switched into right channel;Alternatively, will
First separate headset switches to right channel, and second separate headset is switched to L channel.
Second aspect, provides a kind of mobile terminal, and the mobile terminal includes:
Heat transfer agent obtains module, generates the wireless headset for obtaining heat transfer agent, and using the heat transfer agent
Acceleration of gravity information;
Sound channel control module, for switching the channel type of the wireless headset according to the acceleration of gravity information;
Audio-frequency information output module exports corresponding audio-frequency information for the sound channel based on the wireless headset.
Preferably, the heat transfer agent acquisition module includes:
Call instruction sending submodule obtains the fortune of the wireless headset for sending call instruction to the sensor
Dynamic direction and motion track information;
Acceleration of gravity information generates submodule, for generating the nothing using the direction of motion and motion track information
The acceleration of gravity information of line earphone.
Preferably, the sensor includes electronic compass and gravity accelerometer.
Preferably, the wireless headset includes the first separate headset and the second separate headset, and the channel type includes a left side
Sound channel and right channel, the sound channel control module include:
First and second earphone determines submodule, for according to acceleration of gravity information determine first separate headset and
The position of second separate headset;
Sound channel switching submodule, for first separate headset to be switched to L channel, by second separate headset
Switch to right channel;Alternatively, first separate headset is switched to right channel, second separate headset is switched into left sound
Road.
Preferably, first and second described earphone determines that submodule may include following subelement:
Head movement track determination unit, for determining the head movement of user according to the direction of motion and motion track information
Trace information;
Left and right earphone determination unit, for determining the first separate headset and second solely using the head movement trace information
The position of crect ear machine;
Sound channel switch unit cuts second separate headset for first separate headset to be switched to L channel
Shift to right channel;Alternatively, first separate headset is switched to right channel, second separate headset is switched into left sound
Road.
The third aspect provides a kind of wireless headset characterized by comprising
Heat transfer agent obtains module, generates the wireless headset for obtaining heat transfer agent, and using the heat transfer agent
Acceleration of gravity information;
Sound channel control module, for switching the channel type of the wireless headset according to the acceleration of gravity information;
Audio-frequency information output module exports corresponding audio-frequency information for the sound channel based on the wireless headset.
In this way, using the embodiment of the present invention in practical applications, generated by obtaining the heat transfer agent that sensor provides
The acceleration of gravity information of wireless headset, and according to the sound channel of acceleration of gravity information control wireless headset, based on what is controlled
Sound channel exports corresponding audio-frequency information, realizes when wireless headset is worn pleasant middle by user, wireless headset can automatically switch
Sound channel come normally listens to multichannel audio, so as to avoid because non-corresponding sound channel broadcasting audio-frequency information caused by sound field entanglement, in turn
Improve service efficiency and user experience.
Detailed description of the invention
In order to illustrate the technical solution of the embodiments of the present invention more clearly, below by institute in the description to the embodiment of the present invention
Attached drawing to be used is needed to be briefly described, it should be apparent that, the accompanying drawings in the following description is only some implementations of the invention
Example, for those of ordinary skill in the art, without any creative labor, can also be according to these attached drawings
Obtain other attached drawings.
Fig. 1 is the flow chart of the method for the control wireless headset sound channel of first embodiment of the invention;
Fig. 2 is the head movement track schematic diagram with the embodiment of the present invention;
Fig. 3 is the structural block diagram of the mobile terminal of second embodiment of the invention;
Fig. 4 is the block diagram of the mobile terminal of another embodiment of the present invention;
Fig. 5 is the structural schematic diagram of the mobile terminal of another embodiment of the invention;
Fig. 6 is the structural block diagram of the wireless headset of fifth embodiment of the invention.
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.
First embodiment
Referring to Fig.1, the flow chart of the method for the control wireless headset sound channel of one embodiment of the invention is shown, specifically may be used
To include the following steps:
Step 101, heat transfer agent is obtained, and generates the acceleration of gravity letter of the wireless headset using the heat transfer agent
Breath;
In practical applications, the embodiment of the present invention can be applied in multi-track radio earphone.Wherein, wireless headset packet
It includes, Bluetooth wireless earphone, Infrared wireless earphone, 2.4G wireless headset etc..
Multi-sound-channel earphone, which refers to, to be reproduced the direction of each sound source of sound original signal in the playback of simulating stereo sound field, use
There is a kind of earphone of feeling surrounded by the sound from different directions at family, and at least there are two sound channels for the earphone.
In embodiments of the present invention, heat transfer agent can be obtained in the following way, and is generated wirelessly using heat transfer agent
The acceleration of gravity information of earphone: call instruction is sent to the sensor, obtains the direction of motion and movement rail of wireless headset
Mark information;The acceleration of gravity information of wireless headset is generated using the direction of motion and motion track information.
In a preferred embodiment of the invention, wireless headset can have the direction of motion for obtaining wireless headset
With the sensor of motion profile, specifically, sensor may include electronic compass.
In practical applications, the embodiment of the present invention can be using by by three dimensional reluctance sensor, double-shaft tilt angle sensor,
And electronic compass composed by MCU (Microcontroller Unit, micro-control unit) obtains the movement side of wireless headset
To.
In the concrete realization, the embodiment of the present invention is when user uses wireless headset, the electronics that is configured in wireless headset
Compass passes through three dimensional reluctance sensor measurement earth magnetic field first with galvanomagnetic-effect, and judges whether three dimensional reluctance sensor is in
Horizontality is carried out using double-shaft tilt angle sensor in magnetoresistive sensor when three dimensional reluctance sensor is in non-standard state
Level compensating, the signal finally exported using MCU to three dimensional reluctance sensor and double-shaft tilt angle sensor and data are carried out
Soft iron, hard iron compensation, to calculate the azimuth that user currently faces direction, i.e. the direction of motion of wireless headset.
In presently preferred ground embodiment, sensor may include gravity accelerometer.
In practical applications, the embodiment of the present invention can be, but not limited to using gyroscope or G-sensor (Gravity-
Sensor, gravity sensor) it is used as gravity accelerometer.
In the concrete realization, the embodiment of the present invention when head shakes, is matched during user uses wireless headset
The gravity accelerometer being placed in wireless headset can be subjected to displacement around the cervical vertebra of user and the junction of skull, this
When, the active force for changing wireless headset orientation has component in vertical direction, when the gravity in wireless headset accelerates
Spend sensor in run-off the straight, gravity can be superimposed with the component of active force in vertical direction generation with joint efforts, force action in
Increase the inclined direction of gravity accelerometer (vertical direction), gravity accelerometer is caused also to send out in vertical direction
Raw precession of the equinoxes movement, gravity accelerometer can go out the motion profile of wireless headset according to precession of the equinoxes motion calculation.
For example, when the gyro rotary shaft of gyroscope is rotated with trunnion axis, due to the earth rotation and by vertical direction
Centrifugal force, meridian direction of the rotary body of gyro into horizontal plane generate the precession of the equinoxes and move.
Certainly, above-mentioned example example for reference only, those skilled in the art can also pass through other according to actual needs
Mode obtains the motion profile of wireless headset, with no restriction to this present invention.
Step 102, switch the channel type of the wireless headset according to the acceleration of gravity information;
In embodiments of the present invention, the wireless ear can be switched according to the acceleration of gravity information in the following way
The channel type of machine: the position of the first separate headset and the second separate headset is determined according to acceleration of gravity information;Solely by first
Crect ear machine-cut shifts to L channel, and the second separate headset is switched to right channel;Alternatively, the first separate headset is switched to right sound
Second separate headset is switched to L channel by road.
In practical applications, the wireless headset of the embodiment of the present invention may include left earphone and right earphone, specifically, left ear
Machine is the earphone that user is worn over left ear, and right earphone is the earphone that user is worn over auris dextra.
In a preferred embodiment of the invention, institute can also be switched according to acceleration of gravity information in the following way
It states the channel type of wireless headset: determining the head movement trace information of user according to the direction of motion and motion track information;It adopts
The position of the first separate headset and the second separate headset is determined with head movement trace information;First separate headset is switched into a left side
Second separate headset is switched to right channel by sound channel;Alternatively, the first separate headset is switched to right channel, by the second independent ear
Machine-cut shifts to L channel.
With reference to the head movement track schematic diagram that Fig. 2, Fig. 2 are with the embodiment of the present invention, user nods when moving, right
Gyroscope in earphone can rotate clockwise displacement, and similarly, swing offset counterclockwise can occur for the gyroscope in left earphone,
Gyroscope can calculate the movement rail of head movement after getting the displacement of wireless headset, according to generated drift angle is displaced
Mark, the motion profile of electronic compass combination head movement judge a user left side it may determine that the direction of motion of user out
The position of auris dextra, may thereby determine that user is worn over left ear is left earphone, and be worn over auris dextra is right earphone.
Step 103, the sound channel based on the wireless headset exports corresponding audio-frequency information.
In the concrete realization, the wireless headset of the embodiment of the present invention can play left channel audio information in left earphone,
Right audio channel information is played in right earphone.
The embodiment of the present invention is used in practical applications, generates wireless ear by obtaining the heat transfer agent that sensor provides
The acceleration of gravity information of machine, and according to the sound channel of acceleration of gravity information control wireless headset, it is defeated based on the sound channel controlled
Corresponding audio-frequency information out is realized when wireless headset is worn pleasant middle by user, and wireless headset can automatically switch sound channel
Multichannel audio normally is listened to, sound field entanglement caused by audio-frequency information is played so as to avoid because of non-corresponding sound channel, and then improves
Service efficiency and user experience.
It should be noted that for simple description, therefore, it is stated as a series of action groups for embodiment of the method
It closes, but those skilled in the art should understand that, embodiment of that present invention are not limited by the describe sequence of actions, because according to
According to the embodiment of the present invention, some steps may be performed in other sequences or simultaneously.Secondly, those skilled in the art also should
Know, the embodiments described in the specification are all preferred embodiments, and the related movement not necessarily present invention is implemented
Necessary to example.
Second embodiment
Referring to Fig. 3, the structural block diagram of the mobile terminal of one embodiment of the invention is shown, the mobile terminal 300 is specific
May include following module:
Heat transfer agent obtains module 301, generates the wireless ear for obtaining heat transfer agent, and using the heat transfer agent
The acceleration of gravity information of machine;
Sound channel control module 302, for switching the channel type of the wireless headset according to the acceleration of gravity information;
Audio-frequency information output module 303 exports corresponding audio-frequency information for the sound channel based on the wireless headset.
In a preferred embodiment of the invention, it may include following submodule that the heat transfer agent, which obtains module 301:
Call instruction sending submodule obtains the fortune of the wireless headset for sending call instruction to the sensor
Dynamic direction and motion track information;
Acceleration of gravity information generates submodule, for generating the nothing using the direction of motion and motion track information
The acceleration of gravity information of line earphone.
In a preferred embodiment of the invention, the sensor includes electronic compass and gravity accelerometer.
In a preferred embodiment of the invention, the sound channel control module 302 may include following submodule:
First and second earphone determines submodule, for according to acceleration of gravity information determine first separate headset and
The position of second separate headset;
Sound channel switching submodule, for first separate headset to be switched to L channel, by second separate headset
Switch to right channel;Alternatively, first separate headset is switched to right channel, second separate headset is switched into left sound
Road.
In a preferred embodiment of the invention, first and second described earphone determines that submodule may include following son
Unit:
Head movement track determination unit, for determining the head movement of user according to the direction of motion and motion track information
Trace information;
Left and right earphone determination unit, for determining the first separate headset and second solely using the head movement trace information
The position of crect ear machine;
Sound channel switch unit cuts second separate headset for first separate headset to be switched to L channel
Shift to right channel;Alternatively, first separate headset is switched to right channel, second separate headset is switched into left sound
Road.
The embodiment of the present invention is used in practical applications, generates wireless ear by obtaining the heat transfer agent that sensor provides
The acceleration of gravity information of machine, and according to the sound channel of acceleration of gravity information control wireless headset, it is defeated based on the sound channel controlled
Corresponding audio-frequency information out is realized when wireless headset is worn pleasant middle by user, and wireless headset can automatically switch sound channel
Multichannel audio normally is listened to, sound field entanglement caused by audio-frequency information is played so as to avoid because of non-corresponding sound channel, and then improves
Service efficiency and user experience.
For mobile terminal embodiment, since it is substantially similar to embodiment of the method one, so the comparison of description is simple
Single, the relevent part can refer to the partial explaination of embodiments of method.
3rd embodiment
Fig. 4 is the block diagram of the mobile terminal of another embodiment of the present invention.Mobile terminal 400 shown in Fig. 4 includes: at least
One processor 401, memory 402, at least one network interface 404 and other users interface 403.In mobile terminal 400
Various components are coupled by bus system 405.It is understood that bus system 405 is for realizing the company between these components
Connect letter.Bus system 405 further includes power bus, control bus and status signal bus in addition in addition to including data/address bus.But
It is that various buses are all designated as bus system 405 in Fig. 4 for the sake of clear explanation.
Wherein, user interface 403 may include display, keyboard or pointing device (for example, mouse, trace ball
(trackball), touch-sensitive plate or touch screen etc..
It is appreciated that the memory 402 in the embodiment of the present invention can be volatile memory or nonvolatile memory,
It or may include both volatile and non-volatile memories.Wherein, nonvolatile memory can be read-only memory (Read-
OnlyMemory, ROM), programmable read only memory (ProgrammableROM, PROM), Erasable Programmable Read Only Memory EPROM
(ErasablePROM, EPROM), electrically erasable programmable read-only memory (ElectricallyEPROM, EEPROM) dodge
It deposits.Volatile memory can be random access memory (RandomAccessMemory, RAM), and it is slow to be used as external high speed
It deposits.By exemplary but be not restricted explanation, the RAM of many forms is available, such as static random access memory
(StaticRAM, SRAM), dynamic random access memory (DynamicRAM, DRAM), Synchronous Dynamic Random Access Memory
(SynchronousDRAM, SDRAM), double data speed synchronous dynamic RAM (DoubleDataRate
SDRAM, DDRSDRAM), enhanced Synchronous Dynamic Random Access Memory (Enhanced SDRAM, ESDRAM), synchronized links
Dynamic random access memory (SynchlinkDRAM, SLDRAM) and direct rambus random access memory
(DirectRambusRAM, DRRAM).The memory 402 of the system and method for description of the embodiment of the present invention is intended to include but unlimited
In the memory of these and any other suitable type.
In some embodiments, memory 402 stores following element, executable modules or data structures, or
Their subset of person or their superset: operating system 4021 and application program 4022.
Wherein, operating system 4021 include various system programs, such as ccf layer, core library layer, driving layer etc., are used for
Realize various basic businesses and the hardware based task of processing.Application program 4022 includes various application programs, such as media
Player (MediaPlayer), browser (Browser) etc., for realizing various applied business.Realize embodiment of the present invention side
The program of method may be embodied in application program 4022.
In embodiments of the present invention, by the program or instruction of calling memory 402 to store, specifically, can be application
The program or instruction stored in program 4022, processor 401 generate institute for obtaining heat transfer agent, and using the heat transfer agent
State the acceleration of gravity information of wireless headset;Switch the channel type of the wireless headset according to the acceleration of gravity information;
Sound channel based on the wireless headset exports corresponding audio-frequency information.
The method that the embodiments of the present invention disclose can be applied in processor 401, or be realized by processor 401.
Processor 401 may be a kind of IC chip, the processing capacity with signal.During realization, the above method it is each
Step can be completed by the integrated logic circuit of the hardware in processor 401 or the instruction of software form.Above-mentioned processing
Device 401 can be general processor, digital signal processor (DigitalSignalProcessor, DSP), specific integrated circuit
(ApplicationSpecific IntegratedCircuit, ASIC), ready-made programmable gate array
(FieldProgrammableGateArray, FPGA) either other programmable logic device, discrete gate or transistor logic
Device, discrete hardware components.It may be implemented or execute disclosed each method, step and the logical box in the embodiment of the present invention
Figure.General processor can be microprocessor or the processor is also possible to any conventional processor etc..In conjunction with the present invention
The step of method disclosed in embodiment, can be embodied directly in hardware decoding processor and execute completion, or use decoding processor
In hardware and software module combination execute completion.Software module can be located at random access memory, and flash memory, read-only memory can
In the storage medium of this fields such as program read-only memory or electrically erasable programmable memory, register maturation.The storage
Medium is located at memory 402, and processor 401 reads the information in memory 402, and the step of the above method is completed in conjunction with its hardware
Suddenly.
It is understood that the embodiment of the present invention description these embodiments can with hardware, software, firmware, middleware,
Microcode or combinations thereof is realized.For hardware realization, processing unit be may be implemented in one or more specific integrated circuit (App
LicationSpecificIntegratedCircuits, ASIC), digital signal processor
(DigitalSignalProcessing, DSP), digital signal processing appts (DSPDevice, DSPD), programmable logic device
(ProgrammableLogicDevice, PLD), field programmable gate array (Field-ProgrammableGateArray,
FPGA), general processor, controller, microcontroller, microprocessor, other electronics lists for executing herein described function
In member or combinations thereof.
For software implementations, can by execute the embodiment of the present invention described in function module (such as process, function etc.) come
Realize technology described in the embodiment of the present invention.Software code is storable in memory and is executed by processor.Memory can
With portion realizes in the processor or outside the processor.
Optionally, processor 401 is also used to: sending call instruction to the wireless headset, the call instruction is for adjusting
With the sensor, the direction of motion and motion profile of the wireless headset are obtained.
Optionally, processor 401 is also used to: being sent call instruction to the sensor, is obtained the fortune of the wireless headset
Dynamic direction and motion track information.
Optionally, processor 401 is also used to: generating the wireless headset using the direction of motion and motion track information
Acceleration of gravity information.
Optionally, processor 401 is also used to: determining first separate headset and second solely according to acceleration of gravity information
The position of crect ear machine.
Optionally, processor 401 is also used to: first separate headset is switched into L channel, it is independent by described second
Earphone switches to right channel;Alternatively, first separate headset is switched to right channel, second separate headset is switched to
L channel.
Optionally, processor 401 is also used to: the head movement rail of user is determined according to the direction of motion and motion track information
Mark information.
Optionally, processor 401 is also used to: determining the first separate headset and second using the head movement trace information
The position of separate headset.
Optionally, processor 401 is also used to: first separate headset is switched into L channel, it is independent by described second
Earphone switches to right channel;Alternatively, first separate headset is switched to right channel, second separate headset is switched to
L channel.
Mobile terminal 400 can be realized each process that mobile terminal is realized in previous embodiment, to avoid repeating, here
It repeats no more.
For 400 embodiment of mobile terminal, since it is basically similar to the method embodiment, so the comparison of description is simple
Single, the relevent part can refer to the partial explaination of embodiments of method.
The embodiment of the present invention is used in practical applications, generates wireless ear by obtaining the heat transfer agent that sensor provides
The acceleration of gravity information of machine, and according to the sound channel of acceleration of gravity information control wireless headset, it is defeated based on the sound channel controlled
Corresponding audio-frequency information out is realized when wireless headset is worn pleasant middle by user, and wireless headset can automatically switch sound channel
Multichannel audio normally is listened to, sound field entanglement caused by audio-frequency information is played so as to avoid because of non-corresponding sound channel, and then improves
Service efficiency and user experience.
Fourth embodiment
Fig. 5 is the structural schematic diagram of the mobile terminal of another embodiment of the present invention.Specifically, the mobile terminal in Fig. 5
500 can be mobile phone, tablet computer, personal digital assistant (PersonalDigital Assistant, PDA) or vehicle-mounted computer
Deng.
Mobile terminal 500 in Fig. 5 includes radio frequency (RadioFrequency, RF) circuit 510, memory 520, input list
Member 530, display unit 540, processor 560, voicefrequency circuit 570, WiFi (WirelessFidelity) module 580 and power supply
590。
Wherein, input unit 530 can be used for receiving the number or character information of user's input, and generation and mobile terminal
The related signal input of 500 user setting and function control.Specifically, in the embodiment of the present invention, which can
To include touch panel 531.Touch panel 531, also referred to as touch screen collect the touch operation of user on it or nearby
(for example user uses the operations of any suitable object or attachment on touch panel 531 such as finger, stylus), and according to preparatory
The formula of setting drives corresponding attachment device.Optionally, touch panel 531 may include touch detecting apparatus and touch controller
Two parts.Wherein, the touch orientation of touch detecting apparatus detection user, and touch operation bring signal is detected, by signal
Send touch controller to;Touch controller receives touch information from touch detecting apparatus, and is converted into contact coordinate,
The processor 560 is given again, and can be received order that processor 560 is sent and be executed.Furthermore, it is possible to using resistance-type,
The multiple types such as condenser type, infrared ray and surface acoustic wave realize touch panel 531.In addition to touch panel 531, input unit
530 can also include other input equipments 532, other input equipments 532 can include but is not limited to physical keyboard, function key
One of (such as volume control button, switch key etc.), trace ball, mouse, operating stick etc. are a variety of.
Wherein, display unit 540 can be used for showing information input by user or be supplied to the information and movement of user
The various menu interfaces of terminal 500.Display unit 540 may include display panel 541, optionally, can use LCD or organic hair
The forms such as optical diode (OrganicLight-EmittingDiode, OLED) configure display panel 541.
It should be noted that touch panel 531 can cover display panel 541, touch display screen is formed, when the touch display screen is examined
After measuring touch operation on it or nearby, processor 560 is sent to determine the type of touch event, is followed by subsequent processing device
560 provide corresponding visual output according to the type of touch event in touch display screen.
Touch display screen includes Application Program Interface viewing area and common control viewing area.The Application Program Interface viewing area
And arrangement mode of the common control viewing area does not limit, can be arranged above and below, left-right situs etc. can distinguish two it is aobvious
Show the arrangement mode in area.The Application Program Interface viewing area is displayed for the interface of application program.Each interface can be with
The interface elements such as the icon comprising at least one application program and/or widget desktop control.The Application Program Interface viewing area
Or the empty interface not comprising any content.This commonly uses control viewing area for showing the higher control of utilization rate, for example,
Application icons such as button, interface number, scroll bar, phone directory icon etc. are set.
Wherein processor 560 is the control centre of mobile terminal 500, utilizes various interfaces and connection whole mobile phone
Various pieces, by running or executing the software program and/or module that are stored in first memory 521, and calling storage
Data in second memory 522 execute the various functions and processing data of mobile terminal 500, thus to mobile terminal 500
Carry out integral monitoring.Optionally, processor 560 may include one or more processing units.
In embodiments of the present invention, by call store the first memory 521 in software program and/or module and/
Or the data in the second memory 522, processor 560 generate institute for obtaining heat transfer agent, and using the heat transfer agent
State the acceleration of gravity information of wireless headset;Switch the channel type of the wireless headset according to the acceleration of gravity information;
Sound channel based on the wireless headset exports corresponding audio-frequency information.
Optionally, processor 560 is also used to: sending call instruction to the wireless headset, the call instruction is for adjusting
With the sensor, the direction of motion and motion profile of the wireless headset are obtained.
Optionally, processor 560 is also used to: being sent call instruction to the sensor, is obtained the fortune of the wireless headset
Dynamic direction and motion track information.
Optionally, processor 560 is also used to: generating the wireless headset using the direction of motion and motion track information
Acceleration of gravity information.
Optionally, processor 560 is also used to: determining first separate headset and second solely according to acceleration of gravity information
The position of crect ear machine.
Optionally, processor 560 is also used to: first separate headset is switched into L channel, it is independent by described second
Earphone switches to right channel;Alternatively, first separate headset is switched to right channel, second separate headset is switched to
L channel.
Optionally, processor 560 is also used to: the head movement rail of user is determined according to the direction of motion and motion track information
Mark information.
Optionally, processor 560 is also used to: determining the first separate headset and second using the head movement trace information
The position of separate headset.
Optionally, processor 560 is also used to: first separate headset is switched into L channel, it is independent by described second
Earphone switches to right channel;Alternatively, first separate headset is switched to right channel, second separate headset is switched to
L channel.
For 500 embodiment of mobile terminal, since it is basically similar to the method embodiment, so the comparison of description is simple
Single, the relevent part can refer to the partial explaination of embodiments of method.
As it can be seen that using the embodiment of the present invention in practical applications, generated by obtaining the heat transfer agent that sensor provides
The acceleration of gravity information of wireless headset, and according to the sound channel of acceleration of gravity information control wireless headset, based on what is controlled
Sound channel exports corresponding audio-frequency information, realizes when wireless headset is worn pleasant middle by user, wireless headset can automatically switch
Sound channel come normally listens to multichannel audio, so as to avoid because non-corresponding sound channel broadcasting audio-frequency information caused by sound field entanglement, in turn
Improve service efficiency and user experience.
Those of ordinary skill in the art may be aware that the embodiment in conjunction with disclosed in the embodiment of the present invention describe it is each
Exemplary unit and algorithm steps can be realized with the combination of electronic hardware or computer software and electronic hardware.These
Function is implemented in hardware or software actually, the specific application and design constraint depending on technical solution.Profession
Technical staff can use different methods to achieve the described function each specific application, but this realization is not answered
Think beyond the scope of this invention.
It is apparent to those skilled in the art that for convenience and simplicity of description, the system of foregoing description,
The specific work process of device and unit, can refer to corresponding processes in the foregoing method embodiment, and details are not described herein.
In embodiment provided herein, it should be understood that disclosed device and method can pass through others
Mode is realized.For example, the apparatus embodiments described above are merely exemplary, for example, the division of the unit, only
A kind of logical function partition, there may be another division manner in actual implementation, for example, multiple units or components can combine or
Person is desirably integrated into another system, or some features can be ignored or not executed.Another point, shown or discussed is mutual
Between coupling, direct-coupling or communication connection can be through some interfaces, the INDIRECT COUPLING or communication link of device or unit
It connects, can be electrical property, mechanical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit
The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple
In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme
's.
It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unit
It is that each unit physically exists alone, can also be integrated in one unit with two or more units.
It, can be with if the function is realized in the form of SFU software functional unit and when sold or used as an independent product
It is stored in a computer readable storage medium.Based on this understanding, technical solution of the present invention is substantially in other words
The part of the part that contributes to existing technology or the technical solution can be embodied in the form of software products, the meter
Calculation machine software product is stored in a storage medium, including some instructions are used so that a computer equipment (can be a
People's computer, server or network equipment etc.) it performs all or part of the steps of the method described in the various embodiments of the present invention.
And storage medium above-mentioned includes: that USB flash disk, mobile hard disk, ROM, RAM, magnetic or disk etc. are various can store program code
Medium.
The above description is merely a specific embodiment, but scope of protection of the present invention is not limited thereto, any
Those familiar with the art in the technical scope disclosed by the present invention, can easily think of the change or the replacement, and should all contain
Lid is within protection scope of the present invention.Therefore, protection scope of the present invention should be subject to the protection scope in claims.
5th embodiment
Referring to Fig. 6, the structural block diagram of the wireless headset of one embodiment of the invention is shown, the wireless headset 600 is specific
May include following module:
Heat transfer agent obtains module 601, generates the wireless ear for obtaining heat transfer agent, and using the heat transfer agent
The acceleration of gravity information of machine;
Sound channel control module 602, for switching the channel type of the wireless headset according to the acceleration of gravity information;
Audio-frequency information output module 603 exports corresponding audio-frequency information for the sound channel based on the wireless headset.
The embodiment of the present invention is used in practical applications, generates wireless ear by obtaining the heat transfer agent that sensor provides
The acceleration of gravity information of machine, and according to the sound channel of acceleration of gravity information control wireless headset, it is defeated based on the sound channel controlled
Corresponding audio-frequency information out is realized when wireless headset is worn pleasant middle by user, and wireless headset can automatically switch sound channel
Multichannel audio normally is listened to, sound field entanglement caused by audio-frequency information is played so as to avoid because of non-corresponding sound channel, and then improves
Service efficiency and user experience.
For wireless headset embodiment, since it is substantially similar to embodiment of the method one, so the comparison of description is simple
Single, the relevent part can refer to the partial explaination of embodiments of method.
Claims (7)
1. a kind of method for controlling wireless headset sound channel, is applied to mobile terminal, which is characterized in that the wireless headset, which has, to be passed
Sensor, which comprises
During user uses the wireless headset, call instruction is sent to the sensor, obtains the wireless headset
The direction of motion and motion track information;
The acceleration of gravity information of the wireless headset is generated using the direction of motion and motion track information;
Switch the channel type of the wireless headset according to the acceleration of gravity information;
Sound channel based on the wireless headset exports corresponding audio-frequency information;
Wherein, the wireless headset include the first separate headset and the second separate headset, the channel type include L channel and
Right channel, the described the step of channel type of the wireless headset is switched according to the acceleration of gravity information, comprising: according to institute
It states the direction of motion and motion track information determines the head movement trace information of user;It is true using the head movement trace information
The position of fixed first separate headset and the second separate headset;First separate headset is switched into L channel, it will be described
Second separate headset switches to right channel;Alternatively, first separate headset is switched to right channel, by the described second independent ear
Machine-cut shifts to L channel;
Wherein, the direction of motion is the azimuth that user faces direction, and the motion track information includes rotating clockwise position
It moves and swing offset counterclockwise;When the user nods and moves, the gyroscope generation in right earphone rotates clockwise displacement,
Gyroscope in left earphone generates swing offset counterclockwise.
2. the method according to claim 1, wherein the sensor includes that electronic compass and acceleration of gravity pass
Sensor.
3. the method according to claim 1, wherein described switch the nothing according to the acceleration of gravity information
The step of channel type of line earphone, comprising:
The position of first separate headset and the second separate headset is determined according to acceleration of gravity information;
First separate headset is switched into L channel, second separate headset is switched into right channel;Alternatively, will be described
First separate headset switches to right channel, and second separate headset is switched to L channel.
4. a kind of mobile terminal, which is characterized in that the mobile terminal has wireless headset, comprising:
Heat transfer agent obtains module, and for obtaining heat transfer agent, and the use heat transfer agent generates the weight of the wireless headset
Power acceleration information, it includes: call instruction sending submodule that the heat transfer agent, which obtains module, for using the nothing in user
During line earphone, call instruction is sent to sensor, obtains the direction of motion and motion track information of the wireless headset;
Acceleration of gravity information generates submodule, for generating the wireless headset using the direction of motion and motion track information
Acceleration of gravity information;
Sound channel control module, for switching the channel type of the wireless headset according to the acceleration of gravity information;
Audio-frequency information output module exports corresponding audio-frequency information for the sound channel based on the wireless headset;
Wherein, the wireless headset include the first separate headset and the second separate headset, the channel type include L channel and
Right channel, the sound channel control module, comprising: head movement track determines submodule, for according to the direction of motion and fortune
Dynamic trace information determines the head movement trace information of user;Left and right earphone determines submodule, for using the head movement
Trace information determines the position of first separate headset and the second separate headset;Sound channel transform subblock, for by described the
One separate headset switches to L channel, and second separate headset is switched to right channel;Alternatively, by first separate headset
Right channel is switched to, second separate headset is switched into L channel;
Wherein, the direction of motion is the azimuth that user faces direction, and the motion track information includes rotating clockwise position
It moves and swing offset counterclockwise;When the user nods and moves, the gyroscope generation in right earphone rotates clockwise displacement,
Gyroscope in left earphone generates swing offset counterclockwise.
5. mobile terminal according to claim 4, which is characterized in that the sensor includes that electronic compass and gravity accelerate
Spend sensor.
6. mobile terminal according to claim 5, which is characterized in that the sound channel control module further include:
First and second earphone determines submodule, for determining first separate headset and second according to acceleration of gravity information
The position of separate headset;
Sound channel switching submodule switches second separate headset for first separate headset to be switched to L channel
To right channel;Alternatively, first separate headset is switched to right channel, second separate headset is switched into L channel.
7. a kind of wireless headset characterized by comprising
Heat transfer agent obtains module, and for obtaining heat transfer agent, and the use heat transfer agent generates the weight of the wireless headset
Power acceleration information, it includes: call instruction sending submodule that the heat transfer agent, which obtains module, for using the nothing in user
During line earphone, call instruction is sent to sensor, obtains the direction of motion and motion track information of the wireless headset;
Acceleration of gravity information generates submodule, for generating the wireless headset using the direction of motion and motion track information
Acceleration of gravity information;
Sound channel control module, for switching the channel type of the wireless headset according to the acceleration of gravity information;
Audio-frequency information output module exports corresponding audio-frequency information for the sound channel based on the wireless headset;
Wherein, the wireless headset include the first separate headset and the second separate headset, the channel type include L channel and
Right channel, the sound channel control module, comprising: head movement track determines submodule, for according to the direction of motion and fortune
Dynamic trace information determines the head movement trace information of user;Left and right earphone determines submodule, for using the head movement
Trace information determines the position of first separate headset and the second separate headset;Sound channel transform subblock, for by described the
One separate headset switches to L channel, and second separate headset is switched to right channel;Alternatively, by first separate headset
Right channel is switched to, second separate headset is switched into L channel;
Wherein, the direction of motion is the azimuth that user faces direction, and the motion track information includes rotating clockwise position
It moves and swing offset counterclockwise;When the user nods and moves, the gyroscope generation in right earphone rotates clockwise displacement,
Gyroscope in left earphone generates swing offset counterclockwise.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710927239.7A CN107801113B (en) | 2017-10-09 | 2017-10-09 | A kind of method, wireless headset and mobile terminal controlling wireless headset sound channel |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710927239.7A CN107801113B (en) | 2017-10-09 | 2017-10-09 | A kind of method, wireless headset and mobile terminal controlling wireless headset sound channel |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107801113A CN107801113A (en) | 2018-03-13 |
CN107801113B true CN107801113B (en) | 2019-11-05 |
Family
ID=61532957
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710927239.7A Active CN107801113B (en) | 2017-10-09 | 2017-10-09 | A kind of method, wireless headset and mobile terminal controlling wireless headset sound channel |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107801113B (en) |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108712697B (en) * | 2018-05-29 | 2020-02-14 | 歌尔科技有限公司 | Wireless earphone and working mode determining method, device, equipment and storage medium thereof |
CN113411702B (en) * | 2020-03-16 | 2024-05-14 | 维沃移动通信有限公司 | Sound channel configuration method and electronic equipment |
CN111629296B (en) * | 2020-05-26 | 2022-07-01 | 维沃移动通信有限公司 | Earphone set |
CN114915888B (en) * | 2021-02-10 | 2023-10-20 | 华为技术有限公司 | Earphone wearing error identification method and related equipment |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7260231B1 (en) * | 1999-05-26 | 2007-08-21 | Donald Scott Wedge | Multi-channel audio panel |
JP2008048115A (en) * | 2006-08-15 | 2008-02-28 | Sony Ericsson Mobilecommunications Japan Inc | Portable terminal device |
CN106358127A (en) * | 2016-09-30 | 2017-01-25 | 维沃移动通信有限公司 | Left and right sound channel switching method and mobile terminal |
CN106791094A (en) * | 2016-12-21 | 2017-05-31 | 努比亚技术有限公司 | A kind of method of mobile terminal and switching right and left sound channel |
CN106851486A (en) * | 2016-11-29 | 2017-06-13 | 维沃移动通信有限公司 | A kind of changing method and mobile terminal of earphone sound channel |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102316394B (en) * | 2010-06-30 | 2014-09-03 | 索尼爱立信移动通讯有限公司 | Bluetooth equipment and audio playing method using same |
CN106375890A (en) * | 2015-07-21 | 2017-02-01 | 杭州纳雄科技有限公司 | Earphones, control method of earphones, and application method of earphones |
CN105228041B (en) * | 2015-09-24 | 2019-08-27 | 联想(北京)有限公司 | A kind of information processing method and audio output device |
-
2017
- 2017-10-09 CN CN201710927239.7A patent/CN107801113B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7260231B1 (en) * | 1999-05-26 | 2007-08-21 | Donald Scott Wedge | Multi-channel audio panel |
JP2008048115A (en) * | 2006-08-15 | 2008-02-28 | Sony Ericsson Mobilecommunications Japan Inc | Portable terminal device |
CN106358127A (en) * | 2016-09-30 | 2017-01-25 | 维沃移动通信有限公司 | Left and right sound channel switching method and mobile terminal |
CN106851486A (en) * | 2016-11-29 | 2017-06-13 | 维沃移动通信有限公司 | A kind of changing method and mobile terminal of earphone sound channel |
CN106791094A (en) * | 2016-12-21 | 2017-05-31 | 努比亚技术有限公司 | A kind of method of mobile terminal and switching right and left sound channel |
Also Published As
Publication number | Publication date |
---|---|
CN107801113A (en) | 2018-03-13 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107801113B (en) | A kind of method, wireless headset and mobile terminal controlling wireless headset sound channel | |
US11681430B2 (en) | Electronic device using auxiliary input device and operating method thereof | |
KR102459521B1 (en) | Apparatus including a touch screen and method for controlling the same | |
CN102843643B (en) | Method and apparatus for showing main screen in the terminal | |
US9778744B2 (en) | Orientation adjustable multi-channel haptic device | |
US10996774B2 (en) | Method and apparatus for providing interoperability between devices | |
CN106101736A (en) | The methods of exhibiting of a kind of virtual present and system | |
JP2014002748A (en) | Remote control device and method for controlling the same | |
KR101990567B1 (en) | Mobile apparatus coupled with external input device and control method thereof | |
US20130342455A1 (en) | Display apparatus, remote controlling apparatus and control method thereof | |
JP2021505092A (en) | Methods and devices for playing audio data | |
CN106488296A (en) | A kind of method and apparatus of display video barrage | |
CN108319445A (en) | A kind of audio frequency playing method and mobile terminal | |
CN109803104A (en) | A kind of record screen method, device and mobile terminal | |
CN110417960A (en) | A kind of method for folding and electronic equipment of foldable touch screen | |
KR101339985B1 (en) | Display apparatus, remote controlling apparatus and control method thereof | |
CN108388396A (en) | A kind of interface switching method and mobile terminal | |
CN109240413A (en) | Screen vocal technique, device, electronic device and storage medium | |
KR20110049275A (en) | Apparatus and method for having object display dial of in portable terminal | |
WO2020253129A1 (en) | Song display method, apparatus and device, and storage medium | |
CN108196781A (en) | The display methods and mobile terminal at interface | |
CN110955378A (en) | Control method and electronic equipment | |
CN107809514B (en) | A kind of exchange method based on wireless headset, wireless headset and mobile terminal | |
KR101867853B1 (en) | Mobile phone and network system comprising thereof | |
CN109343782A (en) | A kind of display methods and 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 |