Signal switching circuit, signal switching method and user equipment

By designing a signal switching circuit and using a connection detection and control unit to switch signal terminals, the problem of electromagnetic interference in signal switching was solved, achieving low cost and wide application.

CN120935496APending Publication Date: 2025-11-11HARMAN INT IND INC
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410561036.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-08
Publication Date
2025-11-11

AI Technical Summary

Technical Problem

Existing signal switching circuits are difficult to prevent electromagnetic interference when achieving low-cost switching, and their application scenarios are limited.

Method used

A signal switching circuit is designed, including a first electrical connector, a signal processing circuit, a connection detection circuit, and a control unit. The signal terminals are switched by detecting the connection status of the electrical connector, ensuring that different signal terminals correspond to different grounding points and reducing electromagnetic interference.

Benefits of technology

It enables low-cost signal switching, reduces electromagnetic interference when electronic devices operate in different signal modes, and expands application scenarios.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120935496A_ABST
    Figure CN120935496A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides a signal switching circuit, a signal switching method and user equipment. The signal switching circuit comprises a first electric connecting piece used for being connected with a second electric connecting piece, and the second electric connecting piece is used for providing a first set of signal terminals; a signal processing circuit for providing a second set of signal terminals, the first set of signal terminals being different from the second set of signal terminals, and the second electrical connector and the signal processing circuit being connected to different ground points isolated from each other; the connection detection circuit is used for detecting whether the first electric connecting piece is connected with the second electric connecting piece or not; the control unit is used for enabling the signal processing circuit to stop transmitting signals with the second group of signal terminals under the condition that the first electric connecting piece is detected to be connected with the second electric connecting piece; the signal switching circuit is configured to connect the first set of signal terminals or the second set of signal terminals to the electronic device. The signal switching circuit disclosed by the invention can realize signal switching at low cost and prevent electromagnetic interference.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This disclosure relates to the fields of electronics and circuits, and more specifically, to signal switching circuits, signal switching methods, and user equipment. Background Technology

[0002] As electronic devices become increasingly feature-rich, how to conveniently and cost-effectively switch signals input to or output to these devices has become a hot research topic.

[0003] A signal switching circuit is a circuit used to select and switch between different input signals. It typically consists of components such as switches, selectors, amplifiers, and filters, and can switch and select between multiple signal sources.

[0004] The function of a signal switching circuit is to switch different input signals to the output terminal, allowing selection of the appropriate signal source for different application scenarios. Signal switching circuits are widely used in audio, video, communication, and instrumentation fields. They help users easily switch between different signal sources, improving system flexibility and operability. For example, in an audio system, a signal switching circuit can be used to switch different audio sources (such as CD players, radios, MP3 players, etc.) to speaker output. As another example, for head-mounted devices (such as headphones, virtual reality headsets), a signal switching circuit can be used to switch the operating mode of the head-mounted device, enabling it to operate in wired or wireless mode.

[0005] With the continuous development of technology, the application scenarios of signal switching circuits are constantly expanding. In the future, with the rise of the Internet of Things, smart homes, and other fields, signal switching circuits will have even broader application prospects. Summary of the Invention

[0006] To achieve signal switching at low cost and prevent electromagnetic interference, this disclosure proposes a signal switching circuit, comprising: a first electrical connector for connection to a second electrical connector, wherein the second electrical connector provides a first set of signal terminals; a signal processing circuit for providing a second set of signal terminals, wherein the first set of signal terminals is different from the second set of signal terminals, and the second electrical connector and the signal processing circuit are connected to different ground points isolated from each other; a connection detection circuit for detecting whether the first electrical connector is connected to the second electrical connector; and a control unit for causing the signal processing circuit to stop transmitting signals to the second set of signal terminals when the connection between the first electrical connector and the second electrical connector is detected; wherein the signal switching circuit is configured to: connect the first set of signal terminals to an electronic device when the first electrical connector and the second electrical connector are connected; and connect the second set of signal terminals to the electronic device when the first electrical connector is not connected to the second electrical connector.

[0007] According to embodiments of this disclosure, when the first electrical connector is connected to the second electrical connector, the electronic device operates in a first mode; when the first electrical connector is not connected to the second electrical connector, the electronic device operates in a second mode.

[0008] According to embodiments of this disclosure, the first mode is a wired working mode, and the second mode is a wireless working mode, wherein the wireless working mode includes at least one of radio wave working mode, Bluetooth working mode, and infrared working mode.

[0009] According to an embodiment of this disclosure, the electronic device includes at least two sub-devices; the control unit is further configured to output a switching enable signal when the first electrical connector is detected to be connected to the second electrical connector; wherein the signal switching circuit further includes a switching circuit configured to connect a portion of the signal terminals in the first group of signal terminals to at least a portion of the at least two sub-devices in response to the switching enable signal received from the control unit.

[0010] According to embodiments of this disclosure, the first group of signal terminals includes a first group of positive signal terminals and a first group of negative signal terminals, and the second group of signal terminals includes a second group of positive signal terminals and a second group of negative signal terminals; wherein, the first electrical connector is used to switch the positive signal terminals of the at least two sub-devices to the first group of positive signal terminals or the second group of positive signal terminals, and the switching circuit is used to switch the negative signal terminals of at least some of the at least two sub-devices to the first group of negative signal terminals or the second group of negative signal terminals; or the first electrical connector is used to switch the negative signal terminals of the at least two sub-devices to the first group of negative signal terminals or the second group of negative signal terminals, and the switching circuit is used to switch the positive signal terminals of at least some of the at least two sub-devices to the first group of positive signal terminals or the second group of positive signal terminals.

[0011] According to embodiments of this disclosure, when the first electrical connector is used to switch the positive signal terminals of the at least two sub-devices to the first group of positive signal terminals or the second group of positive signal terminals, and the switching circuit is used to switch the negative signal terminals of at least some of the at least two sub-devices to the first group of negative signal terminals or the second group of negative signal terminals, connecting the first group of signal terminals to the electronic device includes: connecting the first group of positive signal terminals to the positive signal terminals of the at least two sub-devices respectively using the contacts of the first electrical connector; and connecting the first group of negative signal terminals to the negative signal terminals of the at least two sub-devices respectively using the switching circuit, or connecting the first group of negative signal terminals to the negative signal terminals of the at least two sub-devices respectively using the contacts of the first electrical connector. The first negative signal terminal in the terminal is connected to the negative signal terminal of the first sub-device among the at least two sub-devices, and the switching circuit is used to connect the other negative signal terminals in the first group of negative signal terminals, excluding the first negative signal terminal, to the negative signal terminals of the other sub-devices among the at least two sub-devices, excluding the first sub-device; connecting the second group of signal terminals to the electronic device includes: connecting the second group of positive signal terminals to the positive signal terminals of the at least two sub-devices using the contacts of the first electrical connector; and directly connecting the second group of negative signal terminals to the negative signal terminals of the at least two sub-devices, or connecting the second group of negative signal terminals to the negative signal terminals of the at least two sub-devices using the switching circuit.

[0012] According to an embodiment of this disclosure, the switching circuit includes a transistor, wherein the switching circuit turns on the transistor based on the switching enable signal to connect the first group of negative signal terminals to the negative signal terminals of the at least two sub-devices respectively, or to connect the other negative signal terminals in the first group of negative signal terminals, excluding the first negative signal terminal, to the negative signal terminals of the other sub-devices in the at least two sub-devices, excluding the first sub-device respectively.

[0013] Embodiments of this disclosure also provide a signal switching method, comprising: when a first electrical connector is detected to be connected to a second electrical connector, connecting a first set of signal terminals to an electronic device and causing a signal processing circuit to stop transmitting signals to a second set of signal terminals, wherein the second electrical connector is used to provide the first set of signal terminals and the signal processing circuit is used to provide the second set of signal terminals; and when the first electrical connector is detected to be not connected to the second electrical connector, connecting the second set of signal terminals to the electronic device, wherein the first set of signal terminals is different from the second set of signal terminals, and the second electrical connector and the signal processing circuit are connected to different grounding points isolated from each other.

[0014] Embodiments of this disclosure also provide a user equipment, including a signal switching circuit and an electronic device. The signal switching circuit includes: a first electrical connector for connection to a second electrical connector, wherein the second electrical connector provides a first set of signal terminals; a signal processing circuit for providing a second set of signal terminals, wherein the first set of signal terminals is different from the second set of signal terminals, and the second electrical connector and the signal processing circuit are connected to different grounding points, and the different grounding points are isolated from each other; a connection detection circuit for detecting whether the first electrical connector is connected to the second electrical connector; and a control unit for stopping the signal processing circuit from transmitting signals to the second set of signal terminals when the connection between the first electrical connector and the second electrical connector is detected. The signal switching circuit is configured to: connect the first set of signal terminals to the electronic device when the first electrical connector is connected to the second electrical connector; and connect the second set of signal terminals to the electronic device when the first electrical connector is not connected to the second electrical connector.

[0015] The signal switching circuit disclosed herein enables convenient and low-cost switching of signals input to or output to electronic devices. Because the signal terminals corresponding to different signals in the signal switching circuit of this disclosure are located at different grounding points, electromagnetic interference when electronic devices operate based on different signals can be effectively reduced. Attached Figure Description

[0016] To more clearly illustrate the technical solutions of the embodiments of this disclosure, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are merely some exemplary embodiments of this disclosure. For those skilled in the art, other drawings can be obtained based on these drawings without any creative effort.

[0017] In the attached image:

[0018] Figure 1A This is a schematic diagram illustrating the principle of a signal switching circuit according to a first embodiment of the present disclosure;

[0019] Figure 1B This is a schematic diagram illustrating the principle of a signal switching circuit according to a second embodiment of the present disclosure;

[0020] Figure 2A This is a schematic diagram illustrating the principle of a signal switching circuit according to a third embodiment of the present disclosure;

[0021] Figure 2B This is a schematic diagram illustrating the principle of a signal switching circuit according to a fourth embodiment of the present disclosure;

[0022] Figure 3A This is a schematic diagram illustrating the principle of a signal switching circuit according to a fifth embodiment of the present disclosure;

[0023] Figure 3B This is a schematic diagram illustrating the principle of a signal switching circuit according to a sixth embodiment of the present disclosure;

[0024] Figure 4 This is a schematic diagram illustrating the principle of a switching circuit according to an embodiment of the present disclosure;

[0025] Figure 5 This is a schematic flowchart illustrating a signal switching method according to an embodiment of the present disclosure;

[0026] Figure 6A This is a schematic diagram illustrating the composition of a user equipment according to an embodiment of the present disclosure; and

[0027] Figure 6B This is a schematic diagram illustrating the composition of a signal switching circuit according to an embodiment of the present disclosure. Detailed Implementation

[0028] To make the objectives, technical solutions, and advantages of this disclosure more apparent, exemplary embodiments according to this disclosure will now be described in detail with reference to the accompanying drawings. Obviously, the described embodiments are merely some embodiments of this disclosure, and not all embodiments of this disclosure. It should be understood that this disclosure is not limited to the exemplary embodiments described herein.

[0029] Furthermore, in this specification and the accompanying drawings, steps and elements that are substantially the same or similar are indicated by the same or similar reference numerals, and repeated descriptions of these steps and elements will be omitted.

[0030] Furthermore, in this specification and accompanying drawings, elements are described in singular or plural forms according to embodiments. However, the singular and plural forms have been suitably chosen for the presented cases merely for ease of explanation and are not intended to limit this disclosure. Thus, a singular form may include a plural form, and a plural form may include a singular form, unless the context clearly indicates otherwise.

[0031] Furthermore, the terms "first / second" used in this specification and drawings are merely to distinguish similar objects and do not represent a specific ordering of objects. It is understood that "first / second" may be interchanged in a specific order or sequence where permitted, so that the embodiments of this disclosure described herein can be implemented in an order other than that illustrated or described herein.

[0032] Furthermore, the terms "upper," "lower," "vertical," and "horizontal," which relate to orientation or positional relationships, are used in this specification and accompanying drawings only for the convenience of describing embodiments according to this disclosure and are not intended to limit this disclosure. Therefore, they should not be construed as limiting this disclosure.

[0033] Furthermore, in this specification and accompanying drawings, unless otherwise expressly stated, "connection" does not necessarily mean "direct connection" or "direct contact." Here, "connection" can mean both a fixing function and electrical connection.

[0034] As an example, this disclosure relates to the fields of electronics and circuits, and embodiments of this disclosure will be further described below with reference to the accompanying drawings.

[0035] Figure 1A This is a schematic diagram illustrating the principle of a signal switching circuit according to a first embodiment of the present disclosure.

[0036] like Figure 1A As shown, the control circuit 130 includes a control unit 130-2 and a signal processing circuit 130-4. When the second electrical connector 120 is not connected to the first electrical connector 110, contacts P12 and P16 of the first electrical connector 110 are connected, contacts P13 and P15 are connected, and contacts P14 and P11 are connected. One end of resistor R2 receives a positive voltage signal VC (e.g., the positive voltage signal VC can be 1.8V), and the other end of resistor R2 is connected to resistor R4. Resistor R4 is connected to ground point GND4-2 through the connected contacts P14 and P11. The resistance value of R2 can be greater than the resistance value of R4 (e.g., the resistance value of R2 can be 1MΩ, and the resistance value of R4 can be 1kΩ).

[0037] Therefore, when the second electrical connector 120 is not connected to the first electrical connector 110, a low-level detection signal DEC can be output. The control unit 130-2 can determine that the switching enable signal EN is high based on the low-level detection signal DEC (this example uses the switching enable signal EN being low as an example, not a limitation), so that the switching circuit 140 disconnects the lines at both ends. It should be noted that... Figure 1A The switching circuit 140 shown is only a schematic diagram; in reality, the switching circuit 140 may include multiple electronic devices. Optionally, the switching circuit 140 may be implemented based on an integrated circuit (IC), or the switching circuit 140 may be implemented based on a transistor.

[0038] Therefore, the positive signal terminal BL+ of the signal processing circuit 130-4 can be connected to the positive signal terminal SL+ of the first electronic device U2, the positive signal terminal BR+ of the signal processing circuit 130-4 can be connected to the positive signal terminal SR+ of the second electronic device U4, the negative signal terminal BL- of the signal processing circuit 130-4 can be connected to the negative signal terminal SL- of the first electronic device U2 and connected to the ground point GND2 of the signal processing circuit 130, and the negative signal terminal BR- of the signal processing circuit 130-4 can be connected to the negative signal terminal SR- of the second electronic device U4 and connected to the ground point GND2.

[0039] That is, at this time, both the first electronic device U2 and the second electronic device U4 transmit signals with the signal processing circuit 130-4. The signal processing circuit 130-4 provides a set of signal terminals through contacts P12, P16, P13, P15, and P14.

[0040] When the second electrical connector 120 is connected to the first electrical connector 110, contacts P12 and P16 of the first electrical connector 110 are disconnected, contacts P13 and P15 are disconnected, and contacts P14 and P11 are disconnected. This disconnection process can be automatically achieved based on circuitry or mechanical structure.

[0041] Therefore, when the second electrical connector 120 is connected to the first electrical connector 110, a high-level detection signal DEC can be output. The control unit 130-2 can determine that the switching enable signal EN is low based on the high-level detection signal DEC (here, enabling when the switching enable signal EN is low is used as an example, not a limitation), so that the switching circuit 140 connects the lines at both ends of it.

[0042] Therefore, the positive signal terminal SL+ of the first electronic device U2 can transmit signals to the circuit (not shown) connected to the second electrical connector 120 through contact P15, the positive signal terminal SR+ of the second electronic device U4 can transmit signals to the circuit connected to the second electrical connector 120 through contact P16, the negative signal terminal SL- of the first electronic device U2 can be connected to the ground point GND4-2 through contact P11, and the negative signal terminal SR- of the second electronic device U4 can be connected to the ground point GND4-2 through contact P11.

[0043] That is, at this time, both the first electronic device U2 and the second electronic device U4 transmit signals to the circuit connected to the second electrical connector 120. The second electrical connector 120 provides a set of signal terminals through contacts P11, P15 and P16, which are different from the set of signal terminals provided by the signal processing circuit 130-4.

[0044] In the above embodiment, GND2 and ground point GND4-2 can be the same ground point (i.e., both are ground points of signal processing circuit 130).

[0045] Similar to Figure 1A The embodiment shown, Figure 1B This is a schematic diagram illustrating the principle of a signal switching circuit according to a second embodiment of the present disclosure. When the first electrical connector 110 and the second electrical connector 120 are not connected, contacts P12 and P16 of the first electrical connector 110 can be connected, contacts P13 and P15 can be connected, and contacts P14 and P11 can be disconnected, outputting a high-level detection signal DEC. The control unit 130-2 can determine that the switching enable signal EN is high based on the high-level detection signal DEC (this example is used to illustrate enabling when the switching enable signal EN is low, not as a limitation), causing the switching circuit 140 to disconnect the lines at both ends. When the first electrical connector 110 and the second electrical connector 120 are connected, contacts P12 and P16 of the first electrical connector 110 can be disconnected, contacts P13 and P15 can be disconnected, contacts P14 and P11 can be connected, and a low-level detection signal DEC can be output. Control unit 130-2 can determine that the switching enable signal EN is low based on the low-level detection signal DEC (this is an example of enabling when the switching enable signal EN is low, not a limitation), so that the switching circuit 140 connects the lines at its two ends.

[0046] At this time, contact P11 can be connected to ground point GND4-4 through the second electrical connector 120. Ground point GND2 and ground point GND4-4 can be different ground points isolated from each other to reduce electromagnetic interference (i.e., GND2 is the ground point of signal processing circuit 130, and GND4-4 is the ground point of circuit connected to the second electrical connector 120).

[0047] It should be understood that Figure 1A and Figure 1B The contacts of the first electrical connector 110 shown and their connection methods are for illustrative purposes only. Based on similar principles, the contacts of the first electrical connector 110 can also be implemented in other ways.

[0048] Figure 1A and Figure 1B The first electronic device U2 and the second electronic device U4 can be either signal transmitting devices (e.g., transmitting signals to signal processing circuit 130-4 or to circuits connected to the second electrical connector 120) or signal receiving devices (e.g., receiving signals from signal processing circuit 130-4 or to circuits connected to the second electrical connector 120).

[0049] For example, when both the first electronic device U2 and the second electronic device U4 are signal receiving devices, the first electronic device U2 and the second electronic device U4 can be the left earphone and the right earphone, respectively, and the control circuit 130 can be a Bluetooth chip. When the second electrical connector 120 is not connected to the first electrical connector 110, audio signals can be provided to the left earphone and the right earphone through the Bluetooth chip; when the second electrical connector 120 is connected to the first electrical connector 110, audio signals can be provided to the left earphone and the right earphone through the circuit connected to the second electrical connector 120.

[0050] For example, if the first electronic device U2 is a signal receiving device and the second electronic device U4 is a signal transmitting device, the first electronic device U2 can be an earphone, the second electronic device U4 can be a microphone, and the control circuit 130 can be a Bluetooth chip. When the second electrical connector 120 is not connected to the first electrical connector 110, the Bluetooth chip can provide audio signals to the earphone and transmit audio signals input from the microphone to the Bluetooth chip. When the second electrical connector 120 is connected to the first electrical connector 110, the circuit connected to the second electrical connector 120 can provide audio signals to the earphone and transmit audio signals input from the microphone to the Bluetooth chip.

[0051] It should be noted that the first electrical connector 110 and the second electrical connector 120 in this disclosure can be electrical connectors of various models and specifications. For example, the first electrical connector 110 and the second electrical connector 120 can be implemented based on an auxiliary (AUX) interface, a universal serial bus (USB) interface, a universal serial bus C (Type-C) interface, an electrical connector interface, etc. Optionally, the first electrical connector 110 can be a socket and the second electrical connector 120 can be a plug; the first electrical connector 110 can also be a plug and the second electrical connector 120 can be a socket.

[0052] Figure 2A This is a schematic diagram illustrating the principle of a signal switching circuit according to a third embodiment of the present disclosure.

[0053] like Figure 2A As shown, when the second electrical connector 120 is not connected to the first electrical connector 110, contacts P27 and P25 of the first electrical connector 110 are connected, contacts P22 and P21 are connected, contacts P23 and P24 are connected, and contacts P26 and P28 are connected. One end of resistor R6 receives a positive voltage signal VC (e.g., VC can be 1.8V), and the other end of resistor R6 is connected to resistor R8. Resistor R8 is connected to ground point GND6-2 through the connected contacts P26 and P28. The resistance value of R6 can be greater than the resistance value of R8 (e.g., the resistance value of R6 can be 1MΩ, and the resistance value of R8 can be 10kΩ).

[0054] Therefore, when the second electrical connector 120 is not connected to the first electrical connector 110, a low-level detection signal DEC can be output. The control unit 130-2 can determine that the switching enable signal EN is high based on the low-level detection signal DEC (this example uses the switching enable signal EN being low as an example, not a limitation), so that the switching circuit 140 disconnects the lines at both ends. It should be noted that... Figure 2A The switching circuit 140 shown is only a schematic diagram; in reality, the switching circuit 140 may include multiple electronic devices. Optionally, the switching circuit 140 may be implemented based on an integrated circuit (IC), or the switching circuit 140 may be implemented based on a transistor.

[0055] Therefore, the positive signal terminal BL+ of the signal processing circuit 130-4 can be connected to the positive signal terminal SL+ of the first electronic device U2, the positive signal terminal BR+ of the signal processing circuit 130-4 can be connected to the positive signal terminal SR+ of the second electronic device U4, the negative signal terminal BL- of the signal processing circuit 130-4 can be connected to the negative signal terminal SL- of the first electronic device U2 and connected to the ground point GND2 of the signal processing circuit 130, and the negative signal terminal BR- of the signal processing circuit 130-4 can be connected to the negative signal terminal SR- of the second electronic device U4 and connected to the ground point GND2.

[0056] That is, at this time, both the first electronic device U2 and the second electronic device U4 transmit signals with the signal processing circuit 130-4. The signal processing circuit 130-4 provides a set of signal terminals through contacts P27, P25, P22, P21, and P26.

[0057] When the second electrical connector 120 is connected to the first electrical connector 110, contacts P27 and P25 of the first electrical connector 110 are disconnected, contacts P22 and P21 are disconnected, contacts P23 and P24 are disconnected, and contacts P26 and P28 are disconnected. This disconnection process can be automatically achieved based on circuitry or mechanical structure.

[0058] Therefore, when the second electrical connector 120 is connected to the first electrical connector 110, a high-level detection signal DEC can be output. The control unit 130-2 can determine that the switching enable signal EN is low-level based on the high-level detection signal DEC (the low-level enable is used as an example here, not as a limitation), so that the switching circuit 140 connects the lines at both ends of it.

[0059] Therefore, the positive signal terminal SL+ of the first electronic device U2 can transmit signals to the circuit (not shown) connected to the second electrical connector 120 through contact P21, the positive signal terminal SR+ of the second electronic device U4 can transmit signals to the circuit connected to the second electrical connector 120 through contact P25, the negative signal terminal SL- of the first electronic device U2 can be connected to the ground point GND8 through signal terminal P2, and the negative signal terminal SR- of the second electronic device U4 can be connected to the ground point GND8 through contact P24.

[0060] That is, at this time, both the first electronic device U2 and the second electronic device U4 transmit signals to the circuit connected to the second electrical connector 120. The second electrical connector 120 provides a set of signal terminals through contacts P25, P21 and P24, which are different from the set of signal terminals provided by the signal processing circuit 130-4.

[0061] In the above embodiment, GND2 and ground point GND6-2 can be the same ground point (i.e., both are the ground point of the signal processing circuit 130). To reduce electromagnetic interference, Figure 2A Grounding points GND2 and GND8 can be different grounding points isolated from each other (i.e., GND2 is the grounding point of the signal processing circuit 130, and GND8 is the grounding point of the circuit connected to the second electrical connector 120).

[0062] Similar to Figure 2A The embodiment shown, Figure 2B This is a schematic diagram illustrating the principle of a signal switching circuit according to a fourth embodiment of the present disclosure. When the first electrical connector 110 and the second electrical connector 120 are not connected, contacts P27 and P25 of the first electrical connector 110 can be connected, contacts P22 and P21 can be connected, contacts P23 and P24 can be connected, and contacts P26 and P28 can be disconnected, outputting a high-level detection signal DEC. The control unit 130-2 can determine that the switching enable signal EN is high based on the high-level detection signal DEC (this example uses the switching enable signal EN being low as an example, not a limitation), so that the switching circuit 140 disconnects the lines at both ends. With the first electrical connector 110 and the second electrical connector 120 connected, contacts P27 and P25 of the first electrical connector 110 can be disconnected, contacts P22 and P21 can be disconnected, contacts P23 and P24 can be disconnected, and contacts P26 and P28 can be connected, outputting a low-level detection signal DEC. The control unit 130-2 can determine that the switching enable signal EN is low based on the low-level detection signal DEC (this is an example of enabling when the switching enable signal EN is low, not a limitation), so that the switching circuit 140 connects the lines at its two ends.

[0063] At this time, contact P26 can be connected to ground point GND6-4 via the second electrical connector 120. Ground point GND2 and ground point GND6-4 can be different ground points isolated from each other (i.e., GND2 is the ground point of signal processing circuit 130, and GND6-4 is the ground point of circuit connected to the second electrical connector 120).

[0064] It should be understood that Figure 2A and Figure 2B The contacts of the first electrical connector 110 shown and their connection methods are for illustrative purposes only. Based on similar principles, the contacts of the first electrical connector 110 can also be implemented in other ways. Figure 2A and Figure 2B The first electronic device U2 and the second electronic device U4 can be either signal transmitting devices or signal receiving devices.

[0065] Figure 3A This is a schematic diagram illustrating the principle of a signal switching circuit according to a fifth embodiment of the present disclosure.

[0066] like Figure 3A As shown, when the second electrical connector 120 is not connected to the first electrical connector 110, contacts P27 and P25 of the first electrical connector 110 are connected, contacts P22 and P21 are connected, contacts P23 and P24 are connected, and contacts P26 and P28 are connected. One end of resistor R6 receives a positive voltage signal VC (e.g., VC can be 1.8V), and the other end of resistor R6 is connected to resistor R8. Resistor R8 is connected to ground point GND6-2 through the connected contacts P26 and P28. The resistance value of R6 can be greater than the resistance value of R8 (e.g., the resistance value of R6 can be 1MΩ, and the resistance value of R8 can be 10kΩ).

[0067] Therefore, when the second electrical connector 120 is not connected to the first electrical connector 110, a low-level detection signal DEC can be output. The control unit 130-2 can determine that the switching enable signal EN is high based on the low-level detection signal DEC (this example uses the switching enable signal EN being low as an example, not a limitation), so that the switching circuit 150 disconnects the lines at both ends. It should be noted that... Figure 3A The switching circuit 150 shown is only a schematic diagram; in reality, the switching circuit 150 may include multiple electronic devices. Optionally, the switching circuit 150 may be implemented based on an integrated circuit (IC), or the switching circuit 150 may be implemented based on a transistor.

[0068] Therefore, the positive signal terminal BL+ of the signal processing circuit 130-4 can be connected to the positive signal terminal SL+ of the first electronic device U2, the positive signal terminal BR+ of the signal processing circuit 130-4 can be connected to the positive signal terminal SR+ of the second electronic device U4, the negative signal terminal BL- of the signal processing circuit 130-4 can be connected to the negative signal terminal SL- of the first electronic device U2 and connected to the ground point GND2 of the signal processing circuit 130, and the negative signal terminal BR- of the signal processing circuit 130-4 can be connected to the negative signal terminal SR- of the second electronic device U4 and connected to the ground point GND2.

[0069] That is, at this time, both the first electronic device U2 and the second electronic device U4 transmit signals with the signal processing circuit 130-4. The signal processing circuit 130-4 provides a set of signal terminals through contacts P27, P25, P22, P21, and P26.

[0070] When the second electrical connector 120 is connected to the first electrical connector 110, contacts P27 and P25 of the first electrical connector 110 are disconnected, contacts P22 and P21 are disconnected, contacts P23 and P24 are disconnected, and contacts P26 and P28 are disconnected. This disconnection process can be automatically achieved based on circuitry or mechanical structure.

[0071] Therefore, when the second electrical connector 120 is connected to the first electrical connector 110, a high-level detection signal DEC can be output. The control unit 130-2 can determine that the switching enable signal EN is low-level based on the high-level detection signal DEC (the low-level enable is used as an example here, not as a limitation), so that the switching circuit 150 connects the lines at both ends of it.

[0072] Therefore, the positive signal terminal SL+ of the first electronic device U2 can transmit signals to the circuit (not shown) connected to the second electrical connector 120 through contact P21, the positive signal terminal SR+ of the second electronic device U4 can transmit signals to the circuit connected to the second electrical connector 120 through contact P25, the negative signal terminal SL- of the first electronic device U2 can be connected to the ground point GND8 through signal terminal P2, and the negative signal terminal SR- of the second electronic device U4 can be connected to the ground point GND8 through contact P24.

[0073] That is, at this time, both the first electronic device U2 and the second electronic device U4 transmit signals to the circuit connected to the second electrical connector 120. The second electrical connector 120 provides a set of signal terminals through contacts P25, P21 and P24, which are different from the set of signal terminals provided by the signal processing circuit 130-4.

[0074] In the above embodiment, GND2 and ground point GND6-2 can be the same ground point (i.e., both are the ground point of the signal processing circuit 130). To reduce electromagnetic interference, Figure 3A Grounding points GND2 and GND8 can be different grounding points isolated from each other (i.e., GND2 is the grounding point of the signal processing circuit 130, and GND8 is the grounding point of the circuit connected to the second electrical connector 120).

[0075] Similar to Figure 3A The embodiment shown, Figure 3BThis is a schematic diagram illustrating the principle of a signal switching circuit according to a sixth embodiment of the present disclosure. When the first electrical connector 110 and the second electrical connector 120 are not connected, contacts P27 and P25 of the first electrical connector 110 can be connected, contacts P22 and P21 can be connected, contacts P23 and P24 can be connected, and contacts P26 and P28 can be disconnected, outputting a high-level detection signal DEC. The control unit 130-2 can determine that the switching enable signal EN is high based on the high-level detection signal DEC (this example uses the switching enable signal EN being low as an example, not a limitation), so that the switching circuit 150 disconnects the lines at both ends. With the first electrical connector 110 and the second electrical connector 120 connected, contacts P27 and P25 of the first electrical connector 110 can be disconnected, contacts P22 and P21 can be disconnected, contacts P23 and P24 can be disconnected, and contacts P26 and P28 can be connected, outputting a low-level detection signal DEC. The control unit 130-2 can determine that the switching enable signal EN is low based on the low-level detection signal DEC (this is an example of enabling when the switching enable signal EN is low, not a limitation), so that the switching circuit 150 connects the lines at its two ends.

[0076] At this time, contact P26 can be connected to ground point GND6-4 via the second electrical connector 120. Ground point GND2 and ground point GND6-4 can be different ground points isolated from each other (i.e., GND2 is the ground point of signal processing circuit 130, and GND6-4 is the ground point of circuit connected to the second electrical connector 120).

[0077] It should be understood that Figure 3A and Figure 3B The contacts of the first electrical connector 110 shown and their connection methods are for illustrative purposes only. Based on similar principles, the contacts of the first electrical connector 110 can also be implemented in other ways. Figure 3A and Figure 3B The first electronic device U2 and the second electronic device U4 can be either signal transmitting devices or signal receiving devices.

[0078] According to embodiments of this disclosure, for Figure 3A or Figure 3B In the embodiment shown, the switching circuit 150 may have Figure 4 The circuit structure shown is shown.

[0079] The switching circuit 150 may include a bipolar junction transistor (BJT) Q2, a field-effect transistor (FET) Q4, and a FET Q6. The base (i.e., control electrode) of BJT Q2 receives a switching enable signal EN via resistor R42. The emitter of BJT Q2 is connected to ground point GND6-2 or GND6-4. The collector of BJT Q2 receives a high-level signal VB (e.g., a positive voltage signal VB can be 1.8V) via resistor R48. One end of resistor R42 receives the switching enable signal EN, and the other end is connected to resistor R44. One end of resistor R44 is connected to resistor R42, and the other end is connected to ground point GND6-2 or GND6-4. The gates (i.e., control terminals) of field-effect transistor Q4 and field-effect transistor Q6 are connected to the collectors of bipolar junction transistor Q2, respectively. The source of field-effect transistor Q4 is connected to the source of field-effect transistor Q6. The drain of field-effect transistor Q4 is connected to the negative signal terminal BR- of signal processing circuit 130-4 (or the negative signal terminal SR- of second electronic device U4), and the drain of field-effect transistor Q6 is connected to the negative signal terminal BL- of signal processing circuit 130-4 (or the negative signal terminal SL- of first electronic device U2). Resistor R40 can be connected in parallel between the gate (i.e., control terminal) of field-effect transistor Q4 and the collector of bipolar junction transistor Q2.

[0080] Based on the above circuit structure, when the second electrical connector 120 is detected to be connected to the first electrical connector 110, the control unit 130-2 outputs a low-level switching enable signal EN, causing the collector of the bipolar junction transistor Q2 to output a high-level signal, and the field-effect transistors Q4 and Q6 to be turned on. The negative signal terminal BR- of the signal processing circuit 130-4 (or the negative signal terminal SR- of the second electronic device U4) is connected to the negative signal terminal BL- of the signal processing circuit 130-4 (or the negative signal terminal SL- of the first electronic device U2).

[0081] When the second electrical connector 120 is detected to be not connected to the first electrical connector 110, the control unit 130-2 outputs a high-level switching enable signal EN, causing the collector of the bipolar junction transistor Q2 to output a low-level signal, the field-effect transistors Q4 and Q6 to disconnect, and the negative signal terminal BR- of the signal processing circuit 130-4 (or the negative signal terminal SR- of the second electronic device U4) to be disconnected from the negative signal terminal BL- of the signal processing circuit 130-4 (or the negative signal terminal SL- of the first electronic device U2).

[0082] It should be understood that Figure 4The field-effect transistors Q4 and Q6 are described as N-type field-effect transistors, not as limiting. Alternatively, the switching circuit 150 can also be implemented based on a P-type field-effect transistor, with a similar principle. Figure 4 This will not be elaborated upon here.

[0083] Figure 5 This is a schematic flowchart illustrating a signal switching method 500 according to an embodiment of the present disclosure.

[0084] In step S510, it is checked whether the first electrical connector is connected to the second electrical connector.

[0085] If the connection between the first electrical connector and the second electrical connector is detected, in step S520, the first set of signal terminals is connected to the electronic device, and the signal processing circuit stops transmitting signals to the second set of signal terminals.

[0086] If it is detected that the first electrical connector is not connected to the second electrical connector, in step S530, the second set of signal terminals is connected to the electronic device.

[0087] for Figure 5 The signal switching method 500 shown includes a second electrical connector for providing a first set of signal terminals and a signal processing circuit for providing a second set of signal terminals. The first set of signal terminals is different from the second set of signal terminals, and the second electrical connector and the signal processing circuit are connected to different grounding points that are isolated from each other.

[0088] The signal switching method 500 can be implemented based on a signal switching circuit, wherein the signal switching circuit includes: a first electrical connector for connection to a second electrical connector, wherein the second electrical connector is used to provide a first set of signal terminals; a signal processing circuit for providing a second set of signal terminals, wherein the first set of signal terminals is different from the second set of signal terminals, and the second electrical connector and the signal processing circuit are connected to different ground points isolated from each other; a connection detection circuit for detecting whether the first electrical connector is connected to the second electrical connector; and a control unit for causing the signal processing circuit to stop transmitting signals to the second set of signal terminals when the connection between the first electrical connector and the second electrical connector is detected; wherein the signal switching circuit is configured to: connect the first set of signal terminals to an electronic device when the first electrical connector and the second electrical connector are connected; and connect the second set of signal terminals to the electronic device when the first electrical connector is not connected to the second electrical connector.

[0089] According to embodiments of this disclosure, when the first electrical connector is connected to the second electrical connector, the electronic device can operate in a first mode, and when the first electrical connector is not connected to the second electrical connector, the electronic device can operate in a second mode.

[0090] It should be noted that the term "electronic device" in this disclosure should be interpreted broadly. For example, the electronic device in this disclosure can be an integrated circuit, a part of a circuit, an electrical device, an industrial device, etc.

[0091] For example, the first mode can be a wired working mode (e.g., a signal transmission working mode based on wired media such as cables, optical fibers, and network cables), and the second mode can be a wireless working mode (e.g., a radio wave working mode, a Bluetooth working mode, an infrared working mode, etc.).

[0092] According to embodiments of this disclosure, the electronic device includes at least two sub-devices; the control unit is further configured to output a switching enable signal upon detecting a connection between the first electrical connector and the second electrical connector; wherein the signal switching circuit further includes a switching circuit configured to connect a portion of the signal terminals in the first group of signal terminals to at least a portion of the at least two sub-devices in response to the switching enable signal received from the control unit. That is, the signal switching circuit is capable of performing signal switching for one or more sub-devices; the signal switching circuit can perform signal switching for all sub-devices in the electronic device, or selectively perform signal switching for a portion of the sub-devices in the electronic device (e.g., based on the type of sub-device, based on user needs, etc.).

[0093] It should be understood that the control unit can be implemented based on at least one of a processor and a control circuit. The control unit can be a standalone unit or a combination of multiple sub-units.

[0094] Optionally, each of the at least two sub-devices may be switched by a separate signal switching circuit, or both of the at least two sub-devices may be switched by a single signal switching circuit, or the at least two sub-devices may be classified into multiple groups, with each group's corresponding switching circuit switching its signal.

[0095] It should be understood that each of the at least two sub-devices can be either a signal transmitting device or a signal receiving device. The signal used for transmitting or receiving can be at least one of digital signals or analog signals. For example, the signal can be at least one of audio signals, text signals, image signals, and video signals.

[0096] According to embodiments of this disclosure, the second electrical connector can be used to switch the positive signals of the at least two sub-devices, and the switching circuit can be used to switch the negative signals of the at least two sub-devices; or the second electrical connector can be used to switch the negative signals of the at least two sub-devices, and the switching circuit can be used to switch the positive signals of the at least two sub-devices.

[0097] For example, the first group of signal terminals may include a first group of positive signal terminals and a first group of negative signal terminals, and the second group of signal terminals may include a second group of positive signal terminals and a second group of negative signal terminals. Wherein, the first electrical connector is used to switch the positive signal terminals of the at least two sub-devices to the first group of positive signal terminals or the second group of positive signal terminals, and the switching circuit is used to switch the negative signal terminals of at least some of the at least two sub-devices to the first group of negative signal terminals or the second group of negative signal terminals; or the first electrical connector is used to switch the negative signal terminals of the at least two sub-devices to the first group of negative signal terminals or the second group of negative signal terminals, and the switching circuit is used to switch the positive signal terminals of at least some of the at least two sub-devices to the first group of positive signal terminals or the second group of positive signal terminals.

[0098] More specifically, when the first electrical connector is used to switch the positive signal terminals of the at least two sub-devices to the first group of positive signal terminals or the second group of positive signal terminals, and the switching circuit is used to switch the negative signal terminals of at least some of the at least two sub-devices to the first group of negative signal terminals or the second group of negative signal terminals, connecting the first group of signal terminals to the electronic device includes: connecting the first group of positive signal terminals to the positive signal terminals of the at least two sub-devices respectively using the contacts of the first electrical connector; and connecting the first group of negative signal terminals to the negative signal terminals of the at least two sub-devices respectively using the switching circuit, or connecting the first negative signal terminal of the first group of negative signal terminals to the negative signal terminal of the first sub-device among the at least two sub-devices using the contacts of the first electrical connector, and connecting the other negative signal terminals of the first group of negative signal terminals other than the first negative signal terminal to the negative signal terminals of the other sub-devices among the at least two sub-devices other than the first sub-device using the switching circuit. Connecting the second set of signal terminals to the electronic device includes: connecting the second set of positive signal terminals to the positive signal terminals of the at least two sub-devices respectively using the contacts of the first electrical connector; and directly connecting the second set of negative signal terminals to the negative signal terminals of the at least two sub-devices respectively, or connecting the second set of negative signal terminals to the negative signal terminals of the at least two sub-devices respectively using the switching circuit.

[0099] For example, such as Figure 2A or Figure 2B As shown, for the first group of signal terminals, the following can be used: Figure 2A or Figure 2B The contacts P25 and P21 of the first electrical connector 110, as shown, connect the first set of positive signal terminals to the positive signal terminals of the first electronic device U2 and the first electronic device U4, respectively; and the switching circuit 140 connects the first set of negative signal terminals to the negative signal terminals of the first electronic device U2 and the second electronic device U4, respectively. For the second set of signal terminals, the contacts P27, P25, P22, and P21 of the first electrical connector 110 can be used to connect the second set of positive signal terminals to the positive signal terminals of the first electronic device U2 and the first electronic device U4, respectively; and the second set of negative signal terminals can be directly connected to the negative signal terminals of the at least two sub-devices, respectively.

[0100] For example, such as Figure 3A or Figure 3B As shown, for the first group of signal terminals, the following can be used: Figure 3A or Figure 3B The contacts P25 and P21 of the first electrical connector 110 shown connect the first set of positive signal terminals to the positive signal terminals of the first electronic device U2 and the second electronic device U4, respectively; using, as shown... Figure 3A or Figure 3B The contact P24 shown connects the first negative signal terminal in the first group of negative signal terminals to the negative signal terminal of the second electronic device U4, and the switching circuit 150 can connect the other negative signal terminals in the first group of negative signal terminals (excluding the first negative signal terminal) to the negative signal terminals of the other sub-devices (i.e., the first electronic device U2 in this case) of the at least two sub-devices (excluding the second electronic device U4). For the second group of signal terminals, the contacts P27, P25, P22, and P21 of the first electrical connector 110 can be used to connect the second group of positive signal terminals to the positive signal terminals of the first electronic device U2 and the first electronic device U4, respectively; and the switching circuit 150 can be used to connect the second group of negative signal terminals to the negative signal terminals of the at least two sub-devices.

[0101] It should be understood that, in cases where the first electrical connector is used to switch the negative signal terminals of the at least two sub-devices to the first group of negative signal terminals or the second group of negative signal terminals, and the switching circuit is used to switch the positive signal terminals of at least some of the at least two sub-devices to the first group of positive signal terminals or the second group of positive signal terminals, it can also be based on... Figure 2A , Figure 2B , Figure 3A , Figure 3B The connection of signal terminals is achieved using a similar principle to any of the methods described above, and will not be elaborated further here.

[0102] It should be understood that, in order to reduce the size of the switching circuit and improve circuit stability, the switching circuit can be implemented based on integrated circuits (ICs). To reduce the cost of the switching circuit, it can also be implemented based on transistors.

[0103] According to embodiments of this disclosure, when the switching circuit includes a transistor, the switching circuit can turn on the transistor based on the switching enable signal to connect the first group of negative signal terminals to the negative signal terminals of the at least two sub-devices respectively, or connect the other negative signal terminals in the first group of negative signal terminals other than the first negative signal terminal to the negative signal terminals of the other sub-devices in the at least two sub-devices other than the first sub-device respectively.

[0104] For example, corresponding to Figure 4 In the illustrated embodiment, the transistor may include a first transistor (e.g., Figure 4 The bipolar junction transistor Q2 shown), and the second transistor (e.g., Figure 4 The field-effect transistor Q4 shown) and the third transistor (e.g., Figure 4 The field-effect transistor Q6 shown is configured such that the control electrode of the first transistor receives the switching enable signal, the first electrode of the first transistor is grounded, the second electrode of the first transistor receives a high-level signal via a resistor, the control electrodes of the second transistor and the third transistor are respectively connected to the second electrode of the first transistor, the second electrode of the second transistor is connected to the second electrode of the third transistor, the first electrode of the second transistor is connected to the other negative signal terminals in the first group of negative signal terminals besides the first negative signal terminal, and the first electrode of the third transistor is connected to the negative signal terminals of the other sub-devices besides the first sub-device among the at least two sub-devices. When the connection between the first electrical connector and the second electrical connector is detected, the control unit outputs a low-level switching enable signal, causing the first electrode of the first transistor to output a high-level signal, and the second and third transistors to conduct, thereby connecting the other negative signal terminals in the first group of negative signal terminals besides the first negative signal terminal to the negative signal terminals of the other sub-devices besides the first sub-device among the at least two sub-devices.

[0105] It should be understood that the field-effect transistor can be either an N-type field-effect transistor or a P-type field-effect transistor.

[0106] Figure 6A This is a schematic diagram illustrating the composition of a user equipment 600 according to an embodiment of the present disclosure.

[0107] According to embodiments of this disclosure, the user equipment 600 includes a signal switching circuit 610 and an electronic device 620.

[0108] More specifically, Figure 6B This is a schematic diagram showing the composition of a signal switching circuit 610 according to an embodiment of the present disclosure.

[0109] The signal switching circuit 610 may include: a first electrical connector 612 for connection to a second electrical connector, wherein the second electrical connector provides a first set of signal terminals; a signal processing circuit 614 for providing a second set of signal terminals, wherein the first set of signal terminals is different from the second set of signal terminals, and the second electrical connector and the signal processing circuit are connected to different grounding points, and the different grounding points are isolated from each other; a connection detection circuit 616 for detecting whether the first electrical connector is connected to the second electrical connector; and a control unit 618 for stopping the signal processing circuit from transmitting signals to the second set of signal terminals when the connection between the first electrical connector and the second electrical connector is detected; wherein the signal switching circuit 610 is configured to: connect the first set of signal terminals to the electronic device 620 when the first electrical connector is connected to the second electrical connector; and connect the second set of signal terminals to the electronic device 620 when the first electrical connector is not connected to the second electrical connector.

[0110] It should be noted that the signal switching circuit 610 may not include the second electrical connector, and the second electrical connector may be independent of the user equipment 600. The signal switching circuit 610 in Figure 6 may have features specific to the user equipment 600. Figure 5 The structure and function are similar to those of the signal switching circuit used to implement the signal switching method 500.

[0111] When the first electrical connector is connected to the second electrical connector, the electronic device 620 can operate in a first mode; when the first electrical connector is not connected to the second electrical connector, the electronic device 620 can operate in a second mode. The first mode and the second mode can be different operating modes.

[0112] For example, in the first mode, the electronic device 620 receives a signal from a first signal source, and in the second mode, the electronic device 620 receives a signal from a second signal source; or in the first mode, the electronic device 620 sends a signal to a first receiving device, and in the second mode, the electronic device 620 sends a signal to a second receiving device; or in the first mode, the electronic device 620 sends a signal to a first receiving device, and in the second mode, the electronic device 620 receives a signal from a first transmitting device; or in the first mode, the electronic device 620 receives a signal from a first transmitting device, and in the second mode, the electronic device 620 sends a signal to a first receiving device, and so on.

[0113] According to embodiments of this disclosure, the user equipment 600 can be a mobile phone, a computer, or a head-mounted device (e.g., a headset, a head-mounted virtual reality device, etc.). For example, the user equipment 600 can be a headset, and the electronic device 620 can be the earpiece of the headset. When the first electrical connector is connected to the second electrical connector, the earpiece of the headset can operate in wired mode. When the first electrical connector is not connected to the second electrical connector, the earpiece of the headset can operate in wireless mode, thereby enabling the earpiece of the headset to select different audio signal sources (i.e., wired signal sources and wireless signal sources).

[0114] In summary, this disclosure provides a signal switching circuit, a signal switching method, and a user equipment. The signal switching circuit includes: a first electrical connector for connection to a second electrical connector, wherein the second electrical connector provides a first set of signal terminals; a signal processing circuit for providing a second set of signal terminals, wherein the first set of signal terminals is different from the second set of signal terminals, and the second electrical connector and the signal processing circuit are connected to different, isolated ground points; a connection detection circuit for detecting whether the first electrical connector is connected to the second electrical connector; and a control unit for stopping the signal processing circuit from transmitting signals to the second set of signal terminals when the connection between the first electrical connector and the second electrical connector is detected; wherein the signal switching circuit is configured to: connect the first set of signal terminals to an electronic device when the first electrical connector and the second electrical connector are connected; and connect the second set of signal terminals to the electronic device when the first electrical connector is not connected to the second electrical connector.

[0115] The signal switching circuit disclosed herein enables convenient and low-cost switching of signals input to or output to electronic devices. Because the signal terminals corresponding to different signals in the signal switching circuit of this disclosure are located at different grounding points, electromagnetic interference when electronic devices operate based on different signals can be effectively reduced.

[0116] This disclosure uses specific terms to describe embodiments of the present disclosure. Terms such as "first / second embodiment," "an embodiment," and / or "some embodiments" refer to a particular feature, structure, or characteristic associated with at least one embodiment of the present disclosure. Therefore, it should be emphasized and noted that references to "an embodiment," "one embodiment," or "an alternative embodiment" in different locations throughout this specification do not necessarily refer to the same embodiment. Furthermore, certain features, structures, or characteristics in one or more embodiments of the present disclosure can be appropriately combined.

[0117] It should be noted that, in this specification, the terms "comprising," "including," or any other variations thereof are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element.

[0118] Furthermore, the aforementioned series of processes includes not only processes executed in the order described herein in a time sequence, but also processes executed in parallel or separately, rather than in a time sequence.

[0119] Through the above description of the embodiments, those skilled in the art can clearly understand that this disclosure can be implemented by means of software plus necessary hardware platforms, and of course, it can also be implemented entirely by hardware. Based on this understanding, all or part of the technical solutions of this disclosure that contribute to the background technology can be embodied in the form of a software product. This computer software product can be stored in a storage medium, such as ROM (Read-Only Memory) / RAM (Random Access Memory), magnetic disk, optical disk, etc., including several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute the signal switching circuits described in various embodiments or some parts of the embodiments of this disclosure.

[0120] Unless otherwise defined, all terms used herein (including technical and scientific terms) shall have the same meaning as commonly understood by one of ordinary skill in the art to which this disclosure pertains. It should also be understood that terms such as those defined in a common dictionary shall be interpreted as having a meaning consistent with their meaning in the context of the relevant art, and not as having an idealized or highly formalized meaning, unless expressly defined herein.

[0121] The foregoing description is illustrative of the present disclosure and should not be construed as limiting it. Although several exemplary embodiments of the present disclosure have been described, those skilled in the art will readily understand that many modifications can be made to the exemplary embodiments without departing from the novel teachings and advantages of the present disclosure. Therefore, all such modifications are intended to be included within the scope of the present disclosure as defined by the claims. It should be understood that the foregoing description is illustrative of the present disclosure and should not be construed as limiting it to the specific embodiments disclosed, and modifications to the disclosed embodiments and other embodiments are intended to be included within the scope of the appended claims. The present disclosure is defined by the claims and their equivalents.

Claims

1. A signal switching circuit, comprising: A first electrical connector is used to connect with a second electrical connector, wherein the second electrical connector is used to provide a first set of signal terminals; A signal processing circuit is provided to provide a second set of signal terminals, wherein the first set of signal terminals is different from the second set of signal terminals, and the second electrical connector and the signal processing circuit are connected to different ground points isolated from each other; A connection detection circuit is used to detect whether the first electrical connector is connected to the second electrical connector; and The control unit is configured to cause the signal processing circuit to stop transmitting signals to the second set of signal terminals when the connection between the first electrical connector and the second electrical connector is detected. The signal switching circuit is configured to: connect the first set of signal terminals to the electronic device when the first electrical connector is connected to the second electrical connector; and connect the second set of signal terminals to the electronic device when the first electrical connector is not connected to the second electrical connector.

2. The signal switching circuit as described in claim 1, wherein, When the first electrical connector is connected to the second electrical connector, the electronic device operates in a first mode; when the first electrical connector is not connected to the second electrical connector, the electronic device operates in a second mode.

3. The signal switching circuit as described in claim 2, wherein, The first mode is a wired working mode, and the second mode is a wireless working mode. The wireless operating mode includes at least one of the following: radio wave operating mode, Bluetooth operating mode, and infrared operating mode.

4. The signal switching circuit as described in claim 1, wherein, The electronic device includes at least two sub-devices; the control unit is further configured to output a switching enable signal when the first electrical connector is detected to be connected to the second electrical connector. The signal switching circuit further includes: The switching circuit is configured to connect a portion of the signal terminals in the first set of signal terminals to at least a portion of the at least two sub-devices in response to the switching enable signal received from the control unit.

5. The signal switching circuit as described in claim 4, wherein, The first group of signal terminals includes a first group of positive signal terminals and a first group of negative signal terminals, and the second group of signal terminals includes a second group of positive signal terminals and a second group of negative signal terminals; Wherein, the first electrical connector is used to switch the positive signal terminals of the at least two sub-devices to the first group of positive signal terminals or the second group of positive signal terminals, and the switching circuit is used to switch the negative signal terminals of at least some of the at least two sub-devices to the first group of negative signal terminals or the second group of negative signal terminals; or The first electrical connector is used to switch the negative signal terminals of the at least two sub-devices to the first group of negative signal terminals or the second group of negative signal terminals, and the switching circuit is used to switch the positive signal terminals of at least some of the at least two sub-devices to the first group of positive signal terminals or the second group of positive signal terminals.

6. The signal switching circuit as described in claim 5, wherein, In the case where the first electrical connector is used to switch the positive signal terminals of the at least two sub-devices to the first group of positive signal terminals or the second group of positive signal terminals, and the switching circuit is used to switch the negative signal terminals of at least some of the at least two sub-devices to the first group of negative signal terminals or the second group of negative signal terminals, Connecting the first set of signal terminals to the electronic device includes: The first set of positive signal terminals is connected to the positive signal terminals of the at least two sub-devices respectively using the contacts of the first electrical connector; and The switching circuit is used to connect the first group of negative signal terminals to the negative signal terminals of the at least two sub-devices respectively, or the first negative signal terminal in the first group of negative signal terminals is connected to the negative signal terminal of the first sub-device in the at least two sub-devices using the contacts of the first electrical connector, and the switching circuit is used to connect the other negative signal terminals in the first group of negative signal terminals other than the first negative signal terminal to the negative signal terminals of the other sub-devices in the at least two sub-devices other than the first sub-device respectively. Connecting the second set of signal terminals to the electronic device includes: The second set of positive signal terminals is connected to the positive signal terminals of the at least two sub-devices respectively using the contacts of the first electrical connector; and The second set of negative signal terminals can be directly connected to the negative signal terminals of the at least two sub-devices, or the switching circuit can be used to connect the second set of negative signal terminals to the negative signal terminals of the at least two sub-devices.

7. The signal switching circuit as described in claim 6, wherein, The switching circuit includes transistors. The switching circuit, based on the switching enable signal, turns on the transistor to connect the first group of negative signal terminals to the negative signal terminals of the at least two sub-devices, or to connect the other negative signal terminals in the first group of negative signal terminals (excluding the first negative signal terminal) to the negative signal terminals of the other sub-devices (excluding the first sub-device) in the at least two sub-devices.

8. The signal switching circuit as described in claim 7, wherein, The transistor includes a first transistor, a second transistor, and a third transistor. In this configuration, the control electrode of the first transistor receives the switching enable signal, the first electrode of the first transistor is grounded, the second electrode of the first transistor receives a high-level signal via a resistor, the control electrodes of the second and third transistors are respectively connected to the second electrode of the first transistor, the second electrode of the second transistor is connected to the second electrode of the third transistor, the first electrode of the second transistor is connected to the other negative signal terminals in the first group of negative signal terminals besides the first negative signal terminal, and the first electrode of the third transistor is connected to the negative signal terminals of the other sub-devices in the at least two sub-devices besides the first sub-device. When the first electrical connector is detected to be connected to the second electrical connector, the control unit outputs a low-level switching enable signal, causing the first terminal of the first transistor to output a high-level signal, and the second transistor and the third transistor to be turned on, so as to connect the other negative signal terminals in the first group of negative signal terminals, excluding the first negative signal terminal, to the negative signal terminals of the other sub-devices in the at least two sub-devices, excluding the first sub-device.

9. A signal switching method, comprising: Upon detecting a connection between the first electrical connector and the second electrical connector, the first set of signal terminals is connected to the electronic device, and the signal processing circuit stops transmitting signals to the second set of signal terminals, wherein the second electrical connector provides the first set of signal terminals, and the signal processing circuit provides the second set of signal terminals; and If it is detected that the first electrical connector is not connected to the second electrical connector, a second set of signal terminals is connected to the electronic device, wherein the first set of signal terminals is different from the second set of signal terminals, and the second electrical connector and the signal processing circuit are connected to different grounding points that are isolated from each other.

10. A user equipment, comprising a signal switching circuit and electronic equipment, in, The signal switching circuit includes: A first electrical connector is used to connect to a second electrical connector, wherein the second electrical connector is used to provide a first set of signal terminals; A signal processing circuit is provided to provide a second set of signal terminals, wherein the first set of signal terminals is different from the second set of signal terminals, and the second electrical connector and the signal processing circuit are connected to different ground points, and the different ground points are isolated from each other; A connection detection circuit is used to detect whether the first electrical connector is connected to the second electrical connector; and The control unit is configured to cause the signal processing circuit to stop transmitting signals to the second set of signal terminals when the connection between the first electrical connector and the second electrical connector is detected. The signal switching circuit is configured to: connect the first set of signal terminals to the electronic device when the first electrical connector is connected to the second electrical connector; and connect the second set of signal terminals to the electronic device when the first electrical connector is not connected to the second electrical connector.