Passive quantum key distribution method and device for cloud edge-end architecture, and medium
Through the passive quantum key distribution method for cloud-edge architecture, using passive decoy state devices and two quantum channels, the problem of insufficient global phase reference in the existing technology is solved, safe and efficient quantum key distribution is achieved, and enhanced System security and stability.
Patent Information
- Application Number
- CN202410846660.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-27
- Publication Date
- 2024-09-10
AI Technical Summary
Existing quantum key distribution protocols lack a global phase reference, resulting in unstable optical interference and high technical complexity, making it difficult to achieve secure key distribution.
Adopting a passive quantum key distribution method for cloud-edge architecture, through a passive decoy state device and two quantum channels, the signal state or decoy state is randomly selected, and the response of the single photon detector is used for passive modulation to generate a secure quantum key. Side channel leakage caused by active modulation is avoided.
It improves the security of the quantum key distribution system, reduces the technical complexity, does not require global phase locking, and enhances the security and stability of the key distribution.
Smart Images

Figure CN118631445A
Abstract
Description
Technical Field
[0001] The present invention relates to the field of quantum key technology, and in particular to a passive quantum key distribution method, device and medium for a cloud-edge-end architecture. Background Art
[0002] The quantum key distribution protocol can establish secure keys between legitimate users based on the basic theories of quantum mechanics such as the quantum no-cloning theorem and the quantum uncertainty principle. Since the advent of the first quantum key distribution protocol, the BB84 protocol, many new quantum key distribution protocols have been proposed, such as the entrapped state quantum key distribution protocol that resists photon number splitting attacks, the measurement device-independent quantum key distribution protocol that resists measurement device-side attacks, and the dual-field quantum key distribution protocol that breaks through the PLOB boundary. On this basis, the existing technology has proposed an improved dual-field quantum key distribution protocol, including a phase-matching quantum key distribution protocol, a send or no send quantum key distribution protocol, and other variants, but these methods or distribution protocols lack a global phase reference, resulting in unstable optical interference. In order to avoid the above problems, complex phase tracking and phase-locking technology can be used, but this technology is relatively complex and difficult to implement. Summary of the invention
[0003] In order to overcome the shortcomings of the prior art, one of the objects of the present invention is to provide a passive quantum key distribution method for a cloud-edge architecture, which introduces a passive entrapped state device and uses two quantum channels to complete the preparation of secure quantum keys.
[0004] One of the purposes of the present invention is achieved by the following technical solution:
[0005] A passive quantum key distribution method for a cloud-edge-end architecture comprises the following steps:
[0006] The first transmitting end and the second transmitting end randomly select quantum light pulses through a passive decoy state device, and send the selected quantum light pulses to the measuring end, wherein the optical signal includes a signal state and a decoy state. When the signal state is selected, the optical signal is sent through the first quantum channel, and the second quantum channel is blocked by the first intensity modulator; when the decoy state is selected, the quantum channel is not controlled;
[0007] After the measuring end measures the received quantum light pulse, it announces the measurement result;
[0008] The two transmitting ends send signal state quantum light pulses to the measuring end. When only one of the two detectors responds, it is marked as a successful event. The rounds of the two successful events are paired as a group, and the corresponding phase encoding and intensity encoding form a data pair.
[0009] Filter out data pairs that meet the preset strength value from the pairings;
[0010] Perform key mapping based on the screened data pairs to prepare the initial quantum key;
[0011] The initial quantum key is error corrected and privacy amplified to obtain a secure quantum key.
[0012] Further, when the signal state is selected, the second quantum channel is blocked by the first intensity modulator; when the decoy state is selected, the quantum channel is not controlled, including:
[0013] When the signal state is selected, in the ai-th signal window, the coherent state prepared by the first or second transmitter is A signal state strength randomly selected from the strengths {0, μ} The phase is uniformly selected from [0,2π) And disconnect the second quantum channel; where i is the transmission round, μ is the intensity of the quantum light pulse;
[0014] When the decoy state is selected, the second quantum channel is connected. In the ai-th decoy window, the coherent state prepared by the first or second transmitter is The decoy intensity is selected from the intensities {0, v, μ} according to the local detector response of the passive decoy device The phase is uniformly selected from [0,2π)
[0015] If the signal state or decoy state intensity is 0, the vacuum state is sent; the quantum light pulse intensity satisfies: 0 <v<μ≤1。
[0016] Furthermore, the transmission probabilities pz and px of the decoy state and the signal state are preset values, wherein pz+px=100%.
[0017] Furthermore, after the measuring end measures the received quantum light pulse, it announces the measurement result, including:
[0018] The measuring end performs single-photon interference measurement and announces the detection measurement results of the left single-photon detector and the right single-photon detector. The detection measurement results include response or no response. When the quantum light pulse attenuates during transmission and no photons enter the left single-photon detector or the right single-photon detector, the measurement result is no response, otherwise the measurement result is a response.
[0019] Furthermore, data pairs meeting the preset strength value are selected from the pairings, including:
[0020] The two rounds of successful events are screened by vector basis. When the intensity of the quantum light pulse is (0, μ) or (μ, 0), the two sending ends mark the basis of the data pair as Z. If the intensity of the quantum light pulse is (μ, μ), it is marked as X. If the intensity of the quantum light pulse is (0, 0), it is marked as 0.
[0021] The first transmitting end and the second transmitting end announce the basis of each data pair. If both announce the basis as X or Z, the data pair is retained; otherwise, the data pair is discarded.
[0022] Further, key mapping is performed according to the screened data to prepare an initial quantum key, including:
[0023] For the Z basis, if the intensity of the quantum light pulse satisfies Where i and j are the sending rounds of a successful event, and the first sending end key k a =0, the second sending end key k b =1, when the quantum light pulse intensity satisfies (μ, 0), it is k a =1, k b =0;
[0024] For X basis, it satisfies: Wherein, θ is the alignment angle, φ is the phase, a represents the first transmitting end, and b represents the second transmitting end;
[0025] When the test end processes X-based data, it also includes: when the left single-photon detector and the right single-photon detector of the test end are clicked on the same side, the responses of the left single-photon detector and the right single-photon detector are marked as L and R respectively, and the second transmitting end maintains the bit; when the left single-photon detector and the right single-photon detector are clicked on different sides, the second transmitting end flips the bit; when the two transmitting ends are aligned at the same angle, the data pair is retained, otherwise the data pair is discarded.
[0026] Furthermore, when only one of the two detectors responds, in the case where the first or second transmitting end sends a Z basis, the response rate of the measuring end satisfies:
[0027] Where Pd is the dark count of the two single-photon detectors at the measurement end, η s is the transmittance of the quantum channel from the first or second transmitting end to the measuring end, μ is the intensity of the quantum light pulse, and Ci=1 indicates that one and only one of the two detectors at the measuring end in the i-th round responds;
[0028] When only one of the two detectors responds, and the number of photons sent by the first or second transmitting end is n, the photon detection probability at the measuring end satisfies:
[0029] Wherein a represents the first sending end, and b represents the second sending end.
[0030] Furthermore, error correction and privacy amplification are performed on the initial quantum key, including:
[0031] The quantum bit error rate of the original key data in the Z basis pair of the two senders is estimated to be The intensity of the quantum light pulse in the i-th and j-th rounds satisfies
[0032] The two transmitters use Z basis pairs of different intensities to estimate the single photon fraction q of the click using the decoy state method. 11 , and estimate the single-photon phase error rate through the X basis pair
[0033] Estimation of single photon counting rate Y using the tricked state method 11 The lower bound of satisfies:
[0034]
[0035] Estimation of the gain and error rate of the X-basis is performed to satisfy:
[0036]
[0037] Where Pd is the dark count of the two single-photon detectors at the measurement end, Q is the response rate at the measurement end, and P is the distribution of the number of trapped state photons;
[0038] The two transmitters use the Z basis pair and the single photon fraction q 11 , Phase Error Rate Bit Error Rate Estimation Generate secure quantum keys.
[0039] A second object of the present invention is to provide an electronic device for performing one of the objects of the invention, which includes a processor, a storage medium and a computer program, wherein the computer program is stored in the storage medium, and when the computer program is executed by the processor, the above-mentioned passive entrapped state quantum key distribution method is implemented.
[0040] The third object of the present invention is to provide a computer-readable storage medium storing one of the objects of the invention, on which a computer program is stored, and when the computer program is executed by a processor, the above-mentioned passive decoy state quantum key distribution method is implemented.
[0041] Compared with the prior art, the present invention has the following beneficial effects:
[0042] The passive quantum key distribution for cloud-edge architecture proposed in the present invention uses two quantum channels to prepare quantum light pulses in different states, and passively selects decoyed states of different intensities according to the response of the single-photon detector of the passive decoyed state device, thereby solving the problem of side channel leakage caused by active modulation of the decoyed state intensity due to unsafe equipment, and increasing the security of the quantum key distribution system. The method pairs the rounds of the two successful events as a group and generates a key, thereby solving the phase fluctuation problem and not requiring global phase locking, which greatly reduces the technical complexity of quantum key distribution. BRIEF DESCRIPTION OF THE DRAWINGS
[0043] Figure 1 is a schematic diagram of the structure of the quantum key distribution system of Example 1;
[0044] Figure 2 It is a flow chart of a passive quantum key distribution method for a cloud-edge-end architecture according to Embodiment 1;
[0045] Figure 3 It is a structural block diagram of an electronic device of the second embodiment. DETAILED DESCRIPTION
[0046] The present invention will be described in more detail below in conjunction with the accompanying drawings. It should be noted that the following description of the present invention with reference to the accompanying drawings is only illustrative and not restrictive. The various embodiments can be combined with each other to form other embodiments not shown in the following description.
[0047] Embodiment 1
[0048] Embodiment 1 provides a passive quantum key distribution method for a cloud-edge-end architecture, aiming to propose a pattern matching quantum key distribution scheme for a cloud-edge-end architecture. While the system breaks through the PLOB boundary and does not require global phase locking, it can also prevent side channel leakage, thereby increasing the security of the quantum key distribution system.
[0049] Quantum key distribution has been proved to be unconditionally secure in theory. However, in practical applications, there are still security loopholes due to the imperfection of equipment. An eavesdropper (Eve) can use security loopholes to steal part or all of the key bits. There are some countermeasures to deal with these security loopholes, such as the decoy state method to deal with the photon number splitting (PNS) attack to ensure the safety of the light source. Different intensities are actively modulated by an acousto-optic or electro-optic modulator on the light source. Although active modulation is sufficient to achieve decoy state pattern matching quantum key distribution, passive modulation of pulses is still required in some cases, for example, when the intensity modulator is not designed correctly, causing some physical parameters of the transmitted pulse to depend on specific circumstances. At this time, active modulation of the pulse intensity will cause serious security issues. So far, the passive decoy state method has been proposed and verified to reduce information leakage and increase the security of the quantum key distribution system. This embodiment aims to combine the pattern matching quantum key distribution scheme with the passive decoy state so that the key distribution system can break through the PLOB boundary and does not require global phase-locking technology, while improving the security of the system.
[0050] Cloud-Edge-End or Cloud-Edge-Device is a mainstream architecture design in the current computing field. This architecture is designed to make full use of the rapidly growing computing power of devices and network edges while maintaining the large-scale storage and computing power of the cloud center. Cloud computing (Cloud) is the core part of the cloud-edge-end architecture. The cloud provides powerful computing power and massive storage resources; it is usually used to handle some extremely complex tasks, such as deep learning model training, or big data analysis when the edge and devices cannot handle it. Edge computing (Edge) refers to the edge of the network close to the data source. These devices have closer to real-time response requirements, such as real-time video processing, real-time voice processing, etc. Edge devices have stronger computing power than device ends, but less than cloud ends. The main purpose of edge devices is to reduce the computing load of the cloud, reduce network transmission delays, and improve response speed. End (End or Device) refers to end devices, which usually refers to a series of IoT devices, such as mobile phones, cars, drones, sensors, etc. They collect and analyze data, such as temperature, humidity, location information, etc., and send these data to the edge or cloud for further processing. In the cloud-edge-end architecture, the end device is responsible for collecting and preprocessing data, the edge device is responsible for further data analysis and near-real-time feedback, and the cloud is responsible for processing large-scale data and performing in-depth analysis. This architecture makes full use of the computing and storage capabilities of the device, edge, and cloud, achieves near-real-time response, saves network bandwidth, and protects user privacy. The quantum key distribution system of this embodiment combines the cloud-edge-end architecture to further improve the security of the architecture and avoid information leakage and data loss caused by hacker attacks.
[0051] In addition, the prior art proposes a mode-matching quantum key distribution, or an asynchronous measurement device-independent quantum key distribution protocol, which can break the PLOB boundary without phase tracking and phase locking. The quantum key distribution scheme of this embodiment retains the characteristics of the mode-matching quantum key distribution protocol, that is, based on the dual-mode measurement device-independent quantum key distribution protocol, compared with the single-mode measurement device-independent quantum key distribution protocol, it improves the key transmission distance and can break the limitation of the PLOB boundary; in addition, compared with the dual-field quantum key distribution protocol that requires phase tracking and phase locking technology, the coding method of the scheme of this embodiment solves the phase fluctuation problem and does not require global phase locking, which greatly reduces the technical complexity of experiments and applications.
[0052] In summary, please refer to Figure 1 The schematic diagram of the quantum key distribution system structure shown in the figure shows that the mode matching quantum key distribution device of this embodiment includes: a transmitting end, a passive decoy state device and a receiving end. The passive decoy state device is used to passively generate quantum light pulses of different intensities and phases from the quantum light pulses sent by the transmitting end according to the local detector results of the passive decoy state device and send them to the measuring end; the passive decoy state device includes a first 50:50 beam splitter, a second 50:50 beam splitter, a first intensity modulator, a second intensity modulator, a first phase modulator, a second phase modulator and a local single photon detector.
[0053] This embodiment introduces passive decoy state devices into both users to implement a pattern matching quantum key distribution scheme under passive selection of the decoy state.
[0054] Among them, the first intensity modulator is used to control the on and off of the second channel; the second intensity modulator is used to modulate the intensity of the quantum light pulse; the first phase modulator and the second phase modulator are used to modulate the phase of the quantum light pulse; the first 50:50 beam splitter is used to divide the quantum light pulse sent by the transmitter into two channels, wherein the first quantum channel undergoes the first phase modulation, and the second quantum channel undergoes the first intensity modulator and the second phase modulator; the second 50:50 beam splitter is used to combine the first quantum channel and the second quantum channel into one quantum channel, which is connected to the single photon detector and the second intensity detector.
[0055] According to the above principles and system structure, the scheme of this embodiment is: the transmitting end randomly chooses to send a signal state quantum light pulse or a decoy state quantum light pulse, and sends the quantum light pulse to the passive decoy state device, and finally interferes at the measuring end. Among them, the passive decoy state device divides the pulse into two quantum channels through the first 50:50 beam splitter. The first quantum channel is used to send a signal state quantum light pulse, and the second quantum channel is used to send a decoy state quantum light pulse. When the transmitting end selects the decoy state, the intensity of the quantum light pulse is passively modulated according to the local detection response; when the transmitting end selects the signal state, the first intensity modulator blocks the second quantum channel. When the pulse at the measuring end interferes, the measuring end announces the result of the successful response of the detector. Then, the transmitting end extracts the screened key according to a certain strategy pairing based on the published measurement results. Finally, the transmitting end performs error correction and private amplification to obtain the final security key.
[0056] For details, please refer to Figure 2 As shown, a passive quantum key distribution method for cloud-edge architecture includes the following steps:
[0057] S1, the first transmitting end and the second transmitting end randomly select quantum light pulses through a passive decoy state device, and send the selected quantum light pulses to the measuring end, the optical signal includes a signal state and a decoy state, when the signal state is selected, it is sent through the first quantum channel, and the second quantum channel is blocked by the first intensity modulator; when the decoy state is selected, the quantum channel is not controlled;
[0058] The photon number distribution of the decoy state in S1 is different from that of the signal state, where the signal state photon number distribution is a Poisson distribution, satisfying: The decoy state is passively divided into two modes according to the response of the single-photon detector in the passive decoy state device:
[0059] When the local single-photon detector responds, the number distribution of trapped state photons is:
[0060]
[0061] When the local single-photon detector does not respond, the number distribution of trapped state photons is:
[0062]
[0063] Where d is the dark count of the single-photon detector of the passive trapped state device, η is the detection efficiency of the single-photon detector, and μ is the intensity of the quantum light pulse.
[0064] The key rate of the pattern matching quantum key distribution protocol is expressed as:
[0065] Among them, rp (p, l) is the expected number of pairs generated during each round, l is the maximum pairing strategy interval, p is the probability of successful detection of the i-th signal, and r s is the probability that a click pulse pair is a signal pair, q 11 and are the ratio of single photon pairs in all signal pairs and the phase error of single photon pairs, estimated by the decoy state, f is the error correction efficiency, is the bit error rate of the signal pair,
[0066] H(x)=-xlog 2 x-(1-x)log 2 (1-x) is the binary Shannon entropy function.
[0067] S1 Specifically, when the signal state is selected, the second quantum channel is blocked by the first intensity modulator; when the decoy state is selected, the quantum channel is not controlled, including:
[0068] When the signal state is selected, in the ai-th signal window, i represents the transmission round, and the coherent state prepared by the first or second transmitter is A signal state strength randomly selected from the strengths {0, μ} The phase is uniformly selected from [0,2π) And disconnect the second quantum channel; where i is the transmission round, μ is the intensity of the quantum light pulse;
[0069] When the decoy state is selected, the second quantum channel is connected, the first intensity modulator has no effect on the channel, and the second intensity modulator selects different decoy state intensities according to the single photon response of the passive decoy state module; in the ai-th decoy window, the coherent state prepared by the first or second transmitting end is The decoy intensity is selected from the intensities {0, v, μ} according to the local detector response of the passive decoy device The phase is uniformly selected from [0,2π)
[0070] The local detector refers to the detector of the dynamic decoy device at the sending end.
[0071] If the signal state or decoy state intensity is 0, the vacuum state is sent; the quantum light pulse intensity satisfies: 0 <v<μ≤1。
[0072] The transmission probabilities pz and px of the decoy state and the signal state are preset values, wherein pz+px=100%. For example, pz:px=1:1, that is, the probability of each is 50%.
[0073] S2, after the measuring end measures the received quantum light pulse, it announces the measurement result;
[0074] It should be noted that in order to prepare a sufficiently long key length, steps S1 and S2 need to be repeated N rounds. S2 specifically includes:
[0075] The measuring end performs single-photon interference measurement and announces the detection measurement results of the left single-photon detector and the right single-photon detector. The detection measurement results include response or no response. When the quantum light pulse attenuates during transmission and no photons enter the left single-photon detector or the right single-photon detector, the measurement result is no response, otherwise the measurement result is a response.
[0076] S3, the two transmitting ends send signal state quantum light pulses to the measuring end, and when only one of the two detectors responds, it is marked as a successful event, the rounds of the two successful events are paired as a group, and the corresponding phase encoding and intensity encoding are combined into a data pair;
[0077] That is, the first transmitting end and the second transmitting end apply a pairing strategy that groups the rounds of two successful events into a pair, and the phase encoding and intensity encoding in these two rounds form a data pair, using Indicates whether the first transmitter or the second transmitter sends a quantum light pulse in the i-th round. Otherwise, it is not sent and is 0.
[0078] In S3, when only one of the two detectors responds, when the first or second transmitter sends the Z basis, the response rate of the measuring end satisfies:
[0079] Where Pd is the dark count of the two single-photon detectors at the measurement end, η s is the transmittance of the quantum channel from the first or second transmitting end to the measuring end, μ is the intensity of the quantum light pulse, and Ci=1 indicates that one and only one of the two detectors at the measuring end in the i-th round responds;
[0080] When only one of the two detectors responds, and the number of photons sent by the first or second transmitting end is n, the photon detection probability at the measuring end satisfies:
[0081] Wherein a represents the first sending end, and b represents the second sending end.
[0082] It should be noted that the pattern matching in this embodiment means that after many rounds of key preparation, a successful response result is obtained, and two different successful rounds are combined together. Because not every round of the detector can respond (because attenuation will occur during the transmission process, the number of photons may decay to 0 after long-distance channel transmission), in order to improve the utilization rate of optical pulses for preparing keys, a certain pairing strategy is used to post-process the two rounds of events successfully detected by the detector to generate a key.
[0083] S4, selecting data pairs that meet the preset strength value from the pairings;
[0084] S4 is to perform vector basis screening based on the strength of the two grouping rounds indexed by i and j (i.e., in the i-th round and the j-th round). Specifically, data pairs that meet the preset strength value are screened out from the pairings, including:
[0085] The two rounds of successful events are screened by vector basis. When the intensity of the quantum light pulse is (0, μ) or (μ, 0), the two sending ends mark the basis of the data pair as Z. If the intensity of the quantum light pulse is (μ, μ), it is marked as X. If the intensity of the quantum light pulse is (0, 0), it is marked as 0.
[0086] The first transmitting end and the second transmitting end announce the basis of each data pair. If both announce the basis as X or Z, the data pair is retained; otherwise, the data pair is discarded.
[0087] S5 performs key mapping based on the screened data to prepare an initial quantum key;
[0088] S5 performs key mapping based on the screened data to prepare the initial quantum key, including:
[0089] For the Z basis, if the intensity of the quantum light pulse satisfies Where i and j are the sending rounds of a successful event, and the first sending end key k a =0, the second sending end key k b =1, when the quantum light pulse intensity satisfies (μ, 0), it is k a =1, k b =0;
[0090] For X basis, it satisfies: Wherein, θ is the alignment angle, φ is the phase, a represents the first transmitting end, and b represents the second transmitting end;
[0091] The Z-based key generation does not need to consider the phase problem, but the X-based key generation is different. When the test end processes the X-based data, it also includes: when the left single-photon detector and the right single-photon detector of the test end are clicked on the same side, the responses of the left single-photon detector and the right single-photon detector are marked as L and R respectively, and the second transmitting end maintains the bit. When the left single-photon detector and the right single-photon detector are clicked on different sides, the second transmitting end flips the bit. When the two transmitting ends are aligned at the same angle, that is, θ a = b Keep the data pair, otherwise discard it.
[0092] It should be noted that the key is prepared only through the signal state, and the purpose of the decoy state is to deceive the eavesdropper.
[0093] S6. Perform error correction and privacy amplification on the initial quantum key to obtain a secure quantum key.
[0094] S6 performs error correction and privacy amplification on the initial quantum key, including:
[0095] Parameter estimation: The quantum bit error rate of the original key data in the Z basis pair at the two senders is estimated to be The intensity of the quantum light pulse in the i-th and j-th rounds satisfies
[0096] The two transmitters use Z basis pairs of different intensities to estimate the single photon fraction q of the click using the decoy state method. 11 , and estimate the single-photon phase error rate through the X basis pair
[0097] Single photon fraction q 11 The single photon counting rate Y 11 The single photon counting rate Y is estimated by using the trapped state method. 11 The lower bound of satisfies:
[0098]
[0099] In the pattern matching quantum key distribution method, if the decoy state estimation is perfect, the gain and error rate estimation of the X basis satisfies:
[0100]
[0101] Where Pd is the dark count of the two single-photon detectors at the measuring end, Q is the response rate of the measuring end, the superscript indicates that the transmission is Z-basis, the subscript is the intensity of the trapped state light sent by the first and second transmitting ends, P is the distribution of the number of trapped state photons, and the subscript indicates the number of trapped state photons;
[0102] The two transmitters use the Z basis pair and the single photon fraction q11 , Phase Error Rate Bit Error Rate Estimation Generate secure quantum keys.
[0103] In summary, the method adds a passive decoy state device to passively prepare a passive decoy state based on the response of the local detector, rather than active modulation, which increases the security of the pattern matching quantum key system.
[0104] Embodiment 2
[0105] Figure 3 A schematic diagram of the structure of an electronic device provided in the second embodiment of the present invention is shown in FIG. Figure 3 As shown, the electronic device includes a processor 210, a memory 220, an input device 230 and an output device 240; the number of processors 210 in the computer device can be one or more. Figure 3 A processor 210 is taken as an example; the processor 210, the memory 220, the input device 230 and the output device 240 in the electronic device can be connected via a bus or other means. Figure 3 The example of connecting through bus is taken in the following.
[0106] The memory 220 is a computer-readable storage medium that can be used to store software programs, computer executable programs, and modules. The processor 210 executes various functional applications and data processing of the electronic device by running the software programs, instructions, and modules stored in the memory 220, that is, the passive quantum key distribution method for the cloud-edge architecture of the above-mentioned embodiment 1 is implemented.
[0107] The memory 220 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system and at least one application required for a function; the data storage area may store data created according to the use of the terminal, etc. In addition, the memory 220 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other non-volatile solid-state storage device. In some instances, the memory 220 may further include a memory remotely arranged relative to the processor 410, and these remote memories may be connected to the electronic device via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
[0108] The input device 230 may be used to receive input user identity information, quantum pulse signals, etc. The output device 240 may include a display device such as a display screen.
[0109] Embodiment 3
[0110] Embodiment 3 of the present invention further provides a storage medium containing computer executable instructions, which can be used by a computer to execute a passive quantum key distribution method for a cloud-edge-end architecture, the method comprising:
[0111] The first transmitting end and the second transmitting end randomly select quantum light pulses through a passive decoy state device, and send the selected quantum light pulses to the measuring end, wherein the optical signal includes a signal state and a decoy state. When the signal state is selected, the optical signal is sent through the first quantum channel, and the second quantum channel is blocked by the first intensity modulator; when the decoy state is selected, the quantum channel is not controlled;
[0112] After the measuring end measures the received quantum light pulse, it announces the measurement result;
[0113] The two transmitting ends send signal state quantum light pulses to the measuring end. When only one of the two detectors responds, it is marked as a successful event. The rounds of the two successful events are paired as a group, and the corresponding phase encoding and intensity encoding form a data pair.
[0114] Filter out data pairs that meet the preset strength value from the pairings;
[0115] Perform key mapping based on the screened data pairs to prepare the initial quantum key;
[0116] The initial quantum key is subjected to error correction and privacy amplification to obtain a secure quantum key.
[0117] Of course, the storage medium containing computer executable instructions provided in an embodiment of the present invention, whose computer executable instructions are not limited to the method operations described above, can also execute related operations in the passive quantum key distribution method based on the cloud-edge architecture provided in an embodiment of the present invention.
[0118] Through the above description of the implementation methods, the technicians in the relevant field can clearly understand that the present invention can be implemented by means of software and necessary general hardware, and of course can also be implemented by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present invention is essentially or the part that contributes to the prior art can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as a computer floppy disk, read-only memory (ROM), random access memory (RAM), flash memory (FLASH), hard disk or optical disk, etc., including a number of instructions for an electronic device (which can be a mobile phone, a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment of the present invention.
[0119] For those skilled in the art, various other corresponding changes and deformations can be made according to the technical solutions and concepts described above, and all of these changes and deformations should fall within the protection scope of the claims of the present invention.
Claims
1. A passive quantum key distribution method for cloud-edge-end architecture, characterized in that: The following steps are involved: The first transmitting end and the second transmitting end randomly select quantum light pulses through a passive decoy state device, and send the selected quantum light pulses to the measuring end, wherein the optical signal includes a signal state and a decoy state. When the signal state is selected, the optical signal is sent through the first quantum channel, and the second quantum channel is blocked by the first intensity modulator; when the decoy state is selected, the quantum channel is not controlled; After the measuring end measures the received quantum light pulse, it announces the measurement result; The two transmitting ends send signal state quantum light pulses to the measuring end. When only one of the two detectors responds, it is marked as a successful event. The rounds of the two successful events are paired as a group, and the corresponding phase encoding and intensity encoding form a data pair. Filter out data pairs that meet the preset strength value from the pairings; Perform key mapping based on the screened data pairs to prepare the initial quantum key; The initial quantum key is error corrected and privacy amplified to obtain a secure quantum key.
2. The passive quantum key distribution method for cloud-edge-end architecture according to claim 1, characterized in that: When the signal state is selected, the second quantum channel is blocked by the first intensity modulator; when the decoy state is selected, the quantum channel is not controlled, including: When the signal state is selected, in the ai-th signal window, the coherent state prepared by the first or second transmitter is A signal state strength randomly selected from the strengths {0, μ} The phase is uniformly selected from [0,2π) And disconnect the second quantum channel; where i is the transmission round, μ is the intensity of the quantum light pulse; When the decoy state is selected, the second quantum channel is connected. In the ai-th decoy window, the coherent state prepared by the first or second transmitter is The decoy intensity is selected from the intensities {0, v, μ} according to the local detector response of the passive decoy device The phase is uniformly selected from [0,2π) If the intensity of the signal state or the decoy state is 0, the vacuum state is transmitted; wherein the transmission of the vacuum state is controlled by the second intensity modulator; the intensity of the quantum light pulse satisfies: 0 <v<μ≤1。 3. The passive quantum key distribution method for cloud-edge-end architecture according to claim 1 or 2, characterized in that: The transmission probabilities pz and px of the decoy state and the signal state are preset values, wherein pz+px=100%.
4. The passive quantum key distribution method for cloud-edge-end architecture according to claim 1, characterized in that: After the measuring end measures the received quantum light pulse, it announces the measurement result, including: The measuring end performs single-photon interference measurement and announces the detection measurement results of the left single-photon detector and the right single-photon detector. The detection measurement results include response or no response. When the quantum light pulse attenuates during transmission and no photons enter the left single-photon detector or the right single-photon detector, the measurement result is no response, otherwise the measurement result is a response.
5. The passive quantum key distribution method for cloud-edge-end architecture according to claim 1, characterized in that: Filter out data pairs that meet the preset strength values from the pairings, including: The two rounds of successful events are screened by vector basis. When the intensity of the quantum light pulse is (0, μ) or (μ, 0), the two sending ends mark the basis of the data pair as Z. If the intensity of the quantum light pulse is (μ, μ), it is marked as X. If the intensity of the quantum light pulse is (0, 0), it is marked as 0. The first transmitting end and the second transmitting end announce the basis of each data pair. If both announce the basis as X or Z, the data pair is retained; otherwise, the data pair is discarded.
6. The passive quantum key distribution method for cloud-edge-end architecture according to claim 5, characterized in that: Key mapping is performed based on the screened data to prepare the initial quantum key, including: For the Z basis, if the intensity of the quantum light pulse satisfies Where i and j are the sending rounds of a successful event, and the first sending end key k a =0, the second sending end key k b =1, when the quantum light pulse intensity satisfies (μ, 0), it is k a =1, k b =0; For X basis, it satisfies: Wherein, θ is the alignment angle, φ is the phase, a represents the first transmitting end, and b represents the second transmitting end; When the test end processes X-based data, it also includes: when the left single-photon detector and the right single-photon detector of the test end are clicked on the same side, the responses of the left single-photon detector and the right single-photon detector are marked as L and R respectively, and the second transmitting end maintains the bit; when the left single-photon detector and the right single-photon detector are clicked on different sides, the second transmitting end flips the bit; when the two transmitting ends are aligned at the same angle, the data pair is retained, otherwise the data pair is discarded.
7. The passive quantum key distribution method for cloud-edge-end architecture according to claim 1, characterized in that: When only one of the two detectors responds, and the first or second transmitter sends a Z basis, the response rate of the measuring end satisfies: Where Pd is the dark count of the two single-photon detectors at the measurement end, η s is the transmittance of the quantum channel from the first or second transmitting end to the measuring end, μ is the intensity of the quantum light pulse, and Ci=1 indicates that one and only one of the two detectors at the measuring end in the i-th round responds; When only one of the two detectors responds, and the number of photons sent by the first or second transmitting end is n, the photon detection probability at the measuring end satisfies: Wherein a represents the first sending end, and b represents the second sending end.
8. The passive quantum key distribution method for cloud-edge-end architecture according to claim 5 or 6, characterized in that: Performing error correction and privacy amplification on the initial quantum key, including: The quantum bit error rate of the original key data in the Z basis pair of the two senders is estimated to be The intensity of the quantum light pulse in the i-th and j-th rounds satisfies The two transmitters use Z basis pairs of different intensities to estimate the single photon fraction q of the click using the decoy state method. 11 , and estimate the single-photon phase error rate through the X basis pair Estimation of single photon counting rate Y using the tricked state method 11 The lower bound of satisfies: Estimation of the gain and error rate of the X-basis is performed to satisfy: Where Pd is the dark count of the two single-photon detectors at the measurement end, Q is the response rate at the measurement end, and P is the distribution of the number of trapped state photons; The two transmitters use the Z basis pair and the single photon fraction q 11 , Phase Error Rate Bit Error Rate Estimation Generate secure quantum keys.
9. An electronic device comprising a processor, a storage medium and a computer program, wherein the computer program is stored in the storage medium, wherein: When the computer program is executed by a processor, the passive quantum key distribution for the cloud-edge architecture as described in any one of claims 1 to 8 is implemented.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the passive quantum key distribution for the cloud-edge architecture as described in any one of claims 1 to 8 is implemented.
Citation Information
Cited By
Quantum key distribution method and system based on pattern pairing and passive decoy state
CN120281479A
Quantum key distribution method and system based on mode matching and passive decoy state
CN120281479B
