CN107801113A - A kind of method, wireless headset and mobile terminal for controlling wireless headset sound channel - Google Patents

A kind of method, wireless headset and mobile terminal for controlling wireless headset sound channel Download PDF

Info

Publication number
CN107801113A
CN107801113A CN201710927239.7A CN201710927239A CN107801113A CN 107801113 A CN107801113 A CN 107801113A CN 201710927239 A CN201710927239 A CN 201710927239A CN 107801113 A CN107801113 A CN 107801113A
Authority
CN
China
Prior art keywords
channel
headset
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.)
Granted
Application number
CN201710927239.7A
Other languages
Chinese (zh)
Other versions
CN107801113B (en
Inventor
陈海新
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201710927239.7A priority Critical patent/CN107801113B/en
Publication of CN107801113A publication Critical patent/CN107801113A/en
Application granted granted Critical
Publication of CN107801113B publication Critical patent/CN107801113B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R1/00Details of transducers, loudspeakers or microphones
    • H04R1/10Earpieces; Attachments therefor ; Earphones; Monophonic headphones
    • H04R1/1041Mechanical or electronic switches, or control elements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R2420/00Details of connection covered by H04R, not provided for in its groups
    • H04R2420/05Detection 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 embodiments of the invention provide a kind of method, wireless headset and mobile terminal for controlling wireless headset sound channel, methods described includes:Heat transfer agent is obtained, and the acceleration of gravity information of the wireless headset is generated 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.Realize when wireless headset is worn pleasant middle by user, wireless headset can automatically switch, and sound channel is next normally to listen to multichannel audio, so as to avoid the sound field entanglement caused by non-corresponding sound channel plays audio-frequency information, and then improves service efficiency and Consumer's Experience.

Description

A kind of method, wireless headset and mobile terminal for controlling wireless headset sound channel
Technical field
The present invention relates to field of data transmission, more particularly to a kind of method for controlling wireless headset sound channel, a kind of wireless ear Machine and a kind of mobile terminal.
Background technology
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 with 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 by one of peripheral product of people's favor.The appearance of wireless communication earphone, people are allowed to break away from the constraint of wired earphone.
During user wears wireless headset, often can it is wrong the earphone of non-corresponding sound channel wear it is pleasant in, for example, by the right side Sound channel earphone is worn into left ear, or, L channel earphone is worn into auris dextra, because in existing wireless headset mostly, to user 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 wear it is pleasant in, if mistake the earphone of non-corresponding sound channel wear it is pleasant it is middle broadcasting multichannel audio text Part, sound field entanglement can be caused, also, some wireless headset sound channels are all fixed, this just causes user in mistake non-corresponding sound , it is necessary to re-start wearing to wireless headset correct sound channel could be used normally to listen to multichannel sound when the earphone in road wears pleasant middle Frequently, so as to reducing service efficiency, and, poor user experience.
Although having had the wireless headset that can adjust sound channel now, how according to user wear wireless headset Identify the left and right ear of user, and accordingly adjust the L channel and R channel of wireless headset so that audio can be from correct Sound channel output, be still urgent problem to be solved.
The content 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 can not export from the correct sound channel of wireless headset.
First aspect, there is provided a kind of method for controlling wireless headset sound channel, methods described is applied to mobile terminal, described Method includes:
Heat transfer agent is obtained, and the acceleration of gravity information of the wireless headset is generated 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 of the heat transfer agent generation wireless headset The step of spending information includes:
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 R channel, it is described switch the wireless headset according to the acceleration of gravity information channel type the step of 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 R channel;Or will First separate headset switches to R channel, and second separate headset is switched into L channel.
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 R channel, it is described switch the wireless headset according to acceleration of gravity information channel type the step of include:
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 R channel;Or will First separate headset switches to R channel, and second separate headset is switched into L channel.
Second aspect, there is provided a kind of mobile terminal, the mobile terminal include:
Heat transfer agent acquisition module, the wireless headset is generated 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, corresponding audio-frequency information is exported for the sound channel based on the wireless headset.
Preferably, the heat transfer agent acquisition module includes:
Call instruction sending submodule, for sending call instruction to the sensor, obtain the fortune of the wireless headset 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 R channel, the sound channel control module include:
First and second earphone determination sub-module, 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 into L channel, by second separate headset Switch to R channel;Or first separate headset is switched into R channel, second separate headset is switched into left sound Road.
Preferably, first and second described earphone determination sub-module can include following subelement:
Head movement track determining unit, for determining the head movement of user according to the direction of motion and motion track information Trace information;
Left and right earphone determining unit, for determining the first separate headset and second only using the head movement trace information The position of crect ear machine;
Sound channel switch unit, for first separate headset to be switched into L channel, second separate headset is cut Shift to R channel;Or first separate headset is switched into R channel, second separate headset is switched into left sound Road.
A kind of third aspect, there is provided wireless headset, it is characterised in that including:
Heat transfer agent acquisition module, the wireless headset is generated 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, corresponding audio-frequency information is exported for the sound channel based on the wireless headset.
So, generated in actual applications with the embodiment of the present invention by obtaining the heat transfer agent of sensor offer The acceleration of gravity information of wireless headset, and according to the sound channel of acceleration of gravity information control wireless headset, based on 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 normally listens to multichannel audio, so as to avoid the sound field entanglement caused by non-corresponding sound channel plays audio-frequency information, and then Improve service efficiency and Consumer's Experience.
Brief description of the drawings
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 The accompanying drawing needed to use is briefly described, it should be apparent that, drawings in the following description are only some implementations of the present invention Example, for those of ordinary skill in the art, without having to pay creative labor, can also be according to these accompanying drawings Obtain other accompanying 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 structured flowchart 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 representation of the mobile terminal of another embodiment of the invention;
Fig. 6 is the structured flowchart of the wireless headset of fifth embodiment of the invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Site preparation describes, it is clear that described embodiment is part of the embodiment of the present invention, rather than whole embodiments.Based on this hair Embodiment in bright, the every other implementation that those of ordinary skill in the art are obtained under the premise of creative work is not made Example, belongs to the scope of protection of the invention.
First embodiment
Reference picture 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 comprise the following steps:
Step 101, heat transfer agent is obtained, and the acceleration of gravity letter of the wireless headset is generated using the heat transfer agent Breath;
In actual applications, the embodiment of the present invention can apply in multi-track radio earphone.Wherein, wireless headset bag Include, Bluetooth wireless earphone, Infrared wireless earphone, 2.4G wireless headsets etc..
Multi-sound-channel earphone refers to reproduce the direction of each sound source of sound original signal in the playback of simulating stereo sound field, uses There are a kind of earphone for the sensation surrounded by the sound from different directions, the earphone at least two sound channels in family.
In embodiments of the present invention, heat transfer agent can be obtained in the following way, and it is wireless using heat transfer agent generation The acceleration of gravity information of earphone:Call instruction is sent to the sensor, the direction of motion of wireless headset is obtained and moves rail Mark information;Using the direction of motion and the acceleration of gravity information of motion track information generation wireless headset.
In a preferred embodiment of the invention, wireless headset can have the direction of motion for being used for obtaining wireless headset With the sensor of movement locus, specifically, sensor can include electronic compass.
In actual applications, the embodiment of the present invention can be used by by three-dimensional magnetoresistive transducer, double-shaft tilt angle sensor, And the electronic compass that is formed of MCU (Microcontroller Unit, micro-control unit) obtains the motion side of wireless headset To.
When in the specific implementation, the embodiment of the present invention uses wireless headset in user, the electronics that is configured in wireless headset Compass measures magnetic field of the earth first with galvanomagnetic-effect by three-dimensional magnetoresistive transducer, and judges whether three-dimensional magnetoresistive transducer is in Horizontality, when three-dimensional magnetoresistive transducer is in non-standard state, carried out using double-shaft tilt angle sensor in magnetoresistive transducer Level compensating, finally carried out using the MCU signals exported to three-dimensional magnetoresistive transducer and double-shaft tilt angle sensor and data Soft iron, hard iron compensation, so as to calculate the direction of motion at the azimuth that user currently faces direction, i.e. wireless headset.
In presently preferred ground embodiment, sensor can include gravity accelerometer.
In actual applications, the embodiment of the present invention can be, but not limited to use gyroscope or G-sensor (Gravity- Sensor, gravity sensor) it is used as gravity accelerometer.
In the specific implementation, the embodiment of the present invention when head shakes, is matched somebody with somebody 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 abutment 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 generation with the component of active force in vertical direction and make a concerted effort, force action in Increase the inclined direction of gravity accelerometer (vertical direction), cause gravity accelerometer also to send out in vertical direction Raw precession of the equinoxes motion, gravity accelerometer can go out the movement locus 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, the meridian direction of the rotary body of gyro into horizontal plane produce the precession of the equinoxes and moved.
Certainly, above-mentioned example example for reference only, those skilled in the art can also pass through other according to being actually needed Mode obtains the movement locus of wireless headset, and this present invention is not restricted.
Step 102, the channel type of the wireless headset is switched 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;It is only by first Crect ear machine-cut shifts to L channel, and the second separate headset is switched into R channel;Or the first separate headset is switched into right sound Road, the second separate headset is switched into L channel.
In actual applications, the wireless headset of the embodiment of the present invention can 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 State the channel type of wireless headset:The head movement trace information of user is determined according to the direction of motion and motion track information;Adopt 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 Sound channel, the second separate headset is switched into R channel;Or the first separate headset is switched into R channel, by the second independent ear Machine-cut shifts to L channel.
With reference to figure 2, Fig. 2 is the head movement track schematic diagram with the embodiment of the present invention, user nod motion when, it is right Gyroscope in earphone can turn clockwise displacement, and similarly, rotate counterclockwise displacement can occur for the gyroscope in left earphone, For gyroscope after the displacement of wireless headset is got, the drift angle according to caused by displacement can calculate the motion rail of head movement Mark, the movement locus of electronic compass combination head movement is it may determine that go out the direction of motion of user, and then judge a user left side 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 specific implementation, the wireless headset of the embodiment of the present invention can play left audio information in left earphone, Right audio channel information is played in right earphone.
The embodiment of the present invention is used in actual applications, and wireless ear is generated by obtaining the heat transfer agent of sensor offer 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 controlled sound channel Go out corresponding audio-frequency information, realize when wireless headset is worn pleasant middle by user, wireless headset can automatically switch sound channel come Multichannel audio normally is listened to, so as to avoid the sound field entanglement caused by non-corresponding sound channel plays audio-frequency information, and then is improved Service efficiency and Consumer's Experience.
It should be noted that for embodiment of the method, in order to be briefly described, therefore it is all expressed as to a series of action group Close, but those skilled in the art should know, the embodiment of the present invention is not limited by described sequence of movement, because according to According to the embodiment of the present invention, some steps can use other orders or carry out simultaneously.Secondly, those skilled in the art also should Know, embodiment described in this description belongs to preferred embodiment, and the involved action not necessarily present invention is implemented Necessary to example.
Second embodiment
Reference picture 3, the structured flowchart of the mobile terminal of one embodiment of the invention is shown, the mobile terminal 300 is specific Following module can be included:
Heat transfer agent acquisition module 301, the wireless ear is generated 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, corresponding audio-frequency information is exported for the sound channel based on the wireless headset.
In a preferred embodiment of the invention, the heat transfer agent acquisition module 301 can include following submodule:
Call instruction sending submodule, for sending call instruction to the sensor, obtain the fortune of the wireless headset 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 can include following submodule:
First and second earphone determination sub-module, 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 into L channel, by second separate headset Switch to R channel;Or first separate headset is switched into R channel, second separate headset is switched into left sound Road.
In a preferred embodiment of the invention, first and second described earphone determination sub-module can include following son Unit:
Head movement track determining unit, for determining the head movement of user according to the direction of motion and motion track information Trace information;
Left and right earphone determining unit, for determining the first separate headset and second only using the head movement trace information The position of crect ear machine;
Sound channel switch unit, for first separate headset to be switched into L channel, second separate headset is cut Shift to R channel;Or first separate headset is switched into R channel, second separate headset is switched into left sound Road.
The embodiment of the present invention is used in actual applications, and wireless ear is generated by obtaining the heat transfer agent of sensor offer 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 controlled sound channel Go out corresponding audio-frequency information, realize when wireless headset is worn pleasant middle by user, wireless headset can automatically switch sound channel come Multichannel audio normally is listened to, so as to avoid the sound field entanglement caused by non-corresponding sound channel plays audio-frequency information, and then is improved Service efficiency and Consumer's Experience.
For mobile terminal embodiment, because 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 Each component is coupled by bus system 405.It is understood that bus system 405 is used to realize the company between these components Connect letter.Bus system 405 is in addition to including data/address bus, in addition to power bus, controlling bus and status signal bus in addition.But It is for the sake of clear explanation, various buses is all designated as bus system 405 in Fig. 4.
Wherein, user interface 403 can 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, Or it may include both volatibility and nonvolatile memory.Wherein, nonvolatile memory can be read-only storage (Read- OnlyMemory, ROM), programmable read only memory (ProgrammableROM, PROM), Erasable Programmable Read Only Memory EPROM (ErasablePROM, EPROM), Electrically Erasable Read Only Memory (ElectricallyEPROM, EEPROM) dodge Deposit.Volatile memory can be random access memory (RandomAccessMemory, RAM), and it is used as outside slow at a high speed Deposit.By exemplary but be not restricted explanation, the RAM of many forms can use, such as static RAM (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 these memories with any other suitable type.
In some embodiments, memory 402 stores following element, can perform module or data structure, or Their subset of person, or their superset:Operating system 4021 and application program 4022.
Wherein, operating system 4021, comprising various system programs, such as ccf layer, core library layer, driving layer etc., it is used for Realize various basic businesses and the hardware based task of processing.Application program 4022, include 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 calling program or the instruction of the storage of memory 402, specifically, can be application The program stored in program 4022 or instruction, processor 401 are used to obtain heat transfer agent, and using heat transfer agent generation institute 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 apply in processor 401, or be realized by processor 401. Processor 401 is probably a kind of IC chip, has the disposal ability of signal.In implementation process, 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), application specific integrated circuit (ApplicationSpecific IntegratedCircuit, ASIC), ready-made programmable gate array (FieldProgrammableGateArray, FPGA) either other PLDs, discrete gate or transistor logic Device, discrete hardware components.It can realize or perform disclosed each method, step and the box in the embodiment of the present invention Figure.General processor can be microprocessor or the processor can also be any conventional processor etc..With reference to the present invention The step of method disclosed in embodiment, can be embodied directly in hardware decoding processor and perform completion, or use decoding processor In hardware and software module combination perform completion.Software module can be located at random access memory, and flash memory, read-only storage can In the ripe storage medium in this area such as program read-only memory or electrically erasable programmable memory, register.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 with reference to its hardware Suddenly.
It is understood that the embodiment of the present invention description these embodiments can use hardware, software, firmware, middleware, Microcode or its combination are realized.Realized for hardware, processing unit can be realized in one or more application specific integrated circuits (ApplicationSpecificIntegratedCircuits, 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 performing herein described function In member or its combination.
For software realize, can by perform the module (such as process, function etc.) of function described in the embodiment of the present invention come Realize the technology described in the embodiment of the present invention.Software code is storable in memory and passes through computing device.Memory can To realize within a processor or outside processor.
Alternatively, processor 401 is additionally operable to:Call instruction is sent to the wireless headset, the call instruction is used to adjust With the sensor, the direction of motion and movement locus of the wireless headset are obtained.
Alternatively, processor 401 is additionally operable to:Call instruction is sent to the sensor, obtains the fortune of the wireless headset Dynamic direction and motion track information.
Alternatively, processor 401 is additionally operable to:The wireless headset is generated using the direction of motion and motion track information Acceleration of gravity information.
Alternatively, processor 401 is additionally operable to:First separate headset and second only is determined according to acceleration of gravity information The position of crect ear machine.
Alternatively, processor 401 is additionally operable to:First separate headset is switched into L channel, it is independent by described second Earphone switches to R channel;Or first separate headset is switched into R channel, second separate headset is switched to L channel.
Alternatively, processor 401 is additionally operable to:The head movement rail of user is determined according to the direction of motion and motion track information Mark information.
Alternatively, processor 401 is additionally operable to:First separate headset and second are determined using the head movement trace information The position of separate headset.
Alternatively, processor 401 is additionally operable to:First separate headset is switched into L channel, it is independent by described second Earphone switches to R channel;Or first separate headset is switched into R channel, second separate headset is switched to L channel.
Mobile terminal 400 can realize each process that mobile terminal is realized in previous embodiment, to avoid repeating, here Repeat no more.
For the embodiment of mobile terminal 400, because it is substantially similar to embodiment of the method, 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 actual applications, and wireless ear is generated by obtaining the heat transfer agent of sensor offer 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 controlled sound channel Go out corresponding audio-frequency information, realize when wireless headset is worn pleasant middle by user, wireless headset can automatically switch sound channel come Multichannel audio normally is listened to, so as to avoid the sound field entanglement caused by non-corresponding sound channel plays audio-frequency information, and then is improved Service efficiency and Consumer's Experience.
Fourth embodiment
Fig. 5 is the structural representation of the mobile terminal of another embodiment of the present invention.Specifically, the mobile terminal in Fig. 5 500 can be mobile phone, tablet personal 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 block 530 can be used for the numeral or character information for receiving user's input, and generation and mobile terminal The signal input that 500 user is set and function control is relevant.Specifically, in the embodiment of the present invention, the input block 530 can With including contact panel 531.Contact panel 531, also referred to as touch-screen, collect touch operation of the user on or near it (for example user uses the operations of any suitable object or annex on contact panel 531 such as finger, stylus), and according to advance The formula of setting drives corresponding attachment means.Optionally, contact panel 531 may include touch detecting apparatus and touch controller Two parts.Wherein, the touch orientation of touch detecting apparatus detection user, and the signal that touch operation is brought is detected, by signal Send touch controller to;Touch controller receives touch information from touch detecting apparatus, and is converted into contact coordinate, Give the processor 560 again, and the order sent of reception processing device 560 and can be performed.Furthermore, it is possible to using resistance-type, The polytypes such as condenser type, infrared ray and surface acoustic wave realize contact panel 531.Except contact panel 531, input block 530 can also include other input equipments 532, and other input equipments 532 can include but is not limited to physical keyboard, function key One or more in (such as volume control button, switch key etc.), trace ball, mouse, action bars etc..
Wherein, display unit 540 can be used for display by the information of user's input or be supplied to information and the movement of user The various menu interfaces of terminal 500.Display unit 540 may include display panel 541, optionally, can use LCD or organic hairs The forms such as optical diode (OrganicLight-EmittingDiode, OLED) configure display panel 541.
It should be noted that contact panel 531 can cover display panel 541, touch display screen is formed, when the touch display screen is examined After measuring the touch operation on or near it, 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 conventional control viewing area.The Application Program Interface viewing area And arrangement mode of the conventional 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 element such as the icon comprising at least one application program and/or widget desktop controls.The Application Program Interface viewing area It can also be the empty interface not comprising any content.The conventional control viewing area is used to show the higher control of utilization rate, for example, Application icons such as settings button, interface numbering, scroll bar, phone directory icon etc..
Wherein processor 560 is the control centre of mobile terminal 500, utilizes various interfaces and connection whole mobile phone Various pieces, by running or performing the software program and/or module that are stored in first memory 521, and call storage Data in second memory 522, the various functions and processing data of mobile terminal 500 are performed, so as 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 are used to obtain heat transfer agent, and using heat transfer agent generation institute 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.
Alternatively, processor 560 is additionally operable to:Call instruction is sent to the wireless headset, the call instruction is used to adjust With the sensor, the direction of motion and movement locus of the wireless headset are obtained.
Alternatively, processor 560 is additionally operable to:Call instruction is sent to the sensor, obtains the fortune of the wireless headset Dynamic direction and motion track information.
Alternatively, processor 560 is additionally operable to:The wireless headset is generated using the direction of motion and motion track information Acceleration of gravity information.
Alternatively, processor 560 is additionally operable to:First separate headset and second only is determined according to acceleration of gravity information The position of crect ear machine.
Alternatively, processor 560 is additionally operable to:First separate headset is switched into L channel, it is independent by described second Earphone switches to R channel;Or first separate headset is switched into R channel, second separate headset is switched to L channel.
Alternatively, processor 560 is additionally operable to:The head movement rail of user is determined according to the direction of motion and motion track information Mark information.
Alternatively, processor 560 is additionally operable to:First separate headset and second are determined using the head movement trace information The position of separate headset.
Alternatively, processor 560 is additionally operable to:First separate headset is switched into L channel, it is independent by described second Earphone switches to R channel;Or first separate headset is switched into R channel, second separate headset is switched to L channel.
For the embodiment of mobile terminal 500, because it is substantially similar to embodiment of the method, so the comparison of description is simple Single, the relevent part can refer to the partial explaination of embodiments of method.
It can be seen that generated in actual applications with the embodiment of the present invention by obtaining the heat transfer agent of sensor offer The acceleration of gravity information of wireless headset, and according to the sound channel of acceleration of gravity information control wireless headset, based on 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 normally listens to multichannel audio, so as to avoid the sound field entanglement caused by non-corresponding sound channel plays audio-frequency information, and then Improve service efficiency and Consumer's Experience.
Those of ordinary skill in the art it is to be appreciated that with reference to disclosed in the embodiment of the present invention embodiment description it is each The unit and algorithm steps of example, it can be realized with the combination of electronic hardware or computer software and electronic hardware.These Function is performed with hardware or software mode actually, application-specific and design constraint depending on technical scheme.Specialty Technical staff can realize described function using distinct methods to each specific application, but this realization should not 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, the corresponding process in preceding method embodiment is may be referred to, will not be repeated here.
In embodiment provided herein, it should be understood that disclosed apparatus and method, others can be passed through Mode is realized.For example, device embodiment described above is only schematical, for example, the division of the unit, is only A kind of division of logic function, can there is an other dividing mode when actually realizing, for example, multiple units or component can combine or Person is desirably integrated into another system, or some features can be ignored, or does not perform.Another, shown or discussed is mutual Between coupling or direct-coupling or communication connection can be INDIRECT COUPLING or communication link by some interfaces, device or unit Connect, can be electrical, mechanical or other forms.
The unit illustrated as separating component can be or may not be physically separate, show as unit The part shown can be or may not be physical location, you can with positioned at a place, or can also be distributed to multiple On NE.Some or all of unit therein can be selected to realize the mesh of this embodiment scheme according to the actual needs 's.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, can also That unit is individually physically present, can also two or more units it is integrated in a unit.
If the function is realized in the form of SFU software functional unit and is used as independent production marketing or in use, can be with It is stored in a computer read/write memory medium.Based on such understanding, technical scheme is substantially in other words The part to be contributed to prior art or the part of the technical scheme can be embodied in the form of software product, the meter Calculation machine software product is stored in a storage medium, including some instructions are causing a computer equipment (can be People's computer, server, or network equipment etc.) perform all or part of step of each embodiment methods described of the present invention. And foregoing storage medium includes:USB flash disk, mobile hard disk, ROM, RAM, magnetic disc or CD etc. are various can be with store program codes Medium.
The foregoing is only a specific embodiment of the invention, but protection scope of the present invention is not limited thereto, any Those familiar with the art the invention discloses technical scope in, change or replacement can be readily occurred in, should all be contained Cover within protection scope of the present invention.Therefore, protection scope of the present invention should be defined by scope of the claims.
5th embodiment
Reference picture 6, the structured flowchart of the wireless headset of one embodiment of the invention is shown, the wireless headset 600 is specific Following module can be included:
Heat transfer agent acquisition module 601, the wireless ear is generated 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, corresponding audio-frequency information is exported for the sound channel based on the wireless headset.
The embodiment of the present invention is used in actual applications, and wireless ear is generated by obtaining the heat transfer agent of sensor offer 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 controlled sound channel Go out corresponding audio-frequency information, realize when wireless headset is worn pleasant middle by user, wireless headset can automatically switch sound channel come Multichannel audio normally is listened to, so as to avoid the sound field entanglement caused by non-corresponding sound channel plays audio-frequency information, and then is improved Service efficiency and Consumer's Experience.
For wireless headset embodiment, because 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 (10)

1. a kind of method for controlling wireless headset sound channel, applied to mobile terminal, it is characterised in that the wireless headset, which has, to be passed Sensor, methods described include:
Heat transfer agent is obtained, and the acceleration of gravity information of the wireless headset is generated 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.
2. according to the method for claim 1, it is characterised in that the acquisition heat transfer agent, and use the heat transfer agent The step of acceleration of gravity information for generating the wireless headset, includes:
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.
3. according to the method for claim 1, it is characterised in that the sensor includes electronic compass and acceleration of gravity passes Sensor.
4. according to the method for claim 1, it is characterised in that the wireless headset is only including the first separate headset and second Crect ear machine, the channel type includes L channel and R channel, described described wireless according to acceleration of gravity information switching The step of channel type of earphone, includes:
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 R channel;Or by described in First separate headset switches to R channel, and second separate headset is switched into L channel.
5. according to the method for claim 2, it is characterised in that the wireless headset is only including the first separate headset and second Crect ear machine, the channel type includes L channel and R channel, described to switch the wireless headset according to acceleration of gravity information Channel type the step of include:
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 R channel;Or by described in First separate headset switches to R channel, and second separate headset is switched into L channel.
A kind of 6. mobile terminal, it is characterised in that the mobile terminal has wireless headset, including:
Heat transfer agent acquisition module, for obtaining heat transfer agent, and using the weight of the heat transfer agent generation wireless headset Power acceleration 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, corresponding audio-frequency information is exported for the sound channel based on the wireless headset.
7. mobile terminal according to claim 6, it is characterised in that the heat transfer agent acquisition module includes:
Call instruction sending submodule, for sending call instruction to the sensor, obtain the motion side of the wireless headset To and motion track information;
Acceleration of gravity information generates submodule, for generating the wireless ear using the direction of motion and motion track information The acceleration of gravity information of machine.
8. mobile terminal according to claim 6, it is characterised in that the sensor includes electronic compass and gravity accelerates Spend sensor.
9. mobile terminal according to claim 6, it is characterised in that the wireless headset includes the first separate headset and the Two separate headsets, the channel type include L channel and R channel, and the sound channel control module includes:
First and second earphone determination sub-module, for determining first separate headset and second according to acceleration of gravity information The position of separate headset;
Sound channel switching submodule, for first separate headset to be switched into L channel, second separate headset is switched To R channel;Or first separate headset is switched into R channel, second separate headset is switched into L channel.
A kind of 10. wireless headset, it is characterised in that including:
Heat transfer agent acquisition module, for obtaining heat transfer agent, and using the weight of the heat transfer agent generation wireless headset Power acceleration 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, corresponding audio-frequency information is exported for the sound channel based on the wireless headset.
CN201710927239.7A 2017-10-09 2017-10-09 A kind of method, wireless headset and mobile terminal controlling wireless headset sound channel Active CN107801113B (en)

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 true CN107801113A (en) 2018-03-13
CN107801113B 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)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108712697A (en) * 2018-05-29 2018-10-26 歌尔科技有限公司 Wireless headset and its operating mode determine method, apparatus, equipment, storage medium
CN113411702A (en) * 2020-03-16 2021-09-17 维沃移动通信有限公司 Sound channel configuration method and electronic equipment
WO2021238730A1 (en) * 2020-05-26 2021-12-02 维沃移动通信有限公司 Earphone
CN114915888A (en) * 2021-02-10 2022-08-16 华为技术有限公司 Earphone wearing error recognition method and related equipment

Citations (8)

* Cited by examiner, † Cited by third party
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
CN102316394A (en) * 2010-06-30 2012-01-11 索尼爱立信移动通讯有限公司 Bluetooth equipment and the audio frequency playing method that utilizes this bluetooth equipment
CN105228041A (en) * 2015-09-24 2016-01-06 联想(北京)有限公司 A kind of information processing method and audio output device
CN106358127A (en) * 2016-09-30 2017-01-25 维沃移动通信有限公司 Left and right sound channel switching method and mobile terminal
CN106375890A (en) * 2015-07-21 2017-02-01 杭州纳雄科技有限公司 Earphones, control method of earphones, and application method of earphones
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

Patent Citations (8)

* Cited by examiner, † Cited by third party
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
CN102316394A (en) * 2010-06-30 2012-01-11 索尼爱立信移动通讯有限公司 Bluetooth equipment and the audio frequency playing method that utilizes this bluetooth equipment
CN106375890A (en) * 2015-07-21 2017-02-01 杭州纳雄科技有限公司 Earphones, control method of earphones, and application method of earphones
CN105228041A (en) * 2015-09-24 2016-01-06 联想(北京)有限公司 A kind of information processing method and audio output 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

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108712697A (en) * 2018-05-29 2018-10-26 歌尔科技有限公司 Wireless headset and its operating mode determine method, apparatus, equipment, storage medium
CN108712697B (en) * 2018-05-29 2020-02-14 歌尔科技有限公司 Wireless earphone and working mode determining method, device, equipment and storage medium thereof
CN113411702A (en) * 2020-03-16 2021-09-17 维沃移动通信有限公司 Sound channel configuration method and electronic equipment
CN113411702B (en) * 2020-03-16 2024-05-14 维沃移动通信有限公司 Sound channel configuration method and electronic equipment
WO2021238730A1 (en) * 2020-05-26 2021-12-02 维沃移动通信有限公司 Earphone
CN114915888A (en) * 2021-02-10 2022-08-16 华为技术有限公司 Earphone wearing error recognition method and related equipment
WO2022170925A1 (en) * 2021-02-10 2022-08-18 华为技术有限公司 Earphone incorrect wear identification method and related device
CN114915888B (en) * 2021-02-10 2023-10-20 华为技术有限公司 Earphone wearing error identification method and related equipment
EP4274261A4 (en) * 2021-02-10 2024-05-29 Huawei Technologies Co., Ltd. Earphone incorrect wear identification method and related device

Also Published As

Publication number Publication date
CN107801113B (en) 2019-11-05

Similar Documents

Publication Publication Date Title
CN102843643B (en) Method and apparatus for showing main screen in the terminal
CN107801113B (en) A kind of method, wireless headset and mobile terminal controlling wireless headset sound channel
KR101990567B1 (en) Mobile apparatus coupled with external input device and control method thereof
CN104869465B (en) video playing control method and device
CN107623776A (en) A kind of method for controlling volume, system and mobile terminal
CN107369459A (en) A kind of audio-frequency processing method and mobile terminal
CN107423018B (en) A kind of multi-screen display method and terminal
CN107071174A (en) A kind of method of speech processing and mobile terminal
CN106303789A (en) A kind of way of recording, earphone and mobile terminal
CN106488296A (en) A kind of method and apparatus of display video barrage
CN106161804A (en) A kind of audio play control method and mobile terminal
CN106445340A (en) Method and device for displaying stereoscopic image by double-screen terminal
CN107743279A (en) A kind of earphone noise-reduction method, earphone and mobile terminal
CN106648538B (en) A kind of audio frequency playing method and mobile terminal of mobile terminal
CN107819922A (en) Relaying method of adjustment, wireless headset and the mobile terminal of a kind of wireless headset
CN109803104A (en) A kind of record screen method, device and mobile terminal
CN106101409A (en) A kind of mobile terminal and control method
CN108388396A (en) A kind of interface switching method and mobile terminal
CN109240413A (en) Screen vocal technique, device, electronic device and storage medium
CN107819931A (en) A kind of audio frequency playing method and mobile terminal based on wireless headset
CN107087283A (en) A kind of method and terminal for monitoring beacon frame
CN107124656A (en) The player method and mobile terminal of a kind of multimedia file
CN108268395A (en) A kind of method and mobile terminal of data communication
CN107003758A (en) ghost point processing method and user equipment
CN107172486A (en) A kind of video encoding/decoding method 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