CN113630239A - Information acquisition method, device, equipment and storage medium - Google Patents

Information acquisition method, device, equipment and storage medium Download PDF

Info

Publication number
CN113630239A
CN113630239A CN202010376353.7A CN202010376353A CN113630239A CN 113630239 A CN113630239 A CN 113630239A CN 202010376353 A CN202010376353 A CN 202010376353A CN 113630239 A CN113630239 A CN 113630239A
Authority
CN
China
Prior art keywords
quantum
qubit
shunt
target
stream
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202010376353.7A
Other languages
Chinese (zh)
Other versions
CN113630239B (en
Inventor
石宇辰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Mobile Communications Group Co Ltd
China Mobile Chengdu ICT Co Ltd
Original Assignee
China Mobile Communications Group Co Ltd
China Mobile Chengdu ICT Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China Mobile Communications Group Co Ltd, China Mobile Chengdu ICT Co Ltd filed Critical China Mobile Communications Group Co Ltd
Priority to CN202010376353.7A priority Critical patent/CN113630239B/en
Publication of CN113630239A publication Critical patent/CN113630239A/en
Application granted granted Critical
Publication of CN113630239B publication Critical patent/CN113630239B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/08Key distribution or management, e.g. generation, sharing or updating, of cryptographic keys or passwords
    • H04L9/0816Key establishment, i.e. cryptographic processes or cryptographic protocols whereby a shared secret becomes available to two or more parties, for subsequent use
    • H04L9/0852Quantum cryptography
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B10/00Transmission systems employing electromagnetic waves other than radio-waves, e.g. infrared, visible or ultraviolet light, or employing corpuscular radiation, e.g. quantum communication
    • H04B10/70Photonic quantum communication

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Electromagnetism (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Optics & Photonics (AREA)
  • Optical Communication System (AREA)

Abstract

The application discloses an information acquisition method, an information acquisition device, information acquisition equipment and a storage medium, and relates to the technical field of network communication. The method comprises the following steps: receiving a quantum stream and a qubit stream; extracting a first quantum shunt of target quantum states from the quantum stream, extracting a first qubit shunt of target quantum states from the qubit stream; decoding the first quantum shunt according to a preset quantum bit of the target quantum state to obtain a second quantum bit shunt; determining a target preset qubit of the target quantum state based on a matching degree of the first qubit shunt and the second qubit shunt; and acquiring corresponding information of the quantum state and the quantum bit according to the determined target preset quantum bit of the target quantum state. According to the embodiment of the application, the key obtaining efficiency can be improved.

Description

Information acquisition method, device, equipment and storage medium
Technical Field
The present application relates to the field of network communication technologies, and in particular, to an information obtaining method, apparatus, device, and storage medium.
Background
With the development of communication technology, it becomes increasingly important to ensure the security of communication data. In the application field with extremely high requirements on security, quantum encryption technology is generally adopted to encrypt communication data. In quantum cryptography, a qubit of a quantum can be represented by the quantum state of the quantum, i.e., the polarization direction of the quantum. For example, a quantum state of a horizontal polarization state may represent qubit [00], a quantum state of a vertical polarization state may represent qubit [01], a quantum state of a 45 ° polarization state may represent qubit [10], and a quantum state of a 135 ° polarization state may represent qubit [11 ].
In order to transmit the key securely, the sending end generally converts the key information into quantum streams by using randomly selected quantum states and corresponding information of quantum bits, and then sends the quantum streams and clear information of quantum bits recording a part of quanta in the quantum streams to the receiving end. Then, the receiving end can calculate the quantum state and the corresponding information of the quantum bit selected by the sending end by using the quantum flow and the plain code information, and then extracts the secret key from the quantum flow by using the calculated quantum state and the corresponding information of the quantum bit.
However, the conventional calculation method for the information corresponding to the quantum state and the quantum bit has a large calculation amount, which results in low key acquisition efficiency.
Disclosure of Invention
The embodiment of the application provides an information acquisition method, an information acquisition device, information acquisition equipment and a storage medium, so that the calculation amount of corresponding information of quantum states and quantum bits is reduced, and the key acquisition efficiency is improved.
In order to solve the technical problem, the present application is implemented as follows:
in a first aspect, an embodiment of the present application provides an information obtaining method, including:
receiving a quantum stream and a qubit stream;
extracting a first quantum shunt of target quantum states from the quantum stream, extracting a first qubit shunt of target quantum states from the qubit stream;
decoding the first quantum shunt according to a preset quantum bit of the target quantum state to obtain a second quantum bit shunt;
determining a target preset qubit of the target quantum state based on a matching degree of the first qubit shunt and the second qubit shunt;
and acquiring corresponding information of the quantum state and the quantum bit according to the determined target preset quantum bit of the target quantum state.
In a second aspect, an embodiment of the present application provides an information acquiring apparatus, including:
a receiving module for receiving quantum streams and quantum bit streams;
an extraction module, configured to extract a first quantum shunt of a target quantum state from the quantum stream, and extract a first qubit shunt of the target quantum state from the qubit stream;
a decoding module, configured to decode the first quantum shunt according to a preset qubit in the target quantum state to obtain a second quantum bit shunt;
a determining module, configured to determine a target preset qubit of the target quantum state based on a matching degree of the first qubit shunt and the second qubit shunt;
and the first acquisition module is used for acquiring corresponding information of the quantum state and the quantum bit according to the determined target preset quantum bit of the target quantum state.
In a third aspect, an embodiment of the present application provides an obtaining apparatus, including: a processor and a memory storing computer program instructions;
the processor, when executing the computer program instructions, implements the information acquisition method as described in the first aspect.
In a fourth aspect, the present application provides a computer storage medium having computer program instructions stored thereon, where the computer program instructions, when executed by a processor, implement the information acquisition method according to the first aspect.
Compared with the prior art, the method has the following beneficial effects:
in the embodiment of the present application, the corresponding information of the quantum state and the qubit may be obtained based on the target preset qubit of the target quantum state, because the target preset qubit is obtained based on the matching degree of the first qubit shunt and the second qubit shunt, and the second qubit shunt is obtained by decoding the first quantum shunt of the target quantum state according to the preset qubit of the target quantum state, and the first quantum shunt only includes quanta of the target quantum state and does not include quanta of other quantum states, when determining the target preset qubit of the target quantum state, only the qubit in the first quantum shunt corresponding to the target quantum state needs to be calculated, and the qubits in the quantum shunts corresponding to other target quantum states do not need to be calculated, so that the calculation amount when calculating the corresponding information of the quantum state and the qubit is reduced, thereby, the key acquisition efficiency can be improved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings needed to be used in the embodiments of the present application will be briefly described below, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
FIG. 1 is a schematic view of a scenario provided by an embodiment of the present application
Fig. 2 is a schematic flowchart of an information acquisition method according to another embodiment of the present application;
fig. 3 is a schematic flowchart of an information acquisition method according to another embodiment of the present application;
fig. 4 is a schematic structural diagram of an information acquisition apparatus according to another embodiment of the present application;
fig. 5 is a schematic structural diagram of an acquisition apparatus according to still another embodiment of the present application.
Detailed Description
Features and exemplary embodiments of various aspects of the present application will be described in detail below, and in order to make objects, technical solutions and advantages of the present application more apparent, the present application will be further described in detail below with reference to the accompanying drawings and specific embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application. It will be apparent to one skilled in the art that the present application may be practiced without some of these specific details. The following description of the embodiments is merely intended to provide a better understanding of the present application by illustrating examples thereof.
It is noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
As in the background art, in order to securely transmit a key, a sending end generally converts key information into a quantum stream by using corresponding information of a quantum state and a quantum bit selected randomly, and then sends the quantum stream and clear information of the quantum bit in which a part of quanta in the quantum stream is recorded to a receiving end. Then, the receiving end can calculate the quantum state and the corresponding information of the qubit selected by the sending end by using the received quantum stream and the plain code information, and then extract the secret key from the quantum stream by using the calculated quantum state and the corresponding information of the qubit.
The applicant finds, through research, that in order to calculate the corresponding information of the quantum state and the quantum bit selected by the sending end, firstly, the receiving end needs to list all arrangement modes of 4 quantum states and 4 quantum bits, and according to the arrangement combination relationship, A can be listed4 424 kinds of arrangementWhere each arrangement represents a quantum state and qubit correspondence information, such that 24 quantum states and qubit correspondence information can be obtained. Then, the receiving end needs to decode the part of quanta corresponding to the clear code information in the quantum stream by sequentially using the 24 quantum states and the corresponding information of the quantum bits to obtain decoded quantum bit information, that is, 24 pieces of quantum bit information can be obtained, and then the 24 pieces of quantum bit information are respectively compared with the clear code information to obtain the matching degree of each piece of quantum bit information. And finally, the receiving end takes the quantum state corresponding to the quantum bit information with the highest matching degree and the corresponding information of the quantum bit as the corresponding information of the quantum state and the quantum bit selected by the sending end.
Since the receiving end needs to decode the part of quanta corresponding to the plain code information for 24 times in the quantum stream, the time for acquiring the corresponding information of the quantum state and the quantum bit is long, and the time for finally acquiring the key is also long, the existing calculation method for the corresponding information of the quantum state and the quantum bit leads to low acquisition efficiency of the key.
In order to solve the problem of the prior art, embodiments of the present application provide an information obtaining method, apparatus, device, and storage medium. First, an information acquisition method provided in the embodiment of the present application is described below.
The execution main body of the information acquisition method may be an acquisition device, the acquisition device may be a receiving end in a QKD (Quantum Key Distribution) system based on a BB84 protocol, the QKD system may further include a sending end, where both the receiving end and the sending end may be a single server or a service cluster composed of multiple servers. As shown in fig. 1, in the QKD system 100, the receiving end 110 may receive quantum stream and clear information from the sending end 120, and then may calculate, by using the received quantum stream and clear information, corresponding information of the quantum state and the quantum bit selected by the sending end 120, and then, the receiving end 110 may extract a key from the quantum stream by using the calculated corresponding information of the quantum state and the quantum bit.
For convenience of description, the above-mentioned acquisition device is referred to as a receiving end in the following.
As shown in fig. 2, the information obtaining method provided in the embodiment of the present application includes the following steps:
s210, receiving quantum streams and quantum bit streams.
S220, extracting the first quantum shunt of the target quantum state from the quantum stream, and extracting the first qubit shunt of the target quantum state from the qubit stream.
And S230, decoding the first quantum shunt according to the preset quantum bit of the target quantum state to obtain a second quantum bit shunt.
S240, determining a target preset quantum bit of a target quantum state based on the matching degree of the first quantum bit shunt and the second quantum bit shunt.
And S250, presetting a quantum bit according to the determined target quantum state, and acquiring corresponding information of the quantum state and the quantum bit.
Specific implementations of the above steps will be described in detail below.
In the embodiment of the present application, the corresponding information of the quantum state and the qubit may be obtained based on the target preset qubit of the target quantum state, because the target preset qubit is obtained based on the matching degree of the first qubit shunt and the second qubit shunt, and the second qubit shunt is obtained by decoding the first quantum shunt of the target quantum state according to the preset qubit of the target quantum state, and the first quantum shunt only includes quanta of the target quantum state and does not include quanta of other quantum states, when determining the target preset qubit of the target quantum state, only the qubit in the first quantum shunt corresponding to the target quantum state needs to be calculated, and the qubits in the quantum shunts corresponding to other target quantum states do not need to be calculated, so that the calculation amount when calculating the corresponding information of the quantum state and the qubit is reduced, thereby, the key acquisition efficiency can be improved.
Specific implementations of the above steps are described below.
First, a specific implementation of S210 is described.
In some embodiments, the quantum stream may be a stream including multiple quanta, and each quantum in the quantum stream corresponds to a quantum state, and each quantum carries time information indicating a transmission sequence, so that the transmitting end may convert the key information into the quantum stream by using the quantum state and corresponding information of a quantum bit, and then transmit the key information to the receiving end by transmitting the quantum stream. The qubit stream may be clear information in which qubits of a portion of quanta in the qubit stream are recorded. The receiving end may receive the quantum stream and the qubit stream from the transmitting end.
The above is a specific implementation of S210, and a specific implementation of S220 is described below.
In some embodiments, the target quantum state may be any one of a quantum state of a horizontal polarization state, a quantum state of a vertical polarization state, a quantum state of a 45 ° polarization state, and a quantum state of a 135 ° polarization state. After receiving the quantum stream and the qubit stream, the receiving end may extract a first quantum shunt of the target quantum state from the quantum stream, and extract the first quantum bit shunt of the target quantum state from the qubit stream.
Optionally, the first quantum shunt and the first quantum bit shunt may be extracted through corresponding information of the quantum bit stream and the quantum stream, and accordingly, the specific processing in S220 may be as follows: extracting a target quantum stream corresponding to the quantum bit stream from the quantum stream according to the corresponding information of the quantum bit stream and the quantum stream; extracting quanta of which the quantum state is the target quantum state in the target quantum flow to obtain a first quantum shunt; and extracting the first quantum bit shunt of the target quantum state from the quantum bit stream according to the position of each quantum in the first quantum shunt in the target quantum stream.
In some embodiments, the sending end may further send correspondence information of the qubit stream and the quantum stream, and in the correspondence information of the qubit stream and the quantum stream, relevant information of which quantum in the quantum stream corresponds to may be recorded. Because the qubit stream sent by the sending end is only the qubit of a part of quanta in the quantum stream, the sending end can inform the receiving end of which part of quanta in the quantum stream the qubit stream specifically corresponds to in a manner of sending the corresponding information of the qubit stream and the quantum stream to the receiving end.
In this way, the receiving end can extract the quantum corresponding to the qubit stream from the quantum stream through the corresponding information between the qubit stream and the quantum stream, and this part of quantum can be referred to as a target quantum stream. Then, the receiving end can extract the quantum with the quantum state as the target quantum state in the target quantum flow to obtain a first quantum shunt. Then, the receiving end may extract the first qubit shunt of the target quantum state from the qubit stream according to the position of each quantum in the first quantum shunt in the target quantum stream.
For example, the correspondence information between the qubit stream and the quantum stream may include the following information: a qubit stream is a qubit of the first hundred quanta in a qubit stream. Thus, the target quantum stream is the first hundred quanta in the quantum stream. Assuming that the target quantum state is a quantum state of a horizontal polarization state, all the quanta of which the quantum state is the horizontal polarization state in the target quantum flow can be extracted to obtain a first quantum shunt. Since the position of each quantum in the first quantum stream in the target quantum stream is known, the qubits corresponding to each quantum can be extracted from the qubit stream according to the position of each quantum in the target quantum stream, so as to obtain the first qubit stream. For example, if the quanta in the target quantum stream are quanta of the first hundred quanta with position numbers of multiples of 4, all the qubits with position numbers of multiples of 4 in the qubit stream can be extracted to obtain the first qubit stream.
Through the processing of the above embodiment, the first quantum shunt and the first qubit shunt can be obtained as a data basis for subsequently acquiring corresponding information of quantum states and qubits.
The above is a specific implementation of S220, and a specific implementation of S230 is described below.
In some embodiments, after the receiving end extracts the first quantum shunt and the first qubit shunt, the receiving end may decode the first quantum shunt according to a preset qubit in a target quantum state to obtain a qubit of each quantum in the first quantum shunt, that is, a second qubit shunt.
Specifically, the predetermined qubit may be a plurality of qubits, for example, the predetermined qubit may be any one of [00], [01], [10], [11 ]. For example, assuming that the target quantum state is a quantum state of a horizontal polarization state, the predetermined qubit is [00], and the qubit of the quantum state of the horizontal polarization state is [00 ]. Correspondingly, after the receiving end decodes the first quantum shunt according to the preset quantum bit of the target quantum state, a plurality of second quantum bit shunts can be obtained. For example, the receiving end may decode the first quantum shunt according to a preset quantum bit of the target quantum state being [00], to obtain a second quantum bit shunt. Similarly, the receiving end can decode the first quantum shunt respectively according to the preset quantum bits of the target quantum state as [01], [10], [11], so as to obtain the corresponding second quantum bit shunt. Thus, the receiving end can obtain four second qubit shunts.
The above is a specific implementation of S230, and a specific implementation of S240 is described below.
In some embodiments, after obtaining the second qubit shunt, the receiving end may calculate a matching degree of the first qubit shunt and the second qubit shunt. Then, the receiving end may shunt the corresponding preset qubits to the second qubit with the highest matching degree, and determine the second qubit as the final qubit in the target quantum state, that is, the target preset qubit.
Optionally, the target preset qubit of the target quantum state may be determined according to a preset condition, and accordingly, the specific processing of S240 may be as follows: obtaining the matching degree of each second qubit shunt and the first qubit shunt; and shunting the second qubits with matching degrees meeting the preset conditions to the associated preset qubits, and determining the second qubits as target preset qubits.
In some embodiments, as mentioned above, the receiving end may obtain four second qubit streams, so that the receiving end may calculate a matching degree of each second qubit stream with the first qubit stream. Then, the receiving end may compare whether each matching degree meets a preset condition, and then the receiving end may determine a preset qubit associated with the matching degree meeting the preset condition as a target preset qubit.
In some embodiments, the predetermined condition may be greater than a predetermined matching degree, for example, a matching degree greater than 90% may be considered to meet the predetermined condition.
In some embodiments, if the number of the second qubit streams with matching degrees greater than the preset matching degree is one, the receiving end may determine the preset qubit associated with the second qubit streams with matching degrees greater than the preset matching degree as the target preset qubit.
If the number of the second qubit shunts with the matching degrees larger than the preset matching degree is multiple, the receiving end can determine the target preset qubit from the preset qubits associated with the second qubit shunts with the matching degrees larger than the preset matching degree according to the distribution condition of the matching degrees of the second target quantum state.
The above is a specific implementation of S240, and a specific implementation of S250 is described below.
In some embodiments, after determining the target preset qubit of the target quantum state, the receiving end may obtain the qubits of each quantum state according to the determined target preset qubit of the target quantum state, so as to obtain corresponding information of the quantum state and the qubit.
Specifically, the receiving end can determine the target preset qubit of each target quantum state, so that after the qubits of the four quantum states are determined, corresponding information of the quantum states and the qubits can be obtained.
For example, the receiving end determines that the qubit in the quantum state in the horizontal polarization state is [00], the qubit in the quantum state in the vertical polarization state is [01], the qubit in the quantum state in the 45 ° polarization state is [10], and the qubit in the quantum state in the 135 ° polarization state is [11], so that the corresponding information of the quantum state and the qubit can be shown in table one.
Watch 1
Quantum state Horizontal polarization state Vertical polarization state Polarization state of 45 DEG Polarization state of 135 DEG
Quantum bits [00] [11] [01] [10]
Optionally, after the receiving end acquires the corresponding information of the quantum state and the quantum bit, the receiving end may further acquire the key from the quantum stream based on the corresponding information of the quantum state and the quantum bit.
In some embodiments, the receiving end may receive a key configuration parameter from the transmitting end, and the key configuration parameter may record which quanta in the quantum flow carry the key information. Therefore, the receiving end can extract the part of quanta carrying the key information from the quantum flow according to the key configuration parameters acquired in advance, namely, the second quantum flow. Then, the receiving end may decode the second quantum split based on the quantum state and the corresponding information of the qubit, thereby obtaining the key.
For better understanding of the information acquisition method provided by the above embodiment, reference may be made to fig. 3, where fig. 3 shows an information acquisition flowchart, and a specific flow is as follows:
and S310, the sending end sends n quanta of information states to be confirmed to the receiving end through the quantum channel and caches the quanta.
In some embodiments, the n quanta of information states to be confirmed are quantum flows.
S320: the transmitting end transmits clear code information of m (m < < n) quantum bits to the receiving end through a common channel.
In some embodiments, the m qubits of clear information are a qubit stream. For convenience of description, the following description will be made with clear information of m qubits as [11], [01], [00], [10 ].
S330: and the receiving end extracts quanta corresponding to the clear code information from the cache, and decodes the extracted quanta through the corresponding information of the quantum states and the quantum bits in the 4 proposed special arrangements.
In some embodiments, the information corresponding to the quantum states and the qubits in the 4 specific arrangements proposed above is a combination of the target quantum state and the preset qubit mentioned above. After decoding, the decoding result can be shown in table two, where the permutations 1-4 represent one decoding result respectively, and the states 1, 2, 3, and 4 represent the horizontal polarization state, the vertical polarization state, the 45 ° polarization state, and the 135 ° polarization state respectively.
Watch two
Quantum state Horizontal polarization state Vertical polarization state Polarization state of 45 DEG Polarization state of 135 DEG
Arrangement 1 [00] [01] [10] [11]
Arrangement 2 [11] [00] [01] [10]
Arrangement 3 [10] [11] [00] [01]
Arrangement 4 [10] [11] [01] [00]
S340: and comparing the decoded quantum bit information with the clear code information sent by the sending end to obtain the matching degree of each quantum bit.
S350: and analyzing the correct quantum state and the corresponding information of the quantum bit.
In some embodiments, the permutation with the highest matching degree of each qubit among the 4 decoding results can be found out separately. The information corresponding to the quantum state and the qubit is the information corresponding to the quantum state and the qubit in the corresponding arrangement. Then, according to the corresponding information of each qubit, the permutation with the highest matching degree of all qubits, that is, the randomly selected quantum state and the qubit corresponding information when the sending end encrypts can be combined.
In some embodiments, where the clear information of the m qubits is [11], [01], [00], [10], corresponding information such as table three can be derived.
Watch III
Quantum state Horizontal polarization state Vertical polarization state Polarization state of 45 DEG Polarization state of 135 DEG
Quantum bits [00] [11] [01] [10]
In some embodiments, the receiving end may decode the quantum containing the key information according to the obtained corresponding information, and extract the key information contained therein.
Through the processing of the embodiment, the corresponding information of the quantum state and the quantum bit can be quickly analyzed, the efficiency of analyzing the corresponding information of the quantum state and the quantum bit randomly selected by the sending end by the receiving end in encryption is improved, the operation pressure of the receiving end is greatly reduced, and the efficiency of information extraction is improved.
In addition, the information acquisition method provided by the embodiment of the application is simple and feasible, and can be realized by simply encoding the receiving end of the QKD system. And the method is efficient, can reduce the repeated operation times of the QKD system, improves the operation efficiency and has high processing speed. Therefore, on the premise of ensuring equal accuracy, the efficiency of acquiring information is also improved.
Based on the information acquisition method provided by the above embodiment, correspondingly, the application further provides a specific implementation manner of the information acquisition device. Please see the examples below.
Referring to fig. 4 first, an information acquiring apparatus provided in an embodiment of the present application includes the following modules:
a receiving module 401, configured to receive quantum streams and qubit streams;
an extracting module 402, configured to extract a first quantum shunt of a target quantum state from the quantum stream, and extract a first qubit shunt of the target quantum state from the qubit stream;
a decoding module 403, configured to decode the first quantum shunt according to a preset qubit in a target quantum state, to obtain a second quantum bit shunt;
a determining module 404, configured to determine a target preset qubit of a target quantum state based on a matching degree of the first qubit shunt and the second qubit shunt;
the first obtaining module 405 is configured to obtain corresponding information of a quantum state and a qubit according to a target preset qubit of the determined target quantum state.
Through the matching processing of the modules, the corresponding information of the quantum state and the quantum bit can be obtained based on the target preset quantum bit of the target quantum state, because the target preset quantum bit is obtained based on the matching degree of the first quantum bit shunt and the second quantum bit shunt, the second quantum bit shunt is obtained by decoding the first quantum shunt of the target quantum state according to the preset quantum bit of the target quantum state, and the first quantum shunt only contains quanta of the target quantum state and does not contain quanta of other quantum states, when the target preset quantum bit of the target quantum state is determined, only the quantum bit in the first quantum shunt corresponding to the target quantum state needs to be calculated, and the quantum bit in the quantum shunt corresponding to other target quantum states does not need to be calculated, so the calculation amount for calculating the corresponding information of the quantum state and the quantum bit is reduced, thereby, the key acquisition efficiency can be improved.
Optionally, in order to extract the first quantum shunt and the first qubit shunt, the receiving module 401 is further configured to:
receiving quantum bit stream and corresponding information of the quantum stream;
correspondingly, the extracting module 402 is specifically configured to:
extracting a target quantum stream corresponding to the quantum bit stream from the quantum stream according to the corresponding information of the quantum bit stream and the quantum stream;
extracting quanta of which the quantum state is the target quantum state in the target quantum flow to obtain a first quantum shunt;
and extracting the first quantum bit shunt of the target quantum state from the quantum bit stream according to the position of each quantum in the first quantum shunt in the target quantum stream.
Optionally, the types of the preset qubits are multiple, and correspondingly, the number of the second qubit shunts is multiple;
correspondingly, the determining module 404 is specifically configured to:
obtaining the matching degree of each second qubit shunt and the first qubit shunt;
and shunting the second qubits with matching degrees meeting the preset conditions to the associated preset qubits, and determining the second qubits as target preset qubits.
Optionally, the target preset qubit of the target quantum state may be determined according to a preset condition, and correspondingly, the determining module 404 is further configured to:
and under the condition that the number of the second qubit shunts with the matching degrees larger than the preset matching degree is one, determining the preset qubits associated with the second qubit shunts with the matching degrees larger than the preset matching degree as target preset qubits.
Optionally, to obtain the key, the apparatus further includes:
and the second obtaining module is used for obtaining the secret key from the quantum flow based on the quantum state and the corresponding information of the quantum bit.
Optionally, the key may be obtained through a key configuration parameter, and correspondingly, the second obtaining module is specifically configured to:
extracting a second quantum shunt from the quantum flow according to a pre-obtained secret key configuration parameter;
and decoding the second quantum shunt based on the quantum state and the corresponding information of the quantum bit to obtain the secret key.
Each module in the information acquiring apparatus provided in fig. 4 has a function of implementing each step in the embodiment shown in fig. 2, and achieves the same technical effect as the information acquiring method shown in fig. 2, and is not described herein again for brevity.
Fig. 5 is a schematic diagram of a hardware structure of an acquisition device for implementing various embodiments of the present application.
The acquisition device may include a processor 501 and a memory 502 storing computer program instructions.
Specifically, the processor 501 may include a Central Processing Unit (CPU), or an Application Specific Integrated Circuit (ASIC), or may be configured to implement one or more Integrated circuits of the embodiments of the present Application.
Memory 502 may include mass storage for data or instructions. By way of example, and not limitation, memory 502 may include a Hard Disk Drive (HDD), a floppy Disk Drive, flash memory, an optical Disk, a magneto-optical Disk, tape, or a Universal Serial Bus (USB) Drive or a combination of two or more of these. Memory 502 may include removable or non-removable (or fixed) media, where appropriate. The memory 502 may be internal or external to the integrated gateway disaster recovery device, where appropriate. In a particular embodiment, the memory 502 is non-volatile solid-state memory. In a particular embodiment, the memory 502 includes Read Only Memory (ROM). Where appropriate, the ROM may be mask-programmed ROM, Programmable ROM (PROM), Erasable PROM (EPROM), Electrically Erasable PROM (EEPROM), electrically rewritable ROM (EAROM), or flash memory or a combination of two or more of these.
The processor 501 reads and executes the computer program instructions stored in the memory 502 to implement any one of the information acquisition methods in the above embodiments.
In one example, the acquisition device may also include a communication interface 503 and a bus 510. As shown in fig. 5, the processor 501, the memory 502, and the communication interface 503 are connected via a bus 510 to complete communication therebetween.
The communication interface 503 is mainly used for implementing communication between modules, apparatuses, units and/or devices in the embodiments of the present application.
Bus 510 comprises hardware, software, or both to couple the components of the acquisition device to each other. By way of example, and not limitation, a bus may include an Accelerated Graphics Port (AGP) or other graphics bus, an Enhanced Industry Standard Architecture (EISA) bus, a Front Side Bus (FSB), a Hypertransport (HT) interconnect, an Industry Standard Architecture (ISA) bus, an infiniband interconnect, a Low Pin Count (LPC) bus, a memory bus, a Micro Channel Architecture (MCA) bus, a Peripheral Component Interconnect (PCI) bus, a PCI-Express (PCI-X) bus, a Serial Advanced Technology Attachment (SATA) bus, a video electronics standards association local (VLB) bus, or other suitable bus or a combination of two or more of these. Bus 510 may include one or more buses, where appropriate. Although specific buses are described and shown in the embodiments of the application, any suitable buses or interconnects are contemplated by the application.
The acquiring device may execute the information acquiring method in the embodiment of the present application, thereby implementing the information acquiring method and apparatus described in conjunction with fig. 2 and 4.
An embodiment of the present application further provides a computer-readable storage medium, where the computer storage medium has computer program instructions stored thereon; when executed by a processor, the computer program instructions implement the processes of the above-mentioned information acquisition method embodiments, and can achieve the same technical effects, and are not described herein again to avoid repetition.
It is to be understood that the present application is not limited to the particular arrangements and instrumentality described above and shown in the attached drawings. A detailed description of known methods is omitted herein for the sake of brevity. In the above embodiments, several specific steps are described and shown as examples. However, the method processes of the present application are not limited to the specific steps described and illustrated, and those skilled in the art can make various changes, modifications, and additions or change the order between the steps after comprehending the spirit of the present application.
The functional blocks shown in the above-described structural block diagrams may be implemented as hardware, software, firmware, or a combination thereof. When implemented in hardware, it may be, for example, an electronic circuit, an Application Specific Integrated Circuit (ASIC), suitable firmware, plug-in, function card, or the like. When implemented in software, the elements of the present application are the programs or code segments used to perform the required tasks. The program or code segments may be stored in a machine-readable medium or transmitted by a data signal carried in a carrier wave over a transmission medium or a communication link. A "machine-readable medium" may include any medium that can store or transfer information. Examples of a machine-readable medium include electronic circuits, semiconductor memory devices, ROM, flash memory, Erasable ROM (EROM), floppy disks, CD-ROMs, optical disks, hard disks, fiber optic media, Radio Frequency (RF) links, and so forth. The code segments may be downloaded via computer networks such as the internet, intranet, etc.
It should also be noted that the exemplary embodiments mentioned in this application describe some methods or systems based on a series of steps or devices. However, the present application is not limited to the order of the above-described steps, that is, the steps may be performed in the order mentioned in the embodiments, may be performed in an order different from the order in the embodiments, or may be performed simultaneously.
As described above, only the specific embodiments of the present application are provided, and it can be clearly understood by those skilled in the art that, for convenience and brevity of description, the specific working processes of the system, the module and the unit described above may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again. It should be understood that the scope of the present application is not limited thereto, and any person skilled in the art can easily conceive various equivalent modifications or substitutions within the technical scope of the present application, and these modifications or substitutions should be covered within the scope of the present application.

Claims (13)

1. An information acquisition method, characterized in that the method comprises:
receiving a quantum stream and a qubit stream;
extracting a first quantum shunt of target quantum states from the quantum stream, extracting a first qubit shunt of target quantum states from the qubit stream;
decoding the first quantum shunt according to a preset quantum bit of the target quantum state to obtain a second quantum bit shunt;
determining a target preset qubit of the target quantum state based on a matching degree of the first qubit shunt and the second qubit shunt;
and acquiring corresponding information of the quantum state and the quantum bit according to the determined target preset quantum bit of the target quantum state.
2. The method of claim 1, wherein prior to extracting the first quantum shunt of target quantum states from the quantum stream and extracting the first qubit shunt of target quantum states from the qubit stream, the method further comprises:
receiving corresponding information of the quantum bit stream and the quantum stream;
the extracting a first quantum shunt of target quantum states from the quantum stream and extracting a first qubit shunt of target quantum states from the qubit stream includes:
extracting a target quantum stream corresponding to the quantum bit stream from the quantum stream according to the corresponding information of the quantum bit stream and the quantum stream;
extracting quanta of which the quantum state is the target quantum state in the target quantum flow to obtain the first quantum shunt;
and extracting a first quantum bit shunt of a target quantum state from the quantum bit stream according to the position of each quantum in the first quantum shunt in the target quantum stream.
3. The method of claim 1, wherein the predetermined qubits are of a plurality of types, and accordingly, the second qubit stream is of a plurality of numbers;
the determining a target pre-set qubit for the target quantum state based on the matching of the first qubit shunt and the second qubit shunt comprises:
obtaining a matching degree of each second qubit shunt and the first qubit shunt;
and shunting the second qubits with matching degrees meeting the preset conditions to the associated preset qubits, and determining the second qubits as target preset qubits.
4. The method according to claim 3, wherein determining the preset qubit associated with the second qubit shunt corresponding to the matching degree meeting the preset condition as the target preset qubit comprises:
and under the condition that the number of the second qubit shunts with the matching degrees larger than the preset matching degree is one, determining the preset qubits associated with the second qubit shunts with the matching degrees larger than the preset matching degree as the target preset qubits.
5. The method of claim 1, wherein after obtaining the corresponding information of the quantum state and the qubit, the method further comprises:
and acquiring a key from the quantum flow based on the quantum state and the corresponding information of the quantum bit.
6. The method of claim 5, wherein obtaining the key from the quantum stream based on the quantum state and corresponding information of the qubit comprises:
extracting a second quantum shunt from the quantum flow according to a pre-obtained secret key configuration parameter;
and decoding the second quantum shunt based on the quantum state and the corresponding information of the quantum bit to obtain the secret key.
7. The method of any one of claims 1-6, wherein the target quantum state is a horizontal polarization state, a vertical polarization state, a 45 ° polarization state, or a 135 ° polarization state.
8. An information acquisition apparatus, characterized in that the apparatus comprises:
a receiving module for receiving quantum streams and quantum bit streams;
an extraction module, configured to extract a first quantum shunt of a target quantum state from the quantum stream, and extract a first qubit shunt of the target quantum state from the qubit stream;
a decoding module, configured to decode the first quantum shunt according to a preset qubit in the target quantum state to obtain a second quantum bit shunt;
a determining module, configured to determine a target preset qubit of the target quantum state based on a matching degree of the first qubit shunt and the second qubit shunt;
and the first acquisition module is used for acquiring corresponding information of the quantum state and the quantum bit according to the determined target preset quantum bit of the target quantum state.
9. The apparatus of claim 8, wherein the predetermined qubits are of a plurality of types, and accordingly, the second qubit stream is of a plurality of numbers;
the determining module is specifically configured to:
obtaining a matching degree of each second qubit shunt and the first qubit shunt;
and shunting the second qubits with matching degrees meeting the preset conditions to the associated preset qubits, and determining the second qubits as target preset qubits.
10. The apparatus of claim 9, wherein the determining module is further configured to:
and under the condition that the number of the second qubit shunts with the matching degrees larger than the preset matching degree is one, determining the preset qubits associated with the second qubit shunts with the matching degrees larger than the preset matching degree as the target preset qubits.
11. The apparatus of claim 8, further comprising:
and the second obtaining module is used for obtaining a secret key from the quantum flow based on the quantum state and the corresponding information of the quantum bit.
12. An acquisition device, characterized in that the device comprises: a processor and a memory storing computer program instructions;
the processor, when executing the computer program instructions, implements the information acquisition method of any one of claims 1-7.
13. A computer storage medium having stored thereon computer program instructions which, when executed by a processor, implement the information acquisition method according to any one of claims 1 to 7.
CN202010376353.7A 2020-05-07 2020-05-07 Information acquisition method, device, equipment and storage medium Active CN113630239B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010376353.7A CN113630239B (en) 2020-05-07 2020-05-07 Information acquisition method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010376353.7A CN113630239B (en) 2020-05-07 2020-05-07 Information acquisition method, device, equipment and storage medium

Publications (2)

Publication Number Publication Date
CN113630239A true CN113630239A (en) 2021-11-09
CN113630239B CN113630239B (en) 2023-08-01

Family

ID=78376852

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010376353.7A Active CN113630239B (en) 2020-05-07 2020-05-07 Information acquisition method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN113630239B (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105553648A (en) * 2014-10-30 2016-05-04 阿里巴巴集团控股有限公司 Quantum key distribution, privacy amplification and data transmission methods, apparatuses, and system
CN106888085A (en) * 2017-02-13 2017-06-23 苏州大学 A kind of multi-party quantum dialogue method based on maximum entangled GHZ state
CN106899403A (en) * 2015-12-21 2017-06-27 Id量子技术公司 For the apparatus and method required with enhanced security and the trust for reducing of quantum key distribution
US20170264434A1 (en) * 2016-03-14 2017-09-14 Kabushiki Kaisha Toshiba Communication device, quantum key distribution system, quantum key distribution method, and computer program product
CN107682154A (en) * 2017-11-13 2018-02-09 苏州大学 A kind of expandable multi-user collection quantum key sharing method
CN109478258A (en) * 2016-06-02 2019-03-15 谷歌有限责任公司 Use sub- logic control training quantum evolution
WO2019120567A1 (en) * 2017-12-22 2019-06-27 Huawei Technologies Duesseldorf Gmbh Quantum key distribution communication devices, methods and systems

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105553648A (en) * 2014-10-30 2016-05-04 阿里巴巴集团控股有限公司 Quantum key distribution, privacy amplification and data transmission methods, apparatuses, and system
CN106899403A (en) * 2015-12-21 2017-06-27 Id量子技术公司 For the apparatus and method required with enhanced security and the trust for reducing of quantum key distribution
US20170264434A1 (en) * 2016-03-14 2017-09-14 Kabushiki Kaisha Toshiba Communication device, quantum key distribution system, quantum key distribution method, and computer program product
CN109478258A (en) * 2016-06-02 2019-03-15 谷歌有限责任公司 Use sub- logic control training quantum evolution
CN106888085A (en) * 2017-02-13 2017-06-23 苏州大学 A kind of multi-party quantum dialogue method based on maximum entangled GHZ state
CN107682154A (en) * 2017-11-13 2018-02-09 苏州大学 A kind of expandable multi-user collection quantum key sharing method
WO2019120567A1 (en) * 2017-12-22 2019-06-27 Huawei Technologies Duesseldorf Gmbh Quantum key distribution communication devices, methods and systems

Non-Patent Citations (4)

* Cited by examiner, † Cited by third party
Title
LIN J 等: "Simple security analysis of phase-matching measurement-device-independent quantum key distribution", PHYSICAL REVIEW *
刘冰;孙莹;陈小明;刘欣瑞;: "双场干涉量子密钥分配协议及其改进综述", 北京电子科技学院学报 *
吴承治;: "量子密钥分配系统应用技术初探", 现代传输 *
赵洁;: "物联网通信信道的量子密钥协议研究", 激光杂志 *

Also Published As

Publication number Publication date
CN113630239B (en) 2023-08-01

Similar Documents

Publication Publication Date Title
CN109617680B (en) Encryption method, device, equipment and medium
US20080126910A1 (en) Low dimensional spectral concentration codes and direct list decoding
CN113569267B (en) Privacy safety data set intersection method, device, equipment and storage medium
CN108964870B (en) Railway transponder message security enhancement method based on self-synchronizing chaotic cipher
CN1902849B (en) Apparatus and method for transmitting or receiving data
Primak et al. Secret key generation using physical channels with imperfect CSI
Han et al. An implementation of caesar cipher and XOR encryption technique in a secure wireless communication
Salariseddigh et al. Deterministic identification for mc isi-poisson channel
CN111641500B (en) Encryption and decryption method for wireless video transmission safety of unmanned aerial vehicle
CN112202530B (en) Channel blind detection method and device, communication device and storage medium
CN113630239B (en) Information acquisition method, device, equipment and storage medium
CN104541469A (en) Method and apparatus for error recovery using information related to the transmitter
CN109995742B (en) Network stream watermark based on data packet interval and detection method thereof
CN115204320B (en) Naive Bayes model training method, device, equipment and computer storage medium
CN111654362A (en) Improved method of WEP encryption algorithm
CN114157453B (en) Communication system for encrypting information
Kriswantoro et al. Secret Key Establishment Using Modified Quantization Log For Vehicular Ad-Hoc Network
CN108600248B (en) Communication safety protection method and device
CN114827671B (en) Streaming media encryption transmission method based on hardware fingerprint
CN101001128B (en) Method and equipment for detecting reliability of decode
CN112464262B (en) Alliance chain encryption method, device, equipment and storage medium
Bagheri et al. Comments on" Security Improvement of an RFID Security Protocol of ISO/IEC WD 29167-6"
CN116915424A (en) Data processing method
CN102142881B (en) Method and device for transmitting data in relay network
CN114625987A (en) Two-dimensional code address generation method, device and equipment and computer storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant