Network data security transmission system
VPP+DPDK takes over the encryption and decryption processing of network cards and edge computing chips, and solves the problems of insufficient data transmission delay and security in traditional network security solutions, improves the security and efficiency of network data transmission, and is suitable for enterprise-level servers.
Patent Information
- Application Number
- CN202411004371.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-25
- Publication Date
- 2024-12-03
AI Technical Summary
Traditional network security solutions pose high latency and risk of kernel crashes during data transmission, making it difficult to effectively ensure the confidentiality and integrity of the data.
The VPP+DPDK solution is adopted to take over the network card. By processing network packets in the user space and encrypting and decrypting data on the edge computing chip, combining the key negotiation module and the data subcontracting module, ensuring the security and efficiency of data transmission.
It realizes direct processing of network packets in user space, reducing latency, improving throughput, and ensuring the security and efficiency of data transmission through edge computing chips, and is suitable for enterprise-level servers.
Smart Images

Figure CN119070979A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to network security technology, and in particular to a network data security transmission system. Background Art
[0002] With the development of the Internet, network security issues have become increasingly prominent, especially in the process of data transmission, how to ensure the confidentiality and integrity of data has become a key issue. Traditional network security solutions mainly rely on hooking the Linux kernel to get data to user mode for modification and then put it back into the kernel, which takes a lot of time and can easily cause kernel crashes. Summary of the invention
[0003] The technical problem to be solved by the present invention is to provide a network data security transmission system to improve the security and transmission efficiency of network data transmission.
[0004] The technical solution adopted by the present invention to solve the above technical problems is:
[0005] A network data security transmission system, comprising: a data capture module, a data encryption and decryption module and a key negotiation module;
[0006] The data capture module adopts the VPP (Vector Packet Processing) + DPDK (Data Plane Development Kit) solution, takes over the network card through DPDK, and uses the VPP node scheduling mechanism to capture and process IPv4 packets using the newly added data processing node before the ip4-lookup (ipv4) node;
[0007] The data encryption and decryption module uses the edge computing chip to encrypt and decrypt the data captured by the data capture module;
[0008] The key negotiation module obtains the key negotiation request information through the data processing node, transmits it to the edge computing chip for key negotiation, and sends the key negotiation reply to the output interface through the data processing node.
[0009] Furthermore, the system also includes:
[0010] The data subpacketization module is responsible for repacketizing the captured data before encrypting it, ensuring that the length of the encrypted message after packetization does not exceed the MTU (Maximum Transmission Unit) value.
[0011] Furthermore, the system also includes:
[0012] The MTU automatic acquisition module is responsible for dynamically obtaining the MTU value of the link through the path MTU discovery method.
[0013] Furthermore, the data captured by the data capture module is encrypted, including:
[0014] The edge computing chip is used to combine the captured data with the real IP, port and protocol information into a message, and then encrypted using the negotiated key.
[0015] Furthermore, the data captured by the data capture module is decrypted, including:
[0016] The edge computing chip is used to decrypt the encrypted message that needs to be decrypted using the negotiated key to obtain the original data.
[0017] The beneficial effects of the present invention are:
[0018] Based on the system architecture provided by the present invention, by taking over the network card through DPDK, network packets can be processed directly in user space without going through the Linux kernel, thereby reducing latency; and through VPP node scheduling, multiple data tables can be processed in parallel at one time to improve throughput; and the edge computing chip can encrypt and decrypt the captured data to ensure data transmission security; therefore, the present invention is based on the VPP+DPDK architecture and integrates the security processing solution of the edge computing chip to improve the security and transmission efficiency of network data transmission. The system is particularly suitable for enterprise-level servers. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] Figure 1 4 is a structural diagram of a network data security transmission system in an embodiment of the present invention. DETAILED DESCRIPTION
[0020] The present invention aims to provide a network data security transmission system to improve the security and transmission efficiency of network data transmission. The system obtains network data through VPP+DPDK to improve transmission efficiency, and uses edge computing chips to encrypt and decrypt data to achieve data security transmission.
[0021] Specifically, the system architecture mainly includes a data capture module, a data encryption and decryption module, and a key negotiation module; among them, the data capture module adopts the VPP+DPDK solution, takes over the network card through DPDK, and uses the VPP node scheduling mechanism to utilize the newly added data processing node before the ip4-lookup node to capture and process the IPv4 message; the data encryption and decryption module utilizes the edge computing chip to encrypt and decrypt the data captured by the data capture module; the key negotiation module obtains the key negotiation request information through the data processing node, and transmits it to the edge computing chip for key negotiation, and sends the key negotiation reply to the output interface through the data processing node.
[0022] Example
[0023] See also Figure 1 The network data security transmission system provided in this embodiment includes: a data capture module, a data encryption and decryption module, a key negotiation module, a data packetization module, and an MTU automatic acquisition module; each module is specifically described as follows:
[0024] (1) Data capture module:
[0025] The VPP+DPDK solution is adopted to take over the network card through DPDK (that is, the network card data is directly taken over to the user state without passing through the Linux kernel), and a new node is added in VPP (this embodiment will be called CH node) to capture and process IPv4 packets before the ip4-lookup node.
[0026] (2) Data encryption and decryption module:
[0027] Message encryption: The CH node passes the captured message to the AI edge computing chip, which uses the negotiated key to encrypt the data part of the message to form a new encrypted message. The encrypted message is transmitted to the target address through the network.
[0028] Message decryption: After the external network port receives the encrypted message, the CH node determines whether it needs to be decrypted. If necessary, it is passed to the artificial intelligence edge computing chip for decryption using the negotiated key. The decrypted message is restored to the original data and passed to the target device.
[0029] (3) Key negotiation module:
[0030] The key negotiation request is identified by the CH node and passed to the artificial intelligence edge computing chip. The artificial intelligence edge computing chip processes the key negotiation information and generates a reply message. The CH node sends the key negotiation reply information to the output interface to complete the key negotiation interaction process.
[0031] (4) Data subpackaging module:
[0032] Before encrypting the data, the current data is packetized to ensure that the length of the encrypted message does not exceed the MTU, thereby ensuring that the encrypted message after packetization will not be fragmented during network transmission.
[0033] (5)MTU automatic acquisition module:
[0034] The MTU value of the link is dynamically obtained through the path MTU discovery method, thus providing a reasonable basis for fragmentation. The path MTU discovery method is: the source address sets the DF bit of the datagram and gradually increases the size of the sent datagram. The devices on the path will discard the oversized datagram and return an ICMP response. The source host learns the maximum transmission unit MTU that does not require fragmentation.
[0035] Finally, it should be noted that the above embodiments are only preferred implementations and are not intended to limit the present invention. It should be pointed out that for those skilled in the art, several modifications, equivalent replacements, improvements, etc. can be made without departing from the scope of the present invention and the scope of protection of the claims, and all of these should be included in the protection scope of the present invention.
Claims
1. A network data security transmission system, characterized in that: include: Data capture module, data encryption and decryption module and key negotiation module; The data capture module adopts the VPP+DPDK solution, takes over the network card through DPDK, and uses the VPP node scheduling mechanism to capture and process IPv4 messages using the data processing node newly added before the ip4-lookup node; The data encryption and decryption module uses the edge computing chip to encrypt and decrypt the data captured by the data capture module; The key negotiation module obtains the key negotiation request information through the data processing node, transmits it to the edge computing chip for key negotiation, and sends the key negotiation reply to the output interface through the data processing node.
2. A network data security transmission system as claimed in claim 1, characterized in that: The system also includes: a data packetization module, which is responsible for re-packaging the captured data before encrypting it, to ensure that the length of the encrypted message after packetization does not exceed the MTU value.
3. A network data security transmission system as claimed in claim 1, characterized in that: The MTU automatic acquisition module is responsible for dynamically obtaining the MTU value of the link through the path MTU discovery method.
4. A network data security transmission system as described in any one of claims 1 to 3, characterized in that: Encrypt the data captured by the data capture module, including: The edge computing chip is used to combine the captured data with the real IP, port and protocol information into a message, and then encrypted using the negotiated key.
5. A network data security transmission system as described in any one of claims 1 to 3, characterized in that: Decrypt the data captured by the data capture module, including: The edge computing chip is used to decrypt the encrypted message that needs to be decrypted using the negotiated key to obtain the original data.
