Information transmission method and device, related equipment and storage medium
By adding the key consistency information field in the channel detection request and response messages, the information transmission problem in the key consistency reconciliation technology is solved, and the coordination and efficiency improvement of the key consistency in wireless communication are achieved.
Patent Information
- Application Number
- CN202310324250.X
- 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
In the existing technology, key consistency reconciliation technology cannot be effectively implemented in actual communication systems, and consistent symmetric wireless keys cannot be generated, mainly due to the lack of effective information transmission schemes to coordinate the information required for key consistency reconciliation.
By adding the key consistency information field (KAI) in the channel detection request and response messages, the key consistency reconciliation capability, interval information, encoding information and check value are transmitted in wireless communication to realize the key consistency reconciliation information. Interact and coordinate effectively.
It achieves key consistency and harmonizes the effective exchange of information between communicating parties, ensures the consistency of the original key sequence generated based on the time-varying characteristics of the wireless channel, generates coordinated wireless keys, and improves the key generation rate and system efficiency. .
Smart Images

Figure CN118741506A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of communication technology, and in particular to an information transmission method, apparatus, related equipment and storage medium. Background Art
[0002] Information coordination is a key step in wireless physical layer key generation. From the perspective of related technologies, when the current physical layer performs key consistency reconciliation, the base station needs to allocate a dedicated key negotiation channel for the terminal, which consumes a lot of communication resources. At the same time, the main research point of this technology is to enable the communicating parties to generate consistent symmetric keys based on time-varying wireless channels. It does not explain how to transmit the information required for consistency reconciliation. Therefore, the key consistency reconciliation technology cannot be effectively implemented in actual communication systems, and consistent symmetric wireless keys cannot be generated. There is currently no effective solution to the information transmission problem in the one-way key consistency reconciliation mechanism. Summary of the invention
[0003] To solve related technical problems, the embodiments of the present application provide an information transmission method, apparatus, related equipment and storage medium.
[0004] The technical solution of the embodiment of the present application is implemented as follows:
[0005] The embodiment of the present application provides an information transmission method, which is applied to a first device, including:
[0006] Sending a first message to a second device; the first message includes a first field; the first field carries at least one key consistency reconciliation capability information supported by the first device, or the first field carries the key consistency reconciliation capability information selected by the first device;
[0007] Receive a second message sent by the second device; the second message includes first capability information, and the first capability information is the key consistency reconciliation capability information selected by the second device; or, the second message includes the key consistency reconciliation result; or, the second message includes content that supports the key consistency reconciliation capability information selected by the first device or content that does not support the key consistency reconciliation capability information selected by the first device.
[0008] In the above scheme, the first capability information includes: key consistency reconciliation scheme information and / or first interval information; wherein the first interval information includes interval information of interactive key consistency reconciliation information.
[0009] In the above scheme, when the first field carries the key consistency reconciliation capability information, the first field also carries other key consistency reconciliation related information, and the related information includes the coding information required for the other key consistency reconciliation and / or the check value of the key bit sequence.
[0010] In the above scheme, the method further comprises:
[0011] Determine, based on the channel detection response information sent by the second device, state information of the channel detection performed by the first device;
[0012] A first original key bit sequence is generated according to the state information.
[0013] In the above scheme, the method further comprises:
[0014] Determining first interval information according to the first capability information in the second message;
[0015] When the first interval information meets the preset interval information, a third message is sent to the second device according to the first capability information; the third message is used to transmit relevant information that the second device reconciles the second original key bit sequence according to the first capability information; the second original key bit sequence is generated based on the channel detection performed by the second device.
[0016] In the above solution, the first interval information is determined according to the first capability information in the second message,
[0017] include:
[0018] The first capability information includes first interval information, and the first interval information is determined according to the first interval information included in the first capability information in the second message;
[0019] or,
[0020] The first capability information does not include first interval information, and the first interval information is determined according to the first capability information in the second message and local configuration.
[0021] In the above solution, the third message includes at least one of the following:
[0022] encoding information required to reconcile the second original key bit sequence;
[0023] A check value required to reconcile the second original key bit sequence.
[0024] In the above scheme, the method further comprises:
[0025] A fourth message sent by the second device is received; the fourth message represents a result of information reconciliation performed by the second device on the first original key bit sequence according to the first capability information.
[0026] In the above scheme, the method further comprises:
[0027] In the case where the fourth message indicates that the reconciliation of the second device fails, the first original key bit sequence is discarded.
[0028] The embodiment of the present application further provides an information transmission method, which is applied to a second device, including:
[0029] Receiving a first message sent by a first device; the first message includes a first field; the first field carries at least one key consistency reconciliation capability information supported by the first device, or the first field carries the key consistency reconciliation capability information selected by the first device;
[0030] Determine a second message according to the first field; the second message includes first capability information, and the first capability information is key consistency reconciliation capability information selected by the second device; or, the second message includes a key consistency reconciliation result; or, the second message includes content that supports the key consistency reconciliation capability information selected by the first device or content that does not support the key consistency reconciliation capability information selected by the first device;
[0031] The second message is sent to the first device.
[0032] In the above scheme, the first capability information includes: key consistency reconciliation scheme information and / or first interval information; wherein the first interval information includes interval information of interactive key consistency reconciliation information.
[0033] In the above scheme, when the first field carries the key consistency reconciliation capability information, the first field also carries other key consistency reconciliation related information, and the related information includes the coding information required for the other key consistency reconciliation and / or the check value of the key bit sequence.
[0034] In the above scheme, the method further includes:
[0035] Determining, based on the channel detection request information sent by the first device, state information of the channel detection performed by the second device;
[0036] A second original key bit sequence is generated according to the state information.
[0037] In the above scheme, the method further includes:
[0038] Determining first interval information according to the first capability information in the second message;
[0039] When the first interval information meets the preset interval information, receiving a third message sent by the first device;
[0040] Based on the third message, the second device reconciles the second original key bit sequence according to the first capability information.
[0041] In the above solution, determining the first interval information according to the first capability information in the second message includes:
[0042] The first capability information includes first interval information, and the first interval information is determined according to the first interval information included in the first capability information in the second message;
[0043] or,
[0044] The first capability information does not include first interval information, and the first interval information is determined according to the first capability information in the second message and local configuration.
[0045] In the above solution, the third message includes at least one of the following:
[0046] encoding information required to reconcile the second original key bit sequence;
[0047] A check value required to reconcile the second original key bit sequence.
[0048] In the above scheme, the method further includes:
[0049] Sending a fourth message to the first device; the fourth message represents a result of information reconciliation performed by the second device on the second original key bit sequence according to the first capability information and the relevant reconciliation information included in the third message.
[0050] In the above scheme, the method further includes:
[0051] In the case where the fourth message indicates that the reconciliation of the second device is successful, the second original key bit sequence is retained.
[0052] The embodiment of the present application further provides an information transmission device, which is arranged on a first device and includes:
[0053] A first sending unit, configured to send a first message to a second device; the first message includes a first field; the first field carries at least one key consistency reconciliation capability information supported by the first device, or the first field carries the key consistency reconciliation capability information selected by the first device;
[0054] A first receiving unit is used to receive a second message sent by the second device; the second message includes first capability information, and the first capability information is key consistency reconciliation capability information selected by the second device; or, the second message includes a key consistency reconciliation result; or, the second message includes content that supports the key consistency reconciliation capability information selected by the first device or content that does not support the key consistency reconciliation capability information selected by the first device.
[0055] The embodiment of the present application further provides an information transmission device, which is arranged on a second device and includes:
[0056] A second receiving unit, configured to receive a first message sent by a first device; the first message includes a first field; the first field carries at least one key consistency reconciliation capability information supported by the first device, or the first field carries the key consistency reconciliation capability information selected by the first device;
[0057] a first determining unit, configured to determine a second message according to the first field; the second message includes first capability information, the first capability information being key consistency reconciliation capability information selected by the second device; or, the second message includes a key consistency reconciliation result; or, the second message includes content supporting the key consistency reconciliation capability information selected by the first device or content not supporting the key consistency reconciliation capability information selected by the first device;
[0058] The second sending unit is configured to send the second message to the first device.
[0059] The embodiment of the present application further provides a first device, comprising: a first processor and a first memory for storing a computer program that can be run on the processor,
[0060] Wherein, when the first processor is used to run the computer program, it executes the steps of any one of the above-mentioned methods on the first device side.
[0061] The embodiment of the present application further provides a second device, comprising: a second processor and a second memory for storing a computer program that can be run on the processor,
[0062] Wherein, the second processor is used to execute the steps of any one of the above-mentioned methods on the second device side when running the computer program.
[0063] An embodiment of the present application also provides a storage medium on which a computer program is stored. When the computer program is executed by a processor, the computer program implements the steps of any method on the first device side mentioned above, or implements the steps of any method on the second device side mentioned above.
[0064] The information transmission method, apparatus, related equipment and storage medium provided in the embodiments of the present application, the first device sends a first message to the second device; the first message includes a first field; the first field carries at least one key consistency reconciliation capability information supported by the first device, or the first field carries the key consistency reconciliation capability information selected by the first device; receives a second message sent by the second device; the second message includes first capability information, and the first capability information is the key consistency reconciliation capability information selected by the second device; or the second message includes a key consistency reconciliation result; or the second message includes content that supports the key consistency reconciliation capability information selected by the first device or content that does not support the key consistency reconciliation capability information selected by the first device; accordingly, the second device receives the first message sent by the first device; the first message includes a first field; the first field carries at least one key consistency reconciliation capability information supported by the first device, or the first field carries the key consistency reconciliation capability selected by the first device capability information; determining a second message according to the first field; the second message includes first capability information, and the first capability information is the key consistency reconciliation capability information selected by the second device; or, the second message includes a key consistency reconciliation result; or, the second message includes content that supports the key consistency reconciliation capability information selected by the first device or content that does not support the key consistency reconciliation capability information selected by the first device; sending the second message to the first device; adopting the technical solution of the present application, through the interaction of the first message and the second message, the first message includes a first field; the first field carries at least one key consistency reconciliation capability information supported by the first device, and the second message includes the first capability information, and the first capability information is the key consistency reconciliation capability information selected by the second device, so as to realize the effective interaction of the information required to be transmitted for consistency reconciliation between the communicating parties, so that the communicating parties can align the inconsistent bits in the original key sequence generated based on the time-varying characteristics of the wireless channel, so that they can obtain a coordinated and consistent wireless key. BRIEF DESCRIPTION OF THE DRAWINGS
[0065] Figure 1 A schematic diagram of a wireless physical layer key generation principle in the related art;
[0066] Figure 2 A flowchart of an information transmission method for this application;
[0067] Figure 3 This is another flow chart of an information transmission method according to an embodiment of the present application;
[0068] Figure 4 A schematic diagram of a channel sounding request message;
[0069] Figure 5 is a schematic diagram of a channel probe response message;
[0070] Figure 6 Schematic diagram for the implementation of channel probe request and response messages;
[0071] Figure 7 Another schematic diagram for implementing a channel probe request and response message;
[0072] Figure 8 A schematic diagram of an improved channel detection request message in an embodiment of the present application;
[0073] Fig. 9 A schematic diagram of an improved channel detection response message in an embodiment of the present application;
[0074] Fig.10 A schematic diagram of the information transmission process of a one-way key consistency reconciliation method according to an embodiment of the present application;
[0075] Fig.11 A schematic diagram of the information transmission process of another one-way key consistency reconciliation method according to an embodiment of the present application;
[0076] Fig.12 This is a schematic diagram of the structure of an information transmission device according to an embodiment of the present application;
[0077] Fig.13 This is a schematic diagram of the structure of another information transmission device according to an embodiment of the present application;
[0078] Fig.14 This is a schematic diagram of the first device structure of the embodiment of the present application;
[0079] Fig.15 This is a schematic diagram of the second device structure of the embodiment of the present application;
[0080] Fig.16 This is a schematic diagram of the information transmission system structure of an embodiment of the present application. DETAILED DESCRIPTION
[0081] The present application is further described in detail below in conjunction with the accompanying drawings and embodiments.
[0082] 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. Figure 1 To understand. Figure 1 It is a schematic diagram of the principle of wireless physical layer key generation in the related technology.
[0083] 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 With K B .
[0084] During the key generation process, the initial key bit sequence may be inconsistent due to factors such as interference from hardware devices, system noise, and division of quantization intervals. Therefore, it is necessary to introduce information reconciliation technology, namely key consistency reconciliation technology, to correct erroneous bits while minimizing the leakage of key information.
[0085] In the related technologies, most of them are aimed at studying algorithms that enable the communicating parties to negotiate and form a consistent symmetric key. For example, a base station is used to allocate a dedicated key negotiation channel for the terminal, and key negotiation is performed through hash operations and symmetric encryption and decryption technology to obtain a consistent wireless key. In addition, the second bit stream obtained by quantization is negotiated for consistency based on the k-grams algorithm to achieve the purpose of error detection and correction of the original key bit sequence of both parties.
[0086] From the above analysis, it can be seen that the wireless key consistency reconciliation technology in the relevant technology is to study the algorithm for eliminating 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 the actual communication system.
[0087] In addition, information coordination is a key step in wireless physical layer key generation. From the perspective of related technologies, when the current physical layer performs key consistency verification, the base station needs to allocate a dedicated key negotiation channel for the terminal, which consumes a lot of communication resources. At the same time, the main research point of this technology is to enable the communicating parties to generate consistent symmetric keys based on time-varying wireless channels. It does not explain how to transmit the information required for consistency reconciliation. Therefore, the related technology cannot effectively implement key consistency verification in actual communication systems and cannot generate consistent symmetric wireless keys.
[0088] Based on this, in various embodiments of the present application, by introducing a new method for transmitting key consistency and reconciliation information, the interaction of key consistency and reconciliation information is realized between the communicating parties without affecting the working mechanism of the existing communication system as much as possible, thereby realizing wireless physical layer key generation.
[0089] The present application embodiment provides an information transmission method, which is applied to a first device. Figure 2 A flowchart of an information transmission method for this application; Figure 2 As shown, the method includes:
[0090] Step 201: Send a first message to a second device; the first message includes a first field; the first field carries at least one key consistency reconciliation capability information supported by the first device, or the first field carries key consistency reconciliation capability information selected by the first device.
[0091] Step 202: Receive a second message sent by the second device; the second message includes first capability information, and the first capability information is the key consistency reconciliation capability information selected by the second device; or, the second message includes the key consistency reconciliation result; or, the second message includes content that supports the key consistency reconciliation capability information selected by the first device or content that does not support the key consistency reconciliation capability information selected by the first device.
[0092] In this embodiment, the first device can be determined according to actual conditions, and is not limited here. As an example, the first device can be a device that sends a channel detection request message during the channel detection process, or a device that sends a channel detection response message during the channel detection process. Preferably, the first device is a device that sends a channel detection request message during the channel detection process, so as to avoid confusion in the subsequent key consistency reconciliation process. In practical applications, the first device can be called node device A.
[0093] The second device can be determined according to actual conditions, and is not limited here. As an example, the second device can be a device that sends a channel detection request message during the channel detection process, or a device that sends a channel detection response message during the channel detection process. Preferably, the second device is a device that sends a channel detection response message during the channel detection process, so as to avoid confusion in the subsequent key consistency reconciliation process. In practical applications, the second device can be called node device B.
[0094] In step 201, the first message includes a first field; the first field can be determined according to actual conditions and is not limited here. As an example, the first field can be a key consistency information (Key Agreement Information, KAI) field.
[0095] The first field carries at least one key consistency reconciliation capability information supported by the first device; wherein the key consistency reconciliation capability information can be used to indicate how to perform key consistency reconciliation, such as which key consistency reconciliation methods are supported, and the parameters involved in each key consistency reconciliation method. In practical applications, different key consistency reconciliation methods or schemes may have different policy information. The different policy information may be one policy information for each reconciliation scheme, or one policy for multiple reconciliation schemes.
[0096] The first field carries the key consistency reconciliation capability information selected by the first device; wherein, the first device selection process can be determined according to actual conditions, which is not limited here. As an example, the key consistency reconciliation capability information selected by the first device can be a key consistency reconciliation method, parameters involved in each key consistency reconciliation method, etc. The key consistency reconciliation capability information can be used to indicate how to perform key consistency reconciliation, such as which key consistency reconciliation methods are supported, and the parameters involved in each key consistency reconciliation method. In actual applications, different key consistency reconciliation methods or schemes may have different policy information. The different policy information can be one policy information for each reconciliation scheme, or one policy for multiple reconciliation schemes.
[0097] Sending a first message to a second device can be understood as the first device sending a first message to the second device. As an example, node device A sends a first message to node device B, wherein the first message can be determined based on actual conditions and is not limited here. As an example, the first message can be key consistency reconciliation capability information.
[0098] In step 202, the second message includes first capability information; the first capability information can be determined according to actual conditions, and is not limited here. As an example, the first capability information can be understood as any one of at least one key consistency reconciliation capability information supported by the first device. In actual applications, the second message can be determined based on the first field.
[0099] The first capability information being the key consistency and reconciliation capability information selected by the second device can be understood as selecting a suitable key consistency and reconciliation capability information from at least one type of key consistency and reconciliation capability information, namely, the first capability information.
[0100] The second message includes a key consistency reconciliation result; wherein, the key consistency reconciliation result can be determined based on actual conditions and is not limited here. As an example, the key consistency reconciliation result can be information such as key reconciliation success or failure.
[0101] The second message includes content that supports the key consistency reconciliation capability information selected by the first device or content that does not support the key consistency reconciliation capability information selected by the first device; wherein, the content that supports the key consistency reconciliation capability information selected by the first device or the content that does not support the key consistency reconciliation capability information selected by the first device can be determined based on actual conditions and is not limited here. As an example, the content that supports the key consistency reconciliation capability information selected by the first device can be understood as what kind of key consistency reconciliation method is supported, the parameters involved in each key consistency reconciliation method, etc.; the content that does not support the key consistency reconciliation capability information selected by the first device can be understood as what kind of key consistency reconciliation method is not supported, etc.
[0102] Receiving the second message sent by the second device can be understood as the first device receiving the second message sent by the second device. As an example, node device A receives the second message sent by node device B, wherein the second message can be determined based on actual conditions and is not limited here. As an example, the second message can be key consistency reconciliation capability response information.
[0103] In the embodiment of the present application, through the interaction of the first message and the second message, the first message includes a first field; the first field carries at least one key consistency reconciliation capability information supported by the first device, and the second message includes first capability information, and the first capability information is the key consistency reconciliation capability information selected by the second device, so that the information required for consistency reconciliation is effectively interacted between the communicating parties, so that the communicating parties can align the inconsistent bits in the original key sequence generated based on the time-varying characteristics of the wireless channel, so that they can obtain a coordinated and consistent wireless key. .
[0104] In one embodiment, the first capability information includes: key consistency reconciliation scheme information and / or first interval information; wherein the first interval information includes interval information of interactive key consistency reconciliation information.
[0105] In this embodiment, the key consistency reconciliation scheme information and the first interval information can be determined according to actual conditions and are not limited here. As an example, the key consistency reconciliation scheme information can be understood as the information required for key consistency reconciliation; the first interval information can be the interval information of the interactive key consistency reconciliation information.
[0106] In practical applications, the key consistency reconciliation information and interval information exchanged here actually specify the interval between two adjacent key consistency reconciliation operations (for example, performing a key consistency reconciliation operation includes: the first device and the second device sending key consistency reconciliation information to each other). The interval information can be implemented in multiple ways: for example, the interval information can be the time interval between two adjacent key consistency reconciliation operations, and another example is the number of channel detections performed between two adjacent key consistency reconciliation operations.
[0107] In practical applications, the first device is node device A, which can be abbreviated as A; the second device is node device B, which can be abbreviated as B; node device A sends a channel detection request message, and informs node device B of its own key consistency reconciliation capability information through the KAI field of the message, including the consistency reconciliation methods supported by device A and the information exchange interval corresponding to each method. Among them, whether to carry the information exchange interval is optional. For example, if device A chooses not to carry, it means that key consistency reconciliation is required after each channel detection is completed, or device A dynamically determines when to perform key consistency reconciliation according to the local key generation situation. Otherwise, subsequent channel detection messages transmit relevant information according to the agreed number of intervals. For example, for a consistency reconciliation processing method based on BCH code, A can send the following information (BCH) to B, indicating that after each wireless channel detection, or when to transmit the information required for consistency reconciliation by A dynamically. For a consistency reconciliation processing method based on Turbo code, A can send the following information to B (Turbo, 1 / 4) to indicate that the generated original key is interacted with once after every 4 wireless channel detections.
[0108] In one embodiment, when the first field carries the key consistency reconciliation capability information, the first field also carries other key consistency reconciliation related information, and the related information includes the encoding information required for the other key consistency reconciliation and / or the check value of the key bit sequence.
[0109] In this embodiment, the coding information required for the key consistency reconciliation can be determined according to actual conditions and is not limited here. As an example, the coding information required for the key consistency reconciliation can be the coding information required for aligning the key bit sequences of both parties.
[0110] The check value of the key bit sequence can be determined according to actual conditions and is not limited here. As an example, the check value of the key bit sequence can be: the check value of the key bit sequence, for example, the calculated value of the key bit sequence obtained by methods such as parity check, cyclic redundancy check (CRC), and hashing.
[0111] In one embodiment, the method further comprises:
[0112] Determine, based on the channel detection response information sent by the second device, state information of the channel detection performed by the first device;
[0113] A first original key bit sequence is generated according to the state information.
[0114] In this embodiment, the state information may be determined according to actual conditions and is not limited here. As an example, the state information may include channel state information (CSI), received signal strength indicator (RSSI), and the like.
[0115] The first original key bit sequence can be determined according to actual conditions and is not limited here. As an example, the first original key bit sequence can be understood as the original key bit sequence generated by node device A during channel detection.
[0116] Generating the first original key bit sequence according to the state information can be understood as quantizing the state information to generate the first original key bit sequence.
[0117] In practical applications, based on the wireless channel state information (e.g., CSI, RSSI, etc.) obtained by the transmission of this 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, i.e., the original key bit sequence.
[0118] In one embodiment, the method further comprises:
[0119] Determining first interval information according to the first capability information in the second message;
[0120] In the case where the first interval information satisfies the preset interval information, a third message is sent to the second device according to the first capability information; the third message is used to transmit relevant information of the second device performing information reconciliation on the second original key bit sequence according to the first capability information; the second original key bit sequence is generated based on the second device performing channel detection. In this embodiment, the determination of the first interval information according to the first capability information in the second message can be understood as determining the first interval information according to the relevant information of the number of interval transmissions in the first capability information. As an example, the relevant information of the number of interval transmissions in the first capability information can be a Turbo code.
[0121] When the first interval information satisfies the preset interval information, a third message is sent to the second device according to the first capability information; wherein the preset interval information can be determined according to actual conditions and is not limited here. As an example, the preset interval information can be a preset information interaction interval.
[0122] The third message is used to transmit relevant information that the second device performs information reconciliation on the first original key bit sequence according to the first capability information; wherein the third message can be determined according to actual conditions, and is not limited here. As an example, the third message can be information required for transmission consistency reconciliation. In practical applications, the third message may include CSI, RSSI, etc.
[0123] Sending the third message to the second device can be understood as the first device sending the third message to the second device. As an example, node device A sends the third message to node device B.
[0124] In practical applications, for the consistency reconciliation processing method based on Turbo codes, A can send the following information (Turbo, 1 / 4) to B to indicate that the generated original key is exchanged once for consistency reconciliation information after every 4 wireless channel detections.
[0125] In one embodiment, determining the first interval information according to the first capability information in the second message includes:
[0126] The first capability information includes first interval information, and the first interval information is determined according to the first interval information included in the first capability information in the second message;
[0127] or,
[0128] The first capability information does not include first interval information, and the first interval information is determined according to the first capability information in the second message and local configuration.
[0129] In this embodiment, the first interval information may be carried in the first message and the second message, and is obtained through negotiation between the first device and the second device. Alternatively, the first interval information is not carried in the negotiation between the first device and the second device, the first message carries all key consistency reconciliation scheme information supported by the first device, and the second message carries the key consistency reconciliation scheme information selected by the second device. The first device determines the first interval information to be subsequently adopted based on the scheme selected by the second device and the correspondence between the scheme locally configured by the first device and the first interval information.
[0130] In practical applications, the first device is node device A, which can be abbreviated as A; the second device is node device B, which can be abbreviated as B; device B feeds back the selection result to node device A through a channel detection response message, so that A and B use the same consistency reconciliation mechanism for subsequent processing. After receiving the channel detection response message, device A detects the wireless channel and obtains the wireless channel state information, and then confirms the subsequent information reconciliation method and the interval of information interaction according to the message sent by B, thereby completing the negotiation of the key consistency reconciliation mechanism. Based on the wireless channel state information obtained by this channel detection request and the channel detection response message transmission, the communicating parties quantize the state parameters of the wireless channel and generate a binary bit sequence as the originally generated key, that is, the original key bit sequence.
[0131] In one embodiment, the third message includes at least one of the following:
[0132] encoding information required to reconcile the second original key bit sequence;
[0133] A check value required to reconcile the second original key bit sequence.
[0134] It should be noted that the coding information required to reconcile the second original key bit sequence can be determined based on actual conditions and is not limited here. As an example, the coding information required to reconcile the second original key bit sequence can specifically be the coding information required to align the key bit sequences of both parties.
[0135] The check value required to reconcile the second original key bit sequence can be determined based on actual conditions and is not limited here. As an example, the check value required to reconcile the second original key bit sequence can be: the check value of the key bit sequence, for example, the calculated value of the key bit sequence obtained by methods such as parity check, CRC, and Hash.
[0136] In practical applications, the first device in the example is node device A, which can be abbreviated as A; the second device is node device B, which can be abbreviated as B; node device A sends a channel detection request again to generate a wireless key. Before sending the request message, first determine whether the KAI information interaction interval is reached. If so, the agreed reconciliation method is used to calculate the corresponding encoding information for the original key generated by the previous channel detections, and at the same time calculate the check value of the original key bit sequence, and then carry them in the KAI field of the channel detection request message for transmission. If not, the channel detection request message sent this time does not carry any key consistency reconciliation information. It can be seen that KAI related information is optional in the channel detection request message.
[0137] In one embodiment, the method further comprises:
[0138] Receive a fourth message sent by the second device; the fourth message represents a result of information reconciliation performed by the second device on the second original key bit sequence according to the first capability information and related reconciliation information included in the third message.
[0139] It should be noted that receiving the fourth message sent by the second device may be that the first device receives the fourth message sent by the second device; wherein, the fourth message can be determined based on actual conditions and is not limited here. As an example, the fourth message may be a channel detection response message.
[0140] The fourth message represents the result of the second device reconciling the second original key bit sequence according to the first capability information. It can be understood that after the second device performs key consistency coordination based on the received KAI information, the second device informs the first device of the result of the key consistency coordination through the message.
[0141] In one embodiment, the method further comprises:
[0142] In the case where the fourth message indicates that the reconciliation of the second device is successful, the first original key bit sequence is retained.
[0143] In this embodiment, when the fourth message indicates that the second device has successfully reconciled, retaining the first original key bit sequence can be understood as successful consistency coordination between the two parties, and the first device retains the generated key, that is, the first original key bit sequence.
[0144] In one embodiment, the method further comprises:
[0145] In the case where the fourth message indicates that the reconciliation of the second device fails, the first original key bit sequence is discarded.
[0146] In this embodiment, when the fourth message indicates that the second device fails to reconcile, discarding the first original key bit sequence can be understood as a failure in the consistency coordination between the two parties, and the first device discards the generated key, that is, the first original key bit sequence.
[0147] In practical applications, the first device is node device A. After receiving the channel detection response message, node device A performs channel detection to obtain new wireless channel status information, and then determines the result of this key consistency negotiation based on the KAI information carried in the message, and decides to retain or discard the reconciled key bit sequence. If the consistency coordination is successful, node A retains the generated key, otherwise it discards the generated key.
[0148] Accordingly, the embodiment of the present application also provides an information transmission method, Figure 3 This is another flow chart of an information transmission method according to an embodiment of the present application. Figure 3 As shown; applied to a second device, comprising:
[0149] Step 301: Receive a first message sent by a first device; the first message includes a first field; the first field carries at least one key consistency reconciliation capability information supported by the first device, or the first field carries key consistency reconciliation capability information selected by the first device.
[0150] Step 302: Determine a second message based on the first field; the second message includes first capability information, and the first capability information is the key consistency reconciliation capability information selected by the second device; or, the second message includes a key consistency reconciliation result; or, the second message includes content that supports the key consistency reconciliation capability information selected by the first device or content that does not support the key consistency reconciliation capability information selected by the first device.
[0151] Step 303: Send the second message to the first device.
[0152] In this embodiment, in this embodiment, the first device can be determined according to actual conditions, and is not limited here. As an example, the first device can be a device that sends a channel detection request message during the channel detection process, or a device that sends a channel detection response message during the channel detection process. Preferably, the first device is a device that sends a channel detection request message during the channel detection process, so as to avoid confusion in the subsequent key consistency reconciliation process. In practical applications, the first device can be called node device A.
[0153] The second device can be determined according to actual conditions, and is not limited here. As an example, the second device can be a device that sends a channel detection request message during the channel detection process, or a device that sends a channel detection response message during the channel detection process. Preferably, the second device is a device that sends a channel detection response message during the channel detection process, so as to avoid confusion in the subsequent key consistency reconciliation process. In practical applications, the second device can be called node device B.
[0154] In step 301, the first message includes a first field; the first field can be determined according to actual conditions and is not limited here. As an example, the first field can be a KAI field.
[0155] The first field carries at least one key consistency reconciliation capability information supported by the first device; wherein the key consistency reconciliation capability information can be used to indicate how to perform key consistency reconciliation, such as which key consistency reconciliation methods are supported, and the parameters involved in each key consistency reconciliation method. In practical applications, different key consistency reconciliation methods or schemes may have different policy information. The different policy information may be one policy information for each reconciliation scheme, or one policy for multiple reconciliation schemes.
[0156] The first field carries the key consistency reconciliation capability information selected by the first device; wherein, the first device selection process can be determined according to actual conditions, which is not limited here. As an example, the key consistency reconciliation capability information selected by the first device can be the encoding information required for key consistency reconciliation and / or the verification value of the key bit sequence. The key consistency reconciliation capability information can be used to indicate how to perform key consistency reconciliation, such as which key consistency reconciliation methods are supported, and the parameters involved in each key consistency reconciliation method. In actual applications, different key consistency reconciliation methods or schemes may have different policy information. The different policy information can be one policy information for each reconciliation scheme, or one policy for multiple reconciliation schemes.
[0157] Receiving the first message sent by the first device can be understood as the second device receiving the first message sent by the first device. As an example, node device B receives the first message sent by node device A, wherein the first message can be determined based on actual conditions and is not limited here. As an example, the first message may be key consistency reconciliation capability information.
[0158] In step 302, the second message includes first capability information; the first capability information can be determined according to actual conditions, and is not limited here. As an example, the first capability information can be understood as any one of at least one key consistency reconciliation capability information supported by the first device. In actual applications, the second message can be determined based on the first field.
[0159] The first capability information being the key consistency and reconciliation capability information selected by the second device can be understood as selecting a suitable key consistency and reconciliation capability information from at least one type of key consistency and reconciliation capability information, namely, the first capability information.
[0160] The second message includes a key consistency reconciliation result; wherein, the key consistency reconciliation result can be determined based on actual conditions and is not limited here. As an example, the key consistency reconciliation result can be information such as key reconciliation success or failure.
[0161] The second message includes content that supports the key consistency reconciliation capability information selected by the first device or content that does not support the key consistency reconciliation capability information selected by the first device; wherein, the content that supports the key consistency reconciliation capability information selected by the first device or the content that does not support the key consistency reconciliation capability information selected by the first device can be determined based on actual conditions and is not limited here. As an example, the content that supports the key consistency reconciliation capability information selected by the first device can be understood as what kind of key consistency reconciliation method is supported, the parameters involved in each key consistency reconciliation method, etc.; the content that does not support the key consistency reconciliation capability information selected by the first device can be understood as what kind of key consistency reconciliation method is not supported, etc.
[0162] Determining the second message according to the first field can be understood as carrying the second message in the first field.
[0163] In step 303, sending the second message to the first device can be understood as the second device sending the second message to the first device. As an example, node device B sends the second message to node device A, wherein the second message can be determined based on actual conditions and is not limited here. As an example, the second message can be a key consistency reconciliation capability response information.
[0164] In an embodiment of the present application, through the interaction of a first message and a second message, the first message includes a first field; the first field carries at least one key consistency reconciliation capability information supported by the first device, and the second message includes first capability information, and the first capability information is the key consistency reconciliation capability information selected by the second device, thereby realizing effective interaction of information required to be transmitted for consistency reconciliation between the communicating parties, thereby enabling the communicating parties to align inconsistent bits in the original key sequence generated based on the time-varying characteristics of the wireless channel, so that they can obtain coordinated and consistent wireless keys.
[0165] In one embodiment, the first capability information includes: key consistency reconciliation scheme information and / or first interval information; wherein the first interval information includes interval information of interactive key consistency reconciliation information.
[0166] In this embodiment, the key consistency reconciliation scheme information and the first interval information can be determined according to actual conditions and are not limited here. As an example, the key consistency reconciliation scheme information can be understood as the information required for key consistency reconciliation; the first interval information can be the interval information of the interactive key consistency reconciliation information.
[0167] In practical applications, the key consistency reconciliation information and interval information exchanged here actually specify the interval between two adjacent key consistency reconciliation operations (for example, performing a key consistency reconciliation operation includes: the first device and the second device sending key consistency reconciliation information to each other). The interval information can be implemented in multiple ways: for example, the interval information can be the time interval between two adjacent key consistency reconciliation operations, and another example is the number of channel detections performed between two adjacent key consistency reconciliation operations.
[0168] In practical applications, the first device is node device A, which can be abbreviated as A; the second device is node device B, which can be abbreviated as B; after node device B receives the channel detection request message, node device B detects the wireless channel, obtains the wireless channel status information, and then selects the appropriate key consistency reconciliation method (for example, a method supported by both parties) and information interaction interval based on the capabilities of device A and its own capabilities.
[0169] In one embodiment, when the first field carries the key consistency reconciliation capability information, the first field also carries other key consistency reconciliation related information, and the related information includes the encoding information required for the other key consistency reconciliation and / or the check value of the key bit sequence.
[0170] In one embodiment, the method further comprises:
[0171] Determining, based on the channel detection request information sent by the first device, state information of the channel detection performed by the second device;
[0172] A second original key bit sequence is generated according to the state information.
[0173] In this embodiment, the state information may be determined according to actual conditions and is not limited here. As an example, the state information may include CSI, RSSI, etc.
[0174] The second original key bit sequence can be determined according to actual conditions and is not limited here. As an example, the second original key bit sequence can be understood as the original key bit sequence generated by node device B during channel detection.
[0175] Generating the second original key bit sequence according to the state information can be understood as quantizing the state information to generate the second original key bit sequence.
[0176] In practical applications, based on the wireless channel state information (e.g., CSI, RSSI, etc.) obtained by the transmission of this channel detection request message, the communicating parties quantize the state parameters of the wireless channel and generate a binary bit sequence as the originally generated key, i.e., the original key bit sequence.
[0177] In one embodiment, the method further comprises:
[0178] Determining first interval information according to the first capability information in the second message;
[0179] When the first interval information meets the preset interval information, receiving a third message sent by the first device;
[0180] Based on the third message, the second device reconciles the second original key bit sequence according to the first capability information.
[0181] In this embodiment, determining the first interval information according to the first capability information in the second message can be understood as determining the first interval information according to the interval transmission related information in the first capability information. As an example, the interval transmission related information in the first capability information can be a Turbo code.
[0182] When the first interval information satisfies the preset interval information, a third message sent by the first device is received; wherein the preset interval information can be determined according to actual conditions and is not limited here. As an example, the preset interval information can be a preset information interaction interval.
[0183] The third message is used to transmit relevant information about the information reconciliation of the first original key bit sequence by the second device according to the first capability information; wherein the third message can be determined according to actual conditions, and is not limited here. As an example, the third message can be information required for transmission consistency reconciliation. In practical applications, the third message can include CSI and RSSI.
[0184] Receiving the third message sent by the first device can be understood as the second device receiving the third message sent by the first device. As an example, node device B sends the third message to node device A.
[0185] In actual applications, after receiving the information detection request, node device B first performs channel detection to obtain new channel state information, and then confirms whether the message carries relevant information for consistency reconciliation. If not, only channel detection is performed without any processing related to consistency reconciliation. Otherwise, device B completes the consistency reconciliation of the key bit sequence according to the coded information carried by the KAI field to correct the key bits that are inconsistent with A.
[0186] In one embodiment, when the first field carries the key consistency reconciliation capability information selected by the first device, the first field also carries the encoding information required for key consistency reconciliation and / or the check value of the key bit sequence.
[0187] In this embodiment, the coding information required for the key consistency reconciliation can be determined according to actual conditions and is not limited here. As an example, the coding information required for the key consistency reconciliation can be the coding information required for aligning the key bit sequences of both parties.
[0188] The check value of the key bit sequence can be determined according to actual conditions and is not limited here. As an example, the check value of the key bit sequence can be: the check value of the key bit sequence, for example, the calculated value of the key bit sequence obtained by methods such as parity check, CRC, and Hash.
[0189] In one embodiment, determining the first interval information according to the first capability information in the second message includes:
[0190] The first capability information includes first interval information, and the first interval information is determined according to the first interval information included in the first capability information in the second message;
[0191] or,
[0192] The first capability information does not include first interval information, and the first interval information is determined according to the first capability information in the second message and local configuration.
[0193] In this embodiment, the first interval information may be carried in the first message and the second message, and is obtained through negotiation between the first device and the second device. Alternatively, the first interval information is not carried in the negotiation between the first device and the second device, the first message carries all key consistency reconciliation scheme information supported by the first device, and the second message carries the key consistency reconciliation scheme information selected by the second device. The first device determines the first interval information to be subsequently adopted based on the scheme selected by the second device and the correspondence between the scheme locally configured by the first device and the first interval information.
[0194] In practical applications, the first device is node device A, which can be abbreviated as A; the second device is node device B, which can be abbreviated as B; device B feeds back the selection result to node device A through a channel detection response message, so that A and B use the same consistency reconciliation mechanism for subsequent processing.
[0195] In one embodiment, the third message includes at least one of the following:
[0196] encoding information required to reconcile the second original key bit sequence;
[0197] A check value required to reconcile the second original key bit sequence.
[0198] It should be noted that the coding information required to reconcile the first original key bit sequence can be determined based on actual conditions and is not limited here. As an example, the coding information required to reconcile the first original key bit sequence can specifically be the coding information required to align the key bit sequences of both parties.
[0199] The check value required to reconcile the first original key bit sequence can be determined based on actual conditions and is not limited here. As an example, the check value required to reconcile the first original key bit sequence can be: the check value of the key bit sequence, for example, the calculated value of the key bit sequence obtained by methods such as parity check, CRC, and Hash.
[0200] In practical applications, the first device is node device A, which can be abbreviated as A; the second device is node device B, which can be abbreviated as B; after receiving the information detection request, node device B first performs channel detection to obtain new channel state information, and then confirms whether the message carries relevant information for consistency reconciliation. If not, only channel detection is performed without any processing related to consistency reconciliation. Otherwise, device B completes the consistency reconciliation processing of the key bit sequence according to the encoded information carried by the KAI field to correct the key bits that are inconsistent with A.
[0201] In one embodiment, the method further comprises:
[0202] A fourth message is sent to the first device; the fourth message represents a result of information reconciliation performed by the second device on the second original key bit sequence according to the first capability information and related reconciliation information included in the third message.
[0203] It should be noted that sending the fourth message to the first device may be that the second device sends the fourth message to the first device; wherein, the fourth message can be determined based on actual conditions and is not limited here. As an example, the fourth message may be a channel detection response message.
[0204] The fourth message represents the result of the second device reconciling the second original key bit sequence according to the first capability information. It can be understood that after the second device performs key consistency coordination based on the received KAI information, the second device informs the first device of the result of the key consistency coordination through the message.
[0205] In actual applications, node device B returns a channel detection response message, and after performing key consistency coordination based on the received KAI information, it informs node A of the result of key consistency coordination through this message. The specific notification method can be, for example, 1. Not carrying any consistency coordination information of KAI, indicating the success or failure of key consistency coordination in a default manner; 2. Carrying KAI, which contains the result of key consistency coordination, to inform the success or failure of key consistency coordination in an explicit manner.
[0206] In one embodiment, the method further comprises:
[0207] In the case where the fourth message indicates that the reconciliation of the second device is successful, the second original key bit sequence is retained.
[0208] In this embodiment, when the fourth message indicates that the second device has been successfully reconciled, retaining the second original key bit sequence can be understood as successful consistency coordination between the two parties, and the second device retains the generated key, that is, the second original key bit sequence.
[0209] In one embodiment, the method further comprises:
[0210] In the case where the fourth message indicates that the second device reconciliation fails, the second original key bit sequence is discarded.
[0211] In this embodiment, when the fourth message indicates that the second device fails to reconcile, discarding the first original key bit sequence can be understood as a failure of consistency coordination between the two parties, and the second device discards the generated key, that is, the second original key bit sequence.
[0212] In practical applications, the first device is node device A, and the second device is node device B; node device B returns a channel detection response message, and after performing key consistency coordination based on the received KAI information, it informs node A of the result of key consistency coordination through the message. The specific notification method may be, for example, 1. Not carrying any consistency coordination information of KAI, indicating the success or failure of key consistency coordination in a default manner; 2. Carrying KAI, which contains the result of key consistency coordination, to inform the success or failure of key consistency coordination in an explicit manner. If successful, it is considered that the keys after consistency coordination between the two parties are consistent, and node A and node B respectively retain the coordinated keys. Otherwise, it is considered that the keys after consistency coordination between the two parties are still inconsistent, and both parties discard the generated keys.
[0213] In order to facilitate the understanding of the present application, the above embodiments can be explained and illustrated with reference to the following related technologies.
[0214] 1. Description of wireless physical layer key generation technology.
[0215] Due to the openness of wireless channels, the information transmitted by wireless communication systems is vulnerable to malicious attacks such as eavesdropping, counterfeiting, and tampering. The security of wireless communication has become a highly concerned issue. To this end, wireless communication systems usually use cryptographic methods to encrypt and protect the transmitted data information to ensure the security of communication. However, the existing cryptographic security mechanism faces problems such as insufficient key randomness and difficulty in key distribution when applied, which makes it difficult to meet the higher security application requirements of future wireless communications.
[0216] In order to enhance the security of wireless communication systems, in recent years, starting from the information security theory, a method of using the security characteristics of wireless channels to achieve physical layer security has been proposed. Among them, the wireless physical layer key generation technology uses the natural randomness, reciprocity and spatial decorrelation characteristics of the wireless channel to enable the sender and receiver to extract similar channel characteristics from the wireless channel and generate consistent keys, thereby achieving cryptographically secure communication. Therefore, it is a key means to ensure communication security and achieve the integration of security and communication.
[0217] 2. WLAN system MAC frame format.
[0218] In order to implement effective wireless channel detection in the WLAN system, it defines dedicated channel detection request and channel detection response MAC frames in the WLAN MAC layer for wireless channel detection. The specific format is as follows: Figure 4 As shown, Figure 4 Schematic diagram of a channel probe request message.
[0219] (1) Channel probe request.
[0220] It includes Frame Control, Duration, RA (Receiver Address), TA (Transmitter Address), and FCS (Frame Check Sequence). Duration is optional.
[0221] (2) Channel Probe Response.
[0222] This content can be combined Figure 5 To understand, Figure 5 Schematic diagram of a channel probe response message.
[0223] It includes Frame Control, Duration, RA (Receiver Address), and FCS (Frame Check Sequence). Duration is optional.
[0224] The channel probe request and channel probe response MAC frames can be implemented in the following ways:
[0225] 1. New MAC frame type.
[0226] In the existing MAC protocol, Type = 11 is a reserved frame type. Using this reserved value, a new wireless channel detection MAC frame can be defined. For example, Type = 11 represents a detection frame, where Subtype = 0000 represents a channel detection request, Subtype = 0001 represents a channel detection response, and Subtype = 0010 to 1111 are reserved. This content can be combined with Figure 6 To understand, Figure 6 Schematic diagram of the channel probe request and response message implementation.
[0227] 2. New MAC frame subtype.
[0228] In the current management, control, and data MAC frames, there are reserved values for Subtype that are not used. Use these reserved values to define new wireless channel detection MAC frames. For example, define channel detection request and channel detection response as a type of control frame. Type = 01, Subtype = 1000 indicates channel detection request; Type = 01, Subtype = 1001 indicates channel detection response. This content can be combined with Figure 7 To understand, Figure 7 Another schematic diagram of implementing channel probe request and response messages.
[0229] The example information transmission method of the present application is specifically a wireless physical layer key consistency coordination information transmission method.
[0230] In order to improve the key generation rate, the 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 original key sequence generated based on the wireless channel. The former is based on protocols such as BBBSS, Cascade, and Winnow, and completes information reconciliation by exchanging check codes. The latter uses channel coding technology with forward error correction capabilities to achieve key negotiation. The forward error correction code (FEC) code family includes BCH coding, Reed-Solomon coding, Golay coding, Turbo coding, Polar coding, and LDPC coding, which can all be used for key consistency reconciliation.
[0231] The present application proposes an information transmission method for a one-way wireless key consistency reconciliation mechanism, which can effectively exchange the information required for consistency reconciliation based on one-way error correction coding between the communicating parties, so that the communicating parties can align the inconsistent bits in the original key sequence generated based on the time-varying characteristics of the wireless channel, so that they can obtain a coordinated and consistent wireless key.
[0232] In the actual communication process, the physical layer of the device may perform multiple wireless channel detection processes to generate keys, thereby obtaining a sufficiently long usable key. Therefore, the consistency reconciliation information interaction process and method proposed in this application can be adapted to a single or multiple wireless channel detection and key generation process, that is, it can reconcile the original key obtained after each channel detection is completed, or after multiple channel detections are completed, reconcile more original keys accumulated together.
[0233] In order to avoid introducing additional message transmission overhead for the interaction of information required for consistency coordination, this application further improves the proposed WLAN MAC layer channel detection request and channel detection response messages, so that it can achieve the interaction of key consistency coordination information while completing wireless channel detection. The specific solution is as follows:
[0234] 1. Improved channel detection request.
[0235] This application adds key consistency information to the existing channel detection request MAC frame to achieve uplink / forward / forward transmission of wireless key consistency coordination information. The specific format can be combined with Figure 8 To understand, Figure 8 This is a schematic diagram of an improved channel detection request message in an embodiment of the present application, wherein KAI is a newly added content.
[0236] 2. Improved channel detection response.
[0237] This application adds key consistency information to the existing channel detection response MAC frame to achieve downlink / reverse / backward transmission of wireless key consistency reconciliation information. The specific format can be combined with Fig. 9 To understand, Fig. 9 A schematic diagram of an improved channel detection response message in an embodiment of the present application.
[0238] The above-mentioned MAC frame transmits key consistency reconciliation information by adding a new field KAI (Key Agreement Information), which may include: the information reconciliation method, algorithm or mechanism supported by the device (that is, the supported consistency reconciliation capability), the interval information of the exchange of key consistency reconciliation information (that is, the reconciliation information is exchanged once every XX channel detections), the coding information required to align the original key bit sequences of both parties, the check value of the key bit sequence (such as the calculated value of the key bit sequence obtained by parity check, CRC, Hash hashing, etc.), the result of key consistency reconciliation (such as key reconciliation success, failure) and other information.
[0239] 3. Consistency coordinates the information transmission process.
[0240] In order to efficiently transmit the information required for key consistency and reconciliation, the two WLAN node devices carry the consistency and reconciliation information in the process of sending the channel detection request and channel detection response messages. There are two information transmission processes according to the different information contents carried by the messages, such as Fig.10 , Fig.11 As shown; Fig.10 This is a flow chart of information transmission of a one-way key consistency reconciliation method according to an embodiment of the present application. Fig.11 The figure is a flow chart of information transmission of another one-way key consistency reconciliation method according to an embodiment of the present application, wherein WLAN node devices A and B can be APs or STAs.
[0241] (1) Information transmission process of the one-way key consistency reconciliation method.
[0242] The KAI field of the above channel detection message can optionally carry relevant information about key consistency reconciliation. For example, when performing the first channel detection, by carrying the consistency reconciliation capability information of device A, negotiate with node device B on the method used for subsequent consistency reconciliation processing, information exchange interval, etc. After the negotiation is completed, unless the system requires a change in the information reconciliation method, subsequent channel detection messages only need to carry consistency reconciliation information including coding information, check value of the key bit sequence, reconciliation results, etc. The specific interaction process is as follows:
[0243] 1a. Node device A sends a channel detection request message, and informs node device B of its key consistency reconciliation capability information through the KAI field of the message, including the consistency reconciliation methods supported by device A and the information exchange interval corresponding to each method. Among them, whether to carry the information exchange interval is optional. For example, if device A chooses not to carry it, it means that key consistency reconciliation is required after each channel detection is completed, or device A dynamically determines when to perform key consistency reconciliation based on the local key generation situation. Otherwise, subsequent channel detection messages transmit relevant information according to the agreed number of intervals. For example, for a consistency reconciliation processing method based on BCH code, A can send the following information (BCH) to B, indicating that after each wireless channel detection, or when A dynamically determines when to transmit the information required for consistency reconciliation. For a consistency reconciliation processing method based on Turbo code, A can send the following information to B (Turbo, 1 / 4) to indicate that the generated original key is exchanged once after every 4 wireless channel detections.
[0244] 1b. After receiving the channel detection request message, node device B detects the wireless channel, obtains the wireless channel status information, and then selects an appropriate key consistency reconciliation method (for example, a method supported by both parties) and information exchange interval based on the capabilities of device A and its own capabilities.
[0245] 1c. Device B feeds back the selection result to node device A through a channel detection response message, so that A and B use the same consistency reconciliation mechanism for subsequent processing. As in step 1a, the information of the information exchange interval can be carried or not. For example, when B chooses to use Turbo code for consistency reconciliation, B returns (Turbo, 1 / 4) to A to confirm that this method is used for consistency reconciliation.
[0246] 1d. After receiving the channel detection response message, device A detects the wireless channel to obtain the wireless channel status information, and then confirms the subsequent information reconciliation method and information exchange interval according to the message sent by B, thereby completing the negotiation of the key consistency reconciliation mechanism.
[0247] 1e. Based on the wireless channel state information (CSI, RSSI, etc.) obtained from the transmission of the channel detection request and the 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, i.e., the original key bit sequence.
[0248] At this point, the communication system completes the first channel detection and original key generation process, and then performs the "channel detection-quantization" process according to the negotiated KAI information exchange interval. When the information exchange interval is reached, the original key bit sequence is reconciled so that both parties can generate the same key bit. This process is integrated with the subsequent channel detection process, and the key consistency reconciliation information is transmitted in a piggyback manner in the channel detection request and channel detection response messages to reduce system message overhead and improve efficiency.
[0249] 2a. Node device A sends a channel detection request again to generate a wireless key. Before sending the request message, first determine whether the KAI information interaction interval has been reached. If so, the agreed reconciliation method is used to calculate the corresponding encoding information for the original key generated by the previous channel detections, and the check value of the original key bit sequence is calculated at the same time, and then they are carried and transmitted in the KAI field of the channel detection request message. If not, the channel detection request message sent this time does not carry any key consistency reconciliation information. It can be seen that KAI related information is optional in the channel detection request message.
[0250] 2b. After receiving the information detection request, node device B first performs channel detection to obtain new channel state information, and then confirms whether the message carries relevant information for consistency reconciliation. If not, only channel detection is performed without any processing related to consistency reconciliation. Otherwise, device B completes the consistency reconciliation of the key bit sequence according to the encoded information carried by the KAI field to correct the key bits that are inconsistent with A. Then calculate the check value of the reconciled key bit sequence and compare it with the received check value. If consistent, retain this key bit sequence. If inconsistent, discard it.
[0251] 2c. Node device B returns a channel detection response message, and after performing key consistency coordination based on the received KAI information, it informs node A of the result of key consistency coordination through this message. The specific notification method may be, for example, 1. Not carrying any consistency coordination information of KAI, indicating the success or failure of key consistency coordination in a default manner; 2. Carrying KAI, which contains the result of key consistency coordination, to inform the success or failure of key consistency coordination in an explicit manner. If successful, it is considered that the keys after consistency coordination between the two parties are consistent, and node B retains the generated key. Otherwise, it is considered that the keys after consistency coordination between the two parties are still inconsistent, and node B discards the generated key.
[0252] 2d. After receiving the channel detection response message, node device A performs channel detection to obtain new wireless channel status information, and then determines the result of this key consistency negotiation based on the KAI information carried in the message, and decides to retain or discard the reconciled key bit sequence. If the consistency coordination is successful, node A retains the generated key, otherwise it discards the generated key.
[0253] 2e. 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, nodes A and B quantize the newly obtained state parameters of the wireless channel to generate a new binary bit sequence, i.e., the original key bit sequence. If the information reconciliation process is not performed simultaneously during this round of channel detection (i.e., steps 2a to 2d do not exchange KAI related information to coordinate the consistency of the key), the original key generated by this channel detection is merged with the key bit sequences accumulated by the previous channel detections, and the KAI information is calculated together after the consistency coordination processing interval is reached, and the KAI interaction and key coordination processing are completed.
[0254] Node A and node B can repeat the above process according to the need of key generation to generate a key that meets the user's needs.
[0255] (2) Information transmission process of the one-way key consistency reconciliation method.
[0256] Fig.11 and Fig.10 In contrast, this process negotiates the method used for subsequent consistency reconciliation when the information exchange interval is first reached, and transmits the information required for consistency reconciliation. Unless device A and device B do not agree on the reconciliation method and need to renegotiate, or the system requires a new key consistency reconciliation method, the subsequent channel detection message only needs to carry consistency reconciliation information including encoding information, check value of key bit sequence, reconciliation result, etc. The specific interaction process is as follows Fig.11 shown.
[0257] 1a. Node device A sends a channel detection request message.
[0258] 1b. After receiving the channel detection request message, node device B performs channel detection and obtains channel status information (CSI, RSSI, etc.).
[0259] 1c. Node device B returns a channel detection response message.
[0260] 1d. After receiving the channel detection response message, node device A performs channel detection to obtain channel status information.
[0261] 1e. Based on the wireless channel state information obtained by this channel detection, the communicating parties quantize the state parameters of the wireless channel and generate a binary bit sequence as the originally generated key, that is, the original key bit sequence.
[0262] At this point, the communication system completes the first channel detection and original key generation process, and then performs the "channel detection-quantization" process according to the KAI information exchange interval. When the information exchange interval is reached, the original key bit sequence is reconciled so that both parties can generate the same key bit. This process is integrated with the subsequent channel detection process, and the key consistency reconciliation information is transmitted in the channel detection request and channel detection response messages in a piggyback manner to reduce system message overhead and improve efficiency.
[0263] 2a. Node device A sends a channel detection request again to generate a wireless key. First, device A selects the reconciliation method and the information exchange interval according to its own key consistency reconciliation capability, and determines whether the KAI information exchange interval has been reached before sending the channel detection request message. If so, the check value of the original key bit sequence is calculated, and the corresponding encoding information is calculated for the original key generated by the previous channel detections using the selected reconciliation method, and then they are sent to node device B together with the selected key consistency reconciliation capability information. If not, the channel detection request message sent this time does not carry any key consistency reconciliation information. Similar to step 1a of the first transmission process, whether the message carries the information exchange interval is optional.
[0264] 2b. After receiving the channel detection request, node device B first performs channel detection to obtain new wireless channel status information, and then confirms whether the message carries relevant information for key consistency reconciliation. If not, no processing related to key consistency reconciliation is performed. Otherwise, node B determines whether it supports the reconciliation method selected by A based on the KAI information carried in the message. If not, node A is informed of the failure of the consistency reconciliation method negotiation through a channel detection response message. If supported, its original key bit sequence is reconciled according to the encoded information, and then the check value of the reconciled key bit sequence is calculated and compared with the check value sent by device A. If consistent, this key bit sequence is retained. If inconsistent, it is discarded.
[0265] 2c. Node device B returns a channel detection response message, and after performing key consistency coordination based on the received KAI information, it informs node A of the result of key consistency coordination through this message. The specific notification method may be, for example, 1. Not carrying any consistency coordination information of KAI, indicating the success or failure of key consistency coordination in a default manner; 2. Carrying KAI, which contains the result of key consistency coordination, to inform the success or failure of key consistency coordination in an explicit manner. If successful, it is considered that the keys after consistency coordination between the two parties are consistent, and node B retains the generated key. Otherwise, it is considered that the keys after consistency coordination between the two parties are still inconsistent, and node B discards the generated key.
[0266] 2d. After receiving the channel detection response message, node device A performs channel detection to obtain new wireless channel status information, and then performs further processing according to the KAI information carried in the message: If the reconciliation result shows that device B does not support the selected reconciliation algorithm, other algorithms can be negotiated to be replaced in the subsequent channel detection process until the negotiation is successful. At this time, the maximum number of negotiation and reconciliation methods can also be defined. If no consensus is reached when the maximum number of negotiations is reached, the two parties terminate the consistency reconciliation process and discard the original key bit sequence generated previously. If the reconciliation result shows that device B supports the selected reconciliation algorithm and the keys of both parties are consistent, this key bit sequence is retained. If the reconciliation result shows that device B supports the selected reconciliation algorithm but the keys of both parties are inconsistent, the reconciliation process is terminated and the inconsistent key bit sequence is discarded.
[0267] 2e. 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, nodes A and B quantize the newly obtained state parameters of the wireless channel to generate a new binary bit sequence. If the information reconciliation process is not performed simultaneously in this round of channel detection (i.e., steps 2a to 2d do not exchange KAI related information and coordinate the consistency of the key), the original key generated by this channel detection is combined with the key bit sequence accumulated by the previous channel detections, and the KAI information is calculated together after the consistency coordination processing interval is reached, and the KAI interaction and key coordination processing are completed.
[0268] Node A and node B can repeat the above process according to the need of key generation to generate a key that meets the user's needs.
[0269] The embodiment given in this application is explained by taking the example of adding the KAI field in the channel detection request and channel detection response MAC frames. In fact, the scheme proposed in the present invention can also be combined with existing signaling / messages / frames to achieve key consistency negotiation. For example, KAI can be added to the existing signaling of the 4G / 5G / 6G cellular system, or to the control frames such as RTS, CTS, ACK of the WLAN system, or to the management frames such as Beacon, Probe Request, Probe Response, or to the data frames such as To DS and From DS, and combined with their message interaction mechanisms to achieve the same purpose. Methods for transmitting key consistency reconciliation information or other required interaction information between wireless key generation nodes A and B using similar mechanisms are all within the protection scope of this application.
[0270] It should be noted that whether to perform information reconciliation during the channel detection process is controllable, and the consistency reconciliation information interaction interval can be defined so that the communication system performs a consistency reconciliation after completing several wireless channel detections, that is, performs several channel detection-quantization processes, and after accumulating a certain amount of original keys, transmits a key consistency reconciliation information KAI. Among them, the information interaction interval can be based on the number of MAC layer message interactions, or it can be dynamically adjusted based on the length of the original key bit sequence required for consistency reconciliation (that is, when the length of the original key bit sequence is insufficient, consistency reconciliation is not performed until the accumulated original key length reaches or exceeds the set threshold). This can enhance the controllability of the communication system over the information reconciliation process, and at the same time, it can save more resources required for information transmission.
[0271] It should also be noted that the KAI proposed in this application is a general term for key consistency and reconciliation related messages, including mechanism / algorithm capabilities, interaction intervals, encoding, check values, reconciliation results and other aspects. In specific implementation, according to the implementation method given in this application, a KAI information unit can be added to the MAC layer message to include these contents (it can be added to the MACHeader, or it can be added to other information units of the message (such as the data field of the data frame)), or an information unit can be defined for each information content in the MAC layer message to realize the carrying of the content, or these two methods can be combined. In any case, it belongs to the protection scope of this application.
[0272] 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.
[0273] 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 wireless key generation process to eliminate inconsistent key bits in the original key obtained after quantization.
[0274] The technical method proposed in this application is compatible with any one-way wireless key consistency reconciliation mechanism or algorithm. The transmission method can be combined with the existing wireless channel detection 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 this application 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 consistency reconciliation information interaction interval, the interaction of key consistency coordination coding information, the interaction of key bit sequence check information, and the transmission of key consistency coordination results, so that the cellular-based mobile communication network has the ability to generate wireless keys.
[0275] In order to implement the method of the embodiment of the present application, the embodiment of the present application further provides an information transmission device, which is arranged on a first device. Fig.12 Schematic diagram of the structure of an information transmission device according to an embodiment of the present application; Fig.12 As shown, the device 1200 includes:
[0276] The first sending unit 1201 is configured to send a first message to a second device; the first message includes a first field; the first field carries at least one key consistency reconciliation capability information supported by the first device, and the first field carries the key consistency reconciliation capability information selected by the first device;
[0277] The first receiving unit 1202 is used to receive a second message sent by the second device; the second message includes first capability information, and the first capability information is the key consistency reconciliation capability information selected by the second device; or, the second message includes the key consistency reconciliation result; or, the second message includes content that supports the key consistency reconciliation capability information selected by the first device or content that does not support the key consistency reconciliation capability information selected by the first device.
[0278] In one embodiment, the first capability information includes: key consistency reconciliation scheme information and / or first interval information; wherein the first interval information includes interval information of interactive key consistency reconciliation information.
[0279] In one embodiment, when the first field carries the key consistency reconciliation capability information, the first field also carries other key consistency reconciliation related information, and the related information includes the encoding information required for the other key consistency reconciliation and / or the check value of the key bit sequence.
[0280] In one embodiment, the apparatus 1200 further includes a determining unit and a generating unit; wherein,
[0281] The determining unit is configured to determine state information of channel detection performed by the first device based on the channel detection response information sent by the second device;
[0282] The generating unit is used to generate a first original key bit sequence according to the state information.
[0283] In one embodiment, the determining unit is further configured to determine the first interval information according to the first capability information in the second message;
[0284] The first sending unit 1201 is also used to send a third message to the second device according to the first capability information when the first interval information meets the preset interval information; the third message is used to transmit relevant information that the second device reconciles the second original key bit sequence according to the first capability information; the second original key bit sequence is generated based on the channel detection performed by the second device.
[0285] In one embodiment, the determination unit is also used to, when the first capability information includes first interval information, determine the first interval information according to the first interval information included in the first capability information in the second message; or, when the first capability information does not include the first interval information, determine the first interval information according to the first capability information in the second message and local configuration.
[0286] In one embodiment, the first sending unit 1201 is further used to send a third message to the second device; the third message is used to transmit relevant information that the second device reconciles the first original key bit sequence according to the first capability information.
[0287] In one embodiment, the third message includes at least one of the following:
[0288] encoding information required to reconcile the second original key bit sequence;
[0289] A check value required to reconcile the second original key bit sequence.
[0290] In one embodiment, the first receiving unit 1202 is further used to receive a fourth message sent by the second device; the fourth message represents the result of the second device reconciling the second original key bit sequence according to the first capability information and the relevant reconciliation information included in the third message.
[0291] In one embodiment, the apparatus 1200 further includes a first retaining unit, configured to retain the first original key bit sequence when the fourth message indicates that the reconciliation of the second device is successful.
[0292] In one embodiment, the apparatus 1200 further includes a first discarding unit, configured to discard the first original key bit sequence when the fourth message indicates that the second device reconciliation fails.
[0293] In order to implement the method on the second device side of the embodiment of the present application, the embodiment of the present application further provides an information transmission device, which is arranged on the second device. Fig.13 FIG. 2 is a schematic diagram of another information transmission device structure according to an embodiment of the present application; Fig.13 As shown, the device 1300 includes:
[0294] The second receiving unit 1301 is configured to receive a first message sent by a first device; the first message includes a first field; the first field carries at least one key consistency reconciliation capability information supported by the first device, or the first field carries the key consistency reconciliation capability information selected by the first device;
[0295] A first determining unit 1302 is configured to determine a second message according to the first field; the second message includes first capability information, and the first capability information is key consistency reconciliation capability information selected by the second device; or, the second message includes a key consistency reconciliation result; or, the second message includes content that supports the key consistency reconciliation capability information selected by the first device or content that does not support the key consistency reconciliation capability information selected by the first device;
[0296] The second sending unit 1303 is configured to send the second message to the first device.
[0297] In one embodiment, the first capability information includes: key consistency reconciliation scheme information and / or first interval information; wherein the first interval information includes interval information of interactive key consistency reconciliation information.
[0298] In one embodiment, when the first field carries the key consistency reconciliation capability information, the first field also carries other key consistency reconciliation related information, and the related information includes the encoding information required for the other key consistency reconciliation and / or the check value of the key bit sequence.
[0299] In one embodiment, the apparatus 1300 further includes a generating unit; wherein,
[0300] The first determining unit 1302 is further configured to determine state information of channel detection performed by the second device based on the channel detection request information sent by the first device;
[0301] The generating unit is further configured to generate a second original key bit sequence according to the state information.
[0302] In one embodiment, the device 1300 further includes a second acquisition unit and a second blending unit; wherein,
[0303] The first determining unit 1302 is further configured to determine first interval information according to the first capability information in the second message;
[0304] The second receiving unit 1301 is further used to receive a third message sent by the first device when the first interval information meets the preset interval information; the second reconciliation unit is used to, based on the third message, perform information reconciliation on the second original key bit sequence by the second device according to the first capability information.
[0305] In one embodiment, the first determination unit 1302 is further used to, when the first capability information includes first interval information, determine the first interval information according to the first interval information included in the first capability information in the second message; or, when the first capability information does not include the first interval information, determine the first interval information according to the first capability information in the second message and local configuration.
[0306] In one embodiment, the third message includes at least one of the following:
[0307] encoding information required to reconcile the second original key bit sequence;
[0308] A check value required to reconcile the second original key bit sequence.
[0309] In one embodiment, the second sending unit 1303 is further used to send a fourth message to the first device; the fourth message represents the result of the second device reconciling the second original key bit sequence according to the first capability information and the relevant reconciliation information included in the third message.
[0310] In one embodiment, the apparatus 1300 further includes a second retaining unit, configured to retain the second original key bit sequence when the fourth message indicates that the reconciliation of the second device is successful.
[0311] In one embodiment, the apparatus 1300 further includes a second discarding unit, configured to discard the second original key bit sequence when the fourth message indicates that the second device reconciliation fails.
[0312] It should be noted that: the information transmission method device provided in the above embodiment only uses the division of the above program modules as an example when performing the information transmission method. In actual applications, the above processing can be assigned to different program modules as needed, that is, the internal structure of the device is divided into different program modules to complete all or part of the processing described above. In addition, the information transmission method device provided in the above embodiment and the information transmission method embodiment belong to the same concept, and the specific implementation process is detailed in the method embodiment, which will not be repeated here.
[0313] Based on the hardware implementation of the above program module, and in order to implement the method on the second device side of the embodiment of the present application, the embodiment of the present application further provides a first device, Fig.14 Schematic diagram of the first device structure of the present application embodiment; Fig.14 As shown, the first device 1400 includes:
[0314] The first communication interface 1401 is capable of exchanging information with the first device;
[0315] The first processor 1402 is connected to the first communication interface 1401 to implement information exchange with the first device, and is used to execute the method provided by one or more technical solutions on the second device side when running a computer program. The computer program is stored in the first memory 1403.
[0316] It should be noted that the specific processing process of the first processor 1402 and the first communication interface 1401 can be understood by referring to the above method.
[0317] Of course, in actual application, the various components in the first device 1400 are coupled together through the bus system 1404. It can be understood that the bus system 1404 is used to realize the connection and communication between these components. In addition to the data bus, the bus system 1404 also includes a power bus, a control bus, and a status signal bus. However, for the sake of clarity, Fig.14 Various buses are labeled as bus system 1404.
[0318] The first memory 1403 in the embodiment of the present application is used to store various types of data to support the operation of the first device 1400. Examples of such data include: any computer program used to operate on the first device 1400.
[0319] The method disclosed in the above embodiment of the present application can be applied to the first processor 1402, or implemented by the first processor 1402. The first processor 1402 may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method can be completed by the hardware integrated logic circuit or software instructions in the first processor 1402. The above-mentioned first processor 1402 may be a general-purpose processor, a digital signal processor (DSP, Digital Signal Processor), or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components, etc. The first processor 1402 can implement or execute the various methods, steps and logic block diagrams disclosed in the embodiments of the present application. A general-purpose processor may be a microprocessor or any conventional processor, etc. In combination with the steps of the method disclosed in the embodiment of the present application, it can be directly embodied as a hardware decoding processor to execute, or it can be executed by a combination of hardware and software modules in the decoding processor. The software module may be located in a storage medium, which is located in the first memory 1403, and the first processor 1402 reads the information in the first memory 1403 and completes the steps of the above method in combination with its hardware.
[0320] In an exemplary embodiment, the first device 1400 can be implemented by one or more application specific integrated circuits (ASIC), DSP, programmable logic device (PLD), complex programmable logic device (CPLD), field programmable gate array (FPGA), general processor, controller, microcontroller (MCU), microprocessor, or other electronic components to execute the aforementioned method.
[0321] Based on the hardware implementation of the above program module, and in order to implement the method on the first device side of the embodiment of the present application, the embodiment of the present application also provides a second device, Fig.15 This is a schematic diagram of the second device structure of the embodiment of the present application; Fig.15 As shown, the second device 1500 includes:
[0322] The second communication interface 1501 is capable of exchanging information with the second device;
[0323] The second processor 1502 is connected to the second communication interface 1501 to implement information exchange with the second device, and is used to execute the method provided by one or more technical solutions on the first device side when running a computer program. The computer program is stored in the second memory 1503.
[0324] It should be noted that the specific processing process of the second communication interface 1501 and the second processor 1502 can be understood by referring to the above method.
[0325] Of course, in actual application, the various components in the second device 1400 are coupled together through the bus system 1504. It can be understood that the bus system 1504 is used to realize the connection and communication between these components. In addition to the data bus, the bus system 1504 also includes a power bus, a control bus, and a status signal bus. However, for the sake of clarity, Fig.15 Various buses are labeled as bus system 1504.
[0326] The second memory 1503 in the embodiment of the present application is used to store various types of data to support the operation of the second device 1500. Examples of such data include: any computer program used to operate on the second device 1500.
[0327] The method disclosed in the above embodiment of the present application can be applied to the second processor 1502, or implemented by the second processor 1502. The second processor 1502 may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method can be completed by the hardware integrated logic circuit or software instructions in the second processor 1502. The above-mentioned second processor 1502 may be a general-purpose processor, DSP, or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components, etc. The second processor 1502 can implement or execute the various methods, steps and logic block diagrams disclosed in the embodiments of the present application. A general-purpose processor may be a microprocessor or any conventional processor, etc. In combination with the steps of the method disclosed in the embodiment of the present application, it can be directly embodied as a hardware decoding processor to execute, or it can be executed by a combination of hardware and software modules in the decoding processor. The software module may be located in a storage medium, which is located in the second memory 1503. The second processor 1502 reads the information in the second memory 1503 and completes the steps of the above method in combination with its hardware.
[0328] In an exemplary embodiment, the second device 1500 may be implemented by one or more ASICs, DSPs, PLDs, CPLDs, FPGAs, general purpose processors, controllers, MCUs, Microprocessors, or other electronic components to perform the aforementioned methods.
[0329] It can be understood that the memory (first memory 1403, second memory 1503) of the embodiment of the present application can be a volatile memory or a non-volatile memory, and can also include both volatile and non-volatile memories. Among them, the non-volatile memory can be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), a magnetic random access memory (FRAM), a ferromagnetic random access memory, a flash memory, a magnetic surface memory, an optical disc, or a compact disc read-only memory (CD-ROM); the magnetic surface memory can be a disk memory or a tape memory. The volatile memory can be a random access memory (RAM), which is used as an external cache. By way of example and not limitation, many forms of RAM are available, such as static random access memory (SRAM), synchronous static random access memory (SSRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDRSDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link dynamic random access memory (SLDRAM, SyncLink Dynamic Random Access Memory), and direct RAM bus random access memory (DRRAM, Direct Rambus Random Access Memory).The memories described in the embodiments of the present application are intended to include, but are not limited to, these and any other suitable types of memories.
[0330] In order to implement the method provided in the embodiment of the present application, the embodiment of the present application also provides an information transmission system, Fig.16 Schematic diagram of the information transmission system structure of the present application embodiment; Fig.16 As shown, the system includes: a first device 1601 and a second device 1602.
[0331] Here, it should be noted that the specific processing process of the first device 1601 and the second device 1602 has been described in detail above and will not be repeated here.
[0332] In an exemplary embodiment, the embodiment of the present application further provides a storage medium, namely a computer storage medium, specifically a computer-readable storage medium, for example, including a first memory 1403 storing a computer program, and the computer program can be executed by the first processor 1402 of the first device 1400 to complete the steps of the first device side method. For another example, including a second memory 1503 storing a computer program, the computer program can be executed by the second processor 1502 of the second device 1500 to complete the steps of the second device side method. The computer-readable storage medium can be a memory such as FRAM, ROM, PROM, EPROM, EEPROM, Flash Memory, magnetic surface storage, optical disk, or CD-ROM.
[0333] It should be noted that: "first", "second", etc. are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence.
[0334] In addition, the technical solutions described in the embodiments of the present application can be combined arbitrarily without conflict.
[0335] The above description is only a preferred embodiment of the present application and is not intended to limit the protection scope of the present application.
Claims
1. An information transmission method, characterized in that: Applied to a first device, comprising: Sending a first message to a second device; the first message includes a first field; the first field carries at least one key consistency reconciliation capability information supported by the first device, or the first field carries the key consistency reconciliation capability information selected by the first device; Receive a second message sent by the second device; the second message includes first capability information, and the first capability information is the key consistency reconciliation capability information selected by the second device; or, the second message includes the key consistency reconciliation result; or, the second message includes content that supports the key consistency reconciliation capability information selected by the first device or content that does not support the key consistency reconciliation capability information selected by the first device.
2. The method according to claim 1, characterized in that The first capability information includes: key consistency reconciliation scheme information and / or first interval information; wherein the first interval information includes interval information of interactive key consistency reconciliation information.
3. The method according to claim 1, characterized in that: When the first field carries the key consistency reconciliation capability information, the first field also carries other key consistency reconciliation related information, and the related information includes the coding information required for the other key consistency reconciliation and / or the check value of the key bit sequence.
4. The method according to claim 1 or 2, further comprising: Determine, based on the channel detection response information sent by the second device, state information of the channel detection performed by the first device; A first original key bit sequence is generated according to the state information.
5. The method according to claim 4, further comprising: Determining first interval information according to the first capability information in the second message; When the first interval information satisfies the preset interval information, sending a third message to the second device according to the first capability information; the third message is used to transmit relevant information that the second device reconciles the second original key bit sequence according to the first capability information; The second original key bit sequence is generated based on channel detection performed by the second device.
6. The method according to claim 5, wherein determining the first interval information according to the first capability information in the second message comprises: The first capability information includes first interval information, and the first interval information is determined according to the first interval information included in the first capability information in the second message; or, The first capability information does not include first interval information, and the first interval information is determined according to the first capability information in the second message and local configuration.
7. The method according to claim 5, characterized in that The third message includes at least one of the following: encoding information required to reconcile the second original key bit sequence; A check value required to reconcile the second original key bit sequence.
8. The method according to claim 6 or 7, characterized in that: The method further comprises: Receive a fourth message sent by the second device; the fourth message represents a result of information reconciliation performed by the second device on the second original key bit sequence according to the first capability information and related reconciliation information included in the third message.
9. The method according to claim 8, characterized in that The method further comprises: In the case where the fourth message indicates that the reconciliation of the second device is successful, the first original key bit sequence is retained.
10. The method according to claim 8, characterized in that The method further comprises: In the case where the fourth message indicates that the reconciliation of the second device fails, the first original key bit sequence is discarded.
11. An information transmission method, characterized in that: Applied to the second device, comprising: Receiving a first message sent by a first device; the first message includes a first field; the first field carries at least one key consistency reconciliation capability information supported by the first device, or the first field carries the key consistency reconciliation capability information selected by the first device; Determine a second message according to the first field; the second message includes first capability information, and the first capability information is key consistency reconciliation capability information selected by the second device; or, the second message includes a key consistency reconciliation result; or, the second message includes content that supports the key consistency reconciliation capability information selected by the first device or content that does not support the key consistency reconciliation capability information selected by the first device; The second message is sent to the first device.
12. The method according to claim 11, characterized in that The first capability information includes: key consistency reconciliation scheme information and / or first interval information; wherein the first interval information includes interval information of interactive key consistency reconciliation information.
13. The method according to claim 11, characterized in that When the first field carries the key consistency reconciliation capability information, the first field also carries other key consistency reconciliation related information, and the related information includes the coding information required for the other key consistency reconciliation and / or the check value of the key bit sequence.
14. The method according to claim 11 or 12, further comprising: Determining, based on the channel detection request information sent by the first device, state information of the channel detection performed by the second device; A second original key bit sequence is generated according to the state information.
15. The method according to claim 14, further comprising: Determining first interval information according to the first capability information in the second message; When the first interval information meets the preset interval information, receiving a third message sent by the first device; Based on the third message, the second device reconciles the second original key bit sequence according to the first capability information.
16. The method according to claim 15, wherein determining the first interval information according to the first capability information in the second message comprises: The first capability information includes first interval information, and the first interval information is determined according to the first interval information included in the first capability information in the second message; or, The first capability information does not include first interval information, and the first interval information is determined according to the first capability information in the second message and local configuration.
17. The method according to claim 16, characterized in that The third message includes at least one of the following: encoding information required to reconcile the second original key bit sequence; A check value required to reconcile the second original key bit sequence.
18. The method according to claim 16 or 17, characterized in that The method further comprises: A fourth message is sent to the first device; the fourth message represents a result of information reconciliation performed by the second device on the second original key bit sequence according to the first capability information and related reconciliation information included in the third message.
19. The method according to claim 18, characterized in that The method further comprises: In the case where the fourth message indicates that the reconciliation of the second device is successful, the second original key bit sequence is retained.
20. The method according to claim 18, characterized in that The method further comprises: In the case where the fourth message indicates that the second device reconciliation fails, the second original key bit sequence is discarded.
21. An information transmission device, characterized in that: The settings on the first device include: A first sending unit, configured to send a first message to a second device; the first message includes a first field; the first field carries at least one key consistency reconciliation capability information supported by the first device, or the first field carries the key consistency reconciliation capability information selected by the first device; A first receiving unit is used to receive a second message sent by the second device; the second message includes first capability information, and the first capability information is key consistency reconciliation capability information selected by the second device; or, the second message includes a key consistency reconciliation result; or, the second message includes content that supports the key consistency reconciliation capability information selected by the first device or content that does not support the key consistency reconciliation capability information selected by the first device.
22. An information transmission device, characterized in that: The settings on the second device include: A second receiving unit, configured to receive a first message sent by a first device; the first message includes a first field; the first field carries at least one key consistency reconciliation capability information supported by the first device, or the first field carries the key consistency reconciliation capability information selected by the first device; a first determining unit, configured to determine a second message according to the first field; the second message includes first capability information, the first capability information being key consistency reconciliation capability information selected by the second device; or, the second message includes a key consistency reconciliation result; or, the second message includes content supporting the key consistency reconciliation capability information selected by the first device or content not supporting the key consistency reconciliation capability information selected by the first device; The second sending unit is configured to send the second message to the first device.
23. A first device, characterized in that: include: A first processor and a first communication interface; wherein, The first communication interface is used to send a first message to a second device; the first message includes a first field; the first field carries at least one key consistency reconciliation capability information supported by the first device; and receive a second message sent by the second device; the second message includes first capability information, and the first capability information is the key consistency reconciliation capability information selected by the second device.
24. A second device, characterized in that: include: A second communication interface and a second processor; wherein, The second communication interface is used to receive a first message sent by a first device; The first message includes a first field; the first field carries at least one key consistency reconciliation capability information supported by the first device; The second processor is configured to determine a second message according to the first field; the second message includes first capability information, and the first capability information is key consistency reconciliation capability information selected by the second device; The second communication interface is further used to send the second message to the first device.
25. A first device, characterized in that: include: a first processor and a first memory for storing a computer program executable on the processor, Wherein, when the first processor is used to run the computer program, the steps of the method described in any one of claims 1 to 10 are executed.
26. A second device, characterized in that: include: a second processor and a second memory for storing a computer program executable on the processor, Wherein, when the second processor is used to run the computer program, the steps of the method described in any one of claims 11 to 20 are executed.
27. A storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the computer program implements the steps of the method according to any one of claims 1 to 10, or implements the steps of the method according to any one of claims 11 to 20.
