CN218004103U - Communication circuit and electronic equipment - Google Patents
Communication circuit and electronic equipment Download PDFInfo
- Publication number
- CN218004103U CN218004103U CN202222148277.1U CN202222148277U CN218004103U CN 218004103 U CN218004103 U CN 218004103U CN 202222148277 U CN202222148277 U CN 202222148277U CN 218004103 U CN218004103 U CN 218004103U
- Authority
- CN
- China
- Prior art keywords
- circuit
- communication
- control
- communication interface
- modules
- 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.)
- Active
Links
Images
Landscapes
- Information Transfer Systems (AREA)
Abstract
The application provides a communication circuit and electronic equipment, belongs to electronic circuit technical field. Wherein, communication circuit includes: a communication interface for connecting an external device; a control circuit connected with the communication interface; one or more circuit modules; and the switching circuit is connected between the communication interface and the one or more circuit modules, wherein the control end of the switching circuit is connected with the control circuit. An electronic device includes the communication circuit. By adopting the method and the device, the direct communication between the external equipment and the circuit module can be avoided.
Description
Technical Field
The present application relates to the field of electronic circuit technology, and in particular, to a communication circuit and an electronic device.
Background
In the related art, the external device is connected to the electronic device through the communication interface such as the USB, and the communication interface such as the USB is directly connected to the circuit module such as the bluetooth or the WiFi of the electronic device, so that the external device directly communicates with the circuit module such as the bluetooth or the WiFi through the USB communication interface. Because communication interfaces such as USB have certain commonality, consequently lead to multiple peripheral equipment homoenergetic and electronic equipment's circuit module communication such as bluetooth, wiFi, influence the security of circuit module such as bluetooth, wiFi to may lead to circuit module such as bluetooth, wiFi to damage.
SUMMERY OF THE UTILITY MODEL
According to an aspect of the embodiments of the present application, there is provided a communication circuit, including:
a communication interface for connecting an external device;
a control circuit connected with the communication interface;
one or more circuit modules;
and the switching circuit is connected between the communication interface and the one or more circuit modules, wherein the control end of the switching circuit is connected with the control circuit.
Optionally, the control circuit is configured to send a first control signal to the control terminal of the switch circuit to establish a connection between the communication interface and the one or more circuit modules in response to receiving a first signal from the external device via the communication interface.
Optionally, the control circuit is further configured to send a second control signal to the control terminal of the switch circuit to disconnect the communication interface from the one or more circuit modules in response to receiving a second signal from the external device via the communication interface.
Optionally, the switch circuit comprises a plurality of switch modules, and the control circuit is connected to the plurality of switch modules through one port.
Optionally, the communication circuit further comprises: and the driving circuit is connected between one port of the control circuit and the plurality of switch modules and is used for amplifying signals of the control circuit so as to drive the plurality of switch modules.
Optionally, the communication circuit further comprises: and the current-limiting protection circuit is connected between the control circuit and the switch circuit and/or between the control circuit and the communication interface.
Optionally, the switching circuit comprises one or more analogue switches.
Optionally, the control circuit comprises a Micro Controller Unit (MCU).
Optionally, the communication interface comprises a USB interface.
According to another aspect of embodiments of the present application, there is provided an electronic device including: the communication circuit of the embodiment of the application.
According to one or more technical schemes provided in the embodiment of the application, the switch circuit is arranged between the communication interface and the circuit module, and the control end of the switch circuit is connected with the control circuit, so that the control circuit can control the connection path between the communication interface and the circuit module, and external equipment is prevented from directly communicating with the circuit module.
Drawings
Further details, features and advantages of the present application are disclosed in the following description of exemplary embodiments, which is to be read in connection with the accompanying drawings, in which:
FIG. 1 shows a schematic block diagram of a communication circuit according to an exemplary embodiment of the present application;
FIG. 2 shows another schematic block diagram of a communication circuit according to an exemplary embodiment of the present application;
fig. 3 shows a further schematic block diagram of a communication circuit according to an exemplary embodiment of the present application.
Detailed Description
Embodiments of the present application will be described in more detail below with reference to the accompanying drawings. While certain embodiments of the present application are shown in the drawings, it should be understood that the present application may be embodied in various forms and should not be construed as limited to the embodiments set forth herein, but rather are provided for a more thorough and complete understanding of the present application. It should be understood that the drawings and embodiments of the present application are for illustration purposes only and are not intended to limit the scope of the present application.
The term "include" and variations thereof as used herein are open-ended, i.e., "including but not limited to". The term "based on" is "based, at least in part, on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; the term "some embodiments" means "at least some embodiments". Relevant definitions for other terms will be given in the following description. It should be noted that the terms "first", "second", and the like in the present application are only used for distinguishing different devices, modules or units, and are not used for limiting the order or interdependence of the functions performed by the devices, modules or units.
It is noted that references to "a" or "an" modification in this application are intended to be illustrative rather than limiting, and those skilled in the art will appreciate that references to "one or more" are intended to be exemplary unless the context clearly indicates otherwise.
The scheme of the present application is described below with reference to the drawings.
Fig. 1 shows a schematic block diagram of a communication circuit according to an exemplary embodiment of the present application, the communication circuit comprising, as shown in fig. 1: a communication interface 110 for connecting an external device; a control circuit 120 connected to the communication interface 110; circuit module 130 1 、130 2 To 130 n (ii) a A switch circuit 140 connected between the communication interface 110 and the circuit module 130 1 、130 2 To 130 n Wherein the control terminal of the switch circuit 140 is connected to the control circuit 120.
In this embodiment, the control circuit 120 may include an MCU, which is not limited in this embodiment. The communication interface 110 may include a USB interface, such as a USB Type C interface, which is not limited in this embodiment. The circuit module may include a bluetooth module, a WiFi module, etc., which is not limited in this embodiment. It should be understood that circuit module 130 is shown in FIG. 1 1 、130 2 To 130 n However, the number of circuit modules is not limited in this embodiment, and one or more circuit modules may be included.
In some implementations, the control circuit 120 is configured to send a first control signal to the control terminal of the switch circuit 140 to establish the communication interface 110 and the circuit module 130 in response to receiving a first signal from an external device via the communication interface 110 1 、130 2 To 130 n To be connected to each other.
As an embodiment, the external device is connected to the circuit module 130 1 、130 2 To 130 n Before communication, the communication interface 110 is connected, a first signal is transmitted via the communication interface 110, and the control circuit 120 transmits the first control signal to the control terminal of the switch circuit 140 in response to receiving the first signal from the external device via the communication interface 110, so as to establish the communication interface 110 and the circuit module 130 1 、130 2 To 130 n To be connected to each other. Thus, the external device can communicate with the circuit module through the established connection. Illustratively, the communication may include burning the program to the circuit module.
In some implementations, the control circuit 120 is further configured to send a second control signal to the control terminal of the switch circuit 140 to disconnect the communication interface 110 from the circuit module 130 in response to receiving a second signal from an external device via the communication interface 110 1 、130 2 To 130 n To be connected to each other.
As an embodiment, the external device is connected to the circuit module 130 1 、130 2 To 130 n After the communication is completed, the second signal is sent via the communication interface 110, and the control circuit 120 sends the second control signal to the control terminal of the switch circuit 140 to disconnect the communication interface 110 and the circuit module 130 in response to receiving the second signal from the external device via the communication interface 110 1 、130 2 To 130 n To be connected to each other.
In some embodiments, as shown in fig. 2, the switching circuit 140 includes a plurality of switching modules. As an embodiment, each switch module corresponds to one port of the control circuit 120. As another embodiment, as shown in fig. 2, the control circuit 120 is connected to a plurality of switch modules through one port, thereby saving ports of the control circuit 120. For example, the switch module may include analog switches, and each analog switch may correspond to one circuit module. For example, one analog switch is connected between the communication interface 110 and the bluetooth module, and one analog switch is connected between the communication interface 110 and the WiFi module.
In some embodiments, as shown in fig. 2, the communication circuit further comprises: and a driving circuit 150 connected between the one port of the control circuit 120 and the plurality of switch modules, for amplifying a signal of the control circuit 120 to enable the signal to drive the plurality of switch modules.
In some embodiments, as shown in fig. 2, the communication circuit further comprises: the first current limiting protection circuit 160 is connected between the control circuit 120 and the switch circuit 140.
In some embodiments, as shown in fig. 2, the communication circuit further comprises: and a second current limiting protection circuit 170 connected between the control circuit 120 and the communication interface 110.
Fig. 3 shows a schematic block diagram of a communication circuit according to an exemplary embodiment of the present application, the communication circuit comprising, as shown in fig. 3: USB Type C interface, MCU, analog switch A, analog switch B, bluetooth module and wiFi module. Wherein, MCU and USBType C interface connection, analog switch A connects between USBType C interface and bluetooth module, and analog switch A's control end is connected with MCU's IO port, and analog switch B connects between USBType C interface and wiFi module, and analog switch B's control end is connected with MCU's aforementioned IO port. It should be understood that the analog switch a and the analog switch B may also be connected to the I/O ports of the MCU, respectively, that is, the analog switch a is connected to one I/O port of the MCU, and the analog switch B is connected to the other I/O port of the MCU. In addition, in order to prevent the MCU from being burnt out by high voltage, a current-limiting protection circuit can be arranged between the USB Type C interface and the MCU and between the MCU and the analog switch.
As an example, after an external device is connected to a USB Type C interface, the external device communicates with the MCU through a DP/DN pin to send a control instruction to the MCU; after the MCU correctly confirms the control instruction, the MCU controls the analog switches A and B through BT _ B _ EN _ COM so as to establish the connection between the USB Type C interface and the Bluetooth module and the WiFi module, so that the external equipment can communicate with the Bluetooth module or the WiFi module, and the functions of upgrading firmware and the like can be performed; after the communication is finished, the MCU controls the analog switches A and B through the BT _ B _ EN _ COM to turn off the connection.
An exemplary embodiment of the present application also provides an electronic device, including: the communication circuit of this application embodiment. According to one or more technical schemes provided in the embodiment of the application, the switch circuit is arranged between the communication interface and the circuit module, and the control end of the switch circuit is connected with the control circuit, so that the control circuit can control the connection path between the communication interface and the circuit module, and external equipment is prevented from directly communicating with the circuit module.
Electronic device is intended to represent various forms of digital electronic computer devices, such as laptops, desktops, workstations, personal digital assistants, and other suitable computers. The electronic device may also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions, are meant to be examples only, and are not meant to limit implementations of the present application that are described and/or claimed herein.
Claims (10)
1. A communication circuit, comprising:
a communication interface for connecting an external device;
a control circuit connected with the communication interface;
one or more circuit modules;
and the switching circuit is connected between the communication interface and the one or more circuit modules, wherein the control end of the switching circuit is connected with the control circuit.
2. The communication circuit of claim 1, wherein the control circuit is configured to send a first control signal to the control terminal of the switch circuit to establish a connection between the communication interface and the one or more circuit modules in response to receiving a first signal from the external device via the communication interface.
3. The communication circuit of claim 2, wherein the control circuit is further configured to send a second control signal to the control terminal of the switching circuit to disconnect the communication interface from the one or more circuit modules in response to receiving a second signal from the external device via the communication interface.
4. The communication circuit of claim 1, wherein the switching circuit comprises a plurality of switching modules, the control circuit being connected to the plurality of switching modules through a port.
5. The communication circuit of claim 4, further comprising:
and the driving circuit is connected between the port of the control circuit and the plurality of switch modules and is used for amplifying the signals of the control circuit so as to drive the plurality of switch modules.
6. The communication circuit of claim 1, further comprising:
and the current-limiting protection circuit is connected between the control circuit and the switch circuit and/or between the control circuit and the communication interface.
7. The communication circuit of any of claims 1 to 6, wherein the switching circuit comprises one or more analog switches.
8. A communication circuit as claimed in any one of claims 1 to 6, wherein the control circuit comprises a micro control unit.
9. The communication circuit according to any of claims 1 to 6, wherein the communication interface comprises a USB interface.
10. An electronic device, comprising: the communication circuit of any of claims 1 to 9.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202222148277.1U CN218004103U (en) | 2022-08-15 | 2022-08-15 | Communication circuit and electronic equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202222148277.1U CN218004103U (en) | 2022-08-15 | 2022-08-15 | Communication circuit and electronic equipment |
Publications (1)
Publication Number | Publication Date |
---|---|
CN218004103U true CN218004103U (en) | 2022-12-09 |
Family
ID=84320562
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202222148277.1U Active CN218004103U (en) | 2022-08-15 | 2022-08-15 | Communication circuit and electronic equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN218004103U (en) |
-
2022
- 2022-08-15 CN CN202222148277.1U patent/CN218004103U/en active Active
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8447893B2 (en) | USB peripheral device comprising limited function USB host controller | |
CN112671084B (en) | USB device and operation method thereof | |
US20150280766A1 (en) | Sim card connector and mobile terminal | |
US20070075680A1 (en) | Charging mode control circuit | |
US10243386B2 (en) | Power supply circuit in electronic device and control method thereof | |
CN108701106B (en) | Data transmission method and equipment | |
US20120005385A1 (en) | Communication circuit of inter-integrated circuit device | |
CN105162213A (en) | USB controller, and device | |
EP4160861A1 (en) | Charger, data cable, and charging device | |
CN102164070B (en) | Switchboard and network port and serial port multiplexing method thereof | |
CN105071484A (en) | Charging method and apparatus of terminal having data exchange function | |
CN218004103U (en) | Communication circuit and electronic equipment | |
KR20230016687A (en) | Data cables and charging devices | |
CN101170780B (en) | Method for dual mode terminal to prevent from current backflow between two radio modules | |
CN112821156B (en) | Electronic tags chip and TYPE-C data line | |
CN110209620A (en) | A kind of multiplex roles electronic equipment | |
US12009680B2 (en) | Charging circuit, charging method, and terminal | |
CN206741445U (en) | A kind of production domesticization thin client system with KVM functions | |
CN213185551U (en) | OTG and isolation circuit and mobile terminal charge | |
US20140347279A1 (en) | Keyboard device with switchable connection path and its switching method | |
CN114661646A (en) | Serial port switching control circuit | |
US20240028548A1 (en) | Universal serial bus (usb) hub with host bridge function and control method thereof | |
CN101989194A (en) | Secondary development method for wireless communication module | |
WO2010108551A1 (en) | Power management | |
CN106303061B (en) | A kind of means of communication, communicating terminal and terminal system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
GR01 | Patent grant | ||
GR01 | Patent grant |