Intelligent gateway supporting detachable high-speed data encryption and decryption communication module

By using field programmable gate array embedded encryption and decryption modules and plug-in modules in intelligent gateways, the calculation and bandwidth overhead problems caused by smart terminal encryption are solved, and efficient data encryption and decryption is achieved, reducing system costs and improving performance.

CN221995470UActive Publication Date: 2024-11-12LOOTOM TELCOVIDEO NETWORK WUXI
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202420065231.X
Authority / Receiving Office
CN · China
Patent Type
Utility models(China)
Current Assignee / Owner
Filing Date
2024-01-11
Publication Date
2024-11-12
Estimated Expiration
2034-01-11

AI Technical Summary

Technical Problem

The encryption method of existing smart terminals is implemented based on software, which leads to an increase in computing and bandwidth overhead, affects performance, and requires higher costs to improve performance when the amount of data interaction increases.

Method used

Design an intelligent gateway that supports detachable high-speed data encryption and decryption communication module, uses the field programmable gate array embedded encryption and decryption module to provide hardware support for multi-channel data encryption and decryption, and combines the plug-in module to realize encryption and decryption operations, reducing costs and improve performance.

Benefits of technology

Data encryption and decryption are realized through hardware encryption and decryption modules, which reduces system overhead, improves the performance and scalability of smart terminals, and is suitable for application scenarios with large data interactions, while reducing costs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN221995470U_ABST
    Figure CN221995470U_ABST
Patent Text Reader

Abstract

The intelligent gateway supporting the detachable high-speed data encryption and decryption communication module provided by the utility model comprises a field programmable gate array, an encryption and decryption module is embedded in the field programmable gate array to provide encryption service for data, and a pluggable FPGA module is realized on an intelligent terminal in cooperation with a plug-in module. The operability and expandability of the intelligent terminal are improved, and it is ensured that a user can upgrade the network data encryption strength with low cost under the condition that original hardware is not replaced; based on the defined multiple data channels, channels are provided for parallel processing of multiple data between the field-programmable gate array and the main control chip and between the field-programmable gate array and the wired network unit, and it is ensured that the intelligent terminal is suitable for application scenes with the large data interaction amount.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The utility model relates to the technical field of intelligent gateways, in particular to an intelligent gateway supporting a detachable high-speed data encryption and decryption communication module. Background Art

[0002] In the process of urban digital construction, various smart terminals such as sensors, cameras, and smart gateways are widely used in different commercial or private scenarios, involving the transmission of a large amount of data, and data transmission security has become an increasingly important issue. The transmission encryption method of civilian smart terminals in the prior art is usually implemented using software encryption based on cost considerations. The encryption algorithm is embedded in the main control chip of the smart terminal, and the main control chip encrypts the received data based on the encryption algorithm and sends it. The method of adding encryption algorithms to the main control chip usually increases computing and bandwidth overhead, affecting the overall performance of the smart terminal. If the amount of data interaction of smart devices increases and the system overhead is too large, the designer has to invest more costs in exchange for smart terminals with more powerful performance, but this can only be achieved by replacing the terminal, resulting in increased system costs. Summary of the invention

[0003] In order to solve the problem that the existing smart terminal encryption method in the prior art will increase the computing and bandwidth overhead, the utility model provides an intelligent gateway that supports a detachable high-speed data encryption and decryption communication module, which can provide hardware support for hardware-based multi-channel transmission data encryption and decryption processes at a relatively low cost.

[0004] The structure of the utility model is as follows: an intelligent gateway supporting a detachable high-speed data encryption and decryption communication module, comprising: a main control chip, and a wireless network unit, a wired network unit, a Bluetooth module, a touch display screen and an expansion port that are communicatively connected to the main control chip;

[0005] The wired network unit includes more than one ETH unit, and each ETH unit includes a PHY chip and an RJ45 socket;

[0006] The expansion ports include: Audio output port, UART, USB interface, PWM interface and HDMI interface;

[0007] The main control chip communicates data with the touch display screen via a combination of an HDMI video port and a USB port;

[0008] Characterized in that it also includes: a field programmable gate array, a plug-in module, an encryption and decryption module and a storage module for encryption and decryption;

[0009] The field programmable gate array is arranged between the main control chip and the wired network unit;

[0010] The encryption and decryption module and the encryption and decryption storage module are integrated in the programmable gate array; the encryption and decryption module stores the encryption and decryption algorithm; the encryption and decryption storage module is used to store the intermediate data in the encryption and decryption process; the encryption and decryption module is electrically connected to the encryption and decryption storage module;

[0011] The data entering the field programmable gate array is sent to the encryption and decryption module for encryption and decryption operations, and after the encryption and decryption operations are completed, the data is sent out of the field programmable gate array;

[0012] The plug-in module is a slot on the bottom board of the intelligent network terminal, which provides the field programmable gate array with pins for communicating with the main control chip and network interface of the intelligent terminal; the plug-in module is implemented based on the BTB connector;

[0013] In the field programmable gate array, a data signal line MDIO pin GMAC0_MDIO and a clock signal line MDC pin GMAC0_MDC are defined for communication with the main control chip; a data signal line pin MDIO PHY0_GMAC0_MDIO and a clock signal line pin MDCPHY0_GMAC0_MDC are defined for communication with the wired communication unit, supporting communication based on MDIO-MDC control signals and transmission of control operation signals;

[0014] In the field programmable gate array, for multi-channel parallel communication with the master control chip, data channels are defined: a master control data receiving signal channel and a master control data sending signal channel;

[0015] The master control data receiving signal channel includes: GMAC0_RXD0, GMAC0_RXD1, GMAC0_RXD2 and GMAC0_RXD3;

[0016] The master control data transmission signal channel includes: GMAC0_TXD0, GMAC0_TXD1, GMAC0_TXD2 and GMAC0_TXD3;

[0017] In the field programmable gate array, data channels are defined for multi-channel parallel communication with the wired network unit: a wired data receiving signal channel and a wired data sending signal channel;

[0018] The wired data receiving signal channel includes: PHY0_RXD0 / RXDLY, PHY0_RXD1 / TXDLY, PHY0_RXD2 / PLLOFF and PHY0_RXD3 / PHYAD0;

[0019] The wired data transmission signal channel includes: PHY0_GMAC0_TXD0, PHY0_GMAC0_TXD1, PHY0_GMAC0_TXD2 and PHY0_GMAC0_TXD3.

[0020] It is further characterized by:

[0021] The encryption and decryption module includes: a first encryption module and a second encryption and decryption module, wherein the first encryption module stores a random number encryption and decryption algorithm; the second encryption and decryption module stores a domestic commercial encryption and decryption algorithm, including: SM1, SM2, SM3 and SM4;

[0022] The encryption and decryption storage module is implemented based on a status register.

[0023] The utility model provides an intelligent gateway supporting a detachable high-speed data encryption and decryption communication module, which includes a field programmable gate array, an encryption and decryption module embedded in the field programmable gate array to provide encryption services for data, and a plug-in module is used to implement a pluggable FPGA module on an intelligent terminal, thereby improving the operability and scalability of the intelligent terminal, ensuring that users can upgrade the encryption strength of network data at a relatively low cost without replacing the original hardware; based on the defined multiple data channels, channels are provided for the field programmable gate array to respectively implement multiple data parallel processing with the main control chip and the wired network unit, ensuring that the intelligent terminal in this application is suitable for application scenarios with a large amount of data interaction. BRIEF DESCRIPTION OF THE DRAWINGS

[0024] Figure 1 It is a schematic diagram of the system structure of the intelligent terminal;

[0025] Figure 2 It is a schematic diagram of the module structure in a programmable gate array;

[0026] Figure 3 It is a pin diagram of a field programmable gate array;

[0027] Figure 4 A schematic diagram of the pins of the plug-in module. DETAILED DESCRIPTION

[0028] like Figure 1 As shown, the utility model includes an intelligent gateway supporting a detachable high-speed data encryption and decryption communication module, which includes a main control chip, and a wireless network unit Wi-Fi, a programmable gate array FPGA, a Bluetooth module, a touch display screen and an expansion port that are communicatively connected to the main control chip.

[0029] The wired network unit includes more than one ETH unit, each ETH unit includes a PHY chip and an RJ45 socket; in this embodiment, two ETH units are included: ETH0 and ETH1.

[0030] Expansion ports include: Audio output port, UART, USB interface, PWM interface and HDMI interface.

[0031] In specific implementation, the main control chip can be connected to an external display via HDMI, and the main control chip communicates data with the touch display screen through a combination of the HDMI video port and the USB port. Based on RS232 / 485 signal output: supports RS232 signal and 485 signal output to control external devices, such as temperature and humidity sensors, air quality monitoring equipment, light sensors, etc.; can be connected to other devices via Wi-Fi, Bluetooth or Ethernet to achieve remote control and centralized management. At the same time, the device supports hotspot sharing and permission authentication functions, and network sharing is performed through the device's built-in Wi-Fi or through a universal AP connected to the network port. The intelligent gateway of this application supports POE power supply while providing external network through the network port, which facilitates the access of POE cameras, POE sound columns, POE bridges and other devices.

[0032] Field Programmable Gate Array (FPGA) refers to a semiconductor chip that directly implements digital circuits and analog circuits on hardware through programmable technology. FPGA has the ability to implement various operations, controls, and signal processing at high speed, flexibly, and repeatedly. Compared with traditional fixed-function chips, FPGA has the advantages of reconfigurability, scalability, and strong adaptability. In the field of data encryption, FPGA's high-speed data encryption technology can be used to implement various encryption protocols (such as SSL, TLS, IPSec, etc.) and key exchange protocols (such as Diffie-Hellman, etc.) to improve the security transmission performance of data. In the field of encryption processing, FPGA can be used to implement various encryption algorithms, such as AES, RSA, DES, etc., to ensure the security and reliability of data. FPGA uses non-volatile storage to ensure the security of keys and avoid information leakage. In addition, FPGA has strong anti-interference ability, low power consumption and reliability. In the prior art, field programmable gate arrays can be designed according to hardware architecture, and VHDL / Verilog description files can be written for hardware programming to implement various functions.

[0033] The field programmable gate array FPGA in this application is a detachable module. By connecting the PHY of the MII / RGMII interface and the main control chip MCU, the gateway device has physical security and can prevent unauthorized physical access. By setting up a pluggable FPGA module, it is ensured that the intelligent gateway supports both internal CPU encryption and decryption and pluggable FPGA encryption and decryption modules for performing encryption and decryption operations. Such hardware can process large amounts of data without affecting the overall performance of the device, while flexibly configuring the device, so that the device has a cost advantage while ensuring demand.

[0034] In this embodiment, the model of the main control chip of the intelligent terminal is RK3568, the model of the PHY chip is RTL8211F, and the field programmable gate array FPGA is implemented based on an existing commercial FPGA module.

[0035] like Figure 2 As shown, the data input and output module, the encryption and decryption module and the encryption and decryption storage module are integrated in the programmable gate array;

[0036] The encryption and decryption module stores the encryption and decryption algorithm; the encryption and decryption storage module is used to store the intermediate data in the encryption and decryption process; the encryption and decryption module is electrically connected to the encryption and decryption storage module; the encryption and decryption storage module is implemented based on the state register. The specific implementation of the data input and output module and the encryption and decryption module can be implemented based on the existing FPGA technology.

[0037] The encryption and decryption algorithm stored in the encryption and decryption module can be implemented based on the encryption and decryption algorithm in the prior art. In this embodiment, the encryption and decryption module includes: a first encryption module and a second encryption and decryption module. The first encryption module stores a random number encryption and decryption algorithm. The specific algorithm can be implemented based on the random encryption algorithm or random password generator in the prior art. The second encryption and decryption module stores domestic commercial encryption and decryption algorithms, including: SM1, SM2, SM3 and SM4. The data entering the field programmable gate array is sent to the data input and output module for temporary storage, and the encryption and decryption operation is performed in the encryption and decryption module. After the encryption and decryption operation is completed, it is sent to the data input and output module for cache and sent out of the field programmable gate array.

[0038] like Figure 3 and Figure 4 As shown, the plug-in module BTB connector is a slot on the bottom board of the intelligent network terminal, which provides the field programmable gate array with pins for communicating with the main control chip and network interface of the intelligent terminal; users can selectively insert CONNECT or FPGA modules through the slot on the bottom board of the intelligent network terminal. The plug-in module BTB connector supports hot-swapping of FPGA modules, and users can set the number of programmable gate arrays FPGA according to actual needs, ensuring that FPGA modules can be easily added or removed on the intelligent terminal of this application.

[0039] When the FPGA module is not used and CONNECT is inserted, the main control RK3568 is connected to the PHY and communicates with the external network through RJ45. If the network data is encrypted data, it will be decrypted by the software module and processed; if it is plain text, it will be used directly.

[0040] When the FPGA module is inserted, the master RK3568 is connected to the PHY after passing through the FPGA module, and then communicates with the external network through RJ45. If the network data is encrypted data, it will be decrypted by FPGA and sent to the master RK3568 to achieve the purpose of accelerated decryption; if it is plain text data, it will be sent directly to the master RK3568.

[0041] The field programmable gate array defines the following for communication with the main control chip:

[0042] The pin GMAC0_MDIO of the data signal line MDIO and the pin GMAC0_MDC of the clock signal line MDC;

[0043] The following are defined for communication with the intelligent terminal network interface:

[0044] The data signal line pin MDIO PHY0_GMAC0_MDIO and the clock signal line pin MDC PHY0_GMAC0_MDC support the transmission of communication and control operation signals based on MDIO-MDC control signals.

[0045] FPGA supports communication and control operations through MDIO / MDC control signals, such as encryption / decryption keys, random parameters, encryption / decryption methods, etc. Based on the plug-in module, when the main control chip sends data, it passes through the FPGA module and then connects to the PHY, and then communicates with the external network through RJ45; external data is sent to the PHY based on the RJ45 interface, and then sent to the main control chip through the FPGA.

[0046] In the field programmable gate array, the connection pins from the field programmable gate array to the main control chip are defined as follows:

[0047] GMAC0_RXCLK, receive data reference clock;

[0048] GMAC0_RXDV_CRS, receive data valid signal, action type is on TX_EN of the transmit channel;

[0049] GMAC0_RXD0, data receiving signal;

[0050] GMAC0_RXD1, data receiving signal;

[0051] GMAC0_RXD2, data receiving signal;

[0052] GMAC0_RXD3, data receiving signal;

[0053] GMAC0_TXCLK, transmit reference clock;

[0054] GMAC0_TXEN, send enable signal, only the data transmitted during the validity period of TX_EN is valid;

[0055] GMAC0_TXD0, data transmission signal;

[0056] GMAC0_TXD1, data transmission signal;

[0057] GMAC0_TXD2, data transmission signal;

[0058] GMAC0_TXD3, data transmission signal;

[0059] GMAC0_MDIO, data signal line MDIO;

[0060] GMAC0_MDC, clock signal line MDC;

[0061] ETH0_REFCLKO_25M, 25M clock signal line.

[0062] In the field programmable gate array, the connection pins defined for communication from the field programmable gate array to the intelligent terminal network interface include:

[0063] PHY0_RXCLK / PHYAD1, receive data reference clock;

[0064] PHY0_RXDV / PHYAD2, receive data valid signal;

[0065] PHY0_RXD0 / RXDLY, data receiving signal;

[0066] PHY0_RXD1 / TXDLY, data receiving signal;

[0067] PHY0_RXD2 / PLLOFF, data receiving signal

[0068] PHY0_RXD3 / PHYAD0, data receiving signal;

[0069] PHY0_GMAC0_TXCLK, transmit reference clock;

[0070] PHY0_GMAC0_TXEN, transmit enable signal;

[0071] PHY0_GMAC0_TXD0, data transmission signal;

[0072] PHY0_GMAC0_TXD1, data transmission signal;

[0073] PHY0_GMAC0_TXD2, data transmission signal;

[0074] PHY0_GMAC0_TXD3, data transmission signal;

[0075] PHY0_GMAC0_MDIO, data signal line MDIO;

[0076] PHY0_GMAC0_MDC, clock signal line MDC;

[0077] PHY0_CLKOUT25, 25M clock signal line;

[0078] PHY0_GMAC0_RSTn, reset signal line.

[0079] After using the technical solution of the utility model, the plug-in module BTB connector supports hot plugging of FPGA modules. When the amount of data is large, one or more FPGA modules are used, and when the amount of data required is not large, the FPGA module can be removed to maintain competitive advantage and ensure economic benefits. At the same time, the parallelism of the module allows multiple data channels to be processed simultaneously, thereby improving the overall throughput, which is very beneficial for systems that need to process multiple data sources or communication channels. The encryption and decryption module using this technical solution can also be easily integrated into traditional network transmission terminal equipment.

Claims

1. An intelligent gateway supporting a detachable high-speed data encryption and decryption communication module, comprising: A main control chip, and a wireless network unit, a wired network unit, a Bluetooth module, a touch display screen and an expansion port that are communicatively connected to the main control chip; The wired network unit includes more than one ETH unit, and each ETH unit includes a PHY chip and an RJ45 socket; The expansion ports include: Audio output port, UART, USB interface, PWM interface and HDMI interface; The main control chip communicates data with the touch display screen via a combination of an HDMI video port and a USB port; Characterized in that it also includes: a field programmable gate array, a plug-in module, an encryption and decryption module and a storage module for encryption and decryption; The field programmable gate array is arranged between the main control chip and the wired network unit; The encryption and decryption module and the encryption and decryption storage module are integrated in the programmable gate array; the encryption and decryption module stores the encryption and decryption algorithm; the encryption and decryption storage module is used to store the intermediate data in the encryption and decryption process; the encryption and decryption module is electrically connected to the encryption and decryption storage module; The data entering the field programmable gate array is sent to the encryption and decryption module for encryption and decryption operations, and after the encryption and decryption operations are completed, the data is sent out of the field programmable gate array; The plug-in module is a slot on the bottom board of the intelligent network terminal, which provides the field programmable gate array with pins for communicating with the main control chip and network interface of the intelligent terminal; the plug-in module is implemented based on the BTB connector; In the field programmable gate array, a data signal line MDIO pin GMAC0_MDIO and a clock signal line MDC pin GMAC0_MDC are defined for communication with the main control chip; a data signal line pin MDIO PHY0_GMAC0_MDIO and a clock signal line pin MDC PHY0_GMAC0_MDC are defined for communication with the wired network unit, supporting communication based on MDIO-MDC control signals and transmission of control operation signals; In the field programmable gate array, for multi-channel parallel communication with the master control chip, data channels are defined: a master control data receiving signal channel and a master control data sending signal channel; The master control data receiving signal channel includes: GMAC0_RXD0, GMAC0_RXD1, GMAC0_RXD2 and GMAC0_RXD3; The master control data transmission signal channel includes: GMAC0_TXD0, GMAC0_TXD1, GMAC0_TXD2 and GMAC0_TXD3; In the field programmable gate array, data channels are defined for multi-channel parallel communication with the wired network unit: a wired data receiving signal channel and a wired data sending signal channel; The wired data receiving signal channel includes: PHY0_RXD0 / RXDLY, PHY0_RXD1 / TXDLY, PHY0_RXD2 / PLLOFF and PHY0_RXD3 / PHYAD0; The wired data transmission signal channel includes: PHY0_GMAC0_TXD0, PHY0_GMAC0_TXD1, PHY0_GMAC0_TXD2 and PHY0_GMAC0_TXD3.

2. According to claim 1, a smart gateway supporting a detachable high-speed data encryption and decryption communication module is characterized in that: The encryption and decryption module includes: a first encryption module and a second encryption and decryption module. The first encryption module stores a random number encryption and decryption algorithm; the second encryption and decryption module stores domestic commercial encryption and decryption algorithms, including: SM1, SM2, SM3 and SM4.

3. According to claim 1, a smart gateway supporting a detachable high-speed data encryption and decryption communication module is characterized in that: The encryption and decryption storage module is implemented based on a status register.