Key transmission system, method and related node

By introducing proxy nodes, the key transmission system between client nodes and service nodes solves the problem that service nodes cannot manage a large number of client nodes at the same time, improves security and resource utilization, and achieves efficient key management and transmission.

CN118677604APending Publication Date: 2024-09-20XFUSION DIGITAL TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410411099.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-04-07
Publication Date
2024-09-20

AI Technical Summary

Technical Problem

In large-scale equipment or server cluster environments, service nodes can only communicate with a limited number of client nodes. As a result, when the number of client nodes exceeds the limit, it cannot communicate with service nodes, affecting user experience.

Method used

Introducing a proxy node, the client node sends a key request message to the service node through the proxy node, and the service node sends an encrypted key response message to the client node through the proxy node, avoiding the service node being directly exposed to other networks, improving security, and Increase the number of client nodes and reduce the number of service node communication ports through the proxy node forwarding function.

Benefits of technology

It increases the number of client nodes managed by the service node, enhances the security of the service node, reduces the number of key server communication ports and link resources, and improves the security and reliability of data transmission.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118677604A
    Figure CN118677604A
Patent Text Reader

Abstract

The embodiment of the invention provides a key transmission system and method and a related node. The key transmission system comprises the service node, the proxy node and the client node, and the service node communicates with the client node through the proxy node, so that the service node can be prevented from being exposed in other networks, and the information security of the service node is improved. In addition, if the service node manages a plurality of client nodes, one client node satisfying the forwarding function in the plurality of client nodes can be designated as a proxy node, and the service node communicates with other client nodes through the proxy node. If one proxy node cannot meet the requirement of simultaneous communication between other multiple client nodes and the service node, the multiple client nodes meeting the forwarding function in the multiple client nodes can be set as multiple proxy nodes, and the service node manages other client nodes through the multiple proxy nodes. Therefore, the number of client nodes managed by one service node can be increased.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of data transmission, and in particular to a key transmission system, method and related nodes. Background Art

[0002] In the external key management system scenario, the client node communicates with the service node through the Key Management Interoperability Protocol (KMIP). The service node is used to manage the entire life cycle of key creation, update, storage, backup, and destruction. The client node communicates with the service node, obtains the encryption key of the data from the service node, and encrypts the data for protection.

[0003] At present, in a large-scale device or server cluster environment, a service node needs to communicate with multiple client nodes and provide keys to multiple client nodes so that multiple client nodes can encrypt the data of the device. However, a service node can only communicate with a limited number of client nodes (for example, N, where N is an integer greater than 2). If the number of client nodes exceeds N, there will be client nodes that cannot communicate with the service node, affecting the user experience. Summary of the invention

[0004] The embodiment of the present application provides a key transmission system, method and related nodes, which are used to increase the number of client nodes managed by a service node. Furthermore, in the key transmission system provided by the embodiment of the present application, the service node is not exposed to other networks, thereby improving the security of the service node data. In addition, it is also used to reduce the number of communication ports on the key service end and reduce link resources.

[0005] In order to achieve the above objectives, this application adopts the following technical solutions:

[0006] In the first aspect, the embodiment of the present application provides a key transmission system, including a service node, a proxy node and a client node. The client node is used to send a key request message to the proxy node, and the key request message is used to instruct the service node to obtain an encryption key; the service node provides an encryption key for the client node; the proxy node is used to receive the key request message sent by the client node, and send the key request message to the service node; the service node is used to receive the key request message, obtain the encryption key, and send the key response message carrying the encryption key to the proxy node; the proxy node is used to receive the key response message, and send the encryption key to the client node.

[0007] The service node provided in the embodiment of the present application communicates with the client node through a proxy node, thereby preventing the service node from being exposed to other networks and improving the security of the service node information. In addition, if the service node manages multiple client nodes, one of the multiple client nodes that meets the forwarding function can be set as a proxy node, and the service node communicates with other client nodes through the proxy node. If a proxy node cannot meet the needs of multiple other client nodes to communicate with the service node at the same time, multiple client nodes that meet the forwarding function among the multiple client nodes can be set as multiple proxy nodes, and the service node manages other client nodes through multiple proxy nodes. As a result, the embodiment of the present application can increase the number of client nodes managed by a service node, and one service node only needs to be connected to a limited number of proxy nodes, so the number of service node communication ports can be further reduced, reducing link resources.

[0008] In a second aspect, an embodiment of the present application provides a key transmission method, which is applied to a proxy node, and the method includes:

[0009] Receive a key request message sent by a client node, and forward the key request message to a service node; the key request message is used to instruct the service node to obtain an encryption key; the service node provides the encryption key to the client node; receive a key response message sent by the service node, the key response message carries the encryption key; and send the encryption key to the client node.

[0010] In a possible implementation of the second aspect, the client node and the proxy node communicate through a pre-generated secure transmission channel, that is, the proxy node receives a key request message sent by the client node through the secure transmission channel; and sends the encryption key to the client node through the secure transmission channel. Thus, data transmission through the secure transmission channel can prevent data from being intercepted or tampered with during the transmission process, thereby improving the security and reliability of data during the transmission process.

[0011] Among them, the method for generating a secure transmission channel specifically includes: the client node sends a proxy request message to the proxy node; the proxy request message is a message encrypted with the company's digital signature; the proxy node receives the proxy request message and decrypts the proxy request message; if the decryption is successful, the proxy node sends a signed response message to the client node, and the signed response message carries the company's signature information; after the client node receives the signed response message from the proxy node, it records the network information of the proxy node and sends the first public key to the proxy node, the first public key is the public key provided by the client node; the proxy node receives the first public key, and uses the received first public key to encrypt the second public key to obtain the encrypted public key; the encrypted public key is sent to the client node; the second public key is the public key provided by the proxy node; the client node receives the encrypted public key, and decrypts the received encrypted public key to obtain the second public key; the client node and the proxy node exchange shared keys to generate a secure transmission channel. The secure transmission channel encrypts and decrypts the signed message carrying the company's signature information and the public key and shared key to ensure the data transmission security of the secure transmission channel.

[0012] In another possible implementation of the second aspect, the proxy node communicates with the service node through an interoperability protocol KMIP channel, the proxy node forwards the key request message to the service node through the KMIP channel, and receives the key response message sent by the service node through the KMIP channel. Data transmission is performed through the KMIP channel to ensure the security and reliability of data transmission between the proxy node and the service node.

[0013] In another possible implementation of the second aspect, in response to receiving a closing instruction sent by a client node, the secure transmission channel is closed; and the device target information of the client node is deleted. For example, the target information is sensitive information of the device, such as device identification information, so as to avoid the KMIP channel from occupying device memory resources and to avoid leakage of device information.

[0014] In another possible implementation of the second aspect, the client node includes a first client node and a second client node. At a first moment, the client node receives a first key request message sent by the first client node, and at a second moment, the client node receives a second key request message sent by the second client node. If the first moment is earlier than the second moment, the client node sends the first key request message and the second key request message to the service node in sequence. If the first moment is earlier than the second moment, the client node sends the second key request message and the first key request message to the service node in sequence. If the first moment is earlier than the second moment, the client node receives a first key response message and a second key response message sent by the service node in sequence. The first encryption key carried by the first key response message corresponds to the first key request message, and the second encryption key carried by the second key response message corresponds to the second key request message. The client node sends the first encryption key to the first client node and the second encryption key to the second client node in sequence. Thus, a proxy node can communicate with multiple client nodes based on the first-come-first-served principle.

[0015] In a third aspect, an embodiment of the present application provides a key transmission method, which is applied to a client node, and the method includes:

[0016] A key request message is sent to the proxy node, where the key request message is used to instruct the service node to obtain an encryption key; the service node provides an encryption key to the client node, where the proxy node is used to forward the key request message to the service node, and send a key response message sent by the service node to the client node, where the key response message carries the encryption key; and receive the encryption key sent by the proxy node.

[0017] In a possible implementation of the third aspect, the client node communicates with the proxy node through a preset secure transmission channel, the client node sends a key request message to the proxy node through the secure transmission channel, and receives an encryption key sent by the proxy node through the secure transmission channel.

[0018] The method for generating a secure transmission channel specifically includes:

[0019] The client node sends a proxy request message to the proxy node; the proxy request message is a message encrypted with the company's digital signature; the proxy node receives the proxy request message and decrypts the proxy request message; if the decryption is successful, the proxy node sends a signed response message to the client node, and the signed response message carries the company's company signature information; after the client node receives the signed response message from the proxy node, it records the network information of the proxy node and sends the first public key to the proxy node, and the first public key is the public key provided by the client node; the proxy node receives the first public key, and uses the received first public key to encrypt the second public key to obtain the encrypted public key; the encrypted public key is sent to the client node; the second public key is the public key provided by the proxy node; the client node receives the encrypted public key, and decrypts the received encrypted public key to obtain the second public key; the client node and the proxy node exchange shared keys to generate a secure transmission channel.

[0020] In a fourth aspect, an embodiment of the present application provides a key transmission method, which is applied to a service node, and the method includes:

[0021] Receive a key request message sent by a proxy node, the key request message is used to enable the client node to obtain an encryption key from the service node; the proxy node is used to forward the key request message to the service node, and send a key response message sent by the service node to the client node, the key response message carries the encryption key; obtain the encryption key, and send the key response message carrying the encryption key to the proxy node, so that the proxy node sends the encryption key to the client node.

[0022] In a possible implementation of the fourth aspect, the proxy node communicates with the service node through an interoperability protocol KMIP channel, and the proxy node receives a key request message sent by the proxy node through the KMIP channel, and sends a key response message carrying an encryption key to the proxy node.

[0023] In a fifth aspect, an embodiment of the present application provides a proxy node, including:

[0024] A memory for storing computer instructions; a processor for executing a computer program or computer instructions stored in the memory, so that the proxy node executes a key transmission method as described in any one of the second aspects.

[0025] In a sixth aspect, the present application provides a service node, characterized in that it includes:

[0026] A memory for storing computer instructions; a processor for executing a computer program or computer instructions stored in the memory, so that the service node executes a key transmission method as described in any one of the third aspects.

[0027] In a seventh aspect, an embodiment of the present application provides a client node, characterized in that it includes:

[0028] A memory for storing computer instructions; a processor for executing a computer program or computer instructions stored in the memory, so that the service node executes a key transmission method as described in any one of the fourth aspects.

[0029] In the eighth aspect, an embodiment of the present application further provides a computer-readable storage medium on which a computer program is stored. When the computer program runs on a computer, the computer executes the operating steps of any possible key transmission method in the second aspect, the third aspect, or the fourth aspect mentioned above.

[0030] In a fifth aspect, an embodiment of the present application further provides a computer program product which, when executed on a computer, implements the operation steps of any possible key transmission method in the second aspect, the third aspect, or the fourth aspect.

[0031] Any of the key transmission methods provided above, the nodes corresponding to the key transmission methods or computer-readable storage media or computer program products, etc. are used to execute the corresponding methods provided above. Therefore, the beneficial effects that can be achieved can refer to the beneficial effects in the corresponding methods and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS

[0032] Figure 1 A schematic diagram of the structure of a key transmission system provided for related solutions;

[0033] Figure 2 A schematic diagram of another key transmission system provided for related schemes;

[0034] Figure 3 A schematic diagram of the structure of a key transmission system provided in an embodiment of the present application;

[0035] Figure 4 An interactive diagram of a secure transmission channel establishment implementation method provided in an embodiment of the present application;

[0036] Figure 5 An interactive diagram of a key transmission method provided in an embodiment of the present application;

[0037] Figure 6 A schematic diagram of the structure of a key transmission system provided in an embodiment of the present application;

[0038] Figure 7 An interactive diagram of another key transmission method provided in an embodiment of the present application;

[0039] Figure 8 A schematic diagram of the structure of a key transmission system provided in an embodiment of the present application;

[0040] Fig. 9 A schematic diagram of the structure of a server. DETAILED DESCRIPTION

[0041] An external key management system is a system that is independent of other application systems and is used to centrally manage, store, and control encryption keys. In an external key management system scenario, the key client establishes a KMIP channel with the key server and communicates with the key server through the KMIP channel.

[0042] Key server (also called service node): a key management service (KMS) terminal, which is deployed with a server that provides encryption keys and is used to provide full life cycle management of encryption keys, such as creation, update, storage, backup, and destruction. The key server can communicate with the key client based on the KMIP channel and send the encryption key to the key client through the KMIP channel based on the KMIP protocol.

[0043] Key client (also called client node): used to obtain encryption keys from the key server, and then use the encryption keys to encrypt the in-band system data of the key client to protect the security and authenticity of the key client data. The key client can be a server using encryption keys, or an out-of-band management system using an encryption key server, such as a baseboard management controller (BMC), etc., which is not specifically limited in this application.

[0044] BMC: It is an out-of-band management system for servers, used to manage server hardware. Each server carries a BMC. As an independent system, BMC does not rely on server system hardware, nor does it rely on system software such as the Basic Input and Output System (BIOS) and the Operating System (OS).

[0045] KMIP protocol: is an industry standard protocol for exchanging encryption keys between key clients and key servers. The KMIP protocol defines the message format and encryption method of encryption keys by the server, and defines the way the key client decrypts the encrypted encryption keys. It can be understood that the key server can transmit the encryption key to the key client securely and reliably through the KMIP channel corresponding to the KMIP protocol. The KMIP protocol supports multiple encryption keys, such as symmetric keys, asymmetric keys, digital certificates, and cryptographic parameters.

[0046] See also Figure 1, which is a structural diagram of a key transmission system provided by a related solution. The key transmission system includes a key server 101 and a key client 102. The key server 101 sends the encryption key to the key client 102 based on the KMIP channel corresponding to the KMIP protocol.

[0047] In addition, the key server 101 can manage multiple key clients 102. Figure 2 , which is a schematic diagram of another key transmission system provided by the related solution. The key transmission system includes a key server 101 and N key clients (such as Figure 2 As shown, key client 102-1, key client 102-2, ..., key client 102-N), where N is an integer greater than 1, for example, N is 2, 3, 4, 5, etc.

[0048] A KMIP channel is established between each key client and the key server 101. For example, a KMIP channel 1 is established between the key client 102-1 and the key server 101, a KMIP channel 2 is established between the key client 102-2 and the key server 101, ..., a KMIP channel N is established between the key client 102-N and the key server 101.

[0049] It should be noted that KMIP channel 1, KMIP channel 2, ..., KMIP channel N are used to represent different KMIP channels.

[0050] The key server can send the encryption key to the key client corresponding to the KMIP channel through the KMIP channel. For example, the key server 101 sends the encryption key 1 to the key client 102-1 through the KMIP channel 1, the key server 101 sends the encryption key 2 to the key client 102-2 through the KMIP channel 2, ..., the key server 101 sends the encryption key N to the key client 102-N through the KMIP channel N.

[0051] It should be noted that encryption key 1, encryption key 2 and encryption key N can be the same encryption key or different encryption keys, and this application does not specifically limit this.

[0052] However, in the external key management system scenario corresponding to a large-scale device or server cluster environment, there are multiple key clients, for example, the number of key clients is M, where M is an integer greater than 1. Since the number of ports corresponding to the key server is fixed, the key server can only manage a limited number (for example, Nth) of key clients. Nth is an integer greater than 1, and Nth is less than M. It can be understood that the key server can only communicate with a maximum of Nth key clients simultaneously and provide encryption keys for the Nth key clients. For the remaining M-Nth key clients, additional key servers may be required to provide encryption keys for the remaining key clients. For example, if M is 8 and Nth is 5, then the external key management system scenario needs to deploy at least 2 key servers to manage the 8 key clients, thereby increasing the resources of the key server, increasing the deployment cost, and affecting the user experience.

[0053] In view of the above problems, an embodiment of the present application provides a key transmission system. The key transmission system includes a key server, a proxy server (also known as a proxy node) and a key client. Among them, the key client sends a key request message to the proxy server. The proxy server forwards the key request message to the key server. The key server obtains a key response message corresponding to the key request message, and sends the key response message to the proxy server. Among them, the key response message carries the encryption key corresponding to the key request message, and the proxy server sends the encryption key carried by the key response message to the key client. That is, by increasing the proxy server, the number of key clients managed by the key server is increased, and centralized management of keys is further realized. In addition, the key server does not need to communicate directly with the key client, which can avoid direct exposure of the key server and improve the security of the key server information.

[0054] The key transmission system provided in the embodiment of the present application is described in detail and completely below in conjunction with the accompanying drawings.

[0055] First, the proxy server is described.

[0056] The proxy server refers to a proxy key server communicating with the key client. In the embodiment of the present application, the proxy server is a key client among multiple key clients that can implement and enable the data forwarding function.

[0057] In one example, the proxy server may be a designated key client. For example, the key client includes key client 102-1, key client 102-2, ..., key client 102-N, and the user may designate key client 102-2 as the proxy server. At this time, other key clients obtain encryption keys from the key server through key client 102-2.

[0058] In another example, the proxy server is a key client determined by negotiation. For example, the key client 102-2 and the key client 102-3 can implement and enable the data forwarding function. The key client that does not enable the data forwarding function or does not have the data forwarding function, such as the key client 102-1, automatically discovers the key client 102-2 and the key client 102-3 that have enabled the data forwarding function. The key client 102-1 can negotiate with the key client 102-2 and the key client 102-3 in turn, and use the key client that successfully negotiates as the proxy server. If the negotiation is successful with all the key clients that have enabled the data forwarding function, according to the preset principle, for example, the first key client that successfully negotiates is used as the proxy server.

[0059] The key transmission system provided in the embodiments of the present application is described in detail below in combination with different embodiments.

[0060] Example 1

[0061] See also Figure 3 , which is a schematic diagram of the structure of a key transmission system provided in an embodiment of the present application. The key transmission system includes a key server 101, an agent server 201 and a key client 102.

[0062] The key client 102 is used to send a key request message to the proxy server 201. The proxy server 201 is used to send the received key request message to the key server 101, thereby obtaining the encryption key from the key server 101. The key request message carries the key service, and the encryption key is determined according to the key service.

[0063] The key server 101 is used to obtain the encryption key according to the key service corresponding to the key request message, and generate a key response message carrying the encryption key. For example, the key server 101 pre-stores the correspondence between the key service and the encryption key, and the key server 101 can obtain the encryption key according to the correspondence. The key server 101 adds the encryption key to the preset field of the key response message and generates a key response message carrying the encryption key.

[0064] The key server 101 is used to send a key response message to the proxy server 201. The proxy server 201 sends the encryption key in the key response message to the corresponding key client. This realizes the transmission of the encryption key. In addition, in order to ensure the security and reliability of the key request message transmission, as well as the security and reliability of the encryption key transmission. The key client 102 sends a key request message to the proxy server 201 through the pre-established secure transmission channel between the key client 102 and the proxy server 201 (hereinafter referred to as the secure transmission channel). After the proxy server 201 obtains the encryption key, it sends the encryption key to the key client 102 through the secure transmission channel.

[0065] To further ensure the security and reliability of encryption key transmission, the proxy server 201 and the key server 101 communicate through the KMIP channel, and the proxy server 201 and the key client 102 communicate through a pre-established secure transmission channel. The key client 102 sends a key request message to the proxy server 201 through the secure transmission channel. The proxy server 201 sends the key request message to the key server 101 through the KMIP channel. After the key server 101 obtains the encryption key, it sends it to the proxy server 201 through the KMIP channel. The proxy server 201 sends the encryption key to the key client 102 through the secure transmission channel.

[0066] Among them, a secure transmission channel can be established between the key client 102 and the proxy server 201 in the following manner.

[0067] See also Figure 4 , which is an interactive diagram of a secure transmission channel establishment implementation method provided in an embodiment of the present application. The method specifically includes the following steps:

[0068] S41: the key client 102 sends a proxy request message to the proxy server 201.

[0069] The proxy request message is a message that triggers the establishment of a secure transmission channel between the key client 102 and the proxy server 101. The proxy request message carries the address of the sender key client 102 and the address of the receiver proxy server 201. Thus, the proxy server 201 can accurately receive the proxy request message and determine the source of the proxy request message, so that the established secure transmission channel meets the needs of the user.

[0070] In another example, during the data transmission process, data is easily intercepted or tampered with, resulting in data security being compromised. In view of the above problems, the proxy request message can be encrypted using the company's digital signature. After the key client generates the proxy request message, it uses the company's digital signature to encrypt the proxy request message and sends the encrypted proxy request message to the proxy server, thereby ensuring the security and integrity of data transmission.

[0071] S42: After receiving the proxy request message, the proxy server 201 performs signature verification.

[0072] The signature verification is used to verify whether the data transmission between the key client 102 and the proxy server 201 is secure. For example, the proxy server 201 can verify whether the device of the proxy server 201 and the device of the key client 102 are from the same company A. If they are from the same company A, it means that the signature verification is successful, and the device of the proxy server 201 and the device of the key client 102 are from the same company. In this way, other companies are prevented from obtaining information of Company A.

[0073] Furthermore, if the proxy request message received by the proxy server 201 is a message encrypted with the company's digital signature, the proxy server 201 can use the company's public key to decrypt the encrypted proxy request message. If the decryption is successful, it means that the device of the proxy server 201 and the device of the key client 102 are from the same company, and the signature verification is successful. If the decryption fails, it means that the device of the proxy server 201 and the device of the key client 102 are from different companies, and the signature verification fails.

[0074] In the embodiment of the present application, if the signature verification fails, it means that data cannot be securely transmitted between the proxy server 201 and the key client 102, and the secure transmission channel stops being established.

[0075] S43: If the signature verification is successful, the proxy server 201 sends a signature response message to the key client 102.

[0076] The signature response message is used to notify the key client 102 that the proxy server 201 has successfully verified the signature.

[0077] In an example, the signature response message carries company signature information, so that the key client 102 can use the company signature information to obtain information that the proxy server 201 and the key client 102 are from the same company.

[0078] S44: After obtaining the signature response message, the key client 102 records the network information of the proxy server 201.

[0079] Exemplarily, after the key client 102 obtains the signature response message, it determines that the proxy server 201 has successfully verified the signature based on the company signature information carried in the signature response message. Then, the key client 102 records the network information of the proxy server 201 to achieve secure data transmission between the key client and the proxy server.

[0080] S45: The key client 102 sends the first public key to the proxy server 201.

[0081] The first public key is a public key provided by the key client 102 .

[0082] In the embodiment of the present application, to ensure the security of the first public key transmission, the key client 102 first encrypts the first public key and sends the encrypted first public key to the proxy server 201. Exemplarily, the key client 102 can encrypt the first public key using the company public key in the company key pair.

[0083] S46: After obtaining the first public key, the proxy server 201 encrypts the second public key.

[0084] The second public key is a public key provided by the proxy server 201 .

[0085] In the embodiment of the present application, after the proxy server 201 obtains the first public key, it uses the first public key to encrypt the second public key to ensure the transmission security of the second public key to the key client.

[0086] Furthermore, if the first public key received by the proxy server 201 is an encrypted first public key, the proxy server 201 first decrypts it to obtain the first public key. For example, if the first public key is a first public key encrypted using a company public key, the proxy server 201 decrypts the encrypted first public key using a company private key in a company key pair to obtain the first public key. The company key pair is an asymmetric encryption technology used within the company, including a company public key and a company private key. The company public key encrypts data, and the company private key decrypts data, which can prevent data from being intercepted during transmission and improve the security and integrity of data transmission and storage.

[0087] S47: The proxy server 201 sends the encrypted second public key to the key client 102.

[0088] S48: The key client 102 decrypts the encrypted second public key to obtain the second public key.

[0089] The key client 102 includes a first private key corresponding to the first public key.

[0090] In the embodiment of the present application, after receiving the encrypted second public key sent by the proxy server 201, the key client 102 uses the first private key to decrypt the second public key encrypted by the first public key to obtain the second public key.

[0091] S49: The proxy server 201 exchanges a shared key with the key client 102.

[0092] Shared key refers to an encryption method that uses the same key during encryption and decryption.

[0093] In the embodiment of the present application, the proxy server 201 and the key client 102 exchange a shared key through the asymmetric key pair of the proxy server 102 (the second public key and the second private key) and the asymmetric key of the key client 102 (the first public key and the second private key). As a result, the proxy server 201 understands the shared key of the key client 102, and the key client 102 understands the shared key of the proxy server 201. In this way, when the key client 102 sends an encrypted message to the proxy server 201, the proxy server 201 can decrypt the message and understand the content of the message. When the proxy server 201 sends an encrypted message to the key client 102, the key client 102 can decrypt the message and understand the content of the message. Thereby, a secure transmission channel used for encryption services is established, that is, a secure transmission channel is established to process key messages.

[0094] Need to explain, Figure 4 This paper introduces the process of establishing a secure transmission channel between a key client and a proxy server. If multiple key clients want to establish a secure transmission channel with a proxy server, each of the multiple key clients needs to establish a secure transmission channel with the proxy server according to Figure 4 The establishment method shown establishes a secure transmission channel.

[0095] The following introduces Figure 3 A key transmission method corresponding to the key transmission system shown.

[0096] See also Figure 5 , which is an interactive diagram of a key transmission method provided in an embodiment of the present application. The method specifically includes the following steps:

[0097] S51: The key client 102 establishes a secure transmission channel with the proxy server 201.

[0098] When the key client 102 needs to obtain the encryption key from the key server 101, the key client 102 first sends a proxy request message to the proxy server 201, and then Figure 4 The secure transmission channel establishment method shown establishes a secure transmission channel between the key client 102 and the proxy server 201 .

[0099] S52 : the key client 102 records the shared key and device information of the proxy server 201 .

[0100] In the embodiment of the present application, after the key client 102 and the proxy server 201 complete the establishment of a secure transmission channel, the shared key (referred to as the first shared key) of the proxy server 201 is recorded. Exemplarily, after the key client 102 and the proxy server 201 exchange shared keys, the key client 102 records the shared key of the proxy server 201, for example, the shared key can be recorded in the cache area of ​​the key client 102, and after receiving the encrypted data sent by the proxy server 201, the shared key can be called from the cache area for decryption.

[0101] In addition, the key client 102 also records the device information of the proxy server 201. The device information includes various data and parameters related to the device, which are used to ensure secure communication and key transmission between the key client 102 and the proxy server 201. The device information includes but is not limited to device identification information for uniquely identifying the device, device configuration information for ensuring compatibility between devices, network connection information for establishing a secure connection, and device status information. Therefore, by recording the device information of the proxy server 201, the key client 102 helps to understand the device status of the proxy server 201 and whether normal business communication can be carried out between the two devices.

[0102] S53: The proxy server 201 records the shared key and device information of the key client 102.

[0103] After the proxy server 201 and the key client 102 have established a secure transmission channel, the shared key (second shared key) and device information of the key client 102 are recorded. Exemplarily, after the key client 102 and the proxy server 201 exchange shared keys, the proxy server 201 records the shared key of the key client 102, for example, the shared key can be recorded in the cache area of ​​the proxy server 201, and after receiving the encrypted data sent by the key client 102, the shared key can be called from the cache area for decryption.

[0104] It should be noted that the embodiment of the present application does not specifically limit the execution order of step S52 and step S53, and step S52 may be performed first, and then step S53. S53 may also be performed first, and then step S52, or S52 and S53 may be performed simultaneously.

[0105] S54: The key client 102 sends a key request message to the proxy server 201.

[0106] The key request message is a message encrypted by the second shared key. In the embodiment of the present application, the key client 102 sends the encrypted key request message to the proxy server 201 through a secure transmission channel.

[0107] S55: The proxy server 201 establishes a KMIP channel with the key server 101.

[0108] In the embodiment of the present application, the execution order of step S51 and step S55 is not limited, for example, S51 and step S55 can be executed at the same time. In one example, after the proxy server 201 receives the proxy request message, it triggers the proxy server 201 to establish a KMIP channel with the key server 102, and triggers the proxy server 201 to establish a secure transmission channel with the key client 102. S51 can also be executed first, and then S55. For example, in one example, after the proxy server 201 receives the key request service sent by the key client, it triggers the proxy server to establish a KMIP channel with the key server. The embodiment of the present application is not specifically limited.

[0109] S56: The proxy server 201 sends the key request message to the key server 101 through the KMIP channel.

[0110] S57: The key server 101 obtains the key response message, and sends the key response message to the proxy server 201.

[0111] It should be noted that in the external key management system, the key server 101 and the key client 102 have the same shared key. The proxy server 201 sends the key request message to the key server 101, and the key server 101 can use the shared key to decrypt the key request message and obtain the key service information carried in the key request message.

[0112] The key service end 101 obtains the encryption key according to the key service information carried in the key request message, and encapsulates the encryption key in the key response message structure to obtain the key response message. In one example, the encryption key is encapsulated in the message body of the key response message structure to obtain the key response message.

[0113] In addition, the header of the key response message may encapsulate the sender being the address corresponding to the key server 101 and the receiver being the address corresponding to the proxy server 201. Thus, the key server 101 may send the key response message to the proxy server 201.

[0114] The key server 101 may send the key response message to the proxy server 201 through the KMIP channel established in step S55.

[0115] S58: The proxy server 201 decrypts the response key message to obtain the encryption key.

[0116] The proxy server 201 decrypts the response key message based on the decryption method specified by KMIP, and can obtain the encryption key carried in the response key message.

[0117] S59: The proxy server 201 sends the encryption key to the key client 102.

[0118] The proxy server 201 sends the encryption key to the key client 102 through a secure transmission channel. After obtaining the encryption key, the key client 102 encrypts the data to be encrypted.

[0119] In one example, the proxy server 201 first encrypts the encryption key using the first shared key, and then sends the encrypted encryption key to the key client 102 through a secure transmission channel. Thus, the stability and security of the encryption key transmission process are guaranteed.

[0120] In another example, the proxy server 201 encapsulates the encryption key in a message body of a send key message structure to obtain a send key message, and sends the send key message to the key client 102 through a secure transmission channel.

[0121] In another example, the proxy server 201 encrypts the sending key message by using the first shared key, and sends the encrypted sending key message to the key client 102, so as to further improve the security and stability of the encryption key transmission.

[0122] S510: The key client 102 sends a close instruction to the proxy server 201.

[0123] After receiving the encryption key, the key client 102 generates a closing instruction, and sends the closing instruction to the proxy server 201. The closing instruction is used to trigger the proxy server 201 to close the secure transmission channel.

[0124] S511: The proxy server 201 closes the secure channel.

[0125] After the proxy server 201 receives the closing instruction, the proxy server closes the secure transmission channel between the proxy server and the key client.

[0126] S512: The proxy server 201 and the key client 102 delete sensitive information of the peer device.

[0127] The proxy server 201 deletes the device sensitive information of the key client 102. The key client 102 deletes the device sensitive information of the proxy server 201. The device sensitive information includes a shared key and device information. By deleting the device sensitive information, the device is protected.

[0128] It should be noted that the embodiment of the present application does not specifically limit the execution order of S511 and S512. S511 may be executed first and then S512, or S512 may be executed first and then S511, or S512 and S511 may be performed simultaneously.

[0129] In summary, the key server communicates with the key client through the proxy server, which can avoid the key server being directly exposed to the outside, thereby improving the information security of the key server. Furthermore, the key server and the proxy server transmit information through the KMIP channel, and the proxy server and the key client transmit information through a secure transmission channel, thereby improving the security and reliability of information transmission.

[0130] Example 2

[0131] The key transmission provided in the embodiment of the present application includes a proxy server and multiple key clients. Figure 6 , which is a schematic diagram of the structure of a key transmission system provided in an embodiment of the present application. The key transmission system includes a key server 101, an agent server 201 and N key clients, namely, key client 102-1, key client 102-2, ..., key client 102-N. Wherein N is an integer greater than 1.

[0132] Each of the N key clients establishes a secure transmission channel with the proxy server 201, and a KMIP channel is established between the proxy server 201 and the key server 101. Thus, the security and reliability of data transmission between the proxy server and multiple key clients, and the reliability of data transmission between the key server and the proxy server are guaranteed.

[0133] The implementation method of establishing a secure transmission channel between each key client and the proxy server 201 is as follows Figure 4 It should be noted that N key clients can establish respective corresponding secure transmission channels with the proxy server 201 at the same time.

[0134] In addition, N key clients can establish secure transmission channels in sequence according to preset rules. For example, the proxy server 201 receives the proxy request messages sent by N key clients and creates secure transmission channels in sequence. For example, the proxy server 201 first receives the proxy request message sent by the key client 102-1, and then the proxy request message sent by the key client 102-2, ..., and the proxy request message sent by the key client 102-N. The proxy server 201 first creates a secure transmission channel with the key client 102-1, then creates a secure transmission channel with the key client 102-2, ..., and finally creates a secure transmission channel with the key client 102-N.

[0135] The following is combined with Figure 7 ,introduce Figure 6 The key transmission system corresponds to the key transmission method.

[0136] See also Figure 7 , which is an interactive diagram of another key transmission method provided in an embodiment of the present application. Figure 6 In order to enable those skilled in the art to better understand another key transmission method provided in the embodiment of the present application, Figure 7 The following description is made by taking the number of key clients as 3, namely key client 102-1, key client 102-2 and key client 102-3. Figure 7 The corresponding key transmission method can also be applied to 2 or more key transmission systems. The method comprises the following steps:

[0137] S71: The proxy server establishes a secure transmission channel with multiple key clients.

[0138] Specifically, the proxy server 201 establishes a first secure transmission channel with the key client 102 - 1 , the proxy server 201 establishes a second secure transmission channel with the key client 102 - 2 , and the proxy server 201 establishes a third secure transmission channel with the key client 102 - 3 .

[0139] S72: Multiple key clients send key request messages corresponding to the key clients to the proxy server.

[0140] Specifically, the key client 102-1 sends a first key request message to the proxy server 201 through the first secure transmission channel. The key client 102-2 sends a second key request message to the proxy server 201 through the second secure transmission channel. The key client 102-3 sends a third key request message to the proxy server 201 through the third secure transmission channel.

[0141] Among them, the message header of the first key request message carries the sender address, that is, the address of the key client 102-1, and carries the receiver address, that is, the address of the proxy server 201. The message header of the first key request message carries the first key service corresponding to the key client 102-1. The message header of the second key request message carries the sender address, that is, the address of the key client 102-2, and carries the receiver address, that is, the address of the proxy server 201. The message header of the second key request message carries the second key service corresponding to the key client 102-2. The message header of the third key request message carries the sender address, that is, the address of the key client 102-3, and carries the receiver address, that is, the address of the proxy server 201. The message header of the third key request message carries the third key service corresponding to the key client 102-3.

[0142] S73: The proxy server forwards the key request messages sent by the multiple key clients to the key server in sequence based on the preset rules.

[0143] In one example, the preset rule is to forward the key request messages to the key server in sequence according to the order in which they are received. Specifically, if the proxy server 201 receives the first key request message B1 (B1 for short) at time T1, the second key request message B2 (B2 for short) at time T2, and the key request message B3 (B3 for short) at time T3, where time T1 is earlier than time T2, and time T2 is earlier than time T3, the proxy server 201 sends B1, B2, and B3 to the key server 101 in sequence.

[0144] It should be noted that after receiving B1, the proxy server 201 can directly send B1 to the key server 101, after receiving B2, directly send B2 to the key server 101, and after receiving B3, directly send B3 to the key server 101. In addition, the proxy server 201 can also send B1, B2 and B3 in sequence after receiving the key requests sent by all key clients.

[0145] In another example, the preset rule is to forward the key request messages in sequence according to the sending priority of the key request messages corresponding to the device identifiers.

[0146] The proxy server 201 specifies that the sending priority D1 of B1 corresponding to the key client 102-1 is higher than the sending priority D2 of B2 corresponding to the key client 102-2, and the sending priority D2 of B2 corresponding to the key client 102-2 is higher than the sending priority D3 of B3 corresponding to the key client 102-3. The proxy server 201 temporarily stores the received B1, B2 and B3 in the buffer area, and then sends B1, B2 and B3 in sequence according to the sending priority.

[0147] The embodiment of the present application may also forward the key request message in other ways, which are not specifically limited in the embodiment of the present application. In the embodiment of the present application, the proxy server 201 sends the key request messages corresponding to the multiple key clients to the key server 101 through the KMIP channel, thereby ensuring the security and stability of data transmission between the key server and the proxy server.

[0148] S74: The key server obtains encryption keys of multiple key clients in sequence.

[0149] For example, if the key server 101 receives B1, B2, and B3 in sequence, the key server 101 first obtains the encryption key Y1 (abbreviated as Y1) corresponding to B1, then obtains the encryption key Y2 (abbreviated as Y2) corresponding to B2, and finally obtains the encryption key Y3 (abbreviated as Y3) corresponding to B3. That is, the key server obtains the encryption key according to the first received first obtained principle, avoiding the disorder of the key server receiving multiple key request messages at the same time, thereby improving the accuracy of encryption key acquisition.

[0150] It should be noted that the embodiment of the present application can obtain the encryption key corresponding to the key request message after receiving all key request messages, or it can obtain the encryption key corresponding to the key request message after receiving a key request message. The embodiment of the present application is not specifically limited.

[0151] S75: The key server obtains the encryption keys of multiple key clients and sends them to the proxy server.

[0152] In an example, the key server 101 generates a key response message corresponding to the encryption key of each key client, and sends the key response message corresponding to the encryption key of each key client to the proxy server.

[0153] Exemplarily, if the key server 101 obtains Y1, Y2 and Y3 in this way, then the following operations are performed: first, Y1, the address of the sender key server 101 corresponding to Y1, and the address of the receiver proxy server 201 corresponding to Y1 are added to the first key response message R1 (referred to as R1) template to obtain R1, and R1 is sent to the proxy server 101. Then, Y2, the address of the sender key server 101 corresponding to Y2, and the address of the receiver proxy server 201 corresponding to Y2 are added to the second key response message R2 (referred to as R2) template to obtain R2, and R2 is sent to the proxy server 101. Finally, Y3, the address of the sender key server 101 corresponding to Y3, and the address of the receiver proxy server 201 corresponding to Y3 are added to the third key response message R3 (referred to as R3) template to obtain R3, and R3 is sent to the proxy server 101.

[0154] It should be noted that the embodiment of the present application can directly generate a corresponding key response message after obtaining an encryption key, or can generate key response messages in sequence after all encryption keys are obtained.

[0155] In another example, the key server 101 splices the generated encryption keys according to a preset time sequence, and sends a key response message carrying the spliced ​​encryption keys to the proxy server 201 .

[0156] Exemplarily, if the key server obtains Y1, Y2 and Y3 in this way, Y1, Y2 and Y3 are spliced ​​in the order of acquisition time to obtain the spliced ​​encryption key Y1+Y2+Y3, Y1+Y2+Y3 is added to the message body of the response key message to obtain the response key message, and the response key message is sent to the proxy server 201.

[0157] It should be noted that the embodiment of the present application can also be spliced ​​according to other preset time sequences. The embodiment of the present application is not specifically limited. The proxy server 201 stores the rules for splicing according to the preset time sequence of the key server 101. After the proxy server 201 obtains the key response message from the key server 101, the spliced ​​encryption key Y1+Y2+Y3 in the key response message is disassembled to obtain Y1, Y2 and Y3 respectively.

[0158] It should be noted that the embodiment of the present application can also send the encryption key to the proxy server in other ways, which are not specifically limited in the embodiment of the present application.

[0159] S76: The proxy server sends the encryption keys of multiple key clients to the corresponding key clients.

[0160] Exemplarily, after receiving Y1, Y2 and Y3, the proxy server 101 sends Y1 to the key client 102-1, Y2 to the key client 102-2, and Y3 to the key client 102-3 in sequence.

[0161] In one example, the key server 101 sends the key response message corresponding to the encryption key of each key client to the proxy server. For example, the proxy server 201 receives R1, R2, and R3 in sequence, and sends Y1 corresponding to R1 to the key client 102-1, Y2 corresponding to R2 to the key client 102-2, and Y3 corresponding to R3 to the key client 102-3.

[0162] In another example, if the key response message of the concatenated encryption key of the key server 101 is sent to the proxy server 201, as shown in step S75, the proxy server disassembles the concatenated encryption key in the key response message to obtain Y1, Y2 and Y3. Then, according to the preset time sequence, Y1 is sent to the key client 102-1, Y2 is sent to the key client 102-2, and Y3 is sent to the key client 102-3.

[0163] It should be noted that the key transmission between each key client and the proxy server is carried out in accordance with step S59, which will not be repeated in this application.

[0164] S77: After receiving the encryption key, the key client sends a close instruction to the proxy server.

[0165] Exemplarily, after receiving Y1, key client 102-1 sends a first closing instruction to proxy server 201. After receiving Y2, key client 102-2 sends a second closing instruction to proxy server 201. After receiving Y3, key client 102-3 sends a third closing instruction to proxy server 201.

[0166] S78: The proxy server closes the secure transmission channel.

[0167] After receiving the closing instruction sent by the key client, the proxy server 201 closes the secure transmission channel.

[0168] In one example, if the proxy server 201 first receives a first closing instruction, it closes the first secure transmission channel, and after receiving a second closing instruction, it closes the second secure transmission channel, and after receiving a third closing instruction, it closes the third secure transmission channel.

[0169] In another example, after receiving all the closing instructions, the proxy server 201 closes the first secure transmission channel, the second secure transmission channel, and the third secure transmission channel at the same time.

[0170] S79: The proxy server and the key client delete sensitive information of the peer device.

[0171] It can be understood that in the related scheme, the key transmission system needs to manage 4 key clients, which requires 4 ports and 4 link resources. In the embodiment of the present application, the key server only needs 1 port and 1 link resource to connect to the proxy server. That is, after the key transmission system adds the proxy server, the number of ports used by the key server for encryption key transmission is reduced, and the link resources of the key server are reduced.

[0172] Example 3

[0173] The key transmission system provided in the embodiment of the present application includes multiple proxy servers and multiple key clients. Figure 8 , which is a schematic diagram of the structure of a key transmission system provided in an embodiment of the present application. The key transmission system includes a key service end 101 and M proxy service ends, namely, proxy service end 201-1, proxy service end 201-2, ..., proxy service end 201-M. Wherein M is an integer greater than 1. In addition, the key transmission system also includes N key clients, namely, key client 102-1, key client 102-2, ..., key client 102-N. Wherein N is an integer greater than M.

[0174] Among them, N1 key clients establish a secure transmission channel with the proxy server 201-1, N2 key clients establish a secure transmission channel with the proxy server 201-2, ..., NM key clients establish a secure transmission channel with the proxy server 201-M. Thus, the security and reliability of data transmission between the proxy server and multiple key clients are guaranteed. M KMIP channels are established between the M proxy servers and the key server 101. Thus, the reliability of data transmission between the key server and the proxy server is guaranteed.

[0175] The implementation method of establishing a secure transmission channel between each key client and the proxy server is shown in Example 2 and will not be discussed here.

[0176] The following is a combination of Figure 8 The key transmission system corresponds to the key transmission method.

[0177] In order to enable those skilled in the art to better understand another key transmission method provided in the embodiment of the present application, Figure 8 The method is described by taking the number of key clients as 4, namely key client 102-1, key client 102-2, key client 102-3 and key client 102-4 as an example. The method is described by taking the proxy server as proxy server 201-1 and proxy server 202-2 as an example. Among them, proxy server 201-1 manages the encryption keys of key client 102-1 and key client 102-2, and proxy server 201-2 manages the encryption keys of key client 102-3 and key client 102-4. The method includes the following steps:

[0178] Step 1: The proxy server establishes a secure transmission channel with the key client.

[0179] Specifically, the proxy server 201-1 establishes a secure transmission channel A with the key client 102-1, and the proxy server 201-1 establishes a secure transmission channel B with the key client 102-2. The proxy server 201-2 establishes a secure transmission channel C with the key client 102-3. The proxy server 201-2 establishes a secure transmission channel D with the key client 102-4. Secure transmission channel A, secure transmission channel B, secure transmission channel C, and secure transmission channel D are used to represent different secure transmission channels.

[0180] The establishment process between the proxy server 201-1 and each key client is the same as step S71, which will not be discussed here. The establishment process between the proxy server 201-2 and each key client is the same as step S71, which will not be discussed here. The corresponding secure transmission channel is established in parallel between the proxy server 201-1 and the proxy server 201-2.

[0181] Step 2: The key client corresponding to the proxy server 201 - 1 sends a key request message to the proxy server 201 - 1 , and the key client corresponding to the proxy server 201 - 2 sends a key request message to the proxy server 201 - 2 .

[0182] The key client 102-1 sends a key request message A1 (abbreviated as A1) to the proxy server 201-1 through the secure transmission channel A, and the key client 102-2 sends a key request message A2 (abbreviated as A2) to the proxy server 201-1 through the secure transmission channel B. The key client 102-3 sends a key request message A3 (abbreviated as A3) to the proxy server 201-2 through the secure transmission channel C, and the key client 102-4 sends a key request message A4 (abbreviated as A4) to the proxy server 201-2 through the secure transmission channel D. The embodiment of the present application uses A1, A2, A3 and A4 to represent different key request messages.

[0183] The specific sending method is the same as step S72 and will not be discussed here.

[0184] Step 3: Based on preset rules, the proxy server forwards the key request messages sent by the key client to the key server in sequence.

[0185] Specifically, based on the first preset rule, the proxy server 201-1 forwards A1 sent by the key client 102-1 and A2 sent by the key client 102-2 to the key server 101 through the first KMIP channel of the proxy server. Based on the second preset rule, the proxy server forwards A3 sent by the key client 102-3 and A4 sent by the key client 102-4 to the key server 101 through the second KMIP channel. The first KMIP channel is a transmission channel between the proxy server 201-1 and the key server 101, and the second KMIP channel is a transmission channel between the proxy server 201-2 and the key server 101.

[0186] It should be noted that the first preset rule and the second preset rule may be the same or different. The first preset rule is a type of preset rule in step S73, and the second preset rule is also a type of preset rule in step S73.

[0187] Step 4: The key server obtains the encryption keys of multiple key clients in sequence.

[0188] In one example, the key server 101 sequentially obtains encryption keys according to the order in which the key request messages are received. For example, the key server 101 sequentially receives A1 and A2 sent by the proxy server 201-1, obtains A3 and A4 sent by the proxy server 201-2, and then correspondingly obtains encryption key Y1' corresponding to A1, encryption key Y2' corresponding to A2, encryption key Y3' corresponding to A3, and encryption key Y4' corresponding to A4.

[0189] It should be noted that the embodiment of the present application can obtain the encryption key corresponding to the key request message after receiving all key request messages, or can obtain the encryption key corresponding to the key request message after receiving a key request message, which is not specifically limited in the embodiment of the present application. Encryption key Y1', encryption key Y2', encryption key Y3' and encryption key Y4' are used to represent different encryption keys.

[0190] Step 5: The key server obtains the encryption keys of multiple key clients and sends them to the corresponding proxy server.

[0191] Specifically, the key server 101 sends the encryption key Y1' corresponding to the key client 102-1 and the encryption key Y2' corresponding to the key client 102-2 to the proxy server 201-1. The key server 101 sends the encryption key Y3' corresponding to the key client 102-3 and the encryption key Y4' corresponding to the key client 102-4 to the proxy server 201-2.

[0192] The specific sending method is the same as step S74 and will not be discussed here.

[0193] Step 6: The proxy server sends the encryption key of the key client to the corresponding key client.

[0194] The proxy server 201-1 sends the encryption key Y1' to the key client 102-1 and the encryption key Y2' to the key client 102-2. The proxy server 201-2 sends the encryption key Y3' to the key client 102-3 and the encryption key Y4' to the key client 102-4.

[0195] The specific method is the same as step S76 and will not be discussed here.

[0196] Step 7: After receiving the encryption key, the key client sends a close command to the proxy server.

[0197] Specifically, after receiving the encryption key Y1', the key client 102-1 sends a close instruction to the proxy server 201-1. After receiving the encryption key Y2', the key client 102-2 sends a close instruction to the proxy server 201-1. After receiving the encryption key Y3', the key client 102-3 sends a close instruction to the proxy server 201-2. After receiving the encryption key Y4', the key client 102-4 sends a close instruction to the proxy server 201-2.

[0198] Step 8: The proxy server closes the secure transmission channel.

[0199] After receiving the closing instruction sent by the key client, the proxy server 201-1 closes the secure transmission channel corresponding to the proxy server 201-1. After receiving the closing instruction sent by the key client, the proxy server 201-2 closes the secure transmission channel corresponding to the proxy server 201-2. The specific closing method is the same as step S78 and will not be discussed here.

[0200] Step 9: The proxy server and key client delete sensitive information of the peer device.

[0201] It is understood that when there are multiple key clients and the number exceeds the number managed by one key server, one or more proxy servers can be added to manage the key clients. Thus, the key transmission system can realize the centralized management of the key clients by the key server through communication with the proxy server.

[0202] like Fig. 9 As shown, the embodiment of the present application further provides a server 900, and the server 900 does not specifically limit the application scenario. For example, the server 900 is introduced as a server, and the type of the server is not specifically limited. For example, the server can be a rack server or an edge server. The server can be located in a data center or in other areas, which is not specifically limited in the embodiment of the present application.

[0203] The server 900 includes a processor 901 and a memory 903, and the memory 903 is electrically connected to the processor 901 respectively; the memory 903 is used to store program instructions, and the program instructions are used for the processing method of key transmission involved in the above-mentioned embodiments; the processor 901 is used to call the corresponding part of the above-mentioned program instructions so that the server can execute the processing method of key transmission involved in the above-mentioned embodiments.

[0204] In the above embodiments, all or part of the embodiments may be implemented by software, hardware, firmware, or any combination thereof. When implemented using a software program, all or part of the embodiments may be implemented in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer instructions are loaded and executed on a computer, all or part of the processes or functions in the embodiments of the present application are generated.

[0205] The computer instructions may be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions may be transmitted from one website, computer, server, or data center to another website, computer, server, or data center via a wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) method. The computer-readable storage medium may be any available medium that can be accessed by a computer or a data storage device such as a server or data center that includes one or more available media integrated therein. The available medium may be a magnetic medium (e.g., a floppy disk, a magnetic disk, a magnetic tape), an optical medium (e.g., a digital video disc (DVD)), or a semiconductor medium (e.g., a solid state drive (SSD)), etc.

[0206] The above are only preferred embodiments of the present application, and are not intended to limit the present application in any form. Although the present application has been disclosed as above with preferred embodiments, it is not intended to limit the present application. Any technician familiar with the art can use the above disclosed methods and technical contents to make many possible changes and modifications to the technical solution of the present application without departing from the scope of the technical solution of the present application, or modify it into an equivalent embodiment of equivalent changes. Therefore, any simple modification, equivalent change and modification made to the above embodiments based on the technical essence of the present application without departing from the content of the technical solution of the present application still falls within the scope of protection of the technical solution of the present application.

Claims

1. A key transmission system, characterized in that: The system comprises: a service node, an agent node and a client node, and the system comprises: The client node is used to send a key request message to the proxy node, wherein the key request message is used to instruct the service node to obtain an encryption key; the service node is used to provide the encryption key to the client node; The proxy node is used to receive the key request message sent by the client node, and send the key request message to the service node; The service node is used to receive the key request message, obtain the encryption key, and send a key response message carrying the encryption key to the proxy node; The proxy node is used to receive the key response message and send the encryption key to the client node.

2. A key transmission method, characterized in that: Applied to a proxy node, the method comprises: receiving a key request message sent by a client node, and forwarding the key request message to the service node; the key request message is used to instruct the service node to obtain an encryption key; the service node provides the encryption key to the client node; receiving a key response message sent by the service node, wherein the key response message carries the encryption key; and sending the encryption key to the client node.

3. The method according to claim 2, characterized in that: The receiving the key request message sent by the client node comprises: receiving the key request message sent by the client node through a secure transmission channel pre-generated between the proxy node and the client node; The sending the encryption key to the client node includes: sending the encryption key to the client node through the secure transmission channel.

4. The method according to claim 3, characterized in that: The method for generating the secure transmission channel specifically includes: Receiving a proxy request message sent by the client node; the proxy request message is a message encrypted based on the company's digital signature; Decrypting the proxy request message based on the company digital signature; if the decryption is successful, sending a signed response message to the client node; the signed response message carries the company digital signature; receiving a first public key sent by the client node, and encrypting a second public key using the received first public key to obtain an encrypted public key; the first public key is a public key provided by the client node; the second public key is a public key provided by the proxy node; The encrypted public key is sent to the client node to generate the secure transmission channel.

5. The method according to claim 2, characterized in that: The proxy node communicates with the service node through an interoperability protocol KMIP channel, and forwarding the key request message to the service node includes: Forwarding the key request message to the service node through the KMIP channel; The receiving a key response message sent by the service node includes: A key response message sent by the service node is received through the KMIP channel.

6. The method according to any one of claims 3 to 5, characterized in that: The method further comprises: In response to receiving a closing instruction sent by the client node, closing the secure transmission channel; Delete the target information of the client node.

7. The method according to any one of claims 1 to 6, characterized in that: The client nodes include a first client node and a second client node, and the receiving a key request message sent by the client node includes: At a first moment, receiving a first key request message sent by the first client node, and at a second moment, receiving a second key request message sent by the second client node; The sending the key request message to the service node includes: If the first time is earlier than the second time, sending the first key request message and the second key request message to the service node in sequence; If the first time is later than the second time, sending the second key request message and the first key request message to the service node in sequence; The receiving service node sends a key response message, including: If the first time is earlier than the second time, sequentially receiving a first key response message and a second key response message sent by the service node; the first encryption key carried by the first key response message corresponds to the first key request message, and the second encryption key carried by the second key response message corresponds to the second key request message; The sending the encryption key to the client node comprises: The first encryption key is sent to the first customer node and the second encryption key is sent to the second customer node in sequence.

8. A key transmission method, characterized in that: Applied to a client node, the method comprises: Sending a key request message to the proxy node, wherein the key request message is used to enable the client node to obtain an encryption key from the service node; the service node provides the encryption key to the client node, and the proxy node is used to forward the key request message to the service node, and send a key response message sent by the service node to the client node, wherein the key response message carries the encryption key; The encryption key sent by the proxy node is received.

9. The method according to claim 8, characterized in that: The sending of a key request message to the proxy node includes: Sending a key request message to the proxy node through a secure transmission channel pre-generated between the client node and the proxy node; The receiving the encryption key sent by the proxy node includes: receiving the encryption key sent by the proxy node through the secure transmission channel.

10. The method according to claim 8, characterized in that: The method for generating the secure transmission channel specifically includes: Sending a proxy request message to the proxy node, so that the proxy node decrypts the proxy request message based on the company digital signature; the proxy request message is a message encrypted based on the company digital signature; the proxy node receives the proxy request message and decrypts the proxy request message; If the decryption is successful, the proxy node sends a signed response message to the client node, and the signed response message carries the company's digital signature; After receiving the signed response message sent by the proxy node, the first public key is sent to the proxy node, where the first public key is the public key provided by the client node; receiving an encryption key sent by the proxy node, where the encryption key is a key obtained by encrypting a second public key using the first public key, where the second public key is a public key provided by the proxy node; The received encrypted public key is decrypted to obtain the second public key to generate the secure transmission pass.

11. A key transmission method, characterized in that: Applied to a service node, the method comprises: receiving a key request message sent by the proxy node, wherein the key request message is used to enable the client node to obtain an encryption key from the service node; the proxy node is used to forward the key request message to the service node, and send a key response message sent by the service node to the client node, wherein the key response message carries the encryption key; The encryption key is obtained, and a key response message carrying the encryption key is sent to the proxy node, so that the proxy node sends the encryption key to the client node.

12. The method according to claim 11, characterized in that: The proxy node communicates with the service node through an interoperability protocol KMIP channel, and the receiving a key request message sent by the proxy node includes: Receiving, through the KMIP channel, a key request message sent by the proxy node; The sending of the key response message carrying the encryption key to the proxy node includes: A key response message carrying the encryption key is sent to the proxy node through the KMIP channel.

13. A proxy node, characterized in that: include: Memory, for storing computer instructions; A processor, configured to execute a computer program or computer instruction stored in the memory, so that the proxy node executes the key transmission method as described in any one of claims 2 to 6.

14. A service node, characterized in that: include: Memory, for storing computer instructions; A processor, configured to execute a computer program or computer instruction stored in the memory, so that the service node executes the key transmission method according to any one of claims 7 to 10.

15. A client node, characterized in that: include: Memory, for storing computer instructions; A processor, configured to execute a computer program or computer instruction stored in the memory, so that the service node executes the key transmission method according to any one of claims 11 to 12.