Data transmission method and device, medium and product

By receiving and forwarding data packets carrying quantum addresses in the quantum gateway, the difference between the data transmission between quantum nodes and IPv6 nodes is solved, and the interconnection between the quantum communication network and the classical communication network is realized, filling the technical gap.

CN119696701APending Publication Date: 2025-03-25CHINA MOBILE GROUP ANHUI +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411834883.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-12
Publication Date
2025-03-25

AI Technical Summary

Technical Problem

In the prior art, there are obvious differences between quantum communication networks and classical communication networks in terms of addressing, routing, etc., and the lack of an effective heterogeneous network interconnection mechanism, which makes it difficult to transmit data between quantum nodes and IPv6 nodes.

Method used

By setting up a quantum gateway, receiving data packets sent by IPv6 routing devices, and sending data packets to quantum nodes based on the carried quantum address, realizing communication between IPv6 nodes and quantum nodes.

Benefits of technology

The point-to-point data transmission between IPv6 nodes and quantum nodes is realized, filling the gap in data transmission between quantum nodes and IPv6 nodes in the prior art, and promoting the interconnection of quantum communication networks and classical communication networks.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119696701A_ABST
    Figure CN119696701A_ABST
Patent Text Reader

Abstract

Disclosed are a data transmission method, device, medium and product, the method being applied to a quantum gateway, the method comprising: receiving a first data packet sent by an IPv6 routing device, the first data packet comprising a first IPv6 message, the first data packet being a data packet sent by an IPv6 node to the IPv6 routing device, the first IPv6 message carrying a quantum address of a quantum node; and based on the quantum address, the first data packet is sent to the quantum node indicated by the quantum address, and communication between the IPv6 node and the quantum node can be realized by carrying the quantum address of the quantum node in the first IPv6 message.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application belongs to the field of communication technology, and in particular, relates to a data transmission method, device, medium and product. Background Art

[0002] In the existing technology, the integration and intercommunication of quantum communication networks and classical communication networks has become a hot topic in cutting-edge research. Quantum communication uses quantum states to transmit information, and has the advantages of being non-clonable and absolutely safe. However, due to the obvious differences between quantum communication networks and the Internet used by communication networks in terms of addressing and routing, it is urgent to develop new heterogeneous network interconnection mechanisms. Summary of the invention

[0003] The embodiments of the present application provide a data transmission method, apparatus, device, medium and product, which can realize communication between IPv6 nodes and quantum nodes.

[0004] In a first aspect, an embodiment of the present application provides a data transmission method, which is applied to a quantum gateway, and the method includes:

[0005] Receiving a first data packet sent by an IPv6 routing device, where the first data packet includes a first IPv6 message, wherein the first data packet is a data packet sent by an IPv6 node to the IPv6 routing device, and the first IPv6 message carries a quantum address of a quantum node;

[0006] Based on the quantum address, a first data packet is sent to the quantum node indicated by the quantum address.

[0007] In a second aspect, an embodiment of the present application provides a data transmission method, which is applied to a control device, and the method includes:

[0008] A control instruction is sent to an IPv6 routing device, where the control instruction is used to instruct the IPv6 routing device to send the first data packet to the quantum gateway when receiving a first data packet including a first IPv6 message sent by an IPv6 node, so that the quantum gateway sends the first data packet to the quantum node indicated by the quantum address, wherein the first IPv6 message carries the quantum address.

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

[0010] A first data packet including a first IPv6 message is sent to an IPv6 routing device, wherein the first IPv6 message carries a quantum address of a quantum node, so that the IPv6 routing device sends the first data packet including the first IPv6 message to a quantum gateway, and the quantum gateway sends the first data packet to the quantum node indicated by the quantum address.

[0011] In a fourth aspect, an embodiment of the present application provides a data transmission device, which is applied to a quantum gateway, and the device includes:

[0012] A receiving module, configured to receive a first data packet sent by an IPv6 routing device, wherein the first data packet includes a first IPv6 message, wherein the first data packet is a data packet sent by an IPv6 node to the IPv6 routing device, and the first IPv6 message carries a quantum address of a quantum node;

[0013] The sending module is used to send a first data packet to the quantum node indicated by the quantum address based on the quantum address.

[0014] In a fifth aspect, an embodiment of the present application provides a data transmission device, which is applied to a control device, and the device includes:

[0015] A sending module is used to send a control instruction to an IPv6 routing device, where the control instruction is used to instruct the IPv6 routing device to send the first data packet to the quantum gateway when receiving a first data packet including a first IPv6 message sent by an IPv6 node, so that the quantum gateway sends the first data packet to the quantum node indicated by the quantum address, wherein the first IPv6 message carries the quantum address.

[0016] In a sixth aspect, an embodiment of the present application provides a data transmission device, applied to an IPv6 node, the device comprising:

[0017] A sending module is used to send a first data packet including a first IPv6 message to an IPv6 routing device, wherein the first IPv6 message carries a quantum address of a quantum node, so that the IPv6 routing device sends the first data packet including the first IPv6 message to a quantum gateway, and the quantum gateway sends the first data packet to the quantum node indicated by the quantum address.

[0018] In a seventh aspect, an embodiment of the present application provides an electronic device, the device comprising:

[0019] a processor and a memory storing computer program instructions;

[0020] When the processor executes computer program instructions, it is used to perform the data transmission method of any one of the first aspect, the second aspect or the third aspect mentioned above.

[0021] In an eighth aspect, an embodiment of the present application provides a computer storage medium having computer program instructions stored thereon, and when the computer program instructions are executed by a processor, the data transmission method of any one of the first aspect, the second aspect or the third aspect is implemented.

[0022] In a ninth aspect, an embodiment of the present application provides a computer program product, including a computer program, which, when processed by a processor, implements the data transmission method of any one of the first aspect, the second aspect or the third aspect mentioned above.

[0023] The data transmission method, apparatus, device, medium and product of the embodiments of the present application, by setting a quantum gateway, when the quantum gateway receives a first data packet sent by an IPv6 routing device, the first data packet is a data packet sent by an IPv6 node to the IPv6 routing device, and the first data packet includes a first IPv6 message. By sending the first data packet to the quantum node indicated by the quantum address carried by the first IPv6 message, communication between IPv6 nodes and quantum nodes can be achieved, filling the gap in data transmission between quantum nodes and IPv6 nodes in the prior art. BRIEF DESCRIPTION OF THE DRAWINGS

[0024] In order to more clearly illustrate the technical solution of the embodiments of the present application, the following is a brief introduction to the drawings required for use in the embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.

[0025] Figure 1 A flowchart of a data transmission system provided for some embodiments of the present application.

[0026] Figure 2 A flowchart of a data transmission method provided in some embodiments of the present application.

[0027] Figure 3 A flowchart of another data transmission method provided for some embodiments of the present application.

[0028] Figure 4 A flowchart of another data transmission method provided for some embodiments of the present application.

[0029] Figure 5 A flowchart of another data transmission method provided for some embodiments of the present application.

[0030] Figure 6 A schematic diagram of a data transmission device provided in some embodiments of the present application.

[0031] Figure 7 A schematic diagram of another data transmission device provided in some embodiments of the present application.

[0032] Figure 8 A schematic diagram of yet another data transmission device provided in some embodiments of the present application.

[0033] Fig. 9A schematic diagram of the structure of a quantum gateway device provided for some embodiments of the present application.

[0034] Fig.10 A schematic diagram of the structure of a control device provided for some embodiments of the present application.

[0035] Fig.11 A schematic diagram of the hardware structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0036] The features and exemplary embodiments of various aspects of the present application will be described in detail below. In order to make the purpose, technical solutions and advantages of the present application clearer, the present application will be further described in detail below in conjunction with the accompanying drawings and specific embodiments. It should be understood that the specific embodiments described herein are only intended to explain the present application, rather than to limit the present application. For those skilled in the art, the present application can be implemented without the need for some of these specific details. The following description of the embodiments is only to provide a better understanding of the present application by illustrating the examples of the present application.

[0037] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the statement "include..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.

[0038] In some embodiments, the embodiments of the present application provide a data transmission system that can solve the data transmission problem between a quantum communication network and a communication network.

[0039] In some embodiments, Figure 1 As shown, an embodiment of the present application provides a data transmission system, including an IPv6 node 101, an IPv6 routing device 102, a quantum gateway 103, and a quantum node 104.

[0040] The IPv6 node 101 is configured to send a first data packet including a first IPv6 message to the IPv6 routing device 102, where the first IPv6 message may carry a quantum address of the quantum node 104;

[0041] The IPv6 routing device 102 is used to send the first data packet including the first IPv6 message to the sub-gateway 103;

[0042] The quantum gateway 103 is used to send the first data packet to the quantum node indicated by the quantum address.

[0043] The embodiment of the present application sets up the above-mentioned data transmission system, sends a first data packet including a first IPv6 message to an IPv6 routing device through an IPv6 node, and sends the above-mentioned first data packet including the first IPv6 message to a quantum gateway through an IPv6 node, so that the quantum gateway sends the above-mentioned first data packet to the quantum node indicated by the quantum address based on the quantum address carried by the first IPv6 message, thereby realizing point-to-point transmission of the first data packet from the IPv6 node to the quantum node, and realizing the interconnection between the quantum communication network and the communication network.

[0044] In some embodiments, Figure 2 As shown, the embodiment of the present application provides a data transmission method, which may include the following steps S210-S240:

[0045] S210: The IPv6 node sends a first data packet to an IPv6 routing device, where the first data packet includes a first IPv6 message, and the first IPv6 message may carry a quantum address of the quantum node.

[0046] like Figure 2 As shown, the above-mentioned IPv6 node can send a first data packet to the IPv6 routing device, and the above-mentioned first data packet can include a first IPv6 message. The above-mentioned first IPv6 message can carry a quantum address. Here, in order not to affect the transmission of the first IPv6 message between the IPv6 node and the IPv6 routing device, the above-mentioned quantum address can be set in the extension field of the first IPv6 message.

[0047] S220: The IPv6 routing device sends a first data packet including a first IPv6 message to the vector gateway.

[0048] When receiving the first data packet, the IPv6 routing device may send a first data packet including a first IPv6 message to the sub-gateway.

[0049] S230: The quantum gateway sends a first data packet to the quantum node indicated by the quantum address based on the quantum address.

[0050] The quantum gateway may send the first data packet to the quantum node indicated by the quantum address based on the quantum address. It can be imagined that one quantum address indicates one quantum node, and the quantum address is determined by the quantum gateway when receiving a registration request sent by the quantum node. In some examples, the quantum address may be a quantum state bit stream with a length of 64 bytes.

[0051] In the embodiment of the present application, an IPv6 node sends a first data packet to an IPv6 routing device, and the IPv6 routing device sends the first data packet to a quantum gateway. When the quantum gateway receives the first data packet sent by the IPv6 routing device, it sends the first data packet to the quantum node indicated by the quantum address carried by the first IPv6 message, thereby enabling communication between the IPv6 node and the quantum node, filling the gap in data transmission between the quantum node and the IPv6 node in the prior art.

[0052] In some embodiments, Figure 3 As shown, the above data transmission method may further include the following steps S310-S350:

[0053] S310: The quantum node sends a data packet to the quantum gateway, where the data packet includes a second IPv6 message, and the second IPv6 carries the IPv6 address of the IPv6 node.

[0054] The quantum node can send a data packet to the quantum gateway. The data packet may include a second IPv6 message. The second IPv6 message may carry the IPv6 address of the IPv6 node. Here, the IPv6 address is generated when the quantum node receives the IPv6 address prefix sent by the quantum gateway.

[0055] S320: The quantum gateway determines the quantum address corresponding to the IPv6 address based on the IPv6 address.

[0056] The quantum gateway can query the quantum address corresponding to the IPv6 address from the pre-established correspondence table between the IPv6 address and the quantum address.

[0057] S330: The quantum gateway adds the quantum address to the second IPv6 message based on a preset address adding rule to obtain a third IPv6 message and a second data packet including the third IPv6 message.

[0058] The quantum gateway can add a quantum address corresponding to the IPv6 address in the second IPv6 message based on a preset address adding rule to obtain a third IPv6 message. Here, the quantum address can be added in an extension field of the second IPv6 message.

[0059] S340: The quantum gateway sends a second data packet including a third IPv6 message to the IPv6 routing device.

[0060] S350: The IPv6 routing device sends a second data packet to the IPv6 node indicated by the IPv6 address.

[0061] In the embodiment of the present application, a data packet including a second IPv6 message is sent to a quantum gateway through a quantum node. After determining the quantum address corresponding to the IPv6 address, the quantum gateway can add the quantum address corresponding to the IPv6 address to the second IPv6 message to obtain a third IPv6 message. Then, the quantum gateway sends a second data packet including the third IPv6 message to an IPv6 routing device. Then, the IPv6 routing device sends the second data packet to the IPv6 node indicated by the IPv6 address, thereby realizing data transmission from the quantum node to the IPv6 node. Furthermore, the mapping relationship between the IPv6 address and the quantum node can improve the accuracy of data transmission.

[0062] In some embodiments, the preset address adding rule includes an address adding rule in an extension field of the second IPv6 message header. It is conceivable that the quantum address can be added in the extension field of the second IPv6 message header.

[0063] Here, an extension field may be inserted between the header of the second IPv6 message and the upper layer data, for example, an extension header may be inserted. In some examples, the rule for adding the quantum address may be as shown in the following Table 1:

[0064] Table 1

[0065]

[0066] The embodiment of the present application uses the above-mentioned address addition rules to naturally "embed" the quantum address into the IPv6 message. During the data packet forwarding process, the quantum address can be recognized and processed by the quantum gateway, so that the quantum gateway can extract the quantum address and determine the corresponding IPv6 address based on the quantum address to complete cross-network addressing. As for the IPv6 routing device, since the addition of the quantum address strictly follows the extended header syntax, the IPv6 routing device can regard it as a transparent data payload and does not affect the normal data forwarding logic. The embodiment of the present application cleverly uses the scalability of the message header field of the IPv6 message to achieve data transmission from the quantum node to the IPv6 node based on the above-mentioned changes to the IPv6 message.

[0067] The quantum node can send a request to the quantum gateway to obtain an IPv6 address prefix and generate an IPv6 address based on the IPv6 address prefix.

[0068] In some embodiments, Figure 4 As shown, before the quantum gateway receives the first data packet sent by the IPv6 routing device, the method may further include the following steps S410-S430:

[0069] S410: The quantum node sends a request to the quantum gateway, where the request includes a quantum address.

[0070] Here, the quantum node may send a request to the quantum gateway, the request may include a quantum address, and the request may be a registration request for the quantum node to register with the quantum gateway.

[0071] S420: The quantum gateway stores the quantum address and sends a preset IPv6 address prefix to the quantum node.

[0072] The quantum gateway can store the quantum address and determine the IPv6 address prefix corresponding to the quantum address based on a preset configuration strategy. The preset configuration strategy can be a priority-based configuration strategy, for example, the priority of the quantum node is determined based on factors such as the type and security level of the quantum node, and the IPv6 address prefix corresponding to each quantum node is determined by the priority.

[0073] In some examples, a mapping relationship table between quantum addresses and IPv6 address prefixes may be stored in the quantum gateway, and the mapping relationship table may include the lifetime, that is, the validity period, of the mapping relationship between the quantum address and the IPv6 address prefix, and the priority of the quantum node. Here, one IPv6 address prefix may correspond to multiple quantum addresses. When multiple quantum nodes indicated by multiple quantum addresses transmit data to the quantum gateway, the quantum gateway may determine the data to be processed first based on the priority of the quantum node. The mapping relationship table may be shown in Table 2 below:

[0074] Table 2

[0075]

[0076] S430: The quantum node generates an IPv6 address based on the IPv6 address prefix.

[0077] The quantum node can generate an IPv6 address based on the above IPv6 address prefix, so that subsequent quantum nodes can carry the above IPv6 address when generating IPv6 packets.

[0078] In some embodiments, when the quantum gateway receives an IPv6 message carrying an IPv6 address sent by a quantum node, the IPv6 address can be stored and a correspondence table between the IPv6 address and the quantum address can be established.

[0079] It can be imagined that in order to improve data security, the data packet sent by the above-mentioned quantum node to the quantum gateway can be a data packet encrypted by the quantum node using a preset encryption algorithm.

[0080] In some embodiments, Figure 5 As shown, the request sent by the quantum node to the quantum gateway may also include a request for obtaining an encryption key. Before the quantum gateway sends a preset IPv6 address prefix to the quantum node, the method may also include the following steps S510:

[0081] S510: The quantum gateway generates an encryption key and a decryption key based on the acquisition request, and stores the encryption key and the decryption key.

[0082] It can be imagined that the request sent by the above-mentioned quantum node to the quantum gateway may carry an acquisition request for obtaining an encryption key, and the quantum gateway may generate an encryption key and a decryption key based on the acquisition request, and store the above-mentioned encryption key and decryption key.

[0083] The method of sending a preset IPv6 address prefix to a vector node includes the following steps S520:

[0084] S520: The quantum gateway sends a preset IPv6 address prefix and encryption key to the quantum node.

[0085] The quantum gateway can send the above IPv6 address prefix and encryption key to the quantum node.

[0086] In the embodiment of the present application, a quantum node sends a request to a quantum gateway to obtain an IPv6 address prefix and simultaneously sends an acquisition request to obtain an encryption key, so that the quantum gateway generates an encryption key and a decryption key based on the acquisition request, and sends the IPv6 address prefix and the encryption key to the quantum node, thereby integrating the processes of key negotiation and obtaining the IPv6 address prefix and simplifying communication delays.

[0087] Based on the same inventive concept, an embodiment of the present application provides a data transmission device.

[0088] like Figure 6 As shown, an embodiment of the present application provides a data transmission device, which is applied to a quantum gateway, and the device includes:

[0089] A receiving module 601 is configured to receive a first data packet sent by an IPv6 routing device, where the first data packet includes a first IPv6 message, wherein the first data packet is a data packet sent by an IPv6 node to the IPv6 routing device, and the first IPv6 message carries a quantum address of a quantum node;

[0090] The sending module 602 is used to send a first data packet to the quantum node indicated by the quantum address based on the quantum address.

[0091] In some embodiments, the receiving module is further configured to:

[0092] Receive a data packet sent by a quantum node, where the data packet includes a second IPv6 message, where the second IPv6 carries an IPv6 address of the IPv6 node;

[0093] Based on the IPv6 address, determining a quantum address corresponding to the IPv6 address;

[0094] Based on a preset address adding rule, a quantum address is added to the second IPv6 message to obtain a third IPv6 message and a second data packet including the third IPv6 message, and the second data packet including the third IPv6 message is sent to the IPv6 routing device, so that the IPv6 routing device sends the second data packet to the IPv6 node indicated by the IPv6 address.

[0095] In some embodiments, the preset address adding rule includes an address adding rule in an extension field of the second IPv6 packet header.

[0096] In some embodiments, the receiving module is further configured to:

[0097] receiving a request sent by a quantum node, the request including a quantum address;

[0098] The quantum address is stored, and a preset IPv6 address prefix is ​​sent to the quantum node, so that the quantum node generates an IPv6 address based on the IPv6 address prefix.

[0099] In some embodiments, the data packet is a data packet encrypted by the quantum node using a preset encryption algorithm, and the request further includes an acquisition request for acquiring an encryption key;

[0100] The sending module is also used to:

[0101] Based on the acquisition request, generate an encryption key and a decryption key, and store the encryption key and the decryption key;

[0102] The vector sends the preset IPv6 address prefix and encryption key to the child node.

[0103] In some embodiments, Figure 7 As shown, an embodiment of the present application provides a data transmission device, which is applied to a control device, and the device includes:

[0104] The sending module 701 is used to send a control instruction to the IPv6 routing device, where the control instruction is used to instruct the IPv6 routing device to send the first data packet to the quantum gateway when receiving a first data packet including a first IPv6 message sent by an IPv6 node, so that the quantum gateway sends the first data packet to the quantum node indicated by the quantum address, wherein the first IPv6 message carries the quantum address.

[0105] In some embodiments, the sending module 701 may also be used to:

[0106] An address adding rule is sent to the quantum gateway, so that when the quantum gateway receives a second data packet including a second IPv6 message sent by the quantum node, the quantum gateway adds a quantum address corresponding to the IPv6 address in the second IPv6 message based on the preset address adding rule to obtain a third IPv6 message, and sends the data packet including the third IPv6 message to the IPv6 routing device, so that the IPv6 routing device sends the data packet including the third IPv6 message to the IPv6 node indicated by the IPv6 address.

[0107] In some embodiments, Figure 8 As shown, an embodiment of the present application provides a data transmission device, which is applied to an IPv6 node, and the device includes:

[0108] The sending module 801 is used to send a first data packet including a first IPv6 message to an IPv6 routing device, wherein the first IPv6 message carries a quantum address of a quantum node, so that the IPv6 routing device sends the first data packet including the first IPv6 message to a quantum gateway, and the quantum gateway sends the first data packet to the quantum node indicated by the quantum address.

[0109] In some embodiments, the data transmission device may further include:

[0110] The receiving module is used to receive a second data packet including a third IPv6 message sent by an IPv6 routing device, wherein the second data packet is a data packet sent by a quantum gateway to the IPv6 routing device, and the third IPv6 message is obtained by adding a quantum address to the second IPv6 message based on a preset address adding rule when the quantum gateway receives a data packet including a second IPv6 message sent by a quantum node.

[0111] In some embodiments, Fig. 9 As shown, the embodiment of the present application provides a quantum gateway device, Fig. 9 is a schematic diagram of the structure of an exemplary quantum gateway device, such as Fig. 9 ,Quantum gateway devices include;

[0112] The key distribution (Quantum Key Distribution, QKD) module 901 performs quantum key negotiation with the quantum node through optical fiber or free space quantum channel, generates encryption key and decryption key when receiving the acquisition request for encryption key sent by the quantum node, and fills the key into the key pool.

[0113] The quantum address registration module 902 is used to receive a request sent by a quantum node and send an IPv6 address prefix to a quantum node based on the request.

[0114] The IPv6 encapsulation / decapsulation module 903 receives a first data packet sent by an IPv6 routing device, the first data packet includes a first IPv6 message, parses an extension header of the first IPv6 message to extract a quantum address, and forwards the first data packet to a quantum node corresponding to the quantum address, or

[0115] Receive a data packet sent by a quantum node, the data packet includes a second IPv6 message, the second IPv6 message includes an IPv6 address, determine the corresponding quantum address based on IPv6, add the quantum address to an extension header of the IPv6 message, and send the second data packet to an IPv6 routing device, so that the IPv6 routing device sends the second data packet to the IPv6 node.

[0116] The IPv6 routing module 904 is used to store the correspondence between the quantum address and the IPv6 address, and is responsible for the path selection and forwarding of the data packet.

[0117] In some embodiments, Fig.10 As shown, an embodiment of the present application provides a structural schematic diagram of a control device, and the control device includes:

[0118] The network topology management module 1001 can communicate with the forwarding plane device through the control interface (such as OpenFlow, Netconf, etc.) to discover and maintain the whole network topology view in real time. The controller can obtain the location, connection relationship, capacity attributes and other information of the quantum gateway and IPv6 routing device, and can provide a basis for routing calculation and resource scheduling based on the above information. At the same time, the control device can dynamically adjust the network topology, such as adding and deleting links, migrating virtual networks, etc. to adapt to the changing needs of quantum services.

[0119] The device management module 1002 is used to send address addition rules to the quantum gateway and control instructions to the IPv6 routing device. At the same time, it can collect the working status of the quantum gateway device and the IPv6 routing device in real time, such as collecting link utilization, data packet statistics and other data, and perform fault detection and performance analysis based on the above data. When a target device failure is detected, the target device can be quickly located and isolated, and network resources can be automatically adjusted to ensure business continuity.

[0120] The resource management module 1003 is used to globally schedule and optimize the allocation of network resources according to the service level agreement (SLA) requirements of quantum services. The network resources here include link bandwidth, cache, computing resources, etc. The resources can be finely scheduled according to the full network topology view and real-time traffic matrix to improve the utilization of network resources.

[0121] The measurement and monitoring module 1004 is used to regularly collect flow-level statistical information of the forwarding plane, and evaluate the network performance of the quantum node-quantum gateway-IPv6 routing device by means of network telemetry or active detection. For example, in the quantum key distribution scenario, the measurement and monitoring module can measure specific indicators such as the QKD success rate and key generation rate.

[0122] The network optimization module 1005 is used for path calculation based on traffic engineering to obtain the best path to avoid congestion. In addition, the QKD parameters (such as pulse frequency, attenuation coefficient, etc.) can be dynamically adjusted according to the consumption rate of the quantum key to improve the key generation efficiency while ensuring security.

[0123] The service quality detection module 1106 is used to detect the key security level, key exchange delay and other data to determine the service quality. If the service quality is determined to be degraded or the SLA agreement is violated, countermeasures can be quickly taken, such as triggering rerouting, adjusting QKD parameters, etc.

[0124] The device of the above embodiment is used to implement the corresponding data transmission method in any of the above embodiments, and has the beneficial effects of the corresponding method embodiment, which will not be described in detail here.

[0125] Fig.11 A schematic diagram of the hardware structure of an electronic device provided in an application embodiment.

[0126] The electronic device 1100 may include a processor 1101 and a memory 1102 storing computer program instructions.

[0127] Specifically, the processor 1101 may include a central processing unit (CPU), or an application specific integrated circuit (ASIC), or may be configured to implement one or more integrated circuits of the embodiments of the present application.

[0128] The memory 1102 may include a large capacity memory for data or instructions. By way of example and not limitation, the memory 1102 may include a hard disk drive (HDD), a floppy disk drive, a flash memory, an optical disk, a magneto-optical disk, a magnetic tape, or a universal serial bus (USB) drive or a combination of two or more of these. In appropriate cases, the memory 1102 may include a removable or non-removable (or fixed) medium. In appropriate cases, the memory 1102 may be inside or outside the integrated gateway disaster recovery device. In a specific embodiment, the memory 1102 is a non-volatile solid-state memory.

[0129] In certain embodiments, memory 1102 includes a read-only memory (ROM). The ROM may be a mask-programmed ROM, a programmable ROM (PROM), an erasable PROM (EPROM), an electrically erasable PROM (EEPROM), an electrically alterable ROM (EAROM), or flash memory, or a combination of two or more of the above, where appropriate.

[0130] The memory may include a read-only memory (ROM), a random access memory (RAM), a magnetic disk storage medium device, an optical storage medium device, a flash memory device, an electrical, optical or other physical / tangible memory storage device. Thus, typically, the memory includes one or more tangible (non-transitory) computer-readable storage media (e.g., a memory device) encoded with software including computer-executable instructions, and when the software is executed (e.g., by one or more processors), it is operable to perform the operations described with reference to the method according to the first aspect of the present application.

[0131] The processor 1101 implements any one of the data transmission methods in the above embodiments by reading and executing computer program instructions stored in the memory 1102 .

[0132] In one example, the electronic device may further include a communication interface 1103 and a bus 1104. Fig.11 The processor 1101, the memory 1102, and the communication interface 1103 are connected via a bus 1104 and communicate with each other.

[0133] The communication interface 1103 is mainly used to implement communication between various modules, devices, units and / or equipment in the embodiments of the present application.

[0134] Bus 1104 includes hardware, software or both, and the parts of online data flow billing equipment are coupled to each other. For example, but not limitation, bus may include accelerated graphics port (AGP) or other graphics bus, enhanced industrial standard architecture (EISA) bus, front-end bus (FSB), hypertransport (HT) interconnection, industrial standard architecture (ISA) bus, infinite bandwidth interconnection, low pin count (LPC) bus, memory bus, micro channel architecture (MCA) bus, peripheral component interconnection (PCI) bus, PCI-Express (PCI-X) bus, serial advanced technology attachment (SATA) bus, video electronics standard association local (VLB) bus or other suitable bus or two or more of these combinations. In appropriate cases, bus 1104 may include one or more buses. Although the present application embodiment describes and shows a specific bus, the present application considers any suitable bus or interconnection.

[0135] The electronic device of the above embodiment is used to implement the corresponding data transmission method in any of the above embodiments, and has the beneficial effects of the corresponding method embodiment, which will not be described in detail here.

[0136] In addition, in combination with the data transmission method in the above embodiment, the embodiment of the present application can provide a computer storage medium for implementation. The computer storage medium stores computer program instructions; when the computer program instructions are executed by a processor, any one of the data transmission methods in the above embodiment is implemented.

[0137] In addition, in combination with the data transmission method in the above embodiment, the embodiment of the present application can provide a computer program product to implement. When the computer program product instructions are executed by a processor of an electronic device, any one of the data transmission methods in the above embodiment is implemented.

[0138] Those skilled in the art should understand that the discussion of any of the above embodiments is merely illustrative and is not intended to imply that the scope of the present application (including the claims) is limited to these examples. In line with the concept of the present application, the technical features in the above embodiments or different embodiments may be combined, the steps may be implemented in any order, and there are many other variations of the different aspects of the embodiments of the present application as described above, which are not provided in detail for the sake of simplicity.

[0139] The functional blocks shown in the above-described block diagram can be implemented as hardware, software, firmware or a combination thereof. When implemented in hardware, it can be, for example, an electronic circuit, an application specific integrated circuit (ASIC), appropriate firmware, a plug-in, a function card, etc. When implemented in software, the elements of the present application are programs or code segments that are used to perform the required tasks. The program or code segment can be stored in a machine-readable medium, or transmitted on a transmission medium or a communication link by a data signal carried in a carrier wave. "Machine-readable medium" can include any medium capable of storing or transmitting information. Examples of machine-readable media include electronic circuits, semiconductor memory devices, ROM, flash memory, erasable ROM (EROM), floppy disks, CD-ROMs, optical disks, hard disks, optical fiber media, radio frequency (RF) links, etc. The code segment can be downloaded via a computer network such as the Internet, an intranet, etc.

[0140] It should also be noted that the exemplary embodiments mentioned in this application describe some methods or devices based on a series of steps or devices. However, this application is not limited to the order of the above steps, that is, the steps can be performed in the order mentioned in the embodiment, or in a different order from the embodiment, or several steps can be performed simultaneously.

[0141] The above reference is according to the method of the embodiment of the present application, the flow chart of the device (device) and the computer program product and / or the block diagram described various aspects of the present application.It should be understood that each square box in the flow chart and / or the block diagram and the combination of each square box in the flow chart and / or the block diagram can be realized by computer program instructions.These computer program instructions can be provided to the processor of a general-purpose computer, a special-purpose computer or other programmable data processing device to produce a machine so that these instructions executed by the processor of the computer or other programmable data processing device enable the realization of the function / action specified in one or more square boxes of the flow chart and / or the block diagram.Such a processor can be but is not limited to a general-purpose processor, a special-purpose processor, a special application processor or a field programmable logic circuit.It can also be understood that each square box in the block diagram and / or the flow chart and the combination of the square boxes in the block diagram and / or the flow chart can also be realized by the dedicated hardware that performs the specified function or action, or can be realized by the combination of dedicated hardware and computer instructions.

[0142] The above is only a specific implementation of the present application. Those skilled in the art can clearly understand that for the convenience and simplicity of description, the specific working processes of the above-described devices, modules and units can refer to the corresponding processes in the aforementioned method embodiments, and will not be repeated here. It should be understood that the protection scope of the present application is not limited to this. Any technician familiar with the technical field can easily think of various equivalent modifications or replacements within the technical scope disclosed in the present application, and these modifications or replacements should be included in the protection scope of the present application.

Claims

1. A data transmission method, characterized in that: Applied to a quantum gateway, the method comprises: Receive a first data packet sent by an IPv6 routing device, where the first data packet includes a first IPv6 message, wherein the first data packet is a data packet sent by an IPv6 node to the IPv6 routing device, and the first IPv6 message carries a quantum address of a quantum node; Based on the quantum address, the first data packet is sent to the quantum node indicated by the quantum address.

2. The data transmission method according to claim 1, characterized in that: The method further comprises: Receiving a data packet sent by the quantum node, the data packet comprising a second IPv6 message, the second IPv6 message carrying the IPv6 address of the IPv6 node; Based on the IPv6 address, determining the quantum address corresponding to the IPv6 address; Based on a preset address adding rule, the quantum address is added to the second IPv6 message to obtain a third IPv6 message and a second data packet including the third IPv6 message, and the second data packet is sent to the IPv6 routing device, so that the IPv6 routing device sends the second data packet to the IPv6 node indicated by the IPv6 address.

3. The data transmission method according to claim 2, characterized in that: The preset address adding rule includes the address adding rule in the extension field of the second IPv6 packet header.

4. The data transmission method according to claim 1, characterized in that: Before receiving the first data packet sent by the IPv6 routing device, the method further includes: receiving a request sent by the quantum node, wherein the request includes a quantum address; The quantum address is stored, and a preset IPv6 address prefix is ​​sent to the quantum node, so that the quantum node generates the IPv6 address based on the IPv6 address prefix.

5. The data transmission method according to claim 3, characterized in that: The data packet is a data packet encrypted by the quantum node using a preset encryption algorithm, and the request further includes an acquisition request for acquiring an encryption key; Before sending the preset IPv6 address prefix to the quantum node, the method further includes: Based on the acquisition request, generate an encryption key and a decryption key, and store the encryption key and the decryption key; The sending a preset IPv6 address prefix to the quantum node includes: Sending a preset IPv6 address prefix and the encryption key to the quantum node.

6. A data transmission method, characterized in that: Applied to a control device, the method comprises: A control instruction is sent to an IPv6 routing device, wherein the control instruction is used to instruct the IPv6 routing device to send the first data packet to the quantum gateway when receiving a first data packet including a first IPv6 message sent by an IPv6 node, so that the quantum gateway sends the first data packet to the quantum node indicated by the quantum address, wherein the first IPv6 message carries the quantum address.

7. A data transmission method, characterized in that: Applied to an IPv6 node, the method comprises: Sending a first data packet including a first IPv6 message to an IPv6 routing device, wherein the first IPv6 message carries a quantum address of a quantum node, so that the IPv6 routing device sends the first data packet including the first IPv6 message to a quantum gateway, so that the quantum gateway sends the first data packet to the quantum node indicated by the quantum address.

8. An electronic device, characterized in that: The device comprises: a processor, and a memory storing computer program instructions; The processor reads and executes the computer program instructions to implement the data transmission method according to any one of claims 1 to 7.

9. A readable storage medium, characterized in that: The readable storage medium stores computer program instructions, and when the computer program instructions are executed by a processor, the data transmission method according to any one of claims 1 to 7 is implemented.

10. A computer program product, comprising a computer program, characterized in that When the computer program is processed by a processor, the data transmission method according to any one of claims 1 to 7 is implemented.