Method, apparatus, terminal device and system for generating shared key

US10050781B2 · US · B2

Patent metadata
FieldValue
Publication numberUS-10050781-B2
Application numberUS-201615241668-A
CountryUS
Kind codeB2
Filing dateAug 19, 2016
Priority dateAug 20, 2015
Publication dateAug 14, 2018
Grant dateAug 14, 2018

How to read this patent

A practical reading order for non-experts. Skip the full description unless you need deep technical detail.

  1. Title

    What the patent document calls the invention.

  2. Abstract

    A short plain-language summary of the technical disclosure.

  3. Assignees and inventors

    Who owns or filed the patent and who is credited as inventor.

  4. Key dates

    Filing, priority, publication, and grant dates set the timeline.

  5. First independent claim

    The legal scope of protection — read this for what is actually claimed.

  6. CPC / IPC classifications

    Technology tags used to group this patent with similar filings.

  7. Citations and related patents

    Prior art links and similar publications in this corpus.

Abstract

Official abstract text for this publication.

Embodiments of the present application provide apparatus and methods for generating a shared key, including setting up a key negotiation connection, and determining an algorithm code by negotiating using the key negotiation connection. An algorithm corresponding to the algorithm code is retrieved from a pre-stored algorithm library, and a pre-stored seed key is calculated using the algorithm to obtain a shared key. Compared with traditional key generation methods, embodiments of the present invention avoid the problem of a high bit error rate that occurs in the traditional quantum key generation methods, especially quantum key generation methods. One exemplary method determines an algorithm code through negotiation, retrieves a pre-stored algorithm corresponding to the algorithm code, and generates a new shared key using a seed key.

First claim

Opening claim text (preview).

The invention claimed is: 1. A method for generating a shared key, the method comprising: establishing a key negotiation connection between a pair of terminals; determining an algorithm code by negotiating between the pair of terminals using the key negotiation connection, the determining including; sending the algorithm code from a first terminal to a second terminal of the pair of terminals using the key negotiation connection, the sending including: encrypting the algorithm code using a preset key to generate an encrypted algorithm code; and sending the encrypted algorithm code to the second terminal using the key negotiation connection; receiving information indicating if the algorithm code is agreed to from the second terminal; and selecting the algorithm code when the algorithm code is agreed to; searching for an algorithm corresponding to the algorithm code in a pre-stored algorithm library; and calculating a shared key using the algorithm, wherein a seed key is used as a parameter of the algorithm. 2. The method of claim 1 , wherein the establishing a key negotiation connection comprises: sending a key negotiation request to the second terminal; and receiving response information indicating that the second terminal agrees with the key negotiation request. 3. The method of claim 2 , wherein the response information comprises authentication information, and the receiving response information indicating that the second terminal agrees with the key negotiation request comprises determining that the second terminal is valid based on the authentication information. 4. The method of claim 1 , further comprising: receiving a recommended algorithm code from the second terminal; acknowledging the recommended algorithm code; and sending to the second terminal information indicating that the recommended algorithm code is being used. 5. The method of claim 1 , further comprising determining a random number by negotiating with the second terminal using the key negotiation connection, wherein calculating a shared key using the algorithm comprises calculating the shared key using the algorithm and the random number, wherein the random number is a parameter of the algorithm. 6. The method of claim 5 , wherein the determining a random number by negotiating with the second terminal using the key negotiation connection comprises: receiving information indicating if the random number is agreed to by the second terminal; and selecting the random number when the random number is agreed to. 7. The method of claim 6 , further comprising: receiving a recommended random number from the second terminal; acknowledging the recommended random number; and sending information to the second terminal indicating that the recommended random number is being used. 8. The method of claim 6 , wherein the sending a random number to the second terminal using the key negotiation connection comprises: encrypting the random number using a preset key; and sending the encrypted random number to the second terminal using the key negotiation connection. 9. The method of claim 8 , wherein the seed key is a quantum seed key. 10. An apparatus for generating a shared key, comprising: a main memory; and a processor communicatively coupled to the main memory that establishes a key negotiation connection between a pair of terminals, determines an algorithm code by negotiating between the pair of terminals using the key negotiation connection, determining the algorithm code to include: sending the algorithm code from a first terminal to a second terminal of the pair of terminals using the key negotiation connection, sending the algorithm code to include: encrypting the algorithm code using a preset key to generate an encrypted algorithm code; and sending the encrypted algorithm code to the second terminal using the key negotiation connection; receiving information indicating if the algorithm code is agreed to from the second terminal; and selecting the algorithm code when the algorithm code is agreed to; searches for an algorithm corresponding to the algorithm code in a pre-stored algorithm library, and calculates a shared key using the algorithm and a pre-stored seed key, wherein the pre-stored key is a parameter of the algorithm. 11. The apparatus of claim 10 , wherein the processor sends a key negotiation request to the second terminal, and receives response information, wherein the response information indicates that the second terminal agrees with the key negotiation request. 12. The apparatus of claim 11 , wherein the processor determines if the second terminal is valid based on the authentication information of the second terminal, wherein the key negotiation connection is established when the second terminal is determined to be valid. 13. The apparatus of claim 10 , wherein the processor sends additional algorithm codes to the second terminal until at least one of the additional algorithm codes is agreed to by the second terminal. 14. A non-transitory computer-readable medium that stores a plurality of instructions that, when executed by a processor, implement a method for generating a shared key, the method comprising: establishing a key negotiation connection between a pair of terminals, determining an algorithm code by negotiating between the pair of terminals using the key negotiation connection, determining the algorithm code to include: sending the algorithm code from a first terminal to a second terminal of the pair of terminals using the key negotiation connection, sending the algorithm code to include: encrypting the algorithm code using a preset key to generate an encrypted algorithm code; and sending the encrypted algorithm code to the second terminal using the key negotiation connection; receiving information indicating if the algorithm code is agreed to from the second terminal; and selecting the algorithm code when the algorithm code is agreed to; searching for an algorithm corresponding to the algorithm code in a pre-stored algorithm library, and calculating a shared key using the algorithm and a pre-stored seed key, wherein the pre-stored seed key is used as a parameter of the algorithm. 15. The apparatus medium of claim 14 , wherein establishing a key negotiation connection includes: sending a key negotiation request to the second terminal; and receiving response information indicating that the second terminal agrees with the key negotiation request. 16. The medium of claim 15 , wherein the response information comprises authentication information, and the receiving response information indicating that the second terminal agrees with the key negotiation request comprises determining that the second terminal is valid based on the authentication information. 17. The medium of claim 14 , further comprising: receiving a recommended algorithm code from the second terminal; acknowledging the recommended algorithm code; and sending to the second terminal information indicating that the recommended algorithm code is being used.

Assignees

Inventors

Classifications

  • involving random numbers or seeds · CPC title

  • Quantum cryptography (transmission systems employing electromagnetic waves other than radio waves, e.g. light, infrared H04B10/00; wavelength-division multiplex systems H04J14/02; WDM arrangements H04J14/03) · CPC title

  • using a plurality of keys or algorithms · CPC title

  • H04L9/0838Primary

    Key agreement, i.e. key establishment technique in which a shared key is derived by parties as a function of information contributed by, or associated with, each of these (network architectures or network communication protocols for key exchange in a packet data network H04L63/061) · CPC title

  • for key exchange, e.g. in peer-to-peer networks (cryptographic mechanisms or cryptographic arrangements for key agreement H04L9/0838) · CPC title

Patent family

Related publications grouped by family.

External sources

Frequently asked questions

Answers are generated from the same data shown on this page.

What does patent US10050781B2 cover?
Embodiments of the present application provide apparatus and methods for generating a shared key, including setting up a key negotiation connection, and determining an algorithm code by negotiating using the key negotiation connection. An algorithm corresponding to the algorithm code is retrieved from a pre-stored algorithm library, and a pre-stored seed key is calculated using the algorithm to…
Who is the assignee on this patent?
Alibaba Group Holding Ltd
What technology area does this patent fall under?
Primary CPC classification H04L9/0838. Mapped technology areas include Electricity.
When was this patent published?
Publication date Tue Aug 14 2018 00:00:00 GMT+0000 (Coordinated Universal Time) (B2). Legal status and post-grant events are not shown on this page.
What related patents are in patentsdb?
We list 8 related publications on this page (citations in our corpus or others sharing the same primary CPC).