Encryption module

By introducing a multi-interface design into the encryption module, including an encryption chip, an MCU microcontroller, a serial-to-USB communication module, and an RS232 communication module, the problem of the single interface of existing encryption modules is solved. Standardized and diversified interfaces are achieved, enhancing compatibility and flexibility, and making it suitable for a variety of devices.

CN223486501UActive Publication Date: 2025-10-28HEBEI NENGRUI TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202423148428.9
Authority / Receiving Office
CN · China
Patent Type
Utility models(China)
Current Assignee / Owner
Filing Date
2024-12-19
Publication Date
2025-10-28
Estimated Expiration
2034-12-19

AI Technical Summary

Technical Problem

Existing encryption modules lack standardization in interface design and have a single interface format, which leads to limited applications, poor compatibility, and difficulty in adapting to diverse devices.

Method used

It adopts a multi-interface design, including an encryption chip, an MCU microcontroller, a serial-to-USB communication module, an RS232 communication module and a circuit board, providing standard USB and RS232 interfaces, supporting multiple encryption algorithms, and adapting to data encryption needs in different scenarios.

Benefits of technology

It achieves interface standardization and diversification, improves compatibility and flexibility, and has a wide range of applications. It can be used as a portable Ukey or as an embedded component.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN223486501U_ABST
    Figure CN223486501U_ABST
Patent Text Reader

Abstract

The utility model relates to the technical field of data encryption, and discloses an encryption module. The encryption module comprises an encryption chip; the MCU microcontroller is electrically connected with the encryption chip and is used for calling the encryption chip to execute data encryption on external equipment; the serial port to USB communication module is electrically connected with the MCU microcontroller and is used for converting a serial port signal into a USB signal; the RS232 communication module is electrically connected with the MCU microcontroller and is used for converting a serial port signal into an RS232 communication signal; the circuit board comprises a USB interface bonding pad and an RS232 interface bonding pad; the USB interface bonding pad is electrically connected with the serial port to USB communication module and is used for providing a USB interface for external equipment; and the RS232 interface bonding pad is electrically connected with the RS232 communication module and is used for providing an RS232 communication interface for external equipment. The encryption module is diversified in interface standard, flexible to use and wide in application range.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This utility model relates to the field of data encryption technology, specifically to an encryption module. Background Technology

[0002] With the rapid development of information technology, all industries have an increasingly urgent need for data security and privacy protection, and how to improve data security has become an urgent problem to be solved.

[0003] In related technologies, encryption modules with data encryption functions are used to encrypt data, which improves data security to a certain extent. However, the encryption modules in these technologies lack standardization in interface design, resulting in a single interface form, which limits their application in different scenarios; moreover, their structural design is also monotonous, with poor compatibility, making it difficult to apply to diverse devices.

[0004] Therefore, there is an urgent need for an encryption module that is flexible in use and has a wide range of applications. Utility Model Content

[0005] In view of this, the present invention provides an encryption module to solve the problems of lack of flexibility and narrow application scope in the use of encryption modules in related technologies. The technical solution is as follows:

[0006] An encryption module is provided, the encryption module comprising:

[0007] Encryption chip;

[0008] An MCU microcontroller, electrically connected to the encryption chip, is used to invoke the encryption chip to perform data encryption on external devices;

[0009] A serial-to-USB communication module is electrically connected to the MCU microcontroller and is used to convert serial signals into USB signals.

[0010] An RS232 communication module is electrically connected to the MCU microcontroller and is used to convert serial port signals into RS232 communication signals.

[0011] The circuit board includes a USB interface pad and an RS232 interface pad; the USB interface pad is electrically connected to the serial-to-USB communication module and is used to provide a USB interface for external devices; the RS232 interface pad is electrically connected to the RS232 communication module and is used to provide an RS232 communication interface for external devices.

[0012] In one optional embodiment, the RS232 interface pad is a 5-pin terminal pad for soldering 5-pin terminals.

[0013] In one optional embodiment, the 5-pin terminal pad includes a first pin, a second pin, a third pin, a fourth pin, and a fifth pin arranged in sequence; wherein the second pin and the third pin are used to provide a transmit interface and a receive interface for an RS232 communication interface for an external device, respectively.

[0014] In one alternative implementation, the fifth pin is used to provide a power interface for an external device.

[0015] In one alternative implementation, the first pin is used for grounding; the fourth pin is used for grounding.

[0016] In one optional implementation, the USB interface pad is a USB-A type interface pad, used for soldering USB-A type male connector terminals.

[0017] In one optional embodiment, the circuit board further includes a debug interface pad; the debug interface pad is electrically connected to the MCU microcontroller and is used to solder a 4-pin terminal; the 4-pin terminal is used to connect a microcontroller program debugger / programmer.

[0018] In one optional implementation, the encryption module further includes a power management circuit; the power management circuit is electrically connected to the MCU microcontroller, the encryption chip, and the RS232 communication module respectively, and is used to perform power management on the MCU microcontroller, the encryption chip, and the RS232 communication module respectively.

[0019] In one optional embodiment, the circuit board further includes a first fixing hole and a second fixing hole; the first fixing hole and the second fixing hole are used to fix the encryption module to an external device.

[0020] The technical solution provided by this utility model can include the following beneficial effects:

[0021] The encryption module provided by this utility model includes an encryption chip, an MCU microcontroller, a serial-to-USB communication module, an RS232 communication module, and a circuit board. The MCU microcontroller is electrically connected to the encryption chip and is used to invoke the encryption chip to perform data encryption on external devices. The serial-to-USB communication module is electrically connected to the MCU microcontroller and is used to convert serial signals to USB signals. The RS232 communication module is electrically connected to the MCU microcontroller and is used to convert serial signals to RS232 communication signals. The circuit board includes USB interface pads and RS232 interface pads. The USB interface pads are electrically connected to the serial-to-USB communication module and are used to provide a USB interface for external devices. The RS232 interface pads are electrically connected to the RS232 communication module and are used to provide an RS232 communication interface for external devices. Therefore, the above encryption module adopts a multi-interface design, using standard USB and RS232 interfaces, achieving interface standardization and diversification. It can be used as a portable Ukey to connect to external devices, or as an embedded component of external devices, offering strong compatibility and flexibility, and a wide range of applications. Attached Figure Description

[0022] To more clearly illustrate the specific embodiments of this utility model or the technical solutions in the prior art, the drawings used in the description of the specific embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of this utility model. For those skilled in the art, other drawings can be obtained from these drawings without creative effort.

[0023] Figure 1 This is a schematic diagram of the encryption module according to an embodiment of the present utility model. Detailed Implementation

[0024] The technical solution of this utility model will now be clearly and completely described with reference to the accompanying drawings. Obviously, the described embodiments are only some, not all, of the embodiments of this utility model. Based on the embodiments of this utility model, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this utility model.

[0025] In the description of this utility model, it should be noted that the terms "center," "upper," "lower," "left," "right," "vertical," "horizontal," "inner," and "outer," etc., indicating the orientation or positional relationship, are based on the orientation or positional relationship shown in the accompanying drawings and are only for the convenience of describing this utility model and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, or be constructed and operated in a specific orientation, and therefore should not be construed as a limitation of this utility model. Furthermore, the terms "first," "second," and "third" are used for descriptive purposes only and should not be construed as indicating or implying relative importance.

[0026] In the description of this utility model, it should be noted that, unless otherwise explicitly specified and limited, the terms "installation," "connection," and "joining" should be interpreted broadly. For example, they can refer to a fixed connection, a detachable connection, or an integral connection; they can refer to a mechanical connection or an electrical connection; they can refer to a direct connection or an indirect connection through an intermediate medium; and they can refer to the internal connection of two components. Those skilled in the art can understand the specific meaning of the above terms in this utility model based on the specific circumstances.

[0027] Furthermore, the technical features involved in the different embodiments of this utility model described below can be combined with each other as long as they do not conflict with each other.

[0028] With the rapid development of information technology, all industries have an increasingly urgent need for data security and privacy protection, and how to improve data security has become an urgent problem to be solved.

[0029] In related technologies, encryption modules with data encryption functions are used to achieve data encryption, which improves data security to a certain extent. However, the encryption modules in these technologies lack standardization in interface design, and the interface forms are uniform, which limits their application in different scenarios and makes them difficult to widely use; moreover, their structural design is uniform and has poor compatibility, making it difficult to apply to diverse devices.

[0030] Therefore, this utility model embodiment provides an encryption module that adopts a multi-interface design to achieve standardized and diversified interfaces, strong compatibility and flexibility, and wide application range.

[0031] Figure 1 This is a structural schematic diagram of the encryption module according to an embodiment of the present utility model. Figure 1 As shown, the encryption module includes an encryption chip, an MCU microcontroller, a serial-to-USB communication module, an RS232 communication module, and a circuit board.

[0032] The MCU microcontroller is electrically connected to the encryption chip and is used to invoke the encryption chip to perform data encryption on external devices.

[0033] The serial-to-USB communication module is electrically connected to the MCU microcontroller and is used to convert serial signals into USB signals.

[0034] The RS232 communication module is electrically connected to the MCU microcontroller and is used to convert serial port signals into RS232 communication signals.

[0035] The circuit board includes a USB interface pad and an RS232 interface pad; the USB interface pad is electrically connected to the serial-to-USB communication module and is used to provide a USB interface for external devices; the RS232 interface pad is electrically connected to the RS232 communication module and is used to provide an RS232 communication interface for external devices.

[0036] Figure 1 The working principle of the encryption module shown is as follows:

[0037] This encryption chip can employ encryption technologies from relevant fields as needed. For example, the model number of this encryption chip is RJMU401, which provides multiple encryption algorithms, including symmetric, asymmetric, and hash algorithms. The symmetric algorithms include DES, 3DES, AES, SM1, and SM4; the asymmetric algorithms include RSA and SM2; and the hash algorithms include SM3 and SHA-256. This encryption chip also incorporates multiple security mechanisms, including a storage protection unit (MPU), a storage bus detection mechanism, an anti-FIA attack mechanism, an anti-EMA / DEMA attack mechanism, a hardware CRC16 / 32 circuit verification mechanism, a hardware true random number generator, and an anti-tampering detection circuit, ensuring the security of the data encryption process. In contrast, encryption modules in related technologies may only have a limited number of encryption algorithms, or may be unable to support multiple encryption algorithms due to different interface specifications, input / output formats, and key management systems. However, the encryption module provided by this invention, by using this encryption chip in conjunction with an MCU microcontroller, a serial-to-USB communication module, an RS232 communication module, and a circuit board, can support multiple encryption algorithms, adapt to the data encryption needs of different external devices in different scenarios, improve the flexibility of the encryption module, and have a wide range of applications.

[0038] This MCU microcontroller can receive data encryption / decryption requests from external devices via a serial-to-USB communication module or an RS232 communication module. Based on the request, it calls the encryption chip to perform corresponding encryption / decryption processing on the data, and then sends the processed data back to the external device via the same module, thus encrypting the data for the external device. An MCU microcontroller from related technologies can be selected as the encryption module provided in this invention, depending on the requirements. For example, the MCU microcontroller used is an STC8H3K64S4 microcontroller.

[0039] This serial-to-USB communication module can utilize devices with serial-to-USB communication functionality from related technologies, depending on the requirements. For example, this serial-to-USB communication module uses a CH340N chip. The RS232 communication module can also utilize devices with RS232 communication functionality from related technologies, depending on the requirements.

[0040] This circuit board, designed for diverse application scenarios of encryption modules, employs a double-sided PCB (Printed Circuit Board) design, occupying minimal space and facilitating flexible application of the encryption module. Specifically, the circuit board comprises a front and a back side; the MCU microcontroller is soldered to the front side, and the encryption chip is soldered to the back side.

[0041] In practical applications, the external device can be a laptop, desktop computer, industrial control computer, etc. When the encryption module needs to be directly plugged in, a USB terminal can be soldered onto the USB interface pad of the encryption module, allowing direct connection to the external device's universal USB interface. When the encryption module needs to be fixed inside an external device, it can be connected to the USB terminal via the external device's internal USB interface lead, or an RS232 communication terminal can be soldered onto the RS232 interface pad and connected to the RS232 communication terminal via the external device's internal RS232 interface lead. Therefore, the encryption module provided by this embodiment of the invention structurally allows it to be used as a portable Ukey (i.e., a network key) with an added casing, or as an embedded component of an external device. Compared to encryption modules in related technologies that can only be used as Ukeys or embedded components, the encryption module provided by this embodiment of the invention offers greater flexibility and wider application scenarios.

[0042] In one optional implementation, the RS232 interface pad is a 5-pin terminal pad, and the RS232 communication terminal uses a 5-pin terminal. The RS232 interface pad is used for soldering the 5-pin terminal. A pad is a metal contact point on a PCB used for soldering components. Soldering the 5-pin terminal to this RS232 interface pad provides an RS232 communication interface for external devices. External devices can connect to the 5-pin terminal via a connecting cable to establish interaction with the RS232 communication module, and subsequently with the MCU microcontroller. Optionally, with the front of the circuit board as a reference, the 5-pin terminal pad is located at the bottom right of the circuit board.

[0043] In one optional embodiment, the 5-pin terminal pad includes a first pin, a second pin, a third pin, a fourth pin, and a fifth pin arranged sequentially. With the front of the circuit board as a reference, the first pin, second pin, third pin, fourth pin, and fifth pin can be located at the bottom right of the circuit board, arranged sequentially from right to left and extending through the circuit board. The spacing between adjacent pins can be set as needed, for example, 2.0 mm. The second pin and the third pin are used to provide the transmitting and receiving interfaces of the RS232 communication interface for external devices, respectively. Specifically, the configuration can be customized as needed; for example, the second pin can be used to provide the transmitting interface of the RS232 communication interface for external devices, and the third pin can be used to provide the receiving interface of the RS232 communication interface for external devices; or, the third pin can be used to provide the transmitting interface of the RS232 communication interface for external devices, and the second pin can be used to provide the receiving interface of the RS232 communication interface for external devices.

[0044] In one alternative implementation, the fifth pin is used to provide a power interface for an external device. This power interface can support power input from DC 5.5V to DC 12V.

[0045] In one alternative implementation, the first pin is used for grounding, and the fourth pin is used for grounding. By grounding the first and fourth pins, electrical isolation can be achieved between the second and third pins providing the RS232 communication interface and the fifth pin providing the power interface, thereby improving the reliability and security of the encryption module.

[0046] In one optional implementation, the USB interface pad is a USB-A type interface pad for soldering USB-A type male connectors. After soldering the USB-A type male connectors onto the USB interface pad, a universal USB interface can be provided for external devices. With the front of the circuit board as a reference, the USB interface pad can be located at the top of the front of the circuit board and extend through the board.

[0047] In one optional implementation, the circuit board further includes a debug interface pad. This debug interface pad is electrically connected to the MCU microcontroller and is used to solder a 4-pin terminal. This 4-pin terminal is used to connect to an external debugging device, such as a microcontroller programmer. The microcontroller programmer can connect to this 4-pin terminal via a connecting cable, thereby establishing interaction with the MCU microcontroller and enabling debugging of the encryption module. With the front of the circuit board as a reference, the debug interface pad can be located on the upper right side of the front of the circuit board and below the right side of the USB interface pad, extending through the circuit board.

[0048] In one optional implementation, the encryption module further includes a power management circuit electrically connected to the MCU microcontroller, the encryption chip, and the RS232 communication module, respectively, for power management of these components. For example, the power management circuit receives power management commands from external devices via a USB interface or an RS232 communication interface, and then manages the power of the MCU microcontroller, the encryption chip, and the RS232 communication module according to the received commands, such as turning the power on or off. External debugging equipment can also send power management commands to the power management circuit via a debugging interface. The power management circuit can also employ devices with power management functions from related technologies, as needed.

[0049] In one optional embodiment, the circuit board further includes a first fixing hole and a second fixing hole for fixing the encryption module to an external device. Taking the front of the circuit board as a reference, the first fixing hole can be located at the upper right corner of the front of the circuit board and penetrate the circuit board, and the second fixing hole can be located at the lower left corner of the front of the circuit board and penetrate the circuit board. When the encryption module needs to be embedded in an external device, it can be fixed to a mounting post inside the external device using the first fixing hole, the second fixing hole, and screws, thereby improving the stability of the encryption module during operation.

[0050] It should be noted that the programs included in the encryption module provided in this utility model embodiment, such as the program of the MCU microcontroller calling the encryption chip and the program of the encryption chip encrypting and decrypting data, are all implemented using programs with corresponding functions in related technologies, and are not part of the innovation of this utility model.

[0051] The above solution includes an encryption chip, an MCU microcontroller, a serial-to-USB communication module, an RS232 communication module, and a circuit board. The MCU microcontroller, electrically connected to the encryption chip, is used to invoke the encryption chip to encrypt data on external devices. The serial-to-USB communication module, also electrically connected to the MCU microcontroller, converts serial signals to USB signals. The RS232 communication module, also electrically connected to the MCU microcontroller, converts serial signals to RS232 communication signals. The circuit board includes USB interface pads and RS232 interface pads. The USB interface pads are electrically connected to the serial-to-USB communication module, providing a USB interface for external devices. The RS232 interface pads are electrically connected to the RS232 communication module, providing an RS232 communication interface for external devices. Therefore, the encryption module adopts a multi-interface design, using standard USB and RS232 interfaces, achieving interface standardization and diversification. It can be used as a portable Ukey to connect to external devices or as an embedded component of external devices, offering strong compatibility and flexibility, and a wide range of applications.

[0052] Obviously, the above embodiments are merely illustrative examples for clear explanation and are not intended to limit the implementation. Those skilled in the art will recognize that other variations or modifications can be made based on the above description. It is neither necessary nor possible to exhaustively list all possible implementations here. However, obvious variations or modifications derived therefrom are still within the protection scope of this utility model.

Claims

1. An encryption module, characterized in that, The encryption module includes: Encryption chip; An MCU microcontroller, electrically connected to the encryption chip, is used to invoke the encryption chip to perform data encryption on external devices; A serial-to-USB communication module is electrically connected to the MCU microcontroller and is used to convert serial signals into USB signals. An RS232 communication module is electrically connected to the MCU microcontroller and is used to convert serial port signals into RS232 communication signals. The circuit board includes a USB interface pad and an RS232 interface pad; the USB interface pad is electrically connected to the serial-to-USB communication module and is used to provide a USB interface for external devices; the RS232 interface pad is electrically connected to the RS232 communication module and is used to provide an RS232 communication interface for external devices.

2. The encryption module according to claim 1, characterized in that, The RS232 interface pad is a 5-pin terminal pad, used for soldering 5-pin terminals.

3. The encryption module according to claim 2, characterized in that, The 5-pin terminal pad includes a first pin, a second pin, a third pin, a fourth pin, and a fifth pin arranged in sequence; wherein, the second pin and the third pin are used to provide the transmitting interface and the receiving interface of the RS232 communication interface for external devices, respectively.

4. The encryption module according to claim 3, characterized in that, The fifth pin is used to provide a power interface for external devices.

5. The encryption module according to claim 4, characterized in that, The first pin is used for grounding; the fourth pin is used for grounding.

6. The encryption module according to any one of claims 1 to 5, characterized in that, The USB interface pad is a USB-A type interface pad, used for soldering USB-A type male connector terminals.

7. The encryption module according to any one of claims 1 to 5, characterized in that, The circuit board also includes a debug interface pad; the debug interface pad is electrically connected to the MCU microcontroller and is used to solder 4-pin terminals; the 4-pin terminals are used to connect to the microcontroller program debugger / programmer.

8. The encryption module according to any one of claims 1 to 5, characterized in that, The encryption module further includes a power management circuit; the power management circuit is electrically connected to the MCU microcontroller, the encryption chip and the RS232 communication module respectively, and is used to perform power management on the MCU microcontroller, the encryption chip and the RS232 communication module respectively.

9. The encryption module according to any one of claims 1 to 5, characterized in that, The circuit board also includes a first fixing hole and a second fixing hole; the first fixing hole and the second fixing hole are used to fix the encryption module to an external device.