CN106254993B - A kind of earphone left and right acoustic channels self-adaptation control method and device - Google Patents
A kind of earphone left and right acoustic channels self-adaptation control method and device Download PDFInfo
- Publication number
- CN106254993B CN106254993B CN201610855245.1A CN201610855245A CN106254993B CN 106254993 B CN106254993 B CN 106254993B CN 201610855245 A CN201610855245 A CN 201610855245A CN 106254993 B CN106254993 B CN 106254993B
- Authority
- CN
- China
- Prior art keywords
- target headset
- earphone
- terminal
- sound channel
- target
- Prior art date
Links
- 230000000875 corresponding Effects 0.000 claims abstract description 11
- 238000004891 communication Methods 0.000 claims description 36
- 230000005540 biological transmission Effects 0.000 claims description 19
- 230000003044 adaptive Effects 0.000 claims description 18
- 240000006409 Acacia auriculiformis Species 0.000 claims description 14
- 230000001960 triggered Effects 0.000 claims description 4
- 230000006399 behavior Effects 0.000 claims description 2
- 230000000694 effects Effects 0.000 abstract description 10
- 238000010586 diagrams Methods 0.000 description 16
- 238000003860 storage Methods 0.000 description 11
- 238000000034 methods Methods 0.000 description 8
- 230000001702 transmitter Effects 0.000 description 4
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reactions Methods 0.000 description 3
- 230000001808 coupling Effects 0.000 description 2
- 238000005516 engineering processes Methods 0.000 description 2
- 230000011664 signaling Effects 0.000 description 2
- 238000000151 deposition Methods 0.000 description 1
- 238000009434 installation Methods 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 238000000926 separation method Methods 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04R—LOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
- H04R1/00—Details of transducers, loudspeakers or microphones
- H04R1/10—Earpieces; Attachments therefor ; Earphones; Monophonic headphones
Abstract
Description
Technical field
The present invention relates to the communications fields, and in particular to a kind of earphone left and right acoustic channels self-adaptation control method and device.
Background technique
Currently, more and more people like glad on the portable players such as mobile phone, MP3 and MP4 and on laptop Appreciate music and viewing film and television.User is appreciating music using laptop and portable player and watches film and television When can slotting ear machine, from stereo 5.1 sound channels till now of early stage, the development of sound equipment provides better sense of hearing sense to people By.
But currently, the left and right acoustic channels of notebook and portable player will not place corresponding adjustment according to the left and right of earphone The output of left and right acoustic channels, this makes troubles to user.Moreover, for stereophone, although above a left side can be marked with L and R The right side allows user oneself to distinguish, but user often ignores or do not see in the dark when inserting an earphone into ear Etc. reasons cause regardless of left and right, directly take up and just fill in ear, in this case, will occur when watching movie automobile from The sound that the left side of screen is driven towards the right and heard is to influence the audio experience of user the case where driving towards the left side from the right
Summary of the invention
The embodiment of the invention provides a kind of earphone left and right acoustic channels self-adaptation control method and devices, to realize that user exists Left and right acoustic channels are not needed to distinguish before wearing earphone, i.e., wear earphone in any case, the voice signal of the left and right acoustic channels of acquisition is always Correctly, user's auditory effect is promoted.
First aspect of the embodiment of the present invention provides a kind of earphone sound channel self-adaptation control method, and the earphone is divided into the first ear Machine and the second earphone, which comprises
Terminal receives the control signal that target headset is sent, wherein the target headset is first earphone or described Second earphone, the target headset include loudspeaker and at least two pressure sensors, end described in the target headset pre-connection The first sound channel circuit at end, the second sound channel of terminal described in another earphone pre-connection in the earphone in addition to the target headset Circuit, the control signal are pressure sensor productions when detecting the wearing position of the target headset of the target headset Raw;
The terminal judges the wearing position of the target headset based on control signal;
First sound channel circuit of the terminal that terminal detection is connect with the target headset whether with the target The wearing position of earphone matches;
If the terminal detects the first sound channel circuit and the target headset for the terminal connecting with the target headset Wearing position mismatch, the sound channel circuit for the terminal connecting with the target headset is cut by the first sound channel circuit Shift to second sound channel circuit.
Optionally, before the terminal receives the control signal that target headset is sent, the method also includes:
Terminal executes the control for receiving target headset and sending when detecting the presence of earphone and the terminal establishes connection The step of signal processed.
Optionally, the first sound channel circuit of the terminal that terminal detection is connect with the target headset whether with the mesh After the wearing position matching for marking earphone, the method also includes:
If the terminal detect the terminal being connect with the target headset the first sound channel circuit and the target The wearing position of earphone mismatches, by the sound channel for the terminal connecting with another earphone in the earphone in addition to the target headset Circuit switches to the first sound channel circuit by the second sound channel circuit.
Second aspect of the embodiment of the present invention provides a kind of earphone sound channel self-adaptation control method, and the earphone is divided into the first ear Machine and the second earphone, which comprises
Target headset detects the wearing position of the target headset, wherein the target headset be first earphone or Second earphone, the target headset include loudspeaker and at least two pressure sensors, the target headset pre-connection institute State the first sound channel circuit of terminal, second of terminal described in another earphone pre-connection in the earphone in addition to the target headset Sound channel circuit;
The target headset is based on the wearing position and generates control signal;
The control signal is sent to the terminal connecting with the target headset by the target headset, so that the terminal The wearing position that the target headset is judged based on the control signal, detects the first of the terminal connecting with the target headset Whether sound channel circuit matches with the wearing position of the target headset, if the terminal detects the end connecting with the target headset The first sound channel circuit at end and the wearing position of the target headset mismatch, by the sound for the terminal connecting with the target headset Road circuit switches to second sound channel circuit by the first sound channel circuit.
Optionally, before the wearing position that the target headset detects the target headset, the method also includes:
The target headset detect establish connection with the terminal when, execute the pendant of the detection target headset The step of wearing position.
The third aspect of the embodiment of the present invention provides a kind of earphone sound channel adaptive controller, and the earphone is divided into the first ear Machine and the second earphone, described device include:
Receiving unit, for receiving the control signal of target headset transmission, wherein the target headset is first ear Machine or second earphone, the target headset include loudspeaker and at least two pressure sensors, and the target headset connects in advance Connect the first sound channel circuit of the terminal, terminal described in another earphone pre-connection in the earphone in addition to the target headset Second sound channel circuit, the control signal is the pressure sensor of the target headset in the wearing for detecting the target headset It is generated when position;
Judging unit, for judging the wearing position of the target headset based on control signal;
Detection unit, for detect the terminal being connect with the target headset the first sound channel circuit whether with it is described The wearing position of target headset matches;
Switch unit, if detecting the first sound channel electricity for the terminal connecting with the target headset for the detection unit The wearing position of road and the target headset mismatches, by the sound channel circuit for the terminal connecting with the target headset by institute It states the first sound channel circuit and switches to second sound channel circuit.
Optionally, described device further include:
Trigger unit, before the control signal that the receiving unit receives that target headset is sent, for depositing detecting When earphone and the terminal establish connection, triggers the receiving unit and execute the control signal that the reception target headset is sent Operation.
Optionally, the switch unit, the first of the terminal that detection unit detection is connect with the target headset After whether sound channel circuit matches with the wearing position of the target headset, if be also used to the detection unit detect with it is described First sound channel circuit of the terminal of target headset connection and the wearing position of the target headset mismatch, will be with the ear The sound channel circuit of the terminal of another earphone connection in machine in addition to the target headset switches to institute by the second sound channel circuit State the first sound channel circuit.
Fourth aspect of the embodiment of the present invention provides a kind of earphone sound channel adaptive controller, and the earphone is divided into the first ear Machine and the second earphone, described device include:
Detection unit, for detecting the wearing position of the target headset, wherein the target headset is first ear Machine or second earphone, the target headset include loudspeaker and at least two pressure sensors, and the target headset connects in advance Connect the first sound channel circuit of the terminal, terminal described in another earphone pre-connection in the earphone in addition to the target headset Second sound channel circuit;
Unit is generated, for generating control signal based on the wearing position;
Transmission unit, for the control signal to be sent to the terminal connecting with the target headset, so that the end End group judges the wearing position of the target headset in the control signal, detects the of the terminal connecting with the target headset Whether one sound channel circuit matches with the wearing position of the target headset, if what terminal detection was connect with the target headset First sound channel circuit of terminal and the wearing position of the target headset mismatch, by the terminal connecting with the target headset Sound channel circuit switches to second sound channel circuit by the first sound channel circuit.
Optionally, described device further include:
Trigger unit, before the wearing position that the detection unit detects the target headset, for detect with When the terminal establishes connection, the operation that the detection unit executes the wearing position of the detection target headset is triggered.
The 5th aspect of the embodiment of the present invention provides a kind of earphone sound channel adaptive controller, comprising:
Processor, memory, communication interface and communication bus, the processor, the memory and the communication interface It is connected by the communication bus and completes mutual communication;
The memory is stored with executable program code, and the communication interface is for wirelessly communicating;
The processor is used to call the executable program code in the memory, executes the embodiment of the present invention the Step some or all of described in one side either method.
The 6th aspect of the embodiment of the present invention provides a kind of earphone sound channel adaptive controller, comprising:
Processor, memory, communication interface and communication bus, the processor, the memory and the communication interface It is connected by the communication bus and completes mutual communication;
The memory is stored with executable program code, and the communication interface is for wirelessly communicating;
The processor is used to call the executable program code in the memory, executes the embodiment of the present invention the Step some or all of described in two aspect either method.
As can be seen that terminal receives the control signal of target headset transmission first in technical solution of the embodiment of the present invention, In, control signal is pressure sensor generation in the wearing position for detecting target headset of target headset, secondly, terminal base The wearing position of target headset is judged in control signal, then, the first sound channel of the terminal that terminal detection is connect with target headset Whether circuit matches with the wearing position of target headset, if terminal detects the first sound channel electricity for the terminal connecting with target headset The wearing position of road and target headset mismatches, and the sound channel circuit for the terminal connecting with target headset is cut by the first sound channel circuit Shift to second sound channel circuit.User be can be realized before wearing earphone by implementing the embodiment of the present invention and does not need to distinguish left and right sound Road, i.e., wear earphone in any case, and the voice signal of the left and right acoustic channels of acquisition is correctly, to promote user's auditory effect always.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is the present invention Some embodiments for those of ordinary skill in the art without creative efforts, can also basis These attached drawings obtain other attached drawings.
Fig. 1 is a kind of flow diagram for earphone sound channel self-adaptation control method that first embodiment of the invention provides;
Fig. 1-1 is the structural schematic diagram for the target headset that first embodiment of the invention provides;
Fig. 2 is a kind of flow diagram for earphone sound channel self-adaptation control method that second embodiment of the invention provides;
Fig. 3 is a kind of flow diagram for earphone sound channel self-adaptation control method that third embodiment of the invention provides;
Fig. 4 is a kind of structural schematic diagram for earphone sound channel adaptive controller that fourth embodiment of the invention provides;
Fig. 5 is a kind of structural schematic diagram for earphone sound channel adaptive controller that fifth embodiment of the invention provides;
Fig. 6 is a kind of structural schematic diagram for earphone sound channel adaptive controller that sixth embodiment of the invention provides;
Fig. 7 is a kind of structural schematic diagram for earphone sound channel adaptive controller that seventh embodiment of the invention provides.
Specific embodiment
In order to enable those skilled in the art to better understand the solution of the present invention, below in conjunction in the embodiment of the present invention Attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is this hair Bright a part of the embodiment, instead of all the embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art are not having Every other embodiment obtained under the premise of creative work is made, shall fall within the protection scope of the present invention.
Description and claims of this specification and term " first ", " second ", " third ", " in above-mentioned attached drawing Four " etc. are not use to describe a particular order for distinguishing different objects.In addition, " comprising " and " having " and they appoint What is deformed, it is intended that is covered and non-exclusive is included.Such as contain the process, method, system, production of a series of steps or units Product or equipment are not limited to listed step or unit, but optionally further comprising the step of not listing or unit, or Optionally further comprising other step or units intrinsic for these process, methods, product or equipment.
Referenced herein " embodiment " is it is meant that a particular feature, structure, or characteristic described can wrap in conjunction with the embodiments Containing at least one embodiment of the present invention.Each position in the description occur the phrase might not each mean it is identical Embodiment, nor the independent or alternative embodiment with other embodiments mutual exclusion.Those skilled in the art explicitly and Implicitly understand, embodiment described herein can be combined with other embodiments.
Referring to Fig. 1, Fig. 1 is a kind of process for earphone sound channel self-adaptation control method that first embodiment of the invention provides Schematic diagram, as shown in Figure 1, earphone sound channel self-adaptation control method in the embodiment of the present invention the following steps are included:
S101, terminal receive the control signal that target headset is sent, wherein the earphone is divided into the first earphone and the second ear Machine, the target headset are first earphone or second earphone, and the target headset includes loudspeaker and at least two Pressure sensor, the first sound channel circuit of terminal described in the target headset pre-connection remove the target headset in the earphone The second sound channel circuit of terminal described in outer another earphone pre-connection, the control signal are the pressure sensings of the target headset What device was generated when detecting the wearing position of the target headset.
Specifically, the structural schematic diagram of the target headset please refers to shown in Fig. 1-1, and the target headset can be earphone The first earphone (left earphone), be also possible to the second earphone (right earphone).The target headset includes loudspeaker and is distributed in loudspeaker The pressure sensor of two sides can also include earphone interface and power module.Loudspeaker be used for be worn on user left ear or Auris dextra provides the user with sound;The pressure sensor for being distributed in loudspeaker two sides is used for after target headset is worn on human body, detecting The target headset is left and right or the auris dextra for wearing user.Target headset is worn on left ear or auris dextra, corresponding two pressure The pressure that sensor detects respectively is different, and therefore, the control signal of generation is also different.For example, when target headset is worn In user Zuo Ershi, terminal receives the first control signal that target headset is sent;When target headset is worn on user's auris dextra, eventually End receives the second control signal that target headset is sent.
The earphone interface of earphone is used for and (including MP3, mobile phone etc. can provide the equipment of source of sound) of terminal is attached, and is made The left and right acoustic channels circuit of earphone and the left and right acoustic-electric road of terminal correctly connect, and make the signal circuit and terminal of pressure sensor On logic controller be connected, while from terminal obtain power module needed for power supply;Power module by earphone for being connect Mouth obtains required power supply from host, and the power supply of acquisition is converted into power supply needed for pressure sensor in ear speaker device, gives Pressure sensor is powered, and pressure sensor is enable to work normally.
S102, the terminal judge the wearing position of the target headset based on control signal.
Terminal is previously stored with the mapping relations of different control signal and target headset wearing position.When terminal receives mesh When marking the first control signal that earphone is sent, the terminal, which is based on the first control signal, may determine that target headset is worn on The left ear of user;When terminal receives the second control signal that target headset is sent, the terminal is based on the second control signal can To judge that target headset is worn on user's auris dextra.
The first sound channel circuit of the terminal that S103, terminal detection are connect with the target headset whether with it is described The wearing position of target headset matches.
If S104, the terminal detect the terminal being connect with the target headset the first sound channel circuit and the target The wearing position of earphone mismatches, by the sound channel circuit for the terminal connecting with the target headset by the first sound channel electricity Road switches to second sound channel circuit.
Specifically, the terminal in the embodiment of the present invention includes but is not limited to MP3, and mobile phone etc. can provide source of sound to earphone Equipment, it may include earphone interface, switch, power module, audio-frequency module, logic controller.Earphone interface is used for and earphone Between be attached, the left and right acoustic-electric road of the left and right acoustic channels circuit and host that make earphone correctly connects, and makes logic controller and ear The signal circuit of the pressure sensor of machine is connected, while providing power supply to the power module of earphone;Switch is for receiving The control signal of logic controller, and correct switching is made, the left and right ear of the left and right acoustic channels and user that guarantee earphone keeps one It causes;Power module is used to provide required power supply to each module of host and the pressure sensor of earphone, guarantees each mould of host The pressure sensor of block and earphone can normally work;Audio-frequency module is used for audio files (including but not limited to voice, sound Find pleasure in) it is transferred to earphone interface by left and right acoustic channels, it is played out eventually by earphone to user;Logic controller is for receiving pressure The feedback signal of force snesor judges that loudspeaker are worn on the left ear or auris dextra of user, while making corresponding movement, and control is opened Make correct switching in pass.
After earphone and the terminal establish connection, the power module of earphone starts to carry out taking electricity from terminal, and converts pressure Power supply needed for force snesor is powered to pressure sensor, and pressure sensor starts to start work.Initial stage terminal Switch keeps the connection of default, and two pressure sensors up and down of earpiece side loudspeaker start to be scouted, when loudspeaker are worn on use After the ear at family, pressure sensor starts to send signal to logic controller, and logic controller is receiving pressure sensor transmission The signal come may determine that earphone is worn on left ear or the right side of user according to the position for the pressure sensor for sending signal Then ear judges whether the connection type of current switch is consistent with the mode that earphone is worn, i.e. the left and right ear and earphone of user Left and right acoustic channels it is whether consistent, if unanimously, existing connection type is kept, if it is inconsistent, control switch is cut It changes, the wearing mode of the left and right acoustic channels and user that make earphone is reached an agreement.
Logic controller and switch are built in terminal in the present invention, and two pressure sensors are mounted on two loudspeaker wherein One two sides, removes existing L channel, right channel on earphone interface, and microphone increases a power supply except ground tie point Xie Liandian increases by two pressure sensor signal transfer points and is used for the letter of two pressure sensors for taking electricity from main equipment Number it is transferred to the Logic control module of terminal.
As can be seen that terminal receives the control signal of target headset transmission first in technical solution of the embodiment of the present invention, In, control signal is pressure sensor generation in the wearing position for detecting target headset of target headset, secondly, terminal base The wearing position of target headset is judged in control signal, then, the first sound channel of the terminal that terminal detection is connect with target headset Whether circuit matches with the wearing position of target headset, if terminal detects the first sound channel electricity for the terminal connecting with target headset The wearing position of road and target headset mismatches, and the sound channel circuit for the terminal connecting with target headset is cut by the first sound channel circuit Shift to second sound channel circuit.User be can be realized before wearing earphone by implementing the embodiment of the present invention and does not need to distinguish left and right sound Road, i.e., wear earphone in any case, and the voice signal of the left and right acoustic channels of acquisition is correctly, to promote user's auditory effect always.
Wherein, before the terminal receives the control signal that target headset is sent, the mobile terminal can also be performed with Lower operation:
Terminal executes the control for receiving target headset and sending when detecting the presence of earphone and the terminal establishes connection The step of signal processed.
Wherein, the first sound channel circuit of the terminal that terminal detection is connect with the target headset whether with the target After the wearing position matching of earphone, following operation is can also be performed in the mobile terminal:
If the terminal detect the terminal being connect with the target headset the first sound channel circuit and the target The wearing position of earphone mismatches, by the sound channel for the terminal connecting with another earphone in the earphone in addition to the target headset Circuit switches to the first sound channel circuit by the second sound channel circuit.
Referring to Fig. 2, Fig. 2 is a kind of process for earphone sound channel self-adaptation control method that second embodiment of the invention provides Schematic diagram, as shown in Fig. 2, earphone sound channel self-adaptation control method in the embodiment of the present invention the following steps are included:
S201, terminal receive the control that target headset is sent when detecting the presence of earphone and the terminal establishes connection Signal, wherein the earphone is divided into the first earphone and the second earphone, and the target headset is first earphone or described second Earphone, the target headset include loudspeaker and at least two pressure sensors, terminal described in the target headset pre-connection First sound channel circuit, the second sound channel electricity of terminal described in another earphone pre-connection in the earphone in addition to the target headset Road, the control signal are pressure sensor generations when detecting the wearing position of the target headset of the target headset 's.
S202, the terminal judge the wearing position of the target headset based on control signal.
The first sound channel circuit of the terminal that S203, terminal detection are connect with the target headset whether with it is described The wearing position of target headset matches;
If S204, the terminal detect the terminal being connect with the target headset the first sound channel circuit and the target The wearing position of earphone mismatches, by the sound channel circuit for the terminal connecting with the target headset by the first sound channel electricity Road switches to second sound channel circuit, by the sound channel for the terminal connecting with another earphone in the earphone in addition to the target headset Circuit switches to the first sound channel circuit by the second sound channel circuit.
As can be seen that terminal receives the control signal of target headset transmission first in technical solution of the embodiment of the present invention, In, control signal is pressure sensor generation in the wearing position for detecting target headset of target headset, secondly, terminal base The wearing position of target headset is judged in control signal, then, the first sound channel of the terminal that terminal detection is connect with target headset Whether circuit matches with the wearing position of target headset, if terminal detects the first sound channel electricity for the terminal connecting with target headset The wearing position of road and target headset mismatches, and the sound channel circuit for the terminal connecting with target headset is cut by the first sound channel circuit Shift to second sound channel circuit.User be can be realized before wearing earphone by implementing the embodiment of the present invention and does not need to distinguish left and right sound Road, i.e., wear earphone in any case, and the voice signal of the left and right acoustic channels of acquisition is correctly, to promote user's auditory effect always.
Referring to Fig. 3, Fig. 3 is a kind of process for earphone sound channel self-adaptation control method that third embodiment of the invention provides Schematic diagram, as shown in figure 3, earphone sound channel self-adaptation control method in the embodiment of the present invention the following steps are included:
S301, target headset detect the wearing position of the target headset, wherein the earphone is divided into the first earphone and Two earphones, the target headset are first earphone or second earphone, and the target headset includes loudspeaker and at least Two pressure sensors, the first sound channel circuit of terminal described in the target headset pre-connection remove the target in the earphone The second sound channel circuit of terminal described in another earphone pre-connection outside earphone.
S302, the target headset are based on the wearing position and generate control signal.
The control signal is sent to the terminal connecting with the target headset by S303, the target headset, so that institute The wearing position that terminal judges the target headset based on the control signal is stated, the terminal connecting with the target headset is detected The first sound channel circuit whether matched with the wearing position of the target headset, if the terminal detection with the target headset connect First sound channel circuit of the terminal connect and the wearing position of the target headset mismatch, the end that will be connect with the target headset The sound channel circuit at end switches to second sound channel circuit by the first sound channel circuit.
Wherein, before the wearing position that the target headset detects the target headset, the target headset can also be held The following operation of row:
The target headset detect establish connection with the terminal when, execute the pendant of the detection target headset The step of wearing position.
As can be seen that terminal receives the control signal of target headset transmission first in technical solution of the embodiment of the present invention, In, control signal is pressure sensor generation in the wearing position for detecting target headset of target headset, secondly, terminal base The wearing position of target headset is judged in control signal, then, the first sound channel of the terminal that terminal detection is connect with target headset Whether circuit matches with the wearing position of target headset, if terminal detects the first sound channel electricity for the terminal connecting with target headset The wearing position of road and target headset mismatches, and the sound channel circuit for the terminal connecting with target headset is cut by the first sound channel circuit Shift to second sound channel circuit.User be can be realized before wearing earphone by implementing the embodiment of the present invention and does not need to distinguish left and right sound Road, i.e., wear earphone in any case, and the voice signal of the left and right acoustic channels of acquisition is correctly, to promote user's auditory effect always.
The following is an embodiment of the apparatus of the present invention, and apparatus of the present invention embodiment is for executing embodiment of the present invention method one to three The method of realization, for ease of description, only parts related to embodiments of the present invention are shown, and particular technique details does not disclose , the embodiment of the present invention one is please referred to embodiment three.
Referring to Fig. 4, Fig. 4 is a kind of structure for earphone sound channel adaptive controller that fourth embodiment of the invention provides Schematic diagram, the earphone are divided into the first earphone and the second earphone, as shown in figure 4, the earphone sound channel in the embodiment of the present invention is adaptive Answering control device includes receiving unit 401, judging unit 402, detection unit 403 and switch unit 404, in which:
Receiving unit 401, for receiving the control signal of target headset transmission, wherein the target headset is described the One earphone or second earphone, the target headset include loudspeaker and at least two pressure sensors, the target headset First sound channel circuit of terminal described in pre-connection, described in another earphone pre-connection in the earphone in addition to the target headset eventually The second sound channel circuit at end, the control signal are that the pressure sensor of the target headset is detecting the target headset It is generated when wearing position;
Judging unit 402, for judging the wearing position of the target headset based on control signal;
Detection unit 403, for detect the terminal being connect with the target headset the first sound channel circuit whether with The wearing position of the target headset matches;
Switch unit 404, if detecting the first of the terminal connecting with the target headset for the detection unit 403 The wearing position of sound channel circuit and the target headset mismatches, by the sound channel electricity for the terminal connecting with the target headset It routes the first sound channel circuit and switches to second sound channel circuit.
Optionally, described device further include:
Trigger unit 405, before the control signal that the receiving unit 401 receives that target headset is sent, for examining It measures when establishing connection there are earphone and the terminal, triggers the receiving unit 401 and execute the receptions target headset transmission Control signal operation.
Optionally, the switch unit 404 detects the terminal connecting with the target headset in the detection unit 403 The first sound channel circuit whether matched with the wearing position of the target headset after, examined if being also used to the detection unit 403 The wearing position of the first sound channel circuit and the target headset that measure the terminal connecting with the target headset mismatches, By the sound channel circuit for the terminal being connect with another earphone in the earphone in addition to the target headset by the second sound channel electricity Road switches to the first sound channel circuit.
As can be seen that terminal receives the control signal of target headset transmission first in technical solution of the embodiment of the present invention, In, control signal is pressure sensor generation in the wearing position for detecting target headset of target headset, secondly, terminal base The wearing position of target headset is judged in control signal, then, the first sound channel of the terminal that terminal detection is connect with target headset Whether circuit matches with the wearing position of target headset, if terminal detects the first sound channel electricity for the terminal connecting with target headset The wearing position of road and target headset mismatches, and the sound channel circuit for the terminal connecting with target headset is cut by the first sound channel circuit Shift to second sound channel circuit.User be can be realized before wearing earphone by implementing the embodiment of the present invention and does not need to distinguish left and right sound Road, i.e., wear earphone in any case, and the voice signal of the left and right acoustic channels of acquisition is correctly, to promote user's auditory effect always.
Referring to FIG. 5, Fig. 5 is a kind of structure for earphone sound channel adaptive controller that fifth embodiment of the invention provides Schematic diagram.The earphone is divided into the first earphone and the second earphone.As shown in figure 5, the terminal in the embodiment of the present invention includes: at least One processor 501, such as CPU, at least one receiver 503, at least one processor 504, at least one transmitter 505, At least one communication bus 502.Wherein, communication bus 502 is for realizing the connection communication between these components.Wherein, this hair The receiver 503 of device and transmitter 505 can be wired sending port in bright embodiment, or wireless device, such as Including antenna assembly, for carrying out the communication of signaling or data with other node devices.Memory 504 can be high-speed RAM and deposit Reservoir is also possible to non-labile memory (non-volatile memory), for example, at least a magnetic disk storage.It deposits Reservoir 504 optionally can also be that at least one is located remotely from the storage device of aforementioned processor 501.It is stored in memory 504 Batch processing code, and the processor 501 can call the code stored in memory 504 to execute by communication bus 502 Relevant function.
The processor 401, for receiving the control signal of target headset transmission, wherein the target headset is described First earphone or second earphone, the target headset include loudspeaker and at least two pressure sensors, the target ear First sound channel circuit of terminal described in machine pre-connection, described in another earphone pre-connection in the earphone in addition to the target headset The second sound channel circuit of terminal, the control signal are that the pressure sensor of the target headset is detecting the target headset Wearing position when generate;The wearing position of the target headset is judged based on control signal;Detection and the target headset Whether the first sound channel circuit of the terminal of connection matches with the wearing position of the target headset;If the terminal detects The wearing position of first sound channel circuit of the terminal connecting with the target headset and the target headset mismatches, will with it is described The sound channel circuit of the terminal of target headset connection switches to second sound channel circuit by the first sound channel circuit.
Optionally, the processor 501 can be also used for before the control signal for receiving target headset transmission It detects the presence of earphone and when the terminal establishes connection, executes described the step of receiving the control signal that target headset is sent.
Optionally, the processor 501 is in the first sound channel circuit for detecting the terminal connecting with the target headset After whether being matched with the wearing position of the target headset, if can be also used for detecting the institute connecting with the target headset State terminal the first sound channel circuit and the target headset wearing position mismatch, will in the earphone remove the target ear The sound channel circuit of the terminal of another earphone connection outside machine switches to the first sound channel circuit by the second sound channel circuit.
It is retouched specifically, the specific implementation of above-mentioned each unit can refer to Fig. 1 correlation step into Fig. 2 corresponding embodiment It states, this will not be repeated here.
As can be seen that terminal receives the control signal of target headset transmission first in technical solution of the embodiment of the present invention, In, control signal is pressure sensor generation in the wearing position for detecting target headset of target headset, secondly, terminal base The wearing position of target headset is judged in control signal, then, the first sound channel of the terminal that terminal detection is connect with target headset Whether circuit matches with the wearing position of target headset, if terminal detects the first sound channel electricity for the terminal connecting with target headset The wearing position of road and target headset mismatches, and the sound channel circuit for the terminal connecting with target headset is cut by the first sound channel circuit Shift to second sound channel circuit.User be can be realized before wearing earphone by implementing the embodiment of the present invention and does not need to distinguish left and right sound Road, i.e., wear earphone in any case, and the voice signal of the left and right acoustic channels of acquisition is correctly, to promote user's auditory effect always.
Referring to Fig. 6, Fig. 6 is a kind of structure for earphone sound channel adaptive controller that sixth embodiment of the invention provides Schematic diagram, the earphone are divided into the first earphone and the second earphone, as shown in fig. 6, the earphone sound channel in the embodiment of the present invention is adaptive Control device is answered to include detection unit 601, generate unit 602 and transmission unit 603, in which:
Detection unit 601, for detecting the wearing position of the target headset, wherein the target headset is described One earphone or second earphone, the target headset include loudspeaker and at least two pressure sensors, the target headset First sound channel circuit of terminal described in pre-connection, described in another earphone pre-connection in the earphone in addition to the target headset eventually The second sound channel circuit at end;
Unit 602 is generated, for generating control signal based on the wearing position;
Transmission unit 603, for the control signal to be sent to the terminal connecting with the target headset, so that described Terminal judges the wearing position of the target headset based on the control signal, detects the terminal connecting with the target headset Whether the first sound channel circuit matches with the wearing position of the target headset, if terminal detection is connect with the target headset Terminal the first sound channel circuit and the target headset wearing position mismatch, the terminal that will be connect with the target headset Sound channel circuit second sound channel circuit is switched to by the first sound channel circuit.
Optionally, described device further include:
Trigger unit 604, before the wearing position that the detection unit detects the target headset, for detecting When establishing connection with the terminal, the behaviour that the detection unit executes the wearing position of the detection target headset is triggered Make.
It is retouched specifically, the specific implementation of above-mentioned each unit can refer to Fig. 1 correlation step into Fig. 2 corresponding embodiment It states, this will not be repeated here.
As can be seen that terminal receives the control signal of target headset transmission first in technical solution of the embodiment of the present invention, In, control signal is pressure sensor generation in the wearing position for detecting target headset of target headset, secondly, terminal base The wearing position of target headset is judged in control signal, then, the first sound channel of the terminal that terminal detection is connect with target headset Whether circuit matches with the wearing position of target headset, if terminal detects the first sound channel electricity for the terminal connecting with target headset The wearing position of road and target headset mismatches, and the sound channel circuit for the terminal connecting with target headset is cut by the first sound channel circuit Shift to second sound channel circuit.User be can be realized before wearing earphone by implementing the embodiment of the present invention and does not need to distinguish left and right sound Road, i.e., wear earphone in any case, and the voice signal of the left and right acoustic channels of acquisition is correctly, to promote user's auditory effect always.
Referring to FIG. 7, Fig. 7 is a kind of structure for earphone sound channel adaptive controller that seventh embodiment of the invention provides Schematic diagram.The earphone is divided into the first earphone and the second earphone.As shown in fig. 7, the terminal in the embodiment of the present invention includes: at least One processor 701, such as CPU, at least one receiver 703, at least one processor 704, at least one transmitter 705, At least one communication bus 702.Wherein, communication bus 702 is for realizing the connection communication between these components.Wherein, this hair The receiver 703 of device and transmitter 705 can be wired sending port in bright embodiment, or wireless device, such as Including antenna assembly, for carrying out the communication of signaling or data with other node devices.Memory 704 can be high-speed RAM and deposit Reservoir is also possible to non-labile memory (non-volatile memory), for example, at least a magnetic disk storage.It deposits Reservoir 704 optionally can also be that at least one is located remotely from the storage device of aforementioned processor 701.It is stored in memory 704 Batch processing code, and the processor 701 can call the code stored in memory 704 to execute by communication bus 702 Relevant function.
The processor 401, for detecting the wearing position of the target headset, wherein the target headset is described First earphone or second earphone, the target headset include loudspeaker and at least two pressure sensors, the target ear First sound channel circuit of terminal described in machine pre-connection, described in another earphone pre-connection in the earphone in addition to the target headset The second sound channel circuit of terminal;Control signal is generated based on the wearing position;The control signal is sent to and the mesh The terminal of earphone connection is marked, so that the terminal judges the wearing position of the target headset, detection based on the control signal Whether the first sound channel circuit of the terminal connecting with the target headset matches with the wearing position of the target headset, if described First sound channel circuit of the terminal that terminal detection is connect with the target headset and the wearing position of the target headset mismatch, The sound channel circuit for the terminal connecting with the target headset is switched into second sound channel circuit by the first sound channel circuit.
Optionally, the processor 401 can be also used for before the wearing position for detecting the target headset Detect establish connection with the terminal when, the step of executing the wearing position of the detection target headset.
Specifically, the specific implementation of above-mentioned each unit can refer to the description of correlation step in Fig. 3 corresponding embodiment, herein It does not repeat.
As can be seen that terminal receives the control signal of target headset transmission first in technical solution of the embodiment of the present invention, In, control signal is pressure sensor generation in the wearing position for detecting target headset of target headset, secondly, terminal base The wearing position of target headset is judged in control signal, then, the first sound channel of the terminal that terminal detection is connect with target headset Whether circuit matches with the wearing position of target headset, if terminal detects the first sound channel electricity for the terminal connecting with target headset The wearing position of road and target headset mismatches, and the sound channel circuit for the terminal connecting with target headset is cut by the first sound channel circuit Shift to second sound channel circuit.User be can be realized before wearing earphone by implementing the embodiment of the present invention and does not need to distinguish left and right sound Road, i.e., wear earphone in any case, and the voice signal of the left and right acoustic channels of acquisition is correctly, to promote user's auditory effect always.
The embodiment of the present invention also provides a kind of computer storage medium, wherein the computer storage medium can be stored with journey Sequence, the program include the part or complete of the monitoring method for any service processes recorded in above method embodiment when executing Portion's step.
It should be noted that for the various method embodiments described above, for simple description, therefore, it is stated as a series of Combination of actions, but those skilled in the art should understand that, the present invention is not limited by the sequence of acts described because According to the present invention, some steps may be performed in other sequences or simultaneously.Secondly, those skilled in the art should also know It knows, the embodiments described in the specification are all preferred embodiments, and related movement and unit are not necessarily of the invention It is necessary.
The step of method of the embodiment of the present invention, sequentially can be adjusted according to actual needs, merges or delete.This hair The unit of the terminal of bright embodiment can be integrated according to actual needs, further division or deletion.
In the above-described embodiments, it all emphasizes particularly on different fields to the description of each embodiment, there is no the portion being described in detail in some embodiment Point, reference can be made to the related descriptions of other embodiments.
In several embodiments provided herein, it should be understood that disclosed device, it can be by another way It realizes.For example, Installation practice described above is schematical, such as the division of the unit, it is a kind of logic function It divides, there may be another division manner in actual implementation, such as multiple units or components may be combined or can be integrated into Another system, or some features can be ignored or not executed.Another point, shown or discussed mutual coupling or Direct-coupling or communication connection can be through some interfaces, and the indirect coupling or communication connection of device or unit can be electricity Property or other form.
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.Above-mentioned integrated list Member both can take the form of hardware realization, can also realize in the form of software functional units.
If the integrated unit is realized in the form of SFU software functional unit and sells or use as independent product When, it can store in a computer readable storage medium.Based on this understanding, technical solution of the present invention is substantially The all or part of the part that contributes to existing technology or the technical solution can be in the form of software products in other words It embodies, which is stored in a storage medium, including some instructions are used so that a computer Equipment (can for personal computer, server or network equipment etc.) execute each embodiment the method for the present invention whole or Part steps.And storage medium above-mentioned includes: that USB flash disk, read-only memory (ROM, Read-Only Memory), arbitrary access are deposited Reservoir (RAM, Random Access Memory), mobile hard disk, magnetic or disk etc. be various to can store program code Medium.
Those of ordinary skill in the art will appreciate that all or part of the steps in the various methods of above-described embodiment is can It is completed with instructing relevant hardware by program, which can be stored in a computer readable storage medium, storage Medium may include: flash disk, read-only memory (English: Read-Only Memory, abbreviation: ROM), random access device (English Text: Random Access Memory, referred to as: RAM), disk or CD etc..
It is provided for the embodiments of the invention a kind of earphone left and right acoustic channels self-adaptation control method above and device carries out It is discussed in detail, used herein a specific example illustrates the principle and implementation of the invention, above embodiments Illustrate to be merely used to help understand method and its core concept of the invention;At the same time, for those skilled in the art, according to According to thought of the invention, there will be changes in the specific implementation manner and application range, in conclusion the content of the present specification It should not be construed as limiting the invention.
Claims (12)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610855245.1A CN106254993B (en) | 2016-09-27 | 2016-09-27 | A kind of earphone left and right acoustic channels self-adaptation control method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610855245.1A CN106254993B (en) | 2016-09-27 | 2016-09-27 | A kind of earphone left and right acoustic channels self-adaptation control method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106254993A CN106254993A (en) | 2016-12-21 |
CN106254993B true CN106254993B (en) | 2019-09-10 |
Family
ID=57611567
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610855245.1A CN106254993B (en) | 2016-09-27 | 2016-09-27 | A kind of earphone left and right acoustic channels self-adaptation control method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106254993B (en) |
Families Citing this family (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9883278B1 (en) * | 2017-04-18 | 2018-01-30 | Nanning Fugui Precision Industrial Co., Ltd. | System and method for detecting ear location of earphone and rechanneling connections accordingly and earphone using same |
CN107517429A (en) * | 2017-08-15 | 2017-12-26 | 上海与德科技有限公司 | It is a kind of applied to the method for transducing devices, audio frequency playing method, device and equipment |
CN107454494A (en) * | 2017-09-04 | 2017-12-08 | 联想(北京)有限公司 | A kind of audio control method and audio-frequence player device |
CN108848427A (en) * | 2018-04-26 | 2018-11-20 | Oppo广东移动通信有限公司 | Wearing state detection method and relevant device |
CN110536196A (en) * | 2018-05-24 | 2019-12-03 | 群光电子股份有限公司 | Symmetrical Headphone device |
CN110891217A (en) * | 2019-11-12 | 2020-03-17 | 维沃移动通信有限公司 | Earphone, earphone control method and electronic equipment |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102026082A (en) * | 2009-09-21 | 2011-04-20 | 联想(北京)有限公司 | Track self-adaptive method and device for sound producing device |
CN104202697A (en) * | 2014-09-18 | 2014-12-10 | 苏州大学 | Adaptive automatic left sound track and right sound track switching stereo headphone |
CN105101016A (en) * | 2015-08-07 | 2015-11-25 | 深圳市金立通信设备有限公司 | Earphone sound channel switching method and terminal |
CN105959854A (en) * | 2016-06-22 | 2016-09-21 | 惠州Tcl移动通信有限公司 | Method and system for realizing normal output of left sound and right sound based on headset |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP4599444B2 (en) * | 2008-12-09 | 2010-12-15 | 株式会社東芝 | Acoustic device and method for controlling acoustic device |
CN102143262B (en) * | 2010-02-03 | 2014-03-26 | 深圳富泰宏精密工业有限公司 | Electronic device and method for switching audio input channel thereof |
CN105530560B (en) * | 2015-12-28 | 2019-03-12 | 苏州佳世达电通有限公司 | A kind of earphone |
-
2016
- 2016-09-27 CN CN201610855245.1A patent/CN106254993B/en active IP Right Grant
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102026082A (en) * | 2009-09-21 | 2011-04-20 | 联想(北京)有限公司 | Track self-adaptive method and device for sound producing device |
CN104202697A (en) * | 2014-09-18 | 2014-12-10 | 苏州大学 | Adaptive automatic left sound track and right sound track switching stereo headphone |
CN105101016A (en) * | 2015-08-07 | 2015-11-25 | 深圳市金立通信设备有限公司 | Earphone sound channel switching method and terminal |
CN105959854A (en) * | 2016-06-22 | 2016-09-21 | 惠州Tcl移动通信有限公司 | Method and system for realizing normal output of left sound and right sound based on headset |
Also Published As
Publication number | Publication date |
---|---|
CN106254993A (en) | 2016-12-21 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP3101867B1 (en) | Wireless audio output devices | |
US20170347192A1 (en) | Wireless sound equipment | |
US9271077B2 (en) | Method and system for directional enhancement of sound using small microphone arrays | |
AU2014200816B2 (en) | Application control method and apparatus for mobile terminal, earphone device and application control system | |
JP2019518985A (en) | Processing audio from distributed microphones | |
EP3024250A1 (en) | Wearable device using bone conduction speaker | |
CN103686531B (en) | The method of the terminal and the operation terminal of earphone connection interface including earphone connection interface | |
KR101570299B1 (en) | Head set | |
KR102005071B1 (en) | Change of companion communication device behavior based on wearable device state | |
CN104025559B (en) | Audio route is transmitted in comprehensive distributed network | |
US8019096B2 (en) | Electronic device and external equipment with configurable audio path circuitry | |
RU2488236C2 (en) | Wireless headphone to transfer between wireless networks | |
KR101267047B1 (en) | Apparatus and method for detecting earphone | |
CN101965689B (en) | Headset as hub in remote control system | |
JP6489563B2 (en) | Volume control method, system, device and program | |
AU2009233644B2 (en) | Detecting the repositioning of an earphone using a microphone and associated action | |
CN101917497B (en) | Method and device for earphone and USB to share micro-USB interface | |
US20140256260A1 (en) | Wireless Device Pairing | |
US9344793B2 (en) | Audio apparatus and methods | |
US8363823B1 (en) | Two microphone uplink communication and stereo audio playback on three wire headset assembly | |
US20150382096A1 (en) | Headphones with pendant audio processing | |
US20170249385A1 (en) | Method and Apparatus for Obtaining Information from the Web | |
KR20100034229A (en) | Potable device including earphone circuit and operation method using the same | |
US20150201269A1 (en) | Sound System with Ear Device with Improved Fit and Sound | |
US20150023516A1 (en) | System and method for using a headset jack to control electronic device functions |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |