A high reciprocity channel feature extraction method and system

By performing channel estimation and quantification processing in the WIFI control frame interaction process, the reciprocity of the wireless channel is improved, the problem of poor consistency in key generation between communicating parties is solved, and the key generation rate and consistency rate are improved.

CN115150232BActive Publication Date: 2024-10-08PURPLE MOUNTAIN LAB
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210745339.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-06-27
Publication Date
2024-10-08
Estimated Expiration
2042-06-27

AI Technical Summary

Technical Problem

In a time-division duplex system, due to factors such as time intervals, hardware fingerprints, and measurement noise, the keys generated by the communicating parties are less consistent, resulting in a lower wireless channel key generation rate and consistency rate.

Method used

By using WIFI control frames in communication nodes for channel estimation, channel state information is obtained, and amplitude and phase information are quantified to generate high reciprocity uplink and downlink channel characteristics, and deterministic time intervals are used to improve the reciprocity of channel characteristics. Transactability.

Benefits of technology

It significantly improves the key generation rate and consistency rate between communication nodes, solves the problem of insufficient reciprocity of channel characteristics, and enhances the generation ability of wireless channel keys.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115150232B_ABST
    Figure CN115150232B_ABST
Patent Text Reader

Abstract

The present invention discloses a high reciprocity channel feature extraction method and system, the method is applied to at least two communication nodes based on WIFI protocol communication, including: each communication node performs channel estimation according to the received interactive frame to obtain channel state information; the interactive frame is: a pair of uplink and downlink frames including WIFI control frames generated by the two communication nodes based on WIFI protocol communication; each communication node processes the channel state information to obtain amplitude information and phase information, quantizes the amplitude information and phase information of the channel, and then obtains reciprocal uplink and downlink channel features. The present invention improves the reciprocity of uplink and downlink channel features between two communication nodes, can be used to generate wireless channel keys, and improves the key generation rate and the consistency rate of key generation.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of information security technology, and in particular to a high reciprocity channel feature extraction method and system. Background Art

[0002] Physical layer key generation technology utilizes the randomness, short-time reciprocity, and geographic location uniqueness of wireless channel characteristics, and has received widespread attention at home and abroad. According to the reciprocity of wireless channels, signals sent by both communicating parties at the same time and frequency will experience the same fading characteristics. In a time division duplex system, if the pilot transmission time difference between the two communicating parties does not exceed the coherence time, the channels between the two parties are highly correlated, and any channel observed by a third party half a wavelength away from the two communicating parties has a very low correlation with the channel. Therefore, the communicating parties use the wireless channel characteristics in the above time division duplex system as a natural random source to generate keys, solving the key distribution and management difficulties of traditional private key encryption.

[0003] However, the experimental results of time-division duplex systems actually built in recent years point out that in actual systems built on commercial off-the-shelf (COTS) devices, the keys generated by the communicating parties are less consistent due to factors such as time interval, hardware fingerprints, and measurement noise. These problems will seriously affect the practical application of wireless channel key generation schemes. For example, Liu et al. used the data frame interaction of Intel WiFi Link 5300 network card to measure the channel in the article "Fast and practical secret key extraction by exploiting channel response". Due to the channel competition process in the CSMA / CA working mechanism of the WiFi protocol, even after compensating for the influence of hardware fingerprints, the uncertainty time interval of milliseconds or even longer between WiFi data frames will still lead to insufficient reciprocity of uplink and downlink channel characteristics, resulting in low final key generation rate and consistency rate.

[0004] Reciprocity is the similarity of analog quantities, which is the consistency of uplink and downlink channel characteristics within a certain coherence time. It refers to the similarity between the amplitude information and the phase information between the uplink and downlink channels. Summary of the invention

[0005] Purpose of the invention: In view of the problems in the prior art, the present invention provides a high reciprocity channel feature extraction method and system, which solves the problem that the uplink and downlink channel feature reciprocity is insufficient due to the long interval between uplink and downlink WiFi data frames in the existing channel feature extraction method, which in turn leads to low subsequent key generation rate and consistency rate.

[0006] Technical solution: To achieve the above technical objectives, the present invention adopts the following technical solution: A high reciprocity channel feature extraction method is applied to at least two communication nodes based on WIFI protocol communication, comprising:

[0007] Each communication node performs channel estimation according to the received interactive frame to obtain channel state information; the interactive frame is: a pair of uplink and downlink frames including a WIFI control frame generated by communication between two communication nodes based on the WIFI protocol;

[0008] Each communication node processes the channel state information respectively to obtain amplitude information and phase information, quantizes the amplitude information and phase information of the channel, and then obtains reciprocal uplink and downlink channel characteristics.

[0009] Furthermore, the interaction frame has a deterministic time interval and is generated through an interaction process including a WIFI control frame.

[0010] Furthermore, the WIFI control frame is: a request to send frame RTS, a clear to send frame CTS, an acknowledgement frame ACK or a power saving polling frame PS-POLL.

[0011] Furthermore, the interaction process including the WIFI control frame is: a request data sending interaction process, a direct data sending interaction process or an energy-saving polling interaction process.

[0012] Furthermore, the interaction frame is:

[0013] The deterministic interval time is Len DATA +SIFS interactive frames {DATA, ACK};

[0014] The deterministic interval time is Len RTS +SIFS interactive frames {RTS, CTS};

[0015] The deterministic interval time is Len CTS +SIFS interactive frame {CTS, DATA};

[0016] Or the deterministic interval time is Len PS-POLL +SIFS interactive frames {PS-POLL, DATA};

[0017] Len DATA The duration of the data frame DATA, Len RTS The duration of the request frame, Len CTS To clear the duration of the sent frame, Len PS-POLL The duration of the polling frame to save energy, SIFS is the short interframe space.

[0018] Furthermore, channel estimation is performed according to a long training sequence including a plurality of subcarriers in the interactive frame preamble to obtain channel state information on corresponding subcarriers.

[0019] Further, obtaining the amplitude information and the phase information includes:

[0020] Each communication node performs energy normalization processing on the amplitude part of its estimated channel state information to obtain uplink and downlink channel amplitude information with consistent average energy;

[0021] Each communication node performs phase unwrapping and centralization processing on the phase part of its estimated channel state information to obtain uplink and downlink channel phase information with an average phase of zero.

[0022] A high reciprocity channel feature extraction system, comprising: at least two communication nodes communicating based on a WIFI protocol, wherein each communication node comprises:

[0023] A channel estimation module is used to perform channel estimation according to received interactive frames to obtain channel state information; the interactive frames are: a pair of uplink and downlink frames including a WIFI control frame generated by two communication nodes communicating based on the WIFI protocol;

[0024] The feature extraction module is used to process the channel state information respectively to obtain amplitude information and phase information, quantify the amplitude information and phase information of the channel, and then obtain reciprocal uplink and downlink channel features.

[0025] Furthermore, the interaction frame has a deterministic time interval and is generated through an interaction process including a WIFI control frame.

[0026] Furthermore, the WIFI control frame is: a request to send frame RTS, a clear to send frame CTS, an acknowledgement frame ACK or a power saving polling frame PS-POLL.

[0027] Furthermore, the interaction process including the WIFI control frame is: a request data sending interaction process, a direct data sending interaction process or an energy-saving polling interaction process.

[0028] Furthermore, the interaction frame is:

[0029] The interval is Len DATA +SIFS interactive frames {DATA, ACK};

[0030] The interval is Len RTS +SIFS interactive frames {RTS, CTS};

[0031] The interval is Len CTS+SIFS interactive frame {CTS, DATA};

[0032] Or the interval is Len PS-POLL +SIFS interactive frames {PS-POLL, DATA};

[0033] Len DATA The duration of the data frame DATA, Len RTS The duration of the request frame, Len CTS To clear the duration of the sent frame, Len PS-POLL The duration of the polling frame to save energy, SIFS is the short interframe space.

[0034] Beneficial effects: The present invention performs channel estimation in each communication node according to the interactive frames containing WIFI control frames received by the communication node to obtain channel state information, and then processes the channel state information to obtain amplitude and phase information, and further quantizes it to obtain uplink and downlink channel characteristics with high reciprocity. The method of the present invention improves the reciprocity of uplink and downlink channel characteristics between two communication nodes, which can be used to generate wireless channel keys, and improve the key generation rate and the consistency rate of key generation. BRIEF DESCRIPTION OF THE DRAWINGS

[0035] Figure 1 is a flow chart of a channel feature extraction method in an embodiment of the present invention;

[0036] Figure 2 Schematic diagram of the structure of a channel feature extraction system in an embodiment of the present invention;

[0037] Figure 3 The diagram is a flow chart of uplink and downlink signal interaction and a time interval between an AP and a STA in an embodiment of the present invention;

[0038] Figure 4 is the channel state information amplitude of adjacent DATA frames and ACK frames received by the AP and the STA in the embodiment of the present invention;

[0039] Figure 5 is the channel state information amplitude of adjacent DATA frames and DATA frames received by the AP and the STA in the embodiment of the present invention;

[0040] Figure 6 is the relative phase of the channel state information of adjacent DATA frames and ACK frames received by the AP and the STA in the embodiment of the present invention;

[0041] Figure 7 is the relative phase of the channel state information of adjacent DATA frames and DATA frames received by the AP and the STA in the embodiment of the present invention;

[0042] Figure 8 It is the consistency rate of different uplink and downlink channel characteristics of AP and STA under different quantization orders in the embodiment of the present invention. DETAILED DESCRIPTION

[0043] The following further describes and explains a high reciprocity channel feature extraction method and system of the present invention in conjunction with the accompanying drawings and embodiments.

[0044] The communication node described in the present invention may be an access point, a terminal or other communication node, and the specific type of the communication node is not limited. The communication between communication nodes may be communication between an access point and a terminal, or communication between terminals, and the present invention does not limit this.

[0045] Embodiment 1:

[0046] As attached Figure 1 As shown, a high reciprocity channel feature extraction method is applied to at least two communication nodes communicating based on WIFI protocol, comprising the following steps:

[0047] Step 1: Each communication node performs channel estimation according to the received interactive frame to obtain channel state information; the interactive frame is: a pair of uplink and downlink frames including a WIFI control frame generated by communication between two communication nodes based on the WIFI protocol;

[0048] Step 2: Each communication node processes the channel state information respectively to obtain amplitude information and phase information, quantizes the amplitude information and phase information of the channel, and then obtains reciprocal uplink and downlink channel characteristics.

[0049] The present invention performs channel estimation in each communication node according to the interactive frame containing the WIFI control frame received by the communication node, obtains channel state information, processes the channel state information to obtain amplitude and phase information, and further quantizes it to obtain uplink and downlink channel characteristics with high reciprocity. The present invention uses the interactive frame containing the WIFI control frame to generate a microsecond-level deterministic time interval, greatly reduce the uplink and downlink interactive signal time interval, improve the reciprocity of the uplink and downlink channel characteristics between the two communication nodes, and can be used to generate wireless channel keys, and improve the key generation rate and the consistency rate of key generation.

[0050] The WIFI protocol-based communication includes at least two communication nodes, such as an access point that performs WIFI protocol communication with multiple terminals. In this embodiment, only two communication nodes are used for illustration, and the two communication nodes are an access point and a terminal. The specific process of the feature extraction method is described below through the access point and the terminal.

[0051] Furthermore, the interaction frame has a deterministic time interval and is generated through an interaction process including a WIFI control frame.

[0052] The access point and the terminal generate a pair of uplink and downlink frames containing the WIFI control frame at a deterministic time interval through an interaction process containing the WIFI control frame, wherein the WIFI control frame is used to control the deterministic time interval to be a microsecond time interval.

[0053] Set up the access point AP and terminal STA of the WiFi network, and establish a WiFi connection after initialization respectively; different WiFis have their own power-on initialization setting schemes, and this embodiment does not make specific restrictions on the initialization schemes. ccess Point, which is a wireless access point, is the creator of a wireless network and the central node of the network. A wireless router used in a general home or office is an AP. STA, Station, every terminal connected to a wireless network, such as a laptop, PDA and other user devices that can be connected to the network, can be called a station.

[0054] Furthermore, the WiFi control frames mainly refer to RTS (Request To Send), CTS (Clear To Send), ACK (Acknowledge) and PS-POLL (Power Saving Polling). The PS-POLL only appears when the terminal communicates with the access point.

[0055] Furthermore, the interaction process including the WIFI control frame is: a request data sending interaction process, a direct data sending interaction process or an energy-saving polling interaction process.

[0056] Furthermore, the interactive frames with deterministic time intervals are:

[0057] The deterministic interval time is Len DATA +SIFS interactive frames {DATA, ACK};

[0058] The deterministic interval time is Len RTS +SIFS interactive frames {RTS, CTS};

[0059] The deterministic interval time is Len CTS +SIFS interactive frame {CTS, DATA};

[0060] Or the deterministic interval time is Len PS-POLL +SIFS interactive frames {PS-POLL, DATA};

[0061] Len DATA is the duration of the data frame, Len RTS The duration of the request frame, Len CTS To clear the duration of the sent frame, Len PS-POLL To save energy, the polling frame duration is SIFS (Short Interframe Space).

[0062] Specifically, the AP and STA generate interactive frames Frame_AP and Frame_STA with microsecond-level deterministic time intervals through a typical workflow including WiFi control frames;

[0063] The typical workflow between AP and STA through WiFi control frames mainly includes the following three interaction processes: request data transmission interaction process (RTS+CTS+DATA+ACK), direct data transmission interaction process (DATA+ACK) and energy-saving polling interaction process (PS-POLL+DATA+ACK). In the interaction process, the three interaction processes are used one by one or in combination. Among them, DATA is a data frame.

[0064] Through these three typical workflows, the following four interactive frames with microsecond-level deterministic time intervals can be obtained:

[0065] 1) The interval time is Len DATA +SIFS interactive frame {DATA, ACK}, where Len DATA Represents the duration of a data frame (DATA), and SIFS stands for short interframe space. This pair of interactive frames appears most frequently in actual WiFi networks;

[0066] 2) The interval time is Len RTS +SIFS interactive frame {RTS, CTS}, where Len RTS Represents the duration of the request to send frame (RTS);

[0067] 3) The interval time is Len CTS +SIFS interactive frame {CTS, DATA}, where Len CTS Represents the duration of the Clear to Send frame (CTS);

[0068] 4) The interval time is Len PS-POLL +SIFS interactive frame {PS-POLL, DATA}, where Len pS-POLL Indicates the duration of the Power Save Poll frame (PS-POLL).

[0069] The request data sending (RTS+CTS+DATA+ACK) interaction process includes interaction frames {RTS, CTS}, interaction frames {CTS, DATA} and interaction frames {DATA, ACK}; the direct data sending (DATA+ACK) interaction process includes interaction frames {DATA, ACK}; and the power saving polling (PS-POLL+DATA+ACK) interaction process includes interaction frames {PS-POLL, DATA} and interaction frames {DATA, ACK}.

[0070] The exchange frames between the access point and the terminal include a preamble, and channel estimation is performed based on a long preamble portion including a number of subcarriers in the preamble.

[0071] AP and STA use the preamble code part of the uplink and downlink frames Frame_AP and Frame_STA to perform channel estimation respectively, and obtain the uplink channel state information CSI_AP and the downlink channel state information CSI_STA; CSI (Channel State Information), that is, channel state information;

[0072] The data frames and control frames sent by the AP and STA all contain a preamble. The WiFi protocol stipulates that the preamble includes 52 subcarriers. The long training sequence containing 52 subcarriers in the preamble is used for channel estimation to obtain the uplink and downlink channel status information on the corresponding 52 subcarriers.

[0073] The access point and the terminal process the channel state information to obtain the amplitude information and phase information of the channel, and quantize the amplitude information and phase information to obtain the reciprocal uplink and downlink channel characteristics.

[0074] The channel amplitude information and phase information are quantized respectively to obtain corresponding uplink and downlink channel amplitude characteristics and uplink and downlink channel phase characteristics, wherein when the uplink and downlink channel amplitude information and phase information are quantized respectively, the quantization orders can be the same or different. In addition, in terms of the quantization processing method, a uniform quantization method, an equal probability quantization method and other non-uniform quantization methods can be used, which are not specifically limited in the present invention.

[0075] Further, obtaining the amplitude information and the phase information includes:

[0076] The access point and the terminal respectively perform energy normalization processing on the amplitude part of their respective estimated channel state information to obtain uplink and downlink channel amplitude information CSI_Mag_AP and CSI_Mag_STA with consistent average energy; each communication node respectively performs phase unwrapping and centering processing on the phase part of their respective estimated channel state information to obtain uplink and downlink channel phase information CSI_Phase_AP and CSI_Phase_STA with an average phase of zero;

[0077] In this embodiment, the uplink and downlink channel amplitude information and phase information are uniformly quantized respectively, and the uplink and downlink channel amplitude features {Feature_Mag_AP, Feature_Mag_STA} and uplink and downlink channel phase features {Feature_Phase_AP, Feature_Phase_STA} corresponding to the access point and the terminal are obtained, that is, the reciprocal uplink and downlink channel features are obtained, and they have high reciprocity. Reciprocity refers to the similarity between the uplink channel and the downlink channel. The higher the reciprocity, the higher the similarity.

[0078] In the present invention, the access point and the terminal preset the same processing process for their respective channel state information, that is, the access point and the terminal adopt the same processing method in normalization processing, phase unwrapping and centralization processing. The quantization order is determined according to the reciprocity requirement, the reciprocity performance is determined according to the deterministic time interval of the uplink and downlink interaction frames, and the reciprocity performance is also determined according to the environment and motion state of the access point and the terminal.

[0079] The reciprocity between the uplink and downlink channel characteristics has an impact on the quantization order. The higher the reciprocity, the higher the quantization order that can be used, the more key bits are finally obtained, and the higher the key consistency rate between the two parties is; the lower the reciprocity, the lower the quantization order that can be used, the fewer key bits are finally obtained, and the lower the key consistency rate between the two parties is, which is not conducive to the generation of wireless channel keys. In this embodiment, a single first-order uniform quantization method can be used, or a multi-order uniform quantization method can be used. The quantization order used for the uplink and downlink channel amplitude information and phase information can be different. Different quantization orders can also be used for uplink and downlink interactive frames with different deterministic interval times. The longer the time interval, the lower the reciprocity of the uplink and downlink channels, and the lower the quantization order used. In addition, the environment and motion state of the AP and STA will also affect the reciprocity of the uplink and downlink channels, thereby affecting the quantization order. For example, the faster the STA moves, the lower the reciprocity of the uplink and downlink channels is when the time interval remains unchanged, and the lower the quantization order that can be used while ensuring the key consistency rate generated by both parties. The specific quantization order can be experimentally determined based on the environment and motion status of the AP and STA.

[0080] The present invention generates uplink and downlink interactive frames with microsecond-level deterministic interval time, greatly reduces the time interval of uplink and downlink interactive signals, improves the reciprocity of uplink and downlink channels, and thus improves the key generation rate and the consistency rate of key generation by both parties. Reciprocity is the similarity of analog quantity, which in the present invention refers to the similarity between amplitude information and phase information between uplink and downlink channels; the consistency rate is the similarity of quantized digital quantity, which in the present invention refers to the similarity of amplitude characteristics between uplink and downlink channels and the similarity of phase characteristics between uplink and downlink channels, therefore, reciprocity is before quantization.

[0081] The high reciprocity channel feature extraction method described in the present invention is executed in an access point and a terminal respectively. The present invention generates uplink and downlink interaction frames with deterministic interval time through a WIFI protocol communication process including a control frame, and obtains uplink and downlink channel amplitude and phase features with high reciprocity after channel estimation and processing, which are used to generate wireless channel keys, and improve the key generation rate and the consistency rate of key generation.

[0082] Embodiment 2:

[0083] This embodiment provides a high reciprocity channel feature extraction method, comprising the following steps:

[0084] (1) Set up the access point AP and terminal STA of the WiFi network, initialize them respectively and establish a WiFi connection;

[0085] In this embodiment, two ESP32 WiFi devices of the same model are selected as access points AP and terminals STA respectively. The AP is fixed and the STA is handheld and moved at low speed. The default initialization settings are performed and configured as the IEEE802.11n protocol. Through the SSID (Service Set Identifier) ​​and password, the STA connects to the AP and establishes a WiFi connection.

[0086] (2) The AP and STA use a typical workflow including WiFi control frames to generate uplink and downlink frames Frame_AP and Frame_STA with microsecond-level deterministic intervals;

[0087] In this embodiment, the AP and STA follow the following Figure 3 The interactive process in this embodiment is a direct data transmission (DATA+ACK) interactive process. STA continuously sends fixed-length DATA frames. After receiving the DATA frames, AP automatically sends ACK frames for confirmation. In this way, microsecond-level deterministic intervals of Len are continuously generated between AP and STA. DATA +SIFS (144us) interactive frame {DATA, ACK}, where LenDATA Represents the duration of the data frame, which is 128us, and SIFS represents the short interframe space, which is 16us. Figure 3 As can be seen from the figure, the first direct data transmission (DATA+ACK) interaction process is carried out between AP and STA, that is, STA sends data packet Data1 to AP and AP sends confirmation response ACK1 to STA. The time interval between uplink and downlink signals is Len. DATA +SIFS(144us).

[0088] The first complete data packet exchange between AP and STA is the process of STA sending data packet Data1 to AP and AP sending data packet Data2 to STA. The time interval between uplink and downlink signals is Len. DATA +SIFS+Len ACK +DIFS+T 竞争 , where DIFS stands for distributed inter-frame spacing, which is 28us. Before sending data packet Data2, AP competes with other devices in the environment for a channel, and the time occupied by the channel competition is T 竞争 It is uncertain, that is, the uncertain time interval between WiFi data frames in milliseconds or even longer in the prior art. In the present invention, an interactive frame with a deterministic time interval is generated by an interactive process including a WiFi control frame, that is, Len is used in this embodiment. DATA +SIFS deterministic time interval interactive frames extract channel features.

[0089] (3) The AP and STA use the preamble part of the received interactive frame to perform channel estimation and obtain the uplink channel state information CSI_AP and the downlink channel state information CSI_STA;

[0090] In this embodiment, the WiFi protocol stipulates that each frame signal has a preamble code, which is determined by the physical layer frame format. The ESP32 WiFi module (Bluetooth wireless communication module) corresponding to the AP and STA uses the long training sequence of 52 subcarriers in the preamble code of the uplink DATA frame and the downlink ACK frame received in the i-th interaction to automatically perform channel estimation and obtain the uplink and downlink channel state information CSI_AP on the corresponding 52 subcarriers. i and CSI_STA i :

[0091] CSI_AP i ={CSI_AP i (1), CSI_AP i (2), ..., CSI_AP i (j), ..., CSI_AP i(52)}

[0092] CSI_STA i ={CSI_STA i (1), CSI_STA i (2), ..., CSI_STA i (j), ..., CSI_STA i (52)}

[0093] CSI_AP i (j) and CSI_STA i (j) refers to the channel estimation results of AP and STA on the j-th subcarrier respectively; the channel estimation is performed using the 52 subcarriers of the received preamble code and the 52 subcarriers of the ideal preamble code, and this part is implemented by the existing technology.

[0094] (4) The AP and STA process the amplitude and phase parts of the estimated uplink and downlink channel state information respectively to obtain the uplink and downlink channel amplitude information {CSI_Mag_AP, CSI_Mag_STA} and the uplink and downlink channel phase information {CSI_Phase_AP, CSI_Phase_STA};

[0095] In this embodiment, the AP and the STA respectively obtain the uplink and downlink channel state information obtained in the ith interaction, CSI_AP i and CSI_STA i , and perform amplitude and phase processing. First, the channel state information CSI_AP i and CSI_STA i Take the absolute value to get the corresponding amplitude |CSI_AP i | and | CSI_STA i |, where |.| represents the absolute value operation.

[0096] Then, the amplitude is normalized to remove the difference in AP and STA transceiver link gain to obtain the uplink and downlink channel amplitude information CSI_Mag_AP with consistent average energy. i and CSI_Mag_STA i ,

[0097]

[0098]

[0099] like Figure 4 As shown, it can be seen that the uplink and downlink interaction frames {DATA i , ACK i}The uplink and downlink channel amplitude information generated by {DATA i , DATA i+1} The uplink and downlink channel amplitude information generated by interaction, such as Figure 5 As shown, there are large differences.

[0100] Next, the channel state information CSI_AP i and CSI_STA i Calculate the corresponding phase θ_AP i and θ_STA i ,

[0101] θ_AP i ={θ_AP i (1), θ_AP i (2), ..., θ_AP i (j), ..., θ_AP i (52)}

[0102]

[0103] θ_STA i ={θ_STA i (1), θ_STA i (2), ..., θ_STA i (j), ..., θ_STA i (52)}

[0104]

[0105] Among them, real() and imag() represent the real part and imaginary part processing respectively, and arctan() represents the inverse tangent function.

[0106] Since the interval of the inverse tangent function is (-π, π), the actual phase calculated will be folded into this range, so it is necessary to adjust θ_AP i and θ_STA i Phase unwrapping to produce smoother phases and The specific phase unwrapping process on the AP side is as follows: i The phase unwrapping process is the same:

[0107] 1) Order

[0108] 2) Starting from the second subcarrier (j=2), calculate the phase difference between the current subcarrier and the previous subcarrier, θ_AP i (j)-θ_AP i(j-1);

[0109] 3) If the phase difference θ_AP i (j)-θ_AP i (j-1) is greater than π, then the current subcarrier phase The phases of the subsequent subcarriers are all reduced by 2π;

[0110] 4) If the phase difference θ_AP i (j)-θ_AP i (j-1) is less than -π, then the current subcarrier phase And the subsequent subcarrier phases are all added with 2π;

[0111] Then, the unwrapped phase and Centralized processing is performed to remove the fixed phase deviation caused by the AP and STA transceiver links to obtain the reciprocal uplink and downlink channel phase information CSI_Phase_AP i and CSI_Phase_STA i ;

[0112] CSI_Phase_AP i ={CSI_Phase_AP i (1), ..., CSI_Phase_AP i (j), ..., CSI_Phase_AP i (52)}

[0113]

[0114] CSI_Phase_STA i ={CSI_Phase_STA i (1), ..., CSI_Phase_STA i (j), ..., CSI_Phase_STA i (52)}

[0115]

[0116] like Figure 6 As shown, it can be seen that the uplink and downlink interaction frames {DATA i , ACK i}The uplink and downlink channel phase information generated by {DATA i , DATA i+1} The relative phase information of the uplink and downlink channels generated by the interaction, such as Figure 7 As shown, there are large differences.

[0117] (5) The AP and STA quantize the uplink and downlink channel amplitude information according to a certain order to obtain the uplink and downlink channel amplitude features {Feature_Mag_AP, Feature_Mag_STA} with high reciprocity;

[0118] (6) The AP and STA quantize the uplink and downlink channel phase information according to a certain order, respectively, to obtain the uplink and downlink channel phase features {Feature_Phase_AP, Feature_Phase_STA} with high reciprocity.

[0119] In this embodiment, the AP and the STA respectively perform uniform quantization of the uplink and downlink channel amplitude information obtained in the ith interaction from the 1st to the 8th order to obtain the corresponding uplink and downlink channel amplitude features {Feature_Mag_AP i , Feature_Mag_STA i The AP and STA perform uniform quantization of the uplink and downlink channel phase information obtained in the ith interaction from 1st to 8th order, and obtain the corresponding uplink and downlink channel phase features {Feature_Phase_AP i , Feature_Phase_STA i Then, the consistency rate of the uplink and downlink channel amplitude characteristics generated by 1000 interactions is statistically analyzed, such as Figure 8 As shown, it can be seen that the uplink and downlink interaction frames {DATA i , ACK i The consistency rate of the channel amplitude characteristics of the uplink and downlink channels generated by {DATA i , DATA i+1 The consistency rate of the uplink and downlink channel amplitude characteristics generated by the interaction is 20% to 30% higher. When quantized from the first to third order, the consistency rate of the channel amplitude characteristics of the uplink and downlink channels of the method of the present invention is close, both about 88%. When quantized at the first order, the consistency rate of the channel amplitude characteristics of the uplink and downlink channels of the method of the present invention is about 92%.

[0120] Therefore, based on the consistency rate experimental results of this embodiment, the channel amplitude and phase parts of the uplink and downlink channels can adopt different quantization orders, for example, the amplitude part adopts first-order quantization, and the phase part adopts third-order quantization, while almost not reducing the consistency rate, the maximum key generation rate is obtained.

[0121] It can be seen that based on the WiFi protocol, compared with the traditional uncertain millisecond-level time interval data frame interaction, the present invention provides a high reciprocity channel feature extraction method based on control frames, which significantly improves the consistency rate of uplink and downlink channel amplitude and phase features.

[0122] Embodiment 3:

[0123] As attached Figure 2 As shown, this embodiment discloses a high reciprocity channel feature extraction system, including:

[0124] At least two communication nodes communicating based on the WIFI protocol, wherein each communication node comprises:

[0125] A channel estimation module is used to perform channel estimation according to received interactive frames to obtain channel state information; the interactive frames are: a pair of uplink and downlink frames including a WIFI control frame generated by two communication nodes communicating based on the WIFI protocol;

[0126] The feature extraction module is used to process the channel state information respectively to obtain amplitude information and phase information, quantify the amplitude information and phase information of the channel, and then obtain reciprocal uplink and downlink channel features.

[0127] In each communication node of the system, channel estimation is performed according to the received interactive frame containing the WIFI control frame to obtain channel state information, and then the channel state information is processed to obtain amplitude and phase information, and after further quantization, high reciprocity uplink and downlink channel characteristics are obtained. Due to the use of interactive frames containing WIFI control frames, the present invention can generate microsecond-level deterministic time intervals, greatly reduce the uplink and downlink interactive signal time intervals, improve the reciprocity of the uplink and downlink channel characteristics between the two communication nodes, and can be used to generate wireless channel keys, and improve the key generation rate and the consistency rate of key generation.

[0128] Furthermore, the interaction frame has a deterministic time interval and is generated through an interaction process including a WIFI control frame.

[0129] Furthermore, the WIFI control frame is: a request to send frame RTS, a clear to send frame CTS, an acknowledgement frame ACK or a power saving polling frame PS-POLL.

[0130] Furthermore, the interaction process including the WIFI control frame is: a request data sending interaction process, a direct data sending interaction process or an energy-saving polling interaction process.

[0131] Furthermore, the interaction frame is:

[0132] The interval is Len DATA +SIFS interactive frames {DATA, ACK};

[0133] The interval is Len RTS +SIFS interactive frames {RTS, CTS};

[0134] The interval is Len CTS +SIFS interactive frame {CTS, DATA};

[0135] Or the interval is Len PS-POLL +SIFS interactive frames {PS-POLL, DATA};

[0136] Len DATA is the duration of the data frame DATA, Len RTS The duration of the request frame, Len CTS To clear the duration of the sent frame, Len PS-POLL The duration of the polling frame to save energy, SIFS is the short interframe space.

[0137] Furthermore, channel estimation is performed according to a long training sequence including a plurality of subcarriers in the interactive frame preamble to obtain channel state information on corresponding subcarriers.

[0138] Further, obtaining the amplitude information and the phase information includes:

[0139] Each communication node performs energy normalization processing on the amplitude part of its estimated channel state information to obtain uplink and downlink channel amplitude information with consistent average energy;

[0140] Each communication node performs phase unwrapping and centralization processing on the phase part of its estimated channel state information to obtain uplink and downlink channel phase information with an average phase of zero.

[0141] The present invention can effectively combine with the widely deployed WiFi network, has low cost, makes full use of WiFi control frames and response mechanisms, provides a high reciprocity channel feature extraction system compatible with existing WiFi protocols, solves the problem of insufficient reciprocity caused by millisecond-level uncertainty time intervals between WiFi data frames, and can be expanded to multi-node scenarios.

[0142] The above is only a preferred embodiment of the present invention. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principle of the present invention. These improvements and modifications should also be regarded as the scope of protection of the present invention.

Claims

1. A high reciprocity channel feature extraction method, applied to at least two communication nodes based on WIFI protocol communication, characterized in that: include: Each communication node performs channel estimation based on the received interactive frames to obtain channel state information; The interactive frame is: a pair of uplink and downlink frames including a WIFI control frame generated by two communication nodes communicating based on the WIFI protocol; Each communication node processes the channel state information respectively to obtain amplitude information and phase information, quantizes the amplitude information and phase information of the channel, and further obtains reciprocal uplink and downlink channel characteristics.

2. The high reciprocity channel feature extraction method according to claim 1, characterized in that: The interaction frame has a deterministic time interval and is generated through an interaction process including a WIFI control frame.

3. A high reciprocity channel feature extraction method according to claim 1 or 2, characterized in that: The WIFI control frame is: a request to send frame RTS, a clear to send frame CTS, an acknowledgement frame ACK or a power saving polling frame PS-POLL.

4. The method for extracting high reciprocity channel features according to claim 2, characterized in that: The interaction process including the WIFI control frame is: a request data sending interaction process, a direct data sending interaction process or an energy-saving polling interaction process.

5. The method for extracting high reciprocity channel features according to claim 3, characterized in that: The interaction frame is: The deterministic interval time is Len DATA +SIFS interactive frames {DATA, ACK}; The deterministic interval time is Len RTS +SIFS interactive frames {RTS, CTS}; The deterministic interval time is Len CTS +SIFS interactive frame {CTS, DATA}; Or the deterministic interval time is Len PS-POLL +SIFS interactive frames {PS-POLL, DATA}; Len DATA is the duration of the data frame DATA, Len RTS The duration of the request frame, Len CTS To clear the duration of the sent frame, Len PS-POLL The duration of the polling frame to save energy, SIFS is the short interframe space.

6. The method for extracting high reciprocity channel features according to claim 1, characterized in that: Channel estimation is performed according to a long training sequence including several subcarriers in the interactive frame preamble to obtain channel state information on the corresponding subcarriers.

7. The method for extracting high reciprocity channel features according to claim 1, characterized in that: The obtaining of amplitude information and phase information comprises: Each communication node performs energy normalization processing on the amplitude part of its estimated channel state information to obtain uplink and downlink channel amplitude information with consistent average energy; Each communication node performs phase unwrapping and centralization processing on the phase part of its estimated channel state information to obtain uplink and downlink channel phase information with an average phase of zero.

8. A high reciprocity channel feature extraction system, characterized in that: include: At least two communication nodes communicating based on the WIFI protocol, wherein each communication node comprises: A channel estimation module is used to perform channel estimation according to received interactive frames to obtain channel state information; the interactive frames are: a pair of uplink and downlink frames including a WIFI control frame generated by two communication nodes communicating based on the WIFI protocol; The feature extraction module is used to process the channel state information respectively to obtain amplitude information and phase information, quantify the amplitude information and phase information of the channel, and then obtain reciprocal uplink and downlink channel features.

9. A high reciprocity channel feature extraction system according to claim 8, characterized in that: The interaction frame has a deterministic time interval and is generated through an interaction process including a WIFI control frame.

10. A high reciprocity channel feature extraction system according to claim 8 or 9, characterized in that: The WIFI control frame is: a request to send frame RTS, a clear to send frame CTS, an acknowledgement frame ACK or a power saving polling frame PS-POLL.

11. A high reciprocity channel feature extraction system according to claim 9, characterized in that: The interaction process including the WIFI control frame is: a request data sending interaction process, a direct data sending interaction process or an energy-saving polling interaction process.

12. A high reciprocity channel feature extraction system according to claim 10, characterized in that: The interaction frame is: The interval is Len DATA +SIFS interactive frames {DATA, ACK}; The interval is Len RTS +SIFS interactive frames {RTS, CTS}; The interval is Len CTS +SIFS interactive frame {CTS, DATA}; Or the interval is Len PS-POLL +SIFS interactive frames {PS-POLL, DATA}; Len DATA is the duration of the data frame DATA, Len RTS The duration of the request frame, Len CTS To clear the duration of the sent frame, Len PS-POLL The duration of the polling frame to save energy, SIFS is the short interframe space.