A mobile encryption communication method and system based on quantum memory card
Through the mobile encrypted communication method based on quantum memory cards, the problem of information security guarantee in mobile communication is solved, the secure reception and storage of quantum keys is realized, and the stability and security of communication is ensured, and it is suitable for mobile communication in any environment. Provides high-quality and high-security voice calls.
Patent Information
- Application Number
- CN202111658643.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-12-30
- Publication Date
- 2024-11-01
- Estimated Expiration
- 2041-12-30
AI Technical Summary
Information security guarantees are difficult to achieve in mobile communications, traditional communication methods lack absolute security, and existing quantum key storage methods are difficult to apply to actual communication scenarios.
Using a mobile encryption communication method based on quantum memory card, the quantum key is obtained through identity authentication and filled in the quantum memory card. Various encryption algorithms are used to encrypt and decrypt during the communication process to ensure the stability and security of communication. sex.
It realizes the secure reception, storage and application of quantum keys, ensures the absolute security and stability of communication, is suitable for mobile communication in any environment, and provides high-quality and high-security voice calls.
Smart Images

Figure CN114339741B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of encrypted communication, and in particular to a mobile encrypted communication method and system based on a quantum memory card. Background Art
[0002] The development of mobile communication services has promoted the rapid development of the times. However, as far as the current situation is concerned, although mobile communication services have brought great benefits to people, they have also increased the difficulty of ensuring information security technology, which undoubtedly poses certain challenges to mobile communication technology.
[0003] Faced with such challenges, relevant technical researchers have conducted in-depth research and proposed relevant research theories. Among them, quantum communication has absolute security characteristics that traditional communication methods do not have. Quantum secure communication is based on the physical properties of quantum mechanics, uses quantum states as information carriers, and cleverly utilizes the superposition and uncertainty of quantum states to build a shared security key for both communicating parties.
[0004] The Chinese invention patent with publication number CN110650011A discloses an encryption storage method and an encryption storage card based on quantum keys, and this application aims to apply quantum keys and quantum key storage cards to actual communication scenarios and provide a mobile encryption communication method based on quantum storage cards. Summary of the invention
[0005] In response to the above problems, the present invention provides a mobile encryption communication method and system based on a quantum memory card, which can improve the stability and security of communication and effectively use and manage quantum keys.
[0006] The technical solution is as follows: A mobile encryption communication method based on a quantum memory card, characterized in that it includes the following steps:
[0007] Initiate identity authentication to the server;
[0008] After the identity authentication is successful, the terminal device requests the quantum key from the server, receives the quantum key sent by the server, and stores the quantum key in the quantum storage card;
[0009] After enabling encrypted communication, the quantum key loaded in the quantum storage card is used to encrypt and decrypt the communication data during the communication process.
[0010] Furthermore, the initiating identity authentication to the server specifically includes the following steps:
[0011] The terminal device encrypts the certificate file using a shared key, and sends the encrypted certificate file to the server, wherein the shared key is a key shared by the terminal device and the server;
[0012] The server uses the shared key to decrypt the received encrypted certificate file to obtain the certificate file of the terminal device;
[0013] Verify the legitimacy of the certificate file, and complete identity authentication if it is legitimate.
[0014] Furthermore, if it is found that the certificate is in an expired or invalid stage when verifying the certificate file, a prompt will be given to update the certificate file, and verification will be restarted after a new certificate file is received.
[0015] Furthermore, before requesting the quantum key from the server, the following steps are also included:
[0016] Enter the login information on the terminal device, enter the hidden area, and request the quantum key from the server in the hidden area.
[0017] Furthermore, the login information includes any one or more of an account number, a password, and a user PIN code.
[0018] Furthermore, the requesting of a quantum key from a server specifically comprises the following steps:
[0019] The terminal device obtains the locally preset signature information and sends the signature information to the server;
[0020] The server verifies the received signature information and returns the verification result to the terminal device;
[0021] The terminal device that verifies the signature information requests the quantum key from the server;
[0022] The server obtains the required quantum key from the quantum key generator;
[0023] The server encrypts the obtained quantum key through an encryption algorithm and sends the encrypted quantum key to the terminal device;
[0024] The terminal device stores the received quantum key into the quantum storage card.
[0025] Furthermore, the quantum key uses any one of the encryption algorithms including SM4, 3DES, AES, and one-time pad for encrypted communication, and the encryption algorithm used can be switched during the communication process.
[0026] A mobile encrypted communication system, characterized by comprising:
[0027] Identity authentication module, used to initiate identity authentication to the server;
[0028] The quantum key filling module is used to request the quantum key from the server after the identity authentication is successful. The terminal device receives the quantum key sent by the server and fills the quantum key into the quantum storage card.
[0029] The encryption communication module is used to encrypt and decrypt communication data during the communication process using the quantum key loaded in the quantum storage card after encryption communication is enabled.
[0030] A computer device, characterized in that it comprises: a processor, a memory and a program;
[0031] The program is stored in the memory, and the processor calls the program stored in the memory to execute the above-mentioned mobile encryption communication method based on the quantum memory card.
[0032] A computer-readable storage medium, characterized in that: the computer-readable storage medium is used to store a program, and the program is used to execute the above-mentioned mobile encryption communication method based on quantum memory card.
[0033] The mobile encrypted communication method based on quantum storage card provided by the present invention can securely receive and store quantum keys, apply quantum keys to actual communication scenarios, use quantum keys as the core of data encryption, and ensure the stability and security of communication. It can securely and flexibly obtain quantum keys and store them securely in storage cards. Under special circumstances, specific users use the quantum keys loaded in the card as encryption and decryption keys, and use a variety of encryption algorithms to make encrypted calls, thereby achieving absolute security of mobile communications for specific users in the communication process and in any environment. BRIEF DESCRIPTION OF THE DRAWINGS
[0034] Figure 1 is a flow chart of a mobile encryption communication method based on a quantum memory card in an embodiment;
[0035] Figure 2 is a block diagram of a mobile encryption communication system based on a quantum memory card in an embodiment;
[0036] Figure 3 FIG. 4 is a diagram showing the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION
[0037] In the following description, reference is made to the accompanying drawings that form a part of the present invention, which illustrate specific aspects of embodiments of the present invention or specific aspects of embodiments of the present invention that can be used by way of illustration. It should be understood that embodiments of the present invention can be used in other aspects and include structural or logical changes that are not depicted in the accompanying drawings. Therefore, the following detailed description is not intended to be limiting, and the scope of the present invention is defined by the appended claims.
[0038] It should be understood that although the steps are described in a numbered manner for ease of understanding in the embodiments of the present disclosure, these numbers do not represent the order in which the steps are executed, nor do they mean that the steps with sequential numbering must be executed together. It should be understood that one or more of the multiple steps with sequential numbering can be executed separately to solve the corresponding technical problems and achieve the predetermined technical solutions. Even if multiple steps are exemplarily listed together in the accompanying drawings, it does not mean that these steps must be executed together; the accompanying drawings are only exemplarily listed together for ease of understanding.
[0039] See Figure 1 , a mobile encryption communication method based on a quantum memory card of the present invention at least comprises the following steps:
[0040] Step 1: Initiate identity authentication to the server;
[0041] Step 2: After the identity authentication is successful, the terminal device requests the quantum key from the server, receives the quantum key sent by the server, and stores the quantum key in the quantum storage card;
[0042] Step 3: After enabling encrypted communication, use the quantum key loaded in the quantum memory card to encrypt and decrypt the communication data during the communication process.
[0043] Specifically in one embodiment of the present invention, in step 1, the following steps are specifically included:
[0044] The terminal device uses its own certificate file, and the terminal device uses a shared key with the server for encryption. The shared key is a key shared by the terminal device and the server. In this embodiment, the SM4 group key is used for encryption, and then the terminal device sends the encrypted terminal device certificate file information to the server.
[0045] The server receives the encrypted terminal device certificate file, uses the shared key shared with the terminal device to decrypt it to obtain the terminal device certificate file information, and verifies the legitimacy of the certificate file by verifying the certificate file method. In this embodiment, the terminal device certificate file is pre-set in the storage card, and the verification is performed by the superior certificate of the certificate file in the server. The verification of the legitimacy of the user identity is completed through the dual certificate authentication mechanism, while meeting the requirements of non-repudiation, non-forgeability, and arbitrability.
[0046] If the certificate file information is verified correctly, it means that the certificate file information is correct. If the certificate is legal, the identity authentication is completed; if the certificate is in the expired or invalid stage, a message prompt will be given to indicate that the certificate is incorrect and needs to be updated. Wait until the new certificate is issued and then re-verify the certificate file.
[0047] In one embodiment of the present invention, in step 2, the following steps are specifically included:
[0048] After the certificate file of the terminal device is successfully verified, the login information can be entered on the terminal device to enter the hidden area. The login information includes an account number, a password, and a user PIN code. These information can be set to be combined or one of them can be selected separately as the login information for input. After entering the correct login information, the hidden area can be entered. The hidden area refers to a partition of the quantum memory card. If it is inserted into the terminal in an ordinary way, it is invisible. It can only be seen by entering the login information through the method in the embodiment.
[0049] After entering the hidden area, you can request the quantum key from the server, which includes the following steps:
[0050] The terminal device obtains the locally preset signature information, which is also stored in the hidden area, and sends the signature information to the server;
[0051] The server verifies the received signature information and returns the verification result to the terminal device;
[0052] After the signature information is verified, the terminal device can request the quantum key from the server;
[0053] The server obtains the required quantum key from the quantum key generator;
[0054] The server encrypts the obtained quantum key. In this embodiment, the server uses an asymmetric public key to encrypt the quantum key and sends the encrypted quantum key to the terminal device;
[0055] The terminal device will store the received quantum key in the quantum storage card and can use the private key to decrypt the quantum key, so that the terminal device can directly manage the storage and use of the quantum key. The legitimate device after server authentication can monitor the quantum key pool and the use status of the key in real time to ensure the security of the quantum key pool. The use information of the quantum key is encrypted and stored inside the terminal device to prevent unauthorized access. At the same time, the real-time monitoring of the device can judge and report the abnormal use of the key.
[0056] In one embodiment of the present invention, in step 3, after enabling encrypted communication, the quantum key loaded in the quantum memory card can be used to encrypt and decrypt communication data during the communication process when necessary.
[0057] In step 3, any encryption algorithm among SM4, 3DES, AES, and one-time pad can be used for encrypted communication. In addition, the encryption algorithm used can be switched during the communication process.
[0058] When using the SM4 encryption algorithm, the encryption process of the SM4 algorithm is to first obtain 128-bit plaintext from the user, then divide the plaintext into 4 groups, each with 32 bits, and then transform it through the round function for a total of 32 rounds, and finally transform it in reverse order to get the encrypted result. The decryption algorithm has the same structure as the encryption algorithm, except that the order of use of the round keys is reversed, and the decryption round key is the reverse order of the encryption round key.
[0059] The 3DES encryption algorithm, also known as Triple DES, is a mode of the DES encryption algorithm. The commonly agreed key is loaded into the quantum memory card. The encryption and decryption process is to perform three DES encryption or decryption on the plaintext / ciphertext data to obtain the corresponding ciphertext or plaintext.
[0060] When using the AES encryption algorithm, the AES encryption algorithm involves four operations: byte substitution (SubBytes), row shift (ShiftRows), column confusion (MixColumns) and round key addition (AddRoundKey). The key loaded in the quantum memory card is used to implement key expansion, and then the 128-bit string is read into a 4*4 integer array, which is the state matrix; byte substitution is implemented to pass each element in the state matrix into the getNumFromSBox() function, and then the high 4 bits of the first 8 bits are taken as the row value, and the low 4 bits are taken as the column value, and then returned: row shift, column confusion and round key addition are implemented; the decryption process is to call the inverse function of each round operation in the encryption process.
[0061] When using the one-time pad encryption algorithm, the key used is the key loaded in the quantum memory card. The key is a true random number generated by the quantum key distribution protocol.
[0062] In this embodiment, the encryption algorithm is implemented according to the inherent rules of the algorithm for encryption and decryption, but the key used is a quantum key installed in a quantum storage card, which uses the characteristics of quantum mechanics to ensure communication security. The quantum key can be used in the encryption algorithm to encrypt messages, and the encrypted messages can be transmitted in standard channels.
[0063] The mobile encrypted communication method based on the quantum storage card in this embodiment first uses the quantum key storage card to perform two-way certificate authentication with the server, then safely loads the quantum key into the hidden area of the storage card, and uses the loaded quantum key for mobile encrypted communication.
[0064] In this embodiment, mobile encrypted communication combined with quantum communication can realize highly secure network one-to-one real-time voice calls for specific customers, solve the problem of voice calls being eavesdropped or intercepted in the network, and provide users with high-quality and highly secure voice calls. Based on the securely packaged quantum key, a variety of encryption algorithms are used to encrypt mobile calls, which are suitable for different business and scenario requirements of users, and provide safe and efficient encryption strategy switching without affecting business processes.
[0065] In an embodiment of the present invention, a mobile encrypted communication system is also provided, including:
[0066] Identity authentication module 1, used to initiate identity authentication to the server;
[0067] The quantum key filling module 2 is used to request the quantum key from the server after the identity authentication is successful. The terminal device receives the quantum key sent by the server and fills the quantum key into the quantum storage card;
[0068] The encryption communication module 3 is used to encrypt and decrypt communication data during the communication process using the quantum key loaded in the quantum storage card after the encryption communication is enabled.
[0069] In an embodiment of the present invention, a computer device is also provided, specifically comprising: a processor, a memory and a program;
[0070] The program is stored in the memory, and the processor calls the program stored in the memory to execute the mobile encryption communication method based on the quantum memory card in the above embodiment.
[0071] The computer device may be a terminal, and its internal structure diagram may be as follows: Figure 3 As shown. The computer device includes a processor, a memory, a network interface, a display screen and an input device connected by a bus. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The network interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, a mobile encryption communication method based on a quantum memory card is implemented. The display screen of the computer device can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer device can be a touch layer covered on the display screen, or a key, trackball or touchpad set on the housing of the computer device, or an external keyboard, touchpad or mouse, etc.
[0072] The memory may be, but is not limited to, a random access memory (RAM), a read only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable read-only memory (EEPROM), etc. The memory is used to store programs, and the processor executes the programs after receiving the execution instruction.
[0073] The processor can be an integrated circuit chip with signal processing capabilities. The above-mentioned processor can be a general-purpose processor, including a central processing unit (Central Processing Unit, referred to as: CPU), a network processor (Network Processor, referred to as: NP), etc. The processor can also be other general-purpose processors, digital signal processors (Digital Signal Processor, DSP), application-specific integrated circuits (Application Specific Integrated Circuit, ASIC), field programmable gate arrays (Field-Programmable Gate Array, FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components, etc. The general-purpose processor can be a microprocessor or the processor can also be any conventional processor, etc. The various methods, steps and logic block diagrams disclosed in the embodiments of the present application can be implemented or executed. The general-purpose processor can be a microprocessor or the processor can also be any conventional processor, etc.
[0074] Those skilled in the art will understand that Figure 3 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.
[0075] In an embodiment of the present invention, a computer-readable storage medium is also provided, and the computer-readable storage medium is used to store a program, and the program is used to execute the above-mentioned mobile encryption communication method based on a quantum memory card.
[0076] Those skilled in the art will appreciate that the embodiments of the embodiments of the present invention may be provided as methods, computer devices, or computer program products. Therefore, the embodiments of the present invention may take the form of complete hardware embodiments, complete software embodiments, or embodiments combining software and hardware. Moreover, the embodiments of the present invention may take the form of computer program products implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program codes.
[0077] The embodiments of the present invention are described with reference to flowcharts and / or block diagrams of methods, computer devices, or computer program products according to the embodiments of the present invention. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing terminal device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing terminal device generate a device for implementing the functions specified in the flowcharts and / or.
[0078] These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing terminal device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce a manufactured product including an instruction device that implements the functions specified in the flowchart.
[0079] The above is a detailed introduction to the application of the mobile encrypted communication method, computer device, and computer-readable storage medium based on the quantum memory card provided by the present invention. Specific examples are used in this article to illustrate the principles and implementation methods of the present invention. The description of the above embodiments is only used to help understand the method of the present invention and its core idea. At the same time, for those skilled in the art, according to the idea of the present invention, there will be changes in the specific implementation methods and application scopes. In summary, the content of this specification should not be understood as limiting the present invention.
Claims
1. A mobile encryption communication method based on quantum memory card, characterized in that: The following steps are involved: Initiate identity authentication to the server; After the identity authentication is successful, the terminal device requests the quantum key from the server, receives the quantum key sent by the server, and stores the quantum key in the quantum storage card; After enabling encrypted communication, the quantum key loaded in the quantum memory card is used to encrypt and decrypt the communication data during the communication process; Initiate identity authentication to the server, including the following steps: The terminal device uses its own certificate file, and the terminal device uses the shared key with the server to encrypt. The shared key is a key shared by the terminal device and the server. The terminal device sends the encrypted terminal device certificate file information to the server. The server receives the encrypted terminal device certificate file, decrypts it using the shared key shared with the terminal device to obtain the terminal device certificate file information, and verifies the legitimacy of the certificate file by verifying the certificate file method. The terminal device certificate file is pre-set in the storage card, and the user identity legitimacy is verified through the dual certificate authentication mechanism; Before requesting the quantum key from the server, the following steps are also included: After the certificate file of the terminal device is successfully verified, enter the login information on the terminal device to enter the hidden area. The login information includes account number, password, and user PIN code. Set the account number, password, and user PIN code in combination or select one of them as login information for input. After entering the correct login information, enter the hidden area. The hidden area refers to a partition of the quantum memory card. After entering the hidden area, request the quantum key from the server, which includes the following steps: The terminal device obtains the locally preset signature information, which is also stored in the hidden area, and sends the signature information to the server; The server verifies the received signature information and returns the verification result to the terminal device; After the signature information is verified, the terminal device requests the quantum key from the server; The server obtains the required quantum key from the quantum key generator; The server encrypts the obtained quantum key, uses an asymmetric public key to encrypt the quantum key, and sends the encrypted quantum key to the terminal device; The terminal device will load the received quantum key into the quantum storage card and use the private key to decrypt the quantum key, so that the terminal device can directly manage the storage and use of the quantum key. The use information of the quantum key is encrypted and stored inside the terminal device.
2. According to claim 1, a mobile encryption communication method based on a quantum memory card is characterized in that: If you find that the certificate is expired or invalid when verifying the certificate file, you will be prompted to update the certificate file. After receiving the new certificate file, restart the verification.
3. According to claim 1, a mobile encryption communication method based on a quantum memory card is characterized in that: The quantum key uses any one of the encryption algorithms including SM4, 3DES, AES, and one-time pad for encrypted communication, and the encryption algorithm used can be switched during the communication process.
4. A mobile encrypted communication system, characterized in that: include: Identity authentication module, used to initiate identity authentication to the server; The quantum key filling module is used to request the quantum key from the server after the identity authentication is successful. The terminal device receives the quantum key sent by the server and fills the quantum key into the quantum storage card. The encryption communication module is used to encrypt and decrypt communication data during the communication process using the quantum key loaded in the quantum storage card after the encryption communication is enabled; Initiate identity authentication to the server, including: The terminal device uses its own certificate file, and the terminal device uses the shared key with the server to encrypt. The shared key is a key shared by the terminal device and the server. The terminal device sends the encrypted terminal device certificate file information to the server. The server receives the encrypted terminal device certificate file, decrypts it using the shared key shared with the terminal device to obtain the terminal device certificate file information, and verifies the legitimacy of the certificate file by verifying the certificate file method. The terminal device certificate file is pre-set in the storage card, and the user identity legitimacy is verified through the dual certificate authentication mechanism; Before requesting the quantum key from the server, it also includes: After the certificate file of the terminal device is successfully verified, enter the login information on the terminal device to enter the hidden area. The login information includes account number, password, and user PIN code. Set the account number, password, and user PIN code in combination or select one of them as login information for input. After entering the correct login information, enter the hidden area. The hidden area refers to a partition of the quantum memory card. After entering the hidden area, request the quantum key from the server, which includes the following steps: The terminal device obtains the locally preset signature information, which is also stored in the hidden area, and sends the signature information to the server; The server verifies the received signature information and returns the verification result to the terminal device; After the signature information is verified, the terminal device requests the quantum key from the server; The server obtains the required quantum key from the quantum key generator; The server encrypts the obtained quantum key, uses an asymmetric public key to encrypt the quantum key, and sends the encrypted quantum key to the terminal device; The terminal device stores the received quantum key in the quantum storage card and uses the private key to decrypt the quantum key, so that the terminal device can directly manage the storage and use of the quantum key. The use information of the quantum key is encrypted and stored inside the terminal device. The identity authentication module, quantum key filling module and encryption communication module are connected through communication.
5. A computer device, characterized in that: It includes: a processor, a memory and a program; The program is stored in the memory, and the processor calls the program stored in the memory to execute the mobile encryption communication method based on the quantum memory card according to any one of claims 1 to 3.
6. A computer-readable storage medium, characterized in that: The computer-readable storage medium is used to store a program, and the program is used to execute to perform the mobile encryption communication method based on the quantum memory card according to any one of claims 1 to 3.
