Electronic device assembly
By setting up detection modules and device identification elements in electronic devices, and using magnetic induction or optical detection mechanisms to determine whether the connection partner has been approved, the security problem of electronic devices during connection is solved, ensuring the security and reliability of signal transmission.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-09
- Publication Date
- 2026-04-03
AI Technical Summary
When existing electronic devices are connected to other electronic devices, they cannot determine whether the other party has been authorized, which may result in receiving unsafe or unexpected signals, leading to damage or malfunction.
A detection module is set in the first electronic device, and a device identification element is set in the second electronic device. The device determines whether the other party has passed the default by magnetic induction or optical detection mechanism, and controls the opening or closing of the switch to determine the transmission of the signal.
It enables the determination of whether the other party is safe before connection, avoids the transmission of signals by electronic devices without authorization, and improves connection security and protection.
Smart Images

Figure CN121785970A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to an electronic device assembly, and more particularly to an electronic device assembly having a default design. Background Technology
[0002] When existing electronic devices are connected to each other via a connection interface (such as a USB interface), they may receive unsafe or unexpected signals, potentially leading to damage or malfunction, because it is impossible to know whether the other electronic device has been pre-configured. Therefore, existing electronic devices require a detection mechanism independent of the original connection interface to determine whether other electronic devices being connected to them have been pre-configured to ensure safe signal reception or communication. Summary of the Invention
[0003] In view of this, the present invention provides an electronic device assembly in which a detection module is provided in a first electronic device and a device identification element is correspondingly provided on a second electronic device, thereby determining whether the second electronic device has been pre-selected and thus deciding whether to receive the signal transmitted by the second electronic device.
[0004] According to an embodiment of the present invention, an electronic device assembly is provided. The electronic device assembly includes a first electronic device and a second electronic device. The first electronic device includes a first processing unit, a first connection interface, a first switch, and a first detection module. The first connection interface includes a first transmission signal pin or a first control signal pin. The first switch is electrically connected to the first processing unit and the first transmission signal pin or electrically connected to the first processing unit and the first control signal pin. The first detection module is electrically connected to the first switch. The second electronic device includes a second processing unit, a second connection interface, and a device identification element. The second connection interface is electrically connected to the second processing unit. When the first connection interface is connected to the second connection interface, if the first detection module detects the device identification element, the first switch allows the first processing unit to receive signals from the first transmission signal pin or from the first control signal pin, or allows the first processing unit to transmit signals to the first transmission signal pin or to the first control signal pin.
[0005] In some embodiments of the present invention, the first detection module is a magnetic sensor, and the device identification element is a magnetic element.
[0006] In some embodiments of the present invention, the magnetic sensor is a Hall sensor and the magnetic element is a magnet.
[0007] In some embodiments of the present invention, the first connection interface is USB Type C, the first control signal pin is selected from one of the following: CC1, CC2, SBU1 and SUB2, and the first transmission signal pin is selected from one of the following: TX1+, TX1-, D+, D-, RX1+, RX1-, TX2+, TX2-, RX2+ and RX2-.
[0008] According to another embodiment of the present invention, an electronic device assembly is provided. The electronic device assembly includes a first electronic device and a second electronic device. The first electronic device includes a first processing unit, a first connection interface, a first switch, a first detection module, and a first device identification element. The first connection interface includes a first transmission signal pin or a first control signal pin. The first switch is electrically connected to the first processing unit and the first transmission signal pin, or electrically connected to the first processing unit and the first control signal pin. The first detection module is electrically connected to the first switch. The second electronic device includes a second processing unit, a second connection interface, a second switch, a second detection module, and a second device identification element. The second connection interface includes a second transmission signal pin or a second control signal pin. The second switch is electrically connected to the second processing unit and the second transmission signal pin, or electrically connected to the second processing unit and the second control signal pin. The second detection module is electrically connected to the second switch. When the first connection interface is connected to the second connection interface, if the first detection module detects the second device identification element, the first switch allows the first processing unit to receive signals from the first transmission signal pin or the first control signal pin, or allows the first processing unit to transmit signals to the first transmission signal pin or the first control signal pin. If the second detection module detects the first device identification element, the second switch allows the second processing unit to receive signals from the second transmission signal pin or the second control signal pin, or allows the second processing unit to transmit signals to the second transmission signal pin or the second control signal pin.
[0009] In some embodiments of the present invention, the first detection module and the second detection module are magnetic sensors, and the first device identification element and the second device identification element are magnetic elements.
[0010] In some embodiments of the present invention, the magnetic sensor is a Hall sensor and the magnetic element is a magnet.
[0011] In some embodiments of the present invention, the first connection interface is USB Type C, the first control signal pin is selected from one of the following: CC1, CC2, SBU1 and SUB2, the first transmission signal pin is selected from one of the following: TX1+, TX1-, D+, D-, RX1+, RX1-, TX2+, TX2-, RX2+ and RX2-, the second connection interface is USB Type C, the second control signal pin is selected from one of the following: CC1, CC2, SBU1 and SUB2, the second transmission signal pin is selected from one of the following: TX1+, TX1-, D+, D-, RX1+, RX1-, TX2+, TX2-, RX2+ and RX2-.
[0012] According to another embodiment of the present invention, an electronic device assembly is provided. The electronic device assembly includes a first electronic device and a second electronic device. The first electronic device includes a first processing unit, a first connection interface, a first switch, and a first detection module. The first connection interface includes a first transmission signal pin or a first control signal pin. The first switch is electrically connected to the first processing unit and the first transmission signal pin, or electrically connected to the first processing unit and the first control signal pin. The first detection module is electrically connected to the first switch and includes a first light emitter and a first light receiver. The second electronic device includes a second processing unit, a second connection interface, a second switch, and a second detection module. The second connection interface includes a second transmission signal pin or a second control signal pin. The second switch is electrically connected to the second processing unit and the second transmission signal pin, or electrically connected to the second processing unit and the second control signal pin. The second detection module is electrically connected to the second switch and includes a second light emitter and a second light receiver. When the first connection interface is connected to the second connection interface, if the first optical receiver receives an optical signal from the second optical transmitter, the first switch allows the first processing unit to receive a signal from the first transmission signal pin or the first control signal pin, or allows the first processing unit to transmit a signal to the first transmission signal pin or the first control signal pin. If the second optical receiver receives an optical signal from the first optical transmitter, the second switch allows the second processing unit to receive a signal from the second transmission signal pin or the second control signal pin, or allows the second processing unit to transmit a signal to the second transmission signal pin or the second control signal pin.
[0013] In some embodiments of the present invention, the first connection interface is USB Type C, the first control signal pin is selected from one of the following: CC1, CC2, SBU1 and SUB2, the first transmission signal pin is selected from one of the following: TX1+, TX1-, D+, D-, RX1+, RX1-, TX2+, TX2-, RX2+ and RX2-, the second connection interface is USB Type C, the second control signal pin is selected from one of the following: CC1, CC2, SBU1 and SUB2, the second transmission signal pin is selected from one of the following: TX1+, TX1-, D+, D-, RX1+, RX1-, TX2+, TX2-, RX2+ and RX2-. Attached Figure Description
[0014] Figure 1 This is a schematic diagram of an electronic device assembly provided according to a first embodiment of the present invention.
[0015] Figure 2 This is a schematic diagram of an electronic device assembly provided according to a second embodiment of the present invention.
[0016] Figure 3 This is a schematic diagram of an electronic device assembly provided according to a third embodiment of the present invention.
[0017] The reference numerals in the attached figures are explained as follows:
[0018] 1: First electronic device
[0019] 11: First Processing Unit
[0020] 12: First connection interface
[0021] 13: First Switch
[0022] 14: First Detection Module
[0023] 2: Second electronic device
[0024] 21: Second Processing Unit
[0025] 22: Second connection interface
[0026] 23: Device identification element
[0027] 3: First electronic device
[0028] 31: First Processing Unit
[0029] 32: First connection interface
[0030] 33: First Switch
[0031] 34: First Detection Module
[0032] 35: First device identification element
[0033] 4: Second electronic device
[0034] 41: Second Processing Unit
[0035] 42: Second connection interface
[0036] 43: Second Switch
[0037] 44: Second Detection Module
[0038] 45: Second device identification element
[0039] 5: First electronic device
[0040] 51: First Processing Unit
[0041] 52: First connection interface
[0042] 53: First Switch
[0043] 54: First Detection Module
[0044] 541: First optical transmitter
[0045] 542: First optical receiver
[0046] 6: Second electronic device
[0047] 61: Second Processing Unit
[0048] 62: Second connection interface
[0049] 63: Second Switch
[0050] 64: Second Detection Module
[0051] 641: Second optical transmitter
[0052] 642: Second optical receiver Detailed Implementation
[0053] The following are detailed descriptions of embodiments. These embodiments are merely illustrative and do not limit the scope of protection intended by the present invention. Furthermore, unnecessary elements or elements that can be implemented with ordinary techniques are omitted from the drawings in the embodiments to highlight the technical features of the present invention.
[0054] Please refer to Figure 1 According to a first embodiment of the present invention, an electronic device assembly is provided. The electronic device assembly includes a first electronic device 1 and a second electronic device 2.
[0055] The first electronic device 1 includes a first processing unit 11, a first connection interface 12, a first switch 13, and a first detection module 14.
[0056] The first processing unit 11 can be selected from one or a combination of a system on a chip (SoC), a central processing unit (CPU), a digital signal processor (DSP), a microprocessor (MPU), a microcontroller (MCU), a complex programmable logic device (CPLD), a field programmable gate array (FPGA).
[0057] The first connection interface 12 can be selected from a USB connection interface, such as the USB Type C specification, and can also be selected from a male or female connector. The first connection interface 12 includes a first transmission signal pin or a first control signal pin. When the first connection interface is selected from the USB Type C specification, the first control signal pin is selected from one of the following: CC1, CC2, SBU1, and SUB2, and the first transmission signal pin is selected from one of the following: TX1+, TX1-, D+, D-, RX1+, RX1-, TX2+, TX2-, RX2+, and RX2-.
[0058] In this embodiment, the first switch 13 is electrically connected to the first processing unit 11 and the first transmission signal pin, or electrically connected to the first processing unit 11 and the first control signal pin, to determine whether the first processing unit 11 receives the signal transmitted by the first transmission signal pin or the first control signal pin. When the first switch 13 is in the ON mode, signal transmission is possible between the first processing unit 11 and the first transmission signal pin, or between the first processing unit 11 and the first control signal pin; while when the first switch 13 is in the OFF mode, signal transmission is not possible between the first processing unit 11 and the first transmission signal pin, or between the first processing unit 11 and the first control signal pin.
[0059] The first detection module 14 is electrically connected to the first switch 13 to provide detection results to the first switch 13, enabling it to decide whether to switch from the on mode to the off mode, from the off mode to the on mode, or remain in the off mode. In this embodiment, the first detection module 14 can be selected from a magnetic sensor, such as a Hall effect IC. By configuring the first switch 13 and the first detection module 14, signals can be avoided from being transmitted to the first processing unit 11 via the first transmission signal pin or the first control signal pin of the first connection interface 12 without the input of other electronic devices.
[0060] The second electronic device 2 includes a second processing unit 21, a second connection interface 22, and at least one device identification element 23.
[0061] The second processing unit 21 can be selected from one or a combination of a system-on-a-chip, a central processing unit, a digital signal processor, a microprocessor, a microcontroller, a complex programmable logic element, a field-programmable gate array.
[0062] The second connection interface 22 is electrically connected to the second processing unit 21 to transmit signals generated by the second processing unit 21 to the first connection interface 12 of the first electronic device 1, specifically to the first transmission signal pin or the first control signal pin. The second connection interface 22 can also be selected from a USB connection interface, such as the USB Type-C standard, and can be either a male or female connector, as long as it can correspond to and connect with the first connection interface 12. For example, when the first connection interface 12 is a USB Type-C female connector, the second connection interface 22 can be selected from a USB Type-C male connector.
[0063] Furthermore, the first connection interface 12 of the first electronic device 1 and the second connection interface 22 of the second electronic device 2 can be connected together directly or indirectly. A direct connection means that there are no other intermediate interfaces between the first connection interface 12 and the second connection interface 22, while an indirect connection means that the first connection interface 12 and the second connection interface 22 are connected together through at least one intermediate interface.
[0064] For example, when the first connector 12 is a USB Type-C female connector and the second connector 22 is a USB Type-C male connector, the second connector 22 can be inserted into the first connector 12 to complete a direct connection between the two. However, when both the first connector 12 and the second connector 22 are USB Type-C female connectors, they can be indirectly connected via a connecting cable. This connecting cable has USB Type-C male connectors at both ends, allowing insertion into both the first connector 12 and the second connector 22.
[0065] The device identification element 23 is independent of the second connection interface 22. The two are structurally independent and have no connection in terms of control signals. In this embodiment, the device identification element 23 may be selected from a magnetic element, such as at least one magnet, or a magnetic conductor connected to a magnet.
[0066] In this embodiment, the first detection module 14 on the first electronic device 1 and the device identification element 23 on the second electronic device 2 have a direct correspondence in terms of their relative structure or quantity. Therefore, it can be determined whether the second electronic device 2 is a default electronic device through prior agreement or setting. For example, when the first electronic device 1 and the second electronic device 2 are close together and the first connection interface 12 and the second connection interface 22 are connected together, if the first detection module 14 can successfully detect all device identification elements 23, it means that the second electronic device 2 is a default electronic device. At this time, the first detection module 14 will notify the first switch 13 to switch it from the off mode to the on mode. At this time, the first switch 13 allows the first processing unit 11 to receive signals from the first transmission signal pin or the first control signal pin, or allows the first processing unit 11 to transmit signals to the first transmission signal pin or the first control signal pin. Conversely, if the first detection module 14 fails to detect all device identification elements 23, it will determine that the second electronic device 2 is an electronic device that has not been approved by default. Therefore, the first detection module 14 will notify the first switch 13 to keep it in the off mode. At this time, the first switch 13 will prevent the first processing unit 11 from receiving signals from the first transmission signal pin or the first control signal pin, or prevent the first processing unit 11 from transmitting signals to the first transmission signal pin or the first control signal pin.
[0067] Through the above-described protection mechanism, even if the second electronic device 2, which has not been defaulted to, is connected to the first connection interface 12 of the first electronic device 1 through the second connection interface 22, the first electronic device 1 can still avoid receiving signals transmitted by the second electronic device 2, which has not been defaulted to, thus achieving the protection effect.
[0068] In the electronic device assembly provided in the first embodiment described above, the first electronic device 1 is provided with a first switch 13 and a first detection module 14, and correspondingly, the second electronic device 2 is provided with a device identification element 23, thereby ensuring that the second electronic device 2 is a default electronic device. In the electronic device assembly provided according to the second embodiment of the present invention, the first electronic device may also be provided with a device identification element, and the second electronic device may be provided with a second switch and a second detection module, thereby further enhancing the security when they transmit signals to each other.
[0069] Please refer to Figure 2 According to a second embodiment of the present invention, an electronic device assembly is provided. The electronic device assembly includes a first electronic device 3 and a second electronic device 4.
[0070] The first electronic device 3 includes a first processing unit 31, a first connection interface 32, a first switch 33, a first detection module 34, and at least a first device identification element 35.
[0071] The first processing unit 31 can be selected from one or a combination of a system-on-a-chip, a central processing unit, a digital signal processor, a microprocessor, a microcontroller, a complex programmable logic element, a field-programmable gate array.
[0072] The first connection interface 32 can be selected from a USB connection interface, such as the USB Type C standard, and can also be selected from a male or female connector. The first connection interface 32 includes a first transmission signal pin or a first control signal pin. When the first connection interface 32 is selected from the USB Type C standard, the first control signal pin is selected from one of the following: CC1, CC2, SBU1, and SUB2, and the first transmission signal pin is selected from one of the following: TX1+, TX1-, D+, D-, RX1+, RX1-, TX2+, TX2-, RX2+, and RX2-.
[0073] The first switch 33 is electrically connected to the first transmission signal pin in the first processing unit 31 and the first connection interface 32, or electrically connected to the first control signal pin in the first connection interface 32, to determine whether the first processing unit 31 receives the signal transmitted by the first transmission signal pin or the first control signal pin. When the first switch 33 is in the ON mode, signal transmission is possible between the first processing unit 31 and the first transmission signal pin or between the first processing unit 31 and the first control signal pin; while when the first switch 33 is in the OFF mode, signal transmission is not possible between the first processing unit 31 and the first transmission signal pin or between the first processing unit 31 and the first control signal pin.
[0074] The first detection module 34 is electrically connected to the first switch 33 to provide detection results to the first switch 33, enabling it to determine whether to switch from the on mode to the off mode, from the off mode to the on mode, or remain in the off mode. In this embodiment, the first detection module 34 can be selected from a magnetic sensor, such as a Hall effect IC. The configuration of the first switch 33 and the first detection module 34 avoids the transmission of signals to the first processing unit 31 via the first transmission signal pin or the first control signal pin of the first connection interface 32 without the input of other electronic devices.
[0075] The first device identification element 35 is independent of the first connection interface 32. The two are structurally independent and have no connection in terms of control signals. In this embodiment, the first device identification element 35 may be selected from a magnetic element, such as at least one magnet, or a magnetic conductor connected to a magnet.
[0076] The second electronic device 4 includes a second processing unit 41, a second connection interface 42, a second switch 43, a second detection module 44, and at least a second device identification element 45.
[0077] The second processing unit 41 can be selected from one or a combination of a system-on-a-chip, a central processing unit, a digital signal processor, a microprocessor, a microcontroller, a complex programmable logic element, a field-programmable gate array.
[0078] The second connection interface 42 can be selected from a USB connection interface, such as the USB Type C standard, and can also be selected from a male or female connector. The second connection interface 42 includes a second transmission signal pin or a second control signal pin. When the second connection interface is selected from the USB Type C standard, the second control signal pin is selected from one of the following: CC1, CC2, SBU1, and SUB2, and the second transmission signal pin is selected from one of the following: TX1+, TX1-, D+, D-, RX1+, RX1-, TX2+, TX2-, RX2+, and RX2-.
[0079] In the electronic device assembly provided in the second embodiment, the first connection interface 32 of the first electronic device 3 and the second connection interface 42 of the second electronic device 4 can be connected together directly or indirectly in accordance with the manner described in the first embodiment, so it will not be described again.
[0080] The second switch 43 is electrically connected to the second transmission signal pin in the second processing unit 41 and the second connection interface 42, or electrically connected to the second control signal pin in the second processing unit 41 and the second connection interface 42, to determine whether the second processing unit 41 can receive the signal transmitted by the second transmission signal pin or the second control signal pin. When the second switch 43 is in the ON mode, signal transmission can occur between the second processing unit 41 and the second transmission signal pin or between the second processing unit 41 and the second control signal pin; while when the second switch 43 is in the OFF mode, signal transmission cannot occur between the second processing unit 41 and the second transmission signal pin or between the second processing unit 41 and the second control signal pin.
[0081] The second detection module 44 is electrically connected to the second switch 43 to provide detection results to the second switch 43, enabling it to decide whether to switch from the on mode to the off mode, from the off mode to the on mode, or remain in the off mode. In this embodiment, the second detection module 44 can be selected from a magnetic sensor, such as a Hall effect IC. The connection between the second switch 43 and the second detection module 44 avoids the transmission of signals to the second processing unit 41 via the second transmission signal pin or the second control signal pin of the second connection interface 42 without the intervention of other electronic devices.
[0082] The second device identification element 45 is independent of the second connection interface 42. The two are structurally independent and have no connection in terms of control signals. In this embodiment, the second device identification element 45 may be selected from a magnetic element, such as a magnet, or a magnetic conductor connected to a magnet.
[0083] In this embodiment, the first detection module 34 on the first electronic device 3 and the second device identification element 45 on the second electronic device 4 are directly corresponding in terms of their relative structure or quantity. Similarly, the second detection module 44 on the second electronic device 4 and the first device identification element 35 on the first electronic device 3 are also directly corresponding in terms of their relative structure or quantity. Therefore, the first electronic device 3 and the second electronic device 4 can form a mutually default electronic device assembly through prior agreement or setting.
[0084] For example, when the first electronic device 3 and the second electronic device 4 are close together and the first connection interface 32 and the second connection interface 42 are connected, if the first detection module 34 can successfully detect all the second device identification elements 45, the first detection module 34 will notify the first switch 33 to switch from the off mode to the on mode. At this time, the first switch 33 allows the first processing unit 31 to receive signals from the first transmission signal pin or the first control signal pin, or allows the first processing unit 31 to transmit signals to the first transmission signal pin or the first control signal pin. Similarly, if the second detection module 44 can successfully detect all the first device identification elements 35, the second detection module 44 will notify the second switch 43 to switch from the off mode to the on mode. At this time, the second switch 43 allows the second processing unit 41 to receive signals from the second transmission signal pin or the second control signal pin, or allows the second processing unit 41 to transmit signals to the second transmission signal pin or the second control signal pin. When both the first switch 33 and the second switch 43 are in the on mode, the first electronic device 3 and the second electronic device 4 can smoothly transmit signals to each other through the first connection interface 32 and the second connection interface 42.
[0085] Conversely, if the first detection module 34 fails to detect all the second device identification elements 45, it will determine that the second electronic device 4 is an unauthorized electronic device. Therefore, the first detection module 34 will notify the first switch 33 to remain in the off mode. In this case, the first switch 33 will prevent the first processing unit 31 from receiving signals from the first transmission signal pin or the first control signal pin, or from transmitting signals to the first transmission signal pin or the first control signal pin. This way, the first electronic device 3 can avoid receiving signals transmitted by the second electronic device 4, achieving a protective effect. Similarly, if the second detection module 44 fails to detect all the first device identification elements 35, it will determine that the first electronic device 3 is an unauthorized electronic device. Therefore, the second detection module 44 will notify the second switch 43 to remain in the off mode. The second switch 43 will prevent the second processing unit 41 from receiving signals from the second transmission signal pin or the second control signal pin, or from transmitting signals to the second transmission signal pin or the second control signal pin. In this way, the second electronic device 4 can avoid receiving signals transmitted by the first electronic device 3, thus achieving a protective effect.
[0086] Furthermore, the dual detection mechanism proposed in this embodiment can enhance the security of the first electronic device 3 and the second electronic device 4 when they transmit signals to each other.
[0087] In the electronic device assembly provided in the second embodiment above, the first electronic device 3 and the second electronic device 4 confirm whether the other is a default electronic device by means of magnetic detection. In the electronic device assembly provided in the third embodiment of the present invention, the pad electronic device and the second electronic device can be confirmed by means of optical detection.
[0088] Please refer to Figure 3 According to a third embodiment of the present invention, an electronic device assembly is provided. The electronic device assembly includes a first electronic device 5 and a second electronic device 6.
[0089] The first electronic device 5 includes a first processing unit 51, a first connection interface 52, a first switch 53, and a first detection module 54.
[0090] The first processing unit 51 can be selected from one or a combination of a system-on-a-chip, a central processing unit, a digital signal processor, a microprocessor, a microcontroller, a complex programmable logic element, a field-programmable gate array.
[0091] The first connection interface 52 can be selected from a USB connection interface, such as the USB Type C standard, and can also be selected from a male or female connector. The first connection interface 52 includes a first transmission signal pin or a first control signal pin. When the first connection interface 52 is selected from the USB Type C standard, the first control signal pin is selected from one of the following: CC1, CC2, SBU1, and SUB2, and the first transmission signal pin is selected from one of the following: TX1+, TX1-, D+, D-, RX1+, RX1-, TX2+, TX2-, RX2+, and RX2-.
[0092] The first switch 53 is electrically connected to the first transmission signal pin in the first processing unit 51 and the first connection interface 52, or electrically connected to the first control signal pin in the first connection interface 52, to determine whether signal transmission is possible between the first connection interface 52 and the first processing unit 51. When the first switch 53 is in the ON mode, signal transmission is possible between the first processing unit 51 and the first transmission signal pin, or between the first processing unit 51 and the first control signal pin; while when the first switch 53 is in the OFF mode, signal transmission is not possible between the first processing unit 51 and the first transmission signal pin, or between the first processing unit 51 and the first control signal pin.
[0093] The first detection module 54 is electrically connected to the first switch 53 to provide detection results to the first switch 53, enabling it to determine whether to switch from the on mode to the off mode, from the off mode to the on mode, or remain in the off mode. In this embodiment, the first detection module 54 includes a first optical transmitter 541 and a first optical receiver 542.
[0094] The second electronic device 6 includes a second processing unit 61, a second connection interface 62, a second switch 63, and a second detection module 64.
[0095] The second processing unit 61 can be selected from one or a combination of a system-on-a-chip, a central processing unit, a digital signal processor, a microprocessor, a microcontroller, a complex programmable logic element, a field-programmable gate array.
[0096] The second connection interface 62 can be selected from a USB connection interface, such as the USB Type C standard, and can also be selected from a male or female connector. The second connection interface 62 includes a second transmission signal pin or a second control signal pin. When the second connection interface 62 is selected from the USB Type C standard, the second control signal pin is selected from one of the following: CC1, CC2, SBU1, and SUB2, and the second transmission signal pin is selected from one of the following: TX1+, TX1-, D+, D-, RX1+, RX1-, TX2+, TX2-, RX2+, and RX2-.
[0097] The second switch 63 is electrically connected to the second transmission signal pin in the second processing unit 61 and the second connection interface 62, or electrically connected to the second control signal pin in the second connection interface 62, to determine whether signal transmission is possible between the second connection interface 62 and the second processing unit 61. When the second switch 63 is in the ON mode, signal transmission is possible between the second processing unit 61 and the second transmission signal pin, or between the second processing unit 61 and the second control signal pin; while when the second switch 63 is in the OFF mode, signal transmission is not possible between the second processing unit 61 and the second transmission signal pin, or between the second processing unit 61 and the second control signal pin.
[0098] The second detection module 64 is electrically connected to the second switch 63 to provide detection results to the second switch 63, enabling it to decide whether to switch from the on mode to the off mode, from the off mode to the on mode, or remain in the off mode. In this embodiment, the second detection module 64 includes a second optical transmitter 641 and a second optical receiver 642.
[0099] In this embodiment, the first light emitting end 541 of the first detection module 54 and the second light receiving end 642 of the second detection module 64, as well as the first light receiving end 542 of the first detection module 54 and the second light emitting end 641 of the second detection module 64, have a direct corresponding relationship in terms of their relative structure or quantity. Therefore, the first electronic device 5 and the second electronic device 6 can form mutually default electronic device components through prior agreement or setting.
[0100] For example, when the first electronic device 5 and the second electronic device 6 are close together and the first connection interface 52 of the first electronic device 5 is connected to the second connection interface 62 of the second electronic device 6, if the optical signal emitted by the first optical transmitter 541 can be successfully received or detected by the second optical receiver 642, the second detection module 64 will notify the second switch 63 to switch from the off mode to the on mode. At this time, the second switch 63 allows the second processing unit 61 to receive signals from the second transmission signal pin or the second control signal pin, or allows the second processing unit 61 to transmit signals to the second transmission signal pin or the second control signal pin. Similarly, if the optical signal emitted by the second optical transmitter 641 can be received or detected by the first optical receiver 541, the first detection module 54 will notify the first switch 53 to switch from the off mode to the on mode. At this time, the first switch 53 allows the first processing unit 51 to receive signals from the first transmission signal pin or the first control signal pin, or allows the first processing unit 51 to transmit signals to the first transmission signal pin or the first control signal pin. When both the first switch 53 and the second switch 63 are in the on mode, the first electronic device 5 and the second electronic device 6 can smoothly transmit signals to each other through the first connection interface 52 and the second connection interface 62.
[0101] Conversely, if the optical signal emitted by the first optical transmitter 541 fails to be successfully received or detected by the second optical receiver 642, the second detection module 64 will determine that the first electronic device 5 has not been approved, and thus notify the second switch 63 to keep it in the off mode. At this time, the second switch 63 prohibits the second processing unit 61 from receiving signals from the second transmission signal pin or the second control signal pin, or prohibits the second processing unit 61 from transmitting signals to the second transmission signal pin or the second control signal pin. Similarly, if the optical signal emitted by the second optical transmitter 641 fails to be successfully received or detected by the first optical receiver 542, the first detection module 54 will determine that the second electronic device 6 has not been approved, and thus notify the first switch 53 to keep it in the off mode. At this time, the first switch 53 prohibits the first processing unit 51 from receiving signals from the first transmission signal pin or the first control signal pin, or prohibits the first processing unit 51 from transmitting signals to the first transmission signal pin or the first control signal pin. Naturally, the first electronic device 5 and the second electronic device 6 cannot communicate and transmit signals. The dual detection mechanism proposed in this embodiment can also improve the security of the first electronic device 5 and the second electronic device 6 when they transmit signals to each other.
[0102] In this invention, the first electronic device and the second electronic device can be selected from a camera, a speaker, a microphone, a tablet computer, or an expansion dock, thereby expanding the functions that the original electronic device does not have. For example, when the first electronic device is a camera and the second electronic device is a default speaker, the sound output function that the original camera does not have can be expanded or added by connecting the second electronic device to the first electronic device.
[0103] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Therefore, any equivalent changes or modifications made without departing from the spirit disclosed in the present invention should be included in the inventive concept of this case.
Claims
1. An electronic device assembly, comprising: A first electronic device, comprising: First processing unit; A first connection interface, the first connection interface including a first transmission signal pin or a first control signal pin; A first switch, electrically connected to the first processing unit and the first transmission signal pin, or electrically connected to the first processing unit and the first control signal pin; and A first detection module, electrically connected to the first switch; and A second electronic device, comprising: A second processing unit; A second connection interface, electrically connected to the second processing unit; and A device for identifying components; When the first connection interface is connected to the second connection interface, if the first detection module detects the device identification element, the first switch allows the first processing unit to receive signals from the first transmission signal pin or the first control signal pin, or allows the first processing unit to transmit signals to the first transmission signal pin or the first control signal pin.
2. The electronic device assembly of claim 1, wherein the first detection module is a magnetic sensor and the device identification element is a magnetic element.
3. The electronic device assembly of claim 2, wherein the magnetic sensor is a Hall sensor and the magnetic element is a magnet.
4. The electronic device assembly of claim 1, wherein the first connection interface is of USB Type C specification, the first control signal pin is selected from one of the following: CC1, CC2, SBU1 and SUB2, and the first transmission signal pin is selected from one of the following: TX1+, TX1-, D+, D-, RX1+, RX1-, TX2+, TX2-, RX2+ and RX2-.
5. An electronic device assembly, comprising: A first electronic device, comprising: First processing unit; A first connection interface, the first connection interface including a first transmission signal pin or a first control signal pin; A first switch is electrically connected to the first processing unit and the first transmission signal pin or electrically connected to the first processing unit and the first control signal pin; A first detection module, electrically connected to the first switch; and A first device identification element; and A second electronic device, comprising: A second processing unit; A second connection interface, the second connection interface including a second transmission signal pin or a second control signal pin; A second switch, electrically connected to the second processing unit and the second transmission signal pin or electrically connected to the second processing unit and the second control signal pin; A second detection module, electrically connected to the second switch; and A second device identifies the element; When the first connection interface is connected to the second connection interface, if the first detection module detects the second device identification element, the first switch allows the first processing unit to receive signals from the first transmission signal pin or the first control signal pin, or allows the first processing unit to transmit signals to the first transmission signal pin or the first control signal pin. If the second detection module detects the first device identification element, the second switch allows the second processing unit to receive signals from the second transmission signal pin or the second control signal pin, or allows the second processing unit to transmit signals to the second transmission signal pin or the second control signal pin.
6. The electronic device assembly of claim 5, wherein the first detection module and the second detection module are magnetic sensors, and the first device identification element and the second device identification element are magnetic elements.
7. The electronic device assembly of claim 6, wherein the magnetic sensor is a Hall sensor and the magnetic element is a magnet.
8. The electronic device assembly of claim 5, wherein the first connection interface is of USB Type C specification, the first control signal pin is selected from one of the following: CC1, CC2, SBU1, and SUB2, the first transmission signal pin is selected from one of the following: TX1+, TX1-, D+, D-, RX1+, RX1-, TX2+, TX2-, RX2+, and RX2-, the second connection interface is of USB Type C specification, the second control signal pin is selected from one of the following: CC1, CC2, SBU1, and SUB2, the second transmission signal pin is selected from one of the following: TX1+, TX1-, D+, D-, RX1+, RX1-, TX2+, TX2-, RX2+, and RX2-.
9. An electronic device assembly, comprising: A first electronic device, comprising: First processing unit; A first connection interface, the first connection interface including a first transmission signal pin or a first control signal pin; A first switch, electrically connected to the first processing unit and the first transmission signal pin, or electrically connected to the first processing unit and the first control signal pin; and A first detection module, electrically connected to the first switch, the first detection module including a first optical transmitter and a first optical receiver; and A second electronic device, comprising: A second processing unit; A second connection interface, the second connection interface including a second transmission signal pin or a second control signal pin; A second switch, electrically connected to the second processing unit and the second transmission signal pin, or electrically connected to the second processing unit and the second control signal pin; and A second detection module is electrically connected to the second switch. The second detection module includes a second optical transmitter and a second optical receiver. When the first connection interface is connected to the second connection interface, if the first optical receiver receives an optical signal from the second optical transmitter, the first switch allows the first processing unit to receive a signal from the first transmission signal pin or the first control signal pin, or allows the first processing unit to transmit a signal to the first transmission signal pin or the first control signal pin. If the second optical receiver receives an optical signal from the first optical transmitter, the second switch allows the second processing unit to receive a signal from the second transmission signal pin or the second control signal pin, or allows the second processing unit to transmit a signal to the second transmission signal pin or the second control signal pin.
10. The electronic device assembly of claim 9, wherein the first connection interface is of USB Type C specification, the first control signal pin is selected from one of the following: CC1, CC2, SBU1, and SUB2, the first transmission signal pin is selected from one of the following: TX1+, TX1-, D+, D-, RX1+, RX1-, TX2+, TX2-, RX2+, and RX2-, the second connection interface is of USB Type C specification, the second control signal pin is selected from one of the following: CC1, CC2, SBU1, and SUB2, the second transmission signal pin is selected from one of the following: TX1+, TX1-, D+, D-, RX1+, RX1-, TX2+, TX2-, RX2+, and RX2-.