Information transmission method and device, related equipment and storage medium
By introducing key consistency reconciliation messages into the MAC layer of the WLAN system, the problem of key bit inconsistency is solved, effective transmission of key consistency reconciliation information is achieved, wireless physical layer key generation is supported, and the security of the communication system is improved. sex.
Patent Information
- Application Number
- CN202310320900.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-03-29
- Publication Date
- 2024-10-01
AI Technical Summary
The existing wireless local area network (WLAN) system fails to effectively transmit the information required for key consistency coordination, resulting in the problem of key bit inconsistency during the key generation process, and fails to effectively solve the interactive information transmission for key consistency coordination. .
By introducing dedicated key consistency reconciliation messages at the media access control (MAC) layer, including key consistency coordination policy information, key bit sequence encoding information and check values, key consistency between communicating parties is achieved. Sexually coordinate information exchange and support wireless physical layer key generation.
It effectively eliminates the inconsistent bits of the key, realizes the information transmission required for key consistency reconciliation, supports wireless physical layer key generation, and improves the security and reliability of the communication system.
Smart Images

Figure CN118741505A_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] Key consistency reconciliation is a key step in wireless physical layer key generation. In related technologies, the research focus of this technology is how to eliminate inconsistent bits of the key, and no effective solution is given for how to transmit the information required for key consistency reconciliation. At the same time, the existing wireless local area network (Wireless Local Area Networks, WLAN) system media access control layer (Media Access Control, MAC) has not made a specific design for the transmission of information required for consistency reconciliation. Therefore, how to effectively transmit the information required for key consistency coordination is an urgent problem to be solved in the application of wireless key generation mechanism in actual communication systems. 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] A first message is sent, wherein the first message is used for key consistency coordination.
[0007] In the above solution, the first message includes:
[0008] first information, wherein the first information indicates a type of the first message;
[0009] and / or,
[0010] Second information, where the second information indicates relevant information for key consistency coordination.
[0011] In the above solution, the second information includes at least one of the following information:
[0012] Key consistency coordination strategy information;
[0013] Encoded information of the key bit sequence;
[0014] A checksum of the key bit sequence;
[0015] The result of key agreement coordination.
[0016] In the above solution, the first message also includes:
[0017] The third information is used to indicate the scope processed by this key consistency coordination.
[0018] In the above solution, the third information is any one of the following:
[0019] Number of channel detections;
[0020] The length of the key;
[0021] Preset logo.
[0022] In the above solution, the first message is a first media access control MAC frame.
[0023] In the above solution, the first message is:
[0024] The type field is populated with the first value;
[0025] or,
[0026] The type field is populated with the second value and the subtype field is populated with the third value.
[0027] In the above scheme, the method further comprises:
[0028] A second message is received, the second message being for a key agreement coordination response.
[0029] In the above solution, the second message includes:
[0030] fourth information, the fourth information indicating a type of the second message;
[0031] and / or,
[0032] The fifth information indicates relevant information for key consistency coordination.
[0033] In the above solution, the fifth information includes at least one of the following information:
[0034] Key consistency coordination strategy information;
[0035] Encoded information of the key bit sequence;
[0036] A checksum of the key bit sequence;
[0037] The result of key agreement coordination.
[0038] In the above scheme, the method further comprises:
[0039] When the key consistency coordination result included in the fifth information is successful, the first device retains the coordinated key bit sequence.
[0040] In the above solution, when the fifth information includes the encoding information of the key bit sequence and / or the check value of the key bit sequence, the method further includes:
[0041] If the first device determines that the number of key consistency coordinations reaches a threshold, the uncoordinated key bit sequence is discarded;
[0042] and / or,
[0043] If the first device determines that the number of key consistency coordinations does not reach the threshold, the first device performs key consistency coordination and / or sends a third message for performing key consistency coordination.
[0044] In the above solution, the second message is a second media access control MAC frame.
[0045] In the above solution, the second message is:
[0046] The type field is populated with the fourth value;
[0047] or,
[0048] The type field is populated with the fifth value and the subtype field is populated with the sixth value.
[0049] The embodiment of the present application further provides an information transmission method, which is applied to a second device, including:
[0050] A first message is received, the first message being used for key consistency coordination.
[0051] In the above solution, the first message includes:
[0052] first information, wherein the first information indicates a type of the first message;
[0053] and / or,
[0054] Second information, where the second information indicates relevant information for key consistency coordination.
[0055] In the above solution, the second information includes at least one of the following information:
[0056] Key consistency coordination strategy information;
[0057] Encoded information of the key bit sequence;
[0058] A checksum of the key bit sequence;
[0059] The result of key agreement coordination.
[0060] In the above solution, the first message also includes:
[0061] The third information is used to indicate the scope processed by this key consistency coordination.
[0062] In the above solution, the third information includes at least one of the following:
[0063] Number of channel detections;
[0064] The length of the key;
[0065] Preset logo.
[0066] In the above solution, the first message is a first media access control MAC frame.
[0067] In the above solution, the first message is:
[0068] The type field is populated with the first value;
[0069] or,
[0070] The type field is populated with the second value and the subtype field is populated with the third value.
[0071] In the above scheme, the method further comprises:
[0072] A second message is sent, wherein the second message is used for a key consistency coordination response.
[0073] In the above solution, the second message includes:
[0074] fourth information, the fourth information indicating a type of the second message;
[0075] and / or,
[0076] The fifth information indicates relevant information for key consistency coordination.
[0077] In the above solution, the fifth information includes at least one of the following information:
[0078] Key consistency coordination strategy information;
[0079] Encoded information of the key bit sequence;
[0080] A checksum of the key bit sequence;
[0081] The result of key agreement coordination.
[0082] In the above scheme, the method further comprises:
[0083] When the key consistency coordination result included in the fifth information is successful, the second device retains the coordinated key bit sequence.
[0084] In the above solution, when the fifth information includes the encoding information of the key bit sequence and / or the check value of the key bit sequence, the method further includes:
[0085] If the second device determines that the number of key consistency coordinations reaches a threshold, the uncoordinated key bit sequence is discarded;
[0086] and / or,
[0087] If the second device determines that the number of key consistency coordinations does not reach the threshold, a third message is received for performing key consistency coordination.
[0088] In the above solution, the second message is a second media access control MAC frame.
[0089] In the above solution, the second message is:
[0090] The type field is populated with the fourth value;
[0091] or,
[0092] The type field is populated with the fifth value and the subtype field is populated with the sixth value.
[0093] The embodiment of the present application further provides an information transmission device, which is arranged on a first device and includes:
[0094] The sending unit is used to send a first message, where the first message is used for key consistency coordination.
[0095] The embodiment of the present application further provides an information transmission device, which is arranged on a second device and includes:
[0096] The receiving unit is configured to receive a first message, where the first message is used for key consistency coordination.
[0097] 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,
[0098] 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.
[0099] 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,
[0100] 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.
[0101] 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.
[0102] The information transmission method, apparatus, related equipment and storage medium provided by the embodiments of the present application, the first device sends a first message, the first message is used for key consistency coordination; accordingly, the second device receives the first message, the first message is used for key consistency coordination; the technical solution of the present application is adopted, through the interaction of the first message, the first message is used for key consistency coordination, the inconsistent bits of the key are eliminated, and the information required for the interaction of key consistency coordination is realized at the same time. BRIEF DESCRIPTION OF THE DRAWINGS
[0103] Figure 1 A flowchart of an information transmission method for this application;
[0104] Figure 2 This is another flow chart of an information transmission method according to an embodiment of the present application;
[0105] Figure 3 A schematic diagram of the principle of wireless physical layer key generation;
[0106] Figure 4 This is a schematic diagram of the MAC frame format of the WLAN system;
[0107] Figure 5 Schematic diagram of a key consistency reconciliation request message in this embodiment;
[0108] Figure 6 A schematic diagram of a key consistency reconciliation response message according to an embodiment of the present application;
[0109] Figure 7 A schematic diagram of the implementation of the key consistency reconciliation request and response message of the embodiment of the present application;
[0110] Figure 8 Another schematic diagram of implementing the key consistency reconciliation request and response message of the embodiment of the present application;
[0111] Fig. 9 A schematic diagram of a process for implementing key consistency and information transmission in an embodiment of the present application;
[0112] Fig.10 This is a schematic diagram of the structure of an information transmission device according to an embodiment of the present application;
[0113] Fig.11 This is a schematic diagram of the structure of another information transmission device according to an embodiment of the present application;
[0114] Fig.12This is a schematic diagram of the first device structure of the embodiment of the present application;
[0115] Fig.13 This is a schematic diagram of the second device structure of the embodiment of the present application;
[0116] Fig.14 This is a schematic diagram of the information transmission system structure of an embodiment of the present application. DETAILED DESCRIPTION
[0117] The present application is further described in detail below in conjunction with the accompanying drawings and embodiments.
[0118] Wireless physical layer key generation technology uses the short-time reciprocity, spatial decorrelation and time-varying properties of wireless channels to extract wireless channel features from the received signals of both communicating parties, and then generates physical layer keys through algorithm processing. Due to the influence of factors such as hardware device interference, system noise and the division of quantization intervals, the initial key bit sequence may be inconsistent in this process. Therefore, it is very necessary to introduce key consistency reconciliation technology to correct error bits while minimizing the leakage of key information.
[0119] In the related art, the MAC layer in the WLAN system adopts the Carrier Sense Multiple Access with Collision Avoid (CSMA / CA) mechanism to solve the user's multiple access problem and realize WLAN network networking. It avoids the collision of wireless signals sent by multiple users through mechanisms such as carrier sensing, contention access, random backoff, and collision avoidance, so that multiple users can send data information in an orderly manner on a shared wireless channel. When transmitting the MAC frame, the complete WLAN MAC frame will be handed over to the physical layer for encapsulation and processing as a MAC protocol data unit (MPDU). The physical layer encapsulates the MPDU as a physical service data unit (PSDU), and after adding the preamble preamble sequence, the physical layer convergence process sublayer (PLCP) frame header and other header and tail information, a complete physical frame is formed and sent. It can be seen that the MAC layer of the WLAN system mainly completes network management, transmission control, and data transmission. The preamble pilot signal of the physical layer is mainly to meet the needs of upper layer information transmission and complete signal time synchronization, frequency synchronization and other processing.
[0120] From the above analysis, it can be seen that the main research point of the relevant technical solutions is the algorithm for eliminating inconsistent data bits in the original symmetric key stream, and no effective solution is given for how to transmit the information required for key consistency reconciliation. At the same time, the MAC layer of the existing WLAN system has not made a specific design for the transmission of the information required for consistency reconciliation. Therefore, the wireless key generation mechanism cannot be applied and implemented in actual communication systems.
[0121] Therefore, it is necessary to optimize the design of the MAC layer and its frame structure in combination with the existing transmission mechanism of the WLAN system, and to achieve the interaction of key consistency and coordination information between the communicating parties without affecting the working mechanism of the existing communication system as much as possible, and to align the original key bit sequence generated based on the time-varying characteristics of the wireless channel, thereby realizing the wireless physical layer key generation.
[0122] Based on this, in various embodiments of the present application, by referencing a dedicated key consistency reconciliation message at the MAC layer, the communicating parties can effectively exchange key consistency reconciliation information to support physical layer key generation.
[0123] The present application embodiment provides an information transmission method, which is applied to a first device. Figure 1 A flowchart of an information transmission method for this application; Figure 1 As shown, the method includes:
[0124] Step 101: Send a first message, where the first message is used for key consistency coordination.
[0125] In this embodiment, the first message can be determined based on actual conditions and is not limited here. As an example, the first message can be a message specifically used to request key consistency coordination; it can also reuse messages in existing protocols and improve the messages in existing protocols (for example, carrying an indication for key consistency coordination in a channel detection request); it can also reuse messages in existing protocols but not improve the existing messages, and pre-configure the receiving end (for example, the second device) to perform the key consistency coordination operation after receiving the first message.
[0126] The key consistency coordination can also be called key consistency reconciliation, consistency reconciliation, information reconciliation, information coordination, key consistency verification, key consistency negotiation, key consistency coordination, key agreement, etc. In short, it is the processing performed during the key generation process to eliminate inconsistent key bits after quantization.
[0127] 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 coordination process. In practical applications, the first device can be called node device A.
[0128] As an example, the sending of the first message, wherein the first message is used for key consistency coordination, can be understood as the first device sending the first message to the second device, wherein the first message is used to perform key consistency coordination on inconsistent keys when there is inconsistency in the keys after physical layer quantization of channel estimation.
[0129] In practical applications, the first message may be a media access control MAC frame. As an example, the media access control MAC frame may specifically be a key consistency reconciliation request MAC frame.
[0130] In the embodiment of the present application, through the interaction of the first message, the first message is used to transmit the information required for the interaction of key consistency reconciliation.
[0131] In one embodiment, the first message includes:
[0132] first information, wherein the first information indicates a type of the first message;
[0133] and / or,
[0134] Second information, where the second information indicates relevant information for key consistency coordination.
[0135] In this embodiment, the first information can be determined according to actual conditions and is not limited here. As an example, when the first message can be a MAC frame, the first information can be the Type and Subtype information units of the MAC frame header framecontrol to specify the specific MAC frame type. Type is a two-bit information unit to represent different types of MAC frames. For example, Type = 00, management frame; Type = 01, control frame; Type = 10, data frame; Type = 11, reserved.
[0136] The Subtype four-bit information unit is used to distinguish the subtype of the MAC frame. For example, the Type of the request to send frame (RTS) is 01, Subtype = 1011; the Type of the clear to send frame CTS is 01, Subtype = 1100.
[0137] The second information can be determined based on actual conditions and is not limited here. As an example, the second information may include key consistency coordination strategy information; encoding information of the key bit sequence; check value of the key bit sequence; and result of key consistency coordination.
[0138] In one embodiment, the second information includes at least one of the following information:
[0139] Key consistency coordination strategy information;
[0140] Encoded information of the key bit sequence;
[0141] A checksum of the key bit sequence;
[0142] The result of key agreement coordination.
[0143] In this embodiment, the key consistency coordination strategy information can be determined according to actual conditions and is not limited here. As an example, the key consistency coordination strategy information can specifically be: the information reconciliation method or algorithm or mechanism supported by the device (i.e., the supported consistency reconciliation capability), the interval for consistency reconciliation information interaction (i.e., one round of information reconciliation is performed after every XX channel detections), and the maximum number of consistency reconciliation information interactions (i.e., the maximum number of negotiations for each group of key bit sequences).
[0144] The encoding information of the key bit sequence may be determined according to actual conditions and is not limited here. As an example, the encoding information of the key bit sequence may be the encoding information required for aligning the key bit sequences of both parties.
[0145] 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.
[0146] The result of the key consistency coordination may be determined according to actual conditions, which is not limited here. As an example, the result of the key consistency coordination may be: information such as the result of key consistency reconciliation (eg, key reconciliation success, failure) and the like.
[0147] In actual applications, the first device may select different second information to carry according to different situations.
[0148] In one embodiment, the first message further includes:
[0149] The third information is used to indicate the scope processed by this key consistency coordination.
[0150] In this embodiment, the third information can be determined according to actual conditions and is not limited here. The third information is used to indicate the scope processed by this key consistency coordination, which can be understood as clearly indicating the scope processed by this key coordination, or it can be indirectly used to enable the second device to deduce the scope of key coordination processing this time according to the third information.
[0151] In one embodiment, the third information is any one of the following:
[0152] Number of channel detections;
[0153] The length of the key;
[0154] Preset logo.
[0155] It should be noted that the number of channel detections can be recorded as N, where N is an integer greater than or equal to one; the specific value of N can be determined according to actual conditions and is not limited here. When the third information is the number of channel detections N, the first device sends the first message carrying the third information to the second device. After parsing the third information, the second device learns that both parties have performed N channel detections. At this time, it is necessary to perform key consistency coordination processing on the original keys generated by these N channel detections.
[0156] The length of the key can be recorded as L, where L is a number greater than zero; the specific value of L can be determined according to actual conditions and is not limited here. When the third information is the length L of the key, the first device sends the first message carrying the third information to the second device, and after parsing the third information, the second device learns that it needs to perform key consistency coordination processing on the original key of length L that has not yet been processed.
[0157] The preset identifier can be determined according to the actual situation and is not limited here. The preset identifier can be recorded as identifier A or identifier B. When the third information is a preset identifier (for example, identifier A or identifier B), the identifier here can actually represent different processing methods or processing types, and the first device and the second device also pre-configure the mapping relationship between the identifier and the processing method or processing type. Suppose that the first device sends a first message carrying identifier A to the second device. After parsing identifier A, the second device learns that this time, according to the processing method or processing type corresponding to identifier A, the key consistency coordination processing of the original key that has not been processed is to be performed.
[0158] In one embodiment, the first message is a first media access control MAC frame.
[0159] It should be noted that the specific type of the first media access control MAC frame can be determined according to actual conditions and is not limited here. As an example, the first media access control MAC frame can specifically be a key consistency reconciliation request MAC frame.
[0160] In one embodiment, the first message is:
[0161] The type field is populated with the first value;
[0162] or,
[0163] The type field is populated with the second value and the subtype field is populated with the third value.
[0164] It should be noted that there are multiple ways to represent the first message. One is to represent it with only one type field, and the other is to represent it with one type field and one subtype field.
[0165] When the first message is represented by a type field and a subtype field, there may be multiple ways, for example, a type field may be Type, and a subtype field may be Subtype.
[0166] As an example, the first message may include first information; the first information is: a type field filled with a first value; or, a type field filled with a second value and a subtype field filled with a third value. The first information may be represented in multiple ways, one is represented by only one type field, and the other is represented by one type field and one subtype field. When the first information is represented by one type field and one subtype field, there may be multiple ways.
[0167] The first value, the second value and the third value can all be determined according to actual conditions and are not limited here. The first value can be 00, 01, 10 or 11, the second value can be 00, 01, 10 or 11, and the third value can be 0010 or 1010.
[0168] In practical applications, the new MAC frame type, in the MAC protocol, Type=11 is a reserved frame type. Using this reserved value, a new wireless key generation MAC frame can be defined. For example, based on the existing Type=11, which represents a MAC frame dedicated to wireless key generation, the subtype Subtype=0010 represents a key consistency reconciliation request, and Subtype=0100~1111 is reserved. The new MAC frame subtype has a Subtype reserved value that is not used in the current management, control, and data MAC frames, such as RTS, CTS, Acknowledge character (ACK) and other control frames, beacons (Beacon), probe requests (Probe Request), probe responses (Probe Response0 and other management frames, To DS, From DS and other data frames, etc.), and a new key consistency reconciliation MAC frame subtype can be defined using this reserved value. For example, a key consistency reconciliation request is defined as a type of management frame, Type=00, Subtype=1010 represents a key consistency reconciliation request.
[0169] In one embodiment, the method further comprises:
[0170] A second message is received, the second message being for a key agreement coordination response.
[0171] In this embodiment, the second message may be determined according to actual conditions and is not limited here. As an example, the second message may be a key consistency coordination response message.
[0172] The key consistency coordination response may also be called key consistency reconciliation response, consistency reconciliation response, information reconciliation response, information coordination response, key consistency verification response, key consistency negotiation response, key consistency coordination response, key negotiation response, etc. In short, it is a response to the processing performed to eliminate inconsistent key bits after quantization during the key generation process.
[0173] As an example, receiving a second message, wherein the second message is used for a key consistency coordination response, may be understood as receiving a second message sent by a second device, wherein the second message is used for a response to the key consistency coordination.
[0174] 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 coordination process. In practical applications, the second device can be called node device B.
[0175] In practical applications, the second message may be a media access control MAC frame. As an example, the media access control MAC frame may be a key consistency reconciliation response MAC frame.
[0176] In the embodiment of the present application,
[0177] In one embodiment, the second message includes:
[0178] fourth information, the fourth information indicating a type of the second message;
[0179] and / or,
[0180] The fifth information indicates relevant information for key consistency coordination.
[0181] In this embodiment, the fourth information can be determined according to actual conditions and is not limited here. As an example, when the fourth message is a key consistency reconciliation response MAC frame, the fourth information can be the Type and Subtype information units of the MAC frame header frame control to specify the specific MAC frame type. Type is a two-bit information unit to represent different types of MAC frames. For example, Type = 00, management frame; Type = 01, control frame; Type = 10, data frame; Type = 11, reserved.
[0182] The Subtype four-bit information unit is used to distinguish the subtype of the MAC frame. For example, the Type of the request to send frame RTS is 01, Subtype = 1011; the Type of the clear to send frame CTS is 01, Subtype = 1100.
[0183] The fifth information can be determined according to actual conditions and is not limited here. As an example, the fifth information may include key consistency coordination policy information; encoding information of the key bit sequence; check value of the key bit sequence; and result of key consistency coordination.
[0184] In one embodiment, the fifth information includes at least one of the following information:
[0185] Key consistency coordination strategy information;
[0186] Encoded information of the key bit sequence;
[0187] A checksum of the key bit sequence;
[0188] The result of key agreement coordination.
[0189] In this embodiment, the key consistency coordination strategy information can be determined according to actual conditions and is not limited here. As an example, the key consistency coordination strategy information can specifically be: the information reconciliation method or algorithm or mechanism supported by the device (i.e., the supported consistency reconciliation capability), the interval for consistency reconciliation information interaction (i.e., one round of information reconciliation is performed after every XX channel detections), and the maximum number of consistency reconciliation information interactions (i.e., the maximum number of negotiations for each group of key bit sequences).
[0190] The encoding information of the key bit sequence may be determined according to actual conditions and is not limited here. As an example, the encoding information of the key bit sequence may be the encoding information required for aligning the key bit sequences of both parties.
[0191] 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.
[0192] The result of the key consistency coordination may be determined according to actual conditions, which is not limited here. As an example, the result of the key consistency coordination may be: information such as the result of key consistency reconciliation (eg, key reconciliation success, failure) and the like.
[0193] In actual applications, the second device may select different fifth information to carry according to different situations.
[0194] In one embodiment, the method further comprises:
[0195] When the key consistency coordination result included in the fifth information is successful, the first device retains the coordinated key bit sequence.
[0196] It should be noted that when the key consistency coordination result included in the fifth information is successful, the first device retains the coordinated and consistent key bit sequence, which can be understood as when the fifth information includes the result of the key consistency coordination as successful, the first device retains the coordinated and consistent key bit sequence in the key consistency coordination.
[0197] As an example, when the key consistency coordination result included in the fifth information is successful, it can be understood that the corrected key bit sequence of the second device is consistent with that of the first device, and the first device retains the key coordinated and consistent with the second device.
[0198] In one embodiment, when the fifth information includes encoding information of the key bit sequence and / or a check value of the key bit sequence, the method further includes:
[0199] If the first device determines that the number of key consistency coordinations reaches a threshold, the uncoordinated key bit sequence is discarded;
[0200] and / or,
[0201] If the first device determines that the number of key consistency coordinations does not reach the threshold, the first device performs key consistency coordination and / or sends a third message for performing key consistency coordination.
[0202] In this embodiment, the threshold value can be determined according to actual conditions and is not limited here. As an example, the threshold value can be related to the adopted reconciliation mechanism. If a one-way key consistency reconciliation mechanism is adopted, when the two communicating parties reconcile a group of keys, they only exchange consistency reconciliation related information once, that is, the threshold value can be 1; if a two-way key consistency reconciliation mechanism is adopted, the value of m can be set according to the inconsistency rate of the reconciled key.
[0203] If the first device determines that the number of key consistency coordinations has not reached a threshold, then the first device performs key consistency coordination and / or sends a third message for key consistency coordination, which can be understood as method one: if the first device determines that the number of key consistency coordinations has not reached a threshold, the first device performs key consistency coordination; method two: if the first device determines that the number of key consistency coordinations has not reached a threshold, the first device sends a third message to the second device, and the third message is used for key consistency coordination; method three: if the first device determines that the number of key consistency coordinations has not reached a threshold, the first device first performs key consistency coordination; and then sends a third message to the second device, and the third message is used for key consistency coordination.
[0204] In actual applications, if the first device determines that the number of key consistency coordinations does not reach a threshold, the first device performs key consistency coordination and then sends a third message to the second device; the third message is used for key consistency coordination.
[0205] In one embodiment, the second message is a second media access control MAC frame.
[0206] It should be noted that the specific type of the second media access control MAC frame can be determined based on actual conditions and is not limited here. As an example, the second media access control MAC frame can specifically be a key consistency reconciliation response MAC frame.
[0207] In one embodiment, the second message is:
[0208] The type field is populated with the fourth value;
[0209] or,
[0210] The type field is populated with the fifth value and the subtype field is populated with the sixth value.
[0211] It should be noted that there are multiple ways to represent the second message. One is to represent it with only one type field, and the other is to represent it with one type field and one subtype field.
[0212] When the second message is represented by a type field and a subtype field, there may be multiple ways, for example, a type field may be Type, and a subtype field may be Subtype.
[0213] As an example, the second message may include fourth information; the fourth information is: a type field filled with a fourth value; or a type field filled with a fifth value and a subtype field filled with a sixth value. The fourth information may be represented in multiple ways, one of which is represented by only one type field, and the other is represented by one type field and one subtype field. When the fourth information is represented by one type field and one subtype field, there may be multiple ways.
[0214] The fourth value, the fifth value and the sixth value can all be determined according to actual conditions and are not limited here. The fourth value can be 11, the fifth value can be 00, and the sixth value can be 0011 or 1011.
[0215] In practical applications, the new MAC frame type, in the MAC protocol, Type=11 is a reserved frame type. Using this reserved value, a new wireless key generation MAC frame can be defined. For example, based on the existing Type=11, which represents a MAC frame dedicated to wireless key generation, the subtype Subtype=0011 represents a key consistency reconciliation response, and Subtype=0100~1111 is reserved. The new MAC frame subtype has a Subtype reserved value that is not used in the current management, control, and data MAC frames (such as RTS, CTS, ACK and other control frames, Beacon, Probe Request, Probe Response and other management frames, To DS, From DS and other data frames, etc.). This reserved value can be used to define a new key consistency reconciliation MAC frame subtype. For example, a key consistency reconciliation request is defined as a type of management frame, Type=00, and Subtype=1011 represents a key consistency reconciliation response.
[0216] Accordingly, the embodiment of the present application also provides an information transmission method, Figure 2 This is another flow chart of an information transmission method according to an embodiment of the present application. Figure 2As shown; applied to a second device, comprising:
[0217] Step 201: Receive a first message, where the first message is used for key consistency coordination.
[0218] In this embodiment, the first message can be determined based on actual conditions and is not limited here. As an example, the first message can be a message specifically used to request key consistency coordination; it can also reuse messages in existing protocols and improve the messages in existing protocols (for example, carrying an indication of requesting key consistency coordination); it can also reuse messages in existing protocols but not improve the existing messages, and pre-configure the receiving end (for example, the second device) to perform the key consistency coordination operation after receiving the first message.
[0219] The key consistency coordination can also be called key consistency reconciliation, consistency reconciliation, information reconciliation, information coordination, key consistency verification, key consistency negotiation, key consistency coordination, key agreement, etc. In short, it is the processing performed during the key generation process to eliminate inconsistent key bits after quantization.
[0220] 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 coordination process. In practical applications, the second device can be called node device B.
[0221] As an example, the receiving of the first message, where the first message is used for key consistency coordination, can be understood as the second device receiving the first message sent by the first device, where the first message is used to perform key consistency coordination on inconsistent keys when there is inconsistency in the keys after physical layer quantization of channel estimation.
[0222] In practical applications, the first message may be a media access control MAC frame. As an example, the media access control MAC frame may specifically be a key consistency reconciliation request MAC frame.
[0223] In the embodiment of the present application, through the interaction of the first message, the first message is used for key consistency coordination, eliminating inconsistent bits of the key, and at the same time realizing the information required for the interaction of transmission key consistency coordination.
[0224] In one embodiment, the first message includes:
[0225] first information, wherein the first information indicates a type of the first message;
[0226] and / or,
[0227] Second information, where the second information indicates relevant information for key consistency coordination.
[0228] In this embodiment, the first information can be determined according to actual conditions and is not limited here. As an example, when the first message can be a MAC frame, the first information can be the Type and Subtype information units of the MAC frame header framecontrol to specify the specific MAC frame type. Type is a two-bit information unit to represent different types of MAC frames. For example, Type = 00, management frame; Type = 01, control frame; Type = 10, data frame; Type = 11, reserved.
[0229] The Subtype four-bit information unit is used to distinguish the subtype of the MAC frame. For example, the Type of the request to send frame RTS is 01, Subtype = 1011; the Type of the clear to send frame CTS is 01, Subtype = 1100.
[0230] The second information can be determined based on actual conditions and is not limited here. As an example, the second information may include key consistency coordination strategy information; encoding information of the key bit sequence; check value of the key bit sequence; and result of key consistency coordination.
[0231] In one embodiment, the second information includes at least one of the following information:
[0232] Key consistency coordination strategy information;
[0233] Encoded information of the key bit sequence;
[0234] A checksum of the key bit sequence;
[0235] The result of key agreement coordination.
[0236] In this embodiment, the key consistency coordination strategy information can be determined according to actual conditions and is not limited here. As an example, the key consistency coordination strategy information can specifically be: the information reconciliation method or algorithm or mechanism supported by the device (i.e., the supported consistency reconciliation capability), the interval for consistency reconciliation information interaction (i.e., one round of information reconciliation is performed after every XX channel detections), and the maximum number of consistency reconciliation information interactions (i.e., the maximum number of negotiations for each group of key bit sequences).
[0237] The encoding information of the key bit sequence may be determined according to actual conditions and is not limited here. As an example, the encoding information of the key bit sequence may be the encoding information required for aligning the key bit sequences of both parties.
[0238] 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.
[0239] The result of the key consistency coordination may be determined according to actual conditions, which is not limited here. As an example, the result of the key consistency coordination may be: information such as the result of key consistency reconciliation (eg, key reconciliation success, failure) and the like.
[0240] In practical applications, the first device may select different second information to carry according to different situations, and the second device may receive different second information carried by the first device.
[0241] In one embodiment, the first message further includes:
[0242] The third information is used to indicate the scope processed by this key consistency coordination.
[0243] In this embodiment, the third information can be determined according to actual conditions and is not limited here. The third information is used to indicate the scope processed by this key consistency coordination, which can be understood as clearly indicating the scope processed by this key coordination, or it can be indirectly used to enable the second device to deduce the scope of key coordination processing this time according to the third information.
[0244] In one embodiment, the third information includes at least one of the following:
[0245] Number of channel detections;
[0246] The length of the key;
[0247] Preset logo.
[0248] It should be noted that the number of channel detections can be recorded as N, where N is an integer greater than or equal to one; the specific value of L can be determined according to actual conditions and is not limited here. When the third information is the number of channel detections N, the first device sends the first message carrying the third information to the second device. After parsing the third information, the second device learns that both parties have performed N channel detections. At this time, it is necessary to perform key consistency coordination processing on the original keys generated by these N channel detections.
[0249] The length of the key can be recorded as L, where L is a number greater than zero; the specific value of L can be determined according to actual conditions and is not limited here. When the third information is the length L of the key, the first device sends the first message carrying the third information to the second device, and after parsing the third information, the second device learns that it needs to perform key consistency coordination processing on the original key of length L that has not yet been processed.
[0250] The preset identifier can be determined according to the actual situation and is not limited here. The preset identifier can be recorded as identifier A or identifier B. When the third information is a preset identifier (for example, identifier A or identifier B), the identifier here can actually represent different processing methods or processing types, and the first device and the second device also pre-configure the mapping relationship between the identifier and the processing method or processing type. Suppose that the first device sends a first message carrying identifier A to the second device. After parsing identifier A, the second device learns that this time, according to the processing method or processing type corresponding to identifier A, the key consistency coordination processing of the original key that has not been processed is to be performed.
[0251] In one embodiment, the first message is a first media access control MAC frame.
[0252] It should be noted that the specific type of the first media access control MAC frame can be determined according to actual conditions and is not limited here. As an example, the first media access control MAC frame can specifically be a key consistency reconciliation request MAC frame.
[0253] In one embodiment, the first message is:
[0254] The type field is populated with the first value;
[0255] or,
[0256] The type field is populated with the second value and the subtype field is populated with the third value.
[0257] It should be noted that there are multiple ways to represent the first message. One is to represent it with only one type field, and the other is to represent it with a type field and a sub-type field.
[0258] When the first message is represented by a type field and a subtype field, there may be multiple ways, for example, a type field may be Type, and a subtype field may be Subtype.
[0259] As an example, the first message may include first information; the first information is: a type field filled with a first value; or, a type field filled with a second value and a subtype field filled with a third value. The first information may be represented in multiple ways, one is represented by only one type field, and the other is represented by one type field and one subtype field. When the first information is represented by one type field and one subtype field, there may be multiple ways.
[0260] The first value, the second value and the third value can all be determined according to actual conditions and are not limited here. The first value can be 11, the second value can be 00, and the third value can be 0010 or 1010.
[0261] In practical applications, the new MAC frame type, in the MAC protocol, Type=11 is a reserved frame type. Using this reserved value, a new wireless key generation MAC frame can be defined. For example, based on the existing Type=11, which represents a MAC frame dedicated to wireless key generation, the subtype Subtype=0010 represents a key consistency reconciliation request, and Subtype=0100~1111 is reserved. The new MAC frame subtype has an unused Subtype reserved value in the current management, control, and data MAC frames (such as RTS, CTS, ACK and other control frames, Beacon, Probe Request, Probe Response and other management frames, To DS, From DS and other data frames, etc.). This reserved value can be used to define a new key consistency reconciliation MAC frame subtype. For example, a key consistency reconciliation request is defined as a type of management frame, Type=00, Subtype=1010 represents a key consistency reconciliation request.
[0262] In one embodiment, the method further comprises:
[0263] A second message is sent, wherein the second message is used for a key consistency coordination response.
[0264] In this embodiment, the second message may be determined according to actual conditions and is not limited here. As an example, the second message may be a key consistency coordination response message.
[0265] The key consistency coordination response may also be called key consistency reconciliation response, consistency reconciliation response, information reconciliation response, information coordination response, key consistency verification response, key consistency negotiation response, key consistency coordination response, key negotiation response, etc. In short, it is a response to the processing performed to eliminate inconsistent key bits after quantization during the key generation process.
[0266] As an example, sending the second message, where the second message is used for key consistency coordination response, can be understood as the second device sending the second message to the first device, where the second message is used for the key consistency coordination response.
[0267] 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 coordination process. In practical applications, the first device can be called node device A.
[0268] In practical applications, the second message may be a media access control MAC frame. As an example, the media access control MAC frame may be a key consistency reconciliation response MAC frame.
[0269] In one embodiment, the second message includes:
[0270] fourth information, the fourth information indicating a type of the second message;
[0271] and / or,
[0272] The fifth information indicates relevant information for key consistency coordination.
[0273] In this embodiment, the fourth information can be determined according to actual conditions and is not limited here. As an example, when the fourth message is a key consistency reconciliation response MAC frame, the fourth information can be the Type and Subtype information units of the MAC frame header frame control to specify the specific MAC frame type. Type is a two-bit information unit to represent different types of MAC frames. For example, Type = 00, management frame; Type = 01, control frame; Type = 10, data frame; Type = 11, reserved.
[0274] The Subtype four-bit information unit is used to distinguish the subtype of the MAC frame. For example, the Type of the request to send frame RTS is 01, Subtype = 1011; the Type of the clear to send frame CTS is 01, Subtype = 1100.
[0275] The fifth information can be determined according to actual conditions and is not limited here. As an example, the fifth information may include key consistency coordination policy information; encoding information of the key bit sequence; check value of the key bit sequence; and result of key consistency coordination.
[0276] In one embodiment, the fifth information includes the following information:
[0277] At least one of the following:
[0278] Key consistency coordination strategy information;
[0279] Encoded information of the key bit sequence;
[0280] A checksum of the key bit sequence;
[0281] The result of key agreement coordination.
[0282] In this embodiment, the key consistency coordination strategy information can be determined according to actual conditions and is not limited here. As an example, the key consistency coordination strategy information can specifically be: the information reconciliation method or algorithm or mechanism supported by the device (i.e., the supported consistency reconciliation capability), the interval for consistency reconciliation information interaction (i.e., one round of information reconciliation is performed after every XX channel detections), and the maximum number of consistency reconciliation information interactions (i.e., the maximum number of negotiations for each group of key bit sequences).
[0283] The encoding information of the key bit sequence may be determined according to actual conditions and is not limited here. As an example, the encoding information of the key bit sequence may be the encoding information required for aligning the key bit sequences of both parties.
[0284] 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.
[0285] The result of the key consistency coordination may be determined according to actual conditions, which is not limited here. As an example, the result of the key consistency coordination may be: information such as the result of key consistency reconciliation (eg, key reconciliation success, failure) and the like.
[0286] In actual applications, the second device may select different fifth information to carry according to different situations and send it to the first device.
[0287] In one embodiment, the method further comprises:
[0288] When the key consistency coordination result included in the fifth information is successful, the second device retains the coordinated key bit sequence.
[0289] It should be noted that when the key consistency coordination result included in the fifth information is successful, the second device retains the coordinated and consistent key bit sequence, which can be understood as when the fifth information includes the result of the key consistency coordination as successful, the second device retains the coordinated and consistent key bit sequence in the key consistency coordination.
[0290] When the key consistency coordination result included in the fifth information is successful, the second device retains the coordinated and consistent key bit sequence, which can be understood as when the key consistency coordination result of the second device is successful, the second device retains the coordinated and consistent key bit sequence.
[0291] In one embodiment, the method further comprises:
[0292] When the key consistency coordination result of the first device is successful, feedback information is sent to the second device; the feedback information is used to instruct the second device to retain the coordinated and consistent key bit sequence.
[0293] In this embodiment, the feedback information may be understood as sending the result of successful key consistency coordination of the first device to the second device, so that the second device retains the coordinated and consistent key bit sequence.
[0294] As an example, when the key consistency coordination result included in the fifth information is successful, it can be understood that the corrected key bit sequence of the second device is consistent with the key bit sequence of the first device, and the second device retains the coordinated and consistent key.
[0295] In one embodiment, when the fifth information includes the encoding information of the key bit sequence and / or the check value of the key bit sequence, the method further includes:
[0296] If the second device determines that the number of key consistency coordinations reaches a threshold, the uncoordinated key bit sequence is discarded;
[0297] and / or,
[0298] If the second device determines that the number of key consistency coordinations does not reach the threshold, a third message is received for performing key consistency coordination.
[0299] In this embodiment, the threshold value can be determined according to actual conditions and is not limited here. As an example, the threshold value can be related to the adopted reconciliation mechanism. If a one-way key consistency reconciliation mechanism is adopted, when the two communicating parties reconcile a group of keys, they only exchange consistency reconciliation related information once, that is, the threshold value can be 1; if a two-way key consistency reconciliation mechanism is adopted, the value of m can be set according to the inconsistency rate of the reconciled key.
[0300] The third message may be determined according to actual conditions and is not limited here. As an example, the third message may be the same as or different from the first message.
[0301] In one embodiment, the second message is a second media access control MAC frame.
[0302] It should be noted that the specific type of the second media access control MAC frame can be determined based on actual conditions and is not limited here. As an example, the second media access control MAC frame can specifically be a key consistency reconciliation response MAC frame.
[0303] In one embodiment, the second message is:
[0304] The type field is populated with the fourth value;
[0305] or,
[0306] The type field is populated with the fifth value and the subtype field is populated with the sixth value.
[0307] It should be noted that there are multiple ways to represent the second message. One is to represent it with only one type field, and the other is to represent it with one type field and one subtype field.
[0308] When the second message is represented by a type field and a subtype field, there may be multiple ways, for example, a type field may be Type, and a subtype field may be Subtype.
[0309] As an example, the second message may include fourth information; the fourth information is: a type field filled with a fourth value; or a type field filled with a fifth value and a subtype field filled with a sixth value. The fourth information may be represented in multiple ways, one of which is represented by only one type field, and the other is represented by one type field and one subtype field. When the fourth information is represented by one type field and one subtype field, there may be multiple ways.
[0310] The fourth value, the fifth value and the sixth value can all be determined according to actual conditions and are not limited here. The fourth value can be 11, the fifth value can be 00, and the sixth value can be 0011 or 1011.
[0311] In practical applications, the new MAC frame type, in the MAC protocol, Type=11 is a reserved frame type. Using this reserved value, a new wireless key generation MAC frame can be defined. For example, based on the existing Type=11, which represents a MAC frame dedicated to wireless key generation, the subtype Subtype=0011 represents a key consistency reconciliation response, and Subtype=0100~1111 is reserved. The new MAC frame subtype has a Subtype reserved value that is not used in the current management, control, and data MAC frames (such as RTS, CTS, ACK and other control frames, Beacon, Probe Request, Probe Response and other management frames, To DS, From DS and other data frames, etc.). This reserved value can be used to define a new key consistency reconciliation MAC frame subtype. For example, a key consistency reconciliation request is defined as a type of management frame, Type=00, and Subtype=1011 represents a key consistency reconciliation response.
[0312] 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.
[0313] 1. Description of wireless physical layer key generation technology.
[0314] 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.
[0315] 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.
[0316] 2. Key generation principle.
[0317] 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 3 To understand, Figure 3 Schematic diagram of the wireless physical layer key generation principle.
[0318] 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 .
[0319] 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 .
[0320] 3. WLAN system MAC frame format.
[0321] The relevant MAC layer protocol defines three types of MAC frame formats: management frame, control frame, and data frame, which respectively implement the following functions:
[0322] (1) Management frames: perform management operations such as association, authentication, scanning, etc., used to join or exit a wireless network;
[0323] (2) Control frames: usually used in conjunction with data frames, such as RTS, CTS, ACK, etc., to request wireless channels, maintain carrier monitoring, and confirm data;
[0324] (3) Data frame: The transmitted data packet. The empty data packet can be used for power management.
[0325] For ease of understanding, you can combine Figure 4 To understand, Figure 4 This is a schematic diagram of the MAC frame format of the WLAN system.
[0326] The WLAN MAC layer specifies the specific MAC frame type through the Type and Subtype information units of the frame control in the MAC frame header.
[0327] Type is a two-bit information unit to indicate different types of MAC frames. For example, Type = 00, management frame; Type = 01, control frame; Type = 10, data frame; Type = 11, reserved.
[0328] The Subtype four-bit information unit is used to distinguish the subtype of the MAC frame. For example, the Type of the request to send frame RTS is 01, Subtype = 1011; the Type of the clear to send frame CTS is 01, Subtype = 1100.
[0329] The present application adopts a dedicated key consistency reconciliation message at the MAC layer, so that the communicating parties can effectively exchange key consistency reconciliation information and support physical layer key generation.
[0330] In practical applications, the information transmission method can be understood as an information transmission method that supports wireless key consistency reconciliation, which can be specifically reflected in a MAC frame design that supports wireless key consistency reconciliation.
[0331] This application proposes a MAC frame design method that supports wireless key consistency reconciliation without changing the multi-user data transmission mechanism and the MAC frame transmission mechanism, so that the key consistency reconciliation information between two nodes of the WLAN system can be effectively exchanged, and the generation of wireless physical layer keys can be supported. Considering the delay requirements of the key generation process for the consistency reconciliation process, this application selects the field information that is indispensable for completing the process in the existing WLAN MAC frame, and defines two MAC frames dedicated to key consistency reconciliation, including the key consistency reconciliation request and the key consistency reconciliation response, forming the shortest frame that can independently complete the key consistency reconciliation process. The specific scheme is as follows:
[0332] 1. Key consistency reconciliation request.
[0333] The key consistency reconciliation request MAC frame can be combined with Figure 5 To understand, Figure 5This is a schematic diagram of the key consistency reconciliation request message in this embodiment, which includes frame control (Frame Control), duration (Duration), receiver address (RA), transmitter address (TA), key agreement information (KAI), and frame check sequence (FCS). Duration and KAI are optional. This message can realize the uplink / forward / forward transmission of wireless key consistency reconciliation information.
[0334] 2. Key consistency reconciliation response.
[0335] The key agreement reconciliation response MAC frame can be combined with Figure 6 To understand, Figure 6 This is a schematic diagram of the key consistency reconciliation response message of the embodiment of the present application, which includes Frame Control, Duration, RA, KAI, and FCS information. Duration and KAI are optional. Through this message, the downlink / reverse / backward transmission of wireless key consistency reconciliation information can be realized.
[0336] The KAI field definition described in this application includes the information reconciliation method, algorithm or mechanism supported by the device (i.e., the supported consistency reconciliation capability), the interval of consistency reconciliation information interaction (i.e., one round of information reconciliation is performed after every XX channel detections), the maximum number of consistency reconciliation information interactions (i.e., the maximum number of negotiations for each group of key bit sequences), the encoding information required to align the original key bit sequences of both parties, the check value of the key bit sequence (e.g., the calculated value of the key bit sequence obtained by parity check, CRC, Hash hashing, etc.), the result of key consistency reconciliation (e.g., key reconciliation success, failure), and other information.
[0337] The specific implementation of the defined key consistency reconciliation request and response MAC frames is as follows:
[0338] 1. New MAC frame type.
[0339] In the related art MAC protocol, Type=11 is a reserved frame type. Using this reserved value, a new wireless key generation MAC frame can be defined. For example, based on the existing Type=11, a MAC frame dedicated to wireless key generation, where the subtype Subtype=0010 represents a key consistency reconciliation request, Subtype=0011 represents a key consistency reconciliation response, and Subtype=0100~1111 are reserved. For ease of understanding, this content can be combined with Figure 7To understand, Figure 7 A schematic diagram of the implementation of key consistency reconciliation request and response messages in an embodiment of the present application.
[0340] 2. New MAC frame subtype.
[0341] In the current management, control, and data MAC frames (such as RTS, CTS, ACK and other control frames, Beacon, Probe Request, Probe Response and other management frames, To DS, From DS and other data frames, etc.), there are Subtype reserved values that are not used. This reserved value can be used to define a new key consistency reconciliation MAC frame subtype. For example, define the key consistency reconciliation request and key consistency reconciliation response as a type of management frame, Type = 00, Subtype = 1010 represents the key consistency reconciliation request; Type = 00, Subtype = 1011 represents the key consistency reconciliation response. For ease of understanding, this content can be combined with Figure 8 To understand, Figure 8 Another schematic diagram of the implementation of the key consistency reconciliation request and response message of the embodiment of the present application.
[0342] By using the above key consistency request and response MAC frames, the key consistency and information transmission can be realized between two WLAN nodes. The specific process can be combined with Fig. 9 To understand, Fig. 9 The schematic diagram of the process of implementing the key consistency and information transmission in the embodiment of the present application is shown in FIG.
[0343] 1a. Node device A sends a channel detection request message.
[0344] 1b. After receiving the channel detection request message, node device B returns a channel detection response message.
[0345] 1c. Based on the wireless channel state information (CSI, RSSI, etc.) obtained from this channel detection request and channel detection response message, the communicating parties quantize the state parameters of the wireless channel and generate a binary bit sequence as the originally generated key.
[0346] na-nc. Same as steps 1a-1c, the communicating parties complete the nth channel detection and obtain the original key bit sequence.
[0347] At this point, the communication system has completed one round of original key generation process according to the interval n of consistency reconciliation information exchange. Next, according to the maximum number of consistency reconciliation information exchanges m, the original key bit sequences generated by both parties are reconciled to make them consistent. Among them, the size of m is related to the adopted reconciliation mechanism. If a one-way key consistency reconciliation mechanism is adopted, when the communicating parties reconcile a set of keys, they only exchange consistency reconciliation related information once; if a two-way key consistency reconciliation mechanism is adopted, the size of m can be set according to the inconsistency rate of the reconciled key.
[0348] (n+1) a. Node device A sends a key consistency reconciliation request message. The KAI field can be used to optionally carry information required for key consistency reconciliation, including reconciliation mechanism / method, encoding information, check value, etc.
[0349] (n+1)b. After receiving the key consistency reconciliation request, node device B performs consistency reconciliation processing on the original key bits according to the information carried to correct the key bits that are inconsistent with A. If the corrected key bit sequence is consistent with node A, the corrected key is retained and the information reconciliation process of the group of keys is terminated; if the corrected key bit sequence is inconsistent with node A, the reconciliation mechanism adopted by the system determines whether node B sends reconciliation information to node A to make node A reconcile the inconsistent key bits, or directly discards the group of unreconciled keys.
[0350] (n+1)c. Node device B returns a key consistency reconciliation response message, which may optionally carry the key consistency reconciliation result, encoding information, and a check value of the key bit sequence to inform node A of the next processing steps.
[0351] (n+1)d. Corresponding to step (n+1)c, after node device A receives the key consistency reconciliation response message, it performs consistency reconciliation processing according to the information content carried in the message (retain the reconciled consistent key bit sequence / discard the inconsistent key bit sequence / continue to reconcile its own key to align with the key of node B).
[0352] (n+m)a-(n+m)d. Same as step (n+1)a-(n+1)d, to continue to reconcile inconsistent key bit sequences. So far, the communication system has completed m times of consistent reconciliation information transmission, i.e., one round of information reconciliation process, and the group key generation process ends.
[0353] 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.
[0354] It should be noted that the maximum number of consistency reconciliation information interactions mentioned in this application can be dynamically adjusted according to the inconsistency rate of the key generated by channel detection in the actual communication system and the reconciliation effect of the selected algorithm / mechanism. At the same time, the interval of consistency reconciliation information interaction can also be set based on the length of the original key bit sequence required for consistency reconciliation instead of the number of MAC layer message interactions (that is, when the length of the original key bit sequence is insufficient, consistency reconciliation is not performed until the accumulated original key length exceeds the set threshold). This can enhance the controllability of the communication system over the information reconciliation process, while saving more resources required for information transmission.
[0355] 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.
[0356] The technical method proposed in this application is compatible with any wireless key consistency reconciliation mechanism or algorithm. At the same time, the transmission method can be combined with the existing communication mechanism of the MAC layer of the existing WLAN system to 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 improved and applied to mobile communication systems based on cellular networks such as 4G / 5G / 6G. Such systems can define new signaling at L2 (layer 2) (such as MAC sublayer, RLC sublayer, PDCP sublayer), L3 (layer 3) (such as RRC layer), or add a new KAI field to the existing signaling to carry the information required for consistency reconciliation, and realize the consistency coordination of wireless keys between the base station and the terminal, including completing the negotiation of the key consistency coordination method, the negotiation of the maximum number of consistency reconciliation information interactions, the negotiation of the consistency reconciliation information interaction interval, the interaction of key bit sequence check information, the interaction of key consistency coordination coding information, and the transmission of consistency coordination results, so that the cellular-based mobile communication network has the ability to generate wireless keys.
[0357] 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.10 Schematic diagram of the structure of an information transmission device according to an embodiment of the present application; Fig.10 As shown, the device 1000 includes:
[0358] The sending unit 1001 is configured to send a first message, where the first message is used for key consistency coordination.
[0359] In one embodiment, the first message includes:
[0360] first information, wherein the first information indicates a type of the first message;
[0361] and / or,
[0362] Second information, where the second information indicates relevant information for key consistency coordination.
[0363] In one embodiment, the second information includes at least one of the following information:
[0364] Key consistency coordination strategy information;
[0365] Encoded information of the key bit sequence;
[0366] A checksum of the key bit sequence;
[0367] The result of key agreement coordination.
[0368] In one embodiment, the first message further includes:
[0369] The third information is used to indicate the scope processed by this key consistency coordination.
[0370] In one embodiment, the third information is any one of the following:
[0371] Number of channel detections;
[0372] The length of the key;
[0373] Preset logo.
[0374] In one embodiment, the first message is a first media access control MAC frame.
[0375] In one embodiment, the first message is:
[0376] The type field is populated with the first value;
[0377] or,
[0378] The type field is populated with the second value and the subtype field is populated with the third value.
[0379] In one embodiment, the 1000 further includes a receiving unit, configured to receive a second message, where the second message is used for a key consistency coordination response.
[0380] In one embodiment, the second message includes:
[0381] fourth information, the fourth information indicating a type of the second message;
[0382] and / or,
[0383] The fifth information indicates relevant information for key consistency coordination.
[0384] In one embodiment, the fifth information includes at least one of the following information:
[0385] Key consistency coordination strategy information;
[0386] Encoded information of the key bit sequence;
[0387] A checksum of the key bit sequence;
[0388] The result of key agreement coordination.
[0389] In one embodiment, the 1000 further includes a processing unit, configured to, when the key consistency coordination result included in the fifth information is successful, the first device retains the coordinated key bit sequence.
[0390] In one embodiment, when the fifth information includes encoding information of the key bit sequence and / or a check value of the key bit sequence, the processing unit is further used to discard the uncoordinated key bit sequence if the first device determines that the number of key consistency coordination reaches a threshold; and / or, if the first device determines that the number of key consistency coordination does not reach a threshold, the first device performs key consistency coordination and / or sends a third message for key consistency coordination.
[0391] In one embodiment, the second message is a second media access control MAC frame.
[0392] In one embodiment, the second message is:
[0393] The type field is populated with the fourth value;
[0394] or,
[0395] The type field is populated with the fifth value and the subtype field is populated with the sixth value.
[0396] 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.11 FIG. 2 is a schematic diagram of another information transmission device structure according to an embodiment of the present application; Fig.11 As shown, the 1100 includes:
[0397] The receiving unit 1101 is configured to receive a first message, where the first message is used for key consistency coordination.
[0398] In one embodiment, the first message includes:
[0399] first information, wherein the first information indicates a type of the first message;
[0400] and / or,
[0401] Second information, where the second information indicates relevant information for key consistency coordination.
[0402] In one embodiment, the second information includes at least one of the following information:
[0403] Key consistency coordination strategy information;
[0404] Encoded information of the key bit sequence;
[0405] A checksum of the key bit sequence;
[0406] The result of key agreement coordination.
[0407] In one embodiment, the first message further includes:
[0408] The third information is used to indicate the scope processed by this key consistency coordination.
[0409] In one embodiment, the third information includes at least one of the following:
[0410] Number of channel detections;
[0411] The length of the key;
[0412] Preset logo.
[0413] In one embodiment, the first message is a first media access control MAC frame.
[0414] In one embodiment, the first message is:
[0415] The type field is populated with the first value;
[0416] or,
[0417] The type field is populated with the second value and the subtype field is populated with the third value.
[0418] In one embodiment, the 1100 further includes a sending unit, configured to send a second message, where the second message is used for a key consistency coordination response.
[0419] In one embodiment, the second message includes:
[0420] fourth information, the fourth information indicating a type of the second message;
[0421] and / or,
[0422] The fifth information indicates relevant information for key consistency coordination.
[0423] In one embodiment, the fifth information includes the following information:
[0424] At least one of the following:
[0425] Key consistency coordination strategy information;
[0426] Encoded information of the key bit sequence;
[0427] A checksum of the key bit sequence;
[0428] The result of key agreement coordination.
[0429] In one embodiment, the 1100 further includes a processing unit, configured to, when the key consistency coordination result included in the fifth information is successful, the second device retains the coordinated key bit sequence.
[0430] In one embodiment, when the fifth information includes the encoding information of the key bit sequence and / or the check value of the key bit sequence, the processing unit is further used to discard the uncoordinated key bit sequence if the second device determines that the number of key consistency coordination reaches a threshold; and / or, if the second device determines that the number of key consistency coordination does not reach the threshold, receive a third message for key consistency coordination.
[0431] 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.
[0432] 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.12 Schematic diagram of the first device structure of the present application embodiment; Fig.12 As shown, the first device 1200 includes:
[0433] The first communication interface 1201 is capable of exchanging information with the first device;
[0434] The first processor 1202 is connected to the first communication interface 1201 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 1203.
[0435] It should be noted that the specific processing process of the first processor 1202 and the first communication interface 1201 can be understood by referring to the above method.
[0436] Of course, in actual application, the various components in the first device 1200 are coupled together through the bus system 1204. It can be understood that the bus system 1204 is used to realize the connection and communication between these components. In addition to the data bus, the bus system 1204 also includes a power bus, a control bus, and a status signal bus. However, for the sake of clarity, Fig.12 Various buses are labeled as bus system 1204.
[0437] The first memory 1203 in the embodiment of the present application is used to store various types of data to support the operation of the first device 1200. Examples of such data include: any computer program used to operate on the first device 1200.
[0438] The method disclosed in the above embodiment of the present application can be applied to the first processor 1202, or implemented by the first processor 1202. The first processor 1202 may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method can be completed by an integrated logic circuit of the hardware in the first processor 1202 or an instruction in the form of software. The above-mentioned first processor 1202 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 1202 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 1203, and the first processor 1202 reads the information in the first memory 1203 and completes the steps of the above method in combination with its hardware.
[0439] In an exemplary embodiment, the first device 1200 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.
[0440] 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.13 This is a schematic diagram of the second device structure of the embodiment of the present application; Fig.13 As shown, the first device 1300 includes:
[0441] The second communication interface 1301 is capable of exchanging information with the second device;
[0442] The second processor 1302 is connected to the second communication interface 1301 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 1303.
[0443] It should be noted that the specific processing process of the second communication interface 1301 and the second processor 1302 can be understood by referring to the above method.
[0444] Of course, in actual application, the various components in the first device 1300 are coupled together through the bus system 1304. It can be understood that the bus system 1304 is used to realize the connection and communication between these components. In addition to the data bus, the bus system 1304 also includes a power bus, a control bus, and a status signal bus. However, for the sake of clarity, Fig.13 Various buses are labeled as bus system 1304 .
[0445] The second memory 1303 in the embodiment of the present application is used to store various types of data to support the operation of the second device 1300. Examples of such data include: any computer program used to operate on the second device 1300.
[0446] The method disclosed in the above embodiment of the present application can be applied to the second processor 1302, or implemented by the second processor 1302. The second processor 1302 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 1302. The above-mentioned second processor 1302 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 1302 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 1303, and the second processor 1302 reads the information in the second memory 1303 and completes the steps of the above method in combination with its hardware.
[0447] In an exemplary embodiment, the second device 1300 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.
[0448] It can be understood that the memory (first memory 1203, second memory 1303) 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.
[0449] 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.14 Schematic diagram of the information transmission system structure of the present application embodiment; Fig.14 As shown, the system includes: a first device 1401 and a second device 1402.
[0450] Here, it should be noted that: the specific processing process of the first device 1401 and the second device 1402 has been described in detail above and will not be repeated here.
[0451] 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 1203 storing a computer program, and the computer program can be executed by the first processor 1202 of the first device 1200 to complete the steps of the second device side method. For another example, including a second memory 1303 storing a computer program, the computer program can be executed by the second processor 1302 of the second device 1300 to complete the steps of the first device side method. The computer-readable storage medium can be a memory such as FRAM, ROM, PROM, EPROM, EEPROM, Flash Memory, magnetic surface memory, optical disk, or CD-ROM.
[0452] 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.
[0453] In addition, the technical solutions described in the embodiments of the present application can be combined arbitrarily without conflict.
[0454] 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: A first message is sent, wherein the first message is used for key consistency coordination.
2. The method according to claim 1, characterized in that The first message includes: first information, wherein the first information indicates a type of the first message; and / or, Second information, where the second information indicates relevant information for key consistency coordination.
3. The method according to claim 2, characterized in that The second information includes at least one of the following information: Key consistency coordination strategy information; Encoded information of the key bit sequence; A checksum of the key bit sequence; The result of key agreement coordination.
4. The method according to any one of claims 1 to 3, characterized in that: The first message also includes: The third information is used to indicate the scope processed by this key consistency coordination.
5. The method according to claim 4, characterized in that The third information is any one of the following: Number of channel detections; The length of the key; Preset logo.
6. The method according to claim 1, characterized in that The first message is a first media access control MAC frame.
7. The method according to claim 1, characterized in that The first message is: The type field is populated with the first value; or, The type field is populated with the second value and the subtype field is populated with the third value.
8. The method according to claim 1, characterized in that The method further comprises: A second message is received, the second message being for a key agreement coordination response.
9. The method according to claim 8, characterized in that The second message includes: fourth information, the fourth information indicating a type of the second message; and / or, The fifth information indicates relevant information for key consistency coordination.
10. The method according to claim 9, characterized in that The fifth information includes at least one of the following information: Key consistency coordination strategy information; Encoded information of the key bit sequence; A checksum of the key bit sequence; The result of key agreement coordination.
11. The method according to any one of claims 9 to 10, characterized in that: The method further comprises: When the key consistency coordination result included in the fifth information is successful, the first device retains the coordinated key bit sequence.
12. The method according to any one of claims 9 to 10, characterized in that: When the fifth information includes encoding information of the key bit sequence and / or a check value of the key bit sequence, the method further includes: If the first device determines that the number of key consistency coordinations reaches a threshold, the uncoordinated key bit sequence is discarded; and / or, If the first device determines that the number of key consistency coordinations does not reach the threshold, the first device performs key consistency coordination and / or sends a third message for performing key consistency coordination.
13. The method according to any one of claims 8 to 10, characterized in that: The second message is a second media access control MAC frame.
14. The method according to claim 13, characterized in that The second message is: The type field is populated with the fourth value; or, The type field is populated with the fifth value and the subtype field is populated with the sixth value.
15. An information transmission method, characterized in that: Applied to the second device, comprising: A first message is received, the first message being used for key consistency coordination.
16. The method according to claim 15, characterized in that The first message includes: first information, wherein the first information indicates a type of the first message; and / or, Second information, where the second information indicates relevant information for key consistency coordination.
17. The method according to claim 16, characterized in that The second information includes at least one of the following information: Key consistency coordination strategy information; Encoded information of the key bit sequence; A checksum of the key bit sequence; The result of key agreement coordination.
18. The method according to any one of claims 15 to 17, characterized in that: The first message also includes: The third information is used to indicate the scope processed by this key consistency coordination.
19. The method according to claim 18, characterized in that The third information includes at least one of the following: Number of channel detections; The length of the key; Preset logo.
20. The method according to claim 15, characterized in that The first message is a first media access control MAC frame.
21. The method according to claim 15, characterized in that The first message is: The type field is populated with the first value; or, The type field is populated with the second value and the subtype field is populated with the third value.
22. The method according to claim 15, characterized in that The method further comprises: A second message is sent, wherein the second message is used for a key consistency coordination response.
23. The method according to claim 22, characterized in that The second message includes: fourth information, the fourth information indicating a type of the second message; and / or, The fifth information indicates relevant information for key consistency coordination.
24. The method according to claim 23, characterized in that The fifth information includes at least one of the following information: Key consistency coordination strategy information; Encoded information of the key bit sequence; A checksum of the key bit sequence; The result of key agreement coordination.
25. The method according to any one of claims 23-24, characterized in that: The method further comprises: When the key consistency coordination result included in the fifth information is successful, the second device retains the coordinated key bit sequence.
26. The method according to any one of claims 23-24, characterized in that: When the fifth information includes the encoding information of the key bit sequence and / or the check value of the key bit sequence, the method further includes: If the second device determines that the number of key consistency coordinations reaches a threshold, the uncoordinated key bit sequence is discarded; and / or, If the second device determines that the number of key consistency coordinations does not reach the threshold, a third message is received for performing key consistency coordination.
27. The method according to any one of claims 22 to 24, characterized in that: The second message is a second media access control MAC frame.
28. The method according to claim 27, characterized in that The second message is: The type field is populated with the fourth value; or, The type field is populated with the fifth value and the subtype field is populated with the sixth value.
29. An information transmission device, characterized in that: The settings on the first device include: The sending unit is used to send a first message, where the first message is used for key consistency coordination.
30. An information transmission device, characterized in that: The settings on the second device include: The receiving unit is configured to receive a first message, where the first message is used for key consistency coordination.
31. A first device, characterized in that: include: A first communication interface and a first processor; wherein, The first communication interface is used to send a first message, where the first message is used for key consistency coordination.
32. 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, where the first message is used for key consistency coordination.
33. 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 14 are executed.
34. 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, it executes the steps of the method described in any one of claims 15 to 28.
35. 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 14, or implements the steps of the method according to any one of claims 15 to 28.
