Quantum encryption and national secret encryption fusion encryption device and system

By introducing quantum encryption modules and virtual card transmission technology into state-of-the-art encryption equipment, combined with the IPsec protocol stack, the integration of quantum encryption and state-of-the-art encryption is achieved, solving the problems of integration difficulty and high transformation costs, and achieving multiple security guarantees and low costs. reduce.

CN118740374APending Publication Date: 2024-10-01MATRICTIME DIGITAL TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410766292.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-14
Publication Date
2024-10-01

AI Technical Summary

Technical Problem

Existing technology is difficult to integrate quantum encryption and state-secret encryption, and the transformation cost is high. It cannot effectively deal with the security threat of quantum computing to state-secret encryption equipment.

Method used

Design a converged encryption device and system that includes a quantum encryption module and a state-secret encryption module, transmits quantum ciphertext data through a virtual card, and uses the IPsec protocol stack for state-of-the-art encryption to achieve the integration of quantum encryption and state-of-the-art encryption and reduce the need for modification. cost.

Benefits of technology

It achieves multiple security guarantees and anti-quantum requirements for data transmission, reduces the cost and difficulty of transforming state-secret encryption equipment, reuses the existing state-of-the-art encryption network, and reduces the cost of fusion technology.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118740374A_ABST
    Figure CN118740374A_ABST
Patent Text Reader

Abstract

The invention discloses fusion encryption equipment and system of quantum encryption and national secret encryption. The fusion encryption equipment comprises the quantum encryption module and the national secret encryption module, so that the fusion of the quantum encryption technology and the national secret encryption technology is realized, and multiple security assurance in the data transmission process and the anti-quantum requirement of data transmission are realized. After the quantum encryption module performs quantum encryption on the to-be-encrypted application data, the obtained quantum ciphertext data is transmitted to the national cryptographic encryption module through the virtual card, and the national cryptographic encryption module can perform national cryptographic encryption on the quantum ciphertext data subsequently. The quantum ciphertext data is transmitted to opposite-end equipment through an IPsec protocol stack in the national secret encryption module, so that a national secret encryption network used by the existing national secret encryption equipment for sending data through the IPsec protocol stack is multiplexed, namely, a communication network architecture used by the fusion encryption equipment does not need to be transformed; and the cost of fusing quantum encryption and national encryption is reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of computer network technology, and in particular to an encryption device and system that integrates quantum encryption and national secret encryption. Background Art

[0002] With the rapid development of information technology, network security issues have become increasingly important. The National Secret Algorithm (SM series algorithm), as a cryptographic algorithm independently developed by my country, has been widely used in key areas such as e-government, finance, energy, and transportation, providing a solid guarantee for information security. However, with the rapid development of quantum computing technology, its threat to the security of the existing public key cryptography system has gradually emerged, which makes encryption devices based on the National Secret Algorithm also face unprecedented challenges.

[0003] In order to meet this challenge, it has become a feasible solution to consider introducing quantum encryption technology into national secret encryption equipment. Quantum encryption technology is based on the basic principles of quantum mechanics, has theoretically unconditional security, and can theoretically resist attacks from quantum computers. However, the main means of implementing quantum encryption technology is quantum key distribution (QKD) technology. QKD technology generates keys by transmitting quantum states and has extremely high security. However, QKD technology requires dedicated equipment and quantum network support, which makes it impossible for national secret encryption equipment to directly use the existing national secret security network to implement quantum encryption. At the same time, the construction of dedicated quantum equipment and quantum networks requires a lot of capital and technical investment, which is too costly for ordinary users and difficult to afford.

[0004] The above-mentioned problems make it difficult to integrate quantum encryption and national encryption. Based on this, how to meet the anti-quantum requirements of national encryption equipment while reducing the cost of transformation as much as possible is an urgent problem to be solved. Summary of the invention

[0005] The embodiments of the present application provide a fusion encryption device and system of quantum encryption and national secret encryption, so as to solve the existing problem that it is very difficult to fuse quantum encryption and national secret encryption, and the transformation cost is high.

[0006] In a first aspect, the present application provides a fusion encryption device of quantum encryption and national secret encryption, the fusion encryption device comprising: a quantum encryption module and a national secret encryption module;

[0007] The quantum encryption module is used to receive application data to be encrypted; determine the first IP address based on the application IP address carried by the application data to be encrypted; perform quantum encryption on the application data to be encrypted based on a pre-stored quantum key to obtain quantum encrypted application data; and transmit the quantum ciphertext data to the national encryption module through a pre-configured virtual card; wherein the quantum ciphertext data encapsulates the first IP address and the quantum encrypted application data;

[0008] The national secret encryption module is used to receive the quantum ciphertext data through the IPsec protocol stack in the national secret encryption module; and, when the IPsec protocol stack determines that the first IP address carried by the quantum ciphertext data meets the preset national secret encryption conditions, perform national secret encryption on the quantum ciphertext data to obtain quantum ciphertext data after national secret encryption; and, send the quantum ciphertext data after national secret encryption to the peer device through the IPsec protocol stack.

[0009] In a second aspect, the present application provides a fusion encryption system of quantum encryption and national secret encryption, and the fusion encryption system includes: at least two fusion encryption devices as described above.

[0010] The beneficial effects of this application are as follows:

[0011] 1. Since the fusion encryption device includes a quantum encryption module and a national encryption module, the quantum encryption module provides quantum encryption services for the fusion encryption device, and the national encryption module provides national encryption services for the fusion encryption device, thereby realizing the fusion of quantum encryption and national encryption technologies, and realizing multiple security guarantees in the data transmission process and the anti-quantum requirements of data transmission.

[0012] 2. After the quantum encryption module obtains the application data to be encrypted, it will determine the first IP address based on the application IP address carried by the application data to be encrypted, and then transmit the quantum ciphertext data encapsulated with the first IP address to the national encryption module, so that the IPsec protocol in the national encryption module can determine whether the first IP address carried by the quantum ciphertext data meets the preset national encryption conditions, and when the IPsec protocol stack determines that the first IP address carried by the quantum ciphertext data meets the preset national encryption conditions, call the national encryption service to perform national encryption on the quantum ciphertext data, which is not only conducive to improving the security of the national encryption module, but also reduces the cost of technical transformation of the existing national encryption equipment, and reduces the difficulty of meeting the anti-quantum requirements of the national encryption equipment.

[0013] 3. After the quantum encryption module performs quantum encryption on the application data to be encrypted, it transmits the obtained quantum ciphertext data to the national encryption module through a virtual card. Subsequently, the national encryption module can perform national encryption on the quantum ciphertext data and transmit the quantum ciphertext data to the opposite device through the IPsec protocol stack in the national encryption module, thereby reusing the national encryption network used by the existing national encryption device to send data through the IPsec protocol stack. That is, there is no need to transform the communication network architecture used by the integrated encryption device, thereby reducing the cost of integrating the two technologies of quantum encryption and national encryption.

[0014] Other features and advantages of the present application will be described in the following description, and partly become apparent from the description, or be understood by practicing the present application. The purpose and other advantages of the present application can be realized and obtained by the structures specifically pointed out in the written description, claims, and drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0015] The drawings described herein are used to provide a further understanding of the present application and constitute a part of the present application. The illustrative embodiments of the present application and their descriptions are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:

[0016] Figure 1 A schematic diagram of the structure of a fusion encryption device of quantum encryption and national secret encryption provided in an embodiment of the present application;

[0017] Figure 2 A schematic diagram of the structure of a converged encryption terminal provided in an embodiment of the present application;

[0018] Figure 3 A schematic diagram of the structure of a fusion encryption server provided in an embodiment of the present application;

[0019] Figure 4 A schematic diagram of the encryption process of a specific fusion encryption terminal provided in an embodiment of the present application;

[0020] Figure 5 A schematic diagram of a specific decryption process of a fusion encryption server provided in an embodiment of the present application;

[0021] Figure 6 A schematic diagram of the structure of a fusion encryption system of quantum encryption and national secret encryption provided in an embodiment of the present application. DETAILED DESCRIPTION

[0022] In order to meet the anti-quantum requirements of national secret encryption equipment while reducing the transformation cost as much as possible, the embodiment of the present application provides an encryption device and system that integrates quantum encryption and national secret encryption.

[0023] The terms "first", "second", etc. in the description and claims of the embodiments of the present application and the above drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the numbers used in this way can be interchanged where appropriate, so that the embodiments described herein can be implemented in an order other than that illustrated or described herein.

[0024] The "multiple or several" mentioned in this article refers to two or more. "And / or" describes the association relationship of the associated objects, indicating that there can be three relationships. For example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. The character " / " generally indicates that the associated objects are in an "or" relationship.

[0025] The preferred embodiments of the present application are described below in conjunction with the drawings in the specification. It should be understood that the preferred embodiments described herein are only used to illustrate and explain the present application, and are not used to limit the present application. In addition, the embodiments and features in the embodiments of the present application may be combined with each other if there is no conflict.

[0026] Embodiment 1:

[0027] Figure 1 A schematic diagram of the structure of a fusion encryption device of quantum encryption and national secret encryption provided in an embodiment of the present application, wherein the fusion encryption device comprises: a quantum encryption module and a national secret encryption module;

[0028] The quantum encryption module is used to receive application data to be encrypted; determine the first IP address based on the application IP address carried by the application data to be encrypted; perform quantum encryption on the application data to be encrypted based on a pre-stored quantum key to obtain quantum encrypted application data; and transmit the quantum ciphertext data to the national encryption module through a pre-configured virtual card; wherein the quantum ciphertext data encapsulates the first IP address and the quantum encrypted application data;

[0029] The national secret encryption module is used to receive the quantum ciphertext data through the IPsec protocol stack in the national secret encryption module; and, when the IPsec protocol stack determines that the first IP address carried by the quantum ciphertext data meets the preset national secret encryption conditions, perform national secret encryption on the quantum ciphertext data to obtain quantum ciphertext data after national secret encryption; and, send the quantum ciphertext data after national secret encryption to the peer device through the IPsec protocol stack.

[0030] In order to perfectly combine traditional encryption technology with quantum encryption technology and realize the fusion encryption protection of data, the embodiment of the present application provides a fusion encryption device of quantum encryption and national secret encryption (referred to as fusion encryption device) to provide quantum encryption services for national secret encryption devices with anti-quantum requirements, thereby realizing the dual encryption of national secrets and quantum for application data that needs to be encrypted, and further improving the security of the application data. In the present application, the fusion encryption device mainly includes a quantum encryption module and a national secret encryption module, the quantum encryption module is used to provide quantum encryption services for the fusion encryption device, and the national secret encryption module is used to provide national secret encryption services for the fusion encryption device. Among them, the quantum encryption service is a pre-encryption process in the process of fusion encryption of data, and the national secret encryption service is a post-encryption process in the process of fusion encryption of data, and the national secret encryption module can be applied to existing national secret encryption chips or national secret encryption cards, etc., so that the fusion encryption device can not only meet the anti-quantum national secret encryption requirements, but also reuse the existing national secret encryption network for communication, reducing the cost of transformation.

[0031] The following is an introduction to each module included in the fusion encryption device:

[0032] 1. Quantum encryption module.

[0033] This quantum encryption module provides quantum encryption services for fusion encryption devices, ensuring extremely high data security and quantum resistance.

[0034] The quantum key is the key to providing quantum encryption services. In this application, the quantum encryption module pre-stores the quantum key, and based on the quantum key, quantum encryption of data can be achieved.

[0035] Considering that the quantum encryption service is a pre-process in the fusion encryption process, the quantum encryption module can receive unencrypted application data (recorded as data to be encrypted). The quantum encryption module performs quantum encryption on the application data to be encrypted based on the pre-saved quantum key to obtain the quantum encrypted application data. Exemplarily, the quantum encryption module can obtain an encryption key for quantum encryption of the application data to be encrypted based on the saved quantum key. Based on the encryption key, the application data to be encrypted is quantum encrypted to obtain the quantum encrypted application data.

[0036] In a possible implementation, the quantum encryption module can perform full-packet encryption on the application data to be encrypted based on the encryption key, or it can only perform load encryption on the application data to be encrypted. In the specific implementation process, the encryption method used by the quantum encryption module for quantum encryption can be flexibly set according to needs, and is not specifically limited here. Exemplarily, if the pre-configured encryption method is load encryption, the transport layer load in the application data to be encrypted is quantum encrypted based on the quantum key to obtain the application data after quantum encryption. In another exemplary embodiment, if the pre-configured encryption method is full-packet encryption, the link layer load in the application data to be encrypted is quantum encrypted based on the quantum key to obtain the application data after quantum encryption.

[0037] In this application, in order to facilitate the subsequent national secret encryption module to process the quantum encrypted application data, the quantum encryption module can determine the first IP address based on the application IP address carried by the application data to be encrypted before quantum encryption is performed on the application data to be encrypted based on the quantum key. The subsequent quantum encryption module can encapsulate the first IP address and the quantum encrypted application data together to obtain quantum ciphertext data. The subsequent national secret encryption module can process the quantum encrypted application data based on the first IP address.

[0038] In a possible implementation, the way in which the quantum encryption module determines the first IP address is affected by the encryption method of the quantum encryption module. Exemplarily, if the pre-configured encryption method is load encryption, the quantum encryption module can determine the application IP address as the first IP address, or determine the quantum IP address corresponding to the application IP address carried by the application data to be encrypted according to the quantum IP addresses corresponding to the pre-configured application IP addresses, and determine the determined quantum IP address as the first IP address. In another exemplary embodiment, if the pre-configured encryption method is full-packet encryption, the quantum encryption module can determine the quantum IP address corresponding to the application IP address carried by the application data to be encrypted according to the quantum IP addresses corresponding to the pre-configured application IP addresses, and determine the determined quantum IP address as the first IP address.

[0039] It should be noted that the quantum IP addresses corresponding to the application IP addresses can represent the virtual port IP addresses of the quantum encryption modules of the peer devices.

[0040] In the present application, a virtual card (referred to as a virtual card) is configured between the quantum encryption module and the national encryption module in the fusion encryption device, so that data transmission between the quantum encryption card and the national encryption module can be realized through the virtual card. Exemplarily, based on the above embodiment, after the quantum encryption module obtains the quantum ciphertext data, the quantum ciphertext data can be transmitted to the national encryption module through the virtual card.

[0041] In a possible implementation, a virtual card is configured between the quantum encryption module and the national encryption module. The quantum encryption module can transmit the quantum ciphertext data to the physical port corresponding to the national encryption module through the virtual card. The national encryption module receives the quantum ciphertext data through the physical port.

[0042] In another possible implementation, multiple virtual cards are pre-configured between the quantum encryption module and the national encryption module. Among them, the quantum encryption module corresponds to a virtual card, and the national encryption module corresponds to a virtual card, and the virtual card corresponding to the national encryption module is different from the virtual card corresponding to the quantum encryption module. The quantum encryption module sends the quantum ciphertext data to the virtual card corresponding to the quantum encryption module, and the national encryption module receives the quantum ciphertext data from the virtual card corresponding to the national encryption module. For example, the quantum encryption module "pushes" or "writes" the quantum ciphertext data to the virtual card corresponding to the national encryption module through its corresponding virtual card (such as a logical interface or memory buffer). The virtual card corresponding to the quantum encryption module "transmits" or "copies" the quantum ciphertext data to the virtual card corresponding to the national encryption module. The national encryption module then reads the quantum ciphertext data through the virtual card corresponding to the national encryption module and performs subsequent processing.

[0043] In one example, the quantum encryption module is specifically used for:

[0044] The quantum ciphertext data is transmitted to the national secret encryption module in the form of a raw socket or a socket through the virtual card.

[0045] After obtaining the quantum ciphertext data, the quantum encryption module can use the virtual card to convert the quantum ciphertext data into a raw socket format to adapt to different protocols and transmission requirements. The quantum encryption module can organize the quantum ciphertext data according to a specific protocol or format to ensure the integrity and security of the quantum ciphertext data during transmission.

[0046] After obtaining the quantum ciphertext data, the quantum encryption module can also transmit the quantum ciphertext data in the form of a socket to the national encryption module through a virtual card, providing a more efficient and direct data transmission method.

[0047] It should be noted that the quantum encryption module can choose an appropriate method to transmit quantum ciphertext data to the national encryption module for subsequent processing based on specific application scenarios and needs.

[0048] 2. National secret encryption module.

[0049] The national encryption module provides national encryption services for the fusion encryption device, which not only realizes double encryption of data, but also enables the fusion encryption device to communicate using the existing national encryption network. The national encryption module uses the encryption algorithm and standards formulated by the National Cryptography Administration (GM / T) to encrypt data, and includes an IPsec protocol stack for encrypting and authenticating data received by the national encryption module at the IP layer.

[0050] Among them, the national encryption module can rely on the ESP (Encapsulating Security Payload) and AH (Authentication Header) protocols in the IPsec protocol stack. These protocols can encrypt and authenticate data at the IP layer to ensure data integrity and confidentiality.

[0051] Based on the above embodiment, the IPsec protocol stack of the national secret encryption module can receive the quantum ciphertext data transmitted by the quantum encryption module. The first IP address carried in the quantum ciphertext data can be verified by the IPsec protocol stack, and the IPsec protocol stack determines whether to call the national secret encryption service according to the verification result, so as to perform national secret encryption on the quantum ciphertext data.

[0052] In a possible implementation, the IPsec protocol stack can determine whether the first IP address carried by the quantum ciphertext data meets the pre-configured national encryption conditions. The national encryption conditions define which quantum ciphertext data needs to be encrypted by the national encryption service, for example, a specific IP address range, port number or specific service type. When it is determined that the first IP address carried by the quantum ciphertext data meets the pre-configured national encryption conditions, the national encryption service is called to perform national encryption on the quantum ciphertext data to obtain quantum ciphertext data after national encryption.

[0053] In one example, in order to facilitate the subsequent sending of quantum ciphertext data encrypted by national secrets to the peer device, the national secret encryption module determines the second IP address based on the first IP address when the IPsec protocol stack confirms that the first IP address carried by the quantum ciphertext data meets the preset national secret encryption conditions, so as to guide how to send the quantum ciphertext data encrypted by national secrets to the peer device through the second IP address. Exemplarily, the national secret encryption module can directly determine the first IP address as the second IP address, or it can determine the IPsec IP address corresponding to the first IP address carried by the quantum ciphertext data based on the pre-configured IPsec IP addresses corresponding to each first IP address, and determine the determined IPsec IP address as the second IP address.

[0054] Based on the above embodiment, after the national secret encryption module obtains the quantum ciphertext data encrypted by the national secret, the quantum ciphertext data encrypted by the national secret can be sent to the peer device through the IPsec protocol stack. Exemplarily, the IPsec protocol stack can encapsulate the obtained second IP address and the quantum ciphertext data encrypted by the national secret into national secret-quantum double encrypted data, and then send the national secret-quantum double encrypted data to the peer device.

[0055] In a possible implementation, the national secret encryption module has the ability to communicate directly with the external network, then the national secret encryption module can directly send the quantum ciphertext data encrypted by the national secret to the external network through the IPsec protocol stack.

[0056] In another possible implementation, considering that the national secret encryption module directly communicates with the external network, the data in the national secret encryption module is vulnerable to attacks from the external network, thereby affecting the security of the national secret encryption. Based on this, in the present application, the fusion encryption device may also include an isolation area and a communication area. Among them, the isolation area is connected to the national secret encryption module and the communication area respectively. Through the isolation area, the physical isolation between the communication area and the national secret encryption module and the quantum encryption module can be achieved, ensuring that the external network data cannot directly enter the national secret encryption module, or the external network directly steals data from the national secret encryption module, ensuring that the data communication between each area or module is carried out in a controlled and safe environment. At the same time, the isolation area is also responsible for transmitting the data communicated between the communication area and the national secret encryption module and the quantum encryption module respectively, that is, realizing the data interaction between the communication area and the national secret encryption module and the quantum encryption module respectively. The communication area is the interface for the fusion encryption device to communicate with the external network, and it is responsible for sending the quantum ciphertext data encrypted by the national secret to the opposite end device. Exemplarily, based on the above-mentioned embodiment, the IPsec protocol stack of the national secret encryption module can encapsulate the acquired second IP address and the quantum ciphertext data after national secret encryption into national secret-quantum double encrypted data, and then transmit the national secret-quantum double encrypted data to the isolation area. After receiving the national secret-quantum double encrypted data, the isolation area can transmit the national secret-quantum double encrypted data to the communication area, so that the communication area can send the national secret-quantum double encrypted data to the peer device. For example, the communication area sends the national secret-quantum double encrypted data to the peer device based on the second IP address carried by the national secret-quantum double encrypted data.

[0057] The communication area can communicate with the external network in a wired or wireless manner. For wired communication, high-speed and stable transmission media such as optical fiber and Ethernet can be used; for wireless communication, technologies such as 4G / 5G and Wi-Fi can be used. Regardless of the method used, the security and reliability of communication must be ensured to prevent data from being intercepted or tampered with during transmission.

[0058] In one possible implementation, the isolation area can be implemented using an FPGA (field programmable gate array) to ensure that data communications between various areas or modules within the fusion encryption device are carried out without interference and monitoring, thereby improving the security and reliability of the fusion encryption device.

[0059] In one possible implementation, the isolation zone can perform security verification on the transmitted data. Only data that passes the security verification can be transmitted, and data that fails the security verification is filtered, thereby ensuring that the data transmitted through the isolation zone is safe and reliable. For example, the isolation zone can use one or more of the following methods to perform security verification on the data: by performing security verification on the Ethernet type of the transmitted data to ensure the legitimacy and integrity of the data; performing in-depth analysis of the content of the data packet (such as hash verification, etc.) to identify and block potential malicious data; verifying the source and destination of the data to ensure that the data transmission path is safe.

[0060] The beneficial effects of this application are as follows:

[0061] 1. Since the fusion encryption device includes a quantum encryption module and a national encryption module, the quantum encryption module provides quantum encryption services for the fusion encryption device, and the national encryption module provides national encryption services for the fusion encryption device, thereby realizing the fusion of quantum encryption and national encryption technologies, and realizing multiple security guarantees in the data transmission process and the anti-quantum requirements of data transmission.

[0062] 2. After the quantum encryption module obtains the application data to be encrypted, it will determine the first IP address based on the application IP address carried by the application data to be encrypted, and then transmit the quantum ciphertext data encapsulated with the first IP address to the national encryption module, so that the IPsec protocol in the national encryption module can determine whether the first IP address carried by the quantum ciphertext data meets the preset national encryption conditions, and when the IPsec protocol stack determines that the first IP address carried by the quantum ciphertext data meets the preset national encryption conditions, call the national encryption service to perform national encryption on the quantum ciphertext data, which is not only conducive to improving the security of the national encryption module, but also reduces the cost of technical transformation of the existing national encryption equipment, and reduces the difficulty of meeting the anti-quantum requirements of the national encryption equipment.

[0063] 3. After the quantum encryption module performs quantum encryption on the application data to be encrypted, it transmits the obtained quantum ciphertext data to the national encryption module through a virtual card. Subsequently, the national encryption module can perform national encryption on the quantum ciphertext data and transmit the quantum ciphertext data to the opposite device through the IPsec protocol stack in the national encryption module, thereby reusing the national encryption network used by the existing national encryption device to send data through the IPsec protocol stack. That is, there is no need to transform the communication network architecture used by the integrated encryption device, thereby reducing the cost of integrating the two technologies of quantum encryption and national encryption.

[0064] Embodiment 2:

[0065] In a possible application scenario, based on the above-mentioned embodiments, in this application, the device form of the fusion encryption device can be a fusion encryption terminal, such as a quantum security all-in-one machine, a quantum security privacy computer, etc. When the device form of the fusion encryption device is a fusion encryption terminal, the fusion encryption terminal can also install and manage applications, and provide dual encryption services of quantum encryption and national secret encryption for application data initiated by the installed applications. Based on this, in this application, when the device form of the fusion encryption device is a fusion encryption terminal, the fusion encryption device can also include a privacy zone. Figure 2 This is a structural diagram of a fusion encryption terminal provided in an embodiment of the present application. When the application installed in the privacy zone needs to send application data, the initiated application data is first sent to the isolation zone of the fusion encryption terminal. After the isolation zone receives the application data initiated by the privacy zone, the application data can be forwarded to the quantum encryption module.

[0066] In a possible implementation, the isolation zone can perform security verification on the application data initiated by the privacy zone. It should be noted that the manner in which the isolation zone performs security verification on the application data can refer to the above embodiment, and will not be described in detail here.

[0067] It should be noted that the subsequent processing flow of the quantum encryption module on the application data transmitted in the isolation area can refer to the above-mentioned embodiment 1, and the repeated parts will not be repeated.

[0068] Embodiment 3:

[0069] In a possible application scenario, based on the above embodiments, in this application, the device form of the fusion encryption device can be a fusion encryption server, such as a quantum security application server. When the device form of the fusion encryption device is a fusion encryption server, the fusion encryption server can provide dual encryption services of quantum security and national secret encryption for intranet applications. Among them, the intranet application can be an application installed in a built-in application module connected to the quantum encryption module in the fusion encryption device, or it can be an application installed in an external application server connected to the quantum encryption module. Based on this, in this application, Figure 3A structural diagram of a fusion encryption server provided in an embodiment of the present application, when the device form of the fusion encryption device is a fusion encryption server, the quantum encryption module can receive the application data to be encrypted initiated by the intranet application. For example, if the intranet application is an application installed in an external application server connected to the quantum encryption module, then the external application server can be connected to the intranet of the fusion encryption server, such as a wired connection, a local area network wireless connection, etc., and the application data initiated by the application installed in the external application server can be transmitted to the quantum encryption module of the fusion encryption device through the intranet. For another example, if the intranet application is an application installed in a built-in application module connected to the quantum encryption module in the fusion encryption device, then the application data initiated by the application installed in the built-in application module is transmitted to the quantum encryption module through the virtual card between the built-in application module and the quantum encryption module.

[0070] It should be noted that the subsequent processing flow of the quantum encryption module for the application data initiated by the intranet application can refer to the above-mentioned embodiment 1, and the repeated parts will not be repeated.

[0071] Embodiment 4:

[0072] In order to achieve secure communication, based on the above embodiments, in this application, the fusion encryption device also has the ability to decrypt the received national secret-quantum dual encrypted data. Exemplarily, the national secret encryption module of the fusion encryption device can receive the national secret-quantum dual encrypted data sent by the peer device, and perform national secret decryption on the national secret-quantum dual encrypted data to obtain quantum ciphertext data. Then the national secret encryption module transmits the quantum ciphertext data to the quantum encryption module through a virtual card. Through the quantum encryption module, the quantum ciphertext data transmitted by the national secret encryption module can be quantum decrypted to obtain the application data of the peer device.

[0073] In a possible implementation, if the national secret encryption module of the fusion encryption device has the ability to communicate directly with the external network, then the national secret encryption module can directly receive the national secret-quantum double encrypted data sent by the opposite device from the external network. If the national secret encryption module of the fusion encryption device has the ability to communicate directly with the external network, and the fusion encryption device also includes an isolation area and a communication area, then the fusion encryption device can receive the national secret-quantum double encrypted data sent by the opposite device from the external network through the communication area, and the communication area transmits the received national secret-quantum double encrypted data to the national secret encryption module through the isolation area.

[0074] Among them, the isolation zone can perform security verification on the national secret-quantum dual encrypted data transmitted from the communication zone to the national secret encryption module to ensure that the national secret-quantum dual encrypted data received by the national secret encryption module is safe and legal. It should be noted that the process of the isolation zone performing security verification on the national secret-quantum dual encrypted data transmitted from the communication zone to the national secret encryption module can refer to the process of the isolation zone performing security verification on the transmitted data in the above embodiment, which will not be repeated here.

[0075] In the present application, the process of the fusion encryption device decrypting the received national secret-quantum dual encrypted data can be understood as the reverse process of the encrypted application data in the above embodiment. The national secret encryption module receives the national secret-quantum dual encrypted data through the IPsec protocol stack, and the IPsec protocol stack can verify the second IP address carried in the national secret-quantum dual encrypted data. The IPsec protocol stack determines whether to call the national secret decryption service based on the verification result, thereby performing national secret decryption on the national secret-quantum dual encrypted data.

[0076] In a possible implementation, the IPsec protocol stack can determine whether the second IP address carried by the national secret-quantum double encrypted data meets the pre-configured national secret encryption conditions. If it is determined that the second IP address carried by the national secret-quantum double encrypted data meets the pre-configured national secret encryption conditions, the national secret encryption service is called to perform national secret decryption on the national secret-quantum double encrypted data to obtain quantum ciphertext data.

[0077] Based on the above embodiment, after the national secret encryption module decrypts and obtains the quantum ciphertext data, the quantum ciphertext data can be transmitted to the quantum encryption module through the IPsec protocol stack for subsequent processing. Exemplarily, the IPsec protocol stack transmits the quantum ciphertext data to the quantum encryption module through a virtual card between the national secret encryption module and the quantum encryption module.

[0078] It should be noted that the process by which the IPsec protocol stack transmits the quantum ciphertext data to the quantum encryption module through the virtual card between the national encryption module and the quantum encryption module is similar to the process by which the above-mentioned quantum encryption module transmits the quantum ciphertext data to the national encryption module through the virtual card. For details, please refer to the above-mentioned Example 1, which will not be described in detail here.

[0079] After receiving the quantum ciphertext data transmitted by the national secret encryption module, the quantum encryption module can obtain the quantum key corresponding to the quantum ciphertext data, and then perform quantum decryption on the quantum ciphertext data based on the quantum key to obtain the application data. Exemplarily, the quantum encryption module obtains the quantum key information corresponding to the quantum ciphertext data. Based on the quantum key information, the quantum key used to decrypt the quantum ciphertext data is obtained from the pre-saved quantum key. Then, based on the obtained quantum key, the quantum ciphertext data is quantum decrypted to obtain the application data.

[0080] In a possible implementation, if the device form of the fusion encryption device is a fusion encryption terminal, the quantum encryption module of the fusion encryption device can perform quantum decryption on the quantum ciphertext data based on the acquired quantum key to obtain application data, and then transmit the application data to the privacy area in the fusion encryption device through the isolation area of ​​the fusion encryption device.

[0081] In a possible implementation, if the device form of the fusion encryption device is a fusion encryption server, the quantum encryption module of the fusion encryption device can transmit the application data to the intranet application after performing quantum decryption on the quantum ciphertext data based on the acquired quantum key to obtain the application data.

[0082] Embodiment 5:

[0083] The encryption process of the fusion encryption device of the present application is described in detail below through a specific embodiment, taking the device form of the fusion encryption device as a fusion encryption terminal as an example. Figure 4 A schematic diagram of a specific encryption process of a converged encryption terminal provided in an embodiment of the present application, the process includes:

[0084] S401: The application installed in the privacy zone of the fusion encryption terminal initiates application data to be encrypted, and transmits the application data to be encrypted to the quantum encryption module of the fusion encryption terminal through the isolation zone.

[0085] In a possible implementation, the isolation zone can perform security verification on the application data initiated by the privacy zone. It should be noted that the manner in which the isolation zone performs security verification on the application data can refer to the above embodiment, and will not be described in detail here.

[0086] S402: The quantum encryption module receives application data to be encrypted initiated by the application in the privacy zone through the isolation zone.

[0087] S403: The quantum encryption module determines a first IP address based on the application IP address carried by the application data to be encrypted.

[0088] S404: The quantum encryption module performs quantum encryption on the application data to be encrypted based on the pre-stored quantum key to obtain the quantum encrypted application data.

[0089] In a possible implementation, if the pre-configured encryption method is payload encryption, the transport layer payload in the application data to be encrypted is quantum encrypted based on the quantum key to obtain the application data after quantum encryption; if the pre-configured encryption method is full-packet encryption, the link layer payload in the application data to be encrypted is quantum encrypted based on the quantum key to obtain the application data after quantum encryption.

[0090] S405: The quantum encryption module transmits the quantum ciphertext data to the national encryption module of the fusion encryption device in the form of a raw socket or a socket through a pre-configured virtual card.

[0091] S406: The IPsec protocol stack in the national secret encryption module receives the quantum ciphertext data.

[0092] S407: When the IPsec protocol stack determines that the first IP address carried by the quantum ciphertext data meets the preset national secret encryption conditions, the national secret encryption module performs national secret encryption on the quantum ciphertext data to obtain quantum ciphertext data after national secret encryption.

[0093] S408: The IPsec protocol stack obtains the national secret-quantum double encrypted data based on the quantum ciphertext data encrypted by the national secret, and sends the national secret-quantum double encrypted data to the isolation area.

[0094] Among them, the national secret-quantum double encrypted data carries the quantum ciphertext data encrypted by the national secret and the second IP address determined based on the first IP address.

[0095] S409: The isolation area sends the national secret-quantum double encrypted data to the communication area.

[0096] S410: The communication area sends the national secret-quantum double encrypted data to the peer device.

[0097] Embodiment 6:

[0098] The decryption process of the fusion encryption device of the present application is described in detail below through a specific embodiment, taking the device form of the fusion encryption device as a fusion encryption server as an example. Figure 5 A schematic diagram of a decryption process of a specific fusion encryption server provided in an embodiment of the present application, the process includes:

[0099] S501: The communication area of ​​the fusion encryption server receives the national secret-quantum double encrypted data sent by the opposite device, and transmits it to the national secret encryption module of the fusion encryption server through the isolation area of ​​the fusion encryption server.

[0100] S502: The IPsec protocol stack in the national secret encryption module receives the national secret-quantum double encrypted data sent by the opposite device.

[0101] S503: When the IPsec protocol stack determines that the second IP address carried by the national secret-quantum dual encrypted data meets the national secret encryption conditions, the national secret-quantum dual encrypted data is decrypted by the national secret to obtain the quantum ciphertext data.

[0102] S504: The national encryption module transmits the quantum ciphertext data to the quantum encryption module of the fusion encryption server through the virtual card and IPsec protocol stack.

[0103] S505: The quantum encryption module receives the quantum ciphertext data transmitted by the national encryption module.

[0104] S506: The quantum encryption module obtains the quantum key corresponding to the quantum ciphertext data.

[0105] S507: The quantum encryption module performs quantum decryption on the quantum ciphertext data based on the quantum key to obtain application data.

[0106] S508: The quantum encryption module transmits the application data to the intranet application.

[0107] Embodiment 7:

[0108] Based on the same inventive concept, this application also provides a fusion encryption system of quantum encryption and national secret encryption. Figure 6 A structural diagram of a fusion encryption system of quantum encryption and national secret encryption provided in an embodiment of the present application, the fusion encryption system includes: at least two fusion encryption devices 60 as described in any of the above embodiments 1-6.

[0109] It should be noted that the principle of solving the problem by the fusion encryption system of quantum encryption and national secret encryption is similar to the principle of solving the problem by the above-mentioned fusion encryption device embodiment of quantum encryption and national secret encryption. Please refer to the above-mentioned embodiment for details, and no detailed description will be given here.

[0110] Although the preferred embodiments of the present application have been described, those skilled in the art may make additional changes and modifications to these embodiments once they have learned the basic creative concept. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications falling within the scope of the present application.

[0111] Obviously, those skilled in the art can make various changes and modifications to the present application without departing from the spirit and scope of the present application. Thus, if these modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is also intended to include these modifications and variations.

Claims

1. A fusion encryption device of quantum encryption and national secret encryption, characterized in that: The fusion encryption device includes: a quantum encryption module and a national encryption module; The quantum encryption module is used to receive application data to be encrypted; determine the first IP address based on the application IP address carried by the application data to be encrypted; perform quantum encryption on the application data to be encrypted based on a pre-stored quantum key to obtain quantum encrypted application data; and transmit the quantum ciphertext data to the national encryption module through a pre-configured virtual card; wherein the quantum ciphertext data encapsulates the first IP address and the quantum encrypted application data; The national secret encryption module is used to receive the quantum ciphertext data through the IPsec protocol stack in the national secret encryption module; and, when the IPsec protocol stack determines that the first IP address carried by the quantum ciphertext data meets the preset national secret encryption conditions, perform national secret encryption on the quantum ciphertext data to obtain quantum ciphertext data after national secret encryption; and, send the quantum ciphertext data after national secret encryption to the peer device through the IPsec protocol stack.

2. The fusion encryption device according to claim 1, characterized in that: The quantum encryption module is specifically used for: The quantum ciphertext data is transmitted to the virtual card corresponding to the national secret encryption module through the virtual card corresponding to the national secret encryption module, so that the IPsec protocol stack obtains the quantum ciphertext data through the virtual card corresponding to the national secret encryption module.

3. The fusion encryption device according to claim 1, characterized in that: The quantum encryption module is specifically used for: The quantum ciphertext data is transmitted to the national secret encryption module in the form of a raw socket or a socket through the virtual card.

4. The fusion encryption device according to claim 1, characterized in that: The quantum encryption module is specifically used for: If the pre-configured encryption method is payload encryption, quantum encryption is performed on the transport layer payload in the application data to be encrypted based on the quantum key to obtain quantum encrypted application data; or, If the pre-configured encryption method is full-packet encryption, the link layer payload in the application data to be encrypted is quantum encrypted based on the quantum key to obtain the application data after quantum encryption.

5. The fusion encryption device according to claim 4, characterized in that: The quantum encryption module is specifically used for: If the pre-configured encryption method is payload encryption, the application IP address is determined as the first IP address; If the pre-configured encryption method is full-packet encryption, based on the pre-configured quantum IP addresses corresponding to each application IP address, the quantum IP address corresponding to the application IP address is determined, and the quantum IP address is determined as the first IP address.

6. The fusion encryption device according to claim 1, characterized in that: The fusion encryption device further includes: an isolation area and a communication area; the isolation area is connected to the national encryption module and the communication area respectively; The isolation area is used to isolate the communication area from the national secret encryption module and the quantum encryption module, and to implement data interaction between the communication area and the national secret encryption module and the quantum encryption module; The communication area is used for data communication with an external network; The national secret encryption module is specifically used for: The national secret-quantum double encrypted data is sent to the isolation area through the IPsec protocol stack, and the national secret-quantum double encrypted data is sent to the communication area through the isolation area, and the communication area sends the national secret-quantum double encrypted data to the opposite end device; wherein the national secret-quantum double encrypted data carries the quantum ciphertext data after the national secret encryption and a second IP address determined based on the first IP address.

7. The fusion encryption device according to claim 6, characterized in that: The fusion encryption device also includes: a privacy zone; The privacy zone is used to install and manage applications; The quantum encryption module is specifically used for: The application data to be encrypted initiated by the application installed in the privacy zone of the converged encryption terminal is received through the isolation zone.

8. The fusion encryption device according to claim 6, characterized in that: The fusion encryption device also includes: an intranet application module; The quantum encryption module is specifically used for: Receive the application data to be encrypted initiated by an intranet application; wherein the intranet application includes an application installed in a built-in application module connected to the quantum encryption module in the fusion encryption device, or an application installed in an external application server connected to the quantum encryption module.

9. The fusion encryption device according to any one of claims 1 to 8, characterized in that: The national secret encryption module is also used for: Receiving the national secret-quantum double encrypted data sent by the opposite device through the IPsec protocol stack in the national secret encryption module; and, when the IPsec protocol stack determines that the second IP address carried by the national secret-quantum double encrypted data meets the national secret encryption condition, performing national secret decryption on the national secret-quantum double encrypted data to obtain quantum ciphertext data; and, through the virtual card, the IPsec protocol stack transmits the quantum ciphertext data to the quantum encryption module; The quantum encryption module is also used for: Receive the quantum ciphertext data transmitted by the national secret encryption module; obtain the quantum key corresponding to the quantum ciphertext data; and perform quantum decryption on the quantum ciphertext data based on the quantum key to obtain application data.

10. A fusion encryption system of quantum encryption and national secret encryption, characterized in that: The fusion encryption system includes: at least two fusion encryption devices as described in any one of claims 1-9.