Access detection communication circuit, secret key filling device and secret key filling system

By accessing and detecting the communication circuit, including the host computer access terminal, the cipher access terminal, the main control circuit, the communication switch circuit and the power supply detection switch circuit, the problem that the key injection device cannot accurately determine the access of the cipher is solved, and a fast and accurate injection process is achieved.

CN120658379APending Publication Date: 2025-09-16CREATOR CHINA TCH CO
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510711388.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-05-29
Publication Date
2025-09-16

AI Technical Summary

Technical Problem

Existing key injection devices cannot quickly and accurately determine whether a cipher is connected and whether there is a need for injection, resulting in a slow injection process and insufficient accuracy.

Method used

An access detection communication circuit is adopted, including a host computer access terminal, a cipher access terminal, a main control circuit, a communication switch circuit and a power supply detection switch circuit. The communication and power supply detection switch circuits are controlled by the switch control signal output by the main control circuit to quickly determine the access of the cipher and confirm the encryption requirement.

Benefits of technology

The accuracy and efficiency of the key filling device in detecting the cipher are improved, ensuring the speed and accuracy of the filling process.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120658379A_ABST
    Figure CN120658379A_ABST
Patent Text Reader

Abstract

The invention discloses an access detection communication circuit, a secret key filling device and a secret key filling system, and relates to the technical field of detection communication circuits. The access detection communication circuit comprises an upper computer access end; a cipherer access end; the main control circuit is electrically connected with the upper computer connecting end; a communication switch circuit; the power supply detection switch circuit is used for outputting a current detection signal to the main control circuit when the cipherer is connected to the cipherer access end and the power supply detection switch circuit is closed; wherein the main control circuit is used for outputting a corresponding switch control signal when receiving a communication detection instruction of an upper computer so as to control the communication switch circuit to conduct a path between the communication end of the upper computer access end and the communication end of the cipherer access end; and the power supply detection switch circuit is controlled to conduct an access between the power supply end and the power supply end of the cipherer access end. The invention aims to improve the accuracy of detecting the cipherer by the key filling device.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of detection communication circuits, and in particular to an access detection communication circuit, a key injection device and a key injection system. Background Art

[0002] A cipher needs to be placed in a key injection device to be injected with a key. Encryption is achieved by establishing a stable communication connection between the cipher and the key injection device and confirming that the cipher requires injection. In practical applications, key injection devices are typically equipped with multiple connection terminals to facilitate simultaneous injection of multiple ciphers. However, in existing technologies, key injection devices cannot quickly and accurately determine whether a corresponding connection terminal is connected to a cipher and confirm whether a cipher requires injection. This results in a slow and inaccurate injection process. Summary of the Invention

[0003] The main purpose of the present invention is to provide an access detection communication circuit, a key injection device and a key injection system, aiming to improve the accuracy of the key injection device in detecting ciphers.

[0004] To achieve the above-mentioned object, the present invention proposes an access detection communication circuit, which includes:

[0005] Host computer access terminal;

[0006] Cipher access terminal;

[0007] A main control circuit, the main control circuit being electrically connected to the host computer connection terminal;

[0008] A communication switch circuit, wherein a first end of the communication switch circuit is electrically connected to the communication end of the host computer access end, a controlled end of the communication switch circuit is electrically connected to the main control circuit, and a second end of the communication switch circuit is electrically connected to the communication end of the cipher access end;

[0009] a power supply detection switch circuit, wherein a first end of the power supply detection switch circuit is electrically connected to the power supply end, a controlled end of the power supply detection switch circuit is electrically connected to the main control circuit, and a second end of the power supply detection switch circuit is electrically connected to the power supply end of the cipher; the power supply detection switch circuit is configured to connect a cipher to the cipher access end, and output a current detection signal to the main control circuit when the power supply detection switch circuit is closed;

[0010] Among them, the main control circuit is used to output a corresponding switch control signal when receiving a communication detection instruction from the host computer, so as to control the communication switch circuit to conduct the path between the communication end of the host computer access end and the communication end of the cipher access end, and control the power supply detection switch circuit to conduct the path between the power supply end and the power supply end of the cipher access end.

[0011] In one embodiment, the communication switch circuit includes:

[0012] a first switch circuit, wherein a first end of the first switch circuit is electrically connected to the communication end of the host computer access end, a power input end of the first switch circuit is electrically connected to the power supply end, and a second end of the first switch circuit is electrically connected to the communication end of the cipher device access end;

[0013] a second switch circuit, wherein a first end of the second switch circuit is electrically connected to a power output end of the first switch circuit, a controlled end of the second switch circuit is electrically connected to the main control circuit, and a second end of the second switch circuit is grounded;

[0014] Among them, the second switching circuit is used to connect the path between the power output end and the ground end of the first switching circuit when receiving the switching control signal, so that the first switching circuit connects the path between the communication end of the host computer access end and the communication end of the cipher access end.

[0015] In one embodiment, when the first switching circuit includes a relay, the communication switching circuit also includes a protection circuit, wherein a first end of the protection circuit is electrically connected to a power input end of the first switching circuit, and a second end of the protection circuit is electrically connected to a power output end of the first switching circuit; the protection circuit is used to eliminate voltage spikes when the first switching circuit is powered off.

[0016] In one embodiment, the first switch circuit includes a relay; the second switch circuit includes a first resistor, a second resistor, and a first switch tube; the protection circuit includes a first diode;

[0017] Among them, the first end of the relay is electrically connected to the communication end of the upper computer access end, the second end of the relay is electrically connected to the communication end of the cipher access end, the positive end of the relay is electrically connected to the power supply end and the cathode of the first diode, and the negative end of the relay is electrically connected to the anode of the first diode and the first end of the first switching tube; the first end of the first resistor is electrically connected to the main control circuit, the second end of the first resistor is electrically connected to the controlled end of the first switching tube and the first end of the second resistor; the second end of the second resistor is electrically connected to the second end of the first switching tube and the ground end.

[0018] In one embodiment, the power supply detection switch circuit includes:

[0019] a power supply switch circuit, wherein a first end of the power supply switch circuit is electrically connected to the power supply end, and a controlled end of the power supply switch circuit is electrically connected to the main control circuit;

[0020] an optocoupler detection circuit, wherein a first end of the optocoupler detection circuit is electrically connected to a second end of the power switch circuit, a second end of the optocoupler detection circuit is electrically connected to a power supply terminal of the cipher access terminal, a third end of the optocoupler detection circuit is electrically connected to a ground terminal, and a fourth end of the optocoupler detection circuit is electrically connected to the main control circuit;

[0021] Among them, the power supply switch circuit is used to open the path between the power supply end and the first end of the optocoupler detection circuit when receiving the switch control signal; the optocoupler detection circuit is used to connect the cipher at the cipher access end, and when the power supply switch circuit is closed, output the current detection signal to the main control circuit.

[0022] In one embodiment, the power switch circuit includes:

[0023] a third switch circuit, wherein a first end of the third switch circuit is electrically connected to the power supply end, a controlled end of the third switch circuit is electrically connected to the main control circuit, and a second end of the third switch circuit is electrically connected to the ground end;

[0024] a fourth switch circuit, wherein a first end of the fourth switch circuit is electrically connected to the power supply end, a controlled end of the fourth switch circuit is electrically connected to the first end of the third switch circuit, and a second end of the fourth switch circuit is electrically connected to the first end of the optocoupler detection circuit;

[0025] The third switch circuit is configured to conduct the path between the power supply end and the ground end when receiving the switch control signal, so that the fourth switch circuit conducts the path between the power supply end and the first end of the optocoupler detection circuit.

[0026] In one embodiment, the third switch circuit includes a third resistor, a fourth resistor, and a second switch tube; the fourth switch circuit includes a fifth resistor, a sixth resistor, and a third switch tube;

[0027] Among them, the first end of the third resistor is electrically connected to the main control circuit, the second end of the third resistor is electrically connected to the controlled end of the second switch tube and the first end of the fourth resistor; the second end of the fourth resistor is electrically connected to the second end of the second switch tube and the ground end; the first end of the second switch tube is electrically connected to the controlled end of the third switch tube and the second end of the fifth resistor; the first end of the fifth resistor is electrically connected to the power supply end, the first end of the third switch tube, and the fourth end of the optocoupler detection circuit; the second end of the third switch tube is electrically connected to the first end of the optocoupler detection circuit and the second end of the sixth resistor; the first end of the sixth resistor is electrically connected to the second end of the second switch tube, the second end of the fourth resistor, and the ground end.

[0028] In one embodiment, the access detection communication circuit also includes a power supply detection circuit, the input end of the power supply detection circuit is electrically connected to the second end of the fourth switch circuit, and the output end of the power supply detection circuit is electrically connected to the host computer access end; the power supply detection circuit is used to output a corresponding power supply detection signal to the host computer access end when the fourth switch circuit is turned on.

[0029] The present invention also provides a key injection device, comprising a host computer and a plurality of access detection communication circuits as described in any one of the above items;

[0030] Wherein, the host computer is electrically connected to a plurality of the access detection communication circuits respectively.

[0031] The present invention also provides a key perfusion system, which includes a plurality of ciphers and the key perfusion device as described above;

[0032] Wherein, the plurality of ciphers are electrically connected to the key injection device respectively.

[0033] The technical solution of the present invention effectively improves the accuracy of a key injection device's detection of a cipher by employing an access detection communication circuit. The access detection communication circuit includes a host computer access terminal, a cipher access terminal, a main control circuit, a communication switch circuit, and a power supply detection switch circuit. The host computer access terminal is used to connect to the host computer to transmit corresponding signals, while the cipher access terminal is used to connect to the cipher to achieve key injection and communication. The main control circuit receives communication detection instructions output by the host computer and outputs corresponding switch control signals to the communication switch circuit and the power supply detection switch circuit, causing the communication switch circuit to connect the communication terminal of the host computer access terminal to the communication terminal of the cipher access terminal, and causing the power supply detection switch circuit to connect the power supply terminal to the power supply terminal of the cipher access terminal. Furthermore, the main control circuit can determine whether the cipher access terminal is connected to the cipher based on the current detection signal fed back by the power supply detection switch circuit, thereby quickly and accurately determining whether the cipher is connected. Furthermore, after confirming that the cipher is connected, the host computer access terminal can also perform handshake communication with the cipher via the communication switch circuit to confirm whether the cipher requires key injection, thereby facilitating the subsequent rapid execution of the corresponding instructions. BRIEF DESCRIPTION OF THE DRAWINGS

[0034] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on the structures shown in these drawings without paying any creative work.

[0035] Figure 1 A schematic diagram of a module for accessing and detecting a communication circuit according to the present invention;

[0036] Figure 2 A schematic diagram of a module of another embodiment of an access detection communication circuit of the present invention;

[0037] Figure 3 A schematic diagram of a module of another embodiment of an access detection communication circuit of the present invention;

[0038] Figure 4 This is a circuit diagram of an access detection communication circuit according to an embodiment of the present invention.

[0039] Description of Figure Numbers:

[0040] 10. Host computer access terminal; 20. Cipher device access terminal; 30. Main control circuit; 40. Communication switch circuit; 41. First switch circuit; 42. Second switch circuit; 50. Power supply detection switch circuit; 51. Power supply switch circuit; 52. Optocoupler detection circuit; 60. Power supply detection circuit; R1-R9, first resistor - ninth resistor; Q1-Q3, first switch tube - third switch tube; D1-D2, first diode - second diode.

[0041] The purpose, features and advantages of the present invention will be further described with reference to the accompanying drawings and in conjunction with the embodiments. DETAILED DESCRIPTION

[0042] The following will clearly and completely describe the technical solutions in the embodiments of the present invention in conjunction with the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. All other embodiments obtained by ordinary technicians in this field based on the embodiments of the present invention without making any creative efforts shall fall within the scope of protection of the present invention.

[0043] It should be noted that all directional indications in the embodiments of the present invention (such as up, down, left, right, front, back, etc.) are only used to explain the relative position relationship, movement status, etc. between the various components under a certain specific posture (as shown in the accompanying drawings). If the specific posture changes, the directional indication will also change accordingly.

[0044] In addition, the descriptions of "first", "second", etc. in the present invention are for descriptive purposes only and should not be understood as indicating or implying their relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" or "second" may explicitly or implicitly include at least one of such features. In addition, the technical solutions between the various embodiments can be combined with each other, but this must be based on the fact that they can be implemented by ordinary technicians in this field. When the combination of technical solutions is contradictory or cannot be implemented, it should be deemed that such combination of technical solutions does not exist and is not within the scope of protection required by the present invention.

[0045] A cipher needs to be placed in a key injection device to be injected with a key. Encryption is achieved by establishing a stable communication connection between the cipher and the key injection device and confirming that the cipher requires injection. In practical applications, key injection devices are typically equipped with multiple connection terminals to facilitate simultaneous injection of multiple ciphers. However, in existing technologies, key injection devices cannot quickly and accurately determine whether a corresponding connection terminal is connected to a cipher and confirm whether a cipher requires injection. This results in a slow and inaccurate injection process.

[0046] Therefore, reference Figure 1 The present invention provides an access detection communication circuit, the access detection communication circuit comprising:

[0047] Host computer access terminal 10;

[0048] Cipher access terminal 20;

[0049] A main control circuit 30, the main control circuit 30 is electrically connected to the host computer connection terminal;

[0050] A communication switch circuit 40, wherein a first end of the communication switch circuit 40 is electrically connected to the communication end of the host computer access terminal 10, a controlled end of the communication switch circuit 40 is electrically connected to the main control circuit 30, and a second end of the communication switch circuit 40 is electrically connected to the communication end of the cipher access terminal 20;

[0051] A power supply detection switch circuit 50, wherein a first end of the power supply detection switch circuit 50 is electrically connected to the power supply end, a controlled end of the power supply detection switch circuit 50 is electrically connected to the main control circuit 30, and a second end of the power supply detection switch circuit 50 is electrically connected to the power supply end of the cipher. The power supply detection switch circuit 50 is configured to connect a cipher to the cipher access end 20 and output a current detection signal to the main control circuit 30 when the power supply detection switch circuit 50 is closed.

[0052] Among them, the main control circuit 30 is used to output a corresponding switch control signal when receiving a communication detection instruction from the host computer, so as to control the communication switch circuit 40 to conduct the path between the communication end of the host computer access end 10 and the communication end of the cipher access end 20, and control the power supply detection switch circuit 50 to conduct the path between the power supply end and the power supply end of the cipher access end 20.

[0053] In the present embodiment, the host computer access terminal 10 can be implemented by a corresponding serial communication interface, such as communication interfaces such as RS485 and RS232, to realize the communication between the cipher and the host computer. Wherein, the host computer adopts the RS232 serial communication mode as an example. RS232 has the advantages that the interface and protocol are relatively simple and easy to implement, and has a higher compatibility for the point-to-point communication between the host computer and the cipher in the present embodiment. In addition, RS232 is simple in design, the required hardware cost is low, and it supports most operating systems (such as Windows, Linux, etc.). Compared with some other standards, such as I2C or SPI, RS232 can transmit data over a long distance (usually up to tens of meters), and can provide reliable communication, particularly in an environment with less noise interference.

[0054] In this embodiment, the type of the cipher access terminal 20 must correspond to the type of the host computer access terminal 10 to facilitate data transmission without the need for an additional communication protocol conversion device. For example, in the above embodiment, if the host computer uses an RS232 communication interface, the communication interface of the cipher access terminal 20 must also be set to RS232.

[0055] In this embodiment, the communication switch circuit 40 can be implemented using at least one switch tube, such as a MOS tube, an IGBT tube, a thyristor, a triode, a power tube, etc., and / or at least one switching device, such as a contactor, a circuit breaker, and a relay. The switch circuit is connected in series between the communication terminal of the host computer access terminal 10 and the communication terminal of the cipher access terminal 20. For example, when both the host computer access terminal 10 and the cipher access terminal 20 use an RS232 communication interface, the communication switch circuit 40 is connected in series between the TX and RX terminals of the host computer access terminal 10 and the cipher access terminal 20. Furthermore, the controlled terminal of the communication switch circuit 40 is electrically connected to the main control circuit 30, so that when a corresponding switch control signal is received, the communication terminal of the host computer access terminal 10 and the communication terminal of the cipher access terminal 20 are turned on or off to control the communication line between the host computer and the cipher.

[0056] In this embodiment, the power supply detection switch circuit 50 can be implemented using at least one switch and a corresponding current detection circuit. The power supply detection switch circuit 50 is connected in series with the path between the power supply terminal and the power supply terminal of the cipher access terminal 20, thereby controlling the power supply to the power supply terminal of the cipher access terminal 20. It should be understood that in order to enable communication between the cipher and the host computer, and for the host computer to encrypt the cipher, the power supply terminal is required to power the cipher. Furthermore, when the power supply terminal is powering the cipher, the power supply detection switch circuit 50 can quickly confirm that the cipher access terminal 20 is connected to the cipher by conducting the power supply circuit, thereby outputting a current detection signal from the corresponding current detection circuit. It should be noted that the controlled end of the power supply switch circuit 51 is electrically connected to the main control circuit 30, and the controlled end of the communication switch circuit 40 is also electrically connected to the main control circuit 30. The signal end connecting the controlled end of the power supply switch circuit 51 to the main control circuit 30 is the same as the signal end connecting the controlled end of the communication switch circuit 40 to the main control circuit 30. Therefore, the switch control signal received by the power switch circuit 51 and the communication switch circuit 40 is the same, that is, the control circuit can control the working states of the power switch circuit 51 and the communication switch circuit 40 by outputting the same switch control signal.

[0057] By employing an access detection communication circuit, the accuracy of the key injection device in detecting ciphers is effectively improved. The access detection communication circuit includes a host computer access terminal 10, a cipher access terminal 20, a main control circuit 30, a communication switch circuit 40, and a power supply detection switch circuit 50. The host computer access terminal 10 is used to connect to the host computer to transmit corresponding signals, while the cipher access terminal 20 is used to connect to the cipher to achieve key injection and communication. The main control circuit 30 receives communication detection instructions output by the host computer and outputs corresponding switch control signals to the communication switch circuit 40 and the power supply detection switch circuit 50. This causes the communication switch circuit 40 to open a path between the communication terminal of the host computer access terminal 10 and the communication terminal of the cipher access terminal 20, and causes the power supply detection switch circuit 50 to open a path between the power supply terminal and the power supply terminal of the cipher access terminal 20. Furthermore, the main control circuit 30 can determine whether the cipher access terminal 20 is connected to the cipher, based on the current detection signal fed back by the power supply detection switch circuit 50, thereby quickly and accurately determining whether the cipher is connected. In addition, after confirming the access of the cipher, the host computer access terminal 10 can also perform handshake communication with the cipher through the communication switch circuit 40 to confirm whether the cipher has a need for encryption, so as to facilitate the subsequent rapid execution of corresponding instructions.

[0058] refer to Figure 2 and Figure 4 In one embodiment of the present invention, the communication switch circuit 40 includes:

[0059] A first switch circuit 41, wherein a first end of the first switch circuit 41 is electrically connected to the communication end of the host computer access terminal 10, a power input end of the first switch circuit 41 is electrically connected to the power supply end, and a second end of the first switch circuit 41 is electrically connected to the communication end of the cipher access terminal 20;

[0060] a second switch circuit 42, wherein a first end of the second switch circuit 42 is electrically connected to the power output end of the first switch circuit 41, a controlled end of the second switch circuit 42 is electrically connected to the main control circuit 30, and a second end of the second switch circuit 42 is grounded;

[0061] Among them, the second switch circuit 42 is used to connect the path between the power output end and the ground end of the first switch circuit 41 when receiving the switch control signal, so that the first switch circuit 41 connects the path between the communication end of the host computer access end 10 and the communication end of the cipher access end 20.

[0062] In this embodiment, the first switch circuit 41 can be implemented using a switch device such as a relay or a circuit breaker; the second switch circuit 42 can be implemented using at least one switch tube, such as a MOS tube, an IGBT tube, a thyristor, a triode, a power tube, etc., and / or at least one switch device, such as a contactor, a circuit breaker, and a relay. The first switch circuit 41 is connected in series with the path between the communication end of the host computer access terminal 10 and the communication end of the cipher access terminal 20. The power input end of the first switch circuit 41 is electrically connected to the power supply end, and the power output end of the first switch circuit 41 is electrically connected to the first end of the second switch circuit 42. The second end of the second switch circuit 42 is electrically connected to the ground end, and the controlled end of the second switch circuit 42 is electrically connected to the main control circuit 30. When the second switch circuit 42 receives the switch control signal output by the main control circuit 30, the second switch circuit 42 will connect the path between the power output terminal and the ground terminal of the first switch circuit 41, thereby connecting the first terminal and the second terminal of the first switch circuit 41, and connecting the path between the communication terminal of the host computer access terminal 10 and the communication terminal of the cipher access terminal 20.

[0063] Optionally, when the first switching circuit 41 includes a relay, the communication switching circuit 40 also includes a protection circuit, wherein the first end of the protection circuit is electrically connected to the power input end of the first switching circuit 41, and the second end of the protection circuit is electrically connected to the power output end of the first switching circuit 41; the protection circuit is used to eliminate voltage spikes when the first switching circuit 41 is powered off.

[0064] In this embodiment, the first switch circuit 41 is implemented using a relay. It should be noted that the on- or off-rate of a relay is lower than the on- or off-rate of a switch tube. Therefore, when the first switch circuit 41 is implemented using a relay, the power supply detection switch circuit 50 is implemented using a switch tube. This means that under the condition of receiving the same switch control signal, the power supply detection switch circuit 50 will be turned on before the communication switch circuit 40, thereby first detecting whether the cipher is connected in place and supplying power to the cipher. It should be understood that when the relay coil is de-energized, the magnetic field energy stored in the coil will be rapidly converted into electrical energy, resulting in a high reverse voltage across the coil. This sudden high voltage may damage the transistor or other electronic components that drive the relay. Therefore, the first switching circuit 41 also includes a protection circuit, which can be implemented by a freewheeling diode or a clamping diode. By connecting a diode in parallel at both ends of the coil (usually called a freewheeling diode or a clamping diode), a low-impedance path can be provided for the reverse electromotive force, so that the current can continue to flow in the closed circuit until the energy is completely exhausted. This can prevent high voltage from damaging other parts of the circuit and effectively eliminate the voltage spike caused by the sudden disconnection of the coil.

[0065] Optionally, the first switch circuit 41 includes a relay; the second switch circuit 42 includes a first resistor R1, a second resistor R2, and a first switch tube Q1; the protection circuit includes a first diode D1;

[0066] In which, the first end of the relay is electrically connected to the communication end of the host computer access end 10, the second end of the relay is electrically connected to the communication end of the cipher access end 20, the positive end of the relay is electrically connected to the power supply end and the cathode of the first diode D1, and the negative end of the relay is electrically connected to the anode of the first diode D1 and the first end of the first switch tube Q1; the first end of the first resistor R1 is electrically connected to the main control circuit 30, the second end of the first resistor R1 is electrically connected to the controlled end of the first switch tube Q1 and the first end of the second resistor R2; the second end of the second resistor R2 is electrically connected to the second end of the first switch tube Q1 and the ground end.

[0067] In this embodiment, upon receiving a switch control signal from the main control circuit 30, the first switch Q1 is turned on, thereby energizing the relay's power supply circuit and controlling the communication path between the host computer access terminal 10 and the cipher device access terminal 20. For example, the first switch Q1 is an NPN transistor. In this case, the switch control signal is a high-level signal.

[0068] refer to Figure 3 and Figure 4 In one embodiment of the present invention, the power supply detection switch circuit 50 includes:

[0069] a power supply switch circuit 51, wherein a first end of the power supply switch circuit 51 is electrically connected to the power supply end, and a controlled end of the power supply switch circuit 51 is electrically connected to the main control circuit 30;

[0070] an optocoupler detection circuit 52, wherein a first end of the optocoupler detection circuit 52 is electrically connected to a second end of the power switch circuit 51, a second end of the optocoupler detection circuit 52 is electrically connected to a power supply terminal of the cipher access terminal 20, a third end of the optocoupler detection circuit 52 is electrically connected to a ground terminal, and a fourth end of the optocoupler detection circuit 52 is electrically connected to the main control circuit 30;

[0071] Among them, the power supply switch circuit 51 is used to connect the path between the power supply end and the first end of the optocoupler detection circuit 52 when receiving the switch control signal; the optocoupler detection circuit 52 is used to connect the cipher at the cipher access end 20, and when the power supply switch circuit 51 is closed, output the current detection signal to the main control circuit 30.

[0072] In this embodiment, the power supply switch circuit 51 can be implemented using at least one switching transistor, such as a MOS transistor, an IGBT transistor, a thyristor, a triode, a power transistor, etc., and / or at least one switching device, such as a contactor, a circuit breaker, and a relay. The first end of the power supply switch circuit 51 is electrically connected to the power supply end, the second end of the power supply switch circuit 51 is electrically connected to the first end of the optocoupler detection circuit 52, and the controlled end of the power supply switch circuit 51 is electrically connected to the main control circuit 30, so that when the controlled end receives the switch control signal output by the main control circuit 30, the path between the power supply end and the first end of the optocoupler detection circuit 52 is turned on. The optocoupler detection circuit 52 can be implemented using an optocoupler switch. When current flows through the first and second ends of the optocoupler detection circuit 52, the light-emitting diode therein will operate and turn on the third and fourth ends of the optocoupler detection circuit 52. The third end of the optocoupler detection circuit 52 is electrically connected to the ground end, and the fourth end is electrically connected to the main control circuit 30. It is understood that the fourth terminal of the optocoupler detection circuit 52 is connected to the detection terminal of the main control circuit 30. When the cipher is connected to the cipher access terminal 20 and the power switch circuit 51 is closed, the detection terminal of the main control circuit 30 will detect the current change, thereby confirming that the cipher is connected.

[0073] Optionally, the power supply switch circuit 51 includes:

[0074] a third switch circuit, wherein a first end of the third switch circuit is electrically connected to the power supply end, a controlled end of the third switch circuit is electrically connected to the main control circuit 30, and a second end of the third switch circuit is electrically connected to the ground end;

[0075] a fourth switch circuit, wherein a first end of the fourth switch circuit is electrically connected to the power supply end, a controlled end of the fourth switch circuit is electrically connected to a first end of the third switch circuit, and a second end of the fourth switch circuit is electrically connected to a first end of the optocoupler detection circuit 52;

[0076] The third switch circuit is configured to conduct the path between the power supply terminal and the ground terminal upon receiving the switch control signal, so that the fourth switch circuit conducts the path between the power supply terminal and the first terminal of the optocoupler detection circuit 52 .

[0077] In this embodiment, the third and fourth switch circuits can each be implemented using at least one switching transistor, such as a MOS transistor, an IGBT transistor, a thyristor, a triode, a power transistor, or the like, and / or at least one switching device, such as a contactor, a circuit breaker, and a relay. The controlled end of the third switch circuit is electrically connected to the main control circuit 30, so that upon receiving a switch control signal output by the main control circuit 30, a path between the power supply end and the ground end is established, thereby lowering the potential of the controlled end of the fourth switch circuit and thereby turning on the fourth switch circuit. When the fourth switch circuit is in the on state, the power supply end supplies power to the optocoupler detection circuit 52.

[0078] Optionally, the third switch circuit includes a third resistor R3, a fourth resistor R4, and a second switch tube Q2; the fourth switch circuit includes a fifth resistor R5, a sixth resistor R6, and a third switch tube Q3;

[0079] Among them, a first end of the third resistor R3 is electrically connected to the main control circuit 30, a second end of the third resistor R3 is electrically connected to the controlled end of the second switch tube Q2 and the first end of the fourth resistor R4; a second end of the fourth resistor R4 is electrically connected to the second end of the second switch tube Q2 and the ground end; the first end of the second switch tube Q2 is electrically connected to the controlled end of the third switch tube Q3 and the second end of the fifth resistor R5; a first end of the fifth resistor R5 is electrically connected to the power supply end, the first end of the third switch tube Q3, and the fourth end of the optocoupler detection circuit 52; a second end of the third switch tube Q3 is electrically connected to the first end of the optocoupler detection circuit 52 and the second end of the sixth resistor R6; a first end of the sixth resistor R6 is electrically connected to the second end of the second switch tube Q2, the second end of the fourth resistor R4, and the ground end.

[0080] In this embodiment, the second switch Q2 is turned on upon receiving a switch control signal output by the main control circuit 30. It is understood that when the switch control signal is a high-level signal, the second switch Q2 can be an NPN transistor. When the second switch Q2 is turned on, the potential of the controlled terminal of the third switch Q3 is pulled low. Therefore, if the third switch Q3 needs to be turned on, a PMOS transistor can be used.

[0081] refer to Figure 4 In one embodiment of the present invention, the access detection communication circuit further includes a power supply detection circuit 60, the input end of the power supply detection circuit 60 is electrically connected to the second end of the fourth switch circuit, and the output end of the power supply detection circuit 60 is electrically connected to the host computer access terminal 10; the power supply detection circuit 60 is used to output a corresponding power supply detection signal to the host computer access terminal 10 when the fourth switch circuit is turned on.

[0082] In this embodiment, the power supply detection circuit 60 can be implemented using a unidirectional conduction circuit and a pull-down circuit. Specifically, the power supply detection circuit 60 includes a second diode D2 and a ninth resistor R9. The anode of the second diode D2 is electrically connected to the second end of the third switch tube Q3, and the cathode of the second diode D2 is electrically connected to the detection end of the host computer access terminal 10; the first end of the ninth resistor R9 is electrically connected to the ground end, and the second end of the ninth resistor R9 is electrically connected to the detection end of the host computer access terminal 10 and the cathode of the second diode D2. It can be understood that when the third switch tube Q3 is turned on, the detection end of the host computer access terminal 10 can effectively detect whether the power supply switch circuit 51 is turned on by receiving the power supply detection signal. When the detection end of the host computer access terminal 10 detects that the power supply switch circuit 51 is turned on, but the main control circuit 30 does not detect the corresponding current detection signal, there is a problem of a cipher access failure or a failure of the optocoupler detection circuit 52.

[0083] The present invention also provides a key injection device, comprising a host computer and a plurality of access detection communication circuits as described in any one of the above items;

[0084] The host computer is electrically connected to each of the plurality of access detection communication circuits. It is worth noting that since the key injection device of the present invention is based on the aforementioned access detection communication circuit, the embodiments of the key injection device of the present invention include all technical solutions of all embodiments of the aforementioned access detection communication circuit, and the technical effects achieved are identical, which will not be further elaborated here.

[0085] The present invention also provides a key perfusion system, which includes a plurality of ciphers and the key perfusion device as described above;

[0086] The plurality of ciphers are electrically connected to the key filling device, respectively. It is worth noting that since the key filling system of the present invention is based on the aforementioned key filling device, the embodiments of the key filling system of the present invention include all technical solutions of all embodiments of the aforementioned key filling device, and the technical effects achieved are identical, which will not be repeated here.

[0087] The above description is only a preferred embodiment of the present invention and does not limit the patent scope of the present invention. All equivalent structural transformations made by using the contents of the present invention description and drawings under the inventive concept of the present invention, or direct / indirect application in other related technical fields are included in the patent protection scope of the present invention.

Claims

1. An access detection communication circuit, characterized in that: The access detection communication circuit includes: Host computer access terminal; Cipher access terminal; A main control circuit, the main control circuit being electrically connected to the host computer connection terminal; A communication switch circuit, wherein a first end of the communication switch circuit is electrically connected to the communication end of the host computer access end, a controlled end of the communication switch circuit is electrically connected to the main control circuit, and a second end of the communication switch circuit is electrically connected to the communication end of the cipher access end; a power supply detection switch circuit, wherein a first end of the power supply detection switch circuit is electrically connected to the power supply end, a controlled end of the power supply detection switch circuit is electrically connected to the main control circuit, and a second end of the power supply detection switch circuit is electrically connected to the power supply end of the cipher; the power supply detection switch circuit is configured to connect a cipher to the cipher access end, and output a current detection signal to the main control circuit when the power supply detection switch circuit is closed; Among them, the main control circuit is used to output a corresponding switch control signal when receiving a communication detection instruction from the host computer, so as to control the communication switch circuit to conduct the path between the communication end of the host computer access end and the communication end of the cipher access end, and control the power supply detection switch circuit to conduct the path between the power supply end and the power supply end of the cipher access end.

2. The access detection communication circuit according to claim 1, wherein: The communication switch circuit includes: a first switch circuit, wherein a first end of the first switch circuit is electrically connected to the communication end of the host computer access end, a power input end of the first switch circuit is electrically connected to the power supply end, and a second end of the first switch circuit is electrically connected to the communication end of the cipher device access end; a second switch circuit, wherein a first end of the second switch circuit is electrically connected to a power output end of the first switch circuit, a controlled end of the second switch circuit is electrically connected to the main control circuit, and a second end of the second switch circuit is grounded; Among them, the second switching circuit is used to connect the path between the power output end and the ground end of the first switching circuit when receiving the switching control signal, so that the first switching circuit connects the path between the communication end of the host computer access end and the communication end of the cipher access end.

3. The access detection communication circuit according to claim 2, wherein: When the first switching circuit includes a relay, the communication switching circuit also includes a protection circuit, wherein the first end of the protection circuit is electrically connected to the power input end of the first switching circuit, and the second end of the protection circuit is electrically connected to the power output end of the first switching circuit; the protection circuit is used to eliminate voltage spikes when the first switching circuit is powered off.

4. The access detection communication circuit according to claim 3, wherein: The first switch circuit includes a relay; the second switch circuit includes a first resistor, a second resistor, and a first switch tube; the protection circuit includes a first diode; Among them, the first end of the relay is electrically connected to the communication end of the upper computer access end, the second end of the relay is electrically connected to the communication end of the cipher access end, the positive end of the relay is electrically connected to the power supply end and the cathode of the first diode, and the negative end of the relay is electrically connected to the anode of the first diode and the first end of the first switching tube; the first end of the first resistor is electrically connected to the main control circuit, the second end of the first resistor is electrically connected to the controlled end of the first switching tube and the first end of the second resistor; the second end of the second resistor is electrically connected to the second end of the first switching tube and the ground end.

5. The access detection communication circuit according to claim 1, wherein: The power supply detection switch circuit includes: a power supply switch circuit, wherein a first end of the power supply switch circuit is electrically connected to the power supply end, and a controlled end of the power supply switch circuit is electrically connected to the main control circuit; an optocoupler detection circuit, wherein a first end of the optocoupler detection circuit is electrically connected to a second end of the power switch circuit, a second end of the optocoupler detection circuit is electrically connected to a power supply terminal of the cipher access terminal, a third end of the optocoupler detection circuit is electrically connected to a ground terminal, and a fourth end of the optocoupler detection circuit is electrically connected to the main control circuit; Among them, the power supply switch circuit is used to open the path between the power supply end and the first end of the optocoupler detection circuit when receiving the switch control signal; the optocoupler detection circuit is used to connect the cipher at the cipher access end, and when the power supply switch circuit is closed, output the current detection signal to the main control circuit.

6. The access detection communication circuit according to claim 5, wherein: The power supply switch circuit includes: a third switch circuit, wherein a first end of the third switch circuit is electrically connected to the power supply end, a controlled end of the third switch circuit is electrically connected to the main control circuit, and a second end of the third switch circuit is electrically connected to the ground end; a fourth switch circuit, wherein a first end of the fourth switch circuit is electrically connected to the power supply end, a controlled end of the fourth switch circuit is electrically connected to the first end of the third switch circuit, and a second end of the fourth switch circuit is electrically connected to the first end of the optocoupler detection circuit; The third switch circuit is configured to conduct the path between the power supply end and the ground end when receiving the switch control signal, so that the fourth switch circuit conducts the path between the power supply end and the first end of the optocoupler detection circuit.

7. The access detection communication circuit according to claim 6, wherein: The third switch circuit includes a third resistor, a fourth resistor, and a second switch tube; the fourth switch circuit includes a fifth resistor, a sixth resistor, and a third switch tube; Among them, the first end of the third resistor is electrically connected to the main control circuit, the second end of the third resistor is electrically connected to the controlled end of the second switch tube and the first end of the fourth resistor; the second end of the fourth resistor is electrically connected to the second end of the second switch tube and the ground end; the first end of the second switch tube is electrically connected to the controlled end of the third switch tube and the second end of the fifth resistor; the first end of the fifth resistor is electrically connected to the power supply end, the first end of the third switch tube, and the fourth end of the optocoupler detection circuit; the second end of the third switch tube is electrically connected to the first end of the optocoupler detection circuit and the second end of the sixth resistor; the first end of the sixth resistor is electrically connected to the second end of the second switch tube, the second end of the fourth resistor, and the ground end.

8. The access detection communication circuit according to claim 6, wherein: The access detection communication circuit further includes a power supply detection circuit, wherein an input end of the power supply detection circuit is electrically connected to the second end of the fourth switch circuit, and an output end of the power supply detection circuit is electrically connected to the access end of the host computer; The power supply detection circuit is used to output a corresponding power supply detection signal to the host computer access terminal when the fourth switch circuit is turned on.

9. A key injection device, characterized in that: The key injection device includes a host computer and a plurality of access detection communication circuits according to any one of claims 1 to 8; Wherein, the host computer is electrically connected to a plurality of the access detection communication circuits respectively.

10. A key injection system, characterized in that: The key infusion system comprises a plurality of ciphers and the key infusion device according to claim 9; Wherein, the plurality of ciphers are electrically connected to the key injection device respectively.