Non-instant messaging QKD network request scheduling system and method, storage device and intelligent terminal
By setting up request buffers in the QKD network and sorting them according to request priority, the problem of scarcity of key resources and uneven user needs is solved, the request success rate and service capabilities of the QKD network are improved, and the immediate needs of different applications are met.
Patent Information
- Application Number
- CN202410845361.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-27
- Publication Date
- 2024-09-03
AI Technical Summary
In the case of scarcity of key resources and uneven user demands, the existing QKD network is difficult to effectively schedule and allocate key resources, resulting in failure of encrypted communication requests and the inability to meet the immediacy needs of different applications.
A non-instant communication QKD network request scheduling system is designed. By setting request buffers at network nodes, the request priority is calculated based on the requested key requirement, maximum delay and routing hop count, and request reordering and keying are performed. Resource allocation ensures that communication data waits in the buffer for encrypted transmission after key generation.
It improves the request success rate and service capabilities of the QKD network, meets the diverse needs of different users, reduces the average request delay, and enhances the real-time nature of the network and the efficiency of key resource utilization.
Smart Images

Figure CN118590232A
Abstract
Description
Technical Field
[0001] The present invention relates to the field of quantum communication network access scheduling and resource allocation, and in particular to a non-instant communication QKD network request scheduling system, method, storage device and intelligent terminal. Background Art
[0002] Quantum Key Distribution (QKD) is one of the important applications of quantum secure communication. It uses the transmission and measurement of quantum superposition states to enable both parties in communication to generate a pair of random and secure keys. Combined with the one-time symmetric encryption system, unconditionally secure confidential communication can be achieved. In recent years, quantum key distribution technology has developed rapidly and is about to enter the large-scale commercial stage.
[0003] How to allocate and schedule limited key resources is an important issue that needs to be solved for large-scale application of QKD networks. Current research on request scheduling and resource allocation for QKD networks focuses on instant confidential communication systems. After a communication request is generated, the QKD network controller detects whether the current key resources can meet the needs of confidential communication: if the key resources in the network can meet the communication request, key resources are allocated; otherwise, the communication request fails.
[0004] In fact, different types of applications in the network have different requirements for communication immediacy. For example, applications such as voice and video calls have higher requirements for communication immediacy; the transmission of data such as pictures and files can accept a certain delay. At the same time, due to the suddenness of requests in the QKD network and the scarcity of key resources, the key consumption in the network is often uneven, and the encrypted communication request may fail due to insufficient keys. Summary of the invention
[0005] In order to alleviate the contradiction between different real-time requirements of users in confidential communication and the scarcity of key resources in the network, and to improve the ability of QKD network to meet the needs of confidential communication, a QKD network request scheduling system and method for non-instant communication is proposed.
[0006] To achieve the above-mentioned purpose, the technical solution adopted by the present invention is as follows: a non-instant communication QKD network request scheduling system, including a QKD network system G (N, L, Q, B), wherein N represents a collection of QKD network nodes, L represents a collection of QKD network links, Q represents a collection of key pools QKP, and B represents a collection of request buffers of the QKD network;
[0007] The QKD network system includes a network controller and multiple QKD nodes. Adjacent QKD nodes are connected to each other through links. The QKD nodes at both ends of each link construct a quantum key QKP. There are bidirectional request buffers at both ends of each link.
[0008] Each QKD node is connected to several user terminals, and the user terminals are used to generate request information r(s r , d r , k r , t r ), where s r is the source node requesting information, d r is the destination node of the request information, k r is the key requirement for the requested information, t r is the maximum latency of the request;
[0009] The network controller is used to provide a r , d r , k r , t r ) calculates the routing path, and then adds each request information to the request source node s according to the order in which the requests are generated r in the buffer zone;
[0010] At each time step t, the network controller checks the key resources in each key pool with the communication request set R in the bidirectional request buffer of the corresponding link l. l , and selects communication requests and allocates key resources to them according to the request scheduling strategy, and requests data for encrypted forwarding and transmission.
[0011] Preferably, after a round of request scheduling and key resource allocation, the request information moves forward one hop in the routing path, enters the request buffer of the next node, and performs the next round of request scheduling, resource allocation, and information encryption forwarding until key resources cannot be allocated in the QKD network at this time step.
[0012] A non-instant communication QKD network request scheduling method, using the non-instant communication QKD network request scheduling system as described above, the method comprising the following steps:
[0013] Step S1: Initialize the relevant parameters of the QKD network system and the key pool QKP;
[0014] Step S2: The user terminal generates a confidential communication request set R at time step t;
[0015] Step S3: The network controller sends a request r(s) to each of the R r , d r , k r , t r ) calculates the routing path and adds each request r to the request source node s according to the order in which the requests are generated r in the buffer zone;
[0016] Step S4: If there are available key resources in the key pool Q, then check the request set R in the node buffers at both ends of link l l , and reorder the requests in the buffer according to the request scheduling algorithm and allocate key resources in sequence until failure;
[0017] Step S5: If the QKP key resources at both ends of link l can meet the key requirement k of request r r , a key resource is allocated to request r, and the key in the key pool is used to encrypt the request data. The node switch then forwards the request and sends the request r from the node request buffer R l The request r is removed and enters the node buffer of the next hop;
[0018] Step S6: If the request r reaches the destination node d r , then add request r to the request success set R s , and remove request r from the buffer;
[0019] Step S7: If the request r exceeds the maximum delay t r , add request r to the request failure set R f , remove request r from the buffer.
[0020] Step S8: QKD network key generation and supplement.
[0021] In step S4, when rearranging the requests in the buffer, it is necessary to calculate the weight W of the request priority, and then sort the requests from small to large according to the weight:
[0022] W=αk r +βt out +γhops d
[0023] Among them, k r is the amount of key required for the request, t out The remaining time for the request to time out, hops d The number of remaining routing hops from the request to the destination node. α, β and γ are weight adjustment factors, α+β+γ=1.
[0024] Preferably, the performance evaluation index of the QKD network is the request success rate SP, and the calculation formula of the request success rate SP is SP=R s / R, where R is the total number of requests generated during the QKD network operation time, R s The number of successful requests.
[0025] Preferably, the performance evaluation index of the QKD network also includes an average request delay AD, which is defined as the average delay of all successful requests in the network during the running time, and its calculation formula is: AD = Σ Rs T delay / R s .
[0026] Among them, R s is the number of successful requests, Σ Rs T delay is the sum of the transmission delays of successful requests.
[0027] A storage device stores a plurality of instructions, wherein the instructions are suitable for being loaded by a processor and performing the steps of the above-mentioned non-instant communication QKD network request scheduling method.
[0028] An intelligent terminal includes a processor for executing various instructions and a storage device for storing multiple instructions, wherein the instructions are suitable for being loaded by the processor and executing the step operations of a non-instant communication QKD network request scheduling method as described above.
[0029] Beneficial technical effects of the present invention: The present invention can meet the diverse needs of different users for confidential communications by setting the maximum delay for each request when the confidential communication request is initiated. A request buffer is set at the QKD network node. When the network key resources cannot meet the requested key requirements, the communication data can be encrypted and transmitted in the buffer after waiting for the key to be generated. This method enables the request to tolerate a certain degree of key resource fluctuations and service lags in the QKD network, effectively improving the request success rate of the QKD network and improving the service capabilities of the network. In the process of scheduling the requests in the buffer, the requested key requirements, the urgency of the transmission and the distance from the destination node are comprehensively considered, which can maximize the network request success rate and reduce the average request delay. BRIEF DESCRIPTION OF THE DRAWINGS
[0030] Figure 1 It is a structural diagram of the QKD network system of the present invention;
[0031] Figure 2 This is a flow chart of a QKD network request scheduling method for non-instant communication in the present invention. DETAILED DESCRIPTION
[0032] In order to make the purpose, technical solutions and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with embodiments, but the scope of protection claimed in the present invention is not limited to the following specific embodiments.
[0033] like Figure 1As shown, a non-instant communication QKD network request scheduling system, the method is applied in a QKD network system G (N, L, Q, B), where N represents a collection of QKD network nodes, L represents a collection of QKD network links, Q represents a collection of key pools QKP, and B represents a collection of request buffers of the QKD network;
[0034] The QKD network system includes a network controller and multiple QKD nodes. Adjacent QKD nodes are interconnected through links. The QKD nodes at both ends of each link build a quantum key QKP (key pool), and there are bidirectional request buffers at both ends of each link.
[0035] Each QKD node is connected to several user terminals, and the user terminals are used to generate request information r(s r , d r , k r , t r ), where s r is the source node requesting information, d r is the destination node of the request information, k r is the key requirement for the requested information, t r is the maximum latency of the request;
[0036] The network controller is used to provide a r , d r , k r , t r ) calculates the routing path (the routing path is calculated using an existing algorithm, which is not the inventive point of the present invention and is not described in detail), and adds each request information to the request source node s according to the order in which the requests are generated r in the buffer zone;
[0037] At each time step t, the network controller checks the key resources in each key pool QKP with the communication request set R in the bidirectional request buffer of the corresponding link l. l , and select communication requests and allocate key resources to them according to the request scheduling strategy, and use quantum keys to encrypt, forward and transmit the request data.
[0038] The request scheduling strategy here is as follows:
[0039] Calculate the weight W of the request priority, and then allocate key resources to the requests in order of weight from small to large:
[0040] W=αk r +βt out +γhops d (1);
[0041] Among them, k ris the amount of key required for the request, t out The remaining time for the request to time out, hops d is the number of remaining routing hops from the request to the destination node. α, β and γ are weight adjustment factors, α+β+γ=1 (2).
[0042] From the above formulas (1) and (2), we can see that the three parameters k r ,t out and hops d The smaller it is, the smaller the weight value W of the request is, and it will be scheduled first in the buffer to obtain key resources.
[0043] The reason for this setting is that the less the request requires for the key, the greater the probability that the key resources can meet the request; the less the remaining time, the higher the urgency of the request transmission; the fewer the remaining routing hops, the greater the possibility of reaching the destination node, and the lower the probability of encountering insufficient key resources.
[0044] This scheduling method comprehensively considers the requested key demand, the urgency of transmission and the distance to the destination node, which can maximize the network's request success rate SP and reduce the average request delay AD.
[0045] Among them, the request success rate SP and the request average delay AD are both performance evaluation indicators of the QKD network. The calculation formula of the request success rate SP is SP = R s / R, where R is the total number of requests generated during the QKD network operation time, R s is the number of successful requests. The higher the request success rate, the stronger the QKD network's ability to provide confidential communication services.
[0046] Preferably, the performance evaluation index of the QKD network also includes an average request delay AD, which is defined as the average delay of all successful requests in the network during the running time, and its calculation formula is: AD = Σ Rs T delay / R s Among them, R s is the number of successful requests, Σ Rs T delay is the sum of the transmission delays of successful requests. The smaller the average request delay, the higher the real-time performance of confidential communication in the QKD network.
[0047] Preferably, after a round of request scheduling and key resource allocation, the request information moves forward one hop in the routing path, enters the request buffer of the next node, and performs the next round of request scheduling, resource allocation, and information encryption forwarding until key resources cannot be allocated in the QKD network at this time step.
[0048] like Figure 2 As shown, a non-instant communication QKD network request scheduling method applies the non-instant communication QKD network request scheduling system as described above, and the method includes the following steps:
[0049] Step S1: Initialize the relevant parameters of the QKD network system and the key pool QKP;
[0050] Step S2: The user terminal generates a confidential communication request set R at time step t;
[0051] Step S3: The network controller sends a request r(s) to each of the R r , d r , k r , t r ) calculates the routing path and adds each request r to the request source node s according to the order in which the requests are generated r in the buffer zone;
[0052] Step S4: If there are available key resources in the key pool Q, then check the request set R in the node buffers at both ends of link l l In order to further improve the request success rate SP of confidential communication and reduce the request delay AD, it is necessary to schedule the request set R in the buffer according to the request scheduling algorithm. l Reorder and allocate key resources in sequence until failure occurs;
[0053] Specifically, in the process of rearranging the requests in the buffer, it is necessary to calculate the weight W of the request priority, and then sort the requests from small to large according to the weight (1):
[0054] W=αk r +βt out +γhops d (1);
[0055] Among them, k r is the amount of key required for the request, t out The remaining time for the request to time out, hops d is the number of remaining routing hops from the request to the destination node. α, β and γ are weight adjustment factors, α+β+γ=1 (2).
[0056] From the above formulas (1) and (2), we can see that the three parameters k r ,t out and hops dThe smaller it is, the smaller the weight value W of the request is, and it will be scheduled first in the buffer to obtain key resources. The reason for this setting is that the less the request requires for the key, the greater the probability that the key resources can meet the request; the less the remaining time, the higher the urgency of the request transmission; the fewer the remaining routing hops, the greater the possibility of reaching the destination node, and the lower the probability of encountering insufficient key resources. This scheduling method comprehensively considers the key requirement of the request, the urgency of the transmission, and the distance from the destination node, which can maximize the network's request success rate SP and reduce the average request delay AD.
[0057] Step S5: If the key resources in the key pools at both ends of link l can meet the key requirements k of request r r (That is, the number of keys in the key pool is greater than the number of keys required for request r k r ), a key resource is allocated to request r, and the key in the key pool is used to encrypt the request data. The node switch then forwards the request and sends request r from the node request buffer R l The request r is removed and enters the node buffer of the next hop;
[0058] Step S6: If the request r reaches the destination node d r , then add request r to the request success set R s , and remove request r from the buffer;
[0059] Step S7: If the request r exceeds the maximum delay t r , add request r to the request failure set R f , remove request r from the buffer.
[0060] Step S8: QKD network key generation and supplement.
[0061] A storage device stores a plurality of instructions, wherein the instructions are suitable for being loaded by a processor and executing the step operations of a non-instant communication QKD network request scheduling method as described above.
[0062] An intelligent terminal includes a processor for executing various instructions and a storage device for storing multiple instructions, wherein the instructions are suitable for being loaded by the processor and executing the step operations of a non-instant communication QKD network request scheduling method as described above.
[0063] The present invention can meet the diverse needs of different users for confidential communication by setting the maximum delay for each request when the confidential communication request is initiated. A request buffer is set at the QKD network node. When the network key resources cannot meet the requested key requirements, the communication data can be encrypted and transmitted in the buffer after waiting for the key to be generated. This method enables the request to tolerate a certain degree of key resource fluctuations and service lags in the QKD network, effectively improving the request success rate of the QKD network and improving the service capabilities of the network. In the process of scheduling the requests in the buffer, the requested key requirements, the urgency of the transmission and the distance from the destination node are comprehensively considered, which can maximize the network request success rate and reduce the average request delay.
[0064] According to the disclosure and teaching of the above description, those skilled in the art to which the present invention belongs may also make changes and modifications to the above embodiments. Therefore, the present invention is not limited to the specific embodiments disclosed and described above, and some modifications and changes to the invention should also fall within the scope of protection of the claims of the present invention. In addition, although some specific terms are used in this specification, these terms are only for the convenience of description and do not constitute any limitation to the invention.
Claims
1. A non-instant messaging QKD network request scheduling system, characterized in that: A QKD network system G(N, L, Q, B) is included, wherein N represents a collection of QKD network nodes, L represents a collection of QKD network links, Q represents a collection of key pools QKP, and B represents a collection of buffers of the QKD network; The QKD network system includes a network controller and multiple QKD nodes. Any two QKDs are connected to each other through a link. The QKD nodes at both ends of each link build a quantum key pool QKP, and there are bidirectional request buffers at both ends of each link. Each QKD node is connected to a number of user terminals, which are used to generate request information r (sr, dr, kr, tr), where sr is the source node of the request information, dr is the destination node of the request information, kr is the key requirement of the request information, and tr is the maximum delay of the request; The network controller is used to calculate a routing path for each request r (sr, dr, kr, tr), and then add each request information to the buffer of the request source node according to the order in which the requests are generated; In each time step t, the network controller checks the key resources in each key pool and the communication request set Rl in the bidirectional request buffer of the corresponding link l, and selects the communication request according to the request scheduling strategy to allocate key resources to it, and requests data for encrypted forwarding and transmission.
2. A non-instant messaging QKD network request scheduling system as claimed in claim 1, characterized in that: After a round of request scheduling and key resource allocation, the request information moves forward one hop in the routing path and enters the request buffer of the next node to perform the next round of request scheduling, resource allocation and information encryption forwarding until key resources cannot be allocated in the QKDt network at this time step.
3. A non-instant communication QKD network request scheduling method, using a non-instant communication QKD network request scheduling system as claimed in claim 1, characterized in that: The method comprises the following steps: Step S1: Initialize the network parameters of the QKD network system and the key pool QKP; Step S2: The user terminal randomly generates a confidential communication request R for this time step; Step S3: the network controller calculates a routing path for each request r (sr, dr, kr, tr) in R, and adds each request information r to the buffer of the request source node according to the order in which the requests are generated; Step S4: If there are available key resources in the key pool Q, the request set R1 in the node buffers at both ends of the link l is detected, and the requests in the buffers are reordered according to the request scheduling algorithm; Step S5: If the QKP key resources at both ends of link l can meet the key requirement kr of request r, key resources are allocated to request r, and request r is removed from R1, and the request r enters the node buffer of the next hop; Step S6: If the request r reaches the destination node dr, the request r is added to the request success set Rs and the request r is deleted from the buffer; Step S7: When the key resource cannot satisfy any communication request r, the communication stops; Step S8: If the request r exceeds the maximum delay tr, the request r is added to the request failure set Rf, the request r is deleted from the buffer, and the QKD network key is generated and supplemented.
4. A non-instant messaging QKD network request scheduling method as claimed in claim 3, characterized in that: The maximum capacity of each key pool of the QKD network is set to 100 key units, and the initial key amount is set to 50 key units.
5. A non-instant messaging QKD network request scheduling method as claimed in claim 4, characterized in that: Confidential communication requests are randomly generated between QKD node pairs, and the number follows a Poisson distribution. The request arrival rate is expressed in requests per time step (RPS). For each request r, the key resource requirement follows a uniform distribution with a preset mean.
6. A non-instant messaging QKD network request scheduling method as claimed in claim 5, characterized in that: When rearranging the requests in the buffer, the weight W of the request priority needs to be calculated: W = 1αkr + βtout + yhopsd; Among them, kr is the demand for the key of the request, tout is the remaining time before the request fails to time out, hopsd is the remaining number of routing hops from the request to the destination node, α, β and γ are weight adjustment factors, α+β+γ=1.
7. A non-instant messaging QKD network request scheduling method as claimed in claim 3, characterized in that: The QKD network has a request blocking rate BP, and the calculation formula of the request blocking rate BP is as follows: BP = Rf / R; Among them, R is the total number of requests generated in the QKD network within time T, and Rf is the number of failed requests.
8. A non-instant messaging QKD network request scheduling method as claimed in claim 3, characterized in that: The QKD network has a request average delay AD, and the calculation formula of the request average delay AD is as follows: The average delay of successful requests, that is, AD = ∑Rs Tdelay / Rs, Where Rs is the number of successful requests, and ∑Rs Tdelay is the sum of the transmission delays of successful requests.
9. A storage device, wherein a plurality of instructions are stored in the storage device, characterized in that: The instruction is suitable for being loaded by a processor and executing the step operations of a non-instant communication QKD network request scheduling method as described in any one of claims 3-8.
10. An intelligent terminal, comprising a processor for executing instructions and a storage device for storing a plurality of instructions, characterized in that: The instruction is suitable for the processor to load and execute the step operations of a non-instant communication QKD network request scheduling method as described in any one of claims 3-8.
