Bidirectional verification module, communication verification module and bidirectional communication verification equipment

By adopting a combination of two-way verification module and communication verification module in electronic devices, the problem of inefficient connection between detachable components and body is solved, efficient connection and authentication is achieved, and user experience is improved.

CN223024427UActive Publication Date: 2025-06-24GUANGZHOU SIRUI SEMICON CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202422255270.9
Authority / Receiving Office
CN · China
Patent Type
Utility models(China)
Current Assignee / Owner
Filing Date
2024-09-13
Publication Date
2025-06-24
Estimated Expiration
2034-09-13

AI Technical Summary

Technical Problem

In the prior art, the connection between the detachable components and the body is inefficient and has troublesome use, resulting in poor user experience.

Method used

Using a combination of a two-way verification module and a communication verification module, a first authentication signal is sent to the first contact through the first transmission unit, and a second authentication signal is received from the first contact through the first receiving unit. The polarity conversion unit maintains the correct flow direction of the signal, and realizes bidirectional verification and communication verification.

Benefits of technology

It improves the connection efficiency of the detachable components and the body, simplifies the use process, improves the user experience, and realizes two-way authentication between devices, improving the verification effect.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN223024427U_ABST
    Figure CN223024427U_ABST
Patent Text Reader

Abstract

The embodiment of the utility model discloses a bidirectional verification module, a communication verification module and bidirectional communication verification equipment. According to the technical scheme provided by the embodiment of the invention, the bidirectional verification module is connected to the communication verification module, the first authentication signal is sent to the first contact through the first sending unit, the first authentication signal is used for the communication verification module to perform communication verification, and the second authentication signal is received from the first contact through the first receiving unit. The second authentication signal is used for the first control unit to perform communication verification, and the polarity conversion unit can realize the correct flow direction of the signal when the bidirectional verification module is reversely connected with the communication verification module, so that the connection efficiency of the bidirectional verification module and the communication verification module is improved, and the user experience is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] Embodiments of the present application relate to the field of electronic devices, and particularly to a two-way verification module, a communication verification module, and a two-way communication verification device. Background Art

[0002] With the development of electronic device technology, the application of detachable and combinable electronic devices has become more and more widespread. For example, an electronic device is divided into two parts: a main body and a detachable component. When in use, the detachable component can be connected to the main body, and the contacts on the main body and the detachable component come into contact with each other to achieve communication and control between the main body and the detachable component. Among them, the detachable component can be used as a consumable of the electronic device. After the detachable component is used up, it can be removed and replaced with a new detachable component to increase the number of times the main body can be reused.

[0003] In order to ensure correct connection and use of the detachable component, an authentication chip is generally set in the detachable component. After the detachable component is connected to the main body, the main body reads the information in the authentication chip and determines whether the detachable component is normally connected, and performs corresponding actions according to the authentication result. However, this authentication method can only identify the detachable component, and the verification effect is poor. Summary of the Utility Model

[0004] Embodiments of the present application provide a two-way verification module, a communication verification module, and a two-way communication verification device to solve the technical problems of low connection efficiency between the detachable component and the main body and cumbersome use of the device in the related art, effectively improve the connection efficiency between the detachable component and the main body, and enhance the user experience.

[0005] In a first aspect, an embodiment of the present application provides a two-way verification module, including a first control unit, a first sending unit, a first receiving unit, and a polarity conversion unit, where:

[0006] The first control unit is connected to the signal input end of the first sending unit and the signal output end of the first receiving unit;

[0007] The output side of the polarity conversion unit is connected to the first sending unit and the first receiving unit. The first connection end on the input side of the polarity conversion unit is connected to the first contact of the two-way verification module, and the second connection end on the input side of the polarity conversion unit is connected to the second contact of the two-way verification module;

[0008] The two-way verification module is used to connect to the communication verification module, and when connected to the communication verification module, the first contact and the second contact are connected to the third contact and the fourth contact of the communication verification module, or the first contact and the second contact are connected to the fourth contact and the third contact of the communication verification module;

[0009] The first control unit is configured to send a first authentication signal to the first contact through the first sending unit, where the first authentication signal is used for the communication verification module to perform communication verification, and to receive a second authentication signal from the first contact through the first receiving unit, where the second authentication signal is used for the first control unit to perform communication verification.

[0010] In the embodiment of the present application, by connecting the two-way verification module to the communication verification module, sending a first authentication signal to the first contact through the first sending unit, where the first authentication signal is used for the communication verification module to perform communication verification, and receiving a second authentication signal from the first contact through the first receiving unit, where the second authentication signal is used for the first control unit to perform communication verification. Among them, the polarity conversion unit can maintain the polarity direction from the input side to the output side, and can realize the correct signal flow direction when the two-way verification module is reversely connected to the communication verification module, improve the connection efficiency between the two-way verification module and the communication verification module, enhance the user experience, and can send a first authentication signal to the first contact through the first sending unit, and receive a second authentication signal from the first contact through the first receiving unit, and perform communication verification based on the second authentication signal, effectively realizing two-way authentication between devices and effectively improving the verification effect between devices.

[0011] In a second aspect, an embodiment of the present application provides a communication verification module, including a second control unit, a second sending unit, and a second receiving unit, where:

[0012] The second control unit is connected to the signal input end of the second sending unit and the signal output end of the second receiving unit, and the signal output end of the second sending unit and the signal input end of the second receiving unit are connected to the third contact of the communication verification module;

[0013] The communication verification module is configured to be connected to the two-way verification module, and when connected to the two-way verification module, the third contact and the fourth contact of the communication verification module are connected to the first contact and the second contact of the two-way verification module, or the third contact and the fourth contact are connected to the second contact and the first contact of the two-way verification module;

[0014] The second control unit is configured to send a second authentication signal to the third contact through the second sending unit for the two-way verification module to perform communication verification, and to receive a first authentication signal from the third contact through the second receiving unit and perform communication verification based on the first authentication signal.

[0015] In the embodiment of the present application, the communication verification module is connected to the two-way verification module. The second sending unit sends a second authentication signal to the third contact for the two-way verification module to perform communication verification, and the second receiving unit receives a first authentication signal from the third contact and performs communication verification based on the first authentication signal, effectively realizing two-way authentication between devices and effectively improving the verification effect between devices.

[0016] In a third aspect, the embodiment of the present application provides a two-way verification device, including the two-way verification module according to any one of the first aspects and the communication verification module according to any one of the second aspects.

[0017] In the embodiment of the present application, by connecting the two-way verification module to the communication verification module, the first sending unit sends a first authentication signal to the first contact. The first authentication signal is used for the communication verification module to perform communication verification, and the first receiving unit receives a second authentication signal from the first contact. The second authentication signal is used for the first control unit to perform communication verification. Among them, the polarity conversion unit can maintain the polarity direction from the input side to the output side, and can realize the correct signal flow direction when the two-way verification module is reversely connected to the communication verification module, improve the connection efficiency between the two-way verification module and the connected communication verification module, and enhance the user experience. It can also connect the communication verification module to the two-way verification module, the second sending unit sends a second authentication signal to the third contact for the two-way verification module to perform communication verification, and the second receiving unit receives a first authentication signal from the third contact and performs communication verification based on the first authentication signal, effectively realizing two-way authentication between devices and effectively improving the verification effect between devices. BRIEF DESCRIPTION OF THE DRAWINGS

[0018] Figure 1 is a schematic diagram of the principle of a two-way verification module provided by the embodiment of the present application;

[0019] Figure 2 is a schematic diagram of the principle of another two-way verification module provided by the embodiment of the present application;

[0020] Figure 3 is a schematic circuit diagram of a two-way verification module provided by the embodiment of the present application;

[0021] Figure 4 is a schematic flowchart of a two-way verification method provided by the embodiment of the present application;

[0022] Figure 5 is a schematic diagram of the principle of a communication verification module provided by the embodiment of the present application;

[0023] Figure 6 is a schematic diagram of the principle of another communication verification module provided by the embodiment of the present application;

[0024] Figure 7It is a schematic circuit diagram of a communication verification module provided by an embodiment of the present application;

[0025] Figure 8 It is a schematic flow diagram of a communication verification method provided by an embodiment of the present application;

[0026] Figure 9 It is a schematic principle diagram of a two-way verification device provided by an embodiment of the present application;

[0027] Figure 10 It is a schematic circuit principle diagram of a two-way verification device provided by an embodiment of the present application;

[0028] Figure 11 It is a schematic flow diagram of a two-way verification method provided by an embodiment of the present application.

[0029] Description of the drawings: 11. First control unit; 12. First sending unit; 121. First switching element; 13. First receiving unit; 131. First resistor; 132. Second resistor; 133. Second switching element; 14. Polarity conversion unit; 141. Rectifier bridge; 15. Energy storage unit; 16. Functional unit; 21. Second control unit; 22. Second sending unit; 221. Third switching element; 23. Second receiving unit; 231. Sampling element; 232. Amplifier; 233. Comparator; 24. Detection unit; 241. Third resistor; 25. Sensing unit. Detailed implementation manners

[0030] In order to make the objectives, technical solutions, and advantages of the present application clearer, the following further describes the specific embodiments of the present application in detail with reference to the drawings. It can be understood that the specific embodiments described herein are only used to explain the present application, rather than limiting the present application. Additionally, it should be noted that for the convenience of description, only parts related to the present application are shown in the drawings, rather than all the content.

[0031] In the description of the embodiments of the present application, unless otherwise clearly defined and limited, the terms "connected", "connected", and "fixed" shall be understood in a broad sense. For example, it may be a fixed connection, a detachable connection, or integrated; it may be a mechanical connection or an electrical connection; it may be directly connected or indirectly connected through an intermediate medium, and it may be the communication inside two elements or the interaction relationship between two elements. For those of ordinary skill in the art, the specific meanings of the above terms in the present application can be understood according to specific situations. Before discussing the exemplary embodiments in more detail, it should be mentioned that some exemplary embodiments are described as processes or methods depicted as flowcharts. Although the flowcharts describe the operations (or steps) as sequential processes, many of the operations can be implemented in parallel, concurrently, or simultaneously. In addition, the order of the operations can be rearranged. When the operations are completed, the above process can be terminated, but there may also be additional steps not included in the drawings. The above process can correspond to a method, a function, a procedure, a subroutine, a subprogram, etc.

[0032] Figure 1 The principle schematic diagram of a two-way verification module provided by the embodiments of the present application is given, as Figure 1 shown, the two-way verification module provided by the present application includes a first control unit 11, a first sending unit 12, a first receiving unit 13, and a polarity conversion unit 14.

[0033] Among them, both the first sending unit 12 and the first receiving unit 13 are configured with a signal input end and a signal output end. The first control unit 11 provided by the present application is respectively connected to the signal input end of the first sending unit 12 and the signal output end of the first receiving unit 13. Optionally, the control unit (including the first control unit and the second control unit) provided by this solution can be built based on a microcontroller (such as an MCU).

[0034] The two-way verification module provided by this solution can be used to connect to a communication verification module, and the two-way verification module is configured with a first contact and a second contact, and the communication verification module is configured with a third contact and a fourth contact. Among them, when the two-way verification module is connected to the communication verification module, the first contact and the second contact on the two-way verification module are connected to the third contact and the fourth contact on the communication verification module, or the first contact and the second contact on the two-way verification module are connected to the fourth contact and the third contact on the communication verification module.

[0035] The polarity conversion unit 14 provided in this solution is configured with an output side and an input side, and a first connection terminal and a second connection terminal are configured on both the output side and the input side. Among them, the output side of the polarity conversion unit 14 is connected to the first sending unit 12 and the first receiving unit 13. For example, the first connection terminal on the output side of the polarity conversion unit 14 is simultaneously connected to the signal output terminal of the first sending unit 12 and the signal input terminal of the first receiving unit 13, and the second connection terminal on the output side of the polarity conversion unit 14 is grounded.

[0036] Furthermore, the first connection terminal on the input side of the polarity conversion unit 14 is connected to the first contact of the two-way verification module, and the second connection terminal on the input side of the polarity conversion unit 14 is connected to the second contact of the two-way verification module.

[0037] The polarity conversion unit 14 provided in this solution can be used to maintain the polarity direction from the input side to the output side. Among them, the electric potential of the first connection terminal on the input side of the polarity conversion unit 14 is close to or the same as the electric potential of the first connection terminal on the output side, and the electric potential of the second connection terminal on the input side is close to or the same as the electric potential of the second connection terminal on the output side. For example, when the two-way verification module is connected to the communication verification module in a positive connection manner, the first connection terminal of the two-way verification module is connected to the first connection terminal of the communication verification module, and the second connection terminal of the two-way verification module is connected to the second connection terminal of the communication verification module. At this time, the electric potentials of the first connection terminal of the two-way verification module, the first connection terminal of the communication verification module, the first connection terminal on the input side of the polarity conversion unit 14, and the first connection terminal on the output side of the polarity conversion unit 14 are close to or the same, and the electric potentials of the second connection terminal of the two-way verification module, the second connection terminal of the communication verification module, the second connection terminal on the input side of the polarity conversion unit 14, and the second connection terminal on the output side of the polarity conversion unit 14 are close to or the same. When the two-way verification module is connected to the communication verification module in a reverse connection manner, the first connection terminal of the two-way verification module is connected to the second connection terminal of the communication verification module, and the second connection terminal of the two-way verification module is connected to the first connection terminal of the communication verification module. At this time, the electric potentials of the first connection terminal of the two-way verification module, the second connection terminal of the communication verification module, the first connection terminal on the input side of the polarity conversion unit 14, and the first connection terminal on the output side of the polarity conversion unit 14 are close to or the same, and the electric potentials of the second connection terminal of the two-way verification module, the first connection terminal of the communication verification module, the second connection terminal on the input side of the polarity conversion unit 14, and the second connection terminal on the output side of the polarity conversion unit 14 are close to or the same. At this time, in the case of positive and reverse connections of the two-way verification module and the communication verification module, the electric potential of the third contact in the communication verification module can be kept close to or the same as the electric potential of the first connection terminal on the output side of the polarity conversion unit 14, and the electric potential of the fourth contact in the communication verification module can be kept close to or the same as the electric potential of the second connection terminal on the output side of the polarity conversion unit 14, realizing normal communication and operation in the case of positive and reverse connections of the two-way verification module and the communication verification module.

[0038] The first control unit 11 provided in this solution can be used to send a first authentication signal to the first contact through the first sending unit 12. The first authentication signal can be used for the communication verification module to perform communication verification. The first control unit 11 can also be used to receive a second authentication signal from the first contact through the first receiving unit 13. The second authentication signal is used for the first control unit to perform communication verification.

[0039] For example, when the communication verification module uses the received first authentication signal for communication verification, it can match the first authentication signal with the preset first verification information. When the first authentication signal matches the preset first verification information successfully, it is considered that the two-way verification module passes the communication verification, and the two-way verification module can be normally controlled and a control instruction can be sent to the two-way verification module. When the two-way verification module uses the received second authentication signal for communication verification, it can match the second authentication signal with the preset second verification information. When the second authentication signal matches the preset second verification information successfully, it is considered that the communication verification module passes the communication verification, and the control instructions of the communication verification module can be normally received and executed, or when it is determined that the communication verification module passes the communication verification, a feedback message or the first authentication signal can be sent to the communication verification module.

[0040] In a possible embodiment, as Figure 2 shown in the schematic diagram of the principle of another two-way verification module provided, based on the above two-way verification module, the two-way verification module provided in this solution further includes a functional unit 16. The functional unit 16 is used to execute a set function. Optionally, the functional unit 16 can be connected to the input side or the output side of the polarity conversion unit 14 (for example, both ends of the functional unit 16 are respectively connected to the first connection end and the second connection end of the input side or the output side of the polarity conversion unit 14, and the communication verification module can supply power to the functional unit 16 through the third contact and the fourth contact), or can also be connected to the first control unit 11 (for example, execute corresponding functions based on the control instructions sent by the first control unit 11). Optionally, a fourth switching element (which can be a normally open switching element or a normally closed switching element) can also be connected to the functional unit 16. The control end of the fourth switching element is connected to the first control unit 11. The first connection end and the second connection end of the fourth switching element are connected in the power supply circuit of the functional unit 16. For example, the first connection end of the fourth switching element is connected to the first contact, and the second connection end is connected to the second contact. The first control unit 11 can control the on-off of the power supply circuit of the functional unit 16 through the control end of the fourth switching element. For example, when the communication verification module passes the communication verification, the power supply circuit of the functional unit 16 can be turned on through the fourth switching element to enable the functional unit 16 to work normally, and when the communication verification module fails to pass the communication verification, the power supply circuit of the functional unit 16 can be turned off through the fourth switching element to ensure the safety of the device.

[0041] As described above, by connecting the two-way verification module to the communication verification module, the first authentication signal is sent to the first contact through the first sending unit 12. The first authentication signal is used for the communication verification by the communication verification module. And through the first receiving unit 13, the second authentication signal is received from the first contact. The second authentication signal is used for the communication verification by the first control unit. Among them, the polarity conversion unit 14 can maintain the polarity direction from the input side to the output side, and can realize the correct signal flow direction when the two-way verification module is reversely connected to the communication verification module, improve the connection efficiency between the two-way verification module and the communication verification module, enhance the user experience, and the first authentication signal can be sent to the first contact through the first sending unit 12, and the second authentication signal can be received from the first contact through the first receiving unit 13, and the communication verification is performed based on the second authentication signal, effectively realizing the two-way authentication between devices and effectively improving the verification effect between devices.

[0042] Figure 3 FIG. is a circuit schematic diagram of a two-way verification module provided by an embodiment of the present application. The two-way verification module provided by this embodiment can be further set on the basis of the two-way verification module provided by the above embodiment. Refer to Figure 3 FIG., the first sending unit 12 provided by the embodiment of the present application includes a first switching element 121. The first switching element 121 is configured with a control end, a first connection end and a second connection end, and the connection and disconnection between the first connection end and the second connection end can be controlled through the control end.

[0043] Optionally, the switching elements (including the first switching element, the second switching element, the third switching element and the fourth switching element) provided by the present application can be normally open or normally closed switching elements. For example, a normally closed switching element is adopted. When no control signal is sent to the control end of the switching element, the first connection end and the second connection end of the switching element are disconnected. In one embodiment, the switching elements provided by this solution can include triodes (such as NPN-type triodes, PNP-type triodes), MOS transistors (such as NMOS transistors, PMOS transistors, etc.), microswitches, etc. Among them, when a triode is used to build a switching element, the base, collector and emitter of the triode can be used as the control end, the first connection end and the second connection end of the switching element respectively. When a MOS transistor is used to build a switching element, the gate, drain and source of the MOS transistor can be used as the control end, the first connection end and the second connection end of the switching element respectively.

[0044] Among them, the control terminal of the first switching element 121 is connected to the first control unit 11 (the control terminal of the first switching element 121 can be connected to an IO port of the first control unit 11 via a resistor, such as the IO11 port in the figure. At this time, the IO11 port serves as the signal sending port of the first control unit 11). The first connection terminal of the first switching element 121 is connected to the output side of the polarity conversion unit 14 (for example, the first connection terminal of the first switching element 121 is connected to the first connection port on the output side of the polarity conversion unit 14 via a resistor), and the second connection terminal of the first switching element 121 is grounded.

[0045] In one embodiment, when the first control unit 11 sends a first authentication signal to the first contact through the first sending unit 12, the first control unit 11 can control the on / off of the first switching element 121 according to the signal change situation (such as the change between 0 and 1) in the preset first authentication information (for example, send square wave signals with different duty cycles and frequencies to the control terminal of the first switching element 121 according to the first authentication information). At this time, the on / off of the first switching element 121 will cause a change in the electric potential of the first contact, and the change in the electric potential corresponds to the signal change situation in the first authentication information, thereby realizing the output of the first authentication signal. This solution realizes the sending of the first authentication signal through the first switching element 121, accurately and efficiently realizes the communication verification from the two-way verification module to the communication verification module, and effectively improves the verification effect between devices.

[0046] In one embodiment, the first receiving unit 13 provided in this solution includes a first resistor 131 and a second resistor 132. The first connection terminal of the first resistor 131 is connected to the output side of the polarity conversion unit 14 (the first connection terminal of the first resistor 131 is connected to the first connection terminal on the output side of the polarity conversion unit 14). The second connection terminal of the first resistor 131 is connected to the first control unit 11 and the first connection terminal of the second resistor 132, and the second connection terminal of the second resistor 132 is grounded. For example, the IO12 port of the first control unit 11 is connected to the second connection terminal of the first resistor 131. At this time, the IO12 port will serve as the signal receiving port of the first control unit 11.

[0047] Among them, when the first control unit 11 receives different signals (such as a change in the electric potential at the first connection terminal on the input side of the polarity conversion unit 14), the voltage division formed by the second resistor 132 is also different. When the communication verification module sends a second authentication signal to the two-way verification module, the communication verification module provides different voltage signals to the first connection terminal on the input side of the polarity conversion unit 14 based on the signal change situation of the second authentication signal, so that the electric potential at the first connection terminal on the input side of the polarity conversion unit 14 changes corresponding to the signal change situation of the second authentication signal. The second authentication signal can be detected based on the detected change in voltage at the first connection terminal of the second resistor 132.

[0048] In one embodiment, after detecting the voltage at the first connection end of the second resistor 132, the first control unit 11 can convert the voltage sampling value into a corresponding digital signal through the mode conversion module, determine the second authentication signal based on the digital signal, or compare the voltage sampling value with a set voltage reference through a comparator, and determine the second authentication signal based on the voltage comparison result.

[0049] This solution realizes the detection of the second authentication signal through the voltage division detection of the first resistor 131 and the second resistor 132, accurately and efficiently realizes the communication verification from the communication verification module to the two-way verification module, and effectively improves the verification effect between devices.

[0050] In a possible embodiment, the first receiving unit 13 provided in this solution further includes a second switching element 133. The control end of the second switching element 133 is connected to the first control unit 11 (for example, the IO13 port of the first control unit 11 is connected to the control end of the second switching element 133). The first connection end of the second switching element 133 is connected to the second connection end of the second resistor 132, and the second connection end of the second switching element 133 is grounded.

[0051] In one embodiment, the opening and closing of the reception of the second authentication signal by the two-way verification module can be realized by controlling the on-off of the second switching element 133. For example, when it is necessary to enable the function of the two-way verification module to receive the second authentication signal, control the second switching element 133 to conduct. At this time, the voltage at the first connection end of the second resistor 132 will change synchronously with the voltage change at the first connection end of the input side of the polarity conversion unit 14. When the two-way verification module needs to send the first authentication signal, complete the reception of the second authentication signal, or complete the communication verification, the second switching element 133 can be controlled to turn off to reduce the influence of the first resistor 131 and the second resistor 132 on the sending of the first authentication signal or other functions of the two-way verification module.

[0052] In a possible embodiment, the polarity conversion unit 14 provided in this solution includes a rectifier bridge 141. Among them, the rectifier bridge 141 can be built by 4 diodes (a full-bridge circuit composed of 4 diodes). The rectifier bridge 141 provided in this solution is configured with an input side and an output side. The input side is configured with a first connection end (for example, point a1 in the figure) and a second connection end (for example, point a2 in the figure), and the output side is configured with a first connection end (for example, point b1 in the figure) and a second connection end (for example, point b2 in the figure).

[0053] Among them, the output side of the rectifier bridge 141 is connected to the first transmitting unit 12 and the first receiving unit 13 (for example, the first connection end of the output side of the rectifier bridge 141 is connected to the first connection end of the first switching element 121, the second connection end of the output side of the rectifier bridge 141 is connected to the second connection end of the second resistor 132, or the second connection end of the second switching element 133, or the second connection end of the output side of the rectifier bridge 141 is grounded). The first connection end of the input side of the rectifier bridge 141 is connected to the first contact of the two-way verification module, and the second connection end of the input side of the rectifier bridge 141 is connected to the second contact of the two-way verification module.

[0054] Optionally, a capacitor can be connected in parallel on the output side of the polarity conversion unit 14. The first connection end of the capacitor is connected to the first connection end of the output side of the rectifier bridge 141, and the second connection end of the capacitor is connected to the second connection end of the output side of the rectifier bridge 141. The output side of the polarity conversion unit 14 is filtered and voltage-stabilized through the capacitor.

[0055] In the cases where the two-way verification module is connected to the communication verification module in the forward and reverse directions, the electric potential of the third contact in the communication verification module can be kept close to or the same as that of the first connection end of the output side of the rectifier bridge 141, and the electric potential of the fourth contact can be kept close to or the same as that of the second connection end of the output side of the rectifier bridge 141, thereby maintaining the consistency of the polarity direction from the input side to the output side of the polarity conversion unit 14. This solution realizes the consistency of the polarity direction from the input side to the output side of the polarity conversion unit 14 through the rectifier bridge 141, realizes the correct signal flow direction when the two-way verification module is connected to the communication verification module in the reverse direction, improves the connection efficiency between the two-way verification module and the communication verification module, and enhances the user experience.

[0056] In a possible embodiment, the two-way verification module provided by this solution further includes an energy storage unit 15. The energy storage unit 15 is connected to the first control unit 11 and the polarity conversion unit 14. The energy storage unit 15 is used to store electrical energy and provide power for the first control unit 11 and the polarity conversion unit 14. For example, the energy storage unit 15 can be a capacitor. The first connection end of the capacitor is connected to the power supply terminal (VDD port) of the first control unit 11, and the second connection end of the capacitor is connected to the second connection port of the output side of the polarity conversion unit 14. This solution stores electrical energy through the energy storage unit 15, which can be used to supply power for the communication verification process when the two-way verification module is connected to the communication verification module.

[0057] In a possible embodiment, the two-way authentication module can also be powered by the communication authentication module (for example, a power control unit for powering the two-way authentication module is provided in the communication authentication module). When the two-way authentication module is connected to the communication authentication module, the communication authentication module supplies power to the two-way authentication module through the third contact and the fourth contact, so as to realize power supply to the two-way authentication module during the communication authentication process. Optionally, a power supply unit can also be provided in the two-way authentication module to supply power to each electrical appliance in the two-way authentication module.

[0058] In one embodiment, the two-way authentication module and the communication authentication module provided by this solution can be respectively configured in the cartridge and the rod of an electronic cigarette, the medical atomization sheet and the medical atomizer body of a medical atomizer, the humidifying atomization sheet and the humidifier body of a humidifier, the toner / cartridge and the printer body of a printer, etc.

[0059] For example, when the two-way authentication module and the communication authentication module are respectively configured in the cartridge and the rod of an electronic cigarette, two contacts are provided in both the cartridge and the rod. When the cartridge is installed on the rod, the contacts in the cartridge and the rod come into contact to realize communication between the cartridge and the rod and power supply from the rod to the cartridge. In existing electronic cigarettes, generally the connection direction of the rod and the cartridge is fixed, that is, the cartridge and the rod need to be connected in a positive connection manner to normally realize communication between the cartridge and the rod and power supply from the rod to the cartridge. The user needs to align the positive connection direction and insert the cartridge into the rod to use the electronic cigarette normally, otherwise the electronic cigarette cannot be used normally or even damaged. By providing a polarity conversion unit 14 in the cartridge in this solution, normal communication and power supply can be maintained whether the cartridge and the rod are inserted forward or backward, realizing forward and backward insertion of the cartridge and the rod and two-way authentication. Optionally, the functional unit provided by this solution can be an atomizer for heating the e-liquid in the cartridge (such as a resistance wire, a heating wire, an electric coil, etc.). When the cartridge passes the communication authentication, the rod can supply power to the cartridge through the contacts to make the atomizer heat the e-liquid when detecting that the user is using the electronic cigarette.

[0060] When the two-way verification module and the communication verification module are respectively configured in the medical atomization sheet and the medical atomizer body of the medical atomizer, two contacts are provided in both the medical atomization sheet and the medical atomizer body. When the medical atomization sheet is installed on the medical atomizer body, the contacts in the medical atomization sheet and the medical atomizer body come into contact, realizing the communication between the medical atomization sheet and the medical atomizer body and the power supply from the medical atomizer body to the medical atomization sheet. In existing medical atomizers, generally, the connection direction between the medical atomizer body and the medical atomization sheet is fixed, that is, the medical atomization sheet and the medical atomizer body need to be connected in a positive connection manner to normally realize the communication between the medical atomization sheet and the medical atomizer body and the power supply from the medical atomizer body to the medical atomization sheet. Users need to align the positive connection direction and insert the medical atomization sheet into the medical atomizer body to use the medical atomizer normally. Otherwise, the medical atomizer cannot be used normally or may even be damaged. In this solution, by setting the polarity conversion unit 14 in the medical atomization sheet, normal communication and power supply can be maintained when the medical atomization sheet and the medical atomizer body are inserted in either the correct or reverse direction, realizing the reverse insertion and two-way authentication of the medical atomization sheet and the medical atomizer body. Optionally, the functional unit provided in this solution can be an atomization generator (such as an ultrasonic generator) for atomizing the liquid medicine in the medical atomization sheet. When the medical atomization sheet passes the communication verification, when the medical atomizer body enables the atomization function, it can supply power to the medical atomization sheet through the contacts to make the atomization generator atomize the liquid medicine.

[0061] When the two-way verification module and the communication verification module are respectively configured in the humidifying atomization sheet and the humidifier body of the humidifier, two contacts are provided in both the humidifying atomization sheet and the humidifier body. When the humidifying atomization sheet is installed on the humidifier body, the contacts in the humidifying atomization sheet and the humidifier body come into contact, realizing the communication between the humidifying atomization sheet and the humidifier body and the power supply from the humidifier body to the humidifying atomization sheet. In existing humidifiers, generally, the connection direction between the humidifier body and the humidifying atomization sheet is fixed, that is, the humidifying atomization sheet and the humidifier body need to be connected in a positive connection manner to normally realize the communication between the humidifying atomization sheet and the humidifier body and the power supply from the humidifier body to the humidifying atomization sheet. Users need to align the positive connection direction and insert the humidifying atomization sheet into the humidifier body to use the humidifier normally. Otherwise, the humidifier cannot be used normally or may even be damaged. In this solution, by setting the polarity conversion unit 14 in the humidifying atomization sheet, normal communication and power supply can be maintained when the humidifying atomization sheet and the humidifier body are inserted in either the correct or reverse direction, realizing the reverse insertion and two-way authentication of the humidifying atomization sheet and the humidifier body. Optionally, the functional unit provided in this solution can be an atomization generator (such as an ultrasonic generator) for atomizing the liquid (such as aromatherapy essential oil, water, etc.) in the humidifying atomization sheet. When the humidifying atomization sheet passes the communication verification, when the humidifier body enables the humidifying function, it can supply power to the humidifying atomization sheet through the contacts to make the atomization generator atomize the liquid.

[0062] When the two-way verification module and the communication verification module are respectively configured in the toner / powder cartridge and the printer body of the printer, two contacts are provided in both the toner / powder cartridge and the printer body. When the toner / powder cartridge is installed on the printer body, the contacts in the toner / powder cartridge and the printer body come into contact, realizing the communication between the toner / powder cartridge and the printer body and the power supply from the printer body to the toner / powder cartridge. In existing printers, generally, the connection direction between the printer body and the toner / powder cartridge is fixed, that is, the toner / powder cartridge and the printer body need to be connected in a positive connection manner to normally realize the communication between the toner / powder cartridge and the printer body and the power supply from the printer body to the toner / powder cartridge. The user needs to align the positive connection direction and insert the toner / powder cartridge into the printer body to use the printer normally. Otherwise, the printer cannot be used normally or even damaged. In this solution, by setting the polarity conversion unit 14 in the toner / powder cartridge, normal communication and power supply can be maintained regardless of whether the toner / powder cartridge and the printer body are inserted forward or backward, realizing the forward and backward insertion and two-way authentication of the toner / powder cartridge and the printer body. Optionally, the functional unit provided in this solution can be a powder output module for controlling the powder output of the toner / powder cartridge. When the toner / powder cartridge passes the communication verification, when the printer body enables the printing function, it can supply power to the toner / powder cartridge through the contacts to make the powder output module work.

[0063] As described above, by connecting the two-way verification module to the communication verification module, the first sending unit 12 sends a first authentication signal to the first contact. The first authentication signal is used for the communication verification by the communication verification module, and the first receiving unit 13 receives a second authentication signal from the first contact. The second authentication signal is used for the communication verification by the first control unit. Among them, the polarity conversion unit 14 can maintain the polarity direction from the input side to the output side, realizing the correct signal flow direction when the two-way verification module is reversely connected to the communication verification module, improving the connection efficiency between the two-way verification module and the communication verification module, enhancing the user experience, and the first sending unit 12 can send the first authentication signal to the first contact, and the first receiving unit 13 can receive the second authentication signal from the first contact and perform communication verification based on the second authentication signal, effectively realizing the two-way authentication between devices and effectively improving the verification effect between devices. And the first authentication signal is sent through the first switching element 121, and the second authentication signal is detected through the voltage division detection of the first resistor 131 and the second resistor 132, accurately and efficiently realizing the communication verification between the two-way verification module and the communication verification module, and effectively improving the verification effect between devices.

[0064] Figure 4 The flowchart of a two-way verification method provided by an embodiment of the present application is given. A two-way verification method provided by this solution can be applied to the first control unit in the two-way verification module provided in any of the above embodiments. Refer to Figure 4, the two-way verification method includes:

[0065] S110: Receive a second authentication signal from a first contact through a first receiving unit, and perform communication verification based on the second authentication signal.

[0066] S120: Send a first authentication signal to the first contact through a first sending unit for the communication verification module to perform communication verification.

[0067] Exemplarily, after the two-way verification module is connected to the communication verification module, the first control unit can receive the second authentication signal from the first contact through the first receiving unit, and perform communication verification based on the second authentication signal. For example, the first control unit matches the second authentication signal with preset second verification information. When the second authentication signal matches the preset second verification information successfully, it is considered that the communication verification module passes the communication verification and can normally receive and execute the control instructions of the communication verification module.

[0068] In one embodiment, after the two-way verification module is connected to the communication verification module, the first control unit sends a first authentication signal to the first contact through the first sending unit. After the communication verification module receives the first authentication signal from the first contact, it performs communication verification based on the first authentication signal. For example, the first control unit matches the first authentication signal with preset first verification information. When the first authentication signal matches the preset first verification information successfully, it is considered that the two-way verification module passes the communication verification and can normally control the two-way verification module and send control instructions to the two-way verification module.

[0069] In one embodiment, this solution receives the second authentication signal from the first contact through the first receiving unit and performs communication verification based on the second authentication signal, which can be performed before sending the first authentication signal to the first contact through the first sending unit, or after sending the first authentication signal to the first contact through the first sending unit.

[0070] In a possible embodiment, the first receiving unit includes a second switching element. Before the two-way verification method provided in this solution receives the second authentication signal from the first contact through the first receiving unit, it further includes: sending a closing control signal to the control end of the second switching element to control the second switching element to close. Correspondingly, after the two-way verification method provided in this solution performs communication verification based on the second authentication signal, it further includes: sending a turning-off control signal to the control end of the second switching element to control the second switching element to turn off.

[0071] Exemplarily, when it is necessary to receive the second authentication signal sent by the communication verification module for communication verification, the first control unit sends a start signal (such as a high-level signal) to the control end of the second switching element to control the second switching element to conduct. At this time, the voltage at the first connection end of the second resistor will change synchronously with the voltage change at the first connection end of the input side of the polarity conversion unit. The first control unit can detect the second authentication signal according to the detected voltage change at the first connection end of the second resistor.

[0072] After completing the communication verification based on the second authentication signal, the first control unit sends a shutdown signal (such as a low-level signal) to the control end of the second switching element to control the second switching element to turn off, reducing the influence of the first resistor and the second resistor on the sending of the first authentication signal or the normal implementation of other functions of the two-way verification module.

[0073] In a possible embodiment, the first sending unit includes a first switching element. The two-way verification method provided by this solution sends the first authentication signal to the first contact through the first sending unit, which can be: sending a first control signal to the control end of the first switching element based on the preset first authentication information to control the on / off of the first switching element, so as to send the first authentication signal to the first contact through the on / off of the first switching element.

[0074] Exemplarily, the first authentication information is recorded in the first control unit or the storage unit connected to the first control unit. When the first control unit sends the first authentication signal to the first contact through the first sending unit, it sends the first control signal to the control end of the first switching element according to the first authentication information to control the on / off of the first switching element.

[0075] For example, when the first authentication information is recorded by a combination of 0 and 1, control signals (high-level signals or low-level signals) are sent to the control end of the first switching element according to the 0 and 1 recorded in the first authentication information, so that the on / off change of the first switching element is synchronized with the change of 0 and 1 in the first authentication information, thereby sending the first authentication signal to the first contact through the on / off of the first switching element. At this time, the potential of the first contact also changes synchronously, and the corresponding first authentication signal can be determined according to the change of the potential of the first contact. This solution realizes the sending of the first authentication signal through the first switching element, accurately and efficiently realizes the communication verification from the two-way verification module to the communication verification module, and effectively improves the verification effect between devices.

[0076] As described above, by connecting the two-way verification module to the communication verification module, sending a first authentication signal to the first contact through the first sending unit for the communication verification module to perform communication verification, receiving a second authentication signal from the first contact through the first receiving unit, and performing communication verification based on the second authentication signal, the two-way authentication between devices is effectively achieved, and the verification effect between devices is effectively improved. At the same time, the polarity conversion unit configured in the two-way verification module can maintain the polarity direction from the input side to the output side, enabling the correct signal flow when the two-way verification module is reversely connected to the communication verification module. Whether the two-way verification module is inserted correctly or reversely, the communication verification can be carried out normally, effectively improving the connection efficiency between the two-way verification module and the communication verification module and enhancing the user experience.

[0077] Figure 5 The schematic diagram of the principle of a communication verification module provided by an embodiment of the present application is shown as Figure 5 As shown, the communication verification module provided by the present application includes a second control unit 21, a second sending unit 22, and a second receiving unit 23.

[0078] Among them, the second control unit 21 is connected to the signal input end of the second sending unit 22 and the signal output end of the second receiving unit 23, and the signal output end of the second sending unit 22 and the signal input end of the second receiving unit 23 are connected to the third contact of the communication verification module;

[0079] The communication verification module is used to connect to the two-way verification module (such as the two-way verification module provided in any of the above embodiments), and when the communication verification module is connected to the two-way verification module, the third contact and the fourth contact of the communication verification module are connected to the first contact and the second contact in the two-way verification module (in the case of correct connection), or the third contact and the fourth contact are connected to the second contact and the first contact in the two-way verification module (in the case of reverse connection).

[0080] The second control unit 21 provided in this solution can be used to send a second authentication signal to the third contact through the second sending unit 22, so that the two-way verification module performs communication verification based on the received second authentication signal. The second control unit 21 provided in this solution can also be used to receive the first authentication signal from the third contact through the second receiving unit 23 and perform communication verification based on the first authentication signal.

[0081] For example, when the communication verification module performs communication verification based on the first authentication signal, it may match the first authentication signal with the preset first verification information. When the first authentication signal matches the preset first verification information successfully, it is considered that the two-way verification module passes the communication verification, and the two-way verification module can be normally controlled and a control instruction can be sent to the two-way verification module. When the two-way verification module performs communication verification based on the received second authentication signal, it may match the second authentication signal with the preset second verification information. When the second authentication signal matches the preset second verification information successfully, it is considered that the communication verification module passes the communication verification, and the control instruction of the communication verification module can be normally received and executed, or when it is determined that the communication verification module passes the communication verification, a feedback message or the first authentication signal can be sent to the communication verification module.

[0082] In a possible embodiment, as Figure 6 shown in the schematic diagram of the principle of another communication verification module provided, on the basis of the above communication verification module, the communication verification module provided in this solution further includes a detection unit 24. Among them, the detection input end of the detection unit 24 is connected to the third contact of the communication verification module, and the detection output end of the detection unit 24 is connected to the second control unit 21. The detection unit 24 provided in this solution can be used to detect the access of the two-way verification module and send an access detection signal to the second control unit 21. The second control unit 21 can determine whether to access the two-way verification module according to the access detection signal, and when it detects the access of the two-way verification module, it can send a second authentication signal to the two-way verification module or receive the first authentication signal sent by the two-way verification module. This solution detects the access of the two-way verification module through the detection unit 24, and when it detects the access of the two-way verification module, it can send a second authentication signal to the two-way verification module or receive the first authentication signal sent by the two-way verification module, accurately determining the timing of communication verification and improving the communication verification efficiency between devices.

[0083] In an embodiment, the communication verification module provided in this solution further includes a power supply module. The power supply module can be used to supply power to each electrical component in the communication verification module, and can also supply power to the connected two-way verification module through the third contact and the fourth contact.

[0084] In an embodiment, the communication verification module provided in this solution further includes a sensing unit 25. The sensing unit 25 provided in this solution can be a proximity sensor, an infrared sensor, a switch, a microphone, etc. The sensing unit 25 is connected to the second control unit 21. The sensing unit 25 is used to detect the use of the communication verification module (for example, detect whether the user is using the communication verification module) and send a use detection result to the second control unit 21. Optionally, when it is detected that the user is using the communication verification module, the power supply to the two-way verification module can be controlled to start the function module in the two-way verification module and implement the corresponding function.

[0085] As described above, the communication verification module is connected to the two-way verification module. The second authentication signal is sent to the third contact through the second sending unit 22 for the two-way verification module to perform communication verification. Also, the first authentication signal is received from the third contact through the second receiving unit 23, and communication verification is performed based on the first authentication signal, effectively realizing two-way authentication between devices and effectively improving the verification effect between devices.

[0086] Based on the above embodiment, Figure 7 A circuit schematic diagram of a communication verification module provided by an embodiment of the present application is given. Based on the communication verification module provided in the above embodiment, the second sending unit 22 provided in this solution includes a third switching element 221. Among them, the control end of the third switching element 221 is connected to the second control unit 21 (the control end of the third switching element 221 is connected to the IO port of the second control unit 21 through a resistor, such as the IO22 port in the figure). The first connection end of the third switching element 221 is connected to the power supply (VCC in the figure, which can be provided by the power supply module configured in the communication verification module), and the second connection end of the third switching element 221 is connected to the third contact of the communication verification module.

[0087] Exemplarily, when the second control unit 21 sends the second authentication signal to the third contact through the second sending unit 22, it can control the on / off of the third switching element 221 according to the change situation of the signal in the preset second authentication information (such as the change between 0 and 1) (for example, sending square wave signals with different duty cycles and frequencies to the control end of the third switching element 221 according to the second authentication information). At this time, the on / off of the third switching element 221 will cause the potential of the third contact to change, and the change of the potential corresponds to the change situation of the signal in the second authentication information, thereby realizing the output of the second authentication signal. This solution realizes the sending of the second authentication signal through the third switching element 221, accurately and efficiently realizes the communication verification from the communication verification module to the two-way verification module, and effectively improves the verification effect between devices.

[0088] In a possible embodiment, the second receiving unit 23 provided in this solution includes a sampling element 231, an amplifier 232, and a comparator 233. The input end of the sampling element 231 is connected to the third contact of the communication verification module. The output end of the sampling element 231 is connected to the input end of the amplifier 232. The output end of the amplifier 232 is connected to the input end of the comparator 233. The output end of the comparator 233 is connected to the second control unit 21 (for example, the output end of the comparator 233 is connected to the IO23 port of the second control unit 21).

[0089] Among them, the sampling component 231 can sample the voltage of the third contact and send the corresponding sampling information to the input end of the amplifier 232. The amplifier 232 can be used to amplify the sampling information and send the amplified sampling information to the comparator 233. The comparator 233 can compare the amplified sampling information with a preset reference voltage and send the comparison result of the amplified sampling information and the reference voltage to the second control unit 21. The second control unit 21 can determine the corresponding second authentication signal according to the comparison result.

[0090] In one embodiment, the amplifier 232 provided in this solution can be implemented based on a single-stage amplifier circuit or a multi-stage (such as two-stage) amplifier circuit to perform multi-stage amplification processing on the sampling information and improve the detection accuracy of the second authentication information.

[0091] In one embodiment, the sampling component 231 provided in this solution can be a capacitor. The two ends of the capacitor are respectively used as the input end and the output end of the sampling component 231. When the two-way verification module sends the first authentication signal through the first sending unit, the potential of the first contact in the two-way verification module changes corresponding to the first authentication information, and the generated potential difference is coupled to the amplifier 232 through the sampling component 231 for amplification, and is compared with the reference voltage through the comparator 233 and the comparison result is sent to the second control unit 21, realizing the reception and decoding of the first authentication signal. This solution realizes the reception of the second authentication signal through the sampling component 231, the amplifier 232 and the comparator 233, accurately and efficiently realizes the communication verification from the two-way verification module to the communication verification module, and effectively improves the verification effect between devices.

[0092] In one embodiment, the detection unit 24 provided in this solution includes a third resistor 241. The first connection end and the second connection end of the third resistor 241 are respectively connected to two connection ends of the second control unit 21 (for example, the first connection end of the third resistor 241 is connected to the IO21 port of the second control unit 21, and the second connection end of the third resistor 241 is simultaneously connected to the third contact and the IO24 port of the second control unit 21). The second connection end of the third resistor 241 is also connected to the third contact of the communication verification module. At this time, the first connection end of the third resistor 241 can be used as the control end of the detection unit 24 to connect to the second control unit 21, and the second connection end of the third resistor 241 can be used as the detection input end and the detection output end of the detection unit 24 to connect to the third contact and the second control unit 21 respectively.

[0093] Among them, when the second control unit 21 detects the access of the two-way authentication module by using the detection unit 24, it outputs a preset voltage and / or current signal to the first connection end of the third resistor 241 to activate the detection unit 24. At the same time, the port of the second control unit 21 connected to the output end of the detection unit 24 (the second connection end of the third resistor 241) detects the voltage and / or current signal.

[0094] When the two-way authentication module is not connected to the two-way authentication module, the voltage and / or current signal detected by the port of the second control unit 21 connected to the output end of the detection unit 24 is close to (the difference in voltage and / or current is within the set range) or the same as the voltage and / or current signal output to the first connection end of the third resistor 241. When the two-way authentication module is connected to the two-way authentication module, the third resistor 241 and the electrical appliances in the two-way authentication module are turned on (for example, the third resistor 241 and the functional unit in the two-way authentication module). Due to the existence of the resistance of these electrical appliances, a certain voltage and / or current signal can be detected at the third contact, and the existence of these electrical appliances can be detected. Based on this, it is possible to determine whether the communication authentication module has accessed the two-way authentication module according to the voltage and / or current signal corresponding to the port when the communication authentication module accesses the two-way authentication module and the voltage and / or current signal detected by the port of the second control unit 21 connected to the output end of the detection unit 24. Similarly, it is also possible to determine whether the corresponding electrical appliance (such as a functional unit) is short-circuited according to the voltage and / or current signal detected by the port of the second control unit 21 connected to the output end of the detection unit 24.

[0095] For example, the ADC (analog-to-digital conversion) port (IO24 port) of the second control unit 21 can be used as the port connecting to the second connection end of the third resistor 241. After starting the detection unit 24 by outputting a certain voltage from the IO21 port, it is determined whether the two-way verification module is connected to the communication verification module according to the voltage and / or current signal detected at the IO24 port. For example, when the voltage and / or current detected at the IO24 port is greater than the preset voltage threshold and / or current threshold, it is considered that the two-way verification module is not connected to the communication verification module; when the voltage and / or current detected at the IO24 port is less than the preset voltage threshold and / or current threshold, it is considered that the two-way verification module is connected to the communication verification module. Optionally, the IO (analog-to-digital conversion) port (IO24 port) of the second control unit 21 can also be used as the port connecting to the second connection end of the third resistor 241. After starting the detection unit 24 by outputting a certain voltage from the IO21 port, it is determined whether the two-way verification module is connected to the communication verification module according to the logic signal or AD value detected at the IO24 port. When a high-level signal is received at the IO24 port or a specified voltage and / or current (AD value) is sampled, it is considered that the two-way verification module is not connected to the communication verification module; when a low-level signal is received at the IO24 port or a smaller voltage and / or current (AD value) is sampled, it is considered that the two-way verification module is connected to the communication verification module. At the same time, it is also possible to judge whether there is a short circuit or other phenomena according to the voltage and / or current (AD value) sampled at the IO24 port. In one embodiment, when it is detected that the two-way verification module is connected to the communication verification module, the detection unit 24 can be turned off and the communication verification process can be entered, or the detection unit 24 can also not be turned off and the communication verification process can be entered.

[0096] In one embodiment, the two-way verification module and the communication verification module provided by this solution can be the cartridge and the rod of an electronic cigarette. The cartridge is detachably installed on the rod. There are two contacts in both the cartridge and the rod. When the cartridge is installed on the rod, the contacts in the cartridge and the rod are in contact, realizing communication between the cartridge and the rod and power supply from the rod to the cartridge. In this solution, a sensing unit 25 (such as a microphone) is provided in the rod. When the user uses the electronic cigarette (for example, when the user inserts the cartridge into the rod and smokes, the microphone can detect changes in air flow or air pressure), after the sensing unit 25 detects the user's use, the second control unit 21 enters the communication verification process. Or when the sensing unit 25 detects the user's use, it supplies power to the cartridge to enable the cartridge to enter the communication verification process.

[0097] As described above, the communication verification module is connected to the two-way verification module. The second authentication signal is sent to the third contact through the second sending unit 22 for the two-way verification module to perform communication verification. Also, the first authentication signal is received from the third contact through the second receiving unit 23, and communication verification is performed based on the first authentication signal, effectively realizing two-way authentication between devices and effectively improving the verification effect between devices. At the same time, the second authentication signal is sent through the third switching element 221, accurately and efficiently realizing the communication verification from the communication verification module to the two-way verification module, and effectively improving the verification effect between devices.

[0098] Figure 8 The flowchart of a communication verification method provided by an embodiment of the present application is given. The communication verification method provided by this solution can be applied to the second control unit in the communication verification module provided in any of the above embodiments. Refer to Figure 8 , the communication verification method includes:

[0099] S210: Send a second authentication signal to the third contact through the second sending unit for the two-way verification module to perform communication verification.

[0100] S220: Receive the first authentication signal from the third contact through the second receiving unit, and perform communication verification based on the first authentication signal.

[0101] Exemplarily, after the two-way verification module is connected to the communication verification module, the second control unit can send a second authentication signal to the third contact through the second sending unit for the two-way verification module to perform communication verification based on the received second authentication signal. For example, the second control unit matches the second authentication signal with the preset second verification information. When the second authentication signal matches the preset second verification information successfully, it is considered that the communication verification module passes the communication verification and can normally accept and execute the control instructions of the communication verification module, or when it is determined that the communication verification module passes the communication verification, a feedback information or the first authentication signal is sent to the communication verification module.

[0102] In one embodiment, after the two-way verification module is connected to the communication verification module, the second control unit can also receive the first authentication signal from the third contact through the second receiving unit and perform communication verification based on the first authentication signal. For example, the second control unit matches the first authentication signal with the preset first verification information. When the first authentication signal matches the preset first verification information successfully, it is considered that the two-way verification module passes the communication verification and can normally control the two-way verification module and send control instructions to the two-way verification module.

[0103] In one embodiment, the present solution receives a first authentication signal from a third contact through a second receiving unit and performs communication verification based on the first authentication signal, which can be performed before sending a second authentication signal to the third contact through a second sending unit or after sending a second authentication signal to the third contact through the second sending unit.

[0104] In a possible embodiment, the second sending unit provided by the present solution includes a third switching element. The two-way verification method provided by the present solution sends a second authentication signal to the third contact through the second sending unit, which can be to send a second control signal to the control end of the third switching element based on preset second authentication information to control the on / off of the third switching element, so as to send the second authentication signal to the first contact through the on / off of the third switching element.

[0105] Exemplarily, when the second control unit sends a second authentication signal to the third contact through the second sending unit, it can control the on / off of the third switching element according to the change situation of the signal in the preset second authentication information (such as the change situation of 0 and 1), for example, sending square wave signals with different duty cycles and frequencies to the control end of the third switching element according to the second authentication information. At this time, the on / off of the third switching element will cause the potential of the third contact to change, and the change of the potential corresponds to the change situation of the signal in the second authentication information, so as to realize the output of the second authentication signal. The present solution realizes the sending of the second authentication signal through the third switching element, accurately and efficiently realizes the communication verification from the communication verification module to the two-way verification module, and effectively improves the verification effect between devices.

[0106] In a possible embodiment, the communication verification module provided by the present solution includes a detection unit. Based on this, before sending a second authentication signal to the third contact through the second sending unit, the two-way verification method provided by the present solution may further include: sending a detection start signal to the detection unit for the detection unit to detect the access of the two-way verification module in response to the detection start signal and send an access detection signal to the second control unit.

[0107] Exemplarily, before performing communication verification (sending a second authentication signal to a third contact through a second sending unit for the two-way verification module to perform communication verification; and / or receiving a first authentication signal from the third contact through a second receiving unit and performing communication verification based on the first authentication signal), the second control unit may send a detection start signal to the detection unit to start the detection unit to detect the access of the two-way verification module, and receive the access detection signal output by the detection unit. When the access detection signal indicates that the two-way verification module is not accessed, communication verification is not required, while when the access detection signal indicates that the two-way verification module is accessed, communication verification can be performed, that is, sending a second authentication signal to the third contact through the second sending unit for the two-way verification module to perform communication verification; and / or receiving a first authentication signal from the third contact through the second receiving unit and performing communication verification based on the first authentication signal.

[0108] For example, when the detection unit is a third resistor, before performing communication verification, the second control unit outputs a preset voltage and / or current signal to the first connection end of the third resistor to start the detection unit. At the same time, the port of the second control unit connected to the output end of the detection unit (the second connection end of the third resistor) detects the voltage and / or current signal. When the voltage and / or current signal detected at the port of the second control unit connected to the output end of the detection unit is close (the difference in voltage and / or current is within a set range) or consistent with the voltage and / or current signal output to the first connection end of the third resistor, it can be determined that the two-way verification module is not connected. When the voltage and / or current signal detected according to the port of the second control unit connected to the output end of the detection unit is less than the voltage and / or current signal output to the first connection end of the third resistor, or less than the set voltage and / or current amplitude, it can be determined that the two-way verification module is connected. This solution detects the access of the two-way verification module through the detection unit, and when it detects the access of the two-way verification module, it can send a second authentication signal to the two-way verification module or receive the first authentication signal sent by the two-way verification module, accurately determining the timing of communication verification and improving the communication verification efficiency between devices.

[0109] As described above, sending a second authentication signal to the third contact through the second sending unit for the two-way verification module to perform communication verification, and receiving a first authentication signal from the third contact through the second receiving unit and performing communication verification based on the first authentication signal effectively realizes the two-way authentication between devices and effectively improves the verification effect between devices.

[0110] Figure 9 The schematic diagram of the principle of a two-way verification device provided by an embodiment of the present application is given, as Figure 9As shown in the figure, the two-way verification device provided by the present application includes the two-way verification module provided in any of the above embodiments and the communication verification module provided in any of the above embodiments. When the two-way verification module accesses the communication verification module, the first contact and the second contact in the two-way verification module are respectively connected to the third contact and the fourth contact, or to the fourth contact or the third contact in the communication verification module.

[0111] Figure 10 The circuit principle schematic diagram of a two-way verification device provided by an embodiment of the present application is given, as Figure 10 As shown in the figure, the first sending unit 12 provided in this solution includes a first switching element 121. The control end of the first switching element 121 is connected to the first control unit 11. The first connection end of the first switching element 121 is connected to the output side of the polarity conversion unit 14, and the second connection end of the first switching element 121 is grounded.

[0112] The first receiving unit 13 includes a first resistor 131 and a second resistor 132. The first connection end of the first resistor 131 is connected to the output side of the polarity conversion unit 14. The second connection end of the first resistor 131 is connected to the first control unit 11 and the first connection end of the second resistor 132. The second connection end of the second resistor 132 is grounded.

[0113] The first receiving unit 13 further includes a second switching element 133. The control end of the second switching element 133 is connected to the first control unit 11. The first connection end of the second switching element 133 is connected to the second connection end of the second resistor 132, and the second connection end of the second switching element 133 is grounded. The polarity conversion unit 14 includes a rectifier bridge 141. The output side of the rectifier bridge 141 is connected to the first sending unit 12 and the first receiving unit 13. The first connection end of the input side of the rectifier bridge 141 is connected to the first contact of the two-way verification module, and the second connection end of the input side of the rectifier bridge 141 is connected to the second contact of the two-way verification module.

[0114] The two-way verification module further includes an energy storage unit 15. The energy storage unit 15 is connected to the first control unit 11 and the polarity conversion unit 14. The energy storage unit 15 is used to store electric energy and provide power for the first control unit 11 and the polarity conversion unit 14. For the specific settings of the two-way verification module and the communication verification module provided in this solution, reference can be made to the above embodiments, and details are not described herein again.

[0115] As described above, by connecting the two-way verification module to the communication verification module, the first sending unit 12 sends a first authentication signal to the first contact. The first authentication signal is used for the communication verification module to perform communication verification. And through the first receiving unit 13, a second authentication signal is received from the first contact. The second authentication signal is used for the first control unit to perform communication verification. Among them, the polarity conversion unit 14 can maintain the polarity direction from the input side to the output side, and can realize the correct signal flow direction when the two-way verification module is reversely connected to the communication verification module, improve the connection efficiency between the two-way verification module and the communication verification module, and enhance the user experience. It can also connect the two-way verification module through the communication verification module, send a second authentication signal to the third contact through the second sending unit 22 for the two-way verification module to perform communication verification, and receive the first authentication signal from the third contact through the second receiving unit 23 and perform communication verification based on the first authentication signal, effectively realizing two-way authentication between devices and effectively improving the verification effect between devices. And the sending of the first authentication signal is realized through the first switching element 121, and the detection of the second authentication signal is realized through the voltage division detection of the first resistor 131 and the second resistor 132. The sending of the second authentication signal is also realized through the third switching element 221, accurately and efficiently realizing the communication verification from the communication verification module to the two-way verification module, and effectively improving the verification effect between devices.

[0116] Figure 11 The flowchart of a two-way verification method provided by an embodiment of the present application is given. The two-way verification method provided by this solution can be applied to the two-way verification device provided in any of the above embodiments. The two-way verification method provided by this solution includes:

[0117] S310: The second control unit sends a second authentication signal to the third contact through the second sending unit.

[0118] S320: The second control unit receives the first authentication signal from the third contact through the second receiving unit and performs communication verification based on the first authentication signal.

[0119] S330: The first control unit receives the second authentication signal from the first contact through the first receiving unit and performs communication verification based on the second authentication signal.

[0120] S340: The first control unit sends the first authentication signal to the first contact through the first sending unit.

[0121] In one embodiment, after the two-way verification module is connected to the communication verification module, the second control unit can send a second authentication signal to the third contact through the second sending unit, so that the two-way verification module performs communication verification based on the received second authentication signal. For example, the second control unit performs a matching process on the second authentication signal and the preset second verification information. When the second authentication signal matches the preset second verification information successfully, it is considered that the communication verification module passes the communication verification and can normally receive and execute the control instructions of the communication verification module. Or when it is determined that the communication verification module passes the communication verification, a feedback information or a first authentication signal is sent to the communication verification module.

[0122] In one embodiment, after the two-way verification module is connected to the communication verification module, the second control unit can also receive the first authentication signal from the third contact through the second receiving unit and perform communication verification based on the first authentication signal. For example, the second control unit performs a matching process on the first authentication signal and the preset first verification information. When the first authentication signal matches the preset first verification information successfully, it is considered that the two-way verification module passes the communication verification and can normally control the two-way verification module and send control instructions to the two-way verification module.

[0123] After the two-way verification module is connected to the communication verification module, the first control unit can receive the second authentication signal from the first contact through the first receiving unit and perform communication verification based on the second authentication signal. For example, the first control unit performs a matching process on the second authentication signal and the preset second verification information. When the second authentication signal matches the preset second verification information successfully, it is considered that the communication verification module passes the communication verification and can normally receive and execute the control instructions of the communication verification module.

[0124] In one embodiment, after the two-way verification module is connected to the communication verification module, the first control unit sends a first authentication signal to the first contact through the first sending unit. After the communication verification module receives the first authentication signal from the first contact, it performs communication verification based on the first authentication signal. For example, the first control unit performs a matching process on the first authentication signal and the preset first verification information. When the first authentication signal matches the preset first verification information successfully, it is considered that the two-way verification module passes the communication verification and can normally control the two-way verification module and send control instructions to the two-way verification module.

[0125] As described above, the second control unit sends a second authentication signal to the third contact through the second sending unit, receives a first authentication signal from the third contact through the second receiving unit, performs communication verification based on the first authentication signal, receives a second authentication signal from the first contact through the first receiving unit by the first control unit, performs communication verification based on the second authentication signal, and sends a first authentication signal to the first contact through the first sending unit by the first control unit, effectively realizing two-way authentication between devices and effectively improving the verification effect between devices.

[0126] The above is only the preferred embodiment of the present application and the technical principles applied. The present application is not limited to the specific embodiments provided here, and various obvious changes, re-adjustments and substitutions that can be made by those skilled in the art will not depart from the protection scope of the present application. Therefore, although the present application has been described in more detail through the above embodiments, the present application is not limited to the above embodiments. Without departing from the concept of the present application, more other equivalent embodiments can be included, and the scope of the present application is determined by the scope of the claims.

Claims

1. A two-way verification module, characterized in that: It includes a first control unit, a first sending unit, a first receiving unit and a polarity conversion unit, wherein: The first control unit is connected to a signal input end of the first sending unit and a signal output end of the first receiving unit; The output side of the polarity conversion unit is connected to the first sending unit and the first receiving unit, the first connection end of the input side of the polarity conversion unit is connected to the first contact of the bidirectional verification module, the second connection end of the input side of the polarity conversion unit is connected to the second contact of the bidirectional verification module, and the polarity conversion unit is used to maintain the polarity direction from the input side to the output side; The two-way verification module is used to connect to the communication verification module, and when connected to the communication verification module, the first contact and the second contact are connected to the third contact and the fourth contact of the communication verification module, or the first contact and the second contact are connected to the fourth contact and the third contact of the communication verification module; The first control unit is used to send a first authentication signal to the first contact through the first sending unit, and the first authentication signal is used for the communication verification module to perform communication verification, and to receive a second authentication signal from the first contact through the first receiving unit, and the second authentication signal is used for the first control unit to perform communication verification.

2. The two-way verification module according to claim 1, characterized in that: The first sending unit includes a first switch element, a control end of the first switch element is connected to the first control unit, a first connection end of the first switch element is connected to the output side of the polarity conversion unit, and a second connection end of the first switch element is grounded.

3. The two-way verification module according to claim 1, characterized in that: The first receiving unit includes a first resistor and a second resistor, the first connection end of the first resistor is connected to the output side of the polarity conversion unit, the second connection end of the first resistor is connected to the first control unit and the first connection end of the second resistor, and the second connection end of the second resistor is grounded.

4. The two-way verification module according to claim 3, characterized in that: The first receiving unit further includes a second switch element, a control end of the second switch element is connected to the first control unit, a first connection end of the second switch element is connected to a second connection end of the second resistor, and a second connection end of the second switch element is grounded.

5. The two-way verification module according to claim 1, characterized in that: The polarity conversion unit includes a rectifier bridge, the output side of the rectifier bridge is connected to the first sending unit and the first receiving unit, the first connection end of the input side of the rectifier bridge is connected to the first contact of the bidirectional verification module, and the second connection end of the input side of the rectifier bridge is connected to the second contact of the bidirectional verification module.

6. The two-way verification module according to claim 1, characterized in that: It also includes an energy storage unit, which is connected to the first control unit and the polarity conversion unit. The energy storage unit is used to store electrical energy and provide power for the first control unit and the polarity conversion unit.

7. A communication verification module, characterized in that: It includes a second control unit, a second sending unit and a second receiving unit, wherein: The second control unit is connected to the signal input end of the second sending unit and the signal output end of the second receiving unit, and the signal output end of the second sending unit and the signal input end of the second receiving unit are connected to the third contact of the communication verification module; The communication verification module is used to connect to the two-way verification module, and when connected to the two-way verification module, the third contact and the fourth contact of the communication verification module are connected to the first contact and the second contact of the two-way verification module, or the third contact and the fourth contact are connected to the second contact and the first contact of the two-way verification module; The second control unit is used to send a second authentication signal to the third contact through the second sending unit for the two-way verification module to perform communication verification, and to receive a first authentication signal from the third contact through the second receiving unit and perform communication verification based on the first authentication signal.

8. The communication verification module according to claim 7, characterized in that: The second sending unit includes a third switch element, a control end of the third switch element is connected to the second control unit, a first connection end of the third switch element is connected to a power source, and a second connection end of the third switch element is connected to a third contact of the communication verification module.

9. The communication verification module according to claim 7, characterized in that: The second receiving unit includes a sampling element, an amplifier and a comparator, the input end of the sampling element is connected to the third contact of the communication verification module, the output end of the sampling element is connected to the input end of the amplifier, the output end of the amplifier is connected to the input end of the comparator, and the output end of the comparator is connected to the second control unit.

10. The communication verification module according to claim 7, characterized in that: It also includes a detection unit, a detection input end of the detection unit is connected to the third contact of the communication verification module, and a detection output end of the detection unit is connected to the second control unit. The detection unit is used to detect the access of the two-way verification module and send an access detection signal to the second control unit.

11. The communication verification module according to claim 10, characterized in that: The detection unit includes a third resistor, a first connection end and a second connection end of the third resistor are respectively connected to two connection ends of the second control unit, and the second connection end of the third resistor is also connected to a third contact of the communication verification module.

12. A two-way communication verification device, characterized in that: It comprises the bidirectional verification module as described in any one of claims 1-6 and the communication verification module as described in any one of claims 7-11.