CN106231477B - Handle the method and terminal of the operation of Qchat earphone - Google Patents

Handle the method and terminal of the operation of Qchat earphone Download PDF

Info

Publication number
CN106231477B
CN106231477B CN201610861812.4A CN201610861812A CN106231477B CN 106231477 B CN106231477 B CN 106231477B CN 201610861812 A CN201610861812 A CN 201610861812A CN 106231477 B CN106231477 B CN 106231477B
Authority
CN
China
Prior art keywords
terminal
earphone
qchat
microphone
key
Prior art date
Application number
CN201610861812.4A
Other languages
Chinese (zh)
Other versions
CN106231477A (en
Inventor
郑伟波
仇迁
Original Assignee
青岛海信移动通信技术股份有限公司
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 青岛海信移动通信技术股份有限公司 filed Critical 青岛海信移动通信技术股份有限公司
Priority to CN201610861812.4A priority Critical patent/CN106231477B/en
Publication of CN106231477A publication Critical patent/CN106231477A/en
Application granted granted Critical
Publication of CN106231477B publication Critical patent/CN106231477B/en

Links

Abstract

The present invention provides the method and terminal of a kind of processing Qchat earphone operation, method includes: to detect the impedance value of the microphone in Qchat earphone, wherein, the series arm of preset resistance and key switch composition is parallel between the anode and cathode of the microphone of Qchat earphone;Judge whether impedance value detected is lower than predetermined threshold;If being lower than predetermined threshold, it is determined that the key switch of Qchat earphone is pressed, and determines the first key assignments according to impedance value;Judge whether the terminal of Qchat earphone connection is in talkback mode, if being in talkback mode, so that terminal is executed the associated operation of intercommunication according to the first key assignments;If being not at talkback mode, the first key assignments is converted into the second key assignments, and the second key assignments is distributed to the application of terminal so that terminal executes corresponding X-by-Wire, wherein the second key assignments is the key assignments that the key switch of common headphones is pressed.In accordance with the invention it is possible to make Qchat earphone while having the function of common headphones.

Description

Handle the method and terminal of the operation of Qchat earphone

Technical field

The present invention relates to ear phone technology more particularly to a kind of methods and terminal of the operation of processing Qchat earphone.

Background technique

With the rapid development of various terminals, associated various Intelligent hardwares are also being rapidly developed.Such as QChat ear Machine utilizes PPT (push to talk, one pushes to talk) technology, by having the terminal of PPT function, provides movement for client Half-duplex intercommunication business in communication network coverage.After terminal opens PPT function, as long as clicking the QChat ear of connection The respective keys of machine, it will be able to realize intercommunication function, i.e., it being capable of controlling terminal realization intercommunication function by QChat earphone.

But existing QChat earphone can only triggering terminal realization intercommunication function.As shown in Figure 1, being existing QChat The hardware circuit schematic diagram of earphone.GND line 104 is for being grounded.After switch SW is pressed, ear that MIC route 101 is connected Machine microphone (not shown) will not work, i.e., user cannot talk, and can only answer, and when switch SW is not pressed, SPK (L) the right loudspeaker that the left speaker and SPK (R) route 103 that route 102 is connected are connected cannot work, and use at this time Family can only talk, and cannot answer.In this way, if user is want to be come using earphone controlling terminal and carries out other function, such as can be same When talk and the normal talking function listened to, it is necessary to replacement it is other can triggering terminal execute the common of common line traffic control function Earphone is brought great inconvenience to users.

Summary of the invention

The present invention provides the method and terminal of a kind of processing Qchat earphone operation, to solve to need to distinguish in the prior art Intercommunication function is triggered using the Qchat earphone that can trigger intercommunication function, and executes common line traffic control function using common headphones, It is inconvenient to user's bring.

First aspect of the present invention provides a kind of method of processing Qchat earphone operation, comprising:

Detect Qchat earphone in microphone impedance value, wherein the microphone of the Qchat earphone anode and it is negative The series arm of preset resistance and key switch composition is parallel between pole;

Judge whether impedance value detected is lower than predetermined threshold;

If being lower than the predetermined threshold, it is determined that the key switch of the Qchat earphone is pressed, according to the impedance value Determine the first key assignments;

Judge whether the terminal of the Qchat earphone connection is in talkback mode,

If being in talkback mode, the terminal is set to execute the associated operation of intercommunication according to first key assignments;

If being not at talkback mode, first key assignments is converted into the second key assignments, and second key assignments is distributed Application to the terminal is so that the terminal executes corresponding X-by-Wire, wherein second key assignments is common headphones The key assignments that key switch is pressed.

According to method as described above, optionally, judging that the terminal of the Qchat earphone connection is in intercommunication mould After formula, further includes:

Increase the speech gain of the microphone of the Qchat earphone.

According to method as described above, optionally, the speech gain for increasing the microphone of the Qchat earphone includes:

Obtain the Qchat earphone key switch be pressed before and the microphone after being pressed impedance Difference;

The speech gain value of the microphone is determined according to the impedance contrast;

Increase the speech gain of the microphone according to the speech gain value.

According to method as described above, optionally, the resistance value of the preset resistance is between 2000 ohm to 2500 ohm.

According to method as described above, optionally, the resistance value of the preset resistance is 2200 ohm.

The second aspect of the present invention provides a kind of terminal, which can connect with Qchat earphone, comprising:

Detection module, for detecting the impedance value of the microphone in Qchat earphone, wherein the Mike of the Qchat earphone The series arm of preset resistance and key switch composition is parallel between the anode and cathode of wind;

First judgment module, for judging whether impedance value detected is lower than predetermined threshold, if being lower than the predetermined threshold Value, it is determined that the key switch of the Qchat earphone is pressed, and determines the first key assignments according to the impedance value;

Second judgment module, if being in talkback mode, triggers for judging whether the terminal is in talkback mode One execution module triggers the second execution module if being not at talkback mode;

First execution module, for making the terminal execute the associated operation of intercommunication according to first key assignments;

Second execution module for first key assignments to be converted to the second key assignments, and second key assignments is divided The application of the terminal is issued so that the terminal executes corresponding X-by-Wire, wherein second key assignments is common headphones The key assignments that is pressed of key switch.

According to terminal as described above, optionally, further includes:

Adjust module, the speech gain of the microphone for increasing the Qchat earphone.

According to terminal as described above, optionally, the microphone for the increase Qchat earphone that the adjustment module executes Speech gain include:

Obtain the Qchat earphone key switch be pressed before and the microphone after being pressed impedance Difference;

The speech gain value of the microphone is determined according to the impedance contrast;

Increase the speech gain of the microphone according to the speech gain value.

Advantageous effects of the invention include:

The present invention improved by the circuit to existing qchat earphone, can be obtained and is pressed on Qchat earphone The key assignments of key, and according to the operating mode of terminal, determining makes terminal execute intercommunication operation or executes the control of common headphones Operation is in this way, user's no replacement is required earphone, so that it may using the Qchat ear be capable of triggering terminal and execute the function of intercommunication operation It is compatible with common headphones to realize Qchat earphone to realize common line traffic control function for machine, so that Qchat headset user is without single Solely configuration common headphones, so as to save earphone deployment cost.

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 this hair Bright some embodiments for those of ordinary skill in the art without any creative labor, can be with It obtains other drawings based on these drawings.

Fig. 1 is the hardware circuit schematic diagram of QChat earphone in the prior art;

Fig. 2 is the hardware circuit schematic diagram according to the improved QChat earphone of the present invention;

Fig. 3 is the flow diagram according to the method for the processing Qchat earphone operation of one embodiment of the invention;

Fig. 4 is the flow diagram according to the method for the processing Qchat earphone operation of another embodiment of the present invention;

Fig. 5 is the structural schematic diagram according to the terminal of one embodiment of the invention;

Fig. 6 is the structural schematic diagram according to the terminal of another embodiment of the present invention.

Specific embodiment

In order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with the embodiment of the present invention In attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is A part of the embodiment of the present invention, instead of all the embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art Every other embodiment obtained without creative efforts, shall fall within the protection scope of the present invention.

Firstly, being improved to the hardware circuit of QChat earphone.Qchat earphone of the invention includes: to be connected by conducting wire Headset plug, earphone controller, microphone and ear-hang together, as shown in Fig. 2, headset plug includes ground wire 201, microphone Control line 202, L channel line 203 and right channel line 204;The positive and negative electrode of ear microphone respectively with microphone control line 202 and Ground wire 201 is correspondingly connected with, and left and right sound channels ear-hang is connected respectively between L channel line 203 and ground wire 201 and right channel Between line 204 and ground wire 201;The series connection branch of resistance 205 and key switch 206 is also parallel between the positive and negative electrode of microphone Road.

By a resistance 205 of connecting on the circuit where switch 206, so that after key switch 206 is pressed, ear Machine microphone still can work normally, i.e., after key is pressed, ear microphone still has enough operating voltages, in addition, When key switch 206 is not pressed, L channel line 203 and right channel line 204 still be can work normally, in this way, the improvement Qchat earphone be implemented for common line traffic control operating function.

It is noted that the resistance value of resistance 205 cannot be too big, otherwise terminal can be led to not due to the limitation of detection threshold value Detection, the resistance value of resistance 205 can not be too small, and otherwise terminal will not detected, in addition, key switch 206 is being pressed Later, the impedance value of the objective circuit (such as microphone circuit) where the key switch 206 cannot be pressed with other keys Impedance value later is equal, and it is which key is pressed that otherwise terminal, which can not identify, it is therefore desirable to carry out to the resistance value of resistance 205 It chooses.Since existing Qchat earphone all has general standard, i.e. the value of each component in Qchat earphone has Defined range, therefore the resistance value of resistance 205 can be set in the range of for example, 2000 ohm -2500 ohm, preferably Ground is 2200 ± 150 ohm or 2200 ohm plus-minus 5%-10%.When the resistance value of resistance 205 is selected as 2200 ohm When, change in impedance value can either be made sensitively to be detected, and the influence for having excessive to circuit can be avoided as far as possible.

Embodiment one

The present embodiment provides a kind of methods of processing Qchat earphone operation, and executing subject is terminal.

As shown in figure 3, for according to the flow diagram of the processing Qchat earphone operation of the present embodiment.The place of the present embodiment Managing the method that Qchat earphone operates includes:

Step 301, the impedance value of the microphone in Qchat earphone is detected, wherein the anode of the microphone of Qchat earphone The series arm of preset resistance and key switch composition is parallel between cathode.

The structure of the Qchat earphone of the present embodiment can be as shown in Fig. 2, be it is a can both triggering terminal execute intercommunication Operation, also can triggering terminal execute the Qchat earphone of common X-by-Wire.

Intercommunication operation may include that individual calling call, temporary group calling and predefined group are exhaled, wherein individual calling call for two users it Between intercommunication, the same time only allows a Fang Fayan, and another party listens to;It is right in the group that temporary group calling temporarily forms for multiple users It says, the same time only allows group member's speech, remaining group member listens to;Predefined group is exhaled to group busy, such as the cluster pair of company Say have the user of highest priority permission that can interrupt and seize right of speech in predefined group, can not voluntarily change in group.

Common line traffic control operating function, which is executed, using Qchat earphone triggering terminal refers to that can use Qchat earphone realizes Traditional line traffic control function, such as music, connect the functions such as hang up, is mute.

The Qchat earphone of the present embodiment can be the improved Qchat earphone of hardware circuit.

Specifically, terminal can monitor the state of Qchat earphone in real time, such as can monitor the impedance value of Qchat earphone. When Qchat earphone is just inserted into terminal, the impedance for the Qchat earphone that can detecte Qchat earphone when not thering is any key to be pressed Value.When the key on Qchat earphone is pressed, impedance value can change, such as connect the impedance at microphone both ends Value can change, and different key is pressed, and change in impedance value degree is also different, therefore, can be periodically detected Qchat The impedance value of microphone in earphone, for example, it is primary every detection in 0.1 second or primary every detection in 0.5 second, it specifically can root It is set according to actual needs.

Step 302, judge whether impedance value detected is lower than predetermined threshold, if being lower than predetermined threshold, it is determined that Qchat The key switch of earphone is pressed, and determines the first key assignments according to impedance value.

When the key of Qchat earphone is pressed, the impedance value of microphone can change, such as less than predetermined threshold, because This terminal can determine whether the key of Qchat earphone is pressed by impedance value.

Step 303, judge whether the terminal of Qchat earphone connection is in talkback mode, if being in talkback mode, execute Step 304, if being not at talkback mode, 305 are thened follow the steps.

Judge whether terminal is in talkback mode, whether can be specifically opened to really according to the current intercommunication application of terminal Determine or whether be presented on the display interface of terminal to determine.In addition, if the display for thering are multiple applications to be simultaneously displayed on terminal , then can be by application of the application as work at present of user's last operation on display interface on interface, or it can be according to pre- The priority first arranged determines that the application of highest priority is the application of work at present.Certainly other modes can also be used, It can specifically be selected according to actual needs.

Step 304, terminal is made to execute the associated operation of intercommunication according to the first key assignments.

The associated operation of intercommunication is, for example, to turn off ear microphone, certainly, also in the corresponding user's speech of terminal Other associated operations of intercommunication, can specifically execute according to the actual situation.

Step 305, the first key assignments is converted into the second key assignments, and the second key assignments is distributed to the application of terminal so that terminal Execute corresponding X-by-Wire, wherein the second key assignments is the key assignments that the key switch of common headphones is pressed.

Terminal can determine operation performed by terminal according to identified key assignments and current application.For example, If application is intercommunication application, and key assignments is corresponding first key assignments of key switch, then judges that terminal executes the associated behaviour of intercommunication Make, such as sends intercommunication information to target terminal etc..If judging, terminal does not execute intercommunication operation, it is determined that terminal is according to key assignments Execute common X-by-Wire.For example, the first key assignments is converted to the second key assignments if application is talk application, and by two key assignments The talk application of terminal is distributed to so that terminal executes corresponding X-by-Wire, wherein the second key assignments is the key of common headphones Switch the key assignments being pressed.

In this way, what terminal can press according to user key corresponding key assignments and the operating mode that is presently in, determine Execute intercommunication operation or X-by-Wire.

It as described above, can be the operation of each key value match terminal, corresponding the first key assignments is associated with intercommunication Operation, it is the X-by-Wire of common headphones that the second key assignments is corresponding.If it is judged that when being not at talkback mode, then by first Key assignments is converted to the second key assignments, and then terminal executes X-by-Wire corresponding to the second key assignments.

According to the present embodiment, the circuit of existing qchat earphone is improved, can obtain and be pressed on Qchat earphone Under key key assignments, and according to the operating mode of terminal, determining makes terminal execute intercommunication operation or executes common headphones Control operation is in this way, user's no replacement is required earphone, so that it may using the Qchat be capable of triggering terminal and execute the function of intercommunication operation It is compatible with common headphones to realize Qchat earphone to realize common line traffic control function for earphone, so that Qchat headset user is not necessarily to Common headphones are separately configured, so as to save earphone deployment cost.

Embodiment two

The present embodiment does further supplementary explanation to the method for the processing Qchat earphone operation of embodiment one.

As shown in figure 4, for according to the flow diagram of the method for the processing Qchat earphone operation of the present embodiment.This method Include:

Step 401, the impedance value of the microphone in Qchat earphone is detected, wherein the anode of the microphone of Qchat earphone The series arm of preset resistance and key switch composition is parallel between cathode.

The structure of the Qchat earphone of the present embodiment can be as shown in Fig. 2, be it is a can both triggering terminal execute intercommunication Operation, also can triggering terminal execute the Qchat earphone of common X-by-Wire.

Intercommunication operation may include that individual calling call, temporary group calling and predefined group are exhaled, wherein individual calling call for two users it Between intercommunication, the same time only allows a Fang Fayan, and another party listens to;It is right in the group that temporary group calling temporarily forms for multiple users It says, the same time only allows group member's speech, remaining group member listens to;Predefined group is exhaled to group busy, such as the cluster pair of company Say have the user of highest priority permission that can interrupt and seize right of speech in predefined group, can not voluntarily change in group.

Common line traffic control operating function, which is executed, using Qchat earphone triggering terminal refers to that can use Qchat earphone realizes Traditional line traffic control function, such as music, connect the functions such as hang up, is mute.

The Qchat earphone of the present embodiment can be the improved Qchat earphone of hardware circuit.

Specifically, terminal can monitor the state of Qchat earphone in real time, such as can monitor the impedance value of Qchat earphone. When Qchat earphone is just inserted into terminal, the impedance for the Qchat earphone that can detecte Qchat earphone when not thering is any key to be pressed Value.When the key on Qchat earphone is pressed, impedance value can change, and different key is pressed, change in impedance value Degree is also different, therefore, can be periodically detected the impedance value of the microphone in Qchat earphone, such as detected every 0.1 second Once, or it is primary every detection in 0.5 second, it can specifically set according to actual needs.

Step 402, judge whether impedance value detected is lower than predetermined threshold, if being lower than predetermined threshold, it is determined that Qchat The key switch of earphone is pressed, and determines the first key assignments according to impedance value.

When the key of Qchat earphone is pressed, the impedance value of microphone can change, such as less than predetermined threshold, because This terminal can determine whether the key of Qchat earphone is pressed by impedance value.

Step 403, judge whether the terminal of Qchat earphone connection is in talkback mode, if being in talkback mode, execute Step 404, if being not at talkback mode, 406 are thened follow the steps.

Judge whether terminal is in talkback mode, whether can be specifically opened to really according to the current intercommunication application of terminal Determine or whether be presented on the display interface of terminal to determine.In addition, if the display for thering are multiple applications to be simultaneously displayed on terminal , then can be by application of the application as work at present of user's last operation on display interface on interface, or it can be according to pre- The priority first arranged determines that the application of highest priority is the application of work at present.Certainly other modes can also be used, It can specifically be selected according to actual needs.

Step 404, so that terminal is executed the associated operation of intercommunication according to the first key assignments, execute step 405.

The associated operation of intercommunication is, for example, to turn off ear microphone, certainly, also in the corresponding user's speech of terminal Other associated operations of intercommunication, can specifically execute according to the actual situation.

Step 405, increase the speech gain of the microphone of the Qchat earphone.

When being pressed due to the key switch of Qchat earphone, impedance value can become larger, such that sound is in sender Upward volume becomes smaller, therefore, it is necessary to increase the speech gain of the microphone of Qchat earphone, to avoid the use for influencing user Impression.

Specifically, speech gain can be adjusted using following manner:

The impedance contrast of microphone before the key switch of acquisition Qchat earphone is pressed and after being pressed;

The speech gain value of microphone is determined according to impedance contrast;

Increase the speech gain of microphone according to speech gain value.

Since different businessmans may be different the improvement of Qchat earphone hardware, for example, increased resistance resistance Value is possible to be different, and impedance value difference is higher, and the degree that volume changes is higher, in this way, terminal can be according to key in quilt Before pressing and after pressing, impedance value difference on objective circuit determines the speech gain value of the microphone of Qchat earphone, into And user is made to be not felt by the variation of volume, it is experienced to avoid the call for influencing user.

For example, the voice that driving layer can increase Qchat ear microphone by modifying the drive code set of codec increases Benefit.

It is noted that without successively executing sequence between step 404 and step 405, that is, step 404 and step 405 can To be performed simultaneously or step 405 can also execute before step 404.

Step 406, the first key assignments is converted into the second key assignments, and the second key assignments is distributed to the application of terminal so that terminal Execute corresponding X-by-Wire, wherein the second key assignments is the key assignments that the key switch of common headphones is pressed.

Terminal can determine operation performed by terminal according to identified key assignments and current application.For example, If application is intercommunication application, and key assignments is corresponding first key assignments of key switch, then judges that terminal executes the associated behaviour of intercommunication Make, such as sends intercommunication information to target terminal etc..If judging, terminal does not execute intercommunication operation, and the first key assignments is converted to Second key assignments, and the second key assignments is distributed to the application of terminal so that terminal executes corresponding X-by-Wire, wherein the second key assignments The key assignments being pressed for the key switch of common headphones.

In this way, what terminal can press according to user key corresponding first key assignments and the operating mode that is presently in, It determines and executes intercommunication operation or X-by-Wire.

It as described above, can be the operation of each key value match terminal, the first key assignments is corresponding to be in practical operation With the associated operation of intercommunication, it is the X-by-Wire of common headphones that the second key assignments is corresponding.If it is judged that being not at talkback mode When, then the first key assignments is converted into the second key assignments, and then terminal executes X-by-Wire corresponding to the second key assignments.

For example, the driving layer of terminal can execute step 401, and key assignments is sent to application layer, be held by application layer Row step 402-404.

According to the present embodiment, the circuit of existing qchat earphone is improved, can obtain and be pressed on Qchat earphone Under key key assignments, and according to the operating mode of terminal, determining makes terminal execute intercommunication operation or executes common headphones Control operation is in this way, user's no replacement is required earphone, so that it may using the Qchat be capable of triggering terminal and execute the function of intercommunication operation It is compatible with common headphones to realize Qchat earphone to realize common line traffic control function for earphone, so that Qchat headset user is not necessarily to Common headphones are separately configured, so as to save earphone deployment cost;Moreover, the present invention is in the intercommunication behaviour for realizing Qchat earphone In work, based on the circuit of improved earphone, the Compensation Design of the speech gain of microphone is increased in software view, it is general in compatibility It preferably ensure that the realization of intercommunication function on the basis of logical earphone control function.

Embodiment three

The present embodiment provides a kind of terminals, can connect with Qchat earphone, for executing the processing of above-described embodiment The method of Qchat earphone operation.

As shown in figure 5, for according to the structural schematic diagram of the terminal of the present embodiment.The terminal includes detection module 501, first Judgment module 502, the second judgment module 503, the first execution module 504 and the second execution module 505.

Wherein, detection module 501 is used to detect the impedance value of the microphone in Qchat earphone, wherein Qchat earphone The series arm of preset resistance and key switch composition is parallel between the anode and cathode of microphone;First judgment module 502 For judging whether impedance value detected is lower than predetermined threshold, if being lower than predetermined threshold, it is determined that the key of Qchat earphone is opened Pass is pressed, and determines the first key assignments according to impedance value;Second judgment module 503 for judging whether terminal is in talkback mode, If being in talkback mode, the first execution module 504 is triggered, if being not at talkback mode, triggers the second execution module 505; First execution module 504 is used to make terminal execute the associated operation of intercommunication according to the first key assignments;Second execution module 505 is used for will First key assignments is converted to the second key assignments, and the second key assignments is distributed to the application of terminal so that terminal executes corresponding line traffic control and grasps Make, wherein the second key assignments is the key assignments that the key switch of common headphones is pressed.

Optionally, the resistance value of preset resistance is between 2000 ohm to 2500 ohm.Preferably, the resistance value of preset resistance is 2200 ohm, optionally, the resistance value of preset resistance is 2200 ohm ± 150 ohm or 2200 ohm of plus-minus 5%-10%.

Device in this present embodiment is closed, wherein modules execute the concrete mode of operation in related this method It is described in detail in embodiment, no detailed explanation will be given here.

According to the present embodiment, the circuit of existing qchat earphone is improved, can obtain and be pressed on Qchat earphone Under key key assignments, and according to the operating mode of terminal, determining makes terminal execute intercommunication operation or executes common headphones Control operation is in this way, user's no replacement is required earphone, so that it may using the Qchat be capable of triggering terminal and execute the function of intercommunication operation It is compatible with common headphones to realize Qchat earphone to realize common line traffic control function for earphone, so that Qchat headset user is not necessarily to Common headphones are separately configured, so as to save earphone deployment cost.

Example IV

The present embodiment does further supplementary explanation to the terminal of embodiment three.

As shown in fig. 6, the terminal of the present embodiment is in addition to including detection module 501 as shown in Figure 5, first judgment module 502, the second judgment module 503, the first execution module 504 and the second execution module 505 further include adjustment module 601, the adjustment Module 601 is used to increase the speech gain of the microphone of Qchat earphone.

Optionally, adjustment module 601 is specifically used for:

The impedance contrast of microphone before the key switch of acquisition Qchat earphone is pressed and after being pressed;

The speech gain value of microphone is determined according to impedance contrast;

Increase the speech gain of microphone according to speech gain value.

The adjustment module 601 of the present embodiment can be triggered by the second judgment module 503, can also be as shown in fig. 6, by first Execution module 504 triggers, and can specifically set according to actual needs.

Device in this present embodiment is closed, wherein modules execute the concrete mode of operation in related this method It is described in detail in embodiment, no detailed explanation will be given here.

According to the present embodiment, the circuit of existing qchat earphone is improved, can obtain and be pressed on Qchat earphone Under key key assignments, and according to the operating mode of terminal, determining makes terminal execute intercommunication operation or executes common headphones Control operation is in this way, user's no replacement is required earphone, so that it may using the Qchat be capable of triggering terminal and execute the function of intercommunication operation It is compatible with common headphones to realize Qchat earphone to realize common line traffic control function for earphone, so that Qchat headset user is not necessarily to Common headphones are separately configured, so as to save earphone deployment cost;Moreover, the present invention is in the intercommunication behaviour for realizing Qchat earphone In work, based on the circuit of improved earphone, the Compensation Design of the speech gain of microphone is increased in software view, it is general in compatibility It preferably ensure that the realization of intercommunication function on the basis of logical earphone control function.

Those of ordinary skill in the art will appreciate that: realize that all or part of the steps of above method embodiment can pass through The relevant hardware of program instruction is completed, and program above-mentioned can be stored in a computer readable storage medium, the program When being executed, step including the steps of the foregoing method embodiments is executed;And storage medium above-mentioned includes: ROM, RAM, magnetic disk or light The various media that can store program code such as disk.

Finally, it should be noted that the above embodiments are merely illustrative of the technical solutions of the present invention, rather than its limitations;Although Present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that: it still may be used To modify the technical solutions described in the foregoing embodiments or equivalent replacement of some of the technical features; And these are modified or replaceed, the range for technical solution of various embodiments of the present invention that it does not separate the essence of the corresponding technical solution.

Claims (8)

1. a kind of method of processing Qchat earphone operation characterized by comprising
Detect Qchat earphone in microphone impedance value, wherein the microphone of the Qchat earphone anode and cathode it Between be parallel with preset resistance and key switch composition series arm;
Judge whether impedance value detected is lower than predetermined threshold;
If being lower than the predetermined threshold, it is determined that the key switch of the Qchat earphone is pressed, and is determined according to the impedance value First key assignments;
Judge whether the terminal of the Qchat earphone connection is in talkback mode,
If being in talkback mode, the terminal is set to execute the associated operation of intercommunication according to first key assignments;
If being not at talkback mode, first key assignments is converted into the second key assignments, and second key assignments is distributed to institute The application of terminal is stated so that the terminal executes corresponding X-by-Wire, wherein second key assignments is the key of common headphones Switch the key assignments being pressed;
Judging that the terminal of the Qchat earphone connection is after talkback mode, further includes:
Increase the speech gain of the microphone of the Qchat earphone.
2. the method according to claim 1, wherein increasing the speech gain of the microphone of the Qchat earphone Include:
Obtain the Qchat earphone key switch be pressed before and the microphone after being pressed impedance contrast;
The speech gain value of the microphone is determined according to the impedance contrast;
Increase the speech gain of the microphone according to the speech gain value.
3. method according to claim 1 or 2, which is characterized in that the resistance value of the preset resistance is arrived at 2000 ohm Between 2500 ohm.
4. according to the method described in claim 3, it is characterized in that, the resistance value of the preset resistance is 2200 ohm.
5. a kind of terminal, which is characterized in that the terminal can be connect with Qchat earphone, comprising:
Detection module, for detecting the impedance value of the microphone in Qchat earphone, wherein the microphone of the Qchat earphone The series arm of preset resistance and key switch composition is parallel between anode and cathode;
First judgment module, for judging whether impedance value detected is lower than predetermined threshold, if being lower than the predetermined threshold, It determines that the key switch of the Qchat earphone is pressed, the first key assignments is determined according to the impedance value;
Second judgment module, for judging whether the terminal is in talkback mode, if being in talkback mode, triggering first is held Row module triggers the second execution module if being not at talkback mode;
First execution module, for making the terminal execute the associated operation of intercommunication according to first key assignments;
Second execution module for first key assignments to be converted to the second key assignments, and second key assignments is distributed to The application of the terminal is so that the terminal executes corresponding X-by-Wire, wherein second key assignments is pressing for common headphones The key assignments that key switch is pressed;
The terminal further include:
Adjust module, the speech gain of the microphone for increasing the Qchat earphone.
6. terminal according to claim 5, which is characterized in that the increase Qchat earphone that the adjustment module executes The speech gain of microphone include:
Obtain the Qchat earphone key switch be pressed before and the microphone after being pressed impedance contrast;
The speech gain value of the microphone is determined according to the impedance contrast;
Increase the speech gain of the microphone according to the speech gain value.
7. terminal according to claim 5 or 6, which is characterized in that the resistance value of the preset resistance is arrived at 2000 ohm Between 2500 ohm.
8. terminal according to claim 7, which is characterized in that the resistance value of the preset resistance is 2200 ohm.
CN201610861812.4A 2016-09-28 2016-09-28 Handle the method and terminal of the operation of Qchat earphone CN106231477B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610861812.4A CN106231477B (en) 2016-09-28 2016-09-28 Handle the method and terminal of the operation of Qchat earphone

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610861812.4A CN106231477B (en) 2016-09-28 2016-09-28 Handle the method and terminal of the operation of Qchat earphone

Publications (2)

Publication Number Publication Date
CN106231477A CN106231477A (en) 2016-12-14
CN106231477B true CN106231477B (en) 2019-06-04

Family

ID=58075852

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610861812.4A CN106231477B (en) 2016-09-28 2016-09-28 Handle the method and terminal of the operation of Qchat earphone

Country Status (1)

Country Link
CN (1) CN106231477B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106817488A (en) * 2017-01-04 2017-06-09 青岛海信移动通信技术股份有限公司 Intercommunication earphone button pressing event responding method and apparatus

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5978689A (en) * 1997-07-09 1999-11-02 Tuoriniemi; Veijo M. Personal portable communication and audio system
CN101448034A (en) * 2008-12-26 2009-06-03 符文剑 PTT controller used in intercom headset
CN201928419U (en) * 2011-01-21 2011-08-10 青岛海信移动通信技术股份有限公司 Earphone and mobile communication terminal provided with same
KR20120121057A (en) * 2011-04-26 2012-11-05 삼성전자주식회사 Apparatus and method for recognizing earphone in potable terminal
CN103167367B (en) * 2011-12-19 2015-10-14 腾讯科技(深圳)有限公司 A headset, voice-wire method and system information
EP3070961B1 (en) * 2014-05-30 2018-09-19 Huawei Technologies Co., Ltd. Circuit for detecting button-pressing action of earphone, terminal, and earphone
CN204721343U (en) * 2015-06-18 2015-10-21 南安市德华电子设备厂 Short distance intercom
CN105554691A (en) * 2015-12-30 2016-05-04 太仓卡斯特姆新材料有限公司 Low power Bluetooth intercom device

Also Published As

Publication number Publication date
CN106231477A (en) 2016-12-14

Similar Documents

Publication Publication Date Title
US6327567B1 (en) Method and system for providing spatialized audio in conference calls
US8503651B2 (en) Teleconferencing configuration based on proximity information
CN102484667B (en) Method and system for controlling audio in a collaboration environment
JP4921043B2 (en) Method and apparatus for blocking the switching connection of unsolicited telephone calls
US20090080632A1 (en) Spatial audio conferencing
US20140314247A1 (en) Method for controlling terminal device and the smart terminal device thereof
US20090112589A1 (en) Electronic apparatus and system with multi-party communication enhancer and method
US7330541B1 (en) Automated conference moderation
CN103257873B (en) A method and system for controlling an intelligent terminal device
US20070263823A1 (en) Automatic participant placement in conferencing
US20070112563A1 (en) Determination of audio device quality
US20070077924A1 (en) System and method to locate mobile devices having inaudible settings
US20110044474A1 (en) System and Method for Adjusting an Audio Signal Volume Level Based on Whom is Speaking
EP1973321A1 (en) Teleconferencing system with multiple channels at each location
US9749473B2 (en) Placement of talkers in 2D or 3D conference scene
KR20080065302A (en) Communication terminal and method for playing the rbt when calling
CN101001276A (en) Intelligent telephone terminal and method for providing un-disturbing service for it
DE4440500A1 (en) communication system
CN201928419U (en) Earphone and mobile communication terminal provided with same
KR20100128884A (en) Method for recognition ear phone in potable terminal and apparatus thereof
EP1100249A2 (en) Optimizing audio response in voice over IP systems
CN101917518A (en) Method for setting incoming call prompt aiming at contacts
US8363810B2 (en) Method and system for aurally positioning voice signals in a contact center environment
US9736312B2 (en) Method and system for controlling audio signals in multiple concurrent conference calls
EP2424198A2 (en) Intelligent audio routing for incoming calls

Legal Events

Date Code Title Description
C06 Publication
SE01 Entry into force of request for substantive examination
GR01 Patent grant