CN102546869A - USB (Universal Serial Bus) interface multiplexing interphone and control method thereof - Google Patents
USB (Universal Serial Bus) interface multiplexing interphone and control method thereof Download PDFInfo
- Publication number
- CN102546869A CN102546869A CN2012100030008A CN201210003000A CN102546869A CN 102546869 A CN102546869 A CN 102546869A CN 2012100030008 A CN2012100030008 A CN 2012100030008A CN 201210003000 A CN201210003000 A CN 201210003000A CN 102546869 A CN102546869 A CN 102546869A
- Authority
- CN
- China
- Prior art keywords
- pin
- usb
- module
- external plug
- usb interface
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 53
- 238000001514 detection method Methods 0.000 claims abstract description 151
- 238000012545 processing Methods 0.000 claims abstract description 61
- 238000004891 communication Methods 0.000 claims description 142
- 238000012546 transfer Methods 0.000 claims description 71
- 238000012937 correction Methods 0.000 claims description 10
- 230000005236 sound signal Effects 0.000 claims description 6
- 230000008901 benefit Effects 0.000 abstract description 4
- 230000005540 biological transmission Effects 0.000 abstract 1
- 230000008569 process Effects 0.000 description 20
- 230000008859 change Effects 0.000 description 15
- 239000012467 final product Substances 0.000 description 12
- 238000005516 engineering process Methods 0.000 description 7
- 108010022579 ATP dependent 26S protease Proteins 0.000 description 6
- 230000009471 action Effects 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000013501 data transformation Methods 0.000 description 1
- 230000002950 deficient Effects 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 230000009977 dual effect Effects 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000008676 import Effects 0.000 description 1
- 239000000463 material Substances 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
Images
Landscapes
- Telephone Function (AREA)
Abstract
The invention relates to a USB (Universal Serial Bus) interface multiplexing interphone and a control method thereof; the interphone comprises an USB interface, an interface detection module, a control module and at least two function processing modules which are arranged on the interphone, wherein the interface detection module is used for detecting whether a signal detection pin on the USB interface of the interphone is effective and generating a pin detection signal; the control module is used for judging whether the USB interface on the interphone is connected into an exterior plug-in unit according to the pin detection signal and the type of the exterior plug-in unit when the USB interface is connected into the exterior plug-in unit; and the control module is also used for controlling the functional processing modules in the interphone corresponding to the type of the exterior plug-in unit to be communicated with the exterior plug-in unit according to the judgment result of the type of the exterior plug-in unit. The USB interface of the interphone provided by the invention can be applied to USB channel transmission equipment, plug-in modules of headsets and the like; and the multiple functional interfaces are multiplexed on the interface with very small size, thereby the volume of the interphone is reduced, and the USB (Universal Serial Bus) interface is very suitable for the small-sized portable interphone and has very obvious cost advantage.
Description
Technical field
The present invention relates to communication technical field, more particularly, relate to multiplexing intercom of a kind of USB interface and control method thereof.
Background technology
It is integrated that intercom design day is tending towards small volume and less weight.But because the various data-transformation facilities that have of intercom, make that interface is more on its casing, for example USB interface and earphone interface.The space that these interfaces occupy is bigger, and cost is higher.
Summary of the invention
The technical problem that the present invention will solve is, to the interface of the existing intercom big defective that too much takes up space, multiplexing intercom of a kind of USB interface and control method thereof is provided.
The technical solution adopted for the present invention to solve the technical problems is: construct the multiplexing intercom of a kind of USB interface, comprising: be arranged on the USB interface on the intercom, and interface detection module, control module and at least two functional processing modules;
Said interface detection module is connected with said USB interface, and whether be used to detect on the USB interface on the intercom input pin effective, produces the pin detection signal;
Said control module links to each other with said interface detection module, is used for judging according to the pin detection signal that said interface detection module is sent whether the USB interface on this intercom inserts external plug-in, when inserting external plug-in, judges the type of external plug-in; Said control module is also according to functional processing module and this external plug-in communication corresponding with the type of this external plug-in in the judged result control intercom of external plug-in type.
The present invention also provides the control method of the multiplexing intercom of a kind of USB interface, may further comprise the steps:
Whether the Function detection pin of the USB interface on S1, the detection intercom is effective, produces the pin detection signal;
S2, judge according to the pin detection signal whether the USB interface on this intercom inserts external plug-in, when inserting external plug-in, judge the type of external plug-in;
S3, according to functional processing module and this external plug-in communication corresponding at least two functional processing modules in the judged result of the external plug-in type control intercom with the type of this external plug-in.
Intercom that the USB interface of embodiment of the present invention is multiplexing and control method thereof have following beneficial effect: the invention solves the low shortcoming of intercom interface integrated level, USB interface is applied to the intercom terminal; Can multiplexing USB channel transfer equipment and earphone plug-in unit etc.; Multiple functional interface is multiplexing on small-sized socket, and the circuit level that is adopted is high, has dwindled the volume of intercom; Be suitable for very much the portable intercom of miniaturization, have tangible cost advantage.
Description of drawings
To combine accompanying drawing and embodiment that the present invention is described further below, in the accompanying drawing:
Fig. 1 is the module frame chart of first embodiment of the multiplexing intercom of USB interface according to the present invention;
Fig. 2 is the module frame chart of second embodiment of the multiplexing intercom of USB interface according to the present invention;
Fig. 3 is the module frame chart of the 3rd embodiment of the multiplexing intercom of USB interface according to the present invention;
Fig. 4 is the module frame chart of the 4th embodiment of the multiplexing intercom of USB interface according to the present invention;
Fig. 5 is the module frame chart of the 5th embodiment of the multiplexing intercom of USB interface according to the present invention;
Fig. 6 is the module frame chart of the 6th embodiment of the multiplexing intercom of USB interface according to the present invention;
Fig. 7 is the module frame chart of the 7th embodiment of the multiplexing intercom of USB interface according to the present invention;
Fig. 8 is the module frame chart of the 8th embodiment of the multiplexing intercom of USB interface according to the present invention;
Fig. 9 is the module frame chart of the 9th embodiment of the multiplexing intercom of USB interface according to the present invention;
Figure 10 is the module frame chart of the tenth embodiment of the multiplexing intercom of USB interface according to the present invention;
Figure 11 is the module frame chart of first embodiment of the control method of the multiplexing intercom of USB interface according to the present invention;
Figure 12 is the module frame chart of second embodiment of the control method of the multiplexing intercom of USB interface according to the present invention;
Figure 13 is the module frame chart of the 3rd embodiment of the control method of the multiplexing intercom of USB interface according to the present invention;
Figure 14 is the module frame chart of the 4th embodiment of the control method of the multiplexing intercom of USB interface according to the present invention;
Figure 15 is the module frame chart of the 5th embodiment of the control method of the multiplexing intercom of USB interface according to the present invention.
Embodiment
In order to make the object of the invention, technical scheme and advantage clearer,, the present invention is further elaborated below in conjunction with accompanying drawing and embodiment.
See also Fig. 1, be the module frame chart of first embodiment of the multiplexing intercom of USB interface according to the present invention.As shown in Figure 1, the multiplexing intercom of the USB interface that first embodiment of the invention provides comprises: be arranged on the usb 10 on the intercom, and interface detection module 20, control module 30 and at least two functional processing modules 40.
It is at least two kinds in USB channel transfer equipment, earphone plug-in unit, UART channel transfer equipment and the USB charger that USB interface of the present invention can be selected multiplexing external plug-in type, perhaps operable external plug-in on other intercom.Correspondingly, be usb data transceiver module, earpiece audio module, UART data transmit-receive module and USB charging circuit with USB channel transfer equipment, earphone plug-in unit, UART channel transfer equipment and the corresponding functional processing module 40 of USB charger difference.
Of the present invention by control module 30 controlled function processing modules 40 and external plug-in communication; Not only can be through adopting switching device; This functional processing module 40 is connected to the corresponding function pin of USB interface and this external plug-in like the signal multiplexer switch; Can also in advance this functional processing module 40 be connected to the corresponding function pin of USB interface, again through enabling 40 controls of this functional processing module itself and external plug-in communication.
In addition, the USB interface that the present invention adopts can be selected the 5PIN interface for use, promptly has the standard interface of 5 pins.For example, Micro-USB and Mini-USB.Yet the present invention does not limit concrete interface type, and this area basic technology personnel can customize concrete interface as required, and only need match with the corresponding function pin of outside appurtenances gets final product.
Be example with 5PIN interface commonly used below, each concrete execution mode of the present invention is described.
See also Fig. 2, be the module frame chart of second embodiment of the multiplexing intercom of USB interface according to the present invention.As shown in Figure 2; The type of the multiplexing external plug-in of USB interface is USB channel transfer equipment and earphone plug-in unit among second embodiment, and at least two functional processing modules that comprise in the corresponding with it intercom are respectively usb data transceiver module 41 and earpiece audio module 42.
This intercom also comprises a PTT detection module 50, is used to judge whether the PTT function opens, and then produces the PTT useful signal.In the present embodiment, a PTT detection module 50 can produce the PTT useful signal and send to control module 30 according to the instruction that the user imports on intercom.For example on intercom, be provided with the PTT function key, when the user need open the PTT call function, a PTT detection module 50 detected the PTT function key and is pressed, and therefore sent the PTT useful signal and gave control module 30.Control module 30 judges not connect external plug-in when not receiving bus voltage useful signal and earphone useful signal, receive bus voltage useful signal and earphone useful signal one of them the time, judgement has inserted external plug-in.
Pin according to the selected USB interface of headset detection pin is different, and the Rule of judgment of the type of external plug-in is different, mainly contains following two kinds of situation:
When the headset detection pin was chosen as type identification pin (ID), control module 30 was when receiving the earphone useful signal, and the type that can judge external plug-in is the earphone plug-in unit.Control module 30 is given the earphone plug-in unit with earpiece audio module 42 through audio frequency output pin output audio signal after the type of judging external plug-in is the earphone plug-in unit.This audio frequency output pin can be in positive and negative data communication pin (D+ and D-) and the bus voltage detection pin (V-BUS); And then separate with the headset detection pin area, in order to avoid the detection of 22 pairs of headset detection pins of effect of signals headset detection module of audio frequency output pin.Control module 30 is when receiving the PTT useful signal; Cut off the audio frequency output of earpiece audio module 42; Be connected to Mike's audio frequency acquiring of earphone plug-in unit through the audio collection pin of usb 10, the audio frequency of collection can be at the follow-up intercom that sends to the other side through intercom conversation module.The audio collection pin can be the pin except that the audio frequency output pin in the usb 10.In present embodiment, the headset detection pin is chosen as type identification pin (ID), and the audio frequency output pin is chosen as bus voltage and detects pin (V-BUS), and the audio collection pin is chosen as type identification pin (ID) equally.
When the headset detection pin is in the positive and negative data communication pin (D+ and D-); Control module 30 is when receiving the earphone useful signal; Also need judge whether to receive the bus voltage useful signal; If receive the bus voltage useful signal, then above-mentioned earphone useful signal is to make positive and negative data communication pin (D+ and D-) have the signal of telecommunication owing to inserted USB channel transfer equipment, thereby judges that external plug-in is not the earphone plug-in unit.Having only the type that when not receiving the bus voltage useful signal, can judge external plug-in is the earphone plug-in unit.Control module 30 is given the earphone plug-in unit with earpiece audio module 42 through audio frequency output pin output audio signal after the type of judging external plug-in is the earphone plug-in unit.And when receiving the PTT useful signal, cut off the audio frequency output of said earpiece audio module 42, be connected to Mike's audio frequency acquiring of earphone plug-in unit through the audio collection pin of usb 10.For example, the headset detection pin is chosen as correction data communication pin (D+), and the audio frequency output pin is chosen as bus voltage and detects pin (V-BUS), and the audio collection pin is chosen as type identification pin schemes such as (ID) equally.
See also Fig. 3; The 3rd embodiment for the multiplexing intercom of USB interface of the present invention; The difference of itself and second embodiment is that the earphone plug-in unit is provided with the PTT function key, substitutes a PTT detection module 50 whether detect PTT effective through the 2nd PTT detection module 23 is set in interface detection module 20, and it specifically is connected through detecting pin with the PTT of USB interface; Whether effective, effectively then produce the PTT useful signal and send to control module 30 if being used to detect this PTT detection pin.PTT detects pin and can link to each other with the pin with PTT measuring ability of earphone plug-in unit, and the PTT function key is for example pressed in the instruction that the earphone plug-in unit is imported on the earphone plug-in unit according to the user, and it is effective to make that PTT detects pin.
See also Fig. 4, be the module frame chart of the 4th embodiment of the multiplexing intercom of USB interface according to the present invention.As shown in Figure 4; The difference of the 4th embodiment and the 3rd embodiment is; Headset detection pin and PTT detect pin and are set in correction data communication pin (D+) and the negative data communication pin (D-) respectively, and headset detection module and PTT detection module are integrated into the GPIO module 24 that is connected to positive and negative data communication pin (D+ and D-) through signal multiplexer switch 31.Control module 30 is connected to positive and negative data communication pin (D+ and D-) with GPIO module 24 whether headset detection pin and PTT detection pin is effectively judged through switching signal multiplexer switch 31.For example, when initialization, (D+ and D-) switches to GPIO module 24 with positive and negative data communication pin, and is high level with drawing on positive and negative data communication pin (D+ and the D-) inside.When a pin level that detects positive and negative data communication pin (D+ and D-) correspondence changes, generate corresponding detection signals and judge for main control module 30.
See also Fig. 5, be the module frame chart of the 5th embodiment of the multiplexing intercom of USB interface according to the present invention.As shown in Figure 5; The intercom 26S Proteasome Structure and Function of intercom that the USB interface of the 5th embodiment is multiplexing and the 3rd embodiment shown in Figure 3 is similar; Difference only is this intercom except multiplexing USB channel transfer equipment and earphone plug-in unit, can also multiplexing UART channel transfer equipment.
Correspondingly, at least two functional processing modules also comprise UART data transmit-receive module 43.
Identical among the process that control module 30 has judged whether to insert external plug-in and the 3rd embodiment; And when judging the type of the external plug-in that inserts; Judge that external plug-in is the earphone plug-in unit, and the earphone plug-in unit is also identical with the 3rd embodiment with the process that earpiece audio module 42 connects.Difference is, the intercom of present embodiment is judging that external plug-in is that the process of USB channel transfer equipment or UART channel transfer equipment is different with the 3rd embodiment, specific as follows said.
In this embodiment; Whether effectively be provided with the 2nd PTT detection module 23 and detect PTT and detect pin scheme though be employed in interface detection module 20, this area basic technology personnel will be appreciated that a PTT detection module 50 that also can adopt as shown in Figure 2 substitutes the 2nd PTT detection modules 23 and realizes the function that PTT detect.
See also Fig. 6, be the module frame chart of the 6th embodiment of the multiplexing intercom of USB interface according to the present invention.As shown in Figure 6; The intercom 26S Proteasome Structure and Function of the 6th embodiment and the 5th embodiment shown in Figure 5 is similar; Difference is headset detection pin and PTT detection pin are set in correction data communication pin (D+) and the negative data communication pin (D-) respectively, and headset detection module and PTT detection module are integrated into the GPIO module 24 that is connected to positive and negative data communication pin (D+ and D-) through signal multiplexer switch 31.Control module 30 is connected to positive and negative data communication pin (D+ and D-) with GPIO module 24 whether headset detection pin and PTT detection pin is effectively judged through switching signal multiplexer switch 31.For example, when initialization, (D+ and D-) switches to GPIO module 24 with positive and negative data communication pin, and is high level with drawing on positive and negative data communication pin (D+ and the D-) inside.When a pin level that detects positive and negative data communication pin (D+ and D-) correspondence changes, generate corresponding detection signals and judge for main control module 30.
See also Fig. 7, be the module frame chart of the 7th embodiment of the multiplexing intercom of USB interface according to the present invention.As shown in Figure 7; The intercom 26S Proteasome Structure and Function of intercom that the USB interface of the 7th embodiment is multiplexing and the 3rd embodiment shown in Figure 3 is similar; Difference only is this intercom except multiplexing USB channel transfer equipment and earphone plug-in unit, can also the multiplexing USB charger.
Correspondingly, at least two functional processing modules also comprise USB charging circuit 44.
Identical among the process that control module 30 has judged whether to insert external plug-in and the 3rd embodiment; And when judging the type of the external plug-in that inserts; Judge that external plug-in is the earphone plug-in unit, and the earphone plug-in unit is also identical with the 3rd embodiment with the process that earpiece audio module 42 connects.Difference is, the intercom of present embodiment is judging that external plug-in is that the process of USB channel transfer equipment or USB charger is different with the 3rd embodiment, specific as follows said.
In this embodiment; Whether effectively be provided with the 2nd PTT detection module 23 and detect PTT and detect pin scheme though be employed in interface detection module 20, this area basic technology personnel will be appreciated that a PTT detection module 50 that also can adopt as shown in Figure 2 substitutes the 2nd PTT detection modules 23 and realizes the function that PTT detect.
See also Fig. 8, be the module frame chart of the 8th embodiment of the multiplexing intercom of USB interface according to the present invention.As shown in Figure 8; The intercom 26S Proteasome Structure and Function of the 8th embodiment and the 7th embodiment shown in Figure 7 is similar; Difference is headset detection pin and PTT detection pin are set in correction data communication pin (D+) and the negative data communication pin (D-) respectively, and headset detection module and PTT detection module are integrated into the GPIO module 24 that is connected to positive and negative data communication pin (D+ and D-) through signal multiplexer switch 31.Control module 30 is connected to positive and negative data communication pin (D+ and D-) with GPIO module 24 whether headset detection pin and PTT detection pin is effectively judged through switching signal multiplexer switch 31.For example, when initialization, (D+ and D-) switches to GPIO module 24 with positive and negative data communication pin, and is high level with drawing on positive and negative data communication pin (D+ and the D-) inside.When a pin level that detects positive and negative data communication pin (D+ and D-) correspondence changes, generate corresponding detection signals and judge for main control module 30.
See also Fig. 9, be the module frame chart of the 9th embodiment of the multiplexing intercom of USB interface according to the present invention.As shown in Figure 9; The intercom 26S Proteasome Structure and Function of intercom that the USB interface of the 9th embodiment is multiplexing and the 3rd embodiment shown in Figure 3 is similar; Difference only is this intercom except multiplexing USB channel transfer equipment and earphone plug-in unit, can also multiplexing UART channel transfer equipment and USB charger.
Correspondingly, at least two functional processing modules also comprise UART data transmit-receive module 43 and USB charging circuit.
Identical among the process that control module 30 has judged whether to insert external plug-in and the 3rd embodiment; And when judging the type of the external plug-in that inserts; Judge that external plug-in is the earphone plug-in unit, and the earphone plug-in unit is also identical with the 3rd embodiment with the process that earpiece audio module 42 connects.Difference is, the intercom of present embodiment is judging that external plug-in is that the process of USB channel transfer equipment or UART channel transfer equipment or USB charger is different with the 3rd embodiment, specific as follows said.
Control module 30 judges that the type of external plug-in is USB channel transfer equipment or UART channel transfer equipment or USB charger when receiving the bus voltage useful signal.Therefore, control module 30 is selected a positive and negative data communication pin (D+ and D-) through usb 10 to be connected to external plug-in in usb data transceiver module 41 and UART data transmit-receive module 43 and is realized communication.Usb data transceiver module 41 and UART data transmit-receive module 43 can be connected to the positive and negative data communication pin (D+ and D-) of usb 10 through signal multiplexer switch 31, and control module 30 only need be switched signal multiplexer switch 31 when control and gets final product.For example select usb data transceiver module 41 to be connected with the positive and negative data communication pin (D+ and D-) of usb 10; And judge whether this usb data transceiver module 41 is successful with the external plug-in communication; If the success would judge that the type of this external plug-in is corresponding with selected functional processing module (being the usb data transceiver module); Be USB channel transfer equipment, therefore continue communication.If usb data transceiver module 41 is unsuccessful, judge that then the type of external plug-in is corresponding with non-selected functional processing module (being UART data transmit-receive module 43), be UART channel transfer equipment, perhaps be the USB charger.Select this moment the positive and negative data communication pin (D+ and D-) of non-selected functional processing module (being UART data transmit-receive module 43) through usb 10 is connected to this external plug-in.Whether the communication that control module 30 detects UART data transmit-receive module 43 once more is successful; Successful then judge that the type of external plug-in is a UART channel transfer equipment; And continuation communication; Unsuccessful then be judged as the USB charger, the bus voltage of USB charging circuit 44 through usb 10 detected pin (V-BUS) be connected to external plug-in.Equally, also can earlier UART data transmit-receive module 43 be linked to each other with external plug-in, invalidly then usb data transceiver module 41 linked to each other with external plug-in, if still invalidly again USB charging circuit 44 is attached thereto.
In this embodiment; Whether effectively be provided with the 2nd PTT detection module 23 and detect PTT and detect pin scheme though be employed in interface detection module 20, this area basic technology personnel will be appreciated that a PTT detection module 50 that also can adopt as shown in Figure 2 substitutes the 2nd PTT detection modules 23 and realizes the function that PTT detect.
See also Figure 10, be the module frame chart of the tenth embodiment of the multiplexing intercom of USB interface according to the present invention.Shown in figure 10; The intercom 26S Proteasome Structure and Function of the tenth embodiment and the 9th embodiment shown in Figure 9 is similar; Difference is headset detection pin and PTT detection pin are set in correction data communication pin (D+) and the negative data communication pin (D-) respectively, and headset detection module and PTT detection module are integrated into the GPIO module 24 that is connected to positive and negative data communication pin (D+ and D-) through signal multiplexer switch 31.Control module 30 is connected to positive and negative data communication pin (D+ and D-) with GPIO module 24 whether headset detection pin and PTT detection pin is effectively judged through switching signal multiplexer switch 31.For example, when initialization, (D+ and D-) switches to GPIO module 24 with positive and negative data communication pin, and is high level with drawing on positive and negative data communication pin (D+ and the D-) inside.When a pin level that detects positive and negative data communication pin (D+ and D-) correspondence changes, generate corresponding detection signals and judge for main control module 30.
The 9th embodiment and the tenth embodiment can preferably adopt the pin configuration shown in the form 1.
Form 1
In the present invention, UART transceiver module, USB transceiver module, signal multiplexer switch can be the element circuits in the processor (CPU, DSP, MCU, ARM etc.), also can be element circuits independently.
See also Figure 11, be the flow chart of first embodiment of the control method of the multiplexing intercom of USB interface according to the present invention.Shown in figure 11, the control method of the intercom that the USB interface of first embodiment is multiplexing may further comprise the steps:
At first, in step S1101, whether the Function detection pin that detects the USB interface on the intercom is effective, produces the pin detection signal.
Subsequently, in step S1102, judge according to the pin detection signal whether the USB interface on this intercom inserts external plug-in, and being then changes step S1104, otherwise change step S1103;
Subsequently, in step S1103, judge not connect external plug-in, do not carry out action.
Subsequently, in step S1104, judge and inserted external plug-in, therefore judge the type of external plug-in, change step S1105;
Subsequently, in step S1105, according to functional processing module and this external plug-in communication corresponding at least two functional processing modules in the judged result of the external plug-in type control intercom with the type of this external plug-in.
Can adopt the multiplexing intercom of foregoing USB interface in the control method of the intercom that USB interface of the present invention is multiplexing.It is at least two kinds in USB channel transfer equipment, earphone plug-in unit, UART channel transfer equipment and the USB charger that this method Hu always can select multiplexing external plug-in type, perhaps operable external plug-in on other intercom.Correspondingly, be usb data transceiver module, earpiece audio module, UART data transmit-receive module and USB charging circuit with the corresponding respectively functional processing module of USB channel transfer equipment, earphone plug-in unit, UART channel transfer equipment and USB charger.
Controlled function processing module of the present invention and external plug-in communication; Not only can be through adopting switching device; This functional processing module is connected to the corresponding function pin of USB interface and this external plug-in like the signal multiplexer switch; Can also in advance this functional processing module be connected to the corresponding function pin of USB interface, again through enabling the control of this functional processing module itself and external plug-in communication.
In addition, the USB interface that adopts in the control method of the present invention can be selected the 5PIN interface for use, promptly has the standard interface of 5 pins.For example, Micro-USB and Mini-USB.Yet the present invention does not limit concrete interface type, and this area basic technology personnel can customize concrete interface as required, and only need match with the corresponding function pin of outside appurtenances gets final product.
Be example with 5PIN interface commonly used below, each concrete execution mode of the control method of the multiplexing intercom of USB interface of the present invention is described.
See also Figure 12, be the flow chart of second embodiment of the control method of the multiplexing intercom of USB interface according to the present invention.The type of the multiplexing external plug-in of USB interface is USB channel transfer equipment and earphone plug-in unit among second embodiment, and at least two functional processing modules that comprise in the corresponding with it intercom are respectively usb data transceiver module and earpiece audio module.Shown in figure 12, the control method of the intercom that the USB interface of second embodiment is multiplexing may further comprise the steps:
Subsequently, in step S1202, whether testbus voltage detecting pin (V-BUS) is effective, effectively then produces the bus voltage useful signal; And whether effective, effectively then produce the earphone useful signal if detecting the headset detection pin.This step is corresponding to the step S1101 among Figure 11.USB interface comprises that bus voltage detects type identification pin (ID) and grounding pin (GND) in pin (V-BUS), correction data communication pin (D+), negative data communication pin (D-), the USB interface.In this embodiment, the input pin on the USB interface comprises: the bus voltage of USB interface detects pin (V-BUS) and headset detection pin.USB channel transfer equipment can adopt conventional USB pin configuration.The pin that USB interface matches with the earphone plug-in unit comprises headset detection pin, audio frequency output pin and audio collection pin at least, respectively with the earphone plug-in unit on have the headset detection function pin, be used for the pin of audio plays and be used for the corresponding connection of pin through Mike's audio frequency acquiring.The earphone plug-in unit can be for having the one earphone of Mike and loudspeaker.
Subsequently, in step S1202, judging whether to receive the bus voltage useful signal, is then to change step S1203, otherwise changes step S1206.
Subsequently, in step S1203, when receiving the bus voltage useful signal, judge and inserted external plug-in.
Subsequently, in step S1204, judge that external plug-in is a USB channel transfer equipment.
Subsequently, in step S1205, the positive and negative data communication pin (D+ and D-) of the usb data transceiver module at least two functional processing modules through USB interface is connected to USB channel transfer equipment realizes communication.Preferably, also can adopt switching device,, the usb data transceiver module is connected to the positive and negative data communication pin (D+ and D-) of USB interface like the signal multiplexer switch.
In step S1206, judge whether to receive the earphone useful signal, be then to change step S1208, otherwise change step S1207.
In step S1207, when not receiving the earphone useful signal, judge not connect external plug-in.
In step S1208, when receiving the earphone useful signal, judge and inserted external plug-in.
In step S1209, judge that the type of external plug-in is the earphone plug-in unit.
In step S1210, give the earphone plug-in unit through audio frequency output pin output audio signal with the earpiece audio module.
In step S1211, judge whether to receive the PTT useful signal, be then to change step S1202, continue output audio signal otherwise change step S1210.
In step S1212, cut off the audio frequency output of earpiece audio module, be connected to Mike's audio frequency acquiring of earphone plug-in unit through the audio collection pin of USB interface, the audio frequency of collection can be at the follow-up intercom that sends to the other side through intercom conversation module.The audio frequency output pin is the pin except that said headset detection pin in the said USB interface, and said audio collection pin is the pin except that said audio frequency output pin in the said USB interface.
In second embodiment of control method; The headset detection pin is chosen to be type identification pin (ID) in the USB interface; The audio frequency output pin can be the pin except that the headset detection pin in the USB interface, and the audio collection pin is the pin except that the audio frequency output pin in the USB interface.
In this embodiment, the headset detection pin is in the positive and negative data communication pin (D+ and D-), distinguishes mutually thereby the bus voltage that is adopted with USB channel transfer equipment detects pin (V-BUS), is convenient to the type of external plug-in is discerned.And when receiving the earphone useful signal; Also need judge whether to receive the bus voltage useful signal; If receive the bus voltage useful signal; Then above-mentioned earphone useful signal is to make positive and negative data communication pin (D+ and D-) have the signal of telecommunication owing to inserted USB channel transfer equipment, thereby judges that external plug-in is not the earphone plug-in unit.Having only the type that when not receiving the bus voltage useful signal, can judge external plug-in is the earphone plug-in unit.Pin configuration as shown in Figure 4, headset detection pin are chosen as correction data communication pin (D+), and the audio frequency output pin is chosen as bus voltage and detects pin (V-BUS), and the audio collection pin is chosen as type identification pin schemes such as (ID) equally.
In other embodiment; The headset detection pin can also be chosen to be type identification pin (ID) in the USB interface; Also can detect pin (V-BUS) with the bus voltage that USB channel transfer equipment is adopted and distinguish mutually, be convenient to the type of external plug-in is discerned.It judges that flow process is similar with the 12 embodiment, and difference only is that when receiving the earphone useful signal, the type that can judge external plug-in is the earphone plug-in unit.Intercom structure as shown in Figure 3, headset detection pin are chosen as type identification pin (ID), and the audio frequency output pin is chosen as bus voltage and detects pin (V-BUS), and the audio collection pin is chosen as type identification pin (ID) equally.
In above-mentioned deterministic process, among the step S1211, can also the instruction of on intercom, importing according to the user as shown in Figure 2 judge whether to produce the PTT useful signal.For example on intercom, be provided with the PTT function key, when the user need open the PTT call function, detect the PTT function key and be pressed, therefore produce the PTT useful signal.Perhaps shown in the 3rd embodiment of the multiplexing intercom of Fig. 3 USB interface of the present invention, it is provided with the PTT function key on the earphone plug-in unit, and whether effective, effectively then produce the PTT useful signal if detecting pin through the PTT that detects USB interface.PTT detects pin and can link to each other with the pin with PTT measuring ability of earphone plug-in unit, and the PTT function key is for example pressed in the instruction that the earphone plug-in unit is imported on the earphone plug-in unit according to the user, and it is effective to make that PTT detects pin.
In other embodiment; When headset detection pin and PTT detect pin and be set in correction data communication pin (D+) and the negative data communication pin (D-) respectively, can also headset detection function and PTT measuring ability be integrated into the GPIO module that is connected to positive and negative data communication pin (D+ and D-) through the signal multiplexer switch and realize.Through the switching signal multiplexer switch, the GPIO module is connected to positive and negative data communication pin (D+ and D-) whether headset detection pin and PTT detection pin are effectively judged.For example, when initialization, (D+ and D-) switches to the GPIO module with positive and negative data communication pin, and is high level with drawing on positive and negative data communication pin (D+ and the D-) inside.When a pin level that detects positive and negative data communication pin (D+ and D-) correspondence changes, generate corresponding detection signals.
See also Figure 13, be the flow chart of the 3rd embodiment of the control method of the multiplexing intercom of USB interface according to the present invention.The control method of the intercom that the USB interface of the 3rd embodiment is multiplexing is similar with second embodiment; Difference only is that the type of the external plug-in that it is multiplexing also comprises UART channel transfer equipment; Also comprise the UART data transmit-receive module in the corresponding with it intercom, identical among the process that in idiographic flow, has judged whether to insert external plug-in and second embodiment, and when the type of the external plug-in of judging access; Judge that external plug-in is the earphone plug-in unit; And the process that earphone plug-in unit and earpiece audio module are connected is also identical, and difference is to judge among the step S1202 that the flow process that receives behind the bus voltage useful signal is different, specific as follows said with it:
In step S1301, judge to receive the bus voltage useful signal.
In step S1302, judge and inserted external plug-in.
In step S1303, judge that the type of external plug-in is USB channel transfer equipment or UART channel transfer equipment.
In step S1304; In usb data transceiver module and UART data transmit-receive module, select a positive and negative data communication pin (D+ and D-) to be connected to said external plug-in and realize communication, adopt the usb data transceiver module to be connected communication in the present embodiment earlier with external plug-in through USB interface.Usb data transceiver module and UART data transmit-receive module can be connected to the positive and negative data communication pin (D+ and D-) of USB interface in advance through the signal multiplexer switch, when control, only need the control signal multiplexer switch to switch and get final product.
In step S1305, whether successful, be then to change step S1306 if detecting selected functional processing module (being the usb data transceiver module) communication, otherwise change step S1308.
In step S1306, judge that the type of external plug-in is corresponding with selected functional processing module (being the usb data transceiver module), be USB channel transfer equipment in the present embodiment.
In step S1307, keep the USB communication.
In step S1308, judge that the type of external plug-in is corresponding with non-selected functional processing module (UART data transmit-receive module), be UART channel transfer equipment in the present embodiment.
In step S1309, the positive and negative data communication pin (D+ and D-) of non-selected functional processing module (UART data transmit-receive module) through USB interface is connected to external plug-in.
In other embodiment of the present invention, also can select the UART data transmit-receive module to link to each other earlier with external plug-in, communication is unsuccessful selects the usb data transceiver module to link to each other with external plug-in again.
See also Figure 14, be the flow chart of the 4th embodiment of the control method of the multiplexing intercom of USB interface according to the present invention.The control method of the intercom that the USB interface of the 4th embodiment is multiplexing is similar with second embodiment; Difference only is that the type of the external plug-in that it is multiplexing also comprises the USB charger; Also comprise the USB charging circuit in the corresponding with it intercom, identical among the process that in idiographic flow, has judged whether to insert external plug-in and second embodiment, and when the type of the external plug-in of judging access; Judge that external plug-in is the earphone plug-in unit; And the process that earphone plug-in unit and earpiece audio module are connected is also identical, and difference is to judge among the step S1202 that the flow process that receives behind the bus voltage useful signal is different, specific as follows said with it:
In step S1401, judge to receive the bus voltage useful signal.
In step S1402, judge and inserted external plug-in.
In step S1403, judge that the type of external plug-in is USB channel transfer equipment or USB charger.
In step S1404, the positive and negative data communication pin (D+ and D-) of usb data transceiver module through USB interface is connected to said external plug-in realizes communication.The usb data transceiver module can be connected to the positive and negative data communication pin (D+ and D-) of USB interface in advance through the signal multiplexer switch, when control, only need the control signal multiplexer switch to switch and get final product.
In step S1405, whether successful, be then to change step S1406 if detecting the communication of usb data transceiver module, otherwise change step S1408.
In step S1406, judge that the type of external plug-in is a USB channel transfer equipment.
In step S1407, keep the USB communication.
In step S1408, judge that the type of external plug-in is the USB charger.
In step S1409, the bus voltage of USB charging circuit through USB interface detected pin (V-BUS) be connected to this external plug-in.The bus voltage that this USB charging circuit can be connected to USB interface in advance detects pin (V-BUS), when control, only need when the USB interface communication is invalid, activate this USB charging circuit and get final product.
See also Figure 15, be the flow chart of the 5th embodiment of the control method of the multiplexing intercom of USB interface according to the present invention.The control method of the intercom that the USB interface of the 5th embodiment is multiplexing is similar with second embodiment; The control method that difference only is this intercom can also multiplexing UART channel transfer equipment and USB charger except multiplexing USB channel transfer equipment and earphone plug-in unit.Also comprise UART data transmit-receive module and USB charging circuit in the corresponding with it intercom; Identical among the process that in idiographic flow, judges whether to have inserted external plug-in and second embodiment; And it is when judging the type of the external plug-in that inserts, judge that external plug-in is the earphone plug-in unit, and the earphone plug-in unit is also identical with the process that the earpiece audio module connects; Difference is among the step S1202 to judge that the flow process that receives behind the bus voltage useful signal is different, specific as follows said with it:
In step S1501, judge to receive the bus voltage useful signal.
In step S1502, judge and inserted external plug-in.
In step S1503, judge that the type of external plug-in is USB channel transfer equipment or UART channel transfer equipment or USB charger.
In step S1504; In usb data transceiver module and UART data transmit-receive module, select a positive and negative data communication pin (D+ and D-) to be connected to said external plug-in and realize communication, adopt the usb data transceiver module to be connected communication in the present embodiment earlier with external plug-in through USB interface.Usb data transceiver module and UART data transmit-receive module can be connected to the positive and negative data communication pin (D+ and D-) of USB interface in advance through the signal multiplexer switch, when control, only need the control signal multiplexer switch to switch and get final product.
In step S1505, whether successful, be then to change step S1506 if detecting selected functional processing module (being the usb data transceiver module) communication, otherwise change step S1508.
In step S1506, judge that the type of external plug-in is corresponding with selected functional processing module (being the usb data transceiver module), be USB channel transfer equipment in the present embodiment.
In step S1507, keep the USB communication.
In step S1508, judge that the type of external plug-in is corresponding with non-selected functional processing module (UART data transmit-receive module) or be the USB charger, be UART channel transfer equipment or USB charger in the present embodiment.
In step S1509, the positive and negative data communication pin (D+ and D-) of non-selected functional processing module (being the UART data transmit-receive module) through USB interface is connected to external plug-in.
In step S1510, whether successful, be then to change step S1511 if detecting non-selected functional processing module (being the UART data transmit-receive module) communication, otherwise change step S1513.
In step S1511, judge that the type of external plug-in is corresponding with non-selected functional processing module (being the UART data transmit-receive module), be UART channel transfer equipment in the present embodiment.
In step S1512, keep the UART communication.
In step S1513, judge that the type of external plug-in is the USB charger.
In step S1514, the bus voltage of USB charging circuit through USB interface detected pin (V-BUS) be connected to this external plug-in.The bus voltage that this USB charging circuit can be connected to USB interface in advance detects pin (V-BUS), when control, only need when the USB interface communication is invalid, activate this USB charging circuit and get final product.
In other embodiment of the present invention, also can select the UART data transmit-receive module to link to each other earlier with external plug-in, communication is unsuccessful selects the usb data transceiver module to link to each other with external plug-in again, and communication gets nowhere and connects the USB charging circuit again and get final product.
Intercom that USB interface provided by the invention is multiplexing and control method thereof; Solved the low shortcoming of intercom interface integrated level, for example the 5PIN Application of Interface can multiplexing USB channel transfer equipment and earphone plug-in unit in the intercom terminal with USB interface; All right further multiplexing UART channel transfer equipment and USB charger; Multiple functional interface is multiplexing on small-sized socket, and the circuit that is adopted can cooperate realization by software and hardware, the integrated level height.For example adopt 5PIN Micro-USB or Mini-USB, it is the socket of standard, and volume is little, and reliable in structure is suitable for the portable intercom of miniaturization very much, has tangible cost advantage.In addition; Because it is single channel that the intercom earphone receives audio frequency; And mobile phone is a dual track, and the key of answering on the handset earphone is that the edge triggers, and the PTT of intercom is a level detection; Therefore multiplexing intercom of the USB interface that provides of the present invention and control method thereof and mobile phone have obvious difference, can satisfy intercom PTT call function.
The present invention describes according to specific embodiment, but it will be understood by those skilled in the art that when not breaking away from the scope of the invention, can carry out various variations and be equal to replacement.In addition, for adapting to the specific occasion or the material of the present invention's technology, can carry out many modifications and not break away from its protection range the present invention.Therefore, the present invention is not limited to specific embodiment disclosed herein, and comprises that all drop into the embodiment of claim protection range.
Claims (10)
1. the intercom that USB interface is multiplexing is characterized in that, comprising: be arranged on the USB interface on the intercom, and interface detection module, control module and at least two functional processing modules;
Said interface detection module is connected with said USB interface, and whether be used to detect on the USB interface on the intercom input pin effective, produces the pin detection signal;
Said control module links to each other with said interface detection module, is used for judging according to the pin detection signal that said interface detection module is sent whether the USB interface on this intercom inserts external plug-in, when inserting external plug-in, judges the type of external plug-in; Said control module is also according to functional processing module and this external plug-in communication corresponding with the type of this external plug-in in the judged result control intercom of external plug-in type.
2. the multiplexing intercom of USB interface according to claim 1 is characterized in that:
Said at least two functional processing modules comprise: usb data transceiver module and earpiece audio module;
Input pin on the said USB interface comprises: the bus voltage of USB interface detects pin (V-BUS) and headset detection pin; Said headset detection pin is corresponding with the pin with headset detection function of earphone plug-in unit, and said headset detection pin is set at one in type identification pin (ID) in the USB interface, the positive and negative data communication pin (D+ and D-);
Said interface detection module comprises: detecting the bus voltage detection module that pin (V-BUS) links to each other with said bus voltage, whether effective, effectively then produce the bus voltage useful signal if being used for testbus voltage detecting pin (V-BUS); And the headset detection module that links to each other with said headset detection pin, whether effective, effectively then produce the earphone useful signal if being used to detect the headset detection pin;
Said intercom also comprises the PTT detection module, and whether be used to detect PTT effective, effectively then produces the PTT useful signal;
Said control module is judged not connect external plug-in when not receiving bus voltage useful signal and earphone useful signal, when receiving bus voltage useful signal or earphone useful signal, is judged and inserted external plug-in;
Said control module is when receiving the bus voltage useful signal; The type of judging external plug-in is a USB channel transfer equipment, and the positive and negative data communication pin (D+ and D-) of said usb data transceiver module through USB interface is connected to said USB channel transfer equipment realization communication;
When said headset detection pin was type identification pin (ID), said control module judged that the type of external plug-in is the earphone plug-in unit when receiving the earphone useful signal; When said headset detection pin was in the positive and negative data communication pin (D+ and D-), said control module judged that the type of external plug-in is the earphone plug-in unit when not receiving the bus voltage useful signal and receiving the earphone useful signal;
When said control module is the earphone plug-in unit in the type of judging external plug-in; Give the earphone plug-in unit with said earpiece audio module through audio frequency output pin output audio signal; And when receiving the PTT useful signal; Cut off the audio frequency output of said earpiece audio module; Be connected to Mike's audio frequency acquiring of earphone plug-in unit through the audio collection pin of USB interface, said audio frequency output pin is the pin except that said headset detection pin in the said USB interface, and said audio collection pin is the pin except that said audio frequency output pin in the said USB interface.
3. the multiplexing intercom of USB interface according to claim 2 is characterized in that, said PTT detection module comprises:
The one PTT detection module, the instruction that is used for importing on intercom according to the user produces the PTT useful signal and sends to control module; Perhaps
The 2nd PTT detection module detects pin with the PTT of USB interface and is connected, and whether effective, effectively then produce the PTT useful signal and send to control module if being used to detect this PTT detection pin; Said PTT detects pin and links to each other with the pin with PTT measuring ability of earphone plug-in unit, and it is effectively perhaps invalid that the instruction that said earphone plug-in unit is imported on the earphone plug-in unit according to the user makes that this PTT detects pin.
4. the multiplexing intercom of USB interface according to claim 3 is characterized in that:
Said at least two functional processing modules also comprise the UART data transmit-receive module;
Said control module is when receiving the bus voltage useful signal; The type of judging external plug-in is USB channel transfer equipment or UART channel transfer equipment, in said usb data transceiver module and UART data transmit-receive module, selects a positive and negative data communication pin (D+ and D-) through USB interface to be connected to said external plug-in and realizes communication; Whether and it is successful to detect selected functional processing module communication; Successful then judge that the type of external plug-in is corresponding with selected functional processing module and continue communication; Unsuccessful then judge that the type of external plug-in is corresponding with non-selected functional processing module, and the positive and negative data communication pin (D+ and D-) of non-selected functional processing module through USB interface be connected to external plug-in.
5. the multiplexing intercom of USB interface according to claim 3 is characterized in that said at least two functional processing modules also comprise the USB charging circuit;
Said control module is when receiving the bus voltage useful signal; The type of judging external plug-in is USB channel transfer equipment or USB charger, and the positive and negative data communication pin (D+ and D-) of said usb data transceiver module through USB interface is connected to said external plug-in realization communication; Whether and it is successful to detect the USB communication; Successful then judge that the type of external plug-in is USB channel transfer equipment and continues communication; Unsuccessful then judge that the type of external plug-in is the USB charger, and the bus voltage of said USB charging circuit through USB interface detected pin (V-BUS) be connected to said USB charger.
6. the multiplexing intercom of USB interface according to claim 3 is characterized in that, said at least two functional processing modules also comprise: UART data transmit-receive module and USB charging circuit;
Said control module is when receiving the bus voltage useful signal; The type of judging external plug-in is USB channel transfer equipment, UART channel transfer equipment or USB charger, and positive and negative data communication pin (D+ and D-) through USB interface of the selection in said usb data transceiver module and UART data transmit-receive module is connected to said external plug-in and realizes communication; Whether and it is successful to detect selected functional processing module communication; Successful then judge that the type of external plug-in is corresponding with selected functional processing module and continue communication; Unsuccessful then judge that the type of external plug-in is corresponding with non-selected functional processing module or be the USB charger; And the positive and negative data communication pin (D+ and D-) of non-selected functional processing module through USB interface be connected to external plug-in; And continue to judge whether non-selected functional processing module communication is successful; Successful then judge that the type of external plug-in is corresponding with non-selected functional processing module and continue communication, unsuccessful then judge that the type of external plug-in is the USB charger, and the bus voltage detection pin (V-BUS) of said USB charging circuit through USB interface be connected to said USB charger.
7. according to any intercom that described USB interface is multiplexing among the claim 3-6; It is characterized in that; When said headset detection pin and PTT detection pin are respectively in correction data communication pin (D+) and the negative data communication pin (D-); Said headset detection module and PTT detection module are integrated into the GPIO module that is connected to positive and negative data communication pin (D+ and D-) through the signal multiplexer switch; Said control module is connected to positive and negative data communication pin (D+ and D-) with the GPIO module whether headset detection pin and PTT detection pin is effectively judged through switching said signal multiplexer switch.
8. the control method of the multiplexing intercom of a USB interface is characterized in that, may further comprise the steps:
Whether the Function detection pin of the USB interface on S1, the detection intercom is effective, produces the pin detection signal;
S2, judge according to the pin detection signal whether the USB interface on this intercom inserts external plug-in, when inserting external plug-in, judge the type of external plug-in;
S3, according to functional processing module and this external plug-in communication corresponding at least two functional processing modules in the judged result of the external plug-in type control intercom with the type of this external plug-in.
9. the control method of the intercom of interface duplex according to claim 8 is characterized in that:
Said step S1 further comprises: whether testbus voltage detecting pin (V-BUS) is effective, effectively then produces the bus voltage useful signal; Whether effective, effectively then produce the earphone useful signal, and said headset detection pin is set at one in type identification pin (ID) in the USB interface, the positive and negative data communication pin (D+ and D-) if detecting the headset detection pin; And whether effective, effectively then produce the PTT useful signal if detecting PTT;
Said step S2 further comprises: when not receiving bus voltage useful signal and earphone useful signal, judge not connect external plug-in, when receiving bus voltage useful signal or earphone useful signal, judge and inserted external plug-in;
Said step S3 further comprises:
S31, when receiving the bus voltage useful signal; The type of judging external plug-in is a USB channel transfer equipment, and the positive and negative data communication pin (D+ and D-) of the usb data transceiver module at least two functional processing modules through USB interface is connected to said USB channel transfer equipment realization communication;
S32, when said headset detection pin is type identification pin (ID), when receiving the earphone useful signal, judge that the type of external plug-in is the earphone plug-in unit; When said headset detection pin is in the positive and negative data communication pin (D+ and D-), when not receiving the bus voltage useful signal and receiving the earphone useful signal, judge that the type of external plug-in is the earphone plug-in unit;
S33, when the type of judging external plug-in is the earphone plug-in unit; Give the earphone plug-in unit with said earpiece audio module through audio frequency output pin output audio signal; And when receiving the PTT useful signal; Cut off the audio frequency output of said earpiece audio module; Be connected to Mike's audio frequency acquiring of earphone plug-in unit through the audio collection pin of USB interface, said audio frequency output pin is the pin except that said headset detection pin in the said USB interface, and said audio collection pin is the pin except that said audio frequency output pin in the said USB interface.
10. the control method of the intercom of interface duplex according to claim 9 is characterized in that,
Determine whether to produce the PTT useful signal through following steps among the said step S1:
The instruction of on intercom, importing according to the user judges whether to produce the PTT useful signal; Perhaps
Whether the PTT detection pin that detects USB interface is effective, effectively then produces the PTT useful signal; Said PTT detects pin and links to each other with the pin with PTT measuring ability of earphone, and it is effectively perhaps invalid that the instruction that said earphone is imported on earphone according to the user makes that this PTT detects pin.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210003000.8A CN102546869B (en) | 2012-01-06 | 2012-01-06 | USB (Universal Serial Bus) interface multiplexing interphone and control method thereof |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210003000.8A CN102546869B (en) | 2012-01-06 | 2012-01-06 | USB (Universal Serial Bus) interface multiplexing interphone and control method thereof |
Publications (2)
Publication Number | Publication Date |
---|---|
CN102546869A true CN102546869A (en) | 2012-07-04 |
CN102546869B CN102546869B (en) | 2014-09-17 |
Family
ID=46352812
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201210003000.8A Expired - Fee Related CN102546869B (en) | 2012-01-06 | 2012-01-06 | USB (Universal Serial Bus) interface multiplexing interphone and control method thereof |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102546869B (en) |
Cited By (25)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102819501A (en) * | 2012-08-21 | 2012-12-12 | 天地融科技股份有限公司 | Electronic equipment and data interface type detection method |
CN102855202A (en) * | 2012-08-21 | 2013-01-02 | 天地融科技股份有限公司 | Method for detecting type of electronic equipment and data interface |
CN103269234A (en) * | 2013-04-25 | 2013-08-28 | 海能达通信股份有限公司 | Interphone |
CN103284716A (en) * | 2013-05-22 | 2013-09-11 | 苏州朗昇通信科技有限公司 | Electrocardio testing module and multimedia equipment |
CN103813231A (en) * | 2014-03-05 | 2014-05-21 | 北京君正集成电路股份有限公司 | Method, intelligent device, system and plug for judging access signals |
CN105071795A (en) * | 2015-08-17 | 2015-11-18 | 广东欧珀移动通信有限公司 | Multiplex circuit based on USB interface |
CN105302750A (en) * | 2015-09-30 | 2016-02-03 | 联想(北京)有限公司 | Interface function configuration method and electronic equipment |
CN105867874A (en) * | 2016-03-25 | 2016-08-17 | 乐视控股(北京)有限公司 | A user device |
CN105930293A (en) * | 2016-06-15 | 2016-09-07 | 深圳拓邦股份有限公司 | Serial transceiving interface module and USB (universal serial bus) interface module shared port circuit and working method |
TWI550296B (en) * | 2015-03-18 | 2016-09-21 | 瑞昱半導體股份有限公司 | Device and method for detecting types of universal serial bus cable |
CN106301342A (en) * | 2016-08-09 | 2017-01-04 | 广东欧珀移动通信有限公司 | Interface circuit and terminal unit |
CN106329256A (en) * | 2015-06-16 | 2017-01-11 | 小米科技有限责任公司 | USB (Universal Series Bus) connection line, operation method based on USB connection line and mobile terminal |
CN106372015A (en) * | 2016-08-29 | 2017-02-01 | 中央军委装备发展部第六十三研究所 | Multi-interface multiplex device |
CN106412760A (en) * | 2015-07-30 | 2017-02-15 | 成都鼎桥通信技术有限公司 | Earphone compatible apparatus |
CN106658283A (en) * | 2015-11-04 | 2017-05-10 | 深圳市海能达通信有限公司 | Dual-contact-pin type automatic earphone jack switching system |
CN107003974A (en) * | 2016-06-03 | 2017-08-01 | 达闼科技(北京)有限公司 | A kind of interface detection method and device |
CN107315701A (en) * | 2017-06-30 | 2017-11-03 | 青岛海信移动通信技术股份有限公司 | Law-enforcing recorder |
CN107563171A (en) * | 2017-09-11 | 2018-01-09 | 英业达科技有限公司 | Storage device with biological characteristic identification module |
CN107678989A (en) * | 2017-09-27 | 2018-02-09 | 广东欧珀移动通信有限公司 | UART and USB multiplex circuits and mobile terminal |
CN110442541A (en) * | 2019-09-09 | 2019-11-12 | Oppo(重庆)智能科技有限公司 | Terminal device and USB interface-based data transmission method |
CN111200767A (en) * | 2018-11-20 | 2020-05-26 | 成都鼎桥通信技术有限公司 | Earphone detection method, earphone detection device, terminal and storage medium |
CN111897760A (en) * | 2020-07-30 | 2020-11-06 | 普联技术有限公司 | Electronic product, expansion device thereof, control method and control device |
CN112148543A (en) * | 2020-10-10 | 2020-12-29 | 重庆蓝岸通讯技术有限公司 | Data transmission line and method based on fault portable terminal |
CN114637718A (en) * | 2022-05-19 | 2022-06-17 | 南京沁恒微电子股份有限公司 | USB multiplexing single-wire interface unit, chip and communication system |
US11609876B1 (en) | 2022-08-31 | 2023-03-21 | Nanjing qinheng Microelectronics Co., Ltd. | USB multiplexing single-wire interface unit, chip and communication system |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP1624651A2 (en) * | 2004-07-28 | 2006-02-08 | Nec Corporation | Portable communication terminal and ringtone volume control method |
CN101426038A (en) * | 2007-10-29 | 2009-05-06 | 深圳富泰宏精密工业有限公司 | Portable electronic device and accessory identification method |
CN101674366A (en) * | 2009-09-19 | 2010-03-17 | 惠州Tcl移动通信有限公司 | Mobile terminal USB, or charger inserting identification method and identification device thereof |
-
2012
- 2012-01-06 CN CN201210003000.8A patent/CN102546869B/en not_active Expired - Fee Related
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP1624651A2 (en) * | 2004-07-28 | 2006-02-08 | Nec Corporation | Portable communication terminal and ringtone volume control method |
CN101426038A (en) * | 2007-10-29 | 2009-05-06 | 深圳富泰宏精密工业有限公司 | Portable electronic device and accessory identification method |
CN101674366A (en) * | 2009-09-19 | 2010-03-17 | 惠州Tcl移动通信有限公司 | Mobile terminal USB, or charger inserting identification method and identification device thereof |
Cited By (39)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102819501A (en) * | 2012-08-21 | 2012-12-12 | 天地融科技股份有限公司 | Electronic equipment and data interface type detection method |
CN102855202A (en) * | 2012-08-21 | 2013-01-02 | 天地融科技股份有限公司 | Method for detecting type of electronic equipment and data interface |
CN102819501B (en) * | 2012-08-21 | 2015-06-17 | 天地融科技股份有限公司 | Electronic equipment and data interface type detection method |
CN102855202B (en) * | 2012-08-21 | 2015-06-17 | 天地融科技股份有限公司 | Method for detecting type of electronic equipment and data interface |
CN103269234A (en) * | 2013-04-25 | 2013-08-28 | 海能达通信股份有限公司 | Interphone |
CN103269234B (en) * | 2013-04-25 | 2015-04-08 | 海能达通信股份有限公司 | Interphone |
CN103284716A (en) * | 2013-05-22 | 2013-09-11 | 苏州朗昇通信科技有限公司 | Electrocardio testing module and multimedia equipment |
CN103813231A (en) * | 2014-03-05 | 2014-05-21 | 北京君正集成电路股份有限公司 | Method, intelligent device, system and plug for judging access signals |
TWI550296B (en) * | 2015-03-18 | 2016-09-21 | 瑞昱半導體股份有限公司 | Device and method for detecting types of universal serial bus cable |
CN106329256A (en) * | 2015-06-16 | 2017-01-11 | 小米科技有限责任公司 | USB (Universal Series Bus) connection line, operation method based on USB connection line and mobile terminal |
CN106412760B (en) * | 2015-07-30 | 2019-02-01 | 成都鼎桥通信技术有限公司 | Earphone compatible device |
CN106412760A (en) * | 2015-07-30 | 2017-02-15 | 成都鼎桥通信技术有限公司 | Earphone compatible apparatus |
CN105071795A (en) * | 2015-08-17 | 2015-11-18 | 广东欧珀移动通信有限公司 | Multiplex circuit based on USB interface |
CN110851387A (en) * | 2015-09-30 | 2020-02-28 | 联想(北京)有限公司 | Interface function configuration method and electronic equipment |
CN105302750A (en) * | 2015-09-30 | 2016-02-03 | 联想(北京)有限公司 | Interface function configuration method and electronic equipment |
CN110851387B (en) * | 2015-09-30 | 2022-08-19 | 联想(北京)有限公司 | Interface function configuration method and electronic equipment |
CN106658283A (en) * | 2015-11-04 | 2017-05-10 | 深圳市海能达通信有限公司 | Dual-contact-pin type automatic earphone jack switching system |
CN106658283B (en) * | 2015-11-04 | 2019-06-04 | 深圳市海能达通信有限公司 | The system that double contact pin type earphone interfaces automatically switch |
CN105867874A (en) * | 2016-03-25 | 2016-08-17 | 乐视控股(北京)有限公司 | A user device |
CN107003974A (en) * | 2016-06-03 | 2017-08-01 | 达闼科技(北京)有限公司 | A kind of interface detection method and device |
CN107003974B (en) * | 2016-06-03 | 2020-07-14 | 达闼科技(北京)有限公司 | Interface detection method and device |
CN105930293A (en) * | 2016-06-15 | 2016-09-07 | 深圳拓邦股份有限公司 | Serial transceiving interface module and USB (universal serial bus) interface module shared port circuit and working method |
CN106301342B (en) * | 2016-08-09 | 2019-02-05 | Oppo广东移动通信有限公司 | Interface circuit and terminal device |
CN106301342A (en) * | 2016-08-09 | 2017-01-04 | 广东欧珀移动通信有限公司 | Interface circuit and terminal unit |
CN106372015A (en) * | 2016-08-29 | 2017-02-01 | 中央军委装备发展部第六十三研究所 | Multi-interface multiplex device |
CN107315701A (en) * | 2017-06-30 | 2017-11-03 | 青岛海信移动通信技术股份有限公司 | Law-enforcing recorder |
CN107315701B (en) * | 2017-06-30 | 2020-08-25 | 青岛海信移动通信技术股份有限公司 | Law enforcement recorder |
CN107563171A (en) * | 2017-09-11 | 2018-01-09 | 英业达科技有限公司 | Storage device with biological characteristic identification module |
CN107563171B (en) * | 2017-09-11 | 2020-08-28 | 英业达科技有限公司 | Storage device with biological characteristic identification module |
CN107678989B (en) * | 2017-09-27 | 2020-01-31 | Oppo广东移动通信有限公司 | UART (Universal asynchronous receiver transmitter) and USB (Universal Serial bus) multiplexing circuit and mobile terminal |
CN107678989A (en) * | 2017-09-27 | 2018-02-09 | 广东欧珀移动通信有限公司 | UART and USB multiplex circuits and mobile terminal |
CN111200767A (en) * | 2018-11-20 | 2020-05-26 | 成都鼎桥通信技术有限公司 | Earphone detection method, earphone detection device, terminal and storage medium |
CN111200767B (en) * | 2018-11-20 | 2022-06-03 | 成都鼎桥通信技术有限公司 | Earphone detection method, earphone detection device, terminal and storage medium |
CN110442541A (en) * | 2019-09-09 | 2019-11-12 | Oppo(重庆)智能科技有限公司 | Terminal device and USB interface-based data transmission method |
CN111897760A (en) * | 2020-07-30 | 2020-11-06 | 普联技术有限公司 | Electronic product, expansion device thereof, control method and control device |
CN112148543A (en) * | 2020-10-10 | 2020-12-29 | 重庆蓝岸通讯技术有限公司 | Data transmission line and method based on fault portable terminal |
CN112148543B (en) * | 2020-10-10 | 2024-05-14 | 重庆蓝岸科技股份有限公司 | Data transmission line and method based on fault portable terminal |
CN114637718A (en) * | 2022-05-19 | 2022-06-17 | 南京沁恒微电子股份有限公司 | USB multiplexing single-wire interface unit, chip and communication system |
US11609876B1 (en) | 2022-08-31 | 2023-03-21 | Nanjing qinheng Microelectronics Co., Ltd. | USB multiplexing single-wire interface unit, chip and communication system |
Also Published As
Publication number | Publication date |
---|---|
CN102546869B (en) | 2014-09-17 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102546869B (en) | USB (Universal Serial Bus) interface multiplexing interphone and control method thereof | |
EP2645737B1 (en) | Apparatus and method for interfacing earphone | |
US9077796B2 (en) | System containing a mobile communication device and associated docking station | |
CN101931674B (en) | Method and device for sharing Micro-USB interface | |
CN102035910B (en) | Multi-screen mobile phone | |
EP3142195B1 (en) | Earphone seat | |
US9300777B2 (en) | Headset base with holder for mobile communication device | |
WO2012009984A1 (en) | Method and device for sharing micro-usb interface between earphone and usb | |
CN101727428A (en) | Apparatus and method for controlling USB switching circuit in portable terminal | |
CN201805529U (en) | Earphone interface shared by serial port download line and earphone, and mobile terminal shared thereby | |
JP2011125015A (en) | Apparatus and method for recognizing earphone mounting in portable terminal | |
CN103631744B (en) | Support fittings equipment, the system and method for classification connection | |
CN108093329A (en) | Peripheral type detection circuit and mobile terminal based on shared interface | |
CN102316609A (en) | Separable double-communication hand-held device | |
CN106973130A (en) | A kind of functional accessory separate type intelligent mobile phone | |
WO2008136603A2 (en) | Multimedia system by using external connection apparatus and external connection apparatus therefor | |
CN112468644A (en) | Smart watch and communication method of smart watch | |
CN109525919B (en) | On-off control device, on-off control method, system and storage medium | |
CN109275058B (en) | Dual mode earphone system, bluetooth device and cable | |
CN102761649A (en) | Mobile communication network terminal | |
CN109391869A (en) | A kind of earphone and ear canal judge cut-in method | |
CN102508519A (en) | Multifunctional extended pedestal | |
CN109684241B (en) | Terminal and terminal equipment | |
CN207783089U (en) | Peripheral type detection circuit based on shared interface and mobile terminal | |
CN103369737B (en) | The USB port multiplex circuit of Portable wireless router |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20140917 |
|
CF01 | Termination of patent right due to non-payment of annual fee |