Port configuration method and apparatus, electronic device, and storage medium

CN117880079BActive Publication Date: 2026-08-21NANJING UNIV OF POSTS & TELECOMM +1
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202311815379.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-12-26
Publication Date
2026-08-21
Estimated Expiration
2043-12-26

AI Technical Summary

Technical Problem

多协议QKD网络的复杂性,导致节点端口配置不得不考虑各种QKD协议的物理约束,以及基于多协议建立的不同QKD业务需求

Benefits of technology

[0047] As described above, in this disclosure, the target service carried by the target node is first determined, then the type of the target node is determined based on the protocol information of the target service, then the optical quantum transmission port when the target node transmits signals with the optical quantum exchange device is determined, and finally the target node is configured based on the type of the target node and the optical quantum transmission port.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117880079B_ABST
    Figure CN117880079B_ABST
Patent Text Reader

Abstract

The present disclosure provides a port configuration method and device, electronic equipment and storage medium, comprising: obtaining a target service carried by a target node; determining protocol information of the target service, and determining a node type of the target node based on the protocol information; in response to determining that the node type is a non-bypass node, determining a port configuration requirement of the target node; determining an optical quantum transmission port between the target node and an optical quantum switching device based on the port configuration requirement; and configuring a transmission direction of the optical quantum transmission port based on a preset transmission mode to obtain a configured port. In the present disclosure, the service carried by the target node is first determined, then the type of the target node is determined based on the protocol information of the service, then the optical quantum transmission port when the target node and the optical quantum switching device transmit signals is determined, and finally the target node is configured based on the type of the target node and the optical quantum transmission port.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of communication transmission technology, and in particular to a port configuration method, apparatus, electronic device, and storage medium. Background Technology

[0002] Quantum Key Distribution (QKD) networks can provide data protection for various applications in the real world. The implementation of a QKD network is closely related to the QKD protocol. Existing QKD networks are typically built based on a single QKD protocol. However, with the development of various QKD protocols and their continuous performance improvement, QKD networks relying on a single protocol are gradually unable to meet the needs of high-performance and scalable QKD networking applications. Therefore, multi-protocol QKD networks will become the main form of next-generation QKD networks.

[0003] In existing technologies, node port configuration is fundamental to achieving multi-point interconnection in QKD networks. The complexity of multi-protocol QKD networks necessitates that node port configuration consider the physical constraints of various QKD protocols and the diverse QKD service requirements built upon these protocols. However, how to achieve scalable configuration of node ports in multi-protocol QKD networks in practical applications remains unresolved. Summary of the Invention

[0004] In view of this, the purpose of this disclosure is to provide a port configuration method, apparatus, electronic device and storage medium.

[0005] As one aspect of this disclosure, a port configuration method is provided, including:

[0006] Obtain the target service carried by the target node;

[0007] Determine the protocol information of the target service, and determine the node type of the target node based on the protocol information;

[0008] In response to determining that the node type is a non-bypass node, the port configuration requirements of the target node are determined;

[0009] The optical quantum transmission port between the target node and the optical quantum switching device is determined based on the port configuration requirements.

[0010] The transmission direction of the optical quantum transmission port is configured based on a preset transmission method to obtain the configured port.

[0011] Optionally, determining the protocol information of the target service and determining the node type of the target node based on the protocol information includes:

[0012] The target service is parsed to obtain its protocol information;

[0013] The source node and destination node of the target service are determined; wherein the source node and the destination node are connected to the target node;

[0014] The target service is determined based on the protocol information, and the transmission method among the source node, the target node, and the destination node is determined.

[0015] The node type of the target node is determined based on the transmission method.

[0016] Optionally, the transmission method includes a transmission path and a transmission direction;

[0017] The step of determining the target service based on the protocol information, and the transmission method among the source node, the target node, and the destination node, includes:

[0018] Acquire the quantum signal passing through the target node;

[0019] The transmission direction of the quantum signal is determined based on the protocol information;

[0020] The transmission path of the target service is determined based on the transmission direction of the quantum signal.

[0021] Optionally, the non-bypass node includes a source node, a destination node, a trusted relay node, and an untrusted relay node;

[0022] The step of determining the port configuration requirements of the target node in response to determining that the node type is a non-bypass node includes:

[0023] In response to the node type being one of the source node, destination node, trusted relay node, and untrusted relay node, the transceiver requirements of the target node are determined.

[0024] The port configuration requirements for the target node are generated based on the transceiver requirements.

[0025] Optionally, determining the transceiver requirements of the target node includes:

[0026] Determine the required number of transceivers for the target node when carrying services of the target protocol;

[0027] Based on the target protocol and the required number of transceivers, determine the transceiver information of the target node;

[0028] The port quantity requirement of the transceiver end of the target node is determined based on the target protocol;

[0029] Based on the required number of transceivers, the transceiver information, and the required number of ports, the transceiver requirements for the target node are generated.

[0030] Optionally, after determining the port configuration requirements of the target node, the method further includes:

[0031] Determine the type of optical quantum switching device inside the target node;

[0032] Based on the type and the port status of the optical quantum switch, the current state of the optical quantum switch is determined, wherein the current state includes an available state and an unavailable state.

[0033] Optionally, the optical quantum transmission port includes a first optical quantum transmission port and a second optical quantum transmission port;

[0034] The process of determining the optical quantum transmission port between the target node and the optical quantum switching device based on the port configuration requirements includes:

[0035] Based on the transceiver requirements, determine the transmission port of the target node when carrying services of the target protocol;

[0036] In response to determining that the current state is an available state, the first optical quantum transmission port connected to the transmission port of the optical quantum switching device is determined;

[0037] Determine the optical quantum switching device information of the neighboring nodes of the target node;

[0038] The second optical quantum transmission port of the target node is determined based on the optical quantum switching device information of the adjacent nodes, wherein the second optical quantum transmission port is connected to the optical quantum switching device of the adjacent nodes.

[0039] As a second aspect of this disclosure, this disclosure also provides a port configuration apparatus, comprising:

[0040] The business acquisition module is configured to: acquire the target business carried by the target node;

[0041] The node type determination module is configured to: determine the protocol information of the target service, and determine the node type of the target node based on the protocol information;

[0042] The configuration requirement determination module is configured to: determine the port configuration requirements of the target node in response to determining that the node type is a non-bypass node;

[0043] The transmission port determination module is configured to: determine the optical quantum transmission port between the target node and the optical quantum exchange device based on the port configuration requirements;

[0044] The port configuration module is configured to configure the transmission direction of the optical quantum transmission port based on a preset transmission method to obtain the configured port.

[0045] As a third aspect of this disclosure, this disclosure also provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the program to implement the port configuration method described above provided in this disclosure.

[0046] As a fourth aspect of this disclosure, a non-transitory computer-readable storage medium is also provided, the non-transitory computer-readable storage medium storing computer instructions for causing a computer to perform the methods described in any of the above-mentioned methods.

[0047] As described above, in this disclosure, the target service carried by the target node is first determined, then the type of the target node is determined based on the protocol information of the target service, then the optical quantum transmission port when the target node transmits signals with the optical quantum exchange device is determined, and finally the target node is configured based on the type of the target node and the optical quantum transmission port. Attached Figure Description

[0048] To more clearly illustrate the technical solutions in this disclosure or related technologies, the accompanying drawings used in the description of the embodiments or related technologies will be briefly introduced below. Obviously, the accompanying drawings described below are only embodiments of this disclosure. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0049] Figure 1A This is a schematic diagram of a port configuration method provided in an embodiment of the present disclosure.

[0050] Figure 1B This is a schematic diagram of a method for determining node type provided in an embodiment of this disclosure.

[0051] Figure 1C This is a schematic diagram of a method for determining an optical quantum transmission port provided in an embodiment of this disclosure.

[0052] Figure 1D This is a schematic diagram of a multi-protocol quantum key distribution network provided in an embodiment of this disclosure.

[0053] Figure 1E This is a schematic diagram of node transmission in a multi-protocol quantum key distribution network provided in an embodiment of this disclosure.

[0054] Figure 2 This is a schematic diagram of the structure of a port configuration device provided in an embodiment of the present disclosure.

[0055] Figure 3 This is a schematic diagram of an electronic device structure for a port configuration method provided in an embodiment of this disclosure. Detailed Implementation

[0056] To make the objectives, technical solutions, and advantages of this disclosure clearer, the following detailed description is provided in conjunction with specific embodiments and the accompanying drawings.

[0057] It should be noted that, unless otherwise defined, the technical or scientific terms used in the embodiments of this disclosure should have the ordinary meaning understood by one of ordinary skill in the art to which this disclosure pertains. The terms "first," "second," and similar terms used in the embodiments of this disclosure do not indicate any order, quantity, or importance, but are merely used to distinguish different components. Terms such as "comprising" or "including" mean that the element or object preceding the word encompasses the elements or objects listed following the word and their equivalents, without excluding other elements or objects. Terms such as "connected" or "linked" are not limited to physical or mechanical connections, but can include electrical connections, whether direct or indirect. Terms such as "upper," "lower," "left," and "right" are used only to indicate relative positional relationships; when the absolute position of the described object changes, the relative positional relationship may also change accordingly.

[0058] As described in the background section, quantum key distribution (QKD) networks can provide data protection for various applications in the real world. The implementation of a QKD network is closely related to the QKD protocol. Existing QKD networks are typically built based on a single QKD protocol. However, with the development of various QKD protocols and their continuous performance improvement, QKD networks relying on a single protocol are gradually unable to meet the needs of high-performance and scalable QKD networking applications. Therefore, multi-protocol QKD networks will become the main form of next-generation QKD networks.

[0059] In existing technologies, node port configuration is fundamental to achieving multi-point interconnection in QKD networks. In single-protocol QKD networks, the single protocol means that node port configuration is relatively fixed, thus eliminating the need to consider different transceiver characteristics and complex quantum signal transmission directions. However, the complexity of multi-protocol QKD networks necessitates that node port configuration consider the physical constraints of various QKD protocols and the diverse QKD service requirements built upon them. Nevertheless, how to achieve scalable configuration of node ports in multi-protocol QKD networks remains unresolved in practical applications.

[0060] To address the aforementioned issues, this disclosure provides a port configuration method, apparatus, electronic device, and storage medium. Using the above method, this disclosure first determines the target service carried by the target node, then determines the type of the target node based on the protocol information of this target service, subsequently determines the optical quantum transmission port for signal transmission between the target node and the optical quantum switching device, and finally configures the target node based on the target node type and the optical quantum transmission port.

[0061] This disclosure proposes a node port configuration method for multi-protocol QKD networks by determining the node types corresponding to different requirements of QKD services. This method enables flexible configuration of node ports in multi-protocol QKD networks, thereby improving node port configuration efficiency and scalability.

[0062] In summary, the core of the port configuration method disclosed herein lies in its comprehensive consideration of the node roles (source node, destination node, trusted relay node, untrusted relay node, and bypass node) corresponding to different QKD service requirements, based on the interconnection characteristics of the transceiver ends of different QKD protocols and the direction of quantum signal transmission, and in conjunction with the optical quantum switching equipment within the QKD node for distributed and flexible configuration of node ports.

[0063] Therefore, the method in this disclosure can provide node port configurations that meet the different needs of various QKD services. To a certain extent, it can improve the efficiency of node port configuration in multi-protocol QKD networks, avoid port connection failures or service quality issues caused by fixed node port configurations, and improve the scalability of node port configuration in multi-protocol QKD networks.

[0064] After introducing the basic principles of this disclosure, various non-limiting embodiments of this disclosure will be described in detail below.

[0065] Figure 1A This is a schematic diagram of a port configuration method provided in an embodiment of the present disclosure.

[0066] Figure 1A The port configuration method shown further includes the following steps:

[0067] Step S10: Obtain the target service carried by the target node.

[0068] In some optional embodiments, the port configuration method of this disclosure can be implemented through a configuration model. Specifically, since the network environment in which the nodes in this disclosure reside is a multi-protocol QKD network, the configuration model needs to flexibly configure the ports of the target nodes by combining the interconnection characteristics of the transceiver ends of different QKD protocols and the direction of quantum signal transmission, as well as the node roles corresponding to different QKD service requirements.

[0069] In some optional embodiments, to implement the above process, the configuration model can first determine the role of the node. Specifically, the configuration model can first search for target services associated with the target node to be configured. This process can also be further specified as follows: the configuration model first determines the services that pass through this target node, and then takes this service as the target service. Then, the configuration model determines the role of this target node based on this target service, that is, determines the type of the target node.

[0070] Step S20: Determine the protocol information of the target service, and determine the node type of the target node based on the protocol information.

[0071] Figure 1B This is a schematic diagram of a method for determining node type provided in an embodiment of this disclosure.

[0072] In some alternative embodiments, such as Figure 1B As shown, step S20 further includes:

[0073] S201: The target service is parsed and processed to obtain the protocol information of the target service.

[0074] S202: Determine the source node and destination node of the target service; wherein the source node and the destination node are connected to the target node.

[0075] S203: Determine the transmission method of the target service between the source node, the target node, and the destination node based on the protocol information.

[0076] In some optional embodiments, step S203 further includes:

[0077] S2031: Obtain the quantum signal that has passed through the target node.

[0078] S2032: Determine the transmission direction of the quantum signal based on the protocol information.

[0079] S2033: Determine the transmission path of the target service based on the transmission direction of the quantum signal.

[0080] S204: Determine the node type of the target node based on the transmission method.

[0081] In some optional embodiments, once the configuration model determines the target service carried by the target node, it can query the transmission path of this target service and determine the source node and destination node of this target service. The aforementioned source node and destination node are connected to the target node. When a signal is transmitted, it can be initiated from the source node and transmitted through the target node to the destination node.

[0082] In some optional embodiments, the role of the target node will change accordingly when the protocol information of the target service carried by the target node is different. Therefore, when determining the type of the target node, the configuration model also needs to determine the protocol information of the target service carried by the target node, and then determine the type of the target node based on this protocol information.

[0083] In some alternative embodiments, in a multi-protocol QKD network, the protocol information of the target service can be diverse. Therefore, the configuration model can determine the protocol information of the target service by parsing the target service.

[0084] In some optional embodiments, the protocol information of the target service may be one of those in Table 1.

[0085] Table 1 Classic QKD Protocol

[0086]

[0087] In some optional embodiments, after the configuration model determines the protocol information of the target service, as well as the source and destination nodes of the target service, the configuration model can query the transmission method of the target service among the source, destination, and destination nodes based on the protocol information. The aforementioned transmission method may include the transmission path and transmission direction.

[0088] In some optional embodiments, the configuration model can directly query the transmission path of each target service quantum signal associated with the target node based on the source node and the destination node. Then, the configuration model can determine the transmission direction of the target service quantum signal based on the aforementioned protocol information. Finally, the configuration model can determine the transmission method of the target service based on the aforementioned transmission path and transmission direction.

[0089] In some optional embodiments, once the configuration model determines the transmission method of the target service, the target node and its type when carrying the target service can be determined based on this transmission method. The aforementioned node types can include bypass nodes and non-bypass nodes. Specifically, non-bypass nodes can be source nodes, destination nodes, trusted relay nodes, and untrusted relay nodes.

[0090] Step S30: In response to determining that the node type is a non-bypass node, determine the port configuration requirements of the target node.

[0091] In some optional embodiments, step S30 further includes:

[0092] S301: In response to the node type being one of the source node, destination node, trusted relay node, and untrusted relay node, determine the transceiver requirements of the target node.

[0093] S302: Generate the port configuration requirements of the target node based on the transceiver requirements.

[0094] In some optional embodiments, when the target node is a bypass node, it does not process any services. Therefore, when the target node is a bypass node, the configuration model does not need to configure its ports. Conversely, when the target node is a non-bypass node, it will process the services passing through it. Therefore, after determining the type of the target node, the configuration model needs to determine the node type and, if the node type is a non-bypass node, configure its ports.

[0095] In some optional embodiments, once the configuration model determines that the target node is a non-bypass node, it can determine the transceiver requirements of the target node and then generate the port configuration requirements for the target node based on these transceiver requirements. Subsequently, the configuration model can configure the ports of the target node based on these port configuration requirements.

[0096] In some optional embodiments, step S301 further includes:

[0097] S3011: Determine the required number of transceivers for the target node when carrying services of the target protocol.

[0098] S3012: Based on the target protocol and the required number of transceivers, determine the transceiver information of the target node.

[0099] S3013: Determine the port quantity requirement of the transceiver end of the target node based on the target protocol.

[0100] S3014: Based on the transceiver quantity requirement, the transceiver information, and the port quantity requirement, generate the transceiver requirement for the target node.

[0101] In some optional embodiments, the process of the configuration model determining the transceiver requirements of the target node can be specifically as follows: the configuration model can first determine the number of transceivers required by the target node when carrying services of the target protocol. The aforementioned transceiver quantity requirement is related to the type of the target node and the key generation rate requirement of the services carried by the target node.

[0102] In some optional embodiments, the aforementioned target protocol can be any of the protocols in Table 1. After determining the number of transceivers required by the target node when carrying services of the target protocol, the configuration model can query the transceiver information required by the target node based on this transceiver number requirement and the target protocol, that is, select the transceiver ports.

[0103] In some optional embodiments, when querying the transceiver information required by the target node, if the target node is a source node or a destination node, it needs at least one sender or receiver corresponding to the target protocol. If the target node is an untrusted relay node, it needs at least one receiver (such as MDI, TF in Table 1) or sender (such as BBM92 in Table 1) for a specific protocol. If the target node is a trusted relay node, it needs at least one sender and one receiver (such as BB84, COW, GG02 in Table 1), or at least two senders (such as MDI, TF in Table 1), or at least two receivers (such as BBM92 in Table 1) for the corresponding protocol.

[0104] In some optional embodiments, after determining the transceiver information, the configuration model can determine the port quantity requirement for this transceiver. Specifically, when the target protocol changes, the port quantity requirement for the transceiver will also change, such as requiring a single port or a dual-port protocol. Therefore, the configuration model can determine the port quantity requirement for this transceiver based on the target protocol.

[0105] In some optional embodiments, once the configuration model has determined the transceiver quantity requirement, transceiver information, and port quantity requirement of the target node, the configuration model can generate the transceiver requirements of the target node based on the transceiver quantity requirement, transceiver information, and port quantity requirement.

[0106] In some optional embodiments, after step S302, the method further includes:

[0107] S3021: Determine the type of optical quantum switching device inside the target node.

[0108] S3022: Based on the type and the port status of the optical quantum switch, determine the current state of the optical quantum switch, wherein the current state includes an available state and an unavailable state.

[0109] In some optional embodiments, once the configuration model determines the transceiver requirements of the target node, the port configuration requirements of the target node can be generated based on these requirements, and then the ports of the target node can be configured based on these port configuration requirements.

[0110] In some optional embodiments, the port configuration process in this disclosure may include configuring the service transmission port and configuring the optical quantum transmission port. Therefore, before configuring the port, the configuration model also needs to check whether there are idle ports on the optical quantum switch. If there are idle ports on the optical quantum switch, the optical quantum transmission port is configured based on this optical quantum switch.

[0111] In some optional embodiments, the configuration model may check for the existence of idle ports on the optical quantum switch in conjunction with the type of the optical quantum switch. The configuration model can determine the current state of the optical quantum switch based on its type and port status. The current state may include both available and unavailable states, and the type may include all-through and matrix types.

[0112] Step S40: Determine the optical quantum transmission port between the target node and the optical quantum exchange device based on the port configuration requirements.

[0113] Figure 1C This is a schematic diagram of a method for determining an optical quantum transmission port provided in an embodiment of this disclosure.

[0114] In some alternative embodiments, such as Figure 1C As shown, step S40 further includes:

[0115] S401: Based on the transceiver requirements, determine the transmission port of the target node when carrying the target protocol service.

[0116] S402: In response to determining that the current state is an available state, determine the first optical quantum transmission port connected to the transmission port of the optical quantum exchange device.

[0117] S403: Determine the optical quantum switching device information of the neighboring nodes of the target node.

[0118] S404: Determine the second optical quantum transmission port of the target node based on the optical quantum switching device information of the adjacent node, wherein the second optical quantum transmission port is connected to the optical quantum switching device of the adjacent node.

[0119] In some optional embodiments, after determining the port configuration requirements of the target node, the configuration model can configure the ports of the target node based on these requirements. Specifically, the configuration model can first determine the transmission port of the target node when carrying the services of the target protocol, based on the aforementioned transceiver requirements. It is understood that the form of the port will vary depending on the port requirements. For example, the transmitting / receiving ends of similar protocols such as BB84, COW, and GG02 are all single-output / input ports; the receiving ends of similar protocols such as MDI and TF are dual-input ports; and the transmitting ends of similar protocols such as BBM92 are dual-output ports.

[0120] In some optional embodiments, after determining the transmission port of the target node, the configuration model can determine the optical quantum transmission port on the optical quantum switch that transmits optical quantum signals with the transmission port. This optical quantum transmission port may include a first optical quantum transmission port and a second optical quantum transmission port. The first optical quantum transmission port may be a port on the optical quantum switch of the target node that connects to the target node, i.e., an internal optical quantum port. The second optical quantum port may be a port on the optical quantum switch of a neighboring node of the target node that connects to the target node, i.e., an external optical quantum port.

[0121] In some optional embodiments, when determining the optical quantum transmission port, the configuration model needs to determine the state of the optical quantum switching device, and when the optical quantum switching device is in an available state, determine the first optical quantum transmission port connected to the transmission port of the target node's optical quantum switching device, and the second optical quantum transmission port connected to the target node on the optical quantum switching device of the target node's adjacent node.

[0122] Step S50: Configure the transmission direction of the optical quantum transmission port based on the preset transmission mode to obtain the configured port.

[0123] In some optional embodiments, after the configuration model determines the transmission port of the target node, as well as the first and second quantum optical transmission ports connected to the target node, it can determine the transmission direction of the quantum signal between the aforementioned ports, thereby completing the port configuration of the target node.

[0124] In some optional embodiments, the process of determining the transmission direction of quantum signals between the aforementioned ports can specifically involve the configuration model first determining the directed connections between the optical quantum exchange device ports within the target node and the relevant target service transceiver ports. This process can be achieved by connecting one port of the optical quantum exchange device to an input or output port of the transceiver. Here, the directed connection represents the direction of quantum signal transmission.

[0125] In some optional embodiments, the configuration model can also determine the directed connections between ports within the optical quantum switch device corresponding to the relevant target service within the target node. This process can be achieved by switching the connection between two ports of the optical quantum switch device. The configuration model can then determine the directed connections between the optical quantum switch device ports corresponding to the relevant target service and other adjacent nodes. The purpose of this process is to achieve interconnection between the target node and other adjacent nodes. Finally, the configuration model can monitor the port status of the target node and respond promptly to anomalies such as port connection failures.

[0126] Figure 1D This is a schematic diagram of a multi-protocol quantum key distribution network provided in an embodiment of this disclosure.

[0127] In some alternative embodiments, such as Figure 1D As shown, AI represents multiple QKD nodes in a multi-protocol quantum key distribution network. The multi-protocol quantum key distribution service distributes quantum keys through a transmission process between these multiple QKD nodes.

[0128] Figure 1E This is a schematic diagram of node transmission in a multi-protocol quantum key distribution network provided in an embodiment of this disclosure.

[0129] In some alternative embodiments, please refer to Figure 1D and Figure 1E As shown, taking QKD node B as an example, this disclosure introduces the port configuration method. Specifically, the configuration model can search for all QKD services (service r1, service r2, service r3, service r4, service r5, service r6) associated with QKD node B.

[0130] In some optional embodiments, the configuration model can also query each QKD service source and destination node associated with QKD node B (service r1: source node A / destination node E; service r2: source node D / destination node H; service r3: source node A / destination node D; service r4: source node A / destination node B; service r5: source node B / destination node E; service r6: source node C / destination node E). After that, the configuration model can parse the protocol information of each QKD service associated with QKD node B (service r1: COW protocol; service r2: BB84 protocol; service r3: TF protocol; service r4: GG02 protocol; service r5: DPS protocol; service r6: BBM92 protocol).

[0131] In some optional embodiments, the configuration model can also query the quantum signal transmission path of each QKD service associated with QKD node B (service r1: A→B→E; service r2: D→B→E→H; service r3: A→B←D; service r4: A→B; service r5: B→E; service r6: C←D→B→E); and query the role of QKD node B corresponding to each related QKD service (service r1: bypass node; service r2: trusted relay node; service r3: untrusted relay node; service r4: destination node; service r5: source node; service r6: bypass node).

[0132] In some alternative embodiments, please continue to refer to Figure 1E As shown, the configuration model can query the type of optical quantum switch device of QKD node B (e.g., all-through type). The configuration model can then search for idle ports (ports 1-16) of the optical quantum switch device of QKD node B and query the different protocol transceiver requirements for relevant QKD services for which QKD node B is a non-bypass node (Service r2: 1 BB84 receiver & 1 BB84 transmitter; Service r3: 1 TF receiver; Service r4: 1 GG02 receiver; Service r5: 1 DPS transmitter).

[0133] In some optional embodiments, the configuration model can look up the different protocol transceivers for relevant QKD services where the QKD node B is a non-bypass node, and query the port requirements of the different protocol transceivers for relevant QKD services where the QKD node B is a non-bypass node (service r2: single port; service r3: dual port; service r4: single port; service r5: single port).

[0134] In some optional embodiments, the configuration model can also set the QKD node B role as a non-bypass node for different protocol transceiver input / output ports of the relevant QKD services (service r2: BB84 receiver input port (single), BB84 transmitter output port (single); service r3: TF receiver input port (dual); service r4: GG02 receiver input port (single); service r5: DPS transmitter output port (single)); and set the optical quantum switching device ports adapted to the different protocol transceiver ports of the relevant QKD services (service r2: port 2, port 8; service r3: port 3, port 7; service r4: port 4; service r5: port 5).

[0135] In some alternative embodiments, please continue to refer to Figure 1EAs shown, the configuration model can also set the signal input / output ports of the optical quantum switching device interconnecting QKD node B with its neighboring nodes (neighboring node A: port 10, port 12, port 15; neighboring node D: port 9, port 13, port 14; neighboring node E: port 1, port 6, port 11, port 16).

[0136] In some optional embodiments, the configuration model can also configure directed connections between the optical quantum switch port within QKD node B and the corresponding QKD service transceiver port (service r2: port 2 → BB84 receiver input port, port 8 ← BB84 transmitter output port; service r3: port 3 → TF receiver input port, port 7 → TF receiver input port; service r4: port 4 → GG02 receiver input port; service r5: port 5 ← DPS transmitter output port).

[0137] In some optional embodiments, the configuration model can also configure directed connections between ports within the optical quantum switching equipment corresponding to the relevant QKD services in QKD node B (service r1: port 12 → port 1; service r2: port 13 → port 2, port 16 ← port 8; service r3: port 9 → port 3, port 15 → port 7; service r4: port 10 → port 4; service r5: port 11 ← port 5; service r6: port 14 → port 6, where the arrows indicate the direction of quantum signal transmission).

[0138] In some alternative embodiments, please continue to refer to Figure 1E As shown, the configuration model can also configure directed connections between the optical quantum switching device ports of the corresponding QKD services and other adjacent nodes (service r1: Node A → Port 12, Port 1 → Node E; service r2: Node D → Port 13, Port 16 → Node E; service r3: Node D → Port 9, Node A → Port 15; service r4: Node A → Port 10; service r5: Port 11 → Node E; service r6: Node D → Port 14, Port 6 → Node E); complete the port connection configuration and monitor the port status of QKD node B.

[0139] Using the above method, this disclosure first determines the target service carried by the target node, then determines the type of the target node based on the protocol information of the target service, then determines the optical quantum transmission port when the target node transmits signals with the optical quantum exchange device, and finally configures the target node based on the type of the target node and the optical quantum transmission port.

[0140] This disclosure proposes a node port configuration method for multi-protocol QKD networks by determining the node types corresponding to different requirements of QKD services. This method enables flexible configuration of node ports in multi-protocol QKD networks, thereby improving node port configuration efficiency and scalability.

[0141] In summary, the core of the port configuration method disclosed herein lies in its comprehensive consideration of the node roles (source node, destination node, trusted relay node, untrusted relay node, and bypass node) corresponding to different QKD service requirements, based on the interconnection characteristics of the transceiver ends of different QKD protocols and the direction of quantum signal transmission, and in conjunction with the optical quantum switching equipment within the QKD node for distributed and flexible configuration of node ports.

[0142] Therefore, the method in this disclosure can provide node port configurations that meet the different needs of various QKD services. To a certain extent, it can improve the efficiency of node port configuration in multi-protocol QKD networks, avoid port connection failures or service quality issues caused by fixed node port configurations, and improve the scalability of node port configuration in multi-protocol QKD networks.

[0143] Based on the same technical concept, corresponding to the methods of any of the above embodiments, this disclosure also provides a port configuration device, which can implement the port configuration method described in any of the above embodiments.

[0144] Figure 2 This is a schematic diagram of a port configuration device provided in an embodiment of the present disclosure.

[0145] Figure 2 The port configuration device shown further includes the following modules:

[0146] Service acquisition module 10, node type determination module 20, configuration requirement determination module 30, transmission port determination module 40, and port configuration module 50;

[0147] The service acquisition module 10 is configured to acquire the target service carried by the target node.

[0148] The node type determination module 20 is configured to: determine the protocol information of the target service, and determine the node type of the target node based on the protocol information. Specifically, the following steps are performed:

[0149] The target service is parsed to obtain its protocol information;

[0150] The source node and destination node of the target service are determined; wherein the source node and the destination node are connected to the target node;

[0151] Based on the protocol information, the transmission method among the source node, the target node, and the destination node for the target service is determined, including:

[0152] The step of determining the target service based on the protocol information, and the transmission method among the source node, the target node, and the destination node, includes:

[0153] Acquire the quantum signal passing through the target node;

[0154] The transmission direction of the quantum signal is determined based on the protocol information;

[0155] The transmission path of the target service is determined based on the transmission direction of the quantum signal;

[0156] The node type of the target node is determined based on the transmission method.

[0157] The configuration requirement determination module 30 is configured to: determine the port configuration requirements of the target node in response to determining that the node type is a non-bypass node. Specifically, the following steps are performed:

[0158] The non-bypass nodes include source nodes, destination nodes, trusted relay nodes, and untrusted relay nodes;

[0159] The step of determining the port configuration requirements of the target node in response to determining that the node type is a non-bypass node includes:

[0160] In response to the node type being one of the source node, destination node, trusted relay node, and untrusted relay node, the transceiver requirements of the target node are determined, including:

[0161] Determine the required number of transceivers for the target node when carrying services of the target protocol;

[0162] Based on the target protocol and the required number of transceivers, determine the transceiver information of the target node;

[0163] The port quantity requirement of the transceiver end of the target node is determined based on the target protocol;

[0164] Based on the transceiver quantity requirement, the transceiver information, and the port quantity requirement, the transceiver requirements of the target node are generated.

[0165] The port configuration requirements of the target node are generated based on the transceiver requirements.

[0166] Determine the type of optical quantum switching device inside the target node;

[0167] Based on the type and the port status of the optical quantum switch, the current state of the optical quantum switch is determined, wherein the current state includes an available state and an unavailable state.

[0168] The transmission port determination module 40 is configured to determine the optical quantum transmission port between the target node and the optical quantum switching device based on the port configuration requirements. Specifically, the following steps are performed:

[0169] The process of determining the optical quantum transmission port between the target node and the optical quantum switching device based on the port configuration requirements includes:

[0170] Based on the transceiver requirements, determine the transmission port of the target node when carrying services of the target protocol;

[0171] In response to determining that the current state is an available state, the first optical quantum transmission port connected to the transmission port of the optical quantum switching device is determined;

[0172] Determine the optical quantum switching device information of the neighboring nodes of the target node;

[0173] The second optical quantum transmission port of the target node is determined based on the optical quantum switching device information of the adjacent nodes, wherein the second optical quantum transmission port is connected to the optical quantum switching device of the adjacent nodes.

[0174] The port configuration module 50 is configured to configure the transmission direction of the optical quantum transmission port based on a preset transmission method to obtain the configured port.

[0175] Based on the same technical concept, corresponding to the methods of any of the above embodiments, this disclosure also provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the program to implement the port configuration method described in any of the above embodiments.

[0176] Figure 3 This embodiment illustrates a more specific hardware structure of an electronic device, which may include a processor 1010, a memory 1020, an input / output interface 1030, a communication interface 1040, and a bus 1050. The processor 1010, memory 1020, input / output interface 1030, and communication interface 1040 are interconnected internally via the bus 1050.

[0177] The processor 1010 can be implemented using a general-purpose CPU (Central Processing Unit), microprocessor, application-specific integrated circuit (ASIC), or one or more integrated circuits, and is used to execute relevant programs to implement the technical solutions provided in the embodiments of this specification.

[0178] The memory 1020 can be implemented in the form of ROM (Read Only Memory), RAM (Random Access Memory), static storage device, dynamic storage device, etc. The memory 1020 can store the operating system and other applications. When the technical solutions provided in the embodiments of this specification are implemented by software or firmware, the relevant program code is stored in the memory 1020 and is called and executed by the processor 1010.

[0179] The input / output interface 1030 is used to connect input / output modules to realize information input and output. Input / output modules can be configured as components within the device (not shown in the figure) or externally connected to the device to provide corresponding functions. Input devices may include keyboards, mice, touchscreens, microphones, various sensors, etc., while output devices may include displays, speakers, vibrators, indicator lights, etc.

[0180] The communication interface 1040 is used to connect a communication module (not shown in the figure) to enable communication between this device and other devices. The communication module can communicate via wired means (such as USB, Ethernet cable, etc.) or wireless means (such as mobile network, WIFI, Bluetooth, etc.).

[0181] Bus 1050 includes a pathway for transmitting information between various components of the device, such as processor 1010, memory 1020, input / output interface 1030, and communication interface 1040.

[0182] It should be noted that although the above-described device only shows the processor 1010, memory 1020, input / output interface 1030, communication interface 1040, and bus 1050, in specific implementations, the device may also include other components necessary for normal operation. Furthermore, those skilled in the art will understand that the above-described device may only include the components necessary for implementing the embodiments of this specification, and not necessarily all the components shown in the figures.

[0183] The electronic devices described above are used to implement the corresponding port configuration methods in any of the foregoing embodiments and have the beneficial effects of the corresponding method embodiments, which will not be repeated here.

[0184] Based on the same technical concept, corresponding to the methods of any of the above embodiments, this disclosure also provides a non-transitory computer-readable storage medium that stores computer instructions for causing the computer to execute the port configuration method as described in any of the above embodiments.

[0185] The computer-readable medium of this embodiment includes permanent and non-permanent, removable and non-removable media, and information storage can be implemented by any method or technology. Information can be computer-readable instructions, data structures, program modules, or other data. Examples of computer storage media include, but are not limited to, phase-change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technologies, CD-ROM, digital versatile optical disc (DVD) or other optical storage, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other non-transfer medium that can be used to store information accessible by a computing device.

[0186] The computer instructions stored in the storage medium of the above embodiments are used to cause the computer to execute the port configuration method as described in any of the above embodiments, and have the beneficial effects of the corresponding method embodiments, which will not be repeated here.

[0187] Those skilled in the art should understand that the discussion of any of the above embodiments is merely exemplary and is not intended to imply that the scope of this disclosure (including the claims) is limited to these examples; within the framework of this disclosure, the technical features of the above embodiments or different embodiments can also be combined, the steps can be implemented in any order, and there are many other variations of different aspects of the embodiments of this disclosure as described above, which are not provided in detail for the sake of brevity.

[0188] Additionally, to simplify the description and discussion, and to avoid obscuring the embodiments of this disclosure, the provided drawings may or may not show well-known power / ground connections to integrated circuit (IC) chips and other components. Furthermore, the apparatus may be shown in block diagram form to avoid obscuring the embodiments of this disclosure, and this also takes into account the fact that the details of implementation of these block diagram apparatuses are highly dependent on the platform on which the embodiments of this disclosure will be implemented (i.e., these details should be fully understood by those skilled in the art). While specific details (e.g., circuitry) have been set forth to describe exemplary embodiments of this disclosure, it will be apparent to those skilled in the art that the embodiments of this disclosure may be implemented without these specific details or with variations thereof. Therefore, these descriptions should be considered illustrative rather than restrictive.

[0189] Although this disclosure has been described in conjunction with specific embodiments thereof, many substitutions, modifications, and variations of these embodiments will be apparent to those skilled in the art from the foregoing description. For example, other memory architectures (e.g., dynamic RAM (DRAM)) may be used with the embodiments discussed.

[0190] This disclosure is intended to cover all such substitutions, modifications, and variations that fall within the broad scope of the appended claims. Therefore, any omissions, modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this disclosure should be included within the scope of protection of this disclosure.

Claims

1. A port configuration method, characterized in that, include: Obtain the target service carried by the target node; Determine the protocol information of the target service, and determine the node type of the target node based on the protocol information; wherein, the determination includes: The target service is parsed to obtain its protocol information; The source node and destination node of the target service are determined; wherein the source node and the destination node are connected to the target node; The target service is determined based on the protocol information, and the transmission method among the source node, the target node, and the destination node is determined. The node type of the target node is determined based on the transmission method; In response to determining that the node type is a non-bypass node, the port configuration requirements of the target node are determined; and, Determine the type of optical quantum switching device inside the target node; Based on the type of the optical quantum switch and the port status of the optical quantum switch, the current state of the optical quantum switch is determined, wherein the current state includes an available state and an unavailable state; The optical quantum transmission port between the target node and the optical quantum switching device is determined based on the port configuration requirements. The transmission direction of the optical quantum transmission port is configured based on a preset transmission method to obtain the configured port.

2. The method according to claim 1, characterized in that, The transmission method includes the transmission path and the transmission direction; The step of determining the target service based on the protocol information, and the transmission method among the source node, the target node, and the destination node, includes: Acquire the quantum signal passing through the target node; The transmission direction of the quantum signal is determined based on the protocol information; The transmission path of the target service is determined based on the transmission direction of the quantum signal.

3. The method according to claim 1, characterized in that, The non-bypass nodes include source nodes, destination nodes, trusted relay nodes, and untrusted relay nodes; The step of determining the port configuration requirements of the target node in response to determining that the node type is a non-bypass node includes: In response to the node type being one of the source node, destination node, trusted relay node, and untrusted relay node, the transceiver requirements of the target node are determined. The port configuration requirements for the target node are generated based on the transceiver requirements.

4. The method according to claim 3, characterized in that, Determining the transceiver requirements of the target node includes: Determine the required number of transceivers for the target node when carrying services of the target protocol; Based on the target protocol and the required number of transceivers, determine the transceiver information of the target node; The port quantity requirement of the transceiver end of the target node is determined based on the target protocol; Based on the required number of transceivers, the transceiver information, and the required number of ports, the transceiver requirements for the target node are generated.

5. The method according to claim 1, characterized in that, The optical quantum transmission port includes a first optical quantum transmission port and a second optical quantum transmission port; The process of determining the optical quantum transmission port between the target node and the optical quantum switching device based on the port configuration requirements includes: Based on the requirements of the transceiver, determine the transmission port of the target node when carrying the service of the target protocol; In response to determining that the current state is an available state, the first optical quantum transmission port connected to the transmission port of the optical quantum switching device is determined; Determine the optical quantum switching device information of the neighboring nodes of the target node; The second optical quantum transmission port of the target node is determined based on the optical quantum switching device information of the adjacent nodes, wherein the second optical quantum transmission port is connected to the optical quantum switching device of the adjacent nodes.

6. A port configuration device, characterized in that, include: The business acquisition module is configured to: acquire the target business carried by the target node; The node type determination module is configured to: determine the protocol information of the target service, and determine the node type of the target node based on the protocol information; wherein, it includes: The target service is parsed to obtain its protocol information; The source node and destination node of the target service are determined; wherein the source node and the destination node are connected to the target node; The target service is determined based on the protocol information, and the transmission method among the source node, the target node, and the destination node is determined. The node type of the target node is determined based on the transmission method; The configuration requirement determination module is configured to: determine the port configuration requirements of the target node in response to determining that the node type is a non-bypass node; and, Determine the type of optical quantum switching device inside the target node; Based on the type of the optical quantum switch and the port status of the optical quantum switch, the current state of the optical quantum switch is determined, wherein the current state includes an available state and an unavailable state; The transmission port determination module is configured to: determine the optical quantum transmission port between the target node and the optical quantum exchange device based on the port configuration requirements; The port configuration module is configured to configure the transmission direction of the optical quantum transmission port based on a preset transmission method to obtain the configured port.

7. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, When the processor executes the program, it implements the method as described in any one of claims 1 to 5.

8. A non-transitory computer-readable storage medium storing computer instructions for causing a computer to perform the method of any one of claims 1 to 5.

Citation Information

Patent Citations

  • Key management system and method based on quantum key pool

    CN106961327A

  • Multi-protocol compatible quantum key distribution system

    CN116527243A