Key and virtual network survivability mapping method based on multipath configuration

By adopting multi-path configured keys and virtual network survivability mapping methods in elastic optical networks, the survivability and resource allocation problems of virtual networks under fault conditions are solved, data transmission security and resource utilization are improved, and Efficient mapping and secure allocation of virtual networks.

CN118764098APending Publication Date: 2024-10-11CHONGQING UNIV OF POSTS & TELECOMM
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410781556.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-18
Publication Date
2024-10-11

AI Technical Summary

Technical Problem

In elastic optical networks, the survivability mapping of virtual networks has problems with data transmission security and improper resource allocation. Especially under fault conditions, the generation and distribution of quantum keys are difficult to guarantee, resulting in survivability and resource utilization of virtual networks. rate is low.

Method used

Adopt a key and virtual network survivability mapping method based on multi-path configuration, evaluate the multi-dimensional resource attributes of virtual nodes and physical nodes, design an importance evaluation formula, optimize the mapping of virtual links and key resources, and utilize multi-path shared protection and path segmentation protection mechanism to realize segmentation mapping and spectrum allocation of bandwidth and key resources to ensure the survivability and security of the virtual network.

Benefits of technology

It improves the survivability mapping success rate of the virtual network, ensures the security of data transmission and reasonable allocation of resources, and enhances the network's fault resistance and resource utilization.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118764098A_ABST
    Figure CN118764098A_ABST
Patent Text Reader

Abstract

The invention relates to a multi-path configuration-based secret key and virtual network survivability mapping method, and belongs to the technical field of optical fiber communication. According to the method, the quantum key distribution network is deployed to the elastic optical network through virtual network mapping. In order to improve the virtual node mapping success rate of the virtual network, multi-dimensional resource attribute importance evaluation methods of virtual nodes and physical nodes are respectively designed; in virtual link mapping, aiming at transmission path mapping of ciphertext data, a ciphertext data transmission path mapping method based on multi-path sharing protection is adopted, bandwidth requirements of virtual links are mapped to a plurality of ciphertext data transmission paths in an underlying physical network, and the bandwidth requirements of the virtual links are mapped to a plurality of quantum key distribution paths according to mapping of the quantum key distribution paths. A quantum key distribution path mapping method based on path segmentation protection is adopted, the key demand of a virtual link is mapped to a plurality of ciphertext data transmission paths in an underlying physical network, and the method can improve the mapping success rate and the spectrum utilization rate of the survivability virtual network.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention belongs to the technical field of optical fiber communication and reliable transmission of optical signals, and relates to a key and virtual network survivability mapping method based on multi-path configuration. Background Art

[0002] In the digital age, with the popularization of various intelligent applications, people's demand for network bandwidth has increased exponentially, making limited network resources even more scarce. How to improve the utilization of network resources has become urgent. Elastic Optical Networks (EONs) can dynamically allocate spectrum resources according to the bandwidth requirements of different services, thereby improving the flexibility and utilization of resource allocation, and are considered to be an effective solution to improve network resource utilization. In addition, since the resources in the communication network use different devices and protocols, it is difficult to achieve unified scheduling and management, which makes the communication network fall into a rigid state. Network virtualization technology can solve the problem of network rigidity by abstracting and isolating the underlying physical network resources. Virtual network mapping is one of the key issues of network virtualization technology. Its core lies in how to efficiently allocate underlying physical network resources to the virtual network under the condition of satisfying the virtual network resource constraints.

[0003] With the rapid development of network virtualization technology, the security of data transmission in virtual networks deployed on optical networks cannot be ignored. One of the traditional and effective methods to ensure the security of data transmission is data encryption. Currently, the famous encryption methods rely on the computational complexity of mathematical functions, such as factoring large integers or discrete logarithms, but this encryption method that relies on mathematical functions will be cracked by quantum computers in a very short time, and the security of data transmission cannot be guaranteed. Quantum Key Distribution (QKD) can theoretically guarantee the security of data transmission by providing secure quantum keys to both communicating parties. Therefore, the QKD network is deployed on EONs as the underlying physical network of the virtual network, thereby ensuring the security of data transmission in the virtual network.

[0004] With the aging of fiber links, the occurrence of natural disasters and other failure events, nodes and links in the underlying physical network are prone to failure, resulting in the loss of data being transmitted. Therefore, the survivability of virtual networks also needs further research. Unlike traditional survivability virtual network mapping, the survivability of virtual networks with encryption requests not only needs to consider the serious economic losses caused by the interruption or loss of data transmission, but also needs to consider the effective generation of quantum keys in the event of failure to ensure the sustainability of quantum key supply capabilities. Therefore, it is of great significance to ensure the survivability of virtual networks with encryption requests and reasonably allocate resources. Summary of the invention

[0005] In view of this, an object of the present invention is to provide a key and virtual network survivability mapping method based on multi-path configuration, so as to improve the success rate of virtual network survivability mapping with encryption request.

[0006] In order to achieve the above object, the present invention provides the following technical solutions:

[0007] A method for mapping keys and virtual network survivability based on multi-path configuration, in which the virtual nodes and physical nodes requested by the virtual network are evaluated by multi-dimensional resource attributes, the importance evaluation formula of the virtual nodes and physical nodes is designed, and the virtual nodes are mapped one by one to the physical nodes; when all virtual nodes of the virtual network are mapped, the importance evaluation formula of the virtual link is designed to sort the mapping order of the virtual links; a ciphertext data transmission path mapping method based on multi-path shared protection is adopted to divide the bandwidth demand of the virtual link and map it to two ciphertext data transmission paths, and when the bandwidth resources on the two ciphertext data transmission paths are When the bandwidth resources requested by the virtual link are not met, the bandwidth resource requirements of the virtual link are split and mapped to three ciphertext data transmission paths, and the spectrum partitioning mechanism is used to complete the spectrum allocation of each ciphertext data transmission path; then, a quantum key distribution path mapping method based on path splitting protection is adopted to split and map the key requirements of the virtual link to two ciphertext data transmission paths. When the key resources on the two ciphertext data transmission paths do not meet the key requirements requested by the virtual link, the key resource requirements of the virtual link are split and mapped to the three ciphertext data transmission paths to realize the transmission of the quantum key; the method specifically includes the following steps:

[0008] S1: Input virtual network request, underlying physical network topology and resource status, input computing resource requirements of virtual nodes in virtual network, bandwidth resource requirements of virtual links and key resource requirements, remaining computing resource capacity of physical nodes in underlying physical network, remaining computing resource capacity of physical nodes, remaining bandwidth capacity of physical links and frequency slot index value of spectrum resources, set protection strength as ρ, initial key capacity QKP in key pool s , key threshold key thre , the protection frequency gap is GB, B f =12.5GHz, let the number of candidate optical paths be K, K is generally the upper limit of the average degree of the underlying physical EONs topology nodes, let α = 0.4, β = γ = 0.3, set N v =0, set N s =0, set VL = 0, set CL = 0, set QL = 0;

[0009] S2: Calculate the importance of each unmapped virtual node based on the computing resource requirements of each virtual node requested by the virtual network, the degree of the virtual node, the bandwidth resource requirements of the adjacent virtual link, and the key resource requirements. Arrange the unmapped virtual nodes in ascending order according to the importance of the virtual nodes and save them in the set N. v and mark the virtual node with the largest importance value as

[0010] The importance value of a virtual node is calculated as follows:

[0011]

[0012] in, Represents a virtual node The computing resources required, Represents the total computing resource requirements of all virtual nodes in the virtual network. Representation and Virtual Nodes Adjacent Virtual Links The bandwidth resource requirements Representation and Virtual Nodes Adjacent Virtual Links Key resource requirements, Represents the total bandwidth requirements of all virtual links in the virtual network. represents the sum of all virtual link key resource requirements in the virtual network, Represents a virtual node The node degree of the virtual node is α, β, and γ, respectively, and α, β, and γ are weight coefficients; the virtual node importance value is The larger the value, the more virtual nodes there are. The higher the priority of the mapping;

[0013] S3: Calculate the importance values ​​of all physical nodes in EONs according to the resource capacity, physical node degree, bandwidth resource capacity, key resource capacity and available spectrum occupancy of the physical nodes in EONs, sort the physical nodes in ascending order according to their importance values, and save them in the set N s and mark the physical node with the largest importance value as

[0014] The physical node importance value is calculated as follows:

[0015]

[0016] in, Represents a physical node The remaining computing resource capacity, Represents the total computing resource capacity of all physical nodes in the physical network; Representation and physical nodes Adjacent physical links, and Respectively represent the physical nodes The sum of bandwidth resources and key resource capacities of adjacent physical links; and They represent the sum of bandwidth resources and key resource capacities on all physical links in the physical network respectively; Represents a physical node The node degree of ; α, β, γ are weight coefficients; Represents and physical links The density of available spectrum blocks on the physical link; F represents the total number of frequency slots on the physical link; A Boolean variable representing a physical node Adjacent physical link The occupancy of the fth frequency slot on the previous line. If the fth frequency slot is occupied, The value is 1, otherwise, the value is 0. Physical node The higher the importance value, the more physical nodes Prioritize the physical nodes that are mapped to virtual nodes;

[0017] S4: Set N v The virtual nodes in the set are mapped to N in turn. s On the physical node;

[0018] S5: When all virtual nodes are successfully mapped to physical nodes, the virtual links are sorted in non-ascending order according to the importance value of each virtual link and put into the set VL;

[0019] The importance value of a virtual link is calculated as follows:

[0020]

[0021] in, represents the virtual node with the maximum virtual node importance value; as well as Represents virtual nodes With virtual nodes distance Virtual link importance value The larger the value, the more virtual links there are. The higher the priority of the mapping;

[0022] S6: Select virtual links to be mapped from the set VL in order, and divide the total spectrum resources on each physical link in the underlying physical network into a working spectrum area and a shared protection spectrum area, wherein the spectrum resources occupied by the working spectrum area on each physical link is % of the total spectrum resources of the physical link. The spectrum resources occupied by the shared protection spectrum area on each physical link are % of the total spectrum resources of the physical link. A ciphertext data transmission path mapping method based on multi-path shared protection is used to map the bandwidth resource requirements of the virtual link to two or three ciphertext data transmission paths of the underlying physical network.

[0023] S7: If the ciphertext data transmission path mapping is successful, the quantum key distribution path mapping method based on path splitting protection is used to map the key resource requirements of the virtual link to two or three ciphertext data transmission paths of the underlying physical network; otherwise, the virtual network mapping fails;

[0024] S8: Delete the mapped virtual link from the set VL. If the set VL is empty, the virtual network mapping is completed; otherwise, go to S6;

[0025] Furthermore, S4 is specifically implemented in the following manner:

[0026] S401: If the physical node The computing resource capacity of the virtual node The computing resource requirements are The virtual node Mapping to physical nodes If yes, go to step S402; otherwise, the virtual network mapping fails;

[0027] S402: From set N v Delete the mapped virtual node and remove the mapped virtual node from the set N s Delete the physical node that has hosted the virtual node. If the set N v If it is empty, go to S5; otherwise, go to S403;

[0028] S403: Select the next unmapped virtual node in order and record it as Set N s The physical node with the largest weight value is recorded as Go to S401;

[0029] Furthermore, the ciphertext data transmission path mapping method based on multi-path shared protection in S6 specifically includes the following steps:

[0030] S601: Select virtual links to be mapped from the set VL in order According to the K shortest routing method, for virtual links Find K shortest ciphertext data transmission paths with disjoint links, calculate the cost weight value of each ciphertext data transmission path, sort the K shortest ciphertext data transmission paths in descending order, and put them into the set CL;

[0031] The ciphertext data transmission path cost weight value is calculated in the following way:

[0032]

[0033] Among them, hop i represents the number of hops of the ith ciphertext data transmission path, i = 1, 2, ..., K; b i represents the weight value of the sharable spectrum resource for the ith ciphertext data transmission path, which is calculated as: is a Boolean variable indicating whether the shared frequency slot in the shared protection spectrum area of ​​the jth link in the i-th ciphertext data transmission subpath is available. If available, b i The value is 1; otherwise, b i The value is 0, It represents the maximum available working bandwidth capacity on the i-th ciphertext data transmission path. When selecting a ciphertext data transmission path, the ciphertext data transmission path with a large cost weight value should be selected first;

[0034] S602: Select two ciphertext data transmission paths from the candidate set CL in order, denoted as Statistics of ciphertext data transmission paths and The maximum available working bandwidth resource spectrum block MW in the working spectrum area A and MW B Value, and count the ciphertext data transmission paths for transmitting ciphertext data and The maximum available protection bandwidth resource capacity MP in the shared protection spectrum area A 、MP B value;

[0035] S603: Calculate the encrypted data transmission path and The bandwidth resource capacity to be allocated and And the bandwidth resource capacity bp that needs to be allocated for protection A and bp B ;

[0036] The bandwidth resource capacity that needs to be allocated on the encrypted data transmission path is calculated as follows:

[0037]

[0038] in, Virtual Link The bandwidth resource requirement for the requested ciphertext data transmission, ρ is the protection strength, which means that the bandwidth resource required by the virtual link can be guaranteed under any single link failure in the network. Can be maintained or restored, the value of ρ is: ρ∈[0,1], |L(s)| represents the number of ciphertext data transmission paths selected from the set CL;

[0039] The capacity of the protection bandwidth resource to be allocated on the encrypted data transmission path is calculated as follows:

[0040]

[0041] S604: If the encrypted data transmission path and The maximum available protection bandwidth resource capacity on and The required protection bandwidth resource capacity, i.e., MP A ≥bp B , M.P. B ≥bp A , go to S605; otherwise, go to S606;

[0042] S605: If the encrypted data transmission path and The maximum available working bandwidth resource capacity on the network satisfies the bandwidth resources to be allocated, that is, if as well as Go to S611; otherwise, go to S606;

[0043] S606: Select the next ciphertext data transmission path from the set CL in order, denoted as Calculate the ciphertext data transmission path The maximum available working bandwidth resource capacity MW in the upper working spectrum area C , and the maximum available protection bandwidth resource capacity MP in the shared protection spectrum area C ;

[0044] S607: Update the encrypted data transmission path and The bandwidth resource capacity to be allocated and And protect the bandwidth resource capacity bp A , bp B and bp C ;

[0045] S608: If the maximum available working bandwidth resource capacity on the three ciphertext data transmission paths meets the bandwidth resources to be allocated, go to S609; otherwise, go to S610;

[0046] S609: If the encrypted data transmission path and The maximum available protection bandwidth resource capacity meets The required protection bandwidth resource capacity, i.e., MP A +MP B ≥bp C , select the encrypted data transmission path Shared spectrum protection area carries Required protection bandwidth resource capacity bp C , the remaining MP A -bp C The protection bandwidth resource capacity requirement is allocated to the ciphertext data transmission path If the shared protection spectrum area is in the same region as the shared protection spectrum area, go to S611; otherwise, go to S610;

[0047] S610: Delete the paths that do not meet the bandwidth resource capacity from the set CL. If the set CL is empty, the virtual network mapping fails; otherwise, go to S606;

[0048] S611: Calculate the number of frequency slots required for each ciphertext data transmission path, and allocate spectrum resources in the working spectrum area and the shared protection spectrum area according to the head-end matching method;

[0049] The number of frequency slots consumed by each ciphertext data transmission path is calculated as follows:

[0050]

[0051] Among them, B is the bandwidth resource capacity that needs to be allocated on the ciphertext data transmission path, B f is the minimum granularity of bandwidth resource segmentation in the elastic optical network, GB represents the protection frequency gap, and m k The modulation efficiency corresponding to the modulation format selected for the service. For each path, the available modulation format is selected according to the distance constraint of the encrypted data transmission path. Different modulation formats have different modulation efficiencies.

[0052] The relationship between the modulation format and modulation efficiency of the ciphertext data transmission distance limit is as follows:

[0053]

[0054] In the above table, BPSK (Binary Phase Shift Keying), QPSK (Quadrature Phase Shift Keying), 8QAM (8Quadrature Amplitude Modulation, 8th order quadrature amplitude modulation) and 16QAM (16Quadrature Amplitude Modulation, 16th order quadrature amplitude modulation).

[0055] Furthermore, the quantum key distribution path mapping method based on path splitting protection in S7 specifically includes the following steps:

[0056] S701: Record the key capacity stored in each quantum key pool in the network, delete the links in the key pool whose key capacity is lower than the key threshold, and form a new network topology

[0057] S702: Virtual link based on K shortest path method Find the shortest quantum key distribution paths with K disjoint links, sort the K quantum key distribution paths in non-ascending order according to the quantum key distribution path cost function value, and put them into the set QL;

[0058] The quantum key distribution path cost function value is calculated as follows:

[0059]

[0060] in, represents the amount of quantum key generated, represents the consumption of quantum key, Indicates the path The number of hops, is a Boolean variable. If the physical link The quantum key pool is the entire 2 paths The link with the least key resources available is 1; otherwise, the value is 0.

[0061] S703: Select two paths with the largest function values ​​from the set QL in order, and record them as and

[0062] S704: If the quantum key distribution path and The minimum key resource capacity that can be provided in the quantum key pool of each physical link on the network meets the key demand to be carried, that is, as well as In the path of quantum key distribution and Quantum key distribution is performed on is the required amount of keys to be carried by each path; otherwise, go to S705;

[0063] S705: Select the next quantum key distribution path from the set QL in order, denoted as Quantum key distribution path and The required amount of keys each needs to carry is If the minimum key resource capacity that can be provided in the quantum key pool of each physical link on each quantum key distribution path can meet the key demand to be carried, that is, as well as In the path of quantum key distribution and Otherwise, the virtual network mapping fails. BRIEF DESCRIPTION OF THE DRAWINGS

[0064] In order to make the purpose, technical solution and beneficial effects of the present invention clearer, the present invention provides the following drawings for illustration:

[0065] Figure 1 A schematic diagram of a method for sorting virtual link mapping sequence;

[0066] Figure 2 A schematic diagram of a spectrum allocation method for mapping encrypted data transmission paths;

[0067] Figure 3 A flow chart of a key and virtual network survivability mapping method based on multi-path configuration;

[0068] Figure 4 It is a flow chart of a method for mapping a ciphertext data transmission path based on multi-path shared protection;

[0069] Figure 5 The flowchart of the quantum key distribution path mapping method based on path splitting protection is as follows; DETAILED DESCRIPTION

[0070] The preferred embodiments of the present invention will be described in detail below with reference to the accompanying drawings.

[0071] The purpose of the key and virtual network survivability mapping method based on multi-path configuration provided by the present invention is to better improve the success rate of virtual network mapping. The present invention can also be implemented or applied through other different specific implementation methods, and the details in this specification can also be modified or changed in various ways based on different viewpoints and applications without departing from the spirit of the present invention. It should be noted that the illustrations provided in the following embodiments only illustrate the basic concept of the present invention in a schematic manner, and the following embodiments and the features in the embodiments can be combined with each other without conflict.

[0072] Among them, the figures are only used for illustrative explanations, and they only represent schematic diagrams rather than actual pictures, and should not be understood as limitations on the present invention. In order to better illustrate the embodiments of the present invention, some parts in the figures may be omitted, enlarged or reduced, and do not represent the size of the actual product. For those skilled in the art, it is understandable that some well-known structures in the figures and their descriptions may be omitted.

[0073] As attached Figure 1 The schematic diagram of the virtual link mapping order sorting method shown in FIG. Figure 1 There are 5 virtual nodes and 5 virtual links in the virtual network request. The numbers in the boxes next to the virtual nodes represent the computing resources required by the virtual nodes, that is, virtual nodes a, b, c, d, and e require 5, 6, 4, 5, and 4 units of computing resources respectively. The numbers in brackets on the virtual links represent the bandwidth resources and key resources required by the virtual links, that is, virtual links ab, ac, be, cd, and de require 50Gbps, 100Gbps, 50Gbps, 50Gbps, and 100Gbps of bandwidth resources and 6, 10, 4, 4, and 6 units of key resources respectively. According to formula (1), the importance value of each virtual node is calculated as:

[0074]

[0075]

[0076] According to formula (4), the importance value of each virtual link is calculated as:

[0077] The mapping order of virtual links is: ac -l ab -l cd -l be -l de .

[0078] As attached Figure 2 The schematic diagram of the spectrum allocation method for mapping the ciphertext data transmission path is shown. Figure 2 (a) is the mapping result of virtual network R1. Virtual network R1 includes virtual nodes a, b and virtual link ab. Assume that the bandwidth resource requirement of virtual link ab is 25Gbps. The underlying elastic optical network includes 6 physical optical nodes. The topology result is shown in Figure 2(a), if the virtual nodes a and b of the virtual network R1 are mapped to the physical nodes 2 and 3 of the underlying elastic optical network respectively, the encrypted data transmission paths mapped by the virtual link ab are P1 and P2, P1 is composed of the link 2-3, and P2 is composed of the link 2-6-3. According to formula (7), the protection bandwidth resource capacity to be allocated on the encrypted data transmission paths P1 and P2 is calculated as follows: Assume ρ = 0.8, then the working bandwidth resource capacity to be allocated on the ciphertext data transmission paths P1 and P2 is: WP P1 =WP P2 =0.8×25-7.5=12.5; Assuming that the protection frequency gap is set to GB=0 and the modulation format is BPSK, the number of frequency gaps to be allocated to the working spectrum area and the shared protection spectrum area on the ciphertext data transmission paths P1 and P2 is: Figure 2 (b) is the spectrum allocation result of each physical link 1-2, 1-6 and 2-6 on the ciphertext data transmission paths P1 and P2. For physical link 2-3, the frequency slot {1-3} in its working spectrum area is occupied. Therefore, the frequency slot {4} is allocated to the ciphertext data transmission path P1, and the frequency slot {11} in the shared protection spectrum area is allocated to the ciphertext data transmission path P1 as a protection frequency slot. For the ciphertext data transmission path P2, although the frequency slot {4} of the physical link 2-6 of this path is not occupied, the frequency slot {4} on the physical link 6-3 is occupied. Due to the spectrum consistency constraint, the frequency slot {4} of the physical link 2-6 cannot be used as the working frequency slot of the ciphertext data transmission path P2. Therefore, the idle frequency slot {7} shared by the physical links 2-6 and 6-3 is allocated to the ciphertext data transmission path P2, and the common sharable frequency slot {11} in the shared protection spectrum area of ​​the two links is allocated to the ciphertext data transmission path P2 as a protection frequency slot.

[0079] The following will be combined with the attached Figure 3 The key and virtual network survivability mapping method based on multi-path configuration of the present invention is introduced in more detail. The specific overall process can be divided into the following steps:

[0080] Input: virtual network request, computing resource requirements of virtual nodes in the virtual network, bandwidth resource requirements of virtual links, and key resource requirements, the underlying elastic optical network topology and the remaining computing resource capacity of each physical node, the remaining bandwidth capacity of the physical optical fiber link, and the frequency slot index value of the spectrum resource, protection strength ρ = 0.8, and the initial key capacity QKP in the key pool s =80, key threshold key thre =5, assuming that the protection frequency gap GB = 0, B f =12.5, let variable k = 3, α = 0.4, β = γ = 0.3, set N v =0, set Ns =0, set VL = 0, set CL = 0, set QL = 0;

[0081] Output: mapping results of each virtual node in the virtual network, mapping results of each virtual link, spectrum allocation results of the ciphertext data transmission path, and key consumption of the quantum key distribution path.

[0082] S1: According to formula (1), calculate the importance values ​​of all unmapped virtual nodes, sort the unmapped virtual nodes in non-ascending order according to their importance values, and put them into the set N v , and the virtual node with the largest importance value is recorded as Go to S2;

[0083] S2: Calculate the importance values ​​of all physical nodes according to formula (2), sort the physical nodes in non-ascending order according to their importance values, and put them into set N s , and the physical node with the largest importance value is recorded as Go to S3;

[0084] S3: If the physical node The computing resource capacity of the virtual node The computing resource requirements of the virtual node Mapping physical nodes On, go to S4; otherwise, virtual network mapping fails;

[0085] S4: Update set N v , delete the mapped virtual node and map the next unmapped virtual node in sequence Go to S5;

[0086] S5: In order from the set N s Select the physical node mapping that meets the computing resource constraints If the set N s The computing resources of all physical nodes in the If the computing resource requirements are met, the virtual network mapping fails; otherwise, go to S6;

[0087] S6: If all virtual nodes are mapped, the set N v If it is empty, go to S7; otherwise, go to S4.

[0088] S7: According to formula (4), the importance value of each virtual link is calculated to determine the mapping order of the virtual links, and the virtual links are placed in the set VL in descending order;

[0089] S8: Select virtual links to be mapped from the set VL in order To map, go to S9;

[0090] S9: Execute the attached Figure 4 The encrypted data transmission path mapping method based on multi-path shared protection shown in the figure obtains the virtual link Status information on whether the mapping is successful. If the virtual link If the mapping fails, the virtual network mapping is marked as failed, and the process goes to S12; otherwise, the virtual link is saved. The mapped ciphertext data transmission path and spectrum allocation result are transferred to S10;

[0091] S10: Execute the attached Figure 5 The flowchart of the quantum key distribution path mapping method based on path splitting protection is shown to obtain a virtual link The mapped quantum key distribution path and quantum key distribution path key consumption distribution results, if the virtual link If the mapped quantum key distribution path and key consumption are allocated successfully, go to S11; otherwise, mark the virtual network mapping as failed, go to S12;

[0092] S11: Update the set VL and delete the virtual links that have been mapped. If the set VL is empty, the virtual network mapping is successful, and go to S12; otherwise, go to S8;

[0093] S12: If the virtual network mapping is successful, the ciphertext data transmission path and quantum key distribution path of the virtual network mapping and their spectrum allocation results are output; otherwise, the virtual network mapping failure result is output and the algorithm ends.

[0094] As attached Figure 4 The flowchart of the ciphertext data transmission path mapping method based on multi-path shared protection is shown in the figure. The specific process can be divided into the following steps:

[0095] Input: Virtual links of the VL set requested by the virtual network Bandwidth demand, input the spectrum resource status of the link in the underlying elastic optical network topology, the remaining computing resource capacity of the physical node, the remaining bandwidth capacity of the physical link, the protection strength of the virtual link ρ = 0.8, set the variable K = 3, and set the set CL = 0;

[0096] Output: Virtual Link Information on whether the mapping is successful. If successful, output the virtual link The ciphertext data transmission path and spectrum allocation results.

[0097] S1: According to the K shortest path routing algorithm, it is a virtual link in the set VL Calculate K candidate ciphertext data transmission paths with disjoint links; calculate the path cost weights of the K candidate ciphertext data transmission paths according to formula (5), arrange them in descending order, put them into the set CL, and go to S2;

[0098] S2: Select two ciphertext data transmission paths from the candidate set CL in order, denoted as Count the ciphertext data transmission paths separately and The maximum available working bandwidth capacity MW in the working spectrum area A MW B value, and count the ciphertext data transmission path and The maximum available protection bandwidth capacity MP in the shared protection spectrum area A 、MP B , go to S3;

[0099] S3: Calculate the ciphertext data transmission path according to formula (6) and The bandwidth capacity that each needs to allocate is transferred to S4;

[0100] S4: Calculate the ciphertext data transmission path using formula (7) and The required protection bandwidth capacity is denoted by bp A , bp B , if the ciphertext data transmission path and The maximum available protection bandwidth capacity on and The required protection bandwidth, MP A ≥bp B , M.P. B ≥bp A , go to S5; otherwise, go to S6;

[0101] S5: If the encrypted data transmission path and The maximum available working bandwidth capacity on the network satisfies the bandwidth resources to be allocated, that is, Go to S11; otherwise, go to S6;

[0102] S6: Select the next ciphertext data transmission path from the set CL in order, denoted as Calculate the ciphertext data transmission path The maximum available working bandwidth resource capacity MW in the upper working spectrum area C , and the maximum available protection bandwidth resource capacity MP in the shared protection spectrum area C , go to S7;

[0103] S7: Update the ciphertext data transmission path and The bandwidth resource capacity to be allocated and And protect the bandwidth resource capacity bp A , bp B and bp C , go to S8;

[0104] S8: If the maximum available working bandwidth resource capacity on the three ciphertext data transmission paths meets the bandwidth resources to be allocated, go to S9; otherwise, go to S10;

[0105] S9: If the encrypted data transmission path and The maximum available protection bandwidth resource capacity meets The required protection bandwidth resource capacity, i.e., MP A +MP B ≥bp C , select the encrypted data transmission path Shared spectrum protection area carries Required protection bandwidth resource capacity bp C , the remaining MP A -bp C The protection bandwidth resource capacity requirement is allocated to the ciphertext data transmission path If the shared protection spectrum area is not in the same region, go to step S11; otherwise, go to step S10;

[0106] S10: Delete the ciphertext data transmission path that does not meet the bandwidth resource capacity from the set CL. If the set CL is empty, the virtual network mapping fails, and go to S12; otherwise, go to S6;

[0107] S11: Calculate the number of frequency slots that each ciphertext data transmission path needs to consume, and allocate spectrum resources to each ciphertext data transmission path in the working spectrum area and the shared protection spectrum area according to the head-end matching method, and then go to S13;

[0108] S12: Output virtual link Mapping failure information;

[0109] S13: Output virtual link Mapping success information and output virtual link The ciphertext data transmission path and spectrum allocation results.

[0110] As attached Figure 5 The flowchart of the quantum key distribution path mapping method based on path splitting protection is shown in the figure. The specific process can be divided into the following steps:

[0111] Input: Virtual links of the VL set requested by the virtual network The key distribution path needs to carry the key demand

[0112] Input the spectrum resource status of the link in the underlying elastic optical network topology and the initial key capacity QKP in each key pool of the physical node s =80, assuming the key threshold key in the underlying elastic optical network thre =5, let variable K = 3, let the set

[0113] QL = 0;

[0114] Output: Virtual Link The quantum key distribution path and key consumption distribution results.

[0115] S10: Count the key capacity stored in the quantum key pool of each physical node in the underlying elastic optical network, delete the links in the key pool where the key capacity is lower than the key threshold, and form a new network topology Go to S2;

[0116] S2: According to the K shortest path method, for the virtual links in the set VL Find the shortest quantum key distribution paths with K disjoint links, calculate the cost function value of each quantum key distribution path according to formula (9), and sort the K quantum key distribution paths in non-ascending order according to the path cost value, save them in the set QL, and go to S3;

[0117] S3: Select the two key distribution paths with the largest quantum key distribution path cost function values ​​from the set QL in order, and mark them as and Go to S4;

[0118] S4: If the quantum key distribution path and The minimum key resource capacity that can be provided in the quantum key pool of each physical link on the virtual link The required amount of keys to be carried, that is: as well as In the key distribution path and Quantum key distribution is performed on the and The key consumption is And update the remaining key resource capacity of each optical fiber link of the elastic optical network, and go to S6; otherwise, go to S5;

[0119] S5: Select the next quantum key distribution path from the set QL in order, denoted as The key distribution path and The required amount of keys each needs to carry is If the minimum key resource capacity that can be provided in the quantum key pool of each physical link on each key distribution path can meet the virtual link The required amount of keys to be carried, that is: as well as In the key distribution path and Quantum key distribution is performed on the and The key consumption is And update the remaining key resource capacity of each optical fiber link of the elastic optical network, and go to S6; otherwise, mark the virtual link If the mapping fails, go to S6;

[0120] S6: If the virtual link Mapping is successful, output virtual link The quantum key distribution path and the distributed key consumption, otherwise, the output virtual link Mapping failure information.

[0121] Finally, it should be noted that the above preferred embodiments are only used to illustrate the technical solutions of the present invention rather than to limit it. Although the present invention has been described in detail through the above preferred embodiments, those skilled in the art should understand that various changes can be made in form and details without departing from the scope defined by the claims of the present invention.

Claims

1. A method for mapping keys and virtual network survivability based on multi-path configuration, characterized in that: In this method, a quantum key distribution network is deployed on an elastic optical network as the underlying physical network for virtual network mapping. By evaluating the multi-dimensional resource attributes of virtual nodes and physical nodes, a virtual node and physical node importance evaluation formula is designed to map the virtual nodes one by one to the physical nodes of the underlying physical network. In the virtual link mapping, a virtual link importance evaluation formula is designed to sort the mapping order of the virtual links. A ciphertext data transmission path mapping method based on multi-path shared protection is adopted to map the bandwidth requirements of the virtual link to two ciphertext data transmission paths for ciphertext data transmission in the underlying physical network. When the bandwidth resources on the ciphertext data transmission paths for the two ciphertext data transmissions are not sufficient, the bandwidth requirements of the virtual link are mapped to the ciphertext data transmission paths for the two ciphertext data transmissions. When the bandwidth resources requested by the virtual link are not met, the bandwidth resource requirements of the virtual link are mapped to three ciphertext data transmission paths for ciphertext data transmission, and a spectrum partitioning mechanism in which a working spectrum area is separated from a shared protection spectrum area is used for spectrum allocation; a quantum key distribution path mapping method based on path splitting protection is used to split the key requirements of the virtual link into two ciphertext data transmission paths for quantum key distribution, and when the key resources on the two ciphertext data transmission paths for quantum key distribution do not meet the key requirements requested by the virtual link, the key resource requirements of the virtual link are split into three ciphertext data transmission paths for quantum key distribution to realize the transmission of quantum keys; the method specifically comprises the following steps: S1: Calculate the importance of the unmapped virtual nodes in the virtual network based on the computing resource requirements of the virtual nodes requested by the virtual network, the degree of the virtual nodes, the bandwidth resource requirements of the adjacent links, and the key resource requirements. Sort the unmapped virtual nodes in non-ascending order according to the importance values ​​and save them in the set N. v and mark the virtual node with the largest importance value as The calculation formula of the importance value of the virtual node is: In the above formula, Represents a virtual node The computing resources required, Represents the total computing resource requirements of all virtual nodes in the virtual network. Representation and Virtual Nodes Adjacent Virtual Links The bandwidth resource requirements Representation and Virtual Nodes Adjacent Virtual Links Key resource requirements, Represents the total bandwidth requirements of all virtual links in the virtual network. represents the sum of all virtual link key resource requirements in the virtual network, Represents a virtual node The node degree of , α, β, γ are weight coefficients, and α+β+γ=1; S2: In the elastic optical network, the importance values ​​of all physical nodes are calculated according to the computing resource capacity of the physical nodes, the degree of the physical nodes, the bandwidth resource capacity of the adjacent physical links, the key resource capacity, and the available spectrum occupancy. The physical nodes are sorted in non-ascending order according to the importance values ​​and stored in the set N. s and mark the physical node with the largest importance value as The calculation formula of the importance value of the physical node is: in, Represents a physical node The remaining computing resource capacity, Represents the total computing resource capacity of all physical nodes in the physical network; Representation and physical nodes Adjacent physical links; and Representation and physical nodes The sum of bandwidth resources and key resource capacities of adjacent physical links; and It represents the sum of bandwidth resources and key resource capacities on all physical links in the physical network; Represents a physical node The node degree of Represents and physical links The density of available spectrum blocks on the fiber optic link is 1 / 4, and F represents the total number of frequency slots per fiber link. A Boolean variable representing a physical node Adjacent physical link The occupancy of the fth frequency slot on the previous line. If the fth frequency slot is occupied, The value is 1; otherwise, The value is 0; S3: Set N v The virtual nodes in the set are mapped to N s On the physical node, The specific process is: S301: If the physical node The computing resource capacity of the virtual node The computing resource requirements are The virtual node Mapping to physical nodes If yes, go to step S302; otherwise, the virtual network mapping fails; S302: From the set N v Delete the mapped virtual node and remove the mapped virtual node from the set N s Delete the physical node that has hosted the virtual node. If the set N v If it is empty, go to S4; otherwise, go to S303; S303: Select the next unmapped virtual node in order and record it as Set N s The physical node with the largest weight value is recorded as Go to S301; S4: Calculate the importance value of each virtual link in the virtual network, sort the virtual links in non-ascending order according to the importance value of the virtual link, and save them in the set VL; The importance value of the virtual link is calculated in the following way: in, represents the virtual node with the largest virtual node importance value, as well as Represents virtual nodes With virtual nodes distance The number of hops; S5: Select virtual links to be mapped in order from the set VL, divide the total spectrum resources on each physical link in the underlying physical network into a working spectrum area and a shared protection spectrum area, and use the ciphertext data transmission path mapping method based on multi-path shared protection as described in claim 2 to map the bandwidth resource requirements of the virtual link to two or three ciphertext data transmission paths of the underlying physical network; S6: Use the quantum key distribution path mapping method based on path splitting protection as described in claim 3 to map the key resource requirements of the virtual link to two or three quantum key distribution ciphertext data transmission paths of the underlying physical network.

2. The method for mapping keys and virtual network survivability based on multi-path configuration according to claim 1, characterized in that: The ciphertext data transmission path mapping method based on multi-path shared protection in S5 specifically includes the following steps: S501: Select virtual links to be mapped from the set VL in order According to the K shortest routing method, for virtual links Find K shortest ciphertext data transmission paths with disjoint links, calculate the cost weight values ​​of the ciphertext data transmission paths, and sort the K shortest ciphertext data transmission paths in ascending order according to the path cost weight values, and put them into the set CL, where K is generally the average degree of the elastic optical network node rounded up; The calculation method of the cost weight value of the ciphertext data transmission path is: Among them, hop i represents the number of hops of the ith ciphertext data transmission path, i = 1, 2, ..., K; b i represents the weight value of the sharable spectrum resources for the ith ciphertext data transmission path, and its calculation formula is: is a Boolean variable indicating whether the shared frequency slot in the shared protection spectrum area of ​​the jth link in the i-th ciphertext data transmission path is available. If available, the value is 1; otherwise, the value is 0. represents the maximum available working bandwidth capacity on the i-th ciphertext data transmission path; S502: Select two ciphertext data transmission paths for transmitting ciphertext data from the candidate set CL in order, denoted as Separate statistics on the ciphertext data transmission paths for transmitting ciphertext data and The maximum available bandwidth resource spectrum block MW in the working spectrum area A and MW B The value of and statistics of the ciphertext data transmission path for transmitting ciphertext data and The maximum available protection bandwidth resource spectrum block MP in the shared protection spectrum area A and MP B The value of S503: Calculate the ciphertext data transmission path and The bandwidth resource capacity to be allocated and And the protection bandwidth resource capacity bp to be allocated A and bp B ; The calculation method for the bandwidth resource capacity that needs to be allocated to the ciphertext data transmission path for ciphertext data transmission is: in, Virtual Link The bandwidth resource demand requested; ρ is the protection strength, which means that the bandwidth resource required by the virtual link can be guaranteed under any single link failure in the network. can be maintained or restored, ρ∈[0,1]; |L(s)| represents the number of ciphertext data transmission paths selected from the set CL for transmitting ciphertext data; The capacity of the protection bandwidth resource that needs to be allocated to the ciphertext data transmission path for transmitting ciphertext data is calculated in the following way: S504: If the encrypted data is transmitted, the encrypted data transmission path and The maximum available protection bandwidth resource capacity meets and The required protection bandwidth resource capacity, i.e., MP A ≥bp B , M.P. B ≥bp A , go to S505; otherwise, go to S506; S505: If the encrypted data is transmitted, the encrypted data transmission path and The maximum available working bandwidth resource capacity meets the bandwidth resources to be allocated, that is, if as well as Go to S511; otherwise, go to S506; S506: Select the next ciphertext data transmission path for transmitting ciphertext data from the set CL in order, denoted as Statistics on the ciphertext data transmission path for transmitting ciphertext data The maximum available working bandwidth resource capacity MW in the working spectrum area C , and the maximum available protection bandwidth resource capacity MP in the shared protection spectrum area C ; S507: Update the ciphertext data transmission path for transmitting ciphertext data and Bandwidth resource capacity to be allocated and And protect the bandwidth resource capacity bp A , bp B and bp C ; S508: If the maximum available working bandwidth resource capacity of the three ciphertext data transmission paths for transmitting ciphertext data satisfies the bandwidth resources to be allocated, go to S509; otherwise, go to S510; S509: If the encrypted data transmission path is and The maximum available protection bandwidth resource capacity meets The required protection bandwidth resource capacity, i.e., MP A +MP B ≥bp C , select the ciphertext data transmission path for transmitting ciphertext data Shared spectrum protection area carries Required protection bandwidth resource capacity bp C , the remaining MP A -bp C The protection bandwidth resource capacity requirement is allocated to the ciphertext data transmission path for transmitting ciphertext data If the shared protection spectrum area is not in the same region, go to step S511; otherwise, go to step 510; S510: Delete the ciphertext data transmission path that does not meet the bandwidth resource capacity from the set CL. If the set CL is empty, the virtual network mapping fails; otherwise, go to S506; S511: Calculate the number of frequency slots that the service needs to occupy on each ciphertext data transmission path for transmitting ciphertext data, and allocate spectrum resources in the working spectrum area and the shared protection spectrum area according to the head-end matching method; On each ciphertext data transmission path for transmitting ciphertext data, the calculation formula for the number of frequency slots that the service needs to occupy is: In the above formula, m k is the modulation efficiency corresponding to the modulation format, B is the bandwidth resource capacity to be allocated on the ciphertext data transmission path, and B f It is the minimum granularity of bandwidth resource segmentation in the elastic optical network, and GB represents the guard frequency gap.

3. The key and virtual network survivability mapping method based on multi-path configuration according to claim 1 is characterized in that: The quantum key distribution path mapping method based on path splitting protection in S6 specifically comprises the following steps: S601: In the elastic optical network, count the key capacity stored in each quantum key pool, delete the links in the key pool where the key capacity is lower than the key threshold, and form a new network topology S602: According to the K shortest path method, a virtual link Find the shortest quantum key distribution paths with K disjoint links, calculate the cost function value of each quantum key distribution path, sort the K quantum key distribution paths in non-ascending order, and put them into the set QL; The calculation formula of the cost function value of the quantum key distribution path is: In the above formula, represents the amount of quantum key generated, represents the consumption of quantum key, Represents the quantum key distribution path The number of hops, is a Boolean variable. If the physical link The quantum key pool is the entire quantum key distribution path The link with the least key resources available is 1; otherwise, the value is 0. S603: Select two quantum key distribution paths with the largest path cost function values ​​from the set QL in order, and record them as and S604: If the quantum key distribution path and The minimum key resource capacity that can be provided in the quantum key pool of each physical link on the network meets the key demand to be carried, that is, as well as In the path of quantum key distribution and Quantum key distribution is performed on The amount of keys required to be carried by the ciphertext data transmission path; otherwise, go to S605; S605: Select the next quantum key distribution path from the set QL in order, denoted as Quantum key distribution path and The required amount of keys each needs to carry is If the minimum key resource capacity that can be provided in the quantum key pool of each physical link on each quantum key distribution path can meet the key demand to be carried, that is, as well as In the encrypted data transmission path and Otherwise, the virtual network mapping fails.