Encryption communication method and device, related equipment and storage medium

By utilizing the shared key between the first device and the third device for information interaction in the cross-domain quantum encrypted call scenario, the session key negotiation and distribution between the calling and called terminals are realized, solving the problem of cross-domain environment. The consistency of key distribution in encrypted calls improves the security and efficiency of encrypted calls.

CN118740400APending Publication Date: 2024-10-01CHINA MOBILE COMM LTD RES INST +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310333334.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-03-30
Publication Date
2024-10-01

AI Technical Summary

Technical Problem

In a cross-domain quantum encrypted call scenario, how does the calling and called terminals obtain consistent session keys to implement encrypted calls? The existing technology is mainly applicable to the local scope of the same quantum key management center and cannot be effective between different management centers. Assign consistent session keys.

Method used

The first device sends a message carrying the fourth device identification information to the third device, receives the encrypted information sent by the third device, and uses the shared key to perform encryption and decryption to achieve session key negotiation and distribution between the calling terminal and the called terminal. Ensure encrypted calls in cross-domain environments.

Benefits of technology

In the cross-domain quantum secure communication scenario, the calling and called terminals can obtain consistent session keys, ensuring the security and efficiency of encrypted calls, reducing the terminal's access requirements for the network, and improving the success of quantum key distribution. Rate.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118740400A_ABST
    Figure CN118740400A_ABST
Patent Text Reader

Abstract

The invention discloses an encryption communication method and device, first equipment, third equipment and a storage medium. The method comprises: receiving a first request sent by a second device; sending a first message to a third device, wherein the first message comprises identification information of a fourth device; wherein the fourth equipment is opposite-end equipment of the communication of the second equipment; receiving a second message carrying the first information sent by the third device; wherein the first information is second information obtained by encrypting a second key by using a first key, or the first key; the first secret key is a shared secret key between the third device and the fourth device, and the second secret key is a shared secret key used by the second device and the fourth device in this communication.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of network communication technology, and in particular to an encrypted communication method, apparatus, related equipment and storage medium. Background Art

[0002] In the related art, in encrypted communication service scenarios (such as wide-area quantum secure communication), the calling and called terminals belonging to different quantum cryptography service centers have the problem of how to obtain consistent session keys to implement encrypted calls. Summary of the invention

[0003] In order to solve the related technical problems, the embodiments of the present application provide an encrypted communication method, apparatus, related equipment and storage medium.

[0004] The technical solution of the embodiment of the present application is implemented as follows:

[0005] The embodiment of the present application provides an encrypted communication method, which is applied to a first device, including:

[0006] receiving a first request sent by a second device;

[0007] Sending a first message to a third device, wherein the first message includes identification information of a fourth device; wherein the fourth device is a peer device of the current communication of the second device;

[0008] Receiving a second message carrying first information sent by a third device; wherein the first information is the second information encrypted by using the first key to encrypt the second key, or the first key;

[0009] The first key is a shared key between the third device and the fourth device, and the second key is a shared key to be used by the second device and the fourth device for current communication.

[0010] In the above solution, the first message also includes first identification information; the second key is determined by the third device according to the first identification information in the first message.

[0011] In the above scheme, the first message also includes second identification information, and / or the second message includes the second identification information.

[0012] In the above solution, the first message also includes at least one of service-related information, key-related information, identification information of the first device, identification information of the second device, and identification information of the third device.

[0013] In the above solution, the service-related information is used to indicate the service type requested by the first request, and / or the key-related information is used to indicate relevant attribute information of the second key.

[0014] In the above solution, the second message also includes at least one of identification information of the first device, identification information of the third device, and a key distribution result.

[0015] In the above solution, the first request carries at least one of service-related information, key-related information, identification information of the second device, identification information of the third device, and identification information of the fourth device.

[0016] In the above scheme, the method further includes at least one of the following:

[0017] Allocating second identification information for this communication;

[0018] Selecting the second key and the corresponding first identification information for this communication;

[0019] At least two of the second identification information, the second key, and the first identification information are associated.

[0020] In the above scheme, the method further comprises:

[0021] The second key is encrypted using a third key to obtain third information; the third key is a shared key between the first device and the second device.

[0022] In the above scheme, the method further comprises:

[0023] Sending the second information and / or the third information to the second device; so that the second device uses the third key to decrypt the third information to obtain the second key, and sends the second information to the fourth device, and / or sends the second information to the fourth device;

[0024] or,

[0025] Encrypt the second key with the first key to obtain the second information; send the second information and / or the third information to the second device; enable the second device to decrypt the third information with the third key to obtain the second key, and send the second information to the fourth device, and / or send the second information to the fourth device.

[0026] The embodiment of the present application also provides an encrypted communication method, which is applied to a third device, including:

[0027] Receiving a first message sent by a first device, wherein the first message includes identification information of a fourth device; wherein the fourth device is a peer device of the second device in this communication;

[0028] Sending a second message carrying first information to the first device; wherein the first information is the second information encrypted by using the first key to encrypt the second key, or the first key;

[0029] The first key is a shared key between the third device and the fourth device, and the second key is a shared key to be used by the second device and the fourth device for current communication.

[0030] In the above solution, the first message also includes first identification information; the second key is determined by the third device according to the first identification information in the first message.

[0031] In the above scheme, the first message also includes second identification information, and / or the second message includes the second identification information.

[0032] In the above solution, the first message also includes at least one of service-related information, key-related information, identification information of the first device, identification information of the second device, and identification information of the third device.

[0033] In the above scheme, the service-related information is used to indicate the service type requested by the first request, and / or the key-related information is used to indicate the relevant attribute information of the second key; the first request is sent by the second device to the first device.

[0034] In the above solution, the second message also includes at least one of identification information of the first device, identification information of the third device, and a key distribution result.

[0035] In the above solution, the first request carries at least one of service-related information, key-related information, identification information of the second device, identification information of the third device, and identification information of the fourth device.

[0036] In the above solution, before receiving the first message sent by the first device, the method further includes at least one of the following:

[0037] Selecting the second key for this communication according to the first identification information and / or the second identification information in the first information;

[0038] At least two of the second identification information, the second key, and the first identification information are associated.

[0039] In the above scheme, the method further comprises:

[0040] The second key is encrypted using the first key to obtain the second information.

[0041] In the above scheme, the method further comprises:

[0042] Receive key confirmation information sent by a fourth device; the key confirmation information is used to indicate a processing result of receiving the second key.

[0043] In the above scheme, the method further comprises:

[0044] Sending key response information to the fourth device; the key response information is used to respond to the key confirmation information.

[0045] The embodiment of the present application also provides an encryption communication device, which is arranged on a first device and includes:

[0046] A first receiving unit, configured to receive a first request sent by a second device;

[0047] A first sending unit, configured to send a first message to a third device, wherein the first message includes identification information of a fourth device; wherein the fourth device is a peer device of the second device in this communication;

[0048] The first receiving unit is also used to receive a second message carrying first information sent by a third device; wherein the first information is the second information encrypted by the second key using the first key, or the first key; the first key is a shared key between the third device and the fourth device, and the second key is a shared key to be used by the second device and the fourth device for this communication.

[0049] The embodiment of the present application also provides an encryption communication device, which is arranged on a third device and includes:

[0050] A second receiving unit, configured to receive a first message sent by a first device, wherein the first message includes identification information of a fourth device; wherein the fourth device is a peer device of the second device in this communication;

[0051] A second sending unit, configured to send a second message carrying first information to the first device; wherein the first information is the second information encrypted by using the first key to encrypt the second key, or the first key;

[0052] The first key is a shared key between the third device and the fourth device, and the second key is a shared key to be used by the second device and the fourth device for current communication.

[0053] The embodiment of the present application also provides a first device, including: a first communication interface;

[0054] The first communication interface is used to receive a first request sent by a second device; send a first message to a third device, wherein the first message includes identification information of a fourth device; wherein the fourth device is the counterpart device of the second device in this communication; receive a second message carrying first information sent by the third device; wherein the first information is second information encrypted with a second key using a first key, or a first key; the first key is a shared key between the third device and the fourth device, and the second key is a shared key to be used by the second device and the fourth device in this communication.

[0055] The embodiment of the present application also provides a third device, including: a second communication interface;

[0056] The second communication interface is used to receive a first message sent by a first device, wherein the first message includes identification information of a fourth device; wherein the fourth device is the counterpart device of the second device in this communication; and send a second message carrying first information to the first device; wherein the first information is second information encrypted with a second key using a first key, or a first key; the first key is a shared key between the third device and the fourth device, and the second key is a shared key to be used by the second device and the fourth device in this communication.

[0057] The embodiment of the present application further provides a first device, comprising: a first processor and a first memory for storing a computer program that can be run on the processor,

[0058] Wherein, when the first processor is used to run the computer program, it executes the steps of any one of the above-mentioned methods on the first device side.

[0059] The embodiment of the present application further provides a third device, comprising: a second processor and a second memory for storing a computer program that can be run on the processor,

[0060] Wherein, when the second processor is used to run the computer program, it executes the steps of any one of the above-mentioned methods on the third device side.

[0061] An embodiment of the present application also provides a storage medium on which a computer program is stored. When the computer program is executed by a processor, the computer program implements the steps of any method on the first device side mentioned above, or implements the steps of any method on the third device side mentioned above.

[0062] The encryption communication method, apparatus, related equipment and storage medium provided in the embodiments of the present application are as follows: a first device receives a first request sent by a second device; sends a first message to a third device, wherein the first message includes identification information of a fourth device; wherein the fourth device is the counterpart device of the second device in this communication; receives a second message carrying first information sent by the third device; wherein the first information is the second information encrypted by using the first key to use the second key, or the first key; the first key is a shared key between the third device and the fourth device, and the second key is the shared key to be used by the second device and the fourth device in this communication; accordingly, for the third device, receives the first message sent by the first device, wherein the first message includes identification information of the fourth device; wherein the fourth device is the counterpart device of the second device in this communication; sends a second message carrying first information to the first device; wherein the first information is the second information encrypted by using the first key to use the second key, or the first key; the first key is the shared key between the third device and the fourth device, and the second key is the shared key to be used by the second device and the fourth device in this communication.

[0063] By adopting the technical solution of the present application, when the second device (for example, terminal A) and the fourth device (for example, terminal B) are cross-domain, that is, terminal A and terminal B belong to different quantum key management centers, the first device (for example, quantum key management center A to which terminal A belongs) sends a first message to the third device (for example, quantum key management center B to which terminal B belongs), and receives a second message carrying first information sent by the third device; wherein the first information is the second information or the first key encrypted with the second key (that is, the shared key between the third device and the fourth device) using the first key (that is, the shared key to be used by the second device and the fourth device for this communication); that is, through information interaction, the calling and called terminals obtain consistent session keys to realize encrypted calls. BRIEF DESCRIPTION OF THE DRAWINGS

[0064] Figure 1 A schematic diagram of a scenario in which the calling and called terminals are both under the jurisdiction of a quantum key management center providing cryptographic services;

[0065] Figure 2 This is a flow chart of the encrypted communication method according to an embodiment of the present application;

[0066] Figure 3 This is another flowchart of the encryption communication method according to an embodiment of the present application;

[0067] Figure 4 A schematic diagram of obtaining a session key for a cross-domain quantum encryption call according to an embodiment of the present application;

[0068] Figure 5This is a schematic diagram of another method of obtaining a cross-domain quantum encryption call session key in an embodiment of the present application;

[0069] Figure 6 A schematic diagram of a device for encrypted communication according to an embodiment of the present application;

[0070] Figure 7 A schematic diagram of another device for encrypted communication according to an embodiment of the present application;

[0071] Figure 8 This is a schematic diagram of the structure of the first device in the embodiment of the present application;

[0072] Fig. 9 This is a schematic diagram of the structure of the third device in the embodiment of the present application;

[0073] Fig.10 This is a schematic diagram of the structure of the encrypted communication system according to an embodiment of the present application. DETAILED DESCRIPTION

[0074] The present application is further described in detail below in conjunction with the accompanying drawings and embodiments.

[0075] In order to realize confidential communication services such as encrypted calls based on quantum key distribution (QKD) technology, the relevant technology proposes a method for obtaining quantum confidential communication session keys, which enables the terminal to effectively obtain quantum session keys from the quantum cryptography service center (also called quantum key management center or quantum key service center or security service center or security center or service center) to encrypt the user's voice, video and other communication content to prevent eavesdropping by attackers.

[0076] However, the relevant technology is mainly applicable to the scenario where the calling and called terminals are under the jurisdiction of the same quantum key management center and provided with cryptographic services by it. Figure 1 To understand. Figure 1Schematic diagram of a scenario where the calling and called terminals are both under the jurisdiction of a quantum key management center to provide cryptographic services, with the situation of encryption terminals A and B in area A. At this time, encryption terminals A and B are both served by quantum key management center A. When an encrypted call is made between the calling and called, the session key is generated and distributed by the same quantum key management center, and is securely distributed after being encrypted with a pre-shared symmetric key. Existing technical solutions can only carry out quantum secure communication services within a local scope. In the cross-domain quantum secure communication scenario, encryption terminals or devices work across regions (the so-called region can be understood as the scope of security services provided by the quantum key management center, which can be geographical, logical, etc., and can also be called a service domain or a security service domain. Here, the region can be large or small, such as the division in a wide-area or metropolitan-scale environment (for example, between countries, between provinces, between cities, between administrative regions, etc.), and the division in a local environment (for example, industrial parks, within enterprises, etc.)). The calling and called terminals are respectively under the jurisdiction of different quantum key management centers, such as Figure 1 , encryption terminals A and C are served by quantum key management centers A and B respectively. At this time, how quantum key management centers A and B effectively distribute consistent session keys to encryption terminals A and C to meet the needs of quantum encryption call services becomes a new problem. Therefore, the existing technical solutions are not suitable for cross-domain quantum encryption call service scenarios (for example, in a wide area environment), and new solutions are needed to realize confidential communication services such as quantum encryption calls in a larger range of environments.

[0077] Based on this, an embodiment of the present application provides an encrypted communication method, which is applied to a first device. Figure 2 Schematic diagram of the encrypted communication method of the present application embodiment; Figure 2 As shown, the method includes:

[0078] Step 201: Receive a first request sent by a second device.

[0079] Step 202: Send a first message to a third device, wherein the first message includes identification information of a fourth device; wherein the fourth device is a counterpart device of the current communication with the second device.

[0080] Step 203: Receive a second message carrying first information sent by a third device; wherein the first information is the second information encrypted by the first key with the second key, or the first key; the first key is a shared key between the third device and the fourth device, and the second key is a shared key to be used by the second device and the fourth device for this communication. It should be noted that the first device, the second device, the third device, and the fourth device can all be determined according to actual conditions, and are not limited here. As an example, the first device can be a network device, and the specific first device can be a quantum cryptography service center A, which can be referred to as service center A; the second device can be a terminal device, and the specific second device can be a calling terminal A, which can be referred to as terminal A; the third device can be a network device, and the specific third device can be a quantum cryptography service center B, which can be referred to as service center B; the fourth device can be a terminal device, and the specific fourth device can be a called terminal B, which can be referred to as terminal B.

[0081] In addition, the first device and the third device here are called quantum key service centers. In principle, it refers to a device that provides passwords or key services to users based on quantum keys, and quantum keys refer to keys obtained based on quantum technology, for example, shared symmetric keys obtained by distributing them in a secure manner through a quantum QKD network, and keys generated based on quantum random number generators. Quantum keys can also be referred to as quantum-based keys. Therefore, the first device and the third device may also have other names, such as quantum key servers, quantum key service platforms, quantum key service devices, quantum key management devices, quantum key cloud service platforms or systems, quantum (confidential) communication service centers, quantum basic key management centers, quantum cryptographic servers, quantum cryptographic service centers, quantum cryptographic service platforms, quantum key management devices, quantum basic cryptographic management centers, etc. Of course, in addition to quantum communication scenarios, if the first device and the third device provide users with classical key services based on traditional cryptographic technology, the present invention is also applicable. At this point, the first device and the third device may be referred to as key service centers, and similar names, which will not be repeated here.

[0082] The specific application scenario of the encryption communication method can be determined according to actual conditions and is not limited here. As an example, the encryption communication method can be a quantum encryption communication method.

[0083] In step 201, the receiving of the first request sent by the second device may be the first device receiving the first request sent by the second device; wherein the first request may be understood as request information; the first request may be determined according to actual conditions, and is not limited here. As an example, the first request may be a key request. In practical applications, when the first request may be a key request, the first device is the quantum cryptography service center A, and the second device is the calling terminal A, the first device receiving the first request sent by the second device may be understood as the calling terminal A sending a key request message to the quantum cryptography service center A to apply for a quantum session key for this encrypted call, and the quantum cryptography service center A receives the key request message sent by the calling terminal A.

[0084] The first message includes identification information of the fourth device; wherein, the identification information can be determined according to actual conditions and is not limited here. As an example, the identification information can be terminal identification B.

[0085] The fourth device is the counterpart device of the second device in this communication, which can be understood as when the second device is the calling device, the fourth device is the called device; or, when the fourth device is the calling device, the second device is the called device; as an example, the second device can be a calling terminal device, denoted as calling terminal A; the fourth device can be a called terminal device, denoted as called terminal B.

[0086] In step 202, sending the first message to the third device can be understood as the first device sending the first message to the third device based on the first request; wherein, the first message can be determined according to actual conditions, and is not limited here. As an example, the first message can be a cryptographic service request message. In the case where the first device is the calling-end quantum cryptography service center A and the third device is the called-end quantum cryptography service center B, the first device sending the first message to the third device based on the first request can be the calling-end quantum cryptography service center A sending a cryptographic service request message to the called-end quantum cryptography service center B based on a key request.

[0087] In one embodiment, the first message also includes first identification information; the second key is determined by the third device according to the first identification information in the first message.

[0088] It should be noted that the first identification information can be determined according to actual conditions and is not limited here. As an example, the first identification information can be a quantum key identifier; the quantum key identifier can be recorded as KID.

[0089] The second key is determined by the third device according to the first identification information in the first message, which can be understood as the third device determining the second key according to the first identification information in the first message. As an example, when the first identification information can be a quantum key identifier, the second key can be a quantum key determined according to the quantum key identifier.

[0090] In step 203, the first key and the second key can be determined according to actual conditions, and are not limited here. As an example, the first key can be a quantum key, denoted by K B ; The second key can be a quantum session key, denoted as K.

[0091] As an example, receiving a second message carrying first information sent by a third device; wherein the first information is the second information encrypted by using the first key to encrypt the second key, can be understood as returning a cryptographic service response message to the calling end quantum cryptography service center A. The message includes the calling end quantum cryptography service center identifier A, the called end quantum cryptography service center identifier B, the transaction identifier (Transaction ID, TID), the key distribution result, the use of K B Encrypted quantum key K and other information. The key distribution result is used to explain the result of the key distribution of this quantum encryption call service session, such as success, failure, etc.

[0092] Receive a second message carrying the first information sent by a third device; wherein the first information is the first key, which can be understood as returning a cryptographic service response message to the calling end quantum cryptography service center A. The message includes the calling end quantum cryptography service center identifier A, the called end quantum cryptography service center identifier B, the transaction identifier TID, the key distribution result, and the quantum key K shared by the quantum key management center B and the called terminal B. B The key distribution result is used to explain the result of the key distribution of this quantum encryption call service session, such as success, failure, etc. After receiving the cryptographic service response message, the quantum cryptography service center A uses the K B The quantum session key K of this encrypted call is encrypted and protected.

[0093] By adopting the technical solution of the present application, when the second device (for example, terminal A) and the fourth device (for example, terminal B) belong to cross-domains, that is, terminal A and terminal B belong to different quantum key management centers, the first device (for example, quantum key management center A to which terminal A belongs) sends a first message to the third device (for example, quantum key management center B to which terminal B belongs), and receives a second message carrying first information sent by the third device; wherein the first information is the second information or the first key encrypted with the second key (that is, the shared key between the third device and the fourth device) using the first key (that is, the shared key to be used by the second device and the fourth device for this communication); that is, through information interaction, the calling and called terminals obtain consistent session keys to realize encrypted calls.

[0094] In one embodiment, the first message further includes second identification information, and / or the second message includes the second identification information.

[0095] In this embodiment, the second identification information may be determined according to actual conditions. As an example, the second identification information may be a transaction identifier, which may be recorded as TID.

[0096] It should be noted that the TID can be assigned by the first device or the second device to the current encrypted communication service, and uniquely identifies the current service request. The reason why the TID is carried in the first message is to distinguish it from other encrypted communication services to avoid confusion. Specifically, after receiving the second message, it can be determined that the second message is a feedback to the password request for the current encrypted communication service based on the TID in the second message.

[0097] In one embodiment, the first message further includes at least one of service-related information, key-related information, identification information of the first device, identification information of the second device, and identification information of the third device.

[0098] In this embodiment, the service-related information, key-related information, identification information of the first device, identification information of the second device, and identification information of the third device can all be determined according to actual conditions and are not limited here. As an example, the service-related information can be used to illustrate the type of quantum secure communication; the key-related information can be used to illustrate the need for quantum keys for an encrypted call service between a calling terminal A and a called terminal B; the identification information of the first device can be a quantum cryptography service center identification A; the identification information of the second device can be a calling terminal identification A; and the identification information of the third device can be an identification B of a quantum cryptography service center to which the called terminal belongs.

[0099] In actual applications, the first message may carry the calling and called terminal identifiers A and B; the quantum cryptography service center identifier B to which the called terminal belongs, which is used to determine the quantum cryptography center providing services to the called terminal B; service-related information, which is used to describe the service identifier, type and attributes of quantum secure communication, such as encrypted voice calls, encrypted video calls, etc.; key-related information, which is used to describe the requirements of the encrypted call service between the calling and called terminals A and B for quantum keys, for example, the key quantity, key QoS requirements (such as key transmission rate, provision time requirements, etc.), transmission mode (such as request-based, push-based, etc.), etc.

[0100] In one embodiment, the service-related information is used to indicate the service type requested by the first request, and / or the key-related information is used to indicate relevant attribute information of the second key.

[0101] In this embodiment, the service type may specifically be voice service, video service, conference service, voice / video conference, email, instant message, short message, intercom message, data transmission service, etc. The key-related attribute information may be key length, key lifetime, and key management method, such as acquisition method, use method, destruction method, storage method, etc.

[0102] In one embodiment, the second message further includes at least one of identification information of the first device, identification information of the third device, and a key distribution result.

[0103] In this embodiment, the identification information of the first device, the identification information of the third device, and the key distribution result can all be determined according to actual conditions, and are not limited here. As an example, the identification information of the first device can be the quantum cryptography service center identification A; the identification information of the third device can be the quantum cryptography service center identification B to which the called party belongs; and the key distribution result can be the result of the success and / or failure of the key negotiation fed back to the first device.

[0104] In actual applications, the first message is used for the first device and the third device to negotiate a shared key for this encrypted communication service, and the key allocation result here is used to feedback to the first device whether the key negotiation is successful and / or failed. If the negotiation fails, the first device can also reselect and allocate a new second key for this encrypted communication service, and then send the first message again to negotiate the key with the third device, or feedback a response message of key negotiation failure to the second device to terminate this encrypted communication service.

[0105] In one embodiment, the first request carries at least one of service-related information, key-related information, identification information of the second device, identification information of the third device, and identification information of the fourth device.

[0106] In this embodiment, the service-related information, key-related information, identification information of the second device, identification information of the third device, and identification information of the fourth device can all be determined according to actual conditions and are not limited here. As an example, the service-related information can be used to illustrate the type of quantum secure communication; the key-related information can be used to illustrate the need for quantum keys for an encrypted call service between a calling terminal A and a called terminal B; the identification information of the first device can be a quantum cryptography service center identification A; the identification information of the second device can be a calling terminal identification A; the identification information of the third device can be a quantum cryptography service center identification B to which the called terminal belongs; and the identification information of the fourth device can be a called terminal identification B.

[0107] In actual applications, the first request here carries at least one of the business-related information, key-related information, identification information of the second device, identification information of the third device, and identification information of the fourth device, and the first message also carries at least one of the business-related information, key-related information, identification information of the second device, identification information of the third device, and identification information of the fourth device. The content carried in the first message may be the same as or different from the content carried in the first request. Different situations include: the content carried by the first message is part of the content carried in the first request, or the first request carries more information on the basis of the content carried by the first message. In addition, the information carried in the first request and the corresponding information carried in the first message may be the same or different. For example, the business-related information carried in the first request is A1 and A2, and the first message may only carry A1, or A1 or A2 may be modified accordingly to obtain A3 and then sent through the first message.

[0108] If the first request carries the identification information of the third device, the identification information of the third device is obtained by the second device in the following ways:

[0109] Method 1: The second device obtains the mapping relationship by querying it according to the identifier of the fourth device;

[0110] Method 2: The second device pre-stores the identifier of the corresponding third device;

[0111] Method three: the second device and the fourth device obtain the information through information interaction.

[0112] Then, the first device sends a first message to the third device according to the identification information of the third device in the first request.

[0113] If the first request does not carry the identification information of the third device, the first device may determine the corresponding third device by querying according to the fourth device identification information in the first request, and then send the first message to the third device.

[0114] In one embodiment, after receiving the first request, the method further includes at least one of the following:

[0115] Allocating second identification information for this communication;

[0116] Selecting the second key and the corresponding first identification information for this communication;

[0117] At least two of the second identification information, the second key, and the first identification information are associated.

[0118] In this embodiment, the first identification information, the second identification information, and the second key can all be determined according to actual conditions and are not limited here. As an example, the first identification information can be a key identification, recorded as KID; the second identification information can be a representation of the current encrypted call allocation transaction, recorded as TID; and the second key can be a quantum key, recorded as K.

[0119] As an example, assigning the second identification information for this communication can be understood as assigning the transaction TID for this encrypted call; selecting the second key and the corresponding first identification information for this communication can be understood as querying and obtaining the quantum key K and key identification KID shared with the quantum cryptography service center B of the called party according to the business's requirements for the use of quantum keys, and assigning them as session keys for use in this encrypted call; associating the second identification information, the second key, and at least two of the first identification information can be understood as associating TID with the quantum key K and KID.

[0120] In one embodiment, the method further comprises:

[0121] The second key is encrypted using a third key to obtain third information; the third key is a shared key between the first device and the second device.

[0122] In this embodiment, the third key and the second key can be determined according to actual conditions and are not limited here. As an example, the third key can be a symmetric key, denoted by K A ; The second key can be a quantum key, denoted by K.

[0123] In actual applications, after receiving the key request message, quantum cryptography service center A performs the following processing:

[0124] a. Assigning a transaction indicating TID for this encrypted call;

[0125] b. According to the business demand for the use of quantum keys, query and obtain the quantum key K and key identifier KID shared with the quantum cryptography service center B of the called party, and assign them as the session key for this encrypted call;

[0126] c. Associating TID with quantum key K and KID;

[0127] d. Use the quantum symmetric key K shared with the calling terminal A A The quantum key K is encrypted and protected.

[0128] In one embodiment, the method further comprises:

[0129] Sending the second information and / or the third information to the second device; so that the second device uses the third key to decrypt the third information to obtain the second key, and sends the second information to the fourth device, and / or sends the second information to the fourth device;

[0130] or,

[0131] Encrypt the second key with the first key to obtain the second information; send the second information and / or the third information to the second device; enable the second device to decrypt the third information with the third key to obtain the second key, and send the second information to the fourth device, and / or send the second information to the fourth device.

[0132] In this embodiment, the first key and the second key can be determined according to actual conditions and are not limited here. As an example, the first key can be a symmetric key, denoted by K B ; The second key can be a quantum key, denoted by K.

[0133] In practical applications, sending the second information and / or the third information to the second device; for the second device to use the third key to decrypt the third information to obtain the second key, and sending the second information to the fourth device, and / or sending the second information to the fourth device can be understood as the quantum cryptography service center A returning a key response message to the calling terminal A. The message includes the calling and called terminal identifiers A and B, the transaction identifier TID, and service-related information: such as encrypted voice calls, using K A Encrypted quantum key K, using K B After receiving the key response message, the calling terminal A uses the quantum key K pre-shared with the quantum cryptography service center A to A Decrypt to obtain the quantum session key K for this call, and store K and the transaction identifier TID of this business.

[0134] The second key is encrypted with the first key to obtain the second information; wherein, in practical applications, the second information can be understood as the first device only sending the second information to the second device, and the second device forwarding the second information to the fourth device. That is, the first device only sends the second information to the second device, and the second device forwards the second information to the fourth device.

[0135] As an example, using the first key to encrypt the second key to obtain the second information; sending the second information and / or the third information to the second device; allowing the second device to use the third key to decrypt the third information to obtain the second key, and send the second information to the fourth device, and / or sending the second information to the fourth device can be understood as the quantum cryptography service center A returning a key response message to the calling terminal A. This includes using K B The encrypted quantum key K.

[0136] It should be noted that in order to ensure the shared quantum key K B For the security of transmission, the messages exchanged between quantum cryptography service centers A and B should be protected in an appropriate manner. For example, the quantum symmetric key shared between quantum cryptography service centers A and B can be used for encryption.

[0137] In addition, the technical solution proposed in this application is applicable to a confidential communication system based on a symmetric cryptographic system, that is, it can be applied not only to a confidential communication system based on a quantum key, but also to a confidential communication system based on an ordinary key. In this case, the cryptographic service center is a traditional ordinary cryptographic service center, not a quantum cryptographic service center.

[0138] The method provided by the embodiment of the present invention, the first device service center A obtains the first information through the third device service center B, wherein the first information is the service center B using the first key K B The second information encrypted with the second key K or the first key K B , so the service center A can know the use of the first key K B The result of encrypting the second key K, or directly obtaining K B , and then directly feedback the first key K to the second device terminal A B The result after encrypting the second key K (i.e., the second information), or using the first key K B The second key K is encrypted and fed back to terminal A, so that terminal A forwards it to terminal B and enables terminal B to directly use the first key K BAfter decrypting the second information, the second key K is obtained. The method provided in the embodiment of the present invention can realize the rapid distribution of the session key K in the cross-domain quantum secure communication scenario, without the need for the terminal B to request the service center B to obtain the second key K, thereby reducing the requirements for the terminal B to access the network and improving the success rate and efficiency of quantum key distribution. Accordingly, the embodiment of the present application also provides a data transmission method, which is applied to a third device, Figure 3 Schematic diagram of another process of the encryption communication method of the present application embodiment; Figure 3 As shown, the method includes:

[0139] Step 301: Receive a first message sent by a first device, wherein the first message includes identification information of a fourth device; wherein the fourth device is a counterpart device of the second device in this communication.

[0140] Step 302: Send a second message carrying first information to the first device; wherein the first information is the second information encrypted with the second key using the first key, or the first key; the first key is the shared key between the third device and the fourth device, and the second key is the shared key to be used by the second device and the fourth device for this communication.

[0141] It should be noted that the first device, the second device, the third device, and the fourth device can all be determined according to actual conditions and are not limited here. As an example, the first device can be a network device, and the specific first device can be a quantum cryptography service center A, which can be referred to as service center A; the second device can be a terminal device, and the specific second device can be a calling terminal A, which can be referred to as terminal A; the third device can be a network device, and the specific third device can be a quantum cryptography service center B, which can be referred to as service center B; the fourth device can be a terminal device, and the specific fourth device can be a called terminal B, which can be referred to as terminal B.

[0142] The specific application scenario of the encryption communication method can be determined according to actual conditions and is not limited here. As an example, the encryption communication method can be a quantum encryption communication method.

[0143] In step 301, the first message is determined based on the first request sent by the second device to the first device, which can be understood as the first device receiving the first request sent by the second device, and sending the first message to the third device based on the first request; wherein, the first request can be understood as request information; the first request can be determined according to actual conditions, which is not limited here. As an example, the first request can be a key request. In actual applications, when the first request can be a key request, the first device is the quantum cryptography service center A, and the second device is the calling terminal A, the first device receiving the first request sent by the second device can be understood as the calling terminal A sending a key request message to the quantum cryptography service center A to apply for a quantum session key for this encrypted call, and the quantum cryptography service center A receives the key request message sent by the calling terminal A.

[0144] The first message includes identification information of the fourth device; wherein, the identification information can be determined according to actual conditions and is not limited here. As an example, the identification information can be terminal identification B.

[0145] The fourth device is the counterpart device of the second device in this communication, which can be understood as when the second device is the calling device, the fourth device is the called device; or, when the fourth device is the calling device, the second device is the called device; as an example, the second device can be a calling terminal device, denoted as calling terminal A; the fourth device can be a called terminal device, denoted as called terminal B.

[0146] Receiving the first message sent by the first device can be understood as the first device sending the first message to the third device based on the first request, and the third device receiving the first message sent by the first device; wherein, the first message can be determined according to the actual situation, and is not limited here. As an example, the first message can be a cryptographic service request message. In the case where the first device is the calling-end quantum cryptography service center A and the third device is the called-end quantum cryptography service center B, receiving the first message sent by the first device can be understood as the calling-end quantum cryptography service center A sending a cryptographic service request message to the called-end quantum cryptography service center B based on the key request, and the called-end quantum cryptography service center B receives the cryptographic service request message sent by the calling-end quantum cryptography service center A.

[0147] In one embodiment, the first message further includes first identification information, and / or the second key is determined by the third device according to the first identification information in the first message.

[0148] It should be noted that the first identification information can be determined according to actual conditions and is not limited here. As an example, the first identification information can be a quantum key identifier; the quantum key identifier can be recorded as KID.

[0149] The second key is determined by the third device according to the first identification information in the first message, which can be understood as the third device determining the second key according to the first identification information in the first message. As an example, when the first identification information can be a quantum key identifier, the second key can be a quantum key determined according to the quantum key identifier.

[0150] In step 302, the first key and the second key can be determined according to actual conditions, and are not limited here. As an example, the first key can be a quantum key, denoted by K B ; The second key can be a quantum session key, denoted as K.

[0151] As an example, a second message carrying the first information is sent to the first device; wherein the first information is the second information encrypted by the first key using the second key, which can be understood as returning a cryptographic service response message to the calling end quantum cryptography service center A. The message includes the calling end quantum cryptography service center identifier A, the called end quantum cryptography service center identifier B, the transaction identifier TID, the key distribution result, the use of K B Encrypted quantum key K and other information. The key distribution result is used to explain the result of the key distribution of this quantum encryption call service session, such as success, failure, etc.

[0152] Send a second message carrying the first information to the first device; wherein the first information is the first key, which can be understood as returning a cryptographic service response message to the calling end quantum cryptography service center A. The message includes the calling end quantum cryptography service center identifier A, the called end quantum cryptography service center identifier B, the transaction identifier TID, the key distribution result, and the quantum key K shared by the quantum key management center B and the called terminal B. B The key distribution result is used to explain the result of the key distribution of this quantum encryption call service session, such as success, failure, etc. After receiving the cryptographic service response message, the quantum cryptography service center A uses the K B The quantum session key K of this encrypted call is encrypted and protected.

[0153] In one embodiment, the first message further includes second identification information, and / or the second message includes the second identification information.

[0154] In this embodiment, the second identification information can be determined according to actual conditions. As an example, the second identification information can be TID. The purpose of the TID is to uniquely indicate the quantum encryption call service and distinguish it from other services. Therefore, it can also be a session ID (Session ID, SID) or other identifiers with similar functions. In some cases, the system can also use a key ID (Key ID, KID) instead to achieve a similar effect.

[0155] It should be noted that the TID can be assigned by the first device or the second device to the current encrypted communication service, and uniquely identifies the current service request. The reason why the TID is carried in the first message is to distinguish it from other encrypted communication services to avoid confusion. Specifically, after receiving the second message, it can be determined that the second message is a feedback to the password request for the current encrypted communication service based on the TID in the second message.

[0156] In one embodiment, the first message further includes at least one of service-related information, key-related information, identification information of the first device, identification information of the second device, and identification information of the third device.

[0157] In this embodiment, the service-related information, key-related information, identification information of the first device, identification information of the second device, and identification information of the third device can all be determined according to actual conditions and are not limited here. As an example, the service-related information can be used to illustrate the type of quantum secure communication; the key-related information can be used to illustrate the need for quantum keys for an encrypted call service between a calling terminal A and a called terminal B; the identification information of the first device can be a quantum cryptography service center identification A; the identification information of the second device can be a calling terminal identification A; and the identification information of the third device can be an identification B of a quantum cryptography service center to which the called terminal belongs.

[0158] In actual applications, the first message may carry the calling and called terminal identifiers A and B; the quantum cryptography service center identifier B to which the called terminal belongs, which is used to determine the quantum cryptography center providing services to the called terminal B; service-related information, which is used to describe the service identifier, type and attributes of quantum secure communication, such as encrypted voice calls, encrypted video calls, etc.; key-related information, which is used to describe the requirements of the encrypted call service between the calling and called terminals A and B for quantum keys, for example, the key quantity, key QoS requirements (such as key transmission rate, provision time requirements, etc.), transmission mode (such as request-based, push-based, etc.), etc.

[0159] In one embodiment, the service-related information is used to indicate the service type requested by the first request, and / or the key-related information is used to indicate relevant attribute information of the second key; the first request is sent by the second device to the first device.

[0160] In this embodiment, the service type may specifically be voice service, video service, conference service, voice / video conference, email, instant message, short message, intercom message, data transmission service, etc. The key-related attribute information may be key length, key lifetime, and key management method, such as acquisition method, use method, destruction method, storage method, etc.

[0161] In one embodiment, the second message further includes at least one of identification information of the first device, identification information of the third device, and a key distribution result.

[0162] In this embodiment, the identification information of the first device, the identification information of the third device, and the key distribution result can all be determined according to actual conditions, and are not limited here. As an example, the identification information of the first device can be the quantum cryptography service center identification A; the identification information of the third device can be the quantum cryptography service center identification B to which the called party belongs; and the key distribution result can be the result of the success and / or failure of the key negotiation fed back to the first device.

[0163] In actual applications, the first message is used for the first device and the third device to negotiate a shared key for this encrypted communication service, and the key allocation result here is used to feedback to the first device whether the key negotiation is successful and / or failed. If the negotiation fails, the first device can also reselect and allocate a new second key for this encrypted communication service, and then send the first message again to negotiate the key with the third device, or feedback a response message of key negotiation failure to the second device to terminate this encrypted communication service.

[0164] In one embodiment, the first request carries at least one of service-related information, key-related information, identification information of the second device, identification information of the third device, and identification information of the fourth device.

[0165] In this embodiment, the service-related information, key-related information, identification information of the second device, identification information of the third device, and identification information of the fourth device can all be determined according to actual conditions and are not limited here. As an example, the service-related information can be used to illustrate the type of quantum secure communication; the key-related information can be used to illustrate the need for quantum keys for an encrypted call service between a calling terminal A and a called terminal B; the identification information of the first device can be a quantum cryptography service center identification A; the identification information of the second device can be a calling terminal identification A; the identification information of the third device can be a quantum cryptography service center identification B to which the called terminal belongs; and the identification information of the fourth device can be a called terminal identification B.

[0166] In actual applications, the first request here carries at least one of the business-related information, key-related information, identification information of the second device, identification information of the third device, and identification information of the fourth device, and the first message also carries at least one of the business-related information, key-related information, identification information of the second device, identification information of the third device, and identification information of the fourth device. The content carried in the first message may be the same as or different from the content carried in the first request. Different situations include: the content carried by the first message is part of the content carried in the first request, or the first request carries more information on the basis of the content carried by the first message. In addition, the information carried in the first request and the corresponding information carried in the first message may be the same or different. For example, the business-related information carried in the first request is A1 and A2, and the first message may only carry A1, or A1 or A2 may be modified accordingly to obtain A3 and then sent through the first message.

[0167] If the first request carries the identification information of the third device, the identification information of the third device is obtained by the second device in the following ways:

[0168] Method 1: The second device obtains the mapping relationship by querying it according to the identifier of the fourth device;

[0169] Method 2: The second device pre-stores the identifier of the corresponding third device;

[0170] Method three: the second device and the fourth device obtain the information through information interaction.

[0171] Then, the first device sends a first message to the third device according to the identification information of the third device in the first request.

[0172] If the first request does not carry the identification information of the third device, the first device may determine the corresponding third device by querying according to the fourth device identification information in the first request, and then send the first message to the third device.

[0173] In one embodiment, before receiving the first message sent by the first device, the method further includes at least one of the following:

[0174] Selecting the second key for this communication according to the first identification information and / or the second identification information in the first information;

[0175] At least two of the second identification information, the second key, and the first identification information are associated.

[0176] In this embodiment, in this embodiment, the first identification information, the second identification information, and the second key can all be determined according to actual conditions, and are not limited here. As an example, the first identification information can be a key identification, recorded as KID; the second identification information can be a representation of the current encrypted call allocation transaction, recorded as TID; the second key can be a quantum key, recorded as K.

[0177] As an example, assigning the second identification information for this communication can be understood as assigning the transaction TID for this encrypted call; selecting the second key and the corresponding first identification information for this communication can be understood as querying and obtaining the quantum key K and key identification KID shared with the quantum cryptography service center B of the called party according to the business's requirements for the use of quantum keys, and assigning them as session keys for use in this encrypted call; associating the second identification information, the second key, and at least two of the first identification information can be understood as associating TID with the quantum key K and KID.

[0178] In one embodiment, the method further comprises:

[0179] The second key is encrypted using the first key to obtain the second information.

[0180] In this embodiment, the first key and the second key can be determined according to actual conditions and are not limited here. As an example, the first key can be a symmetric key, denoted as KB; the second key can be a quantum key, denoted as K.

[0181] In actual applications, after receiving the key request message, quantum cryptography service center A performs the following processing:

[0182] a. Assigning a transaction indicating TID for this encrypted call;

[0183] b. According to the business demand for the use of quantum keys, query and obtain the quantum key K and key identifier KID shared with the quantum cryptography service center B of the called party, and assign them as the session key for this encrypted call;

[0184] c. Associating TID with quantum key K and KID;

[0185] d. Use the quantum symmetric key K shared with the calling terminal A A The quantum key K is encrypted and protected.

[0186] Send the second information and / or the third information to the second device Send the second information and / or the third information to the second device; and send the second information to the fourth device, and / or send the second information to the fourth device Send the second information and / or the third information to the second device Send the second information and / or the third information to the second device; and send the second information to the fourth device, and / or send the second information to the fourth device In one embodiment, the method further includes:

[0187] Receive key confirmation information sent by a fourth device; the key confirmation information is used to indicate a processing result of receiving the second key.

[0188] In this embodiment, the key confirmation information can be determined according to actual conditions and is not limited here. As an example, the key confirmation information may include information such as the calling terminal identifier A and the called terminal identifier B, a transaction identifier TID, etc.

[0189] In actual applications, the called terminal B sends a key confirmation message to the quantum cryptography service center B to indicate that the quantum key K has been successfully received and used. The message includes the calling and called terminal identifiers A and B, the transaction identifier TID, and other information. The message can be securely protected using the shared key between terminal B and quantum cryptography service center B.

[0190] In one embodiment, the method further comprises:

[0191] Sending key response information to the fourth device; the key response information is used to respond to the key confirmation information.

[0192] In this embodiment, the key response information can be determined according to actual conditions and is not limited here. As an example, the key response information can include response information of the calling terminal identification A, the called terminal identification B, the transaction identification TID and other information.

[0193] In actual applications, quantum cryptography service center B returns a key response message to respond to the key confirmation message. The message includes information such as the calling and called terminal identifiers A and B, and the transaction identifier TID. The message can be securely protected using the shared key between terminal B and quantum cryptography service center B.

[0194] The encryption communication method provided in the embodiment of the present application, the quantum cryptography service center A and the quantum cryptography service center B obtain the quantum key K shared by the quantum cryptography service center B and the called terminal B through message interaction. B The protected quantum session key K, or the quantum key K B And K is securely protected; and the called terminal confirms the use of the quantum key K by interacting with the quantum cryptography service center B through messages.

[0195] In order to better understand the present application, an actual application scenario is illustrated here, in which the encryption communication method is a method for obtaining a cross-domain quantum secure communication session key (for example, in a wide-area secure communication scenario, terminal A and terminal B are located in different areas, and the span between the two is large, and long-distance secure communication needs to be achieved through quantum secure communication technology). The first device can be a quantum cryptography service center A, the second device can be a calling terminal A, the third device can be a quantum cryptography service center B, and the fourth device can be a called terminal B.

[0196] This application mainly solves the problem of how the calling and called terminals belonging to different quantum key management centers can obtain consistent session keys to realize encrypted calls in cross-domain quantum secure communication business scenarios. The specific solution is as follows.

[0197] Solution 1: Obtain the quantum shared key K B The encrypted quantum session key K. This scheme can be combined with Figure 4 To understand, Figure 4 A schematic diagram of obtaining a session key for a cross-domain quantum encryption call in an embodiment of the present application.

[0198] 1. The calling terminal sends a quantum secure communication request message (which can be a SIP protocol message, such as INVITE, Message, etc.) to the called terminal to start a quantum encrypted call. The message can carry the center identifier that provides quantum cryptographic services to the calling terminal, security-related information, etc. Security-related information is used to complete quantum communication encryption negotiation, including quantum session key-related information (such as key quantity, key acquisition method, etc.).

[0199] 2. The communication system starts the call connection process for this encrypted call. During this process, the called terminal can return a response message (which can be a SIP protocol message, such as 183, Message, etc.). The response message can carry the identifier of the quantum cryptography service center to which the called party belongs and the security-related information confirmed by the called party.

[0200] 3. While initiating a communication call, the calling terminal A sends a key request message to the quantum cryptography service center A to apply for a quantum session key for this encrypted call. The message may carry the calling and called terminal identifiers A and B; the quantum cryptography service center identifier B to which the called terminal belongs, which is used to determine the quantum cryptography center providing services to the called terminal B; service-related information, which is used to describe the service identifier, type and attributes of quantum secure communication, such as encrypted voice calls, encrypted video calls, etc.; key-related information, which is used to describe the requirements of the encrypted call service between the calling and called terminals A and B for quantum keys, such as key quantity, key QoS requirements (key transmission rate, provision time requirements, etc.), transmission mode (such as request-based, push-based, etc.), etc.

[0201] After receiving the key request message, quantum cryptography service center A performs the following processing:

[0202] a. Assigning a transaction indicating TID for this encrypted call;

[0203] b. According to the business demand for the use of quantum keys, query and obtain the quantum key K and key identifier KID shared with the quantum cryptography service center B of the called party, and assign them as the session key for this encrypted call;

[0204] c. Associating TID with quantum key K and KID;

[0205] d. Use the quantum symmetric key K shared with the calling terminal A A The quantum key K is encrypted and protected.

[0206] 4. Send a cryptographic service request message to the called end quantum cryptographic service center B. The message includes the calling and called terminal identifiers A and B, the calling end quantum cryptographic service center identifier A, the called end quantum cryptographic service center identifier B, the transaction identifier TID, service-related information, key-related information, etc. Service-related information is used to indicate the type of quantum secure communication service, such as encrypted voice calls. Key-related information indicates the key information allocated for this quantum secure communication service, including the key identifier KID, key length, etc.

[0207] After receiving the cryptographic service request message, quantum cryptography service center B performs the following processing:

[0208] a. Based on the KID, key length and other information, the quantum key K shared with the quantum cryptography service center A is locally queried and assigned as the session key for this encrypted call;

[0209] b. Associating TID with quantum key K and KID;

[0210] c. Use the quantum symmetric key K shared with the called terminal B BThe quantum key K is encrypted and protected.

[0211] 5. Return the cryptographic service response message to the calling end quantum cryptographic service center A. The message includes the calling end quantum cryptographic service center identifier A, the called end quantum cryptographic service center identifier B, the transaction identifier TID, the key distribution result, and the use of K B Encrypted quantum key K and other information. The key distribution result is used to explain the result of the key distribution of this quantum encryption call service session, such as success, failure, etc.

[0212] 6. Quantum cryptography service center A returns a key response message to calling terminal A. The message includes the calling and called terminal identifiers A and B, the transaction identifier TID, and service-related information: such as encrypted voice calls, using K A Encrypted quantum key K, using K B Encrypted and protected quantum key K and other information.

[0213] After receiving the key response message, the calling terminal A uses the quantum key K pre-shared with the quantum cryptography service center A to A Decrypt to obtain the quantum session key K for this call, and store K and the transaction identifier TID of this business.

[0214] 7. The calling terminal A sends a key sending message to the called terminal B. The message includes the calling and called terminal identifiers A and B, the transaction identifier TID, and the key used. B Encrypted and protected quantum key K and other information.

[0215] After receiving the key sending message, the called terminal B uses the quantum key K pre-shared with the quantum cryptography service center B to B Decrypt to obtain the quantum session key K for this call, and store K and the transaction identifier TID of this business.

[0216] 8. The called terminal B returns a key response message to the calling terminal A. The message includes the calling and called terminal identifiers A and B, the transaction identifier TID, the acquisition result of the quantum key K and other information.

[0217] 9. Optionally, the called terminal B sends a key confirmation message to the quantum cryptography service center B to indicate that the quantum key K has been successfully received and used. The message includes information such as the calling and called terminal identifiers A and B, and the transaction identifier TID. The message can be securely protected using the shared key between terminal B and quantum cryptography service center B.

[0218] 10. Accordingly, quantum cryptography service center B returns a key response message to respond to the key confirmation message. The message includes the calling and called terminal identifiers A and B, the transaction identifier TID and other information. The message can be protected by the shared key between terminal B and quantum cryptography service center B.

[0219] 11. The calling and called terminals A and B use the acquired quantum key K to make an encrypted call.

[0220] It is worth noting that the purpose of the transaction ID TID is to uniquely identify the quantum encryption call service and distinguish it from other services. Therefore, it can also be a session ID SID (Session ID) or other identifiers with similar functions. In some cases, the system can also use a key ID KID (Key ID) instead to achieve a similar effect.

[0221] In this embodiment of the application, the quantum cryptography service center A and the quantum cryptography service center B obtain the quantum key K shared by the quantum cryptography service center B and the called terminal B through message interaction. B The protected quantum session key K, or the quantum key K B And provide security protection for K.

[0222] Solution 2: Obtain the quantum key K shared by quantum cryptography service center B and the called party B This solution can be combined with Figure 5 To understand, Figure 5 This is a schematic diagram of another method of obtaining a cross-domain quantum encryption call session key in an embodiment of the present application.

[0223] Solution 2 is basically similar to Solution 1, and the main difference lies in the processing of the cryptographic service request message sent in step 4 received by quantum cryptography service center B, and the processing of the message in step 5. Only the differences are described here, and the same parts are not repeated.

[0224] 4. Send a cryptographic service request message to the called party’s quantum cryptography service center B.

[0225] After receiving the cryptographic service request message, quantum cryptography service center B performs the following processing:

[0226] a. Based on the KID, key length and other information, the quantum key K shared with the quantum cryptography service center A is locally queried and assigned as the session key for this encrypted call;

[0227] b. Associate the TID with the quantum key K and KID.

[0228] 5. Return a cryptographic service response message to the calling end quantum cryptography service center A. The message includes the calling end quantum cryptography service center identifier A, the called end quantum cryptography service center identifier B, the transaction identifier TID, the key distribution result, and the quantum key K shared by the quantum key management center B and the called terminal B. B The key distribution result is used to explain the result of the session key distribution of this quantum encryption call service, such as success, failure, etc.

[0229] After receiving the cryptographic service response message, quantum cryptography service center A uses the K B The quantum session key K of this encrypted call is encrypted and protected.

[0230] 6. Quantum cryptography service center A returns a key response message to calling terminal A. This includes using K B The encrypted quantum key K.

[0231] It should be noted that in order to ensure that the quantum key K shared in step 5 B Transmission security: In Solution 2, the messages exchanged between quantum cryptography service centers A and B should be protected in an appropriate manner. For example, the messages can be encrypted using the quantum symmetric key shared between quantum cryptography service centers A and B.

[0232] In this embodiment of the present application, the called terminal confirms the use of the quantum key K by interacting with the quantum cryptography service center B through messages.

[0233] It should be noted that the technical solution proposed in this application is applicable to a secure communication system based on a symmetric cryptographic system, that is, it can be applied not only to a secure communication system based on a quantum key, but also to a secure communication system based on an ordinary key. In this case, the cryptographic service center is a traditional ordinary cryptographic service center, not a quantum cryptographic service center.

[0234] The technical solution proposed in this application has nothing to do with the network communication technology used to establish encrypted calls. It can be combined with any call establishment method to achieve confidential communication. This solution is applicable to confidential communication systems based on Internet Protocol (IP) and multimedia (IMS) network technologies for interconnection between networks, such as voice over Long Term Evolution (VoLTE), high-definition calls (Voice over New Radio, VoNR), IMS fixed-line phones, etc. It can also be applied to confidential communication systems based on other technologies, such as voice transmission over Internet Protocol (VoIP), non-IP, based on Session Initiation Protocol (SIP) servers, etc.

[0235] In addition to being applicable to voice encryption call services between the caller and the called party, this technical solution can also be applied to other confidential communication services, such as encrypted video calls, encrypted short messages / 5G message converged communications (Rich Communication Suite, RCS) / instant messages, encrypted intercom messages, encrypted file transfers, encrypted emails, etc. It can also be applied to confidential communication services between multiple users, such as multi-party encrypted voice / video calls, encrypted multi-party conferences, encrypted group messages / emails, etc.

[0236] In the case of multi-party confidential communication, there can be multiple called parties. At this time, the quantum cryptography service center of the calling party needs to interact with the quantum cryptography service centers of multiple called parties through cryptographic service request / response messages to obtain the encrypted quantum key K for different called terminals, or obtain the shared quantum key of different called terminals.

[0237] In addition, the center, platform or system that provides quantum cryptographic services for the caller may vary depending on the system architecture adopted by the quantum secure communication service. Therefore, it may be a quantum key management center that provides quantum key management services specifically for encrypted call services, or it may be a general quantum cryptographic security service center that provides quantum key services for a variety of different services in a quantum cryptographic service network, or it may be a QKD quantum key management device that provides quantum key services in a quantum network quantum key distribution (QKD) network. In short, this application has no specific requirements for the center, platform or system that provides quantum cryptographic services, but the quantum key K is obtained through negotiation of the quantum QKD network.

[0238] In order to implement the method of the embodiment of the present application, the embodiment of the present application also provides an encryption communication device, which is arranged on a first device. Figure 6 Schematic diagram of a device for encrypted communication according to an embodiment of the present application; Figure 6 As shown, the device 600 includes:

[0239] A first receiving unit 601 is configured to receive a first request sent by a second device;

[0240] The first sending unit 602 is configured to send a first message to a third device, wherein the first message includes identification information of a fourth device; wherein the fourth device is a peer device of the second device in this communication;

[0241] The first receiving unit 601 is also used to receive a second message carrying first information sent by a third device; wherein the first information is the second information encrypted by the second key using the first key, or the first key; the first key is a shared key between the third device and the fourth device, and the second key is a shared key to be used by the second device and the fourth device for this communication.

[0242] In one embodiment, the first message also includes first identification information; the second key is determined by the third device according to the first identification information in the first message.

[0243] In one embodiment, the first message further includes second identification information, and / or the second message includes the second identification information.

[0244] In one embodiment, the first message further includes at least one of service-related information, key-related information, identification information of the first device, identification information of the second device, and identification information of the third device.

[0245] In one embodiment, the service-related information is used to indicate the service type requested by the first request, and / or the key-related information is used to indicate relevant attribute information of the second key.

[0246] In one embodiment, the second message further includes at least one of identification information of the first device, identification information of the third device, and a key distribution result.

[0247] In one embodiment, the first request carries at least one of service-related information, key-related information, identification information of the second device, identification information of the third device, and identification information of the fourth device.

[0248] In one embodiment, after receiving the first request, the apparatus 600 further includes a first allocating unit, a first selecting unit and a first associating unit; wherein,

[0249] The first allocating unit is used to allocate second identification information for this communication;

[0250] The first selection unit is used to select the second key and the corresponding first identification information for this communication;

[0251] The first associating unit is used to associate at least two of the second identification information, the second key, and the first identification information.

[0252] In one embodiment, the apparatus 600 further includes a first encryption unit, configured to encrypt the second key using a third key to obtain third information; the third key is a shared key between the first device and the second device.

[0253] In one embodiment, the first sending unit 602 is also used to send the second information and / or the third information to the second device; so that the second device uses the third key to decrypt the third information to obtain the second key, and sends the second information to the fourth device, and / or sends the second information to the fourth device; or, encrypt the second key with the first key to obtain the second information; send the second information and / or the third information to the second device; so that the second device uses the third key to decrypt the third information to obtain the second key, and sends the second information to the fourth device, and / or sends the second information to the fourth device.

[0254] In order to implement the method on the third device side of the embodiment of the present application, the embodiment of the present application also provides an encryption communication device, which is arranged on the third device. Figure 7 Schematic diagram of another device for encrypted communication in an embodiment of the present application; Figure 7 As shown, the device 700 includes:

[0255] The second receiving unit 701 is configured to receive a first message sent by a first device, wherein the first message includes identification information of a fourth device; wherein the fourth device is a peer device of the second device in this communication;

[0256] The second sending unit 702 is used to send a second message carrying first information to the first device; wherein the first information is the second information encrypted by the second key using the first key, or the first key; the first key is the shared key between the third device and the fourth device, and the second key is the shared key to be used by the second device and the fourth device for this communication.

[0257] In one embodiment, the first message further includes first identification information, and / or the second key is determined by the third device according to the first identification information in the first message.

[0258] In one embodiment, the first message further includes second identification information, and / or the second message includes the second identification information.

[0259] In one embodiment, the first message further includes at least one of service-related information, key-related information, identification information of the first device, identification information of the second device, and identification information of the third device.

[0260] In one embodiment, the service-related information is used to indicate the service type requested by the first request, and / or the key-related information is used to indicate relevant attribute information of the second key; the first request is sent by the second device to the first device.

[0261] In one embodiment, the second message further includes at least one of identification information of the first device, identification information of the third device, and a key distribution result.

[0262] In one embodiment, the first request carries at least one of service-related information, key-related information, identification information of the second device, identification information of the third device, and identification information of the fourth device.

[0263] In one embodiment, the device 700 further includes a second selection unit and a second association unit; wherein,

[0264] The second selection unit is configured to select the second key for this communication according to the first identification information and / or the second identification information in the first information;

[0265] The second associating unit is used to associate at least two of the second identification information, the second key, and the first identification information.

[0266] In one embodiment, the device 700 further includes a second encryption unit, configured to encrypt a second key using the first key to obtain second information.

[0267] In one embodiment, the second receiving unit 701 is further used to receive key confirmation information sent by a fourth device; the key confirmation information is used to indicate a processing result of receiving the second key.

[0268] In one embodiment, the second sending unit 702 is further used to send key response information to the fourth device; the key response information is used to respond to the key confirmation information.

[0269] It should be noted that: the encryption communication device provided in the above embodiment only uses the division of the above program modules as an example when performing encryption communication. In actual applications, the above processing can be assigned to different program modules as needed, that is, the internal structure of the device is divided into different program modules to complete all or part of the above-described processing. In addition, the encryption communication device provided in the above embodiment and the encryption communication method embodiment belong to the same concept, and the specific implementation process is detailed in the method embodiment, which will not be repeated here.

[0270] Based on the hardware implementation of the above program module, and in order to implement the method on the first device side of the embodiment of the present application, the embodiment of the present application further provides a first device, Figure 8 Schematic diagram of the structure of the first device in the embodiment of the present application; Figure 8 As shown, the first device 800 includes:

[0271] The first communication interface 801 is capable of exchanging information with a third device;

[0272] The first processor 802 is connected to the first communication interface 801 to implement information exchange with a third device, and is used to execute the method provided by one or more technical solutions on the first device side when running a computer program. The computer program is stored in the first memory 803.

[0273] Specifically, the first communication interface 801 is used to receive a first request sent by a second device; send a first message to a third device, the first message including identification information of a fourth device; wherein the fourth device is the counterpart device of the second device in this communication; receive a second message carrying first information sent by the third device; wherein the first information is second information encrypted with the second key using the first key, or the first key; the first key is a shared key between the third device and the fourth device, and the second key is a shared key to be used by the second device and the fourth device in this communication.

[0274] It should be noted that the specific processing process of the first processor 802 and the first communication interface 801 can be understood by referring to the above method.

[0275] Of course, in actual application, the various components in the first device 800 are coupled together through the bus system 804. It can be understood that the bus system 804 is used to realize the connection and communication between these components. In addition to the information bus, the bus system 804 also includes a power bus, a control bus, and a status signal bus. However, for the sake of clarity, Figure 8 Various buses are labeled as bus system 804 .

[0276] The first memory 803 in the embodiment of the present application is used to store various types of information to support the operation of the first device 800. Examples of such information include: any computer program used to operate on the first device 800.

[0277] The method disclosed in the above embodiment of the present application can be applied to the first processor 802, or implemented by the first processor 802. The first processor 802 may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method can be completed by an integrated logic circuit of the hardware in the first processor 802 or an instruction in the form of software. The above-mentioned first processor 802 may be a general-purpose processor, a digital signal processor (DSP, Digital Signal Processor), or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components, etc. The first processor 802 can implement or execute the various methods, steps and logic block diagrams disclosed in the embodiments of the present application. A general-purpose processor may be a microprocessor or any conventional processor, etc. In combination with the steps of the method disclosed in the embodiment of the present application, it can be directly embodied as a hardware decoding processor to execute, or it can be executed by a combination of hardware and software modules in the decoding processor. The software module may be located in a storage medium, which is located in the first memory 803, and the first processor 802 reads the information in the first memory 803 and completes the steps of the above method in combination with its hardware.

[0278] In an exemplary embodiment, the first device 800 can be implemented by one or more application specific integrated circuits (ASIC), DSP, programmable logic device (PLD), complex programmable logic device (CPLD), field programmable gate array (FPGA), general processor, controller, microcontroller (MCU), microprocessor, or other electronic components to execute the aforementioned method.

[0279] Based on the hardware implementation of the above program module, and in order to implement the method on the third device side of the embodiment of the present application, the embodiment of the present application also provides a third device, Fig. 9 Schematic diagram of the structure of the third device in the embodiment of the present application; Fig. 9 As shown, the third device 900 includes:

[0280] The second communication interface 901 is capable of exchanging information with the first device;

[0281] The second processor 902 is connected to the second communication interface 901 to implement information exchange with the first device, and is used to execute the method provided by one or more technical solutions on the third device side when running a computer program. The computer program is stored in the second memory 903.

[0282] It should be noted that the specific processing process of the second communication interface 901 and the second processor 902 can be understood by referring to the above method.

[0283] Of course, in actual application, the various components in the third device 900 are coupled together through the bus system 904. It can be understood that the bus system 904 is used to realize the connection and communication between these components. In addition to the information bus, the bus system 904 also includes a power bus, a control bus, and a status signal bus. However, for the sake of clarity, Fig. 9 Various buses are labeled as bus system 904.

[0284] The second memory 903 in the embodiment of the present application is used to store various types of information to support the operation of the third device 900. Examples of such information include: any computer program used to operate on the third device 900.

[0285] The method disclosed in the above embodiment of the present application can be applied to the second processor 902, or implemented by the second processor 902. The second processor 902 may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method can be completed by an integrated logic circuit of the hardware in the second processor 902 or an instruction in the form of software. The above-mentioned second processor 902 may be a general-purpose processor, a DSP, or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components, etc. The second processor 902 can implement or execute the various methods, steps and logic block diagrams disclosed in the embodiments of the present application. A general-purpose processor may be a microprocessor or any conventional processor, etc. In combination with the steps of the method disclosed in the embodiment of the present application, it can be directly embodied as a hardware decoding processor to execute, or it can be executed by a combination of hardware and software modules in the decoding processor. The software module may be located in a storage medium, which is located in the second memory 903, and the second processor 902 reads the information in the second memory 903 and completes the steps of the above method in combination with its hardware.

[0286] In an exemplary embodiment, the third device 900 may be implemented by one or more ASICs, DSPs, PLDs, CPLDs, FPGAs, general purpose processors, controllers, MCUs, Microprocessors, or other electronic components to perform the aforementioned methods.

[0287] It can be understood that the memory (first memory 803, second memory 903) of the embodiment of the present application can be a volatile memory or a non-volatile memory, and can also include both volatile and non-volatile memories. Among them, the non-volatile memory can be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), a magnetic random access memory (FRAM), a ferromagnetic random access memory, a flash memory, a magnetic surface memory, an optical disc, or a compact disc read-only memory (CD-ROM); the magnetic surface memory can be a disk memory or a tape memory. The volatile memory can be a random access memory (RAM), which is used as an external cache. By way of example and not limitation, many forms of RAM are available, such as static random access memory (SRAM), synchronous static random access memory (SSRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDRSDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link dynamic random access memory (SLDRAM), and direct RAM bus random access memory (DRRAM).The memories described in the embodiments of the present application are intended to include, but are not limited to, these and any other suitable types of memories.

[0288] In order to implement the method provided in the embodiment of the present application, the embodiment of the present application also provides an encrypted communication system, Fig.10 Schematic diagram of the structure of the encrypted communication system of the present application embodiment; Fig.10 As shown, the system includes: a first device 1001 and a third device 1002.

[0289] Here, it should be noted that the specific processing procedures of the first device 1001 and the third device 1002 have been described in detail above and will not be repeated here.

[0290] In an exemplary embodiment, the embodiment of the present application further provides a storage medium, namely a computer storage medium, specifically a computer-readable storage medium, for example, including a first memory 803 storing a computer program, and the computer program can be executed by the first processor 802 of the first device 800 to complete the steps of the first device side method. For another example, including a second memory 903 storing a computer program, the computer program can be executed by the second processor 902 of the third device 900 to complete the steps of the third device side method. The computer-readable storage medium can be a memory such as FRAM, ROM, PROM, EPROM, EEPROM, Flash Memory, magnetic surface memory, optical disk, or CD-ROM.

[0291] It should be noted that: "first", "second", etc. are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence.

[0292] In addition, the technical solutions described in the embodiments of the present application can be combined arbitrarily without conflict.

[0293] The above description is only a preferred embodiment of the present application and is not intended to limit the protection scope of the present application.

Claims

1. An encrypted communication method, characterized in that: Applied to a first device, comprising: receiving a first request sent by a second device; Sending a first message to a third device, wherein the first message includes identification information of a fourth device; wherein the fourth device is a peer device of the current communication of the second device; Receiving a second message carrying first information sent by a third device; wherein the first information is the second information encrypted by using the first key to encrypt the second key, or the first key; The first key is a shared key between the third device and the fourth device, and the second key is a shared key to be used by the second device and the fourth device for current communication.

2. The method according to claim 1, characterized in that: The first message also includes first identification information; the second key is determined by the third device according to the first identification information in the first message.

3. The method according to claim 1, characterized in that The first message also includes second identification information, and / or the second message includes the second identification information.

4. The method according to claim 1, characterized in that: The first message also includes at least one of service-related information, key-related information, identification information of the first device, identification information of the second device, and identification information of the third device.

5. The method according to claim 4, characterized in that The service-related information is used to indicate the service type requested by the first request, and / or the key-related information is used to indicate relevant attribute information of the second key.

6. The method according to claim 1, characterized in that The second message also includes at least one of identification information of the first device, identification information of the third device, and a key distribution result.

7. The method according to claim 1, characterized in that The first request carries at least one of service-related information, key-related information, identification information of the second device, identification information of the third device, and identification information of the fourth device.

8. The method according to claim 1, characterized in that After receiving the first request, the method further includes at least one of the following: Allocating second identification information for this communication; Selecting the second key and the corresponding first identification information for this communication; At least two of the second identification information, the second key, and the first identification information are associated.

9. The method according to claim 1, characterized in that: The method further comprises: The second key is encrypted using a third key to obtain third information; the third key is a shared key between the first device and the second device.

10. The method according to claim 1 or 9, characterized in that: The method further comprises: Sending the second information and / or the third information to the second device; so that the second device uses the third key to decrypt the third information to obtain the second key, and sending the second information to the fourth device, and / or sending the second information to the fourth device, and / or sending the second information to the fourth device; or, Encrypt the second key with the first key to obtain the second information; send the second information and / or the third information to the second device; enable the second device to decrypt the third information with the third key to obtain the second key, and send the second information to the fourth device, and / or send the second information to the fourth device.

11. An encrypted communication method, characterized in that: Applicable to third-party devices, including: Receiving a first message sent by a first device, wherein the first message includes identification information of a fourth device; wherein the fourth device is a peer device of the second device in this communication; Sending a second message carrying first information to the first device; wherein the first information is the second information encrypted by using the first key to encrypt the second key, or the first key; The first key is a shared key between the third device and the fourth device, and the second key is a shared key to be used by the second device and the fourth device for current communication.

12. The method according to claim 11, characterized in that The first message also includes first identification information, and / or the second key is determined by the third device according to the first identification information in the first message.

13. The method according to claim 11, characterized in that The first message also includes second identification information, and / or the second message includes the second identification information.

14. The method according to claim 11, characterized in that The first message also includes at least one of service-related information, key-related information, identification information of the first device, identification information of the second device, and identification information of the third device.

15. The method according to claim 14, characterized in that The service-related information is used to indicate the service type requested by the first request, and / or the key-related information is used to indicate relevant attribute information of the second key; the first request is sent by the second device to the first device.

16. The method according to claim 11, characterized in that The second message also includes at least one of identification information of the first device, identification information of the third device, and a key distribution result.

17. The method according to claim 15, characterized in that The first request carries at least one of service-related information, key-related information, identification information of the second device, identification information of the third device, and identification information of the fourth device.

18. The method according to claim 12 or 13, characterized in that: The method further comprises at least one of the following: Selecting the second key for this communication according to the first identification information and / or the second identification information in the first information; At least two of the second identification information, the second key, and the first identification information are associated.

19. The method according to claim 11, characterized in that The method further comprises: The second key is encrypted using the first key to obtain the second information.

20. The method according to claim 11, characterized in that The method further comprises: Receive key confirmation information sent by a fourth device; the key confirmation information is used to indicate a processing result of receiving the second key.

21. The method according to claim 20, characterized in that The method further comprises: Sending key response information to the fourth device; the key response information is used to respond to the key confirmation information.

22. An encrypted communication device, characterized in that: Set up on the first device, including: A first receiving unit, configured to receive a first request sent by a second device; A first sending unit, configured to send a first message to a third device, wherein the first message includes identification information of a fourth device; wherein the fourth device is a peer device of the second device in this communication; The first receiving unit is also used to receive a second message carrying first information sent by a third device; wherein the first information is the second information encrypted by the second key using the first key, or the first key; the first key is a shared key between the third device and the fourth device, and the second key is a shared key to be used by the second device and the fourth device for this communication.

23. An encrypted communication device, characterized in that: The settings on the third device include: A second receiving unit, configured to receive a first message sent by a first device, wherein the first message includes identification information of a fourth device; wherein the fourth device is a peer device of the second device in this communication; The second sending unit is used to send a second message carrying the first information to the first device; wherein the first information is the second information encrypted by the second key using the first key, or the first key; the first key is the shared key between the third device and the fourth device, and the second key is the shared key to be used by the second device and the fourth device for this communication.

24. A first device, characterized in that: include: a first communication interface; The first communication interface is used to receive a first request sent by a second device; A first message is sent to a third device, wherein the first message includes identification information of a fourth device; wherein the fourth device is the counterpart device of the second device in this communication; a second message carrying first information is received from the third device; wherein the first information is the second information encrypted with the second key using the first key, or the first key; the first key is a shared key between the third device and the fourth device, and the second key is a shared key to be used by the second device and the fourth device in this communication.

25. A third device, characterized in that: include: A second communication interface; The second communication interface is used to receive a first message sent by a first device, wherein the first message includes identification information of a fourth device; wherein the fourth device is the counterpart device of the second device in this communication; and send a second message carrying first information to the first device; wherein the first information is second information encrypted with a second key using a first key, or a first key; the first key is a shared key between the third device and the fourth device, and the second key is a shared key to be used by the second device and the fourth device in this communication.

26. A first device, characterized in that: include: a first processor and a first memory for storing a computer program executable on the processor, Wherein, when the first processor is used to run the computer program, the steps of the method described in any one of claims 1 to 10 are executed.

27. A third device, characterized in that: include: a second processor and a second memory for storing a computer program executable on the processor, Wherein, when the second processor is used to run the computer program, the steps of the method described in any one of claims 10 to 20 are executed.

28. A storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the computer program implements the steps of the method according to any one of claims 1 to 10, or implements the steps of the method according to any one of claims 11 to 21.