CN112838928A - Quantum key management method based on database - Google Patents

Quantum key management method based on database Download PDF

Info

Publication number
CN112838928A
CN112838928A CN202110164633.6A CN202110164633A CN112838928A CN 112838928 A CN112838928 A CN 112838928A CN 202110164633 A CN202110164633 A CN 202110164633A CN 112838928 A CN112838928 A CN 112838928A
Authority
CN
China
Prior art keywords
quantum key
quantum
database
module
management method
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.)
Withdrawn
Application number
CN202110164633.6A
Other languages
Chinese (zh)
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.)
Anhui Huadian Big Data Technology Co ltd
Original Assignee
Anhui Huadian Big Data Technology 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 Anhui Huadian Big Data Technology Co ltd filed Critical Anhui Huadian Big Data Technology Co ltd
Priority to CN202110164633.6A priority Critical patent/CN112838928A/en
Publication of CN112838928A publication Critical patent/CN112838928A/en
Withdrawn legal-status Critical Current

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
    • 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/0819Key transport or distribution, i.e. key establishment techniques where one party creates or otherwise obtains a secret value, and securely transfers it to the other(s)
    • 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/0894Escrow, recovery or storing of secret information, e.g. secret key escrow or cryptographic key storage

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • Electromagnetism (AREA)
  • Theoretical Computer Science (AREA)
  • Storage Device Security (AREA)

Abstract

The invention discloses a quantum key management method based on a database, wherein the database comprises a quantum key receiving module, a quantum key storage module, a quantum key management module and a quantum key comparison module, and the quantum key management method comprises the following steps: s1, a quantum key receiving module for generating a quantum key and transmitting the quantum key to a database; s2, a quantum key storage module for storing the quantum key into a database; s3, comparing the quantum key with the information in the quantum key storage module, and transmitting the comparison result to the quantum key management module; and S4, replying the comparison result to the quantum key distribution system, and finishing the quantum distribution work by the quantum key distribution system according to the comparison result. The quantum key management method stores the quantum key data through the database, generates the quantum key information table after storage, can realize the comparison of the quantum keys generated by a plurality of quantum key distribution systems, improves the read-write rate, and shortens the time for distributing the quantum keys.

Description

Quantum key management method based on database
Technical Field
The invention relates to the field of quantum communication, in particular to a quantum key management method based on a database.
Background
The quantum key distribution is realized by preparing a light quantum at one end point and measuring the light quantum at the other end point, so that a shared quantum key is formed between the two end points, and then the shared quantum key and key information are respectively uploaded to the quantum key management devices at the two end points. In the prior art, a quantum key management device compares received quantum key information with key information, and stores the comparison result in a disk in a file form after the comparison is successful. And when the user initiates a quantum key output process, the quantum key management device reads the quantum key from the file of the disk and outputs the quantum key outwards.
The quantum key data of the existing quantum key management method is stored in a disk file in a continuous form, so that the read-write rate cannot be improved; meanwhile, the quantum key data can be stored only after the comparison process, and the comparison after storage cannot be realized.
Disclosure of Invention
In order to solve the above-mentioned drawbacks in the background art, an object of the present invention is to provide a quantum key management method based on a database, in which quantum key data is stored in the database, and a quantum key information table is generated after the storage, so that the comparison between quantum keys generated by a plurality of quantum key distribution systems can be realized, the read-write rate is increased, and the distribution time of the quantum keys is shortened.
The purpose of the invention can be realized by the following technical scheme:
a quantum key management method based on a database, wherein the database comprises a quantum key receiving module, a quantum key storage module, a quantum key management module and a quantum key comparison module, and the quantum key management method comprises the following steps:
s1, the quantum key distribution system generates a quantum key, and the quantum key is transmitted to a quantum key receiving module of the database through a quantum channel;
s2, after receiving the quantum key of the quantum key distribution system, the quantum key receiving module of the database stores the quantum key into the quantum key storage module of the database;
s3, the quantum key comparison module compares the quantum key with the information in the quantum key storage module, modifies the comparison state into a compared state after the comparison is successful, and transmits the comparison result to the quantum key management module;
s4, the quantum key management module replies the comparison result to the quantum key distribution system, and the quantum key distribution system completes the quantum distribution work according to the comparison result.
Further preferably, the quantum key distribution system is composed of a quantum transmitter, a quantum receiver and a quantum key server, and is used for generating, storing and distributing the quantum key.
Further preferably, the quantum key is in the form of a key cryptogram, the key cryptogram being generated in the key fob by encrypting the quantum key with a storage encryption key.
Further preferably, the quantum key storage module includes a quantum key information table generating unit and a quantum key information storage unit; the quantum key information table generating unit generates a quantum key information table according to the received quantum secret, and the quantum key information storage unit generates and stores a quantum key data table according to the quantum key information table.
Further preferably, the quantum key information table includes a quantum key number, a quantum key distribution system ID, a quantum key type, and quantum key hash value information.
Further preferably, the quantum key sequence numbers are numbered according to a time sequence of the quantum key reception.
Further preferably, the quantum key comparison module compares the quantum key information table with a quantum key data table stored in the quantum key storage module.
Further preferably, the quantum key comparison module performs information comparison based on a hash function.
The invention has the beneficial effects that:
according to the invention, the quantum key data are stored and compared through the database, and the quantum key information table is generated after storage, so that the storage reading rate is improved, the storage and comparison processes are decoupled, the business complexity is reduced, the continuous storage reading can be changed into the random storage reading, the problems that the quantum key data can only be stored in a disk file in a continuous form and need to be compared and stored in advance in the prior art are solved, the read-write rate, the reliability and the fault tolerance of the quantum key are enhanced, the comparison of the quantum keys generated by a plurality of quantum key distribution systems can be realized, and the distribution time of the quantum key is greatly prolonged.
Drawings
In order to more clearly illustrate the embodiments or technical solutions in the prior art of the present invention, the drawings used in the description of the embodiments or prior art will be briefly described below, and it is obvious for those skilled in the art that other drawings can be obtained based on these drawings without creative efforts.
FIG. 1 is a flow chart of a database-based quantum key management method of the present invention;
fig. 2 is a system framework diagram of a database based quantum key management method of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
In the description of the present invention, it is to be understood that the terms "opening," "upper," "lower," "thickness," "top," "middle," "length," "inner," "peripheral," and the like are used in an orientation or positional relationship that is merely for convenience in describing and simplifying the description, and do not indicate or imply that the referenced component or element must have a particular orientation, be constructed and operated in a particular orientation, and thus should not be considered as limiting the present invention.
As shown in fig. 1-2, a quantum key management method based on a database, the database includes a quantum key receiving module, a quantum key storage module, a quantum key management module, and a quantum key comparison module, and the quantum key management method includes the following steps:
s1, the quantum key distribution system generates a quantum key, and the quantum key is transmitted to a quantum key receiving module of the database through a quantum channel;
s2, after receiving the quantum key of the quantum key distribution system, the quantum key receiving module of the database stores the quantum key into the quantum key storage module of the database;
s3, the quantum key comparison module compares the quantum key with the information in the quantum key storage module, modifies the comparison state into a compared state after the comparison is successful, and transmits the comparison result to the quantum key management module;
s4, the quantum key management module replies the comparison result to the quantum key distribution system, and the quantum key distribution system completes the quantum distribution work according to the comparison result.
The quantum key distribution system consists of a quantum transmitter terminal, a quantum receiver terminal and a quantum key server and is used for realizing the generation, storage and distribution of the quantum key.
The quantum key is in the form of a key cryptogram that is generated in the key fob by encrypting the quantum key with a storage encryption key.
The quantum key storage module comprises a quantum key information table generating unit and a quantum key information storage unit; the quantum key information table generating unit generates a quantum key information table according to the received quantum secret, and the quantum key information storage unit generates and stores a quantum key data table according to the quantum key information table.
The quantum key information table comprises a quantum key serial number, a quantum key distribution system ID, a quantum key type and quantum key hash value information, wherein the quantum key serial number is numbered according to the time sequence received by the quantum key.
The quantum key comparison module compares the quantum key information table with the quantum key data table stored in the quantum key storage module.
The quantum key comparison module is used for completing information comparison based on a hash function.
In the description herein, references to the description of "one embodiment," "an example," "a specific example" or the like are intended to mean that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the invention. In this specification, the schematic representations of the terms used above do not necessarily refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.
The foregoing shows and describes the general principles, essential features, and advantages of the invention. It will be understood by those skilled in the art that the present invention is not limited to the embodiments described above, which are described in the specification and illustrated only to illustrate the principle of the present invention, but that various changes and modifications may be made therein without departing from the spirit and scope of the present invention, which fall within the scope of the invention as claimed.

Claims (8)

1. A quantum key management method based on a database is characterized in that the database comprises a quantum key receiving module, a quantum key storage module, a quantum key management module and a quantum key comparison module, and the quantum key management method comprises the following steps:
s1, the quantum key distribution system generates a quantum key, and the quantum key is transmitted to a quantum key receiving module of the database through a quantum channel;
s2, after receiving the quantum key of the quantum key distribution system, the quantum key receiving module of the database stores the quantum key into the quantum key storage module of the database;
s3, the quantum key comparison module compares the quantum key with the information in the quantum key storage module, modifies the comparison state into a compared state after the comparison is successful, and transmits the comparison result to the quantum key management module;
s4, the quantum key management module replies the comparison result to the quantum key distribution system, and the quantum key distribution system completes the quantum distribution work according to the comparison result.
2. The database-based quantum key management method according to claim 1, wherein the quantum key distribution system is composed of a quantum transmitter, a quantum receiver, and a quantum key server, and is configured to implement generation, storage, and distribution of quantum keys.
3. The database-based quantum key management method of claim 1, wherein the quantum key is in the form of a key cryptogram, the key cryptogram being generated in a key fob by encrypting the quantum key with a storage encryption key.
4. The database-based quantum key management method according to claim 1, wherein the quantum key storage module includes a quantum key information table generation unit and a quantum key information storage unit; the quantum key information table generating unit generates a quantum key information table according to the received quantum secret, and the quantum key information storage unit generates and stores a quantum key data table according to the quantum key information table.
5. The database-based quantum key management method according to claim 4, wherein the quantum key information table includes a quantum key number, a quantum key distribution system ID, a quantum key type, and quantum key hash value information.
6. The database-based quantum key management method of claim 5, wherein the quantum key sequence numbers are numbered according to a chronological order of receipt of the quantum key.
7. The database-based quantum key management method of claim 4, wherein the quantum key comparison module compares the quantum key information table with a quantum key data table stored in a quantum key storage module.
8. The database-based quantum key management method of claim 7, wherein the quantum key comparison module performs information comparison based on a hash function.
CN202110164633.6A 2021-02-05 2021-02-05 Quantum key management method based on database Withdrawn CN112838928A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110164633.6A CN112838928A (en) 2021-02-05 2021-02-05 Quantum key management method based on database

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110164633.6A CN112838928A (en) 2021-02-05 2021-02-05 Quantum key management method based on database

Publications (1)

Publication Number Publication Date
CN112838928A true CN112838928A (en) 2021-05-25

Family

ID=75932493

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110164633.6A Withdrawn CN112838928A (en) 2021-02-05 2021-02-05 Quantum key management method based on database

Country Status (1)

Country Link
CN (1) CN112838928A (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110430053A (en) * 2019-08-08 2019-11-08 国网安徽省电力有限公司信息通信分公司 A kind of distribution method of quantum key, apparatus and system
CN111475822A (en) * 2020-03-04 2020-07-31 科大国盾量子技术股份有限公司 Quantum key management method and device based on database
CN111639348A (en) * 2020-05-14 2020-09-08 瀚高基础软件股份有限公司 Management method and device of database keys

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110430053A (en) * 2019-08-08 2019-11-08 国网安徽省电力有限公司信息通信分公司 A kind of distribution method of quantum key, apparatus and system
CN111475822A (en) * 2020-03-04 2020-07-31 科大国盾量子技术股份有限公司 Quantum key management method and device based on database
CN111639348A (en) * 2020-05-14 2020-09-08 瀚高基础软件股份有限公司 Management method and device of database keys

Similar Documents

Publication Publication Date Title
US8966251B2 (en) Large-scale data processing cloud computing system
CN101340443B (en) Session key negotiating method, system and server in communication network
CN108123800A (en) Key management method, device, computer equipment and storage medium
CN103118356B (en) Embedded smart card eUICC Activiation method, system, terminal and platform
US20220006648A1 (en) Contract apparatus and method of blockchain using digital contents orginal key
CN102136079A (en) Dynamic authentication method between reader and tag card and implementing device thereof
CN101366263A (en) Method and apparatus for establishing a security association
CN105100112A (en) Cloud-storing based radio frequency identification (RFID) group tag ownership transferring method
CN113343286B (en) Data encryption and decryption method, data uploading end, data receiving end and system
CN111970304A (en) Message processing method and device
CN110263579A (en) A kind of data processing method, system and relevant device
CN100495964C (en) A light access authentication method
CN106506479A (en) The method of cipher authentication, system and client, server and smart machine
CN101488179A (en) Authentication method and apparatus for wireless radio frequency recognition system
CN114244851B (en) Block chain-based data distribution method
CN109040043A (en) A kind of Internet of Things construction method and device based on block chain
Asghari et al. Optimal coded multicast in cache networks with arbitrary content placement
CN112838928A (en) Quantum key management method based on database
CN112163811A (en) Block chain-based port and navigation logistics remote monitoring system
CN112040464A (en) Method for realizing information safety transmission of mobile terminal based on Bluetooth and quantum encryption technology
CN109728908B (en) Secret key management method based on quantum secure mobile storage medium
US20210409225A1 (en) Contract apparatus and method of blockchain using location information
CN106600788A (en) Method for realizing time data security interaction of coded lock
CN111475822B (en) Quantum key management method and device based on database
CN108537489A (en) A kind of cargo control method and device

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
WW01 Invention patent application withdrawn after publication
WW01 Invention patent application withdrawn after publication

Application publication date: 20210525