Information reconciling method for generating secret key, secret key generation method, device and equipment

By reconciling information in the ubiquitous network through blockchain accounting nodes, determining the order of phase information difference bits between devices, the problem of inaccurate keys when channel changes in the existing key generation system is solved, and the accuracy of keys is achieved. Key generation and communication security.

CN119094113APending Publication Date: 2024-12-06DATANG MOBILE COMM EQUIP CO LTD
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202310656508.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-06-05
Publication Date
2024-12-06

AI Technical Summary

Technical Problem

When the channel state changes dramatically in the existing key generation system, the key generated by the information reconciliation scheme is inaccurate, resulting in high error rate and inability to adapt to the real-time changing channel state.

Method used

The blockchain accounting node obtains the phase information digital signals between devices, determines the correct order of the difference bits, and enters them into a smart contract, uses the blockchain network to reconcile information, and generates an accurate shared secret key.

Benefits of technology

Reduces equipment energy consumption, ensures the accuracy of keys, avoids information leakage caused by key negotiation under trustless connections, and improves the security of communication information.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119094113A_ABST
    Figure CN119094113A_ABST
Patent Text Reader

Abstract

The invention provides an information reconciliation method for generating a secret key, a secret key generation method, a device and equipment. The method comprises the following steps: a block chain accounting node obtains a digital signal corresponding to phase information of channel response, wherein the digital signal comprises a first digital signal corresponding to phase information obtained by a first device; the second device obtains a second digital signal corresponding to the phase information; the second equipment is the first equipment which is communication opposite-end equipment; determining a correct order of difference bits between the first digital signal and the second digital signal; and inputting the correct sequence of the difference bits, the electronic certificate of the first device and the electronic certificate of the second device into an intelligent contract of the block chain device. According to the method, the blockchain accounting node is used as a third party to carry out information reconciliation in key generation on the ubiquitous network equipment, so that the energy consumption of the equipment can be reduced, the accuracy of the generated key is ensured, meanwhile, information leakage during key negotiation can be avoided, and the security of communication information is ensured.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of communication technology, and in particular to an information reconciliation method for generating a key, a key generation method, a device and equipment. Background Art

[0002] In the mobile communication network of the post-5G era, some devices in the ubiquitous wireless sensor network have very limited computing and storage capabilities or lack key management facilities. Through the key generation technology based on physical layer security, the randomness and reciprocity of the wireless channel are used to generate keys for encrypting messages. In the existing key generation system, information reconciliation uses a fixed key reconciliation scheme, which cannot be applied to the real-time changing channel state. When the channel state information changes dramatically, the generated key will have a high error rate. Summary of the invention

[0003] The purpose of the present application is to provide an information reconciliation method for generating a key, a key generation method, an apparatus and a device, which solve the problem of inaccurate keys generated by information reconciliation schemes in existing key generation systems.

[0004] The embodiment of the present application provides an information reconciliation method for generating a key, comprising:

[0005] The blockchain accounting node obtains a digital signal corresponding to the phase information of the channel response, wherein the digital signal includes: a first digital signal corresponding to the phase information obtained by the first device; a second digital signal corresponding to the phase information obtained by the second device; the second device is the first device and the communication peer device;

[0006] The blockchain accounting node determines the correct order of difference bits between the first digital signal and the second digital signal;

[0007] The blockchain accounting node enters the correct order of the difference bits, the electronic certificate of the first device, and the electronic certificate of the second device into the smart contract of the blockchain device.

[0008] Optionally, the acquiring of a digital signal corresponding to the phase information of the channel response includes at least one of the following:

[0009] Receive a first data packet sent by a first device, the first data packet including a first digital signal and an electronic certificate of the first device, the first digital signal being a digital signal obtained after encryption processing based on a public key of a blockchain accounting node;

[0010] Receive a second data packet sent by a second device, where the second data packet includes a second digital signal and an electronic certificate of the second device, where the second digital signal is a digital signal obtained after encryption processing based on a public key of a blockchain accounting node.

[0011] Optionally, the method further includes:

[0012] Verifying the credibility of the electronic certificate of the first device and the electronic certificate of the second device respectively according to a certificate revocation list (CRL) of a trusted authority (TA);

[0013] If the CRL includes the electronic certificate, the digital signal corresponding to the electronic certificate is ignored; if the CRL does not include the electronic certificate, it is determined that the electronic certificate verification is successful.

[0014] Optionally, determining a correct order of difference bits between the first digital signal and the second digital signal includes:

[0015] comparing the first digital signal and the second digital signal to obtain a comparison result;

[0016] determining a difference bit between the first digital signal and the second digital signal according to the comparison result;

[0017] The correct order of the difference bits is determined.

[0018] Optionally, determining the correct order of the difference bits includes:

[0019] In the case where it is determined according to the comparison result that the same bits between the first digital signal and the second digital signal are greater than a first threshold, a correct order of the difference bits is determined.

[0020] An embodiment of the present application provides a key generation method, including:

[0021] The first device sends a first digital signal corresponding to the phase information of the channel response to the blockchain accounting node;

[0022] The first device determines the correct order of difference bits between the first digital signal and the second digital signal according to the smart contract of the blockchain; the second digital signal is a digital signal corresponding to the phase information of the channel response obtained by the second device;

[0023] The first device determines a shared key between the first device and the second device according to the first digital signal and a correct sequence of the difference bits.

[0024] Optionally, the method further includes:

[0025] Determining phase information of a channel response according to a first channel sounding sequence sent by the second device;

[0026] The phase information is quantized to obtain a first digital signal corresponding to the phase information.

[0027] Optionally, the method further includes: obtaining a smart contract published by a blockchain device.

[0028] Optionally, determining a shared key between the first device and the second device according to the first digital signal and a correct order of the difference bits includes:

[0029] The first digital signal is harmonized according to the correct sequence of the difference bits to obtain the shared key.

[0030] An embodiment of the present application provides a key generation method, including:

[0031] The second device sends a second digital signal corresponding to the phase information of the channel response to the blockchain accounting node;

[0032] The second device determines the correct order of difference bits between the second digital signal and the first digital signal according to the smart contract of the blockchain; the first digital signal is a digital signal corresponding to the phase information of the channel response obtained by the first device;

[0033] The second device determines a shared key between the first device and the second device according to the second digital signal and a correct sequence of the difference bits.

[0034] Optionally, the method further includes:

[0035] Determining phase information of a channel response according to a second channel sounding sequence sent by the first device;

[0036] The phase information is quantized to obtain a second digital signal corresponding to the phase information.

[0037] Optionally, determining a shared key between the first device and the second device according to the second digital signal and a correct order of the difference bits includes:

[0038] The second digital signal is harmonized according to the correct sequence of the difference bits to obtain the shared key.

[0039] The embodiment of the present application also provides an information reconciliation system for generating a key, including:

[0040] Blockchain devices;

[0041] A blockchain accounting node that is communicatively connected to the blockchain device;

[0042] A device that is communicatively connected to the blockchain device and the blockchain accounting node, respectively, the device comprising a first device and a second device, the second device being a communication peer device of the first device;

[0043] The first device is used to send a first digital signal corresponding to the phase information of the channel response to the blockchain accounting node; the second device is used to send a second digital signal corresponding to the phase information of the channel response to the blockchain accounting node;

[0044] The blockchain accounting node is used to determine the correct order of the difference bits between the first digital signal and the second digital signal; enter the correct order of the difference bits, the electronic certificate of the first device, and the electronic certificate of the second device into the smart contract of the blockchain device;

[0045] The blockchain device is used to publish the smart contract.

[0046] An embodiment of the present application provides a network device, including: a memory, a transceiver, and a processor:

[0047] A memory for storing a computer program; a transceiver for receiving and sending data under the control of the processor; and a processor for reading the computer program in the memory and performing the following operations:

[0048] Acquire a digital signal corresponding to the phase information of the channel response, the digital signal comprising: a first digital signal corresponding to the phase information obtained by the first device; a second digital signal corresponding to the phase information obtained by the second device; the second device is the first device and the communication peer device;

[0049] determining a correct sequence of difference bits between the first digital signal and the second digital signal;

[0050] Enter the correct order of the difference bits, the electronic certificate of the first device, and the electronic certificate of the second device into a smart contract of the blockchain device.

[0051] Optionally, the processor is configured to read the computer program in the memory and perform at least one of the following operations:

[0052] Receive a first data packet sent by a first device, the first data packet including a first digital signal and an electronic certificate of the first device, the first digital signal being a digital signal obtained after encryption processing based on a public key of a blockchain accounting node;

[0053] Receive a second data packet sent by a second device, where the second data packet includes a second digital signal and an electronic certificate of the second device, where the second digital signal is a digital signal obtained after encryption processing based on a public key of a blockchain accounting node.

[0054] Optionally, the processor is configured to read the computer program in the memory and perform the following operations:

[0055] Verify the credibility of the electronic certificate of the first device and the electronic certificate of the second device respectively according to the certificate revocation list CRL of the trust authority TA;

[0056] If the CRL includes the electronic certificate, the digital signal corresponding to the electronic certificate is ignored; if the CRL does not include the electronic certificate, it is determined that the electronic certificate verification is successful.

[0057] Optionally, the processor is configured to read the computer program in the memory and perform the following operations:

[0058] comparing the first digital signal and the second digital signal to obtain a comparison result;

[0059] determining a difference bit between the first digital signal and the second digital signal according to the comparison result;

[0060] The correct order of the difference bits is determined.

[0061] Optionally, the processor is configured to read the computer program in the memory and perform the following operations:

[0062] In the case where it is determined according to the comparison result that the same bits between the first digital signal and the second digital signal are greater than a first threshold, a correct order of the difference bits is determined.

[0063] An embodiment of the present application provides a terminal, including: a memory, a transceiver, and a processor:

[0064] A memory for storing a computer program; a transceiver for receiving and sending data under the control of the processor; and a processor for reading the computer program in the memory and performing the following operations:

[0065] Sending a first digital signal corresponding to the phase information of the channel response to the blockchain accounting node;

[0066] Determine the correct order of the difference bits between the first digital signal and the second digital signal according to the smart contract of the blockchain; the second digital signal is a digital signal corresponding to the phase information of the channel response obtained by the second device;

[0067] A shared key between the first device and the second device is determined according to the first digital signal and the correct sequence of the difference bits.

[0068] Optionally, the processor is configured to read the computer program in the memory and perform the following operations:

[0069] Determining phase information of a channel response according to a first channel sounding sequence sent by the second device;

[0070] The phase information is quantized to obtain a first digital signal corresponding to the phase information.

[0071] Optionally, the processor is configured to read the computer program in the memory and perform the following operations:

[0072] Get the smart contract published by the blockchain device.

[0073] Optionally, the processor is configured to read the computer program in the memory and perform the following operations:

[0074] The first digital signal is harmonized according to the correct sequence of the difference bits to obtain the shared key.

[0075] An embodiment of the present application provides a terminal, including: a memory, a transceiver, and a processor:

[0076] A memory for storing a computer program; a transceiver for receiving and sending data under the control of the processor; and a processor for reading the computer program in the memory and performing the following operations:

[0077] Sending a second digital signal corresponding to the phase information of the channel response to the blockchain accounting node;

[0078] Determine the correct order of difference bits between the second digital signal and the first digital signal according to the smart contract of the blockchain; the first digital signal is a digital signal corresponding to the phase information of the channel response obtained by the first device;

[0079] A shared key between the first device and the second device is determined according to the second digital signal and the correct sequence of the difference bits.

[0080] Optionally, the processor is configured to read the computer program in the memory and perform the following operations:

[0081] Determining phase information of a channel response according to a second channel sounding sequence sent by the first device;

[0082] The phase information is quantized to obtain a second digital signal corresponding to the phase information.

[0083] Optionally, the processor is configured to read the computer program in the memory and perform the following operations:

[0084] The second digital signal is harmonized according to the correct sequence of the difference bits to obtain the shared key.

[0085] The embodiment of the present application provides an information reconciliation device for generating a key, including:

[0086] A first acquisition unit is used to acquire a digital signal corresponding to the phase information of the channel response, wherein the digital signal includes: a first digital signal corresponding to the phase information obtained by the first device; a second digital signal corresponding to the phase information obtained by the second device; the second device is the first device and the communication peer device;

[0087] A first determining unit, configured to determine a correct order of difference bits between the first digital signal and the second digital signal;

[0088] A recording module is used to enter the correct order of the difference bits, the electronic certificate of the first device, and the electronic certificate of the second device into the smart contract of the blockchain device.

[0089] An embodiment of the present application provides a key generation device, including:

[0090] A first sending unit, configured to send a first digital signal corresponding to the phase information of the channel response to a blockchain accounting node;

[0091] A second determination unit determines the correct order of difference bits between the first digital signal and the second digital signal according to the smart contract of the blockchain; the second digital signal is a digital signal corresponding to the phase information of the channel response obtained by the second device;

[0092] The third determining unit is configured to determine a shared key between the first device and the second device according to the first digital signal and a correct sequence of the difference bits.

[0093] An embodiment of the present application provides a key generation device, including:

[0094] A second sending unit, configured to send a second digital signal corresponding to the phase information of the channel response to the blockchain accounting node;

[0095] A fourth determination unit is used to determine the correct order of difference bits between the second digital signal and the first digital signal according to the smart contract of the blockchain; the first digital signal is a digital signal corresponding to the phase information of the channel response obtained by the first device;

[0096] A fifth determining unit is configured to determine a shared key between the first device and the second device according to the second digital signal and a correct order of the difference bits.

[0097] An embodiment of the present application provides a processor-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, the steps of the above-mentioned information reconciliation method for generating a key are implemented.

[0098] An embodiment of the present application provides a processor-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, the steps of the above-mentioned key generation method are implemented.

[0099] The beneficial effects of the above technical solution of the present application are:

[0100] In the embodiment of the present application, the blockchain accounting node obtains the digital signal corresponding to the phase information obtained by the first device and the second device respectively, determines the correct order of the difference bits according to the digital signals of both parties, thereby reconciling the difference bits to obtain the correct order, and writes the correct bit order into the smart contract, and publishes it through the smart contract. Using the blockchain accounting node as a third party to reconcile the information in the key generation of the ubiquitous network device avoids the use of ubiquitous network terminal devices under resource-constrained conditions for information reconciliation, can reduce device energy consumption, ensure the accuracy of key generation, and at the same time avoid information leakage due to key negotiation between two communication devices when a secure and trusted connection is not established, thereby ensuring the security of communication information. BRIEF DESCRIPTION OF THE DRAWINGS

[0101] Figure 1 A schematic diagram showing a flow chart of an information reconciliation method for generating a key according to an embodiment of the present application;

[0102] Figure 2 A schematic diagram showing the architecture of an information reconciliation system for generating a key according to an embodiment of the present application;

[0103] Figure 3 A second flowchart of the information reconciliation method for generating a key according to an embodiment of the present application is shown;

[0104] Figure 4 A schematic diagram showing the communication process of an embodiment of the present application;

[0105] Figure 5 A schematic diagram showing a flow chart of a key generation method according to an embodiment of the present application;

[0106] Figure 6 A second flowchart of the key generation method according to an embodiment of the present application is shown;

[0107] Figure 7A schematic diagram showing the structure of an information reconciliation device for generating a key according to an embodiment of the present application;

[0108] Figure 8 One of the structural schematic diagrams showing the key generation device according to an embodiment of the present application;

[0109] Fig. 9 A second structural diagram showing a key generation device according to an embodiment of the present application;

[0110] Fig.10 A schematic diagram showing the structure of a network device according to an embodiment of the present application;

[0111] Fig.11 One of the schematic diagrams showing the structure of the terminal according to the embodiment of the present application;

[0112] Fig.12 The second schematic diagram of the structure of the terminal according to the embodiment of the present application. DETAILED DESCRIPTION

[0113] In order to make the technical problems, technical solutions and advantages to be solved by the application clearer, the following will be described in detail in conjunction with the accompanying drawings and specific embodiments. In the following description, specific details such as specific configurations and components are provided only to help fully understand the embodiments of the application. Therefore, it should be clear to those skilled in the art that various changes and modifications can be made to the embodiments described herein without departing from the scope and spirit of the application. In addition, for clarity and brevity, the description of known functions and structures has been omitted.

[0114] It should be understood that the references to "one embodiment" or "an embodiment" throughout the specification mean that the specific features, structures, or characteristics associated with the embodiment are included in at least one embodiment of the present application. Therefore, the references to "in one embodiment" or "in an embodiment" appearing throughout the specification do not necessarily refer to the same embodiment. In addition, these specific features, structures, or characteristics may be combined in any suitable manner in one or more embodiments.

[0115] In the various embodiments of the present application, it should be understood that the size of the serial numbers of the following processes does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.

[0116] In the embodiments of the present application, the term "and / or" describes the association relationship of the associated objects, indicating that three relationships may exist. For example, A and / or B may represent: A exists alone, A and B exist at the same time, and B exists alone. The character " / " generally indicates that the associated objects before and after are in an "or" relationship.

[0117] In the embodiments of the present application, the term "plurality" refers to two or more than two, and other quantifiers are similar.

[0118] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0119] The embodiments of the present application provide an information reconciliation method for generating a key, a key generation method, an apparatus and a device, so as to solve the problem that the key generated by the information reconciliation scheme in the existing key generation system is inaccurate.

[0120] Among them, the method and the device are based on the same application concept. Since the method and the device solve the problem in a similar principle, the implementation of the device and the method can refer to each other, and the repeated parts will not be repeated.

[0121] like Figure 1 As shown, the embodiment of the present application provides an information reconciliation method for generating a key, which is applied to a blockchain accounting node and specifically includes the following steps:

[0122] Step 101: The blockchain accounting node obtains a digital signal corresponding to the phase information of the channel response, wherein the digital signal includes: a first digital signal corresponding to the phase information obtained by the first device; a second digital signal corresponding to the phase information obtained by the second device; the second device is the first device and is the communication peer device.

[0123] The blockchain accounting node is the main node of the blockchain network, which is used to provide computing power, operation and maintenance, and publish accounting information for the blockchain network; the blockchain accounting node can communicate with the device and provide authentication and information reconciliation capabilities for the device.

[0124] The first device and the second device may be terminals, and the second device is a communication peer device of the first device. The first device and the second device may be ubiquitous Internet of Things devices. During the system initialization phase, the first device and the second device need to register with the trust agency TA, which distributes public key and private key pairs and corresponding electronic certificates to each device. The first device and the second device respectively verify each other's electronic certificates, and if the verification is passed, use the channel detection sequence to determine the phase information of the channel response, and determine the digital signal corresponding to the phase information. The digital signal may be obtained by quantizing the phase information.

[0125] For example: the first device determines the phase information of the channel response according to the channel detection sequence sent by the second device, and quantizes the phase information to obtain a first digital signal. The second device determines the phase information of the channel response according to the channel detection sequence sent by the first device, and quantizes the phase information to obtain a second digital signal. The first device and the second device can upload the quantized first digital signal and the second digital signal to the blockchain accounting node for the blockchain accounting node to reconcile the information.

[0126] Step 102: The blockchain accounting node determines the correct order of the difference bits between the first digital signal and the second digital signal;

[0127] Step 103: The blockchain accounting node enters the correct order of the difference bits, the electronic certificate of the first device, and the electronic certificate of the second device into the smart contract of the blockchain device.

[0128] The blockchain accounting node can compare the difference bits between the first digital signal and the second digital signal, thereby reconciling the difference bits to obtain the correct bit sequence. The blockchain accounting node writes the correct bit sequence and the electronic certificates of the first device and the second device into the smart contract, and publishes the correct bit sequence through the smart contract.

[0129] In the embodiment of the present application, the blockchain accounting node obtains the digital signal corresponding to the phase information obtained by the first device and the second device respectively, determines the correct order of the difference bits according to the digital signals of both parties, thereby reconciling the difference bits to obtain the correct order, and writes the correct bit order into the smart contract, and publishes it through the smart contract. Using the blockchain accounting node as a third party to reconcile the information in the key generation of the ubiquitous network device avoids the use of ubiquitous network terminal devices under resource-constrained conditions for information reconciliation, can reduce device energy consumption, ensure the accuracy of key generation, and at the same time avoid information leakage due to key negotiation between two communication devices when a secure and trusted connection is not established, thereby ensuring the security of communication information.

[0130] Optionally, the information reconciliation system architecture for generating a key in the embodiment of the present application is as follows: Figure 2 As shown, it can include multiple blockchain accounting nodes, blockchain devices, devices and trust institutions TA. Among them, the device is a ubiquitous network terminal device, which has the ability to communicate between devices, with accounting nodes, and blockchain networks. In the blockchain network, the terminal device does not participate in the operation and maintenance of the blockchain, and can only view the public data of the blockchain network.

[0131] Blockchain devices refer to blockchain network platforms participated by blockchain accounting nodes and ubiquitous network devices. They are distributed decentralized electronic ledgers and can also be called blockchain platforms. Trust institutions TA have the ability to initialize system parameters, register network nodes, and publish key information and electronic certificates. TA is not directly connected to the blockchain network.

[0132] Optionally, TA first initializes each node and device in the system, and first selects its own public key and private key pair (Sk TA ,Pk TA ). Specifically, TA runs the key generation algorithm as the key manager to generate a public key and private key pair (pk, sk); and signs the private key sk: is a set of numbers {1…,q-1}, q is a large prime number; sign the public key pk: Pk i =G*Sk i ∈G, where G is a finite group G ’ A cyclic subgroup in . TA distributes the signed public key and private key pair to each device. TA publishes public parameters, which include: prime number cyclic group, order, generator, and hash function; wherein the public parameters are preset values, which can be determined by negotiation of each system participating in the communication. The first device and the second device participating in the communication are registered with TA respectively, and TA distributes the public key and private key pair and the corresponding electronic certificate to the first device and the second device, and the electronic certificate can be used as the identity of the device to access the system in the network.

[0133] The device registers with TA and sends the device ID and public key (ID, Pk i ) is uploaded to TA, and after verification, TA sends its corresponding certificate cert to the device i ←Sign(Sk i ,Pk i ,time,ID i ). The first device and the second device verify each other's electronic certificates to ensure that the two parties establish a legal connection.

[0134] Optionally, the process in which the first device and the second device verify each other's electronic certificates is, for example:

[0135] Assume that the first device 1 and the second device are denoted as N1 and N2 respectively. At time point T1, N1 sends a communication request message to N2. The message uses an electronic signature and is attached with the electronic certificate distributed to the device by the key administrator TA. The communication request message includes N1's electronic certificate, the time when the message was sent, and N1's electronic signature: <cert N1 ,T1,Sign N1 >.

[0136] After receiving the communication request message, N2 verifies N1's electronic certificate. If the verification is successful, N2 replies with a communication response message, which includes N2's electronic certificate, information sending time, and N2's electronic signature: <cert N2 ,T2,Sign N2 >.

[0137] N1 verifies the electronic certificate of N2. If both parties pass the verification, it means that a legal connection has been established. Optionally, the first device and the second device can verify whether the certificate is credible based on the certificate revocation list provided by TA. Optionally, if the electronic certificate is verified, the electronic signature can also be verified by the public key. If the electronic signature is also verified, it is considered that the communicating devices have established a legal connection.

[0138] Optionally, the first device and the second device complete initial authentication of communication by verifying the electronic certificate. The first device and the second device obtain digital signals corresponding to the phase information by using a channel sounding sequence and a phase quantization method respectively.

[0139] As an optional embodiment, the acquiring of the digital signal corresponding to the phase information of the channel response includes at least one of the following:

[0140] Receive a first data packet sent by a first device, the first data packet including a first digital signal and an electronic certificate of the first device, the first digital signal being a digital signal obtained after encryption processing based on a public key of a blockchain accounting node;

[0141] Receive a second data packet sent by a second device, where the second data packet includes a second digital signal and an electronic certificate of the second device, where the second digital signal is a digital signal obtained after encryption processing based on a public key of a blockchain accounting node.

[0142] In this embodiment, the first device and the second device respectively use the public key of the blockchain accounting node to encrypt the digital signal corresponding to the phase information of the channel response, and send it to the blockchain accounting node after attaching their respective electronic certificates.

[0143] Optionally, the method also includes: verifying the credibility of the electronic certificate of the first device and the electronic certificate of the second device respectively according to the certificate revocation list CRL of the trusted authority TA; if the CRL includes the electronic certificate, ignoring the digital signal corresponding to the electronic certificate; if the CRL does not include the electronic certificate, determining that the electronic certificate verification is successful.

[0144] In this embodiment, when the blockchain accounting node receives the first data packet sent by the first device and / or the second data packet sent by the second device, it can verify whether the electronic certificates of each device are credible by querying the certificate revocation list provided by TA. Specifically, if the certificate revocation list includes the electronic certificate of the first device and / or the electronic certificate of the second device, it means that the verification fails, and the blockchain accounting node ignores the message of the first device and / or the second device.

[0145] As an optional embodiment, determining a correct order of difference bits between the first digital signal and the second digital signal includes:

[0146] The first digital signal and the second digital signal are compared to obtain a comparison result; the difference bits between the first digital signal and the second digital signal are determined according to the comparison result; and the correct order of the difference bits is determined.

[0147] Optionally, determining the correct order of the difference bits includes: determining the correct order of the difference bits when it is determined according to the comparison result that the same bits between the first digital signal and the second digital signal are greater than a first threshold.

[0148] The first threshold value can be set according to the requirements of information reconciliation. When the number of identical bits between the first digital signal and the second digital signal is greater than the first threshold value, it indicates that the difference between the first digital signal and the second digital signal is small, and the blockchain accounting node can reconcile the digital signal to obtain the correct bit sequence. Optionally, if the number of identical bits between the first digital signal and the second digital signal is less than the first threshold value, it indicates that the difference between the first digital signal and the second digital signal is large, and the blockchain accounting node can abandon the information reconciliation.

[0149] In this embodiment, the blockchain accounting node compares the first digital signal and the second digital signal to determine the difference bits, and performs information reconciliation operation to obtain the correct order of the difference bits. The blockchain accounting node can write the correct order of the difference bits and the electronic certificates of the first device and the second device into the smart contract of the blockchain and publish it through the blockchain network.

[0150] The first device and the second device can obtain the correct bit sequence by calling the smart contract command, thereby determining the shared key of the first device and the second device. The first device can use the shared key to encrypt information, and the second device can use the shared key to decrypt the information after receiving the information.

[0151] In the embodiment of the present application, the blockchain accounting node performs the information reconciliation for generating a key as follows: Figure 3 As shown, it may include:

[0152] Step 31: The first device and the second device encrypt the digital signal (a digital signal is a string of bit information) obtained after quantization and send it to the blockchain accounting node;

[0153] Step 32: The blockchain accounting node verifies whether the information is credible by querying the CRL;

[0154] Step 33: The blockchain accounting node performs a reconciliation operation on the difference bits to obtain the correct order of the difference bits;

[0155] Step 34: The blockchain accounting node writes the correct order of the difference bits into the smart contract;

[0156] Step 35: The first device and the second device can call the smart contract to obtain the correct order of the difference bits, and combine the existing string operation to obtain the shared key.

[0157] The following is a specific example of how to implement communication using the information reconciliation method of the present application.

[0158] like Figure 4 As shown, in this embodiment, there are 1 trust institution TA, 2 blockchain accounting nodes: accounting node 1, accounting node 2; 2 ubiquitous Internet of Things devices: device 1, device 2, both of which are under the management scope of accounting node 1; and a blockchain device. The implementation process includes:

[0159] Step 41: System initialization, the trust agency TA selects a public key and a private key pair (Sk TA ,PK TA ), publish public parameters, including: prime cyclic group, order, generator, and hash function;

[0160] Step 42: Device 1 and device 2 register their information with the trust authority TA administrator respectively, and obtain the corresponding public key and private key pair and electronic certificate, which are represented as (sk1, pk1, cert N1 ), (sk2,pk2,cert N2 );

[0161] Step 43: There is a communication demand between device 1 and device 2, and the two devices start initial authentication. At the initial transmission time T1, device 1 sends a communication request to device 2. The communication request uses an electronic signature and attaches the electronic certificate distributed by TA to the device. The communication request information includes <cert N1 ,T1,Sign N1 >.

[0162] Step 44a: After receiving the communication request, device 2 verifies the electronic certificate of device 1. Verifies whether the electronic certificate is credible through the certificate revocation list provided by TA. Verifies the electronic signature through the public key pk1. If the verification is successful, further, device 2 replies to device 1 with a communication response, which includes <cert N2 ,T2,Sign N2 > If the verification fails, device 2 ignores the communication request.

[0163] Step 44b: Device 1 verifies the electronic certificate and electronic signature of device 2 in the same manner as step 44a. If the verification succeeds, a legal connection is established between device 1 and device 2. If the verification fails, device 1 ignores the communication response.

[0164] Step 45: Device 1 sends a second channel detection sequence to device 2 After receiving the signal, device 2 records the second channel detection sequence as where α 12 is the forward channel gain from the first device to the second device, θ 12 is the phase response from the first device to the second device, η 12 is the additive white Gaussian noise from the first device to the second device, and φ1 is the initial phase of device 1.

[0165] Step 46: Device 2 sends a first channel detection sequence to device 1 After receiving the signal, device 1 records the first channel detection sequence as where α 21 is the forward channel gain from the second device to the first device, θ 21 is the phase response of the second device to the first device, η 21 is the additive white Gaussian noise from the second device to the first device, and φ2 is the initial phase of device 2.

[0166] Step 47: Device 1 calculates the final phase information S1=φ of the channel response 21 +φ1mod 2π, where φ 21 ≈φ2+θ 21 .

[0167] Step 48: Device 2 calculates the final phase information S2=φ of the channel response 12 +φ2mod 2π, where φ 12 ≈φ1+θ 12 .

[0168] Step 49: Device 1 and device 2 quantize the phase information S1 and S2 respectively to obtain a digital signal k S1 and k S2 ;

[0169] Step 410: Device 1 and device 2 use the public key pk of accounting node 1 respectively ad1 The quantized result k S1 and k S2 Encryption processing to obtain: and Device 1 attaches its electronic certificate to the encrypted data packet, and obtains: And send the data packet to accounting node 1; device 2 attaches the electronic certificate of device 2 to the encrypted data packet, and obtains: And send the data packet to accounting node 1.

[0170] Step 411: Accounting node 1 verifies whether the electronic certificate in the received data packet is credible by querying the certificate revocation list provided by TA. If the electronic certificate is in the certificate revocation list, accounting node 1 ignores the corresponding device message; otherwise, the electronic certificate verification is successful.

[0171] Step 412: Accounting Node 1 confirms k S1 and k S2 Is there a sufficient proportion of consistent bits (for example, the same bits are greater than the first threshold), and then perform information reconciliation operations to obtain the correct order of the difference bits

[0172] Step 413: Accounting node 1 converts Seq 1-2 and cert N1 ,cert N2 Written into the blockchain’s smart contract and published through the blockchain network;

[0173] Step 414: Device 1 and Device 2 obtain Seq by calling the smart contract command 1-2 , device 1 obtains the shared key by calculation Device 2 also obtains the shared key through the same operation

[0174] Step 415: Device 1 encrypts the information by using the shared key k, and after receiving the information, device 2 decrypts the information by using the shared key. If the decryption is successful, a secure encrypted communication connection is established; if the decryption fails, device 2 ignores the communication request.

[0175] The embodiments of the present application, by introducing the network architecture of the blockchain, use the accounting nodes in the blockchain network as a third party to coordinate information in key generation for ubiquitous network devices, thereby avoiding the use of ubiquitous network terminal devices for information coordination under resource-constrained conditions and reducing device energy consumption; it can also avoid information leakage due to key negotiation between two devices when secure and trusted communication has not been established.

[0176] The communication smart contract releases the key information in the information reconciliation, and uses the unchangeable, open and transparent characteristics of the blockchain to ensure the credibility of the accounting node as a third party. At the same time, because of the programmable system of the smart contract, resource-constrained terminal devices can still call the information they release through the smart contract program without the need to fully store the blockchain distributed ledger.

[0177] In the embodiment of the present application, the blockchain accounting node obtains the digital signal corresponding to the phase information obtained by the first device and the second device respectively, determines the correct order of the difference bits according to the digital signals of both parties, thereby reconciling the difference bits to obtain the correct order, and writes the correct bit order into the smart contract, and publishes it through the smart contract. Using the blockchain accounting node as a third party to reconcile the information in the key generation of the ubiquitous network device avoids the use of ubiquitous network terminal devices under resource-constrained conditions for information reconciliation, can reduce device energy consumption, ensure the accuracy of key generation, and at the same time avoid information leakage due to key negotiation between two communication devices when a secure and trusted connection is not established, thereby ensuring the security of communication information.

[0178] like Figure 5 As shown, the embodiment of the present application also provides a key generation method, which is applied to a first device, including:

[0179] Step 501: The first device sends a first digital signal corresponding to the phase information of the channel response to the blockchain accounting node.

[0180] Step 502: The first device determines the correct order of difference bits between the first digital signal and the second digital signal according to the smart contract of the blockchain; the second digital signal is a digital signal corresponding to the phase information of the channel response obtained by the second device;

[0181] Step 503: The first device determines a shared key between the first device and the second device according to the first digital signal and the correct order of the difference bits.

[0182] In this embodiment, the first device and the second device may be terminals, and the second device is a communication peer device of the first device. During the system initialization phase, the first device and the second device need to register with a trust agency TA, and the trust agency TA distributes public key and private key pairs and corresponding electronic certificates to each device. The first device and the second device respectively verify each other's electronic certificates, and if the verification is passed, use the channel detection sequence to determine the phase information of the channel response, and determine the digital signal corresponding to the phase information. The digital signal may be obtained by quantizing the phase information.

[0183] Specifically, the first device determines the phase information of the channel response according to the channel sounding sequence sent by the second device, and quantizes the phase information to obtain a first digital signal. The second device determines the phase information of the channel response according to the channel sounding sequence sent by the first device, and quantizes the phase information to obtain a second digital signal. The first device and the second device can upload the quantized first digital signal and the second digital signal to the blockchain accounting node for the blockchain accounting node to reconcile the information.

[0184] The blockchain accounting node can compare the difference bits of the first digital signal and the second digital signal, thereby reconciling the difference bits to obtain the correct bit sequence. The blockchain accounting node writes the correct bit sequence and the electronic certificates of the first device and the second device into the smart contract, and publishes the correct bit sequence through the smart contract. The first device and the second device can obtain the correct bit sequence by calling the smart contract, and obtain the shared key through calculation based on the existing string.

[0185] In an embodiment of the present application, the first device sends a first digital signal corresponding to the phase information of the channel response to the blockchain accounting node; the blockchain accounting node determines the correct order of the difference bits based on the digital signal of the first device and the digital signal of the second device, thereby reconciling the difference bits to obtain the correct order, and writes the correct bit order into the smart contract, and publishes it through the smart contract. This application uses the blockchain accounting node as a third party to reconcile the information in the key generation of the ubiquitous network device, avoiding the use of ubiquitous network terminal devices under resource-constrained conditions to reconcile information, which can reduce device energy consumption and ensure the accuracy of key generation. At the same time, it can avoid information leakage due to key negotiation between two communication devices when a secure and trusted connection is not established, thereby ensuring the security of communication information.

[0186] As an optional embodiment, the method further includes: determining phase information of the channel response according to a first channel detection sequence sent by the second device; and quantizing the phase information to obtain a first digital signal corresponding to the phase information.

[0187] In this embodiment, the first device and the second device complete the initial authentication of communication by verifying each other's electronic certificates. After the electronic certificate is verified, the second device sends a first channel detection sequence to the first device, and the first device can determine the phase information of the channel response according to the channel detection sequence, and quantize the phase information to obtain a first digital signal corresponding to the phase information.

[0188] Optionally, after the electronic certificate is verified, the second device sends a first channel detection sequence to the first device. The first device can determine the phase information of the channel response according to the channel detection sequence, and quantize the phase information to obtain a second digital signal corresponding to the phase information.

[0189] The blockchain accounting node compares the difference bits between the first digital signal and the second digital signal, thereby reconciling the difference bits to obtain the correct bit sequence, and writes the correct bit sequence and the electronic certificates of the first device and the second device into the smart contract, and publishes the correct bit sequence through the smart contract.

[0190] Optionally, the method further includes: obtaining a smart contract published by a blockchain device.

[0191] Optionally, determining the shared key between the first device and the second device based on the first digital signal and the correct order of the difference bits includes: harmonizing the first digital signal according to the correct order of the difference bits to obtain the shared key.

[0192] In this embodiment, the first device can obtain the correct bit sequence by calling the smart contract command, and correct the erroneous bits based on the existing string, thereby obtaining the shared key between the first device and the second device. The first device can use the shared key to encrypt information, and the second device can use the shared key to decrypt the information after receiving the information.

[0193] The embodiments of the present application use the blockchain accounting node as a third party to reconcile the information in the key generation of the ubiquitous network device, thereby avoiding the use of ubiquitous network terminal devices under resource-constrained conditions to perform information reconciliation, which can reduce device energy consumption and ensure the accuracy of key generation. At the same time, it can avoid information leakage due to key negotiation between two communication devices when a secure and trusted connection is not established, thereby ensuring the security of communication information.

[0194] like Figure 6 As shown, the embodiment of the present application also provides a key generation method, which is applied to a second device, including:

[0195] Step 601: The second device sends a second digital signal corresponding to the phase information of the channel response to the blockchain accounting node;

[0196] Step 602: The second device determines the correct order of difference bits between the second digital signal and the first digital signal according to the smart contract of the blockchain; the first digital signal is a digital signal corresponding to the phase information of the channel response obtained by the first device;

[0197] Step 603: The second device determines a shared key between the first device and the second device according to the second digital signal and the correct sequence of the difference bits.

[0198] In this embodiment, the first device and the second device need to register with the trust agency TA during the system initialization phase, and the trust agency TA distributes public key and private key pairs and corresponding electronic certificates to each device. The first device and the second device respectively verify each other's electronic certificates. When the electronic integer verification passes, the first device determines the phase information of the channel response according to the channel detection sequence sent by the second device, and quantizes the phase information to obtain a first digital signal. The second device determines the phase information of the channel response according to the channel detection sequence sent by the first device, and quantizes the phase information to obtain a second digital signal. The first device and the second device can upload the quantized first digital signal and the second digital signal to the blockchain accounting node for the blockchain accounting node to reconcile the information.

[0199] The blockchain accounting node can compare the difference bits of the first digital signal and the second digital signal, thereby reconciling the difference bits to obtain the correct bit sequence. The blockchain accounting node writes the correct bit sequence and the electronic certificates of the first device and the second device into the smart contract, and publishes the correct bit sequence through the smart contract. The first device and the second device can obtain the correct bit sequence by calling the smart contract, and obtain the shared key through calculation based on the existing string.

[0200] Optionally, the method further includes:

[0201] According to the second channel detection sequence sent by the first device, phase information of the channel response is determined; and the phase information is quantized to obtain a second digital signal corresponding to the phase information.

[0202] In this embodiment, the first device and the second device complete the initial authentication of communication by verifying each other's electronic certificates. After the electronic certificate is verified, the first device sends a second channel detection sequence to the second device, and the second device can determine the phase information of the channel response according to the channel detection sequence, and quantize the phase information to obtain a second digital signal corresponding to the phase information.

[0203] Optionally, the method further includes: obtaining a smart contract published by a blockchain device.

[0204] Optionally, determining the shared key between the first device and the second device based on the second digital signal and the correct order of the difference bits includes: harmonizing the second digital signal according to the correct order of the difference bits to obtain the shared key.

[0205] In this embodiment, the second device can obtain the correct bit sequence by calling the smart contract command, and correct the erroneous bits based on the existing string, thereby obtaining the shared key between the first device and the second device. The first device can use the shared key to encrypt information, and the second device can use the shared key to decrypt the information after receiving the information.

[0206] The embodiments of the present application use the blockchain accounting node as a third party to reconcile the information in the key generation of the ubiquitous network device, thereby avoiding the use of ubiquitous network terminal devices under resource-constrained conditions to perform information reconciliation, which can reduce device energy consumption and ensure the accuracy of key generation. At the same time, it can avoid information leakage due to key negotiation between two communication devices when a secure and trusted connection is not established, thereby ensuring the security of communication information.

[0207] The present application also provides an information reconciliation system for generating a key, including:

[0208] Blockchain devices;

[0209] A blockchain accounting node that is communicatively connected to the blockchain device;

[0210] A device that is communicatively connected to the blockchain device and the blockchain accounting node, respectively, the device comprising a first device and a second device, the second device being a communication peer device of the first device;

[0211] The first device is used to send a first digital signal corresponding to the phase information of the channel response to the blockchain accounting node; the second device is used to send a second digital signal corresponding to the phase information of the channel response to the blockchain accounting node;

[0212] The blockchain accounting node is used to determine the correct order of the difference bits between the first digital signal and the second digital signal; enter the correct order of the difference bits, the electronic certificate of the first device, and the electronic certificate of the second device into the smart contract of the blockchain device;

[0213] The blockchain device is used to publish the smart contract.

[0214] Optionally, taking the system shown as including 2 blockchain accounting nodes as an example, the system architecture is as follows Figure 2 As shown. The device is a ubiquitous network terminal device, which has the ability to communicate between devices, with accounting nodes, and with the blockchain network. In the blockchain network, the terminal device does not participate in the operation and maintenance of the blockchain, and can only view the data disclosed by the blockchain network. The device may include a first device and a second device.

[0215] Blockchain devices refer to blockchain network platforms participated by blockchain accounting nodes and ubiquitous network devices. They are distributed decentralized electronic ledgers. Trust institutions TA have the ability to initialize system parameters, register network nodes, publish key information and electronic certificates, and TA is not directly connected to the blockchain network.

[0216] The blockchain accounting node is the main node of the blockchain network, which is used to provide computing power, operation and maintenance, and publish accounting information for the blockchain network; the blockchain accounting node can communicate with the device and provide authentication and information reconciliation capabilities for the device.

[0217] The blockchain accounting node can implement all the steps in the above-mentioned information reconciliation method for generating keys applied to the blockchain accounting node; the device can implement all the steps in the above-mentioned key generation method applied to the first device and the second device side, which will not be repeated here.

[0218] The embodiments of the present application, by introducing the network architecture of the blockchain, use the accounting nodes in the blockchain network as a third party to coordinate information in key generation for ubiquitous network devices, thereby avoiding the use of ubiquitous network terminal devices for information coordination under resource-constrained conditions and reducing device energy consumption; it can also avoid information leakage due to key negotiation between two devices when secure and trusted communication has not been established.

[0219] The communication smart contract releases the key information in the information reconciliation, and uses the unchangeable, open and transparent characteristics of the blockchain to ensure the credibility of the accounting node as a third party. At the same time, because of the programmable system of the smart contract, resource-constrained terminal devices can still call the information they release through the smart contract program without the need to fully store the blockchain distributed ledger.

[0220] The above embodiments introduce the information reconciliation method and key generation method of the present application. The following embodiments will further illustrate the corresponding devices in conjunction with the accompanying drawings.

[0221] Specifically, Figure 7 As shown, the embodiment of the present application provides an information reconciliation device 700 for generating a key, which is applied to a blockchain accounting node, including:

[0222] The first acquisition unit 710 is used to acquire a digital signal corresponding to the phase information of the channel response, wherein the digital signal includes: a first digital signal corresponding to the phase information obtained by the first device; a second digital signal corresponding to the phase information obtained by the second device; the second device is the first device and the communication peer device;

[0223] A first determining unit 720, configured to determine a correct order of difference bits between the first digital signal and the second digital signal;

[0224] The recording module 730 is used to enter the correct order of the difference bits, the electronic certificate of the first device, and the electronic certificate of the second device into the smart contract of the blockchain device.

[0225] Optionally, the first acquiring unit is specifically configured to perform at least one of the following:

[0226] Receive a first data packet sent by a first device, the first data packet including a first digital signal and an electronic certificate of the first device, the first digital signal being a digital signal obtained after encryption processing based on a public key of a blockchain accounting node;

[0227] Receive a second data packet sent by a second device, where the second data packet includes a second digital signal and an electronic certificate of the second device, where the second digital signal is a digital signal obtained after encryption processing based on a public key of a blockchain accounting node.

[0228] Optionally, the device further comprises:

[0229] a verification unit, configured to verify the credibility of the electronic certificate of the first device and the electronic certificate of the second device respectively according to a certificate revocation list CRL of a trusted authority TA;

[0230] The first processing unit is configured to ignore the digital signal corresponding to the electronic certificate if the CRL includes the electronic certificate; and determine that the electronic certificate has been verified successfully if the CRL does not include the electronic certificate.

[0231] Optionally, the second determining unit is specifically configured to:

[0232] comparing the first digital signal and the second digital signal to obtain a comparison result;

[0233] determining a difference bit between the first digital signal and the second digital signal according to the comparison result;

[0234] The correct order of the difference bits is determined.

[0235] Optionally, the second determining unit is specifically configured to:

[0236] In the case where it is determined according to the comparison result that the same bits between the first digital signal and the second digital signal are greater than a first threshold, a correct order of the difference bits is determined.

[0237] It should be noted here that the above-mentioned device provided in the embodiment of the present application can implement all the method steps implemented by the above-mentioned method embodiment applied to the blockchain accounting node, and can achieve the same technical effect. The parts and beneficial effects that are the same as those in the method embodiment in this embodiment will not be specifically repeated here.

[0238] Specifically, Figure 8 As shown, the embodiment of the present application provides a key generation device 600, which is applied to a first device, including:

[0239] A first sending unit 810 is used to send a first digital signal corresponding to the phase information of the channel response to a blockchain accounting node;

[0240] The second determination unit 820 determines the correct order of the difference bits between the first digital signal and the second digital signal according to the smart contract of the blockchain; the second digital signal is a digital signal corresponding to the phase information of the channel response obtained by the second device;

[0241] The third determining unit 830 is configured to determine a shared key between the first device and the second device according to the first digital signal and a correct sequence of the difference bits.

[0242] Optionally, the device further comprises:

[0243] a sixth determining unit, configured to determine phase information of a channel response according to a first channel sounding sequence sent by a second device;

[0244] The second processing unit is used to perform quantization processing on the phase information to obtain a first digital signal corresponding to the phase information.

[0245] Optionally, the device further comprises:

[0246] The second acquisition module is used to obtain the smart contract published by the blockchain device.

[0247] Optionally, the third determining unit is specifically configured to:

[0248] The first digital signal is harmonized according to the correct sequence of the difference bits to obtain the shared key.

[0249] It should be noted here that the above-mentioned device provided in the embodiment of the present application can implement all the method steps implemented by the above-mentioned method embodiment applied to the first device, and can achieve the same technical effect. The parts and beneficial effects of this embodiment that are the same as the method embodiment will not be described in detail here.

[0250] Specifically, Fig. 9As shown, the embodiment of the present application provides a key generation device 900, which is applied to a second device, including:

[0251] A second sending unit 910 is used to send a second digital signal corresponding to the phase information of the channel response to the blockchain accounting node;

[0252] A fourth determining unit 920 is used to determine the correct order of difference bits between the second digital signal and the first digital signal according to the smart contract of the blockchain; the first digital signal is a digital signal corresponding to the phase information of the channel response obtained by the first device;

[0253] The fifth determining unit 930 is configured to determine a shared key between the first device and the second device according to the second digital signal and a correct sequence of the difference bits.

[0254] Optionally, the device further comprises:

[0255] a seventh determining unit, configured to determine phase information of a channel response according to a second channel sounding sequence sent by the first device;

[0256] The third processing unit is used to perform quantization processing on the phase information to obtain a second digital signal corresponding to the phase information.

[0257] Optionally, the fifth determining unit is specifically configured to:

[0258] The second digital signal is harmonized according to the correct sequence of the difference bits to obtain the shared key.

[0259] It should be noted here that the above-mentioned device provided in the embodiment of the present application can implement all the method steps implemented by the above-mentioned method embodiment applied to the second device, and can achieve the same technical effect. The parts and beneficial effects of this embodiment that are the same as the method embodiment will not be described in detail here.

[0260] It should be noted that the division of units in the embodiments of the present application is schematic and is only a logical function division. There may be other division methods in actual implementation. In addition, each functional unit in each embodiment of the present application may be integrated into a processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0261] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a processor-readable storage medium. Based on this understanding, the technical solution of the present application is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions to enable a computer device (which can be a personal computer, server, or network device, etc.) or a processor (processor) to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), disk or optical disk and other media that can store program codes.

[0262] like Fig.10 As shown, an embodiment of the present application further provides a network device, which may be a blockchain accounting node, including: a memory 1020, a transceiver 1000, and a processor 1010; wherein the memory 1020 is used to store a computer program; the transceiver 1000 is used to receive and send data under the control of the processor 1010; the processor 1010 is used to read the computer program in the memory and perform the following operations:

[0263] Acquire a digital signal corresponding to the phase information of the channel response, the digital signal comprising: a first digital signal corresponding to the phase information obtained by the first device; a second digital signal corresponding to the phase information obtained by the second device; the second device is the first device and the communication peer device;

[0264] determining a correct sequence of difference bits between the first digital signal and the second digital signal;

[0265] The blockchain accounting node enters the correct order of the difference bits, the electronic certificate of the first device, and the electronic certificate of the second device into the smart contract of the blockchain device.

[0266] Optionally, the processor is configured to read the computer program in the memory and perform at least one of the following operations:

[0267] Receive a first data packet sent by a first device, the first data packet including a first digital signal and an electronic certificate of the first device, the first digital signal being a digital signal obtained after encryption processing based on a public key of a blockchain accounting node;

[0268] Receive a second data packet sent by a second device, where the second data packet includes a second digital signal and an electronic certificate of the second device, where the second digital signal is a digital signal obtained after encryption processing based on a public key of a blockchain accounting node.

[0269] Optionally, the processor is configured to read the computer program in the memory and perform the following operations:

[0270] Verify the credibility of the electronic certificate of the first device and the electronic certificate of the second device respectively according to the certificate revocation list CRL of the trust authority TA;

[0271] If the CRL includes the electronic certificate, the digital signal corresponding to the electronic certificate is ignored; if the CRL does not include the electronic certificate, it is determined that the electronic certificate verification is successful.

[0272] Optionally, the processor is configured to read the computer program in the memory and perform the following operations:

[0273] Comparing the first digital signal with the second digital signal to obtain a comparison result;

[0274] determining a difference bit between the first digital signal and the second digital signal according to the comparison result;

[0275] The correct order of the difference bits is determined.

[0276] Optionally, the processor is configured to read the computer program in the memory and perform the following operations:

[0277] In the case where it is determined according to the comparison result that the same bits between the first digital signal and the second digital signal are greater than a first threshold, a correct order of the difference bits is determined.

[0278] Among them, Fig.10 In the embodiment, the bus architecture may include any number of interconnected buses and bridges, specifically linking together various circuits of one or more processors represented by processor 1010 and memory represented by memory 1020. The bus architecture may also link together various other circuits such as peripherals, voltage regulators, and power management circuits, which are well known in the art and are therefore not further described herein. The bus interface provides an interface. The transceiver 1000 may be a plurality of components, namely including a transmitter and a transceiver, providing a unit for communicating with various other devices on a transmission medium. The processor 1010 is responsible for managing the bus architecture and general processing, and the memory 1020 may store data used by the processor 1010 when performing operations.

[0279] The processor 1010 may be a central processing unit (CPU), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA) or a complex programmable logic device (CPLD). The processor may also adopt a multi-core architecture.

[0280] It should be noted here that the above-mentioned network device provided in the embodiment of the present application can implement all the method steps implemented in the above-mentioned method embodiment applied to the blockchain accounting node, and can achieve the same technical effect. The parts and beneficial effects that are the same as the method embodiment in this embodiment will not be described in detail here.

[0281] like Fig.11 As shown, an embodiment of the present application further provides a terminal, which may be a first device, including: a memory 1120, a transceiver 1100, and a processor 1110; wherein the memory 1120 is used to store a computer program; the transceiver 1100 is used to receive and send data under the control of the processor 1110; the processor 1110 is used to read the computer program in the memory and perform the following operations:

[0282] Sending a first digital signal corresponding to the phase information of the channel response to the blockchain accounting node;

[0283] Determine the correct order of the difference bits between the first digital signal and the second digital signal according to the smart contract of the blockchain; the second digital signal is a digital signal corresponding to the phase information of the channel response obtained by the second device;

[0284] A shared key between the first device and the second device is determined according to the first digital signal and the correct sequence of the difference bits.

[0285] Optionally, the processor is configured to read the computer program in the memory and perform the following operations:

[0286] Determining phase information of a channel response according to a first channel sounding sequence sent by the second device;

[0287] The phase information is quantized to obtain a first digital signal corresponding to the phase information.

[0288] Optionally, the processor is configured to read the computer program in the memory and perform the following operations:

[0289] Get the smart contract published by the blockchain device.

[0290] Optionally, the processor is configured to read the computer program in the memory and perform the following operations:

[0291] The first digital signal is harmonized according to the correct sequence of the difference bits to obtain the shared key.

[0292] Among them, Fig.11 In the embodiment, the bus architecture may include any number of interconnected buses and bridges, specifically one or more processors represented by processor 1110 and various circuits of memory represented by memory 1120 are linked together. The bus architecture may also link together various other circuits such as peripherals, voltage regulators, and power management circuits, which are well known in the art and are therefore not further described herein. The bus interface provides an interface. The transceiver 1100 may be a plurality of components, namely, a transmitter and a transceiver, providing a unit for communicating with various other devices on a transmission medium. For different user devices, the user interface 1130 may also be an interface capable of externally and internally connecting required devices, and the connected devices include but are not limited to a keypad, a display, a speaker, a microphone, a joystick, and the like.

[0293] The processor 1110 is responsible for managing the bus architecture and general processing, and the memory 1120 can store data used by the processor 1110 when performing operations.

[0294] Optionally, the processor 1110 may be a central processing unit (CPU), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA) or a complex programmable logic device (CPLD), and the processor may also adopt a multi-core architecture.

[0295] The processor calls the computer program stored in the memory to execute any of the methods provided in the embodiments of the present application according to the obtained executable instructions. The processor and the memory can also be arranged physically separately.

[0296] It should be noted here that the above-mentioned terminal provided in the embodiment of the present application can implement all the method steps implemented by the above-mentioned method embodiment applied to the first device, and can achieve the same technical effect. The parts and beneficial effects that are the same as the method embodiment in this embodiment will not be described in detail here.

[0297] like Fig.12As shown, an embodiment of the present application further provides a terminal, which may be a second device, including: a memory 1220, a transceiver 1200, and a processor 1210; wherein the memory 1220 is used to store a computer program; the transceiver 1200 is used to receive and send data under the control of the processor 1210; the processor 1210 is used to read the computer program in the memory and perform the following operations:

[0298] Sending a second digital signal corresponding to the phase information of the channel response to the blockchain accounting node;

[0299] Determine the correct order of difference bits between the second digital signal and the first digital signal according to the smart contract of the blockchain; the first digital signal is a digital signal corresponding to the phase information of the channel response obtained by the first device;

[0300] A shared key between the first device and the second device is determined according to the second digital signal and the correct sequence of the difference bits.

[0301] Optionally, the processor is configured to read the computer program in the memory and perform the following operations:

[0302] Determining phase information of a channel response according to a second channel sounding sequence sent by the first device;

[0303] The phase information is quantized to obtain a second digital signal corresponding to the phase information.

[0304] Optionally, the processor is configured to read the computer program in the memory and perform the following operations:

[0305] The second digital signal is harmonized according to the correct sequence of the difference bits to obtain the shared key.

[0306] Among them, Fig.12 In the embodiment, the bus architecture may include any number of interconnected buses and bridges, specifically one or more processors represented by processor 1210 and various circuits of memory represented by memory 1220 are linked together. The bus architecture may also link together various other circuits such as peripherals, voltage regulators, and power management circuits, which are well known in the art and are therefore not further described herein. The bus interface provides an interface. The transceiver 1200 may be a plurality of components, namely, a transmitter and a transceiver, providing a unit for communicating with various other devices on a transmission medium. For different user devices, the user interface 1230 may also be an interface capable of externally and internally connecting required devices, and the connected devices include but are not limited to a keypad, a display, a speaker, a microphone, a joystick, and the like.

[0307] The processor 1210 is responsible for managing the bus architecture and general processing, and the memory 1220 can store data used by the processor 1210 when performing operations.

[0308] Optionally, the processor 1210 may be a central processing unit (CPU), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA) or a complex programmable logic device (CPLD), and the processor may also adopt a multi-core architecture.

[0309] The processor calls the computer program stored in the memory to execute any of the methods provided in the embodiments of the present application according to the obtained executable instructions. The processor and the memory can also be arranged physically separately.

[0310] It should be noted here that the above-mentioned terminal provided in the embodiment of the present application can implement all the method steps implemented by the above-mentioned method embodiment applied to the second device, and can achieve the same technical effect. The parts and beneficial effects of this embodiment that are the same as the method embodiment will not be described in detail here.

[0311] In addition, a specific embodiment of the present application also provides a processor-readable storage medium on which a computer program is stored, wherein when the program is executed by the processor, the steps of the information reconciliation method for generating a key as described above are implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.

[0312] A specific embodiment of the present application also provides a processor-readable storage medium on which a computer program is stored, wherein when the program is executed by the processor, the steps of the key generation method as described above are implemented and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.

[0313] Among them, the readable storage medium can be any available medium or data storage device that can be accessed by the processor, including but not limited to magnetic storage (such as floppy disks, hard disks, magnetic tapes, magneto-optical disks (MO), etc.), optical storage (such as CD, DVD, BD, HVD, etc.), and semiconductor storage (such as ROM, EPROM, EEPROM, non-volatile memory (NANDFLASH), solid-state drive (SSD)), etc.

[0314] It should be noted that the technical solution provided in the embodiment of the present application can be applicable to a variety of systems, especially 5G systems. For example, the applicable system can be a global system of mobile communication (GSM) system, a code division multiple access (CDMA) system, a wideband code division multiple access (WCDMA) general packet radio service (GPRS) system, a long term evolution (LTE) system, a LTE frequency division duplex (FDD) system, a LTE time division duplex (TDD) system, an advanced long term evolution (LTE-A) system, a universal mobile telecommunication system (UMTS), a world-wide interoperability for microwave access (WiMAX) system, a 5G new radio (NR) system, etc. These various systems include terminal equipment and network equipment. The system may also include a core network part, such as an evolved packet system (EPS), a 5G system (5GS), etc.

[0315] The terminal device involved in the embodiment of the present application may be a device that provides voice and / or data connectivity to a user, a handheld device with a wireless connection function, or other processing devices connected to a wireless modem. In different systems, the name of the terminal device may also be different. For example, in a 5G system, the terminal device may be called a user equipment (UE). A wireless terminal device can communicate with one or more core networks (CN) via a radio access network (RAN). The wireless terminal device may be a mobile terminal device, such as a mobile phone (or a "cellular" phone) and a computer with a mobile terminal device. For example, it may be a portable, pocket-sized, handheld, computer-built-in or vehicle-mounted mobile device that exchanges language and / or data with a wireless access network. For example, personal communication service (PCS) phones, cordless phones, session initiation protocol (SIP) phones, wireless local loop (WLL) stations, personal digital assistants (PDAs) and other devices. The wireless terminal device may also be referred to as a system, a subscriber unit, a subscriber station, a mobile station, a mobile station, a remote station, an access point, a remote terminal device, an access terminal device, a user terminal device, a user agent, and a user device, but is not limited in the embodiments of the present application.

[0316] The network device involved in the embodiment of the present application may be a base station, which may include multiple cells providing services for the terminal. Depending on the specific application scenario, the base station may also be called an access point, or may be a device in the access network that communicates with the wireless terminal device through one or more sectors on the air interface, or other names. The network device may be used to interchange received air frames with Internet Protocol (IP) packets, and serve as a router between the wireless terminal device and the rest of the access network, wherein the rest of the access network may include an Internet Protocol (IP) communication network. The network device may also coordinate the attribute management of the air interface. For example, the network device involved in the embodiments of the present application may be a network device (Base Transceiver Station, BTS) in the Global System for Mobile communications (Global System for Mobile communications, GSM) or Code Division Multiple Access (Code Division Multiple Access, CDMA), or a network device (NodeB) in Wide-band Code Division Multiple Access (WCDMA), or an evolutionary network device (evolutional Node B, eNB or e-NodeB) in the long term evolution (long term evolution, LTE) system, a 5G base station (gNB) in the 5G network architecture (next generation system), or a home evolved Node B (Home evolved Node B, HeNB), a relay node, a home base station (femto), a pico base station (pico), etc., which is not limited in the embodiments of the present application. In some network structures, the network device may include a centralized unit (CU) node and a distributed unit (DU) node, and the centralized unit and the distributed unit may also be arranged geographically separately.

[0317] Network devices and terminal devices can each use one or more antennas for multiple-input multiple-output (MIMO) transmission. MIMO transmission can be single-user MIMO (SU-MIMO) or multi-user MIMO (MU-MIMO). Depending on the form and number of antenna combinations, MIMO transmission can be 2D-MIMO, 3D-MIMO, FD-MIMO or massive-MIMO, or it can be diversity transmission, precoded transmission or beamforming transmission, etc.

[0318] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage and optical storage, etc.) that contain computer-usable program code.

[0319] The present application is described with reference to the flowchart and / or block diagram of the method, device (system) and computer program product according to the embodiment of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, and the combination of the process and / or box in the flowchart and / or block diagram can be implemented by computer executable instructions. These computer executable instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device produce a device for implementing a process or multiple processes in the flowchart and / or a box or multiple boxes in the block diagram.

[0320] These processor-executable instructions may also be stored in a processor-readable memory that can direct a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the processor-readable memory produce a product including an instruction device that implements the functions specified in one or more processes in the flowchart and / or one or more boxes in the block diagram.

[0321] These processor-executable instructions may also be loaded onto a computer or other programmable data processing device so that a series of operational steps are performed on the computer or other programmable device to produce a computer-implemented process, whereby the instructions executed on the computer or other programmable device provide steps for implementing the functions specified in one or more processes in the flowchart and / or one or more boxes in the block diagram.

[0322] Obviously, those skilled in the art can make various changes and modifications to the present application without departing from the spirit and scope of the present application. Thus, if these modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is also intended to include these modifications and variations.

Claims

1. A method for reconciling information to generate a key, It is characterized in that include: The blockchain accounting node obtains a digital signal corresponding to the phase information of the channel response, wherein the digital signal includes: a first digital signal corresponding to the phase information obtained by the first device; a second digital signal corresponding to the phase information obtained by the second device; the second device is the first device and the communication peer device; The blockchain accounting node determines the correct order of difference bits between the first digital signal and the second digital signal; The blockchain accounting node enters the correct order of the difference bits, the electronic certificate of the first device, and the electronic certificate of the second device into the smart contract of the blockchain device.

2. The method according to claim 1, It is characterized in that The step of acquiring a digital signal corresponding to the phase information of the channel response includes at least one of the following: Receive a first data packet sent by a first device, the first data packet including a first digital signal and an electronic certificate of the first device, the first digital signal being a digital signal obtained after encryption processing based on a public key of a blockchain accounting node; Receive a second data packet sent by a second device, where the second data packet includes a second digital signal and an electronic certificate of the second device, where the second digital signal is a digital signal obtained after encryption processing based on a public key of a blockchain accounting node.

3. The method according to claim 2, It is characterized in that The method further comprises: Verify the credibility of the electronic certificate of the first device and the electronic certificate of the second device respectively according to the certificate revocation list CRL of the trust authority TA; If the CRL includes the electronic certificate, the digital signal corresponding to the electronic certificate is ignored; if the CRL does not include the electronic certificate, it is determined that the electronic certificate verification is passed.

4. The method according to claim 1, It is characterized in that The determining a correct order of difference bits between the first digital signal and the second digital signal comprises: Comparing the first digital signal with the second digital signal to obtain a comparison result; determining a difference bit between the first digital signal and the second digital signal according to the comparison result; The correct order of the difference bits is determined.

5. The method according to claim 4, It is characterized in that The determining the correct order of the difference bits comprises: In the case where it is determined according to the comparison result that the same bits between the first digital signal and the second digital signal are greater than a first threshold, a correct order of the difference bits is determined.

6. A method for generating a key, It is characterized in that include: The first device sends a first digital signal corresponding to the phase information of the channel response to the blockchain accounting node; The first device determines the correct order of difference bits between the first digital signal and the second digital signal according to the smart contract of the blockchain; the second digital signal is a digital signal corresponding to the phase information of the channel response obtained by the second device; The first device determines a shared key between the first device and the second device according to the first digital signal and a correct sequence of the difference bits.

7. The method according to claim 6, It is characterized in that The method further comprises: Determining phase information of a channel response according to a first channel sounding sequence sent by the second device; The phase information is quantized to obtain a first digital signal corresponding to the phase information.

8. The method according to claim 6, It is characterized in that The method further comprises: Get the smart contract published by the blockchain device.

9. The method according to claim 6, It is characterized in that The determining, according to the first digital signal and the correct order of the difference bits, a shared key between the first device and the second device comprises: The first digital signal is harmonized according to the correct sequence of the difference bits to obtain the shared key.

10. A method for generating a key, It is characterized in that include: The second device sends a second digital signal corresponding to the phase information of the channel response to the blockchain accounting node; The second device determines the correct order of difference bits between the second digital signal and the first digital signal according to the smart contract of the blockchain; the first digital signal is a digital signal corresponding to the phase information of the channel response obtained by the first device; The second device determines a shared key between the first device and the second device according to the second digital signal and a correct sequence of the difference bits.

11. The method according to claim 10, It is characterized in that The method further comprises: Determining phase information of a channel response according to a second channel sounding sequence sent by the first device; The phase information is quantized to obtain a second digital signal corresponding to the phase information.

12. The method according to claim 10, It is characterized in that The determining, according to the second digital signal and the correct order of the difference bits, a shared key between the first device and the second device comprises: The second digital signal is harmonized according to the correct sequence of the difference bits to obtain the shared key.

13. An information reconciliation system for generating a key, It is characterized in that include: Blockchain devices; A blockchain accounting node that is communicatively connected to the blockchain device; A device that is communicatively connected to the blockchain device and the blockchain accounting node, respectively, the device comprising a first device and a second device, the second device being a communication peer device of the first device; The first device is used to send a first digital signal corresponding to the phase information of the channel response to the blockchain accounting node; the second device is used to send a second digital signal corresponding to the phase information of the channel response to the blockchain accounting node; The blockchain accounting node is used to determine the correct order of the difference bits between the first digital signal and the second digital signal; enter the correct order of the difference bits, the electronic certificate of the first device, and the electronic certificate of the second device into the smart contract of the blockchain device; The blockchain device is used to publish the smart contract.

14. A network device, It is characterized in that include: Memory, transceiver, processor: Memory for storing computer programs; a transceiver for receiving and transmitting data under the control of the processor; A processor is configured to read the computer program in the memory and perform the following operations: Acquire a digital signal corresponding to the phase information of the channel response, the digital signal comprising: a first digital signal corresponding to the phase information obtained by the first device; a second digital signal corresponding to the phase information obtained by the second device; the second device is the first device and the communication peer device; determining a correct sequence of difference bits between the first digital signal and the second digital signal; Enter the correct order of the difference bits, the electronic certificate of the first device, and the electronic certificate of the second device into a smart contract of the blockchain device.

15. The network device according to claim 14, It is characterized in that The processor is configured to read the computer program in the memory and perform at least one of the following operations: Receive a first data packet sent by a first device, the first data packet including a first digital signal and an electronic certificate of the first device, the first digital signal being a digital signal obtained after encryption processing based on a public key of a blockchain accounting node; Receive a second data packet sent by a second device, where the second data packet includes a second digital signal and an electronic certificate of the second device, where the second digital signal is a digital signal obtained after encryption processing based on a public key of a blockchain accounting node.

16. The network device according to claim 15, It is characterized in that The processor is configured to read the computer program in the memory and perform the following operations: Verify the credibility of the electronic certificate of the first device and the electronic certificate of the second device respectively according to the certificate revocation list CRL of the trust authority TA; If the CRL includes the electronic certificate, ignoring the digital signal corresponding to the electronic certificate; If the CRL does not include the electronic certificate, it is determined that the electronic certificate verification has passed.

17. The network device according to claim 14, It is characterized in that The processor is configured to read the computer program in the memory and perform the following operations: Comparing the first digital signal with the second digital signal to obtain a comparison result; determining a difference bit between the first digital signal and the second digital signal according to the comparison result; The correct order of the difference bits is determined.

18. The network device according to claim 17, It is characterized in that The processor is configured to read the computer program in the memory and perform the following operations: In the case where it is determined according to the comparison result that the same bits between the first digital signal and the second digital signal are greater than a first threshold, a correct order of the difference bits is determined.

19. A terminal, It is characterized in that include: Memory, transceiver, processor: Memory for storing computer programs; a transceiver for receiving and transmitting data under the control of the processor; A processor is configured to read the computer program in the memory and perform the following operations: Sending a first digital signal corresponding to the phase information of the channel response to the blockchain accounting node; Determine the correct order of the difference bits between the first digital signal and the second digital signal according to the smart contract of the blockchain; the second digital signal is a digital signal corresponding to the phase information of the channel response obtained by the second device; A shared key between the first device and the second device is determined according to the first digital signal and the correct sequence of the difference bits.

20. The terminal according to claim 19, It is characterized in that The processor is configured to read the computer program in the memory and perform the following operations: Determining phase information of a channel response according to a first channel sounding sequence sent by the second device; The phase information is quantized to obtain a first digital signal corresponding to the phase information.

21. The terminal according to claim 19, It is characterized in that The processor is configured to read the computer program in the memory and perform the following operations: Get the smart contract published by the blockchain device.

22. The terminal according to claim 19, It is characterized in that The processor is configured to read the computer program in the memory and perform the following operations: The first digital signal is harmonized according to the correct sequence of the difference bits to obtain the shared key.

23. A terminal, It is characterized in that include: Memory, transceiver, processor: Memory for storing computer programs; a transceiver for receiving and transmitting data under the control of the processor; A processor is configured to read the computer program in the memory and perform the following operations: Sending a second digital signal corresponding to the phase information of the channel response to the blockchain accounting node; Determine the correct order of difference bits between the second digital signal and the first digital signal according to the smart contract of the blockchain; the first digital signal is a digital signal corresponding to the phase information of the channel response obtained by the first device; A shared key between the first device and the second device is determined according to the second digital signal and the correct sequence of the difference bits.

24. The terminal according to claim 23, It is characterized in that The processor is configured to read the computer program in the memory and perform the following operations: Determining phase information of a channel response according to a second channel sounding sequence sent by the first device; The phase information is quantized to obtain a second digital signal corresponding to the phase information.

25. The terminal according to claim 23, It is characterized in that The processor is configured to read the computer program in the memory and perform the following operations: The second digital signal is harmonized according to the correct sequence of the difference bits to obtain the shared key.

26. An information reconciliation device for generating a key, It is characterized in that include: A first acquisition unit is used to acquire a digital signal corresponding to the phase information of the channel response, wherein the digital signal includes: a first digital signal corresponding to the phase information obtained by the first device; a second digital signal corresponding to the phase information obtained by the second device; the second device is the first device and the communication peer device; A first determining unit, configured to determine a correct order of difference bits between the first digital signal and the second digital signal; A recording module is used to enter the correct order of the difference bits, the electronic certificate of the first device, and the electronic certificate of the second device into the smart contract of the blockchain device.

27. A key generating device, It is characterized in that include: A first sending unit, configured to send a first digital signal corresponding to the phase information of the channel response to a blockchain accounting node; A second determination unit determines the correct order of difference bits between the first digital signal and the second digital signal according to the smart contract of the blockchain; the second digital signal is a digital signal corresponding to the phase information of the channel response obtained by the second device; The third determining unit is configured to determine a shared key between the first device and the second device according to the first digital signal and a correct sequence of the difference bits.

28. A key generating device, It is characterized in that include: A second sending unit, configured to send a second digital signal corresponding to the phase information of the channel response to the blockchain accounting node; A fourth determination unit is used to determine the correct order of difference bits between the second digital signal and the first digital signal according to the smart contract of the blockchain; the first digital signal is a digital signal corresponding to the phase information of the channel response obtained by the first device; A fifth determining unit is configured to determine a shared key between the first device and the second device according to the second digital signal and a correct order of the difference bits.

29. A processor-readable storage medium having a computer program stored thereon, It is characterized in that When the computer program is executed by a processor, the steps of the information reconciliation method for generating a key according to any one of claims 1 to 5 are implemented.

30. A processor-readable storage medium having a computer program stored thereon, It is characterized in that When the computer program is executed by a processor, the steps of the key generation method according to any one of claims 6 to 9 are implemented.

31. A processor-readable storage medium having a computer program stored thereon, It is characterized in that When the computer program is executed by a processor, the steps of the key generation method according to any one of claims 10 to 12 are implemented.

Citation Information

Cited By

  • Information reconciliation method for key generation, key generation method, apparatus, and device

    EP4723706A1