Quantum key output control method and system
By deploying multiple management layer devices on nodes to expand quantum links and classical links, virtual application layer devices request keys in the form of multiple devices, solving the single-unit failure of the quantum key output system under high-reliability user requirements. Or a single link failure problem, achieving the stable establishment of quantum security encrypted channels and secure data transmission.
Patent Information
- Application Number
- CN202310172436.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-02-24
- Publication Date
- 2024-08-27
AI Technical Summary
In the existing quantum key output system, when a single management device fails or a single link fails under high-reliability user requirements, the quantum security encryption channel cannot be established, affecting the security of data transmission between application layer devices.
By deploying multiple management layer devices on the node, the quantum link and the classic link are expanded to multiple. The virtual application layer device requests the key in the form of multiple devices, and selects an effective link to output the quantum key through multiple links. , giving priority to the session combination with the least usage to balance the consumption of management equipment.
It effectively solves the problem of failure to establish a quantum security encryption channel due to a single management device failure or a single link failure, reduces the quantum key application delay, reduces the need for manual maintenance, and detects potential faults in a timely manner.
Smart Images

Figure CN118555052A
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of quantum communication and relates to a quantum key output control method and system. Background Art
[0002] The statements in this section merely provide background information related to the present invention and do not necessarily constitute prior art.
[0003] At present, the network topology of typical quantum key output scenarios is as follows: Figure 1 As shown, the system includes a quantum key management service system, a quantum key generation and management terminal, and a quantum key application device.
[0004] The system works as follows:
[0005] Under the control of the quantum key management service system, two quantum key generation and management terminals perform quantum key distribution;
[0006] The quantum key generation and management terminal compares the generated quantum keys for consistency and stores the consistent quantum keys locally;
[0007] Based on the key requirements, the quantum key application device applies for quantum keys from the quantum key generation and management terminal, and uses the quantum keys to establish a "quantum secure encryption channel" between quantum key application devices to ensure the security of data transmission between application layer devices.
[0008] Referring to the existing patent "CN108737081A", the complete process of quantum key output includes three sub-processes: "device network authentication", "session creation", and "quantum key application". The sub-processes are summarized as follows:
[0009] 1. Equipment network access authentication
[0010] The application layer device sends a device access message to the server layer device (the message is forwarded by the key management layer device), and the server layer device completes the application layer device authentication and replies with an authentication response.
[0011] 2. Create a session
[0012] Application layer device A sends a session request instruction to the server layer device (forwarded by the key management layer device, the message carries the device ID and other information of application layer device B), the server layer device generates session information, pushes the session information to application layer device B (the message is forwarded by the key management layer device), and replies to application layer device A with a session request response.
[0013] 3. Apply for quantum key
[0014] Application layer device A sends a quantum key application instruction to management layer device A, and management layer device A sends a key consistency negotiation instruction to management layer device B to complete the key consistency negotiation; management layer device B pushes the key to application layer device B and replies to management layer device A with a key consistency negotiation response;
[0015] Device A at the management layer replies with a key request response.
[0016] In particular, due to the need for device management, it is agreed that each application layer device has a unique device ID for the entire network; due to the need for addressing devices in the entire network, it is agreed that each application layer device is only allowed to access the quantum secure communication network from one management layer device.
[0017] Although the above method has overcome the problem that the quantum key output system and method cannot provide differentiated key services for users of different levels, and the problem that the key management layer device cannot control the key output rate and the total amount of key output to a certain extent, the overall reliability of the quantum key output process is still low, which is prone to some problems and cannot meet the increasingly high reliability users such as the power industry. The application needs of quantum keys.
[0018] The specific problems that arise are Figure 2 When quantum key distribution cannot be performed between quantum key generation and management terminal A and quantum key generation and management terminal B, or when a single communication link between quantum key application device A and quantum key generation and management terminal A, or between quantum key generation and management terminal A and quantum key management service system is abnormal, the key application between quantum key application devices A and B will be abnormal, further resulting in the inability to establish a "quantum secure encryption channel" between application layer devices, affecting the data transmission security between application layer devices. Summary of the invention
[0019] In order to solve the above problems, the present invention proposes a quantum key output control method and system. The present invention expands the quantum link + classical link from one to multiple by deploying multiple management layer devices at one node, which can effectively solve the problem that the quantum secure encryption channel cannot be established due to the failure of a single management layer device or a single link.
[0020] According to some embodiments, the present invention adopts the following technical solutions:
[0021] A quantum key output control method comprises the following steps:
[0022] Virtualize the local application layer devices into multiple devices respectively;
[0023] Send the request of each virtualized application layer device to the corresponding management layer device;
[0024] receiving a quantum key;
[0025] The quantum key is obtained by selecting a link from multiple links constructed between each management layer device and each management layer device of the target party.
[0026] A quantum key output control method comprises the following steps:
[0027] Virtualize the application layer devices of the sender and receiver into multiple devices respectively;
[0028] The multiple virtualized devices of the sender send requests from different management layer devices respectively;
[0029] Each management layer device of the sender forms multiple links with each management layer device of the receiver;
[0030] The server-layer device selects a valid link to output the quantum key.
[0031] As an optional implementation, the virtual number of application layer devices is greater than or equal to two.
[0032] As an optional implementation, the virtual numbers of application layer devices of different parties are the same.
[0033] As an optional implementation, different parties have different virtual numbers of application layer devices.
[0034] As an optional implementation, the virtualized application layer devices are each configured with a management layer device, and the two are the same in number and correspond one to one.
[0035] As an optional implementation, the virtualized application layer device is configured with a unique ID.
[0036] As a further feature, the ID of the virtualized application layer device is related to the ID of the original application layer device.
[0037] As an optional implementation, when the request is an authentication request, the application layer device sends a device authentication network access instruction, and the instruction includes an application layer device ID;
[0038] The application layer device ID is changed into other related IDs according to the number of virtual devices, and the network access message of each related ID is sent to different management layer devices respectively;
[0039] The server layer device records each virtual application layer device and records its network access authentication status.
[0040] As an optional implementation, when the request is a session request, the management layer devices corresponding to each virtualized application layer device of the sender establish sessions with each management layer device of the receiver respectively, and the number of sessions is the number of valid management layer devices of the sender*the number of valid management layer devices of the receiver, and the session contains the virtualized application layer device ID corresponding to each management layer device.
[0041] As a further step, the failed or faulty management layer device is determined according to the number of virtualized application layer devices of both parties, the number of received sessions, and the corresponding application layer device IDs in the sessions.
[0042] As an optional implementation, when selecting a link, the session combination with the least number of uses is preferably selected to avoid selecting the session combination that was selected last time.
[0043] A quantum key output control system, comprising:
[0044] The application layer includes a plurality of application layer devices, each of which is configured with a quantum key acquisition load balancer, and the quantum key acquisition load balancer is used to virtualize the corresponding application layer device into a plurality of devices, so as to send requests from different management layer devices respectively to obtain quantum keys;
[0045] The key management layer includes multiple management layer devices. Each management layer device corresponds to each virtualized device one by one, and multiple links are formed between different management layer devices.
[0046] The server layer is used to control the devices at each management layer.
[0047] As an optional implementation, the quantum key acquisition load balancer is configured to: virtualize the local application layer device into multiple devices respectively;
[0048] Send the request of each virtualized application layer device to the corresponding management layer device;
[0049] receiving a quantum key;
[0050] The quantum key is obtained by selecting a link from multiple links constructed between each management layer device and each management layer device of the target party.
[0051] A terminal device includes a processor and a computer-readable storage medium, wherein the processor is used to implement various instructions; and the computer-readable storage medium is used to store a plurality of instructions, wherein the instructions are suitable for being loaded by the processor and executing the following steps:
[0052] Virtualize the local application layer devices into multiple devices respectively;
[0053] Send the request of each virtualized application layer device to the corresponding management layer device;
[0054] receiving a quantum key;
[0055] The quantum key is obtained by selecting a link from multiple links constructed between each management layer device and each management layer device of the target party.
[0056] Compared with the prior art, the present invention has the following beneficial effects:
[0057] The present invention expands the quantum link + classical link from 1 to m*n by deploying multiple management layer devices, where m and n are the number of effective management layer devices in the sender's and receiver's nodes, respectively. This can effectively solve the problem of the inability to establish a quantum secure encryption channel due to the failure of a single management layer device or a single link.
[0058] The present invention ensures balanced consumption of quantum keys between management-level devices by giving priority to the session combination with the least number of uses; does not select the session combination that cannot obtain quantum keys for multiple consecutive times, thereby reducing the occurrence of failures requiring manual on-site repair, thereby ensuring the minimum delay in the entire quantum key application process; and the session combination selected this time is not repeated with the previous one, thereby ensuring as many uses as possible and traversing all session combinations, so as to discover and report potential failures as early as possible.
[0059] The present invention can determine the failed or faulty management layer device through simple ID changes according to the number of virtualized application layer devices of both parties, the number of received sessions and the corresponding application layer device IDs in the sessions, which is conducive to reporting potential faults. BRIEF DESCRIPTION OF THE DRAWINGS
[0060] The accompanying drawings in the specification, which constitute a part of the present invention, are used to provide a further understanding of the present invention. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute improper limitations on the present invention.
[0061] Figure 1 This is a schematic diagram of a typical quantum key output networking scenario in the prior art;
[0062] Figure 2 It is a schematic diagram of the shortcomings of the existing technical solution;
[0063] Figure 3 This is a typical networking diagram of the quantum key output based on load balancing of the present invention. DETAILED DESCRIPTION
[0064] The present invention will be further described below in conjunction with the accompanying drawings and embodiments.
[0065] It should be noted that the following detailed descriptions are all illustrative and intended to provide further explanation of the present invention. Unless otherwise specified, all technical and scientific terms used herein have the same meanings as those commonly understood by those skilled in the art to which the present invention belongs.
[0066] It should be noted that the terms used herein are only for describing specific embodiments and are not intended to limit exemplary embodiments according to the present invention. As used herein, unless the context clearly indicates otherwise, the singular form is also intended to include the plural form. In addition, it should be understood that when the terms "comprising" and / or "including" are used in this specification, it indicates the presence of features, steps, operations, devices, components and / or combinations thereof.
[0067] like Figure 2 As shown, when quantum key distribution cannot be carried out between quantum key generation and management terminal A and quantum key generation and management terminal B, or a single communication link between quantum key application device A and quantum key generation and management terminal A, or between quantum key generation and management terminal A and quantum key management service system is abnormal, it will cause the key application between quantum key application devices A and B to be abnormal, further resulting in the inability to establish a "quantum secure encryption channel" between application layer devices, affecting the data transmission security between application layer devices.
[0068] The present invention proposes a quantum key output control method based on load balancing technology, such as Figure 3 As shown, a quantum key acquisition load balancer (module) is deployed in the application layer device, and the application layer device is virtualized into multiple devices, which access the network and apply for keys from different management layer devices respectively.
[0069] Taking node A as an example, the quantum key acquisition load balancer (module) virtualizes the application layer device A as A1, A2, ..., AN, and accesses the quantum secure communication network from the management layer devices 1, 2, ..., N respectively, to complete the quantum key application in a one-to-many situation (one application layer device to multiple management layer devices).
[0070] At the same time, the quantum key acquisition load balancer (module) at node B virtualizes the application layer device B as B1, B2, ..., BM, and accesses the quantum secure communication network from the management layer devices 1, 2, ..., M respectively, to complete the quantum key application in a one-to-many situation (one application layer device to multiple management layer devices).
[0071] Of course, in some embodiments, there is a situation where the number of virtual application layer devices of a node is less than 3, which should also fall within the protection scope of the present invention.
[0072] Taking node A as the sender and node B as the receiver as an example, the management layer device at node A forms a QKD link with the management layer device at node B respectively, and a maximum of N*M links can be formed in total.
[0073] The IDs of different virtual devices can be labeled accordingly, such as adding an identification bit to the original device ID, or making other changes.
[0074] Of course, if the management layer device at a certain node fails and cannot be connected, it can also be quickly deduced based on information such as the number of links and tags / IDs.
[0075] The following is a typical embodiment in which the quantum key output control method is described from three sub-processes: "device network authentication", "session creation", and "quantum key application", as follows:
[0076] Device network authentication
[0077] The device network access authentication process is similar to the existing technical solution. The entire process is still initiated by the application layer device, and the management layer device forwards the authentication network access instruction to the server layer device, and finally the server layer device completes the application layer device identity authentication. Taking node A as an example, the differences are described as follows:
[0078] The quantum key acquisition load balancer / module actively establishes communication links with multiple management layer devices;
[0079] Application layer device A sends a device authentication network access instruction to the quantum key acquisition load balancer. Assume that the incoming application layer device ID is A.
[0080] In this embodiment, N=3, and the corresponding virtualization of the application layer device A of the node A is A1, A2, and A3;
[0081] The quantum key acquisition load balancer changes it to A1 according to the strategy, and sends the A1 network access message to the management layer device 1 at the node A; at the same time, it changes it to A2, and sends the A2 network access message to the management layer device 2 at the node A; finally, it changes it to A3, and sends the A3 network access message to the management layer device 3 at the node A;
[0082] Correspondingly, in this embodiment, M=3, and the application layer device B of the node B is also virtualized as B1, B2, and B3 accordingly.
[0083] The same goes for the network access authentication of application layer devices at other nodes. Eventually, the quantum key management service system will be able to see application layer devices such as A1, A2, A3, B1, B2, and B3, and record their network access authentication status.
[0084] Creating a Session
[0085] Taking the example of application layer device A actively creating a session with application layer device B, the session creation is explained as follows:
[0086] Application layer device A sends a session creation instruction (the message carries information such as the device ID of application layer device B) to the quantum key acquisition load balancer;
[0087] The quantum key acquisition load balancer transforms the application layer device A into Ax (such as Figure 3 A1, A2, A3 in the application layer, the application layer device B is transformed into Bx (such as Figure 3 B1, B2, B3 in it), and create sessions between Ax and Bx in sequence (the single session creation process is similar to the existing technical solution. The whole process is still initiated by the application layer device, and the management layer device forwards the session creation instruction to the server layer device, and finally the server layer device decides whether to allow the session to be created). This process will create multiple sessions in sequence.
[0088] The number of sessions depends on the number of management layer devices deployed on nodes A and B (number of sessions = number of management layer devices on node A * number of management layer devices on node B).
[0089] like Figure 3 As shown in the figure, node A deploys three management layer devices 1, 2, and 3, and node B deploys three management layer devices 1, 2, and 3. At this time, 9 sessions will be created, namely: A1-B1, A1-B2, A1-B3, A2-B1, A2-B2, A2-B3, A3-B1, A3-B2, and A3-B3;
[0090] Session destruction is similar to session creation, and will not be described again here.
[0091] Apply for quantum key
[0092] The key application is based on the established session. The application process is basically the same as the existing technical solution. It can be summarized as follows: the application layer device initiates the quantum key application, and the management layer device sends / pushes the consistent quantum key to the application layer devices at both ends. The differences are described as follows:
[0093] When there are multiple sessions, the quantum key acquisition load balancer selects a session according to the algorithm and applies for a quantum key from the management layer device based on the selected session;
[0094] Session selection strategy: give priority to the session combination with the least number of uses to ensure balanced consumption of quantum keys between management-level devices; do not select session combinations that have failed to obtain quantum keys for multiple consecutive times (consecutive failures indicate that the device is likely to have a fault that requires on-site manual repair) to ensure the minimum delay in the entire quantum key application process; the session combination selected this time is not repeated with the previous one, ensuring that all session combinations are used and traversed as much as possible to detect and report potential faults as early as possible.
[0095] In this embodiment, by deploying multiple management layer devices on one node, the quantum link + classical link is expanded from 1 to N, which can effectively solve the problem that the quantum secure encryption channel cannot be established due to the failure of a single management layer device or a single link.
[0096] Those skilled in the art will appreciate that embodiments of the present invention may be provided as methods, systems, or computer program products. Therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0097] The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0098] These computer program instructions may also be stored in a computer readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer readable memory produce an article of manufacture including an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0099] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0100] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.
[0101] Although the above describes the specific implementation mode of the present invention in conjunction with the accompanying drawings, it is not intended to limit the scope of protection of the present invention. Those skilled in the art should understand that various modifications or variations that can be made by those skilled in the art on the basis of the technical solution of the present invention without creative work are still within the scope of protection of the present invention.
Claims
1. A quantum key output control method, characterized in that: The following steps are involved: Virtualize the local application layer devices into multiple devices respectively; Send the request of each virtualized application layer device to the corresponding management layer device; receiving a quantum key; The quantum key is obtained by selecting a link from multiple links constructed between each management layer device and each management layer device of the target party.
2. A quantum key output control method, characterized in that: The following steps are involved: Virtualize the application layer devices of the sender and receiver into multiple devices respectively; The multiple virtualized devices of the sender send requests from different management layer devices respectively; Each management layer device of the sender forms multiple links with each management layer device of the receiver; The server-layer device selects a valid link to output the quantum key.
3. A quantum key output control method as claimed in claim 1 or 2, characterized in that: The virtual number of application layer devices is greater than or equal to two.
4. A quantum key output control method as claimed in claim 1 or 2, characterized in that: The virtual numbers of application layer devices on different parties are the same.
5. A quantum key output control method as claimed in claim 1 or 2, characterized in that: The number of virtual application layer devices of different parties is different.
6. A quantum key output control method as claimed in claim 1 or 2, characterized in that: The virtualized application layer devices are each configured with a management layer device, the number of the two is the same, and they correspond one to one.
7. A quantum key output control method as claimed in claim 1 or 2, characterized in that: The virtualized application layer device is configured with a unique ID.
8. A quantum key output control method as claimed in claim 7, characterized in that: The ID of the virtualized application layer device is related to the ID of the original application layer device.
9. A quantum key output control method as claimed in claim 1 or 2, characterized in that: When the request is an authentication request, the application layer device sends a device authentication network access instruction, and the instruction includes the application layer device ID; The application layer device ID is changed into other related IDs according to the number of virtual devices, and the network access message of each related ID is sent to different management layer devices respectively; The server layer device records each virtual application layer device and records its network access authentication status.
10. A quantum key output control method as claimed in claim 1 or 2, characterized in that: When the request is a session request, the management layer devices corresponding to each virtualized application layer device of the sender establish sessions with each management layer device of the receiver respectively. The number of sessions is the number of valid management layer devices of the sender*the number of valid management layer devices of the receiver. The session contains the virtualized application layer device ID corresponding to each management layer device.
11. A quantum key output control method as claimed in claim 10, characterized in that: According to the number of virtualized application layer devices of both parties, the number of received sessions and the corresponding application layer device IDs in the sessions, the failed or faulty management layer device is determined.
12. A quantum key output control method as claimed in claim 1 or 2, characterized in that: When selecting a link, the session combination with the least number of uses is preferred, and the session combination that was selected last time is avoided.
13. A quantum key output control system, characterized in that: include: The application layer includes a plurality of application layer devices, each of which is configured with a quantum key acquisition load balancer, and the quantum key acquisition load balancer is used to virtualize the corresponding application layer device into a plurality of devices, so as to send requests from different management layer devices respectively to obtain quantum keys; The key management layer includes multiple management layer devices. Each management layer device corresponds to each virtualized device one by one, and multiple links are formed between different management layer devices. The server layer is used to control the devices at each management level.
14. A quantum key output control system as claimed in claim 13, characterized in that: The quantum key acquisition load balancer is configured to: virtualize the local application layer device into multiple devices respectively; Send the request of each virtualized application layer device to the corresponding management layer device; receiving a quantum key; The quantum key is obtained by selecting a link from multiple links constructed between each management layer device and each management layer device of the target party.
15. A terminal device, characterized in that: The invention comprises a processor and a computer-readable storage medium, wherein the processor is used to implement each instruction; the computer-readable storage medium is used to store a plurality of instructions, wherein the instructions are suitable for being loaded by the processor and executing the following steps: Virtualize the local application layer devices into multiple devices respectively; Send the request of each virtualized application layer device to the corresponding management layer device; receiving a quantum key; The quantum key is obtained by selecting a link from multiple links constructed between each management layer device and each management layer device of the target party.
