Information transmission method and device and node equipment
By cyclically executing the channel detection and key consistency reconciliation process, and using the KAI field to transmit key consistency information, the problem of the lack of information transmission scheme in the wireless key bidirectional consistency reconciliation technology is solved, and effective support for wireless key generation is achieved. .
Patent Information
- Application Number
- CN202310318767.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-03-29
- Publication Date
- 2024-10-01
AI Technical Summary
The existing wireless key bidirectional consistency reconciliation technology lacks an effective information transmission scheme, resulting in the wireless channel key generation mechanism being unable to be implemented in actual communication systems.
By sending N initial channel detection request messages to the node device, the detection reconciliation process is executed cyclically until the target key that meets the target requirements is obtained, and the KAI field in the channel detection response message is used to carry the key consistency reconciliation result and coding information to achieve Key consistency reconciliation.
Effectively transmits the interactive information required for two-way consistency reconciliation of wireless keys, and supports the implementation of wireless key generation technology in actual communication systems.
Smart Images

Figure CN118741507A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of communication technology, and in particular to an information transmission method, device and node equipment. Background Art
[0002] Wireless physical layer key generation technology uses the short-term reciprocity, spatial decorrelation and time-varying properties of wireless channels to extract wireless channel characteristics from the received signals of both communicating parties, and then generates physical layer keys through algorithm processing. This technology usually includes four stages: channel detection, quantization, information coordination and privacy amplification.
[0003] In order to improve the key generation rate, the information coordination (ie, key consistency reconciliation) mechanism usually uses an information reconciliation method based on a two-way key agreement protocol or a one-way error correction coding to correct inconsistent bits of the extracted key.
[0004] The existing wireless key two-way consistency reconciliation technology focuses on studying the method of completing information reconciliation and how to effectively eliminate the difference data bits in the original symmetric key stream. However, there is no effective transmission scheme for the information that needs to be exchanged between the two parties to complete the consistency reconciliation. Therefore, the wireless channel key generation mechanism cannot be applied in actual communication systems. Summary of the invention
[0005] The object of the present invention is to provide an information transmission method, apparatus and node equipment to solve the problem that there is no effective transmission scheme for the information required for the two-way consistency reconciliation of wireless keys.
[0006] In order to achieve the above object, the present invention provides an information processing method, which is executed by a first node device, comprising:
[0007] Obtain a first key bit sequence by sending N initial channel detection request messages to the second node device, where N is a positive integer;
[0008] The detection and reconciliation process is executed in a loop until a target key that meets the target requirements is obtained, wherein the detection and reconciliation process is used to reconcile the key consistency of the key bit sequence generated by the first node device during the first N channel detection processes with the key bit sequence generated by the second node device, and the target requirement is that the key consistency reconciliation result obtained after the detection and reconciliation indicates that the key consistency reconciliation is successful; the first detection and reconciliation process is used to reconcile the key consistency of the first key bit sequence with the third key bit sequence on the second node device side.
[0009] The step of obtaining the first key bit sequence by sending N initial channel detection request messages to the second node device includes:
[0010] After sending an initial channel detection request message to the second node device each time, receiving a channel detection response message returned by the second node device;
[0011] Obtaining channel state information according to the channel detection response message;
[0012] quantizing the channel state information to obtain a first original key bit sequence;
[0013] The first key bit sequence is obtained according to the obtained N first original key bit sequences.
[0014] The detection and reconciliation process includes:
[0015] Performing a maximum of M key consistency reconciliations based on the second key bit sequence to obtain a key consistency reconciliation result, wherein the M key one-time reconciliations are integrated into the M channel detection processes;
[0016] Then perform the channel detection process NM times, where N and M are positive integers;
[0017] Among them, if the detection and reconciliation process is the first detection and reconciliation process, the second key bit sequence is the first key bit sequence; if the detection and reconciliation process is the i-th detection and reconciliation process, the second key bit sequence is the key bit sequence obtained by the previous detection and reconciliation, i≠1.
[0018] Wherein, the method further comprises:
[0019] Performing key consistency and reconciliation capability negotiation with the second node device by sending an initial channel detection request message to the second node device for the first time, wherein the initial channel detection request message carries key consistency and reconciliation capability information;
[0020] Receive a negotiation result sent by the second node device, wherein the negotiation result is determined by the second node device according to the key consistency reconciliation capability information, and the negotiation result includes the key consistency reconciliation method used in each detection and reconciliation process, the number of channel detections N, and the maximum number of key consistency reconciliations M.
[0021] The negotiation result is carried in one of the following information:
[0022] The newly added key consistency information KAI field in the media access control MAC layer message;
[0023] A new KAI field is added to existing signaling;
[0024] Added signaling.
[0025] Wherein, the method further comprises:
[0026] Based on the pre-configuration, the key consistency reconciliation method, the number of channel detections N, and the maximum number of key consistency reconciliations M used in each detection and reconciliation process are determined.
[0027] The performing a maximum of M key consistency reconciliations based on the second key bit sequence to obtain a key consistency reconciliation result includes:
[0028] After performing the mth key consistency reconciliation based on the second key bit sequence, if the key consistency reconciliation result obtained indicates that the key consistency reconciliation is successful, the target key is obtained according to the key bit sequence after the mth reconciliation, 0≤m≤M.
[0029] Wherein, the method further comprises:
[0030] If the key consistency reconciliation result obtained after the mth key consistency reconciliation is performed based on the second key bit sequence indicates that the key consistency reconciliation has failed, the key bit sequence that has not been reconciled in this round is discarded and the second node device is notified of the key consistency reconciliation failure.
[0031] The performing the mth key consistency reconciliation based on the second key bit sequence includes:
[0032] When m=0, obtaining the encoding information of the second key bit sequence and the check value of the second key bit sequence based on the key consistency reconciliation method;
[0033] Sending a channel detection request message to the second node device, where the channel detection request message carries the encoding information of the second key bit sequence and the check value of the second key bit sequence, so that the second node device performs a first key consistency reconciliation on the fourth key bit sequence, and returns the key consistency reconciliation result through a channel detection response message;
[0034] When the key consistency reconciliation result indicates that the key consistency reconciliation is successful, obtaining a target key according to the second key bit sequence;
[0035] When the key consistency reconciliation result indicates that the key consistency reconciliation fails, a first key consistency reconciliation is performed on the second key bit sequence.
[0036] The newly added KAI field in the channel detection request message carries the encoding information of the second key bit sequence and the check value of the second key bit sequence;
[0037] The key consistency reconciliation result is carried by the newly added KAI field in the channel detection response message, or if there is no newly added KAI field in the channel detection response message, the key consistency reconciliation result indicates that the key consistency reconciliation is successful.
[0038] The performing the mth key consistency reconciliation based on the second key bit sequence includes:
[0039] When m≠0, receiving a channel detection response message sent by the second node device, wherein the channel detection response message carries the encoding information of the key bit sequence after the nth reconciliation and the check value of the key bit sequence after the nth reconciliation;
[0040] Perform consistency reconciliation on the key bit sequence after the m-1th reconciliation based on the encoding information of the key bit sequence after the nth reconciliation to obtain the key bit sequence after the mth reconciliation, and calculate the check value of the key bit sequence after the mth reconciliation;
[0041] When the check value of the key bit sequence after the m-th reconciliation is consistent with the check value of the key bit sequence after the n-th reconciliation, obtain the target key according to the key bit sequence after the m-th reconciliation, and return a key consistency reconciliation result to the second node device through a channel detection request message, wherein the key consistency reconciliation result indicates that the key consistency reconciliation is successful;
[0042] When the check value of the key bit sequence after the mth reconciliation is inconsistent with the check value of the key bit sequence after the nth reconciliation, the coding information of the key bit sequence after the mth reconciliation is obtained based on the key consistency reconciliation method, and the key consistency reconciliation result, the coding information of the key bit sequence after the mth reconciliation and the check value of the key bit sequence after the mth reconciliation are returned to the second node device through a channel detection request message, so that the second node device performs the n+1th consistency reconciliation processing, and the key consistency reconciliation result indicates that the key consistency reconciliation has failed.
[0043] The newly added KAI field in the channel detection response message carries the encoding information of the key bit sequence after the n-th reconciliation and the check value of the key bit sequence after the n-th reconciliation;
[0044] The key consistency reconciliation result is carried by the newly added KAI field in the channel detection request message, or if there is no newly added KAI field in the channel detection request message, it indicates that the key consistency reconciliation is successful.
[0045] In a second aspect, the present invention further provides an information processing method, which is executed by a second node device, comprising:
[0046] Obtain a third key bit sequence by receiving an initial channel detection request message sent by the first node device N times, where N is a positive integer;
[0047] The detection and reconciliation process is executed in a loop until a target key that meets the target requirements is obtained, wherein the detection and reconciliation process is used to reconcile the key consistency of the key bit sequence generated by the second node device during the first N channel detection processes with the key bit sequence generated by the first node device, and the target requirement is that the key consistency reconciliation result obtained after the detection and reconciliation indicates that the key consistency reconciliation is successful; the first detection and reconciliation process is used to reconcile the key consistency of the third key bit sequence with the first key bit sequence on the first node device side.
[0048] The step of obtaining a third key bit sequence by receiving the initial channel detection request message sent by the first node device N times includes:
[0049] After receiving a channel detection request message sent by a first node device each time, returning a channel detection response message to the first node device;
[0050] Obtaining channel state information according to the channel detection request message;
[0051] quantizing the channel state information to obtain a second original key bit sequence;
[0052] A third key bit sequence is obtained according to the obtained N second original key bit sequences.
[0053] The detection and reconciliation process includes:
[0054] Performing a maximum of M key consistency reconciliations based on the fourth key bit sequence to obtain a key consistency reconciliation result, wherein the M key one-time reconciliations are integrated into the M channel detection processes;
[0055] Then perform the channel detection process NM times, where N and M are positive integers;
[0056] Among them, if the detection and reconciliation process is the first detection and reconciliation process, the fourth key bit sequence is the third key bit sequence; if the detection and reconciliation process is the jth detection and reconciliation process, the fourth key bit sequence is the key bit sequence obtained by the previous detection and reconciliation, j≠1.
[0057] Wherein, the method further comprises:
[0058] Performing key consistency and reconciliation capability negotiation with the first node device by receiving an initial channel detection request message sent by the first node device for the first time, wherein the initial channel detection request message carries key consistency and reconciliation capability information;
[0059] Determine a negotiation result according to the key consistency reconciliation capability information, wherein the negotiation result is determined by the second node device according to the key consistency reconciliation capability information, and the negotiation result includes a key consistency reconciliation method used in each detection and reconciliation process, a number of channel detections N, and a maximum number of key consistency reconciliations M;
[0060] Send the negotiation result to the first node device.
[0061] The negotiation result is carried in one of the following information:
[0062] The newly added key consistency information KAI field in the media access control MAC layer message;
[0063] A new KAI field is added to existing signaling;
[0064] Added signaling.
[0065] Wherein, the method further comprises:
[0066] Based on the pre-configuration, the key consistency reconciliation method, the number of channel detections N, and the maximum number of key consistency reconciliations M used in each detection and reconciliation process are determined.
[0067] The performing a maximum of M key consistency reconciliations based on the fourth key bit sequence to obtain a key consistency reconciliation result includes:
[0068] After performing the nth key consistency reconciliation based on the fourth key bit sequence, if the key consistency reconciliation result obtained indicates that the key consistency reconciliation is successful, the target key is obtained according to the key bit sequence after the nth reconciliation, 1≤n≤M.
[0069] Wherein, the method further comprises:
[0070] If the key consistency reconciliation result obtained after the nth key consistency reconciliation is performed based on the fourth key bit sequence indicates that the key consistency reconciliation has failed, the key bit sequence that has not been reconciled in this round is discarded and the second node device is notified of the key consistency reconciliation failure.
[0071] The performing the nth key consistency reconciliation based on the fourth key bit sequence includes:
[0072] Receive a channel detection request message sent by the first node device, where the channel detection request message carries the encoding information of the key bit sequence after the m-1th reconciliation and the check value of the key bit sequence after the m-1th reconciliation, 0≤m-1≤M;
[0073] Perform consistency reconciliation on the key bit sequence after the n-1th reconciliation according to the coding information of the key bit sequence after the m-1th reconciliation, obtain the key bit sequence after the nth reconciliation, and calculate the check value of the key bit sequence after the nth reconciliation;
[0074] When the check value of the key bit sequence after the nth reconciliation is consistent with the check value of the key bit sequence after the m-1th reconciliation, a target key is obtained according to the key bit sequence after the nth reconciliation, and a key consistency reconciliation result is returned through a channel detection response message, wherein the key consistency reconciliation result indicates that the key consistency reconciliation is successful;
[0075] When the check value of the key bit sequence after the nth reconciliation is inconsistent with the check value of the key bit sequence after the m-1th reconciliation, the encoding information of the key bit sequence after the nth reconciliation is obtained based on the key consistency reconciliation method; and the key consistency reconciliation result, the encoding information of the key bit sequence after the nth reconciliation and the check value of the key bit sequence after the nth reconciliation are returned through a channel detection response message, so that the first node device performs the mth consistency reconciliation processing, and the key consistency reconciliation result indicates that the key consistency reconciliation has failed.
[0076] The newly added KAI field in the channel detection request message carries the encoding information of the key bit sequence after the m-1th reconciliation and the check value of the key bit sequence after the m-1th reconciliation;
[0077] The key consistency reconciliation result is carried by the newly added KAI field in the channel detection response message, or if there is no newly added KAI field in the channel detection response message, it indicates that the key consistency reconciliation is successful.
[0078] In a third aspect, the present invention further provides an information transmission device, comprising:
[0079] A first processing module, configured to obtain a first key bit sequence by sending N initial channel detection request messages to the second node device, where N is a positive integer;
[0080] The second processing module is used to loop through the detection and reconciliation process until a target key that meets the target requirements is obtained, wherein the detection and reconciliation process is used to reconcile the key consistency of the key bit sequence generated by the first node device during the first N channel detection processes with the key bit sequence generated by the second node device, and the target requirement is that the key consistency reconciliation result obtained after the detection and reconciliation indicates that the key consistency reconciliation is successful; the first detection and reconciliation process is used to reconcile the key consistency of the first key bit sequence with the third key bit sequence on the second node device side.
[0081] In a fourth aspect, the present invention further provides an information transmission device, comprising:
[0082] A third processing module, configured to obtain a third key bit sequence by receiving the initial channel detection request message sent by the first node device N times, where N is a positive integer;
[0083] The fourth processing module is used to loop the detection and reconciliation process until a target key that meets the target requirements is obtained, wherein the detection and reconciliation process is used to reconcile the key consistency of the key bit sequence generated by the second node device during the first N channel detection processes with the key bit sequence generated by the first node device, and the target requirement is that the key consistency reconciliation result obtained after the detection and reconciliation indicates that the key consistency reconciliation is successful; the first detection and reconciliation process is used to reconcile the key consistency of the third key bit sequence with the first key bit sequence on the first node device side.
[0084] In a fifth aspect, the present invention further provides a node device, the node device being a first node device, comprising a processor and a transceiver, the transceiver receiving and sending data under the control of the processor, and the processor being configured to perform the following operations:
[0085] Obtain a first key bit sequence by sending N initial channel detection request messages to the second node device, where N is a positive integer;
[0086] The detection and reconciliation process is executed in a loop until a target key that meets the target requirements is obtained, wherein the detection and reconciliation process is used to reconcile the key consistency of the key bit sequence generated by the first node device during the first N channel detection processes with the key bit sequence generated by the second node device, and the target requirement is that the key consistency reconciliation result obtained after the detection and reconciliation indicates that the key consistency reconciliation is successful; the first detection and reconciliation process is used to reconcile the key consistency of the first key bit sequence with the third key bit sequence on the second node device side.
[0087] In a sixth aspect, the present invention further provides a node device, the node device being a second node device, comprising a processor and a transceiver, the transceiver receiving and sending data under the control of the processor, and the processor being configured to perform the following operations:
[0088] Obtain a third key bit sequence by receiving an initial channel detection request message sent by the first node device N times, where N is a positive integer;
[0089] The detection and reconciliation process is executed in a loop until a target key that meets the target requirements is obtained, wherein the detection and reconciliation process is used to reconcile the key consistency of the key bit sequence generated by the second node device during the first N channel detection processes with the key bit sequence generated by the first node device, and the target requirement is that the key consistency reconciliation result obtained after the detection and reconciliation indicates that the key consistency reconciliation is successful; the first detection and reconciliation process is used to reconcile the key consistency of the third key bit sequence with the first key bit sequence on the first node device side.
[0090] In the seventh aspect, the present invention also provides a node device, including a memory, a processor, and a program stored in the memory and executable on the processor; when the processor executes the program, the information processing method as described in the first aspect above is implemented.
[0091] In an eighth aspect, the present invention further provides a node device, comprising a memory, a processor, and a program stored in the memory and executable on the processor; when the processor executes the program, the information processing method as described in the second aspect above is implemented.
[0092] In the ninth aspect, the present invention also provides a computer-readable storage medium having a computer program stored thereon, characterized in that when the program is executed by a processor, the program implements the steps of the information processing method described in the first aspect above, or the steps of the information processing method described in the second aspect above.
[0093] The above technical solution of the present invention has at least the following beneficial effects:
[0094] In an embodiment of the present invention, a first key bit sequence is obtained by sending N initial channel detection request messages to a second node device, where N is a positive integer; a detection and reconciliation process is executed cyclically until a target key that meets the target requirement is obtained, wherein the detection and reconciliation process is used to reconcile the key consistency of a key bit sequence generated by the first node device during the first N channel detection processes with a key bit sequence generated by the second node device, and the target requirement is that a key consistency reconciliation result obtained after the detection and reconciliation indicates that the key consistency reconciliation is successful; the first detection and reconciliation process is used to reconcile the key consistency of the first key bit sequence with a third key bit sequence on the second node device side, so that the information required for interaction for bidirectional consistency reconciliation of wireless keys can be effectively transmitted, thereby effectively supporting the implementation of wireless key generation technology in actual communication systems. BRIEF DESCRIPTION OF THE DRAWINGS
[0095] Figure 1 A schematic diagram showing a process of generating a conventional wireless physical layer key;
[0096] Figure 2A schematic diagram showing a flow chart of an information processing method provided by an embodiment of the present invention;
[0097] Figure 3 One of the schematic diagrams showing the detection and reconciliation process of an embodiment of the present invention;
[0098] Figure 4 A second schematic diagram showing the detection and reconciliation process according to an embodiment of the present invention;
[0099] Figure 5 A second flowchart diagram showing the information processing method provided by an embodiment of the present invention;
[0100] Figure 6 A schematic diagram showing the flow of bidirectional key consistency and information transmission of the present invention;
[0101] Figure 7 One of the module schematic diagrams showing the information processing device provided by the embodiment of the present invention;
[0102] Figure 8 A second schematic diagram showing a module of an information processing device provided by an embodiment of the present invention;
[0103] Fig. 9 A schematic diagram showing the hardware structure of a first node device provided in an embodiment of the present invention;
[0104] Fig.10 A schematic diagram showing the hardware structure of a second node device provided in an embodiment of the present invention. DETAILED DESCRIPTION
[0105] In order to make the technical problems, technical solutions and advantages to be solved by the present invention more clear, a detailed description will be given below with reference to the accompanying drawings and specific embodiments.
[0106] Wireless physical layer key generation technology usually includes four stages: detection, quantification, information coordination and privacy amplification. Figure 1 .
[0107] Users Alice and Bob work in a multipath fading channel. They first send known pilot signal frames to each other for channel detection. During the coherence time, the signals sent by both parties reach each other after the same channel fading. The receiver uses the received pilot signal frame and the known pilot signal frame to calculate and estimate the channel during this period to obtain channel state information. Since the channel detection process is bidirectional, the channel measurement results X and X can be obtained through channel estimation. A and X B Then, they will measure the result X A and X B Converted into binary numbers, and Complete quantification. and Afterwards, due to and There may be mismatched bits between them, so information coordination must be used to adjust the mismatched bits. Then Alice and Bob will each obtain matching and Finally, privacy amplification is used to obtain the key K A and K B .
[0108] Usually in order to improve the key generation rate, the information coordination (i.e. key consistency reconciliation) mechanism usually uses an information reconciliation method based on a two-way key negotiation protocol or a one-way error correction code to correct the inconsistent bits of the extracted key. The former is based on protocols such as BBBSS, Cascade and Winnow, and completes information reconciliation by exchanging check codes. The latter uses a channel coding technology with forward error correction capability to achieve key negotiation. The forward error correction code (Forward Error Correction, FEC) code family includes BCH coding, Reed-Solomon coding, Golay coding, Turbo coding, Polar coding and LDPC coding, etc., which can all be used for key consistency reconciliation. In fact, according to the size of the error rate of the generated key estimated by the system, the information reconciliation method based on error correction coding also has the situation of two-way reconciliation. At this time, the two parties can complete the information reconciliation by exchanging error correction codes. Check codes and error correction codes are both codes, so the coding information mentioned later in this application refers to the coding information such as check codes or error correction codes used for key consistency reconciliation.
[0109] It can be seen that the existing wireless key two-way consistency reconciliation technology is to study the method of completing information reconciliation and how to effectively eliminate the difference data bits in the original symmetric key stream, but no effective transmission scheme is given for the information that needs to be exchanged between the two parties to complete the consistency reconciliation. Therefore, the wireless channel key generation mechanism cannot be applied and implemented in actual communication systems.
[0110] In order to solve the above problems, the present invention provides an information transmission method, device and node device, wherein the method and device are based on the same application concept. Since the principles of solving the problems by the method and device are similar, the implementation of the device and the method can refer to each other, and the repeated parts will not be repeated.
[0111] like Figure 2 As shown, an embodiment of the present invention provides an information processing method, which is executed by a first node device, wherein the method may include:
[0112] Step 201, obtaining a first key bit sequence by sending N initial channel detection request messages to a second node device, where N is a positive integer;
[0113] In an optional embodiment, step 201 includes:
[0114] Step 2011: after sending an initial channel detection request message to the second node device each time, receiving a channel detection response message returned by the second node device;
[0115] Step 2012, obtaining channel state information according to the channel detection response message;
[0116] It should be understood that the channel state information here is the first original key.
[0117] Step 2013, quantizing the channel state information to obtain a first original key bit sequence;
[0118] That is, after each channel detection, the first node device quantifies the obtained channel state information (such as channel state information (CSI), received signal strength indication (RSSI), etc.) to generate a first original key bit sequence.
[0119] Step 2014: Obtain the first key bit sequence according to the obtained N first original key bit sequences.
[0120] Specifically, the first node device may combine the obtained N first original key bit sequences according to a preset rule to obtain the first key bit sequence.
[0121] It should be noted that the second node device side will also perform channel detection based on the initial channel detection request message sent by the first node, obtain the corresponding channel state information, perform quantization processing, obtain the second original key bit sequence, and then obtain the third key bit sequence.
[0122] From the above analysis, it can be known that after the communicating parties, ie the first node device and the second node device, obtain the quantized key bit sequence, their respective quantized key bit sequences may have mismatched bits, and need to be adjusted to achieve key consistency. Therefore, the first node device executes the following step 202.
[0123] Step 202, looping the detection and reconciliation process until a target key that meets the target requirements is obtained, wherein the detection and reconciliation process is used to reconcile the key consistency of the key bit sequence generated by the first node device during the first N channel detection processes with the key bit sequence generated by the second node device, and the target requirement is that the key consistency reconciliation result obtained after the detection and reconciliation indicates that the key consistency reconciliation is successful; the first detection and reconciliation process is used to reconcile the key consistency of the first key bit sequence with the third key bit sequence on the second node device side.
[0124] In an optional embodiment, the detection and reconciliation process of step 202 specifically includes:
[0125] Step 2021, performing a maximum of M key consistency reconciliations based on the second key bit sequence to obtain a key consistency reconciliation result, wherein the M key one-time reconciliations are integrated into the M channel detection processes;
[0126] Among them, if the detection and reconciliation process is the first detection and reconciliation process, the second key bit sequence is the first key bit sequence; if the detection and reconciliation process is the i-th detection and reconciliation process, the second key bit sequence is the key bit sequence obtained by the previous detection and reconciliation, i≠1.
[0127] Here, the key reconciliation object of the first detection and reconciliation process is the first key bit sequence obtained after the aforementioned N initial detections; the key reconciliation objects in subsequent detection and reconciliation processes are all key bit sequences obtained through the previous detection and reconciliation, collectively referred to as the second key bit sequence.
[0128] Step 2022, performing the channel detection process NM times again, where N and M are positive integers;
[0129] It should be understood that the detection and reconciliation process actually includes N channel detection processes and M one-time key reconciliations, wherein the M one-time key reconciliations are integrated into the M channel detection processes.
[0130] Preferably, N is greater than or equal to M. The embodiment of the present invention is described with respect to the case where N is greater than or equal to M. Of course, N may also be less than M.
[0131] If N is 3 and M is 2, the overall framework of the detection and reconciliation process can be found in Figure 3 That is, the first node device sends three initial detection requests to the second node device to obtain a first key bit sequence; the second node device side obtains a third key bit sequence based on the three initial detection requests received from the first node device;
[0132] Afterwards, the communicating parties (the first node device and the second node device) enter a cyclic detection and reconciliation process; specifically, each detection and reconciliation process includes 2 channel detections + key reconciliation; and then 1 channel detection; that is, 2 key reconciliations are integrated into 2 channel detection processes. Here, the number of key reconciliations is at most 2 times; for example, in a certain detection and reconciliation process, if the key bit sequence on the first node device side and the key bit sequence on the second node device side can be reconciled to be consistent after 1 or 2 key reconciliations, the detection and reconciliation ends; if the key bit sequence on the first node device side and the key bit sequence on the second node device side are still inconsistent after 2 key reconciliations, the next detection and reconciliation process is entered, wherein the next detection and reconciliation process is used to reconcile the key consistency of the key bit sequence obtained by the first node device and the key bit sequence obtained by the second node device during the 3 channel detections.
[0133] If N is 2 and M is 2, the overall framework of the detection and reconciliation process can be found in Figure 4 The first node device sends an initial detection request 2 to the second node device to obtain a first original key bit sequence; the second node device side obtains a third original key bit sequence based on the received initial detection request 2 sent by the first node device;
[0134] Afterwards, the communicating parties (the first node device and the second node device) enter a cyclic detection and reconciliation process; specifically, each detection and reconciliation process includes 2 channel detections + key reconciliation; that is, 2 key reconciliations are integrated into 2 channel detection processes. Here, the number of key reconciliations is at most 2 times; for example, in a certain detection and reconciliation process, if the key bit sequence on the first node device side and the key bit sequence on the second node device side can be reconciled to be consistent after 1 or 2 key reconciliations, the detection and reconciliation ends; if the key bit sequence on the first node device side and the key bit sequence on the second node device side are still inconsistent after 2 key reconciliations, the next detection and reconciliation process is entered, wherein the next detection and reconciliation process is used to reconcile the key consistency of the key bit sequence obtained by the first node device and the key bit sequence obtained by the second node device during the 2 channel detection processes.
[0135] In an optional embodiment, the method of the present invention may further include:
[0136] 1. Performing key consistency and reconciliation capability negotiation with the second node device by sending an initial channel detection request message to the second node device for the first time, wherein the initial channel detection request message carries key consistency and reconciliation capability information;
[0137] Here, when performing the first channel detection (i.e., sending the initial channel detection request message to the second node device for the first time), the key consistency reconciliation capability information of the first node device is carried to negotiate with the second node device the subsequent key consistency reconciliation method (i.e., the method used for consistency reconciliation processing), the number of channel detections, and the maximum number of key consistency reconciliations. After the negotiation is completed, unless the system requires a change in the information reconciliation method, the subsequent channel detection message only carries the consistency reconciliation information including the coding information, the check value of the key bit sequence, and the reconciliation result.
[0138] Optionally, the key consistency reconciliation capability information includes:
[0139] All key consistency reconciliation methods supported by the first node device;
[0140] The number of channel detections and the maximum number of key consistency reconciliations corresponding to each key consistency reconciliation method.
[0141] Whether to carry the channel detection times and the maximum number of key consistency reconciliations is optional. If the first node device chooses not to carry them, the key consistency reconciliation is performed each time the channel detection is performed by default, and the maximum number of key consistency reconciliations is 1.
[0142] Alternatively, the first node device dynamically determines when to perform key consistency reconciliation and the maximum number of corresponding key consistency reconciliations based on the local key generation situation. For example, the first node device sends the following information (Turbo, 1 / 3, 2) to the second node device to indicate that one round of consistency reconciliation information is exchanged for the generated original key after every three wireless channel detections, and the maximum number of key consistency reconciliations per round is 2. For the low-density parity check (LDPC) method, there can be (LDPC, 1 / 2) to indicate that one round of consistency reconciliation information is exchanged for the generated original key after every two wireless channel detections, and the maximum number of key consistency reconciliations per round is 1. The final reconciliation result is carried and transmitted by the KAI during the next channel detection.
[0143] 2. Receive the negotiation result sent by the second node device, wherein the negotiation result is determined by the second node device according to the key consistency reconciliation capability information, and the negotiation result includes the key consistency reconciliation method used in each detection and reconciliation process, the number of channel detections N and the maximum number of key consistency reconciliations M.
[0144] Here, after the second node device receives the initial channel detection request message, it selects an appropriate key consistency reconciliation method (for example, a method supported by both parties) based on the key consistency reconciliation capability information of the first node device and its own key consistency reconciliation capability, and determines the number of channel detections N and the maximum number of key consistency reconciliations M.
[0145] Optionally, the negotiation result is carried in one of the following information:
[0146] The newly added key consistency information KAI field in the media access control MAC layer message;
[0147] A new KAI field is added to existing signaling;
[0148] Added signaling.
[0149] It should be noted that the negotiation result obtained by negotiating the key consistency reconciliation capability between the above-mentioned first node device and the second node device enables multiple negotiations to be performed when the two parties adopt a two-way mechanism to reconcile the key. In this process, the communication system coordinates the consistency of the original key bit sequence (specifically the first original key bit sequence and the third original key bit sequence) according to the number of channel detections N and the maximum number of key consistency reconciliations M. The relationship between the two parameters M and N can be different, for example, N is less than M, N is equal to M, or N is greater than M, and so on. Correspondingly, the contents included in the negotiation results are different, and the information transmission process is also different. In order to simplify the key management process, this application takes N greater than M as an example for explanation. For example, N is 3 and M is 2.
[0150] In another optional embodiment, the method of the present invention may further include:
[0151] Based on the pre-configuration, the key consistency reconciliation method, the number of channel detections N, and the maximum number of key consistency reconciliations M used in each detection and reconciliation process are determined.
[0152] That is, the key consistency reconciliation method, the number of channel detections N, and the maximum number of key consistency reconciliations M used in the detection and reconciliation process may be pre-configured or pre-agreed.
[0153] Here, by setting the maximum number of key consistency reconciliations, the communicating parties (the first node device and the second node device) are allowed to exchange consistency coordination information, and at the same time, an upper limit (maximum M times) is set for the number of key consistency reconciliations to prevent unlimited interactions due to the failure of key consistency reconciliation, which causes a waste of system transmission bandwidth. By setting M and N, the controllability of the information reconciliation process is increased.
[0154] It should be noted that, in the embodiment in which the above step 202 corresponds to step 2021 and step 2022, the two parameters M and N involved can be obtained based on the above two embodiments for determining M and N.
[0155] Furthermore, the above step 2021, performing a maximum of M key consistency reconciliations based on the second key bit sequence to obtain a key consistency reconciliation result, may specifically include:
[0156] (1) After performing the mth key consistency reconciliation based on the second key bit sequence, if the key consistency reconciliation result obtained indicates that the key consistency reconciliation is successful, obtain the target key according to the key bit sequence after the mth reconciliation, 0≤m≤M.
[0157] (2) If the key consistency reconciliation result obtained after the mth key consistency reconciliation is performed based on the second key bit sequence indicates that the key consistency reconciliation has failed, the key bit sequence that has not been reconciled in this round is discarded, and the second node device is notified of the key consistency reconciliation failure.
[0158] In an optional implementation, the step (1) of performing the mth key consistency reconciliation based on the second key bit sequence includes:
[0159] 1-1, when m=0, obtaining the encoding information of the second key bit sequence and the check value of the second key bit sequence based on the key consistency reconciliation method;
[0160] Specifically, the first node device calculates the encoding information of the second key bit sequence by using the negotiated key consistency reconciliation method, and simultaneously calculates the check value of the second key bit sequence.
[0161] 1-2, sending a channel detection request message to the second node device, where the channel detection request message carries the encoding information of the second key bit sequence and the check value of the second key bit sequence, so that the second node device performs a first key consistency reconciliation on the fourth key bit sequence, and returns the key consistency reconciliation result through a channel detection response message;
[0162] That is, the coding information of the second key bit sequence and the check value of the second key bit sequence are transmitted to the second node device through the channel detection request message, and the second node device performs the first key consistency reconciliation on the fourth key bit sequence on the second node device side according to the coding information and the check value sent by the first node device; thereafter, the key consistency reconciliation result is returned through the channel detection response message.
[0163] Specifically, the newly added KAI field in the channel detection request message carries the encoding information of the second key bit sequence and the check value of the second key bit sequence.
[0164] It should be noted that, if the detection and reconciliation process is the first detection and reconciliation process, the fourth key bit sequence is the third key bit sequence; if the detection and reconciliation process is the jth detection and reconciliation process, the fourth key bit sequence is the key bit sequence obtained by the previous detection and reconciliation, j≠1.
[0165] The third key bit sequence is a key bit sequence obtained by the second node device side based on N initial channel detection requests received from the first node device.
[0166] 1-3, when the key consistency reconciliation result indicates that the key consistency reconciliation is successful, obtaining a target key according to the second key bit sequence;
[0167] It should be noted that, when the key consistency reconciliation result obtained by the second node device side after the key consistency reconciliation process indicates that the key consistency reconciliation is successful, the channel detection response message only includes the key consistency reconciliation result.
[0168] Optionally, the key consistency reconciliation result is carried by a newly added KAI field in the channel detection response message, or, if there is no newly added KAI field in the channel detection response message, the key consistency reconciliation result indicates that the key consistency reconciliation is successful.
[0169] That is, if there is no newly added KAI field in the channel detection response message, it is indicated by default that the key consistency reconciliation is successful.
[0170] If the newly added KAI field in the channel detection response message carries the key consistency reconciliation result, the key consistency reconciliation success is notified in a displayed manner.
[0171] 1-4. When the key consistency reconciliation result indicates that the key consistency reconciliation fails, perform a first key consistency reconciliation on the second key bit sequence.
[0172] Here, when the key consistency reconciliation result obtained by the second node device side after key consistency reconciliation processing indicates that the key consistency reconciliation has failed, the channel detection response message includes the encoding information and verification value of the local key bit sequence returned by the second node device side, which is used by the first node device to perform the first key consistency reconciliation on the second key bit sequence.
[0173] Optionally, the channel detection response message also includes a key consistency reconciliation result. Here, if the key consistency reconciliation result is not included, the first node device determines that the key consistency reconciliation result indicates a key consistency reconciliation failure by comparing the check value of the key bit sequence reconciled by itself with the check value sent by the second node device.
[0174] In another optional implementation, the step (1) of performing the mth key consistency reconciliation based on the second key bit sequence includes:
[0175] 2-1, when m≠0, receiving a channel detection response message sent by the second node device, where the channel detection response message carries the encoding information of the key bit sequence after the nth reconciliation and the check value of the key bit sequence after the nth reconciliation;
[0176] 2-2, performing consistency reconciliation on the key bit sequence after the m-1th reconciliation based on the encoding information of the key bit sequence after the nth reconciliation, obtaining the key bit sequence after the mth reconciliation, and calculating the check value of the key bit sequence after the mth reconciliation;
[0177] That is, after receiving the coding information and check value returned by the second node device, the first node device uses the coding information to perform consistency reconciliation on the key bit sequence after the last reconciliation (if the local reconciliation is the first reconciliation, the key bit sequence after the last reconciliation refers to the key bit sequence that has not been reconciled, that is, the first key bit sequence) to obtain the key bit sequence after this (that is, the mth) reconciliation. Based on the negotiated key consistency reconciliation method, the check value of the key bit sequence after this reconciliation is calculated.
[0178] 2-3, when the check value of the key bit sequence after the m-th reconciliation is consistent with the check value of the key bit sequence after the n-th reconciliation, obtain the target key according to the key bit sequence after the m-th reconciliation, and return the key consistency reconciliation result to the second node device through a channel detection request message, wherein the key consistency reconciliation result indicates that the key consistency reconciliation is successful;
[0179] That is, the check value returned by the second node device is compared with the check value calculated this time. If they are consistent, it means that the key consistency reconciliation is successful.
[0180] Optionally, the key consistency reconciliation result is carried by a newly added KAI field in the channel detection request message, or if there is no newly added KAI field in the channel detection request message, it indicates that the key consistency reconciliation is successful.
[0181] That is, if there is no newly added KAI field in the channel detection request message, it is indicated by default that the key consistency reconciliation is successful.
[0182] If the newly added KAI field in the channel detection request message carries the key consistency reconciliation result, the key consistency reconciliation success is notified in a displayed manner.
[0183] 2-4. When the check value of the key bit sequence after the mth reconciliation is inconsistent with the check value of the key bit sequence after the nth reconciliation, the coding information of the key bit sequence after the mth reconciliation is obtained based on the key consistency reconciliation method, and the key consistency reconciliation result, the coding information of the key bit sequence after the mth reconciliation and the check value of the key bit sequence after the mth reconciliation are returned to the second node device through a channel detection request message, so that the second node device performs the n+1th consistency reconciliation processing, and the key consistency reconciliation result indicates that the key consistency reconciliation has failed.
[0184] Optionally, the newly added KAI field in the channel detection response message carries the encoding information of the key bit sequence after the n-th reconciliation and the check value of the key bit sequence after the n-th reconciliation.
[0185] It should be noted that for WLAN systems, the KAI field described in this application can be added to the channel detection request and channel detection response MAC frames to achieve the interaction of key consistency and coordination information while completing the wireless channel detection. It can also be added to MAC layer control frames such as RTS, CTS, ACK, etc., and can also be added to MAC layer management frames such as Beacon, Probe Request, ProbeResponse, etc., and can also be added to MAC layer data frames such as To DS, From DS, etc., and the purpose of transmitting the information required for consistency coordination can also be achieved.
[0186] like Figure 5 As shown, the embodiment of the present invention further provides a flow chart of an information processing method, which is executed by a second node device, wherein the method may include:
[0187] Step 501, obtaining a third key bit sequence by receiving an initial channel detection request message sent by a first node device N times, where N is a positive integer;
[0188] In an optional embodiment, step 501 includes:
[0189] Step 5011: after receiving a channel detection request message sent by a first node device each time, returning a channel detection response message to the first node device;
[0190] Step 5012, obtaining channel state information according to the channel detection request message;
[0191] It should be understood that the channel state information here is the second original key.
[0192] Step 5013, quantizing the channel state information to obtain a second original key bit sequence;
[0193] That is, the second node device quantizes the obtained channel state information after each channel detection to generate a second original key bit sequence.
[0194] Step 5014: Obtain a third key bit sequence based on the obtained N second original key bit sequences.
[0195] Specifically, the second node device may combine the obtained N second original key bit sequences according to a preset rule to obtain a third key bit sequence.
[0196] From the above analysis, it can be known that after the communicating parties, namely the first node device and the second node device, obtain the quantized key bit sequence, their respective quantized key bit sequences may have mismatched bits, and need to be adjusted to achieve key consistency. Therefore, the second node device executes the following step 502.
[0197] Step 502, looping the detection and reconciliation process until a target key that meets the target requirements is obtained, wherein the detection and reconciliation process is used to reconcile the key consistency of the key bit sequence generated by the second node device during the first N channel detection processes with the key bit sequence generated by the first node device, and the target requirement is that the key consistency reconciliation result obtained after the detection and reconciliation indicates that the key consistency reconciliation is successful; the first detection and reconciliation process is used to reconcile the key consistency of the third key bit sequence with the first key bit sequence on the first node device side.
[0198] In an optional embodiment, the detection and reconciliation process of step 502 specifically includes:
[0199] Step 5021, performing a maximum of M key consistency reconciliations based on the fourth key bit sequence to obtain a key consistency reconciliation result, wherein the M key one-time reconciliations are integrated into the M channel detection processes;
[0200] Among them, if the detection and reconciliation process is the first detection and reconciliation process, the fourth key bit sequence is the third key bit sequence; if the detection and reconciliation process is the jth detection and reconciliation process, the fourth key bit sequence is the key bit sequence obtained by the previous detection and reconciliation, j≠1.
[0201] Here, the key reconciliation object of the first detection and reconciliation process is the third key bit sequence obtained after the aforementioned N initial detections; thereafter, the key reconciliation objects in the detection and reconciliation process are all key bit sequences obtained through the previous detection and reconciliation, collectively referred to as the fourth key bit sequence.
[0202] Step 5021, perform the channel detection process NM times again, where N and M are positive integers;
[0203] It should be understood that the detection and reconciliation process actually includes N channel detection processes and M one-time key reconciliations, wherein the M one-time key reconciliations are integrated into the M channel detection processes.
[0204] In an optional embodiment, the method of the present invention may further include:
[0205] 1) performing key consistency and reconciliation capability negotiation with the first node device through an initial channel detection request message sent by the first node device received for the first time, wherein the initial channel detection request message carries key consistency and reconciliation capability information;
[0206] Here, when the second node device performs channel detection, it negotiates the key consistency reconciliation capability with the first node device through the key consistency reconciliation capability information of the first node device carried in the received initial channel detection request message; specifically, according to the key consistency reconciliation capability information of the first node device and its own key consistency reconciliation capability, it selects a suitable key consistency reconciliation method (for example, a method supported by both parties), and determines the number of channel detections N and the maximum number of key consistency reconciliations M. That is, the following step 2).
[0207] 2) determining a negotiation result according to the key consistency and reconciliation capability information, wherein the negotiation result is determined by the second node device according to the key consistency and reconciliation capability information, and the negotiation result includes the key consistency and reconciliation method used in each detection and reconciliation process, the number of channel detections N, and the maximum number of key consistency and reconciliations M;
[0208] Optionally, the key consistency reconciliation capability information includes:
[0209] All key consistency reconciliation methods supported by the first node device;
[0210] The number of channel detections and the maximum number of key consistency reconciliations corresponding to each key consistency reconciliation method.
[0211] 3) Sending the negotiation result to the first node device.
[0212] Optionally, the negotiation result may be sent to the first node device via a channel detection response message.
[0213] Optionally, the negotiation result is carried in one of the following information:
[0214] The newly added key consistency information KAI field in the media access control MAC layer message;
[0215] A new KAI field is added to existing signaling;
[0216] Added signaling.
[0217] It should be noted that the negotiation result obtained by negotiating the key consistency reconciliation capability between the above-mentioned first node device and the second node device enables multiple negotiations to be performed when the two parties adopt a two-way mechanism to reconcile the key. In this process, the communication system coordinates the consistency of the original key bit sequence (specifically the first original key bit sequence and the third original key bit sequence) according to the number of channel detections N and the maximum number of key consistency reconciliations M. The relationship between the two parameters M and N can be different, for example, N is less than M, N is equal to M, or N is greater than M, and so on. Correspondingly, the contents included in the negotiation results are different, and the information transmission process is also different. In order to simplify the key management process, this application takes N greater than M as an example for explanation. For example, N is 3 and M is 2.
[0218] In another optional embodiment, the method of the present invention may further include:
[0219] Based on the pre-configuration, the key consistency reconciliation method, the number of channel detections N, and the maximum number of key consistency reconciliations M used in each detection and reconciliation process are determined.
[0220] That is, the key consistency reconciliation method, the number of channel detections N, and the maximum number of key consistency reconciliations M used in the detection and reconciliation process may be pre-configured or pre-agreed.
[0221] Here, by setting the maximum number of key consistency reconciliations, the communicating parties (the first node device and the second node device) are allowed to exchange consistency coordination information, and at the same time, an upper limit (maximum M times) is set for the number of key consistency reconciliations to prevent unlimited interactions due to the failure of key consistency reconciliation, which causes a waste of system transmission bandwidth. By setting M and N, the controllability of the information reconciliation process is increased.
[0222] It should be noted that, in the embodiment in which the above step 502 corresponds to step 5021 and step 5022, the two parameters M and N involved can be obtained based on the above two embodiments for determining M and N.
[0223] Furthermore, the above step 5021, performing a maximum of M key consistency reconciliations based on the fourth key bit sequence to obtain a key consistency reconciliation result, may specifically include:
[0224] I) After performing the nth key consistency reconciliation based on the fourth key bit sequence, if the key consistency reconciliation result obtained indicates that the key consistency reconciliation is successful, the target key is obtained according to the key bit sequence after the nth reconciliation, 1≤n≤M.
[0225] II) If the key consistency reconciliation result obtained after the nth key consistency reconciliation is performed based on the fourth key bit sequence indicates that the key consistency reconciliation has failed, the key bit sequence that has not been reconciled in this round is discarded and the second node device is notified of the key consistency reconciliation failure.
[0226] In an optional implementation, the step of performing the n-th key consistency reconciliation based on the fourth key bit sequence in 1) above includes:
[0227] 3-1, receiving a channel detection request message sent by the first node device, where the channel detection request message carries the encoding information of the key bit sequence after the m-1th reconciliation and the check value of the key bit sequence after the m-1th reconciliation, 0≤m-1≤M;
[0228] Here, if m-1=0, the coding information of the key bit sequence after the m-1th reconciliation is the unreconciled key bit sequence, that is, the coding information of the first key bit sequence on the first node device side.
[0229] Specifically, the newly added KAI field in the channel detection request message carries the encoding information of the key bit sequence after the (m-1)th reconciliation and the check value of the key bit sequence after the (m-1)th reconciliation.
[0230] 3-2, performing consistency reconciliation on the key bit sequence after the n-1th reconciliation according to the encoding information of the key bit sequence after the m-1th reconciliation, obtaining the key bit sequence after the nth reconciliation, and calculating the check value of the key bit sequence after the nth reconciliation;
[0231] Here, after receiving the coding information and check value sent by the first node device, the second node device uses the coding information to perform consistency reconciliation on the key bit sequence after the last reconciliation (this reconciliation is the nth reconciliation, and the last time is the n-1th reconciliation) to obtain the key bit sequence after this reconciliation. Afterwards, based on the negotiated key consistency reconciliation method, the check value of the key bit sequence after this reconciliation is calculated.
[0232] 3-3, when the check value of the key bit sequence after the nth reconciliation is consistent with the check value of the key bit sequence after the m-1th reconciliation, obtain the target key according to the key bit sequence after the nth reconciliation, and return the key consistency reconciliation result through the channel detection response message, wherein the key consistency reconciliation result indicates that the key consistency reconciliation is successful;
[0233] That is, the verification value obtained this time is compared with the verification value sent by the first node device. If they are consistent, it means that the key consistency reconciliation is successful.
[0234] 3-4. When the check value of the key bit sequence after the nth reconciliation is inconsistent with the check value of the key bit sequence after the m-1th reconciliation, obtain the encoding information of the key bit sequence after the nth reconciliation based on the key consistency reconciliation method; and return the key consistency reconciliation result, the encoding information of the key bit sequence after the nth reconciliation and the check value of the key bit sequence after the nth reconciliation through a channel detection response message, so that the first node device performs the mth consistency reconciliation processing, and the key consistency reconciliation result indicates that the key consistency reconciliation has failed.
[0235] The key consistency reconciliation result is carried by the newly added KAI field in the channel detection response message, or if there is no newly added KAI field in the channel detection response message, it indicates that the key consistency reconciliation is successful.
[0236] The information processing method of the embodiment of the present invention obtains a third key bit sequence by receiving the initial channel detection request message sent by the first node device N times, where N is a positive integer; and cyclically executes the detection and reconciliation process until a target key that meets the target requirement is obtained, wherein the detection and reconciliation process is used to reconcile the key consistency of the key bit sequence generated by the second node device during the first N channel detection processes with the first key bit sequence of the key bit sequence generated by the first node device, and the target requirement is that the key consistency reconciliation result obtained after the detection and reconciliation indicates that the key consistency reconciliation is successful; the first detection and reconciliation process is used to reconcile the key consistency of the third key bit sequence with the first key bit sequence on the first node device side, so that the information required for interaction for the two-way consistency reconciliation of the wireless key can be effectively transmitted, thereby effectively supporting the implementation of the wireless key generation technology in the actual communication system.
[0237] In order to save communication resources and efficiently transmit the information required for two-way key consistency reconciliation, this application takes the addition of KAI in the MAC frame of the WLAN system channel detection message as an example for explanation, that is, the two WLAN node devices carry consistency reconciliation information (such as consistency reconciliation results, encoding information of the key bit sequence and verification value) by sending channel detection request and channel detection response messages. Among them, WLAN node devices A and B can be access points (Access Point, AP) or mobile stations (Station, STA). The specific information transmission process is as follows Figure 6 shown.
[0238] 1a. Node device A sends a channel detection request message (i.e., an initial channel detection request message). While detecting the wireless channel and obtaining the wireless channel status information, it informs node device B of its own key consistency reconciliation capability information through the KAI field of the channel detection request message, including all consistency reconciliation methods supported by node device A, the number of channel detections corresponding to each key consistency reconciliation method, and the maximum number of key consistency reconciliations.
[0239] The number of channel detections and the maximum number of key consistency reconciliations are optional. If node device A chooses not to carry them, the information required for consistency reconciliation is transmitted by default each time a channel detection is performed, and the maximum number of key consistency reconciliations is 1;
[0240] Alternatively, node device A dynamically decides when to perform key consistency reconciliation and the maximum number of corresponding key consistency reconciliations based on the local key generation situation. Otherwise, the subsequent channel detection message transmits relevant information based on the agreed number of channel detections and the maximum number of key consistency reconciliations. For example, for the key consistency reconciliation method based on Turbo code, node device A can send the following information (Turbo, 1 / 3, 2) to node device B to indicate that a round of key consistency reconciliation is performed on the generated original key after every 3 wireless channel detections, and the maximum number of key consistency reconciliations per round is 2 times. For the LDPC method, there can be (LDPC, 1 / 2) to indicate that a round of key consistency reconciliation is performed on the generated original key after every 2 wireless channel detections, and the maximum number of key consistency reconciliations per round is 1 time. The final reconciliation result is carried and transmitted by KAI at the next channel detection (it may be transmitted one more time).
[0241] 1b. After receiving the channel detection request message, node device B selects an appropriate key consistency reconciliation method (for example, a method supported by both parties) according to the capabilities of device A and its own capabilities, and determines the maximum number of channel detection times and key consistency reconciliation times. This embodiment is described by taking node device B selecting (Turbo, 1 / 3, 2) as an example.
[0242] 1c. Node device B feeds back the selection result (Turbo, 1 / 3, 2) to node device A through the KAI of the channel detection response message, so that node device A and node device B use the same consistency reconciliation mechanism for subsequent processing.
[0243] 1d. Node device A confirms the subsequent key consistency reconciliation method, channel detection times, maximum number of key consistency reconciliations and other information based on the channel detection response message sent by node device B, thereby completing the negotiation of the key consistency reconciliation mechanism.
[0244] 1e. Based on the wireless channel state information (CSI, RSSI, etc.) obtained from this channel detection request and channel detection response message, the communicating parties quantize the state parameters of the wireless channel and generate a binary bit sequence as the originally generated key.
[0245] 2a-3c. Node device A performs the second and third channel detections, and quantizes the acquired wireless channel state information (CSI, RSSI, etc.) after each channel detection to generate an original key bit sequence.
[0246] At this point, the communication system has completed one round of the original key generation process. Next, the original key bit sequence is reconciled according to the negotiated channel detection times and the maximum number of key consistency reconciliations, so that both parties can generate consistent key bits. This process is integrated with the subsequent channel detection process, and the key consistency reconciliation information (such as key consistency reconciliation results, key bit sequence encoding information and check values) is carried in the channel detection request and channel detection response messages to complete the transmission, so as to reduce system message overhead and improve efficiency.
[0247] 4a. Before executing this channel detection, three channel detections have been performed, reaching the number of channel detections. Node device A first uses the negotiated key consistency reconciliation method to calculate the encoding information of the original key generated by the previous three channel detections, and calculates their check values at the same time, and then transmits them through the KAI field of the channel detection request message.
[0248] 4b. After receiving the channel detection request, node device B performs consistency reconciliation processing on the original key bits according to the coding information carried by the KAI field to correct the key bits that are inconsistent with node device A. Then calculate the check value of the reconciled key bit sequence and compare it with the received check value. If they are consistent, the reconciled key bit sequence is retained. If they are inconsistent, calculate the coding information and check value of the reconciled key bit sequence and provide them to node device A so that it can align the generated key bit sequence with node B.
[0249] 4c. Node device B returns a channel detection response message, which may optionally carry the key consistency reconciliation result, encoding information, and the check value of the key bit sequence to inform node device A of the next processing steps. Specifically, it can be divided into the following two cases:
[0250] (1) The checksum of the key bit sequence after the first reconciliation of node device B is consistent with that of node A, and the key consistency reconciliation is successful. At this time, there are two ways to inform node device A of the key consistency reconciliation result (all reconciliation result carrying methods in the information transmission process proposed in this application are the same as this step, and will not be repeated later). The details are as follows:
[0251] 1) It does not carry any consistency reconciliation information of KAI, and indicates that the key consistency reconciliation is successful by default;
[0252] 2) Carry KAI to explicitly inform that the key consistency reconciliation is successful.
[0253] (2) If the checksum of the key bit sequence after the first reconciliation of node device B is still not consistent with that of node A, it carries the reconciliation failure result information as well as the checksum and coding information of the key bit sequence after the reconciliation of node device B to provide the required information for node device A to perform the next information reconciliation.
[0254] The reconciliation failure result information may be optionally carried. If not carried, node device A may also obtain the result of the information reconciliation failure of node device B by comparing the check value of its own reconciled key bits with the received check value.
[0255] 4d. Corresponding to step 4c, after receiving the channel detection response message, node device A may perform the following two processing according to the information content carried by the message:
[0256] (1) If the channel detection response message does not carry information related to the consistency reconciliation (in this case, it can be assumed that the key reconciliation is successful) or only carries information about the successful reconciliation, then the successfully reconciled key bit sequence is retained and this round of key consistency reconciliation process ends.
[0257] (2) The channel detection response message carries the result information of the reconciliation failure as well as the check value and coding information of the key bit sequence. Node device A reconciles the original key bit sequence according to the received coding information, calculates the check value of the reconciled key, and then compares it with the received check value.
[0258] If they are consistent, it means that the key consistency reconciliation is successful. Node device A retains the successfully reconciled key bit sequence and informs node device B of the result information of the successful key reconciliation through KAI during the next channel detection process.
[0259] If they are inconsistent, the encoding information and check value of the key after this reconciliation are calculated and sent to node device B through KAI information during the next channel detection process, so as to provide them to node device B so that it can align the generated key bit sequence with node A.
[0260] 4e. Based on the wireless channel state information (CSI, RSSI, etc.) obtained by the transmission of the channel detection request and the channel detection response message, node device A and node device B quantize the newly obtained state parameters of the wireless channel to generate a new binary bit sequence. The original key generated by this channel detection waits for the next round of consistency reconciliation to start before calculating the KAI information and completing the KAI interaction and key coordination process.
[0261] 5a. Based on the consistency reconciliation process in step 4d, node device A sends a channel detection request message. The information content carried by the message is divided into the following two situations:
[0262] (1) If the key reconciliation is successful after the last key consistency reconciliation, the node device B is informed of the result of the information reconciliation through this message. The specific carrying method is as described in step 4c(1).
[0263] (2) If the last key consistency reconciliation fails, it carries the reconciliation failure result information and the check value and encoding information of the key bit sequence after the first reconciliation of node device A, providing the required information for node device B to perform the second information reconciliation.
[0264] 5b. Corresponding to step 5a, after receiving the channel detection request message, node device B performs consistency reconciliation processing according to the information carried by KAI:
[0265] (1) If the channel detection response message does not carry information related to the consistency reconciliation (in this case, it can be assumed that the key reconciliation is successful) or only carries information on the successful reconciliation, then node device B retains the key bit sequence that was successfully reconciled for the first time, and this round of key consistency reconciliation process ends.
[0266] (2) If the message carries the result information of the reconciliation failure and the encoding information and check value of the key after the first reconciliation of node device A, node device B performs consistency reconciliation on the reconciled key bit sequence again according to the encoding information to correct the key bits that are inconsistent with node device A. Then calculate the check value of the key after the second reconciliation and compare it with the received check value. If they are consistent, the key bit sequence after this (i.e., the second) reconciliation is retained. If they are inconsistent, the check value and encoding information of the key bit sequence after the second reconciliation are provided to node device A so that it aligns the corresponding key bit sequence with node B.
[0267] 5c. Node device B returns a channel detection response message, which may optionally carry the key consistency reconciliation result, encoding information, and the check value of the key bit sequence. Specifically, it can be divided into the following two cases:
[0268] (1) After the second reconciliation, the checksum of the key bit sequence of node device B is consistent with that of node device A, indicating that the key consistency reconciliation of this group is successful. Then, node device A is informed of the key consistency reconciliation result through this message. The specific carrying method is as described in step 4c(1).
[0269] (2) If the checksum of the key bit sequence after the second reconciliation of node device B is still not consistent with that of node device A, it carries the reconciliation failure result information as well as the checksum and coding information of the key bit sequence after the second reconciliation of node device B to provide the required information for node device A to perform the second information reconciliation.
[0270] 5d. Node device A processes the information contained in the channel detection response message:
[0271] (1) If the channel detection response message does not carry information related to the consistency reconciliation (in this case, it can be assumed that the key reconciliation is successful) or only carries information on the successful reconciliation, then node device A retains the key bit sequence of the first successful reconciliation, and this round of key consistency reconciliation process ends.
[0272] (2) The channel detection response message carries the result information of the reconciliation failure, the check value of the key bit sequence, and the coding information. Node device A reconciles the original key bit sequence according to the received coding information, calculates the check value of the reconciled key, and then compares it with the received check value. If they are consistent, it means that the key consistency reconciliation is successful. Node device A retains the key bit sequence after the second reconciliation and informs node device B of the result information of the successful key reconciliation through KAI during the next channel detection process.
[0273] Since the key consistency reconciliation has reached the maximum number of times, if the key check value after this reconciliation of node device A is still inconsistent with the received check value, the key bit sequence that is not coordinated in this round will be discarded, the information reconciliation process will be terminated, and the result information of the key reconciliation failure will be informed to node B through KAI during the next channel detection process, so that node device B will also discard the coordinated key bit sequence.
[0274] 5e. Based on the wireless channel state information (CSI, RSSI, etc.) obtained by the transmission of the channel detection request and the channel detection response message, node device A and device B quantize the newly obtained state parameters of the wireless channel to generate a new binary bit sequence. The original key generated by this channel detection waits for the next round of consistency reconciliation to be processed for key coordination. Node device A and node device B can repeat the above process according to the needs of key generation to generate a key that meets the user's needs.
[0275] The above is only one of the specific embodiments given in the present invention. In fact, using similar mechanisms (for example, integrating the negotiation process of the key consistency reconciliation method into the first key consistency reconciliation interaction process) or combining with the MAC frame defined in the existing WLAN standard to transmit key consistency reconciliation information or other information that the two parties need to interact with, or defining the relationship between the number of channel detection times and the maximum number of key consistency reconciliation times, improving the consistency reconciliation information transmission process, etc., are all within the protection scope of the present invention.
[0276] It should be noted that the maximum number of key consistency reconciliations proposed in the present invention can be dynamically adjusted according to the inconsistency rate of the key generated by channel detection in the actual communication system and the reconciliation effect of the selected algorithm / mechanism. At the same time, the number of channel detections can also be set based on the length of the original key bit sequence required for consistency reconciliation instead of the number of MAC layer message interactions (that is, when the length of the original key bit sequence is insufficient, consistency reconciliation is not performed until the accumulated original key length exceeds the set threshold). This can enhance the controllability of the communication system over the information reconciliation process and save more resources required for information transmission.
[0277] Wireless key generation, which can also be called wireless physical layer key generation, wireless channel key generation, wireless resource key generation, etc., refers to a method of utilizing the time-varying characteristics of the wireless propagation environment and extracting the instantaneous characteristics of the wireless channel to enable the communicating parties to generate symmetric keys.
[0278] Key consistency reconciliation, which can also be called consistency reconciliation, information reconciliation, information coordination, key consistency check, key consistency negotiation, key consistency coordination, etc., is the processing performed during the key generation process to eliminate inconsistent key bits after quantization.
[0279] The technical method proposed in the present invention is compatible with any two-way wireless key consistency reconciliation mechanism or algorithm. At the same time, the transmission method can be combined with the existing communication mechanism of the MAC layer of the existing WLAN system to reduce the overhead of network information interaction and realize the information reconciliation process, thereby effectively supporting the generation of wireless physical layer keys of the WLAN system. At the same time, the technical method proposed in the present invention can be applied to 4G / 5G / 6G and other mobile communication systems based on cellular networks after improvement. Such a system can define new signaling at L2 (layer 2) (such as MAC sublayer, RLC sublayer, PDCP sublayer), L3 (layer 3) (such as RRC layer), or add a new KAI field to the existing signaling to carry the information required for consistency reconciliation, and realize the consistency coordination of wireless keys between the base station and the terminal, including completing the negotiation of the key consistency coordination method, the negotiation of the maximum number of key consistency reconciliations, the negotiation of the number of channel detections, the interaction of key bit sequence check information, the interaction of key consistency coordination coding information, and the transmission of consistency coordination results, so that the cellular-based mobile communication network has the ability to generate wireless keys.
[0280] like Figure 7 As shown, an embodiment of the present invention provides an information processing device, which may include:
[0281] The first processing module 701 is configured to obtain a first key bit sequence by sending N initial channel detection request messages to the second node device, where N is a positive integer;
[0282] The second processing module 702 is used to cyclically execute the detection and reconciliation process until a target key that meets the target requirements is obtained, wherein the detection and reconciliation process is used to reconcile the key consistency of the key bit sequence generated by the first node device during the first N channel detection processes with the key bit sequence generated by the second node device, and the target requirement is that the key consistency reconciliation result obtained after the detection and reconciliation indicates that the key consistency reconciliation is successful; the first detection and reconciliation process is used to reconcile the key consistency of the first key bit sequence with the third key bit sequence on the second node device side.
[0283] Optionally, the first processing module 701 includes:
[0284] A first receiving unit, configured to receive a channel detection response message returned by the second node device after sending an initial channel detection request message to the second node device each time;
[0285] A first processing unit, configured to obtain channel state information according to the channel detection response message;
[0286] A second processing unit, configured to quantize the channel state information to obtain a first original key bit sequence;
[0287] The third processing unit is used to obtain the first key bit sequence according to the obtained N first original key bit sequences.
[0288] Optionally, the second processing module 702 includes:
[0289] A first key reconciliation unit is used to perform a maximum of M key consistency reconciliations based on the second key bit sequence to obtain a key consistency reconciliation result, wherein the M key one-time reconciliations are integrated into the M channel detection processes;
[0290] A first channel detection unit, used to perform NM channel detection processes again, where N and M are positive integers;
[0291] Among them, if the detection and reconciliation process is the first detection and reconciliation process, the second key bit sequence is the first key bit sequence; if the detection and reconciliation process is the i-th detection and reconciliation process, the second key bit sequence is the key bit sequence obtained by the previous detection and reconciliation, i≠1.
[0292] Optionally, the device of an embodiment of the present invention includes:
[0293] A first sending module, configured to perform key consistency and reconciliation capability negotiation with the second node device by sending an initial channel detection request message to the second node device for the first time, wherein the initial channel detection request message carries key consistency and reconciliation capability information;
[0294] The first receiving module is used to receive the negotiation result sent by the second node device, wherein the negotiation result is determined by the second node device according to the key consistency reconciliation capability information, and the negotiation result includes the key consistency reconciliation method used in each detection and reconciliation process, the number of channel detections N and the maximum number of key consistency reconciliations M.
[0295] Optionally, the negotiation result is carried in one of the following information:
[0296] The newly added key consistency information KAI field in the media access control MAC layer message;
[0297] A new KAI field is added to existing signaling;
[0298] Added signaling.
[0299] Optionally, the device in the embodiment of the present invention further includes:
[0300] The fifth processing module is used to determine the key consistency reconciliation method, the number of channel detections N, and the maximum number of key consistency reconciliations M used in each detection and reconciliation process based on pre-configuration.
[0301] Optionally, the first key reconciliation unit is specifically used for:
[0302] After performing the mth key consistency reconciliation based on the second key bit sequence, if the key consistency reconciliation result obtained indicates that the key consistency reconciliation is successful, the target key is obtained according to the key bit sequence after the mth reconciliation, 0≤m≤M.
[0303] Optionally, the device in the embodiment of the present invention further includes:
[0304] The sixth processing module is used to discard the key bit sequence that was not reconciled in this round and notify the second node device of the key consistency reconciliation failure when the key consistency reconciliation result obtained after performing the mth key consistency reconciliation based on the second key bit sequence indicates that the key consistency reconciliation has failed.
[0305] Optionally, the first key reconciliation unit is specifically used for:
[0306] When m=0, obtaining the encoding information of the second key bit sequence and the check value of the second key bit sequence based on the key consistency reconciliation method;
[0307] Sending a channel detection request message to the second node device, where the channel detection request message carries the encoding information of the second key bit sequence and the check value of the second key bit sequence, so that the second node device performs a first key consistency reconciliation on the fourth key bit sequence, and returns the key consistency reconciliation result through a channel detection response message;
[0308] When the key consistency reconciliation result indicates that the key consistency reconciliation is successful, obtaining a target key according to the second key bit sequence;
[0309] When the key consistency reconciliation result indicates that the key consistency reconciliation fails, a first key consistency reconciliation is performed on the second key bit sequence.
[0310] Optionally, the encoding information of the second key bit sequence and the check value of the second key bit sequence are carried by a newly added KAI field in the channel detection request message;
[0311] The key consistency reconciliation result is carried by the newly added KAI field in the channel detection response message, or if there is no newly added KAI field in the channel detection response message, the key consistency reconciliation result indicates that the key consistency reconciliation is successful.
[0312] Optionally, the first key reconciliation unit is specifically used for:
[0313] When m≠0, receiving a channel detection response message sent by the second node device, wherein the channel detection response message carries the encoding information of the key bit sequence after the nth reconciliation and the check value of the key bit sequence after the nth reconciliation;
[0314] Perform consistency reconciliation on the key bit sequence after the m-1th reconciliation based on the encoding information of the key bit sequence after the nth reconciliation to obtain the key bit sequence after the mth reconciliation, and calculate the check value of the key bit sequence after the mth reconciliation;
[0315] When the check value of the key bit sequence after the m-th reconciliation is consistent with the check value of the key bit sequence after the n-th reconciliation, obtain the target key according to the key bit sequence after the m-th reconciliation, and return a key consistency reconciliation result to the second node device through a channel detection request message, wherein the key consistency reconciliation result indicates that the key consistency reconciliation is successful;
[0316] When the check value of the key bit sequence after the mth reconciliation is inconsistent with the check value of the key bit sequence after the nth reconciliation, the coding information of the key bit sequence after the mth reconciliation is obtained based on the key consistency reconciliation method, and the key consistency reconciliation result, the coding information of the key bit sequence after the mth reconciliation and the check value of the key bit sequence after the mth reconciliation are returned to the second node device through a channel detection request message, so that the second node device performs the n+1th consistency reconciliation processing, and the key consistency reconciliation result indicates that the key consistency reconciliation has failed.
[0317] Optionally, the newly added KAI field in the channel detection response message carries the encoding information of the key bit sequence after the n-th reconciliation and the check value of the key bit sequence after the n-th reconciliation;
[0318] The key consistency reconciliation result is carried by the newly added KAI field in the channel detection request message, or if there is no newly added KAI field in the channel detection request message, it indicates that the key consistency reconciliation is successful.
[0319] The information processing device of the embodiment of the present invention obtains a first key bit sequence by sending N initial channel detection request messages to the second node device, where N is a positive integer; and executes the detection and reconciliation process in a loop until a target key that meets the target requirement is obtained, wherein the detection and reconciliation process is used to reconcile the key consistency of the key bit sequence generated by the first node device during the first N channel detection processes with the key bit sequence generated by the second node device, and the target requirement is that the key consistency reconciliation result obtained after the detection and reconciliation indicates that the key consistency reconciliation is successful; the first detection and reconciliation process is used to reconcile the key consistency of the first key bit sequence with the third key bit sequence on the second node device side, so that the information required for interaction for the two-way consistency reconciliation of the wireless key can be effectively transmitted, thereby effectively supporting the implementation of the wireless key generation technology in the actual communication system.
[0320] like Figure 8 As shown, an embodiment of the present invention provides an information processing device, which may include:
[0321] The third processing module 801 is configured to obtain a third key bit sequence by receiving an initial channel detection request message sent by the first node device N times, where N is a positive integer;
[0322] The fourth processing module 802 is used to cyclically execute the detection and reconciliation process until a target key that meets the target requirements is obtained, wherein the detection and reconciliation process is used to reconcile the key consistency of the key bit sequence generated by the second node device during the first N channel detection processes with the key bit sequence generated by the first node device, and the target requirement is that the key consistency reconciliation result obtained after the detection and reconciliation indicates that the key consistency reconciliation is successful; the first detection and reconciliation process is used to reconcile the key consistency of the third key bit sequence with the first key bit sequence on the first node device side.
[0323] Optionally, the third processing module 801 includes:
[0324] A first sending unit, configured to return a channel detection response message to the first node device each time after receiving a channel detection request message sent by the first node device;
[0325] a fourth processing unit, configured to obtain channel state information according to the channel detection request message;
[0326] a fifth processing unit, configured to quantize the channel state information to obtain a second original key bit sequence;
[0327] The sixth processing unit is used to obtain a third key bit sequence according to the obtained N second original key bit sequences.
[0328] Optionally, the fourth processing module 802 includes:
[0329] A second key reconciliation unit is used to perform a maximum of M key consistency reconciliations based on the fourth key bit sequence to obtain a key consistency reconciliation result, wherein the M key one-time reconciliations are integrated into the M channel detection processes;
[0330] A second channel detection unit, used to perform the channel detection process NM times again, where N and M are positive integers;
[0331] Among them, if the detection and reconciliation process is the first detection and reconciliation process, the fourth key bit sequence is the third key bit sequence; if the detection and reconciliation process is the jth detection and reconciliation process, the fourth key bit sequence is the key bit sequence obtained by the previous detection and reconciliation, j≠1.
[0332] Optionally, the device of an embodiment of the present invention includes:
[0333] A second receiving module, configured to perform key consistency reconciliation capability negotiation with the first node device through an initial channel detection request message sent by the first node device received for the first time, wherein the initial channel detection request message carries key consistency reconciliation capability information;
[0334] a seventh processing module, configured to determine a negotiation result according to the key consistency reconciliation capability information, wherein the negotiation result is determined by the second node device according to the key consistency reconciliation capability information, and the negotiation result includes a key consistency reconciliation method used in each detection and reconciliation process, a number of channel detections N, and a maximum number of key consistency reconciliations M;
[0335] The second sending module is used to send the negotiation result to the first node device.
[0336] Optionally, the negotiation result is carried in one of the following information:
[0337] The newly added key consistency information KAI field in the media access control MAC layer message;
[0338] A new KAI field is added to existing signaling;
[0339] Added signaling.
[0340] Optionally, the device in the embodiment of the present invention further includes:
[0341] The eighth processing module is used to determine the key consistency reconciliation method, the number of channel detections N, and the maximum number of key consistency reconciliations M used in each detection and reconciliation process based on pre-configuration.
[0342] Optionally, the second key reconciliation unit is specifically used for:
[0343] After performing the nth key consistency reconciliation based on the fourth key bit sequence, if the key consistency reconciliation result obtained indicates that the key consistency reconciliation is successful, the target key is obtained according to the key bit sequence after the nth reconciliation, 1≤n≤M.
[0344] Optionally, the device in the embodiment of the present invention further includes:
[0345] The ninth processing module is used to discard the key bit sequence that was not reconciled in this round and notify the second node device of the key consistency reconciliation failure when the key consistency reconciliation result obtained after the nth key consistency reconciliation is performed based on the fourth key bit sequence indicates that the key consistency reconciliation has failed.
[0346] Optionally, the second key reconciliation unit is specifically used for:
[0347] Receive a channel detection request message sent by the first node device, where the channel detection request message carries the encoding information of the key bit sequence after the m-1th reconciliation and the check value of the key bit sequence after the m-1th reconciliation, 0≤m-1≤M;
[0348] Perform consistency reconciliation on the key bit sequence after the n-1th reconciliation according to the coding information of the key bit sequence after the m-1th reconciliation, obtain the key bit sequence after the nth reconciliation, and calculate the check value of the key bit sequence after the nth reconciliation;
[0349] When the check value of the key bit sequence after the nth reconciliation is consistent with the check value of the key bit sequence after the m-1th reconciliation, a target key is obtained according to the key bit sequence after the nth reconciliation, and a key consistency reconciliation result is returned through a channel detection response message, wherein the key consistency reconciliation result indicates that the key consistency reconciliation is successful;
[0350] When the check value of the key bit sequence after the nth reconciliation is inconsistent with the check value of the key bit sequence after the m-1th reconciliation, the encoding information of the key bit sequence after the nth reconciliation is obtained based on the key consistency reconciliation method; and the key consistency reconciliation result, the encoding information of the key bit sequence after the nth reconciliation and the check value of the key bit sequence after the nth reconciliation are returned through a channel detection response message, so that the first node device performs the mth consistency reconciliation processing, and the key consistency reconciliation result indicates that the key consistency reconciliation has failed.
[0351] Optionally, the newly added KAI field in the channel detection request message carries the encoding information of the key bit sequence after the (m-1)th reconciliation and the check value of the key bit sequence after the (m-1)th reconciliation;
[0352] The key consistency reconciliation result is carried by the newly added KAI field in the channel detection response message, or if there is no newly added KAI field in the channel detection response message, it indicates that the key consistency reconciliation is successful.
[0353] The information processing device of the embodiment of the present invention obtains a third key bit sequence by receiving the initial channel detection request message sent by the first node device N times, where N is a positive integer; and executes the detection and reconciliation process in a loop until a target key that meets the target requirement is obtained, wherein the detection and reconciliation process is used to reconcile the key consistency of the key bit sequence generated by the second node device during the first N channel detection processes with the first key bit sequence of the key bit sequence generated by the first node device, and the target requirement is that the key consistency reconciliation result obtained after the detection and reconciliation indicates that the key consistency reconciliation is successful; the first detection and reconciliation process is used to reconcile the key consistency of the third key bit sequence with the first key bit sequence on the first node device side, so that the information required for interaction for the two-way consistency reconciliation of the wireless key can be effectively transmitted, thereby effectively supporting the implementation of the wireless key generation technology in the actual communication system.
[0354] In order to better achieve the above goals, Fig. 9 As shown, an embodiment of the present invention further provides a node device, which is a first node device, including a processor 900 and a transceiver 910, and the processor 900 is used to perform the following process:
[0355] Obtain a first key bit sequence by sending N initial channel detection request messages to the second node device, where N is a positive integer;
[0356] The detection and reconciliation process is executed in a loop until a target key that meets the target requirements is obtained, wherein the detection and reconciliation process is used to reconcile the key consistency of the key bit sequence generated by the first node device during the first N channel detection processes with the key bit sequence generated by the second node device, and the target requirement is that the key consistency reconciliation result obtained after the detection and reconciliation indicates that the key consistency reconciliation is successful; the first detection and reconciliation process is used to reconcile the key consistency of the first key bit sequence with the third key bit sequence on the second node device side.
[0357] Optionally, the transceiver 910 is further configured to:
[0358] After sending an initial channel detection request message to the second node device each time, receiving a channel detection response message returned by the second node device;
[0359] Accordingly, the processor 900 is further configured to:
[0360] Obtaining channel state information according to the channel detection response message;
[0361] quantizing the channel state information to obtain a first original key bit sequence;
[0362] The first key bit sequence is obtained according to the obtained N first original key bit sequences.
[0363] Optionally, the processor 900 is further configured to:
[0364] Performing a maximum of M key consistency reconciliations based on the second key bit sequence to obtain a key consistency reconciliation result, wherein the M key one-time reconciliations are integrated into the M channel detection processes;
[0365] Then perform the channel detection process NM times, where N and M are positive integers;
[0366] Among them, if the detection and reconciliation process is the first detection and reconciliation process, the second key bit sequence is the first key bit sequence; if the detection and reconciliation process is the i-th detection and reconciliation process, the second key bit sequence is the key bit sequence obtained by the previous detection and reconciliation, i≠1.
[0367] Optionally, the transceiver 910 is further configured to:
[0368] Performing key consistency and reconciliation capability negotiation with the second node device by sending an initial channel detection request message to the second node device for the first time, wherein the initial channel detection request message carries key consistency and reconciliation capability information;
[0369] Receive a negotiation result sent by the second node device, wherein the negotiation result is determined by the second node device according to the key consistency reconciliation capability information, and the negotiation result includes the key consistency reconciliation method used in each detection and reconciliation process, the number of channel detections N, and the maximum number of key consistency reconciliations M.
[0370] Optionally, the negotiation result is carried in one of the following information:
[0371] The newly added key consistency information KAI field in the media access control MAC layer message;
[0372] A new KAI field is added to existing signaling;
[0373] Added signaling.
[0374] Optionally, the processor 900 is further configured to:
[0375] Based on the pre-configuration, the key consistency reconciliation method, the number of channel detections N, and the maximum number of key consistency reconciliations M used in each detection and reconciliation process are determined.
[0376] Optionally, the processor 900 is further configured to:
[0377] After performing the mth key consistency reconciliation based on the second key bit sequence, if the key consistency reconciliation result obtained indicates that the key consistency reconciliation is successful, the target key is obtained according to the key bit sequence after the mth reconciliation, 0≤m≤M.
[0378] Optionally, the processor 900 is further configured to:
[0379] If the key consistency reconciliation result obtained after the mth key consistency reconciliation is performed based on the second key bit sequence indicates that the key consistency reconciliation has failed, the key bit sequence that has not been reconciled in this round is discarded and the second node device is notified of the key consistency reconciliation failure.
[0380] Optionally, the processor 900 is further configured to:
[0381] When m=0, obtaining the encoding information of the second key bit sequence and the check value of the second key bit sequence based on the key consistency reconciliation method;
[0382] Accordingly, the transceiver 910 is further configured to:
[0383] Sending a channel detection request message to the second node device, where the channel detection request message carries the encoding information of the second key bit sequence and the check value of the second key bit sequence, so that the second node device performs a first key consistency reconciliation on the fourth key bit sequence, and returns the key consistency reconciliation result through a channel detection response message;
[0384] The processor 900 is further configured to:
[0385] When the key consistency reconciliation result indicates that the key consistency reconciliation is successful, obtaining a target key according to the second key bit sequence;
[0386] When the key consistency reconciliation result indicates that the key consistency reconciliation fails, a first key consistency reconciliation is performed on the second key bit sequence.
[0387] Optionally, the encoding information of the second key bit sequence and the check value of the second key bit sequence are carried by a newly added KAI field in the channel detection request message;
[0388] The key consistency reconciliation result is carried by the newly added KAI field in the channel detection response message, or if there is no newly added KAI field in the channel detection response message, the key consistency reconciliation result indicates that the key consistency reconciliation is successful.
[0389] Optionally, the transceiver 910 is further configured to:
[0390] When m≠0, receiving a channel detection response message sent by the second node device, wherein the channel detection response message carries the encoding information of the key bit sequence after the nth reconciliation and the check value of the key bit sequence after the nth reconciliation;
[0391] Accordingly, the processor 900 is further configured to:
[0392] Perform consistency reconciliation on the key bit sequence after the m-1th reconciliation based on the encoding information of the key bit sequence after the nth reconciliation to obtain the key bit sequence after the mth reconciliation, and calculate the check value of the key bit sequence after the mth reconciliation;
[0393] When the check value of the key bit sequence after the mth reconciliation is consistent with the check value of the key bit sequence after the nth reconciliation, the target key is obtained according to the key bit sequence after the mth reconciliation, and the transceiver 910 is further used to: return a key consistency reconciliation result to the second node device through a channel detection request message, and the key consistency reconciliation result indicates that the key consistency reconciliation is successful;
[0394] When the check value of the key bit sequence after the mth reconciliation is inconsistent with the check value of the key bit sequence after the nth reconciliation, the coding information of the key bit sequence after the mth reconciliation is obtained based on the key consistency reconciliation method, and the transceiver 910 is also used to: return the key consistency reconciliation result, the coding information of the key bit sequence after the mth reconciliation and the check value of the key bit sequence after the mth reconciliation to the second node device through a channel detection request message, so that the second node device performs the n+1th consistency reconciliation processing, and the key consistency reconciliation result indicates that the key consistency reconciliation has failed.
[0395] Optionally, the newly added KAI field in the channel detection response message carries the encoding information of the key bit sequence after the n-th reconciliation and the check value of the key bit sequence after the n-th reconciliation;
[0396] The key consistency reconciliation result is carried by the newly added KAI field in the channel detection request message, or if there is no newly added KAI field in the channel detection request message, it indicates that the key consistency reconciliation is successful.
[0397] The first node device of the embodiment of the present invention obtains a first key bit sequence by sending N initial channel detection request messages to the second node device, where N is a positive integer; and executes the detection and reconciliation process in a loop until a target key that meets the target requirement is obtained, wherein the detection and reconciliation process is used to reconcile the key consistency of the key bit sequence generated by the first node device during the first N channel detection processes with the key bit sequence generated by the second node device, and the target requirement is that the key consistency reconciliation result obtained after the detection and reconciliation indicates that the key consistency reconciliation is successful; the first detection and reconciliation process is used to reconcile the key consistency of the first key bit sequence with the third key bit sequence on the second node device side, so that the information required for interaction for the two-way consistency reconciliation of the wireless key can be effectively transmitted, thereby effectively supporting the implementation of wireless key generation technology in actual communication systems.
[0398] In order to better achieve the above goals, Fig.10 As shown, the embodiment of the present invention further provides a second node device, including a processor 1000 and a transceiver 1010, wherein the processor 1000 is configured to execute the following process:
[0399] Obtain a third key bit sequence by receiving an initial channel detection request message sent by the first node device N times, where N is a positive integer;
[0400] The detection and reconciliation process is executed in a loop until a target key that meets the target requirements is obtained, wherein the detection and reconciliation process is used to reconcile the key consistency of the key bit sequence generated by the second node device during the first N channel detection processes with the key bit sequence generated by the first node device, and the target requirement is that the key consistency reconciliation result obtained after the detection and reconciliation indicates that the key consistency reconciliation is successful; the first detection and reconciliation process is used to reconcile the key consistency of the third key bit sequence with the first key bit sequence on the first node device side.
[0401] Optionally, the transceiver 1010 is further configured to:
[0402] After receiving a channel detection request message sent by a first node device each time, returning a channel detection response message to the first node device;
[0403] Accordingly, the processor 1000 is further configured to:
[0404] Obtaining channel state information according to the channel detection request message;
[0405] quantizing the channel state information to obtain a second original key bit sequence;
[0406] A third key bit sequence is obtained according to the obtained N second original key bit sequences.
[0407] Optionally, the processor 1000 is further configured to:
[0408] Performing a maximum of M key consistency reconciliations based on the fourth key bit sequence to obtain a key consistency reconciliation result, wherein the M key one-time reconciliations are integrated into the M channel detection processes;
[0409] Then perform the channel detection process NM times, where N and M are positive integers;
[0410] Among them, if the detection and reconciliation process is the first detection and reconciliation process, the fourth key bit sequence is the third key bit sequence; if the detection and reconciliation process is the jth detection and reconciliation process, the fourth key bit sequence is the key bit sequence obtained by the previous detection and reconciliation, j≠1.
[0411] Optionally, the transceiver 1010 is further configured to:
[0412] Performing key consistency and reconciliation capability negotiation with the first node device by receiving an initial channel detection request message sent by the first node device for the first time, wherein the initial channel detection request message carries key consistency and reconciliation capability information;
[0413] Correspondingly, the processor 1000 is further configured to: determine a negotiation result according to the key consistency reconciliation capability information, where the negotiation result is determined by the second node device according to the key consistency reconciliation capability information, and the negotiation result includes the key consistency reconciliation method used in each detection and reconciliation process, the number of channel detections N, and the maximum number of key consistency reconciliations M;
[0414] The transceiver 1010 is also used for:
[0415] Send the negotiation result to the first node device.
[0416] Optionally, the negotiation result is carried in one of the following information:
[0417] The newly added key consistency information KAI field in the media access control MAC layer message;
[0418] A new KAI field is added to existing signaling;
[0419] Added signaling.
[0420] Optionally, the processor 1000 is further configured to:
[0421] Based on the pre-configuration, the key consistency reconciliation method, the number of channel detections N, and the maximum number of key consistency reconciliations M used in each detection and reconciliation process are determined.
[0422] Optionally, the processor 1000 is further configured to:
[0423] After performing the nth key consistency reconciliation based on the fourth key bit sequence, if the key consistency reconciliation result obtained indicates that the key consistency reconciliation is successful, the target key is obtained according to the key bit sequence after the nth reconciliation, 1≤n≤M.
[0424] Optionally, the processor 1000 is further configured to:
[0425] If the key consistency reconciliation result obtained after the nth key consistency reconciliation is performed based on the fourth key bit sequence indicates that the key consistency reconciliation has failed, the key bit sequence that has not been reconciled in this round is discarded and the second node device is notified of the key consistency reconciliation failure.
[0426] Optionally, the transceiver 1010 is further configured to:
[0427] Receive a channel detection request message sent by the first node device, where the channel detection request message carries the encoding information of the key bit sequence after the m-1th reconciliation and the check value of the key bit sequence after the m-1th reconciliation, 0≤m-1≤M;
[0428] Correspondingly, the processor 1000 is further configured to: perform consistency reconciliation on the key bit sequence after the (n-1)th reconciliation according to the encoding information of the key bit sequence after the (m-1)th reconciliation, obtain the key bit sequence after the (n)th reconciliation, and calculate a check value of the key bit sequence after the (n)th reconciliation;
[0429] When the check value of the key bit sequence after the nth reconciliation is consistent with the check value of the key bit sequence after the m-1th reconciliation, the target key is obtained according to the key bit sequence after the nth reconciliation, and the transceiver 1010 is further used to: return a key consistency reconciliation result through a channel detection response message, and the key consistency reconciliation result indicates that the key consistency reconciliation is successful;
[0430] When the check value of the key bit sequence after the nth reconciliation is inconsistent with the check value of the key bit sequence after the m-1th reconciliation, the encoding information of the key bit sequence after the nth reconciliation is obtained based on the key consistency reconciliation method; and the transceiver 1010 is also used to: return the key consistency reconciliation result, the encoding information of the key bit sequence after the nth reconciliation and the check value of the key bit sequence after the nth reconciliation through a channel detection response message, so that the first node device performs the mth consistency reconciliation processing, and the key consistency reconciliation result indicates that the key consistency reconciliation has failed.
[0431] Optionally, the newly added KAI field in the channel detection request message carries the encoding information of the key bit sequence after the (m-1)th reconciliation and the check value of the key bit sequence after the (m-1)th reconciliation;
[0432] The key consistency reconciliation result is carried by the newly added KAI field in the channel detection response message, or if there is no newly added KAI field in the channel detection response message, it indicates that the key consistency reconciliation is successful.
[0433] The node device of the embodiment of the present invention obtains a third key bit sequence by receiving the initial channel detection request message sent by the first node device N times, where N is a positive integer; and executes the detection and reconciliation process in a loop until a target key that meets the target requirement is obtained, wherein the detection and reconciliation process is used to reconcile the key consistency of the key bit sequence generated by the second node device during the first N channel detection processes with the first key bit sequence of the key bit sequence generated by the first node device, and the target requirement is that the key consistency reconciliation result obtained after the detection and reconciliation indicates that the key consistency reconciliation is successful; the first detection and reconciliation process is used to reconcile the key consistency of the third key bit sequence with the first key bit sequence on the first node device side, so that the information required for interaction for the two-way consistency reconciliation of the wireless key can be effectively transmitted, thereby effectively supporting the implementation of the wireless key generation technology in the actual communication system.
[0434] An embodiment of the present invention also provides a node device, which is a first node device, including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the program, the various processes in the information processing method embodiment described above are implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.
[0435] An embodiment of the present invention also provides a node device, which is a second node device, including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the program, the various processes in the information processing method embodiment described above are implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.
[0436] The embodiment of the present invention further provides a computer-readable storage medium on which a computer program is stored. When the program is executed by a processor, each process in the above-mentioned information processing method embodiment is implemented, and the same technical effect can be achieved. To avoid repetition, it is not repeated here. The computer-readable storage medium is, for example, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.
[0437] 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 combining software and hardware. Moreover, the present application may adopt the form of a computer program product implemented on one or more computer-readable storage media (including but not limited to disk storage and optical storage, etc.) containing computer-usable program code.
[0438] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems) and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program 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 generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A device that specifies functions in one or more processes and / or one or more blocks.
[0439] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to work in a specific manner, so that the instructions stored in the computer-readable storage medium produce a paper product including an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0440] These computer program instructions may also be loaded onto a computer or other programmable data processing device so that the computer or other programmable device executes a series of operating steps to produce a computer-implemented process, thereby providing instructions executed on the computer or other programmable device for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0441] The above is a preferred embodiment of the present invention. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present invention. These improvements and modifications should also be regarded as the scope of protection of the present invention.
Claims
1. An information processing method, executed by a first node device, characterized in that: include: Obtain a first key bit sequence by sending N initial channel detection request messages to the second node device, where N is a positive integer; Execute the detection and reconciliation process in a loop until a target key that meets the target requirement is obtained, wherein the detection and reconciliation process is used to reconcile the key consistency of the key bit sequence generated by the first node device and the key bit sequence generated by the second node device during the previous N channel detection processes, and the target requirement is that the key consistency reconciliation result obtained after the detection and reconciliation indicates that the key consistency reconciliation is successful; The first detection and reconciliation process is used to reconcile the key consistency between the first key bit sequence and the third key bit sequence on the second node device side.
2. The method according to claim 1, characterized in that The step of obtaining a first key bit sequence by sending N initial channel detection request messages to the second node device includes: After sending an initial channel detection request message to the second node device each time, receiving a channel detection response message returned by the second node device; Obtaining channel state information according to the channel detection response message; quantizing the channel state information to obtain a first original key bit sequence; The first key bit sequence is obtained according to the obtained N first original key bit sequences.
3. The method according to claim 1, characterized in that: The detection and reconciliation process includes: Performing a maximum of M key consistency reconciliations based on the second key bit sequence to obtain a key consistency reconciliation result, wherein the M key one-time reconciliations are integrated into the M channel detection processes; Then perform the channel detection process NM times, where N and M are positive integers; Among them, if the detection and reconciliation process is the first detection and reconciliation process, the second key bit sequence is the first key bit sequence; if the detection and reconciliation process is the i-th detection and reconciliation process, the second key bit sequence is the key bit sequence obtained by the previous detection and reconciliation, i≠1.
4. The method according to claim 1, characterized in that The method further comprises: Performing key consistency and reconciliation capability negotiation with the second node device by sending an initial channel detection request message to the second node device for the first time, wherein the initial channel detection request message carries key consistency and reconciliation capability information; Receive a negotiation result sent by the second node device, wherein the negotiation result is determined by the second node device according to the key consistency reconciliation capability information, and the negotiation result includes the key consistency reconciliation method used in each detection and reconciliation process, the number of channel detections N, and the maximum number of key consistency reconciliations M.
5. The method according to claim 4, characterized in that The negotiation result is carried in one of the following information: The newly added key consistency information KAI field in the media access control MAC layer message; A new KAI field is added to existing signaling; Added signaling.
6. The method according to claim 1, characterized in that The method further comprises: Based on the pre-configuration, the key consistency reconciliation method, the number of channel detections N, and the maximum number of key consistency reconciliations M used in each detection and reconciliation process are determined.
7. The method according to claim 3, characterized in that The performing a maximum of M key consistency reconciliations based on the second key bit sequence to obtain a key consistency reconciliation result includes: After performing the mth key consistency reconciliation based on the second key bit sequence, if the key consistency reconciliation result obtained indicates that the key consistency reconciliation is successful, the target key is obtained according to the key bit sequence after the mth reconciliation, 0≤m≤M.
8. The method according to claim 7, characterized in that The method further comprises: If the key consistency reconciliation result obtained after the mth key consistency reconciliation is performed based on the second key bit sequence indicates that the key consistency reconciliation has failed, the key bit sequence that has not been reconciled in this round is discarded and the second node device is notified of the key consistency reconciliation failure.
9. The method according to claim 7, characterized in that: The performing the mth key consistency reconciliation based on the second key bit sequence includes: When m=0, obtaining the encoding information of the second key bit sequence and the check value of the second key bit sequence based on the key consistency reconciliation method; Sending a channel detection request message to the second node device, where the channel detection request message carries the encoding information of the second key bit sequence and the check value of the second key bit sequence, so that the second node device performs a first key consistency reconciliation on the fourth key bit sequence, and returns the key consistency reconciliation result through a channel detection response message; When the key consistency reconciliation result indicates that the key consistency reconciliation is successful, obtaining a target key according to the second key bit sequence; When the key consistency reconciliation result indicates that the key consistency reconciliation fails, a first key consistency reconciliation is performed on the second key bit sequence.
10. The method according to claim 9, characterized in that Carrying the encoding information of the second key bit sequence and the check value of the second key bit sequence through the newly added KAI field in the channel sounding request message; The key consistency reconciliation result is carried by the newly added KAI field in the channel detection response message, or if there is no newly added KAI field in the channel detection response message, the key consistency reconciliation result indicates that the key consistency reconciliation is successful.
11. The method according to claim 7, characterized in that The performing the mth key consistency reconciliation based on the second key bit sequence includes: When m≠0, receiving a channel detection response message sent by the second node device, wherein the channel detection response message carries the encoding information of the key bit sequence after the nth reconciliation and the check value of the key bit sequence after the nth reconciliation; Perform consistency reconciliation on the key bit sequence after the m-1th reconciliation based on the encoding information of the key bit sequence after the nth reconciliation to obtain the key bit sequence after the mth reconciliation, and calculate the check value of the key bit sequence after the mth reconciliation; When the check value of the key bit sequence after the m-th reconciliation is consistent with the check value of the key bit sequence after the n-th reconciliation, obtain the target key according to the key bit sequence after the m-th reconciliation, and return a key consistency reconciliation result to the second node device through a channel detection request message, wherein the key consistency reconciliation result indicates that the key consistency reconciliation is successful; When the check value of the key bit sequence after the mth reconciliation is inconsistent with the check value of the key bit sequence after the nth reconciliation, the coding information of the key bit sequence after the mth reconciliation is obtained based on the key consistency reconciliation method, and the key consistency reconciliation result, the coding information of the key bit sequence after the mth reconciliation and the check value of the key bit sequence after the mth reconciliation are returned to the second node device through a channel detection request message, so that the second node device performs the n+1th consistency reconciliation processing, and the key consistency reconciliation result indicates that the key consistency reconciliation has failed.
12. The method according to claim 11, characterized in that Carrying the encoding information of the key bit sequence after the n-th reconciliation and the check value of the key bit sequence after the n-th reconciliation through the newly added KAI field in the channel detection response message; The key consistency reconciliation result is carried by the newly added KAI field in the channel detection request message, or if there is no newly added KAI field in the channel detection request message, it indicates that the key consistency reconciliation is successful.
13. An information processing method, executed by a second node device, characterized in that: include: Obtain a third key bit sequence by receiving an initial channel detection request message sent by the first node device N times, where N is a positive integer; Execute the detection and reconciliation process in a loop until a target key that meets the target requirement is obtained, wherein the detection and reconciliation process is used to reconcile the key consistency of the key bit sequence generated by the second node device and the key bit sequence generated by the first node device during the previous N channel detection processes, and the target requirement is that the key consistency reconciliation result obtained after the detection and reconciliation indicates that the key consistency reconciliation is successful; The first detection and reconciliation process is used to reconcile the key consistency between the third key bit sequence and the first key bit sequence on the first node device side.
14. The method according to claim 13, characterized in that The step of obtaining a third key bit sequence by receiving the initial channel detection request message sent by the first node device N times includes: After receiving a channel detection request message sent by a first node device each time, returning a channel detection response message to the first node device; Obtaining channel state information according to the channel detection request message; quantizing the channel state information to obtain a second original key bit sequence; A third key bit sequence is obtained according to the obtained N second original key bit sequences.
15. The method according to claim 13, characterized in that The detection and reconciliation process includes: Performing a maximum of M key consistency reconciliations based on the fourth key bit sequence to obtain a key consistency reconciliation result, wherein the M key one-time reconciliations are integrated into the M channel detection processes; Then perform the channel detection process NM times, where N and M are positive integers; Among them, if the detection and reconciliation process is the first detection and reconciliation process, the fourth key bit sequence is the third key bit sequence; if the detection and reconciliation process is the jth detection and reconciliation process, the fourth key bit sequence is the key bit sequence obtained by the previous detection and reconciliation, j≠1.
16. The method according to claim 13, characterized in that The method further comprises: Performing key consistency and reconciliation capability negotiation with the first node device by receiving an initial channel detection request message sent by the first node device for the first time, wherein the initial channel detection request message carries key consistency and reconciliation capability information; Determine a negotiation result according to the key consistency reconciliation capability information, wherein the negotiation result is determined by the second node device according to the key consistency reconciliation capability information, and the negotiation result includes a key consistency reconciliation method used in each detection and reconciliation process, a number of channel detections N, and a maximum number of key consistency reconciliations M; Send the negotiation result to the first node device.
17. The method according to claim 16, characterized in that The negotiation result is carried in one of the following information: The newly added key consistency information KAI field in the media access control MAC layer message; A new KAI field is added to existing signaling; Added signaling.
18. The method according to claim 13, characterized in that The method further comprises: Based on the pre-configuration, the key consistency reconciliation method, the number of channel detections N, and the maximum number of key consistency reconciliations M used in each detection and reconciliation process are determined.
19. The method according to claim 15, characterized in that The performing a maximum of M key consistency reconciliations based on the fourth key bit sequence to obtain a key consistency reconciliation result includes: After performing the nth key consistency reconciliation based on the fourth key bit sequence, if the key consistency reconciliation result obtained indicates that the key consistency reconciliation is successful, the target key is obtained according to the key bit sequence after the nth reconciliation, 1≤n≤M.
20. The method according to claim 19, characterized in that The method further comprises: If the key consistency reconciliation result obtained after the nth key consistency reconciliation is performed based on the fourth key bit sequence indicates that the key consistency reconciliation has failed, the key bit sequence that has not been reconciled in this round is discarded and the second node device is notified of the key consistency reconciliation failure.
21. The method according to claim 19, characterized in that The performing the nth key consistency reconciliation based on the fourth key bit sequence includes: Receive a channel detection request message sent by the first node device, where the channel detection request message carries the encoding information of the key bit sequence after the m-1th reconciliation and the check value of the key bit sequence after the m-1th reconciliation, 0≤m-1≤M; Perform consistency reconciliation on the key bit sequence after the n-1th reconciliation according to the coding information of the key bit sequence after the m-1th reconciliation, obtain the key bit sequence after the nth reconciliation, and calculate the check value of the key bit sequence after the nth reconciliation; When the check value of the key bit sequence after the nth reconciliation is consistent with the check value of the key bit sequence after the m-1th reconciliation, a target key is obtained according to the key bit sequence after the nth reconciliation, and a key consistency reconciliation result is returned through a channel detection response message, wherein the key consistency reconciliation result indicates that the key consistency reconciliation is successful; When the check value of the key bit sequence after the nth reconciliation is inconsistent with the check value of the key bit sequence after the m-1th reconciliation, the encoding information of the key bit sequence after the nth reconciliation is obtained based on the key consistency reconciliation method; and the key consistency reconciliation result, the encoding information of the key bit sequence after the nth reconciliation and the check value of the key bit sequence after the nth reconciliation are returned through a channel detection response message, so that the first node device performs the mth consistency reconciliation processing, and the key consistency reconciliation result indicates that the key consistency reconciliation has failed.
22. The method according to claim 21, characterized in that Carrying the encoding information of the key bit sequence after the m-1th reconciliation and the check value of the key bit sequence after the m-1th reconciliation through the newly added KAI field in the channel sounding request message; The key consistency reconciliation result is carried by the newly added KAI field in the channel detection response message, or if there is no newly added KAI field in the channel detection response message, it indicates that the key consistency reconciliation is successful.
23. An information transmission device, characterized in that: include: A first processing module, configured to obtain a first key bit sequence by sending N initial channel detection request messages to the second node device, where N is a positive integer; A second processing module is used to cyclically execute the detection and reconciliation process until a target key that meets the target requirement is obtained, wherein the detection and reconciliation process is used to reconcile the key consistency of the key bit sequence generated by the first node device and the key bit sequence generated by the second node device during the previous N channel detection processes, and the target requirement is that the key consistency reconciliation result obtained after the detection and reconciliation indicates that the key consistency reconciliation is successful; The first detection and reconciliation process is used to reconcile the key consistency between the first key bit sequence and the third key bit sequence on the second node device side.
24. An information transmission device, characterized in that: include: A third processing module, configured to obtain a third key bit sequence by receiving the initial channel detection request message sent by the first node device N times, where N is a positive integer; A fourth processing module is used to cyclically execute the detection and reconciliation process until a target key that meets the target requirement is obtained, wherein the detection and reconciliation process is used to reconcile the key consistency of the key bit sequence generated by the second node device and the key bit sequence generated by the first node device during the previous N channel detection processes, and the target requirement is that the key consistency reconciliation result obtained after the detection and reconciliation indicates that the key consistency reconciliation is successful; The first detection and reconciliation process is used to reconcile the key consistency between the third key bit sequence and the first key bit sequence on the first node device side.
25. A node device, the node device being a first node device, comprising a processor and a transceiver, the transceiver receiving and sending data under the control of the processor, characterized in that: The processor is configured to perform the following operations: Obtain a first key bit sequence by sending N initial channel detection request messages to the second node device, where N is a positive integer; The detection and reconciliation process is executed in a loop until a target key that meets the target requirements is obtained, wherein the detection and reconciliation process is used to reconcile the key consistency of the key bit sequence generated by the first node device during the first N channel detection processes with the key bit sequence generated by the second node device, and the target requirement is that the key consistency reconciliation result obtained after the detection and reconciliation indicates that the key consistency reconciliation is successful; the first detection and reconciliation process is used to reconcile the key consistency of the first key bit sequence with the third key bit sequence on the second node device side.
26. A node device, the node device being a second node device, comprising a processor and a transceiver, the transceiver receiving and sending data under the control of the processor, characterized in that: The processor is configured to perform the following operations: Obtain a third key bit sequence by receiving an initial channel detection request message sent by the first node device N times, where N is a positive integer; The detection and reconciliation process is executed in a loop until a target key that meets the target requirements is obtained, wherein the detection and reconciliation process is used to reconcile the key consistency of the key bit sequence generated by the second node device during the first N channel detection processes with the key bit sequence generated by the first node device, and the target requirement is that the key consistency reconciliation result obtained after the detection and reconciliation indicates that the key consistency reconciliation is successful; the first detection and reconciliation process is used to reconcile the key consistency of the third key bit sequence with the first key bit sequence on the first node device side.
27. A node device, comprising a memory, a processor, and a program stored in the memory and executable on the processor; characterized in that: When the processor executes the program, the information processing method according to any one of claims 1 to 12 is implemented.
28. A node device, comprising a memory, a processor, and a program stored in the memory and executable on the processor; characterized in that: When the processor executes the program, the information processing method according to any one of claims 13 to 22 is implemented.
29. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the program implements the steps of the information processing method according to any one of claims 1 to 12, or the steps of the information processing method according to any one of claims 13 to 22.
