An identity recognition method, device and electronic device based on wireless Wi-Fi signal

Recognize gait characteristics through wireless Wi-Fi signals to achieve contactless, non-invasive identity recognition, solve the problems of identity recognition security risks and environment dependence in existing technologies, and provide a safe and applicable identity recognition solution .

CN113543140BActive Publication Date: 2024-09-03ADVANCED NOVA TECH (SINGAPORE) PTE LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202010298709.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-04-16
Publication Date
2024-09-03
Estimated Expiration
2040-04-16

AI Technical Summary

Technical Problem

Existing identity recognition technologies such as image recognition and voiceprint recognition have security risks of leaking private information and are greatly affected by environmental conditions.

Method used

An identity recognition method based on wireless Wi-Fi signals is used to obtain the effective channel state information of the user to be identified and use machine learning to match gait characteristics for identity recognition to achieve contactless and non-intrusive identity recognition.

Benefits of technology

This method does not require the acquisition of image or voice information, avoids privacy leakage, has good security and applicability, is suitable for indoor places, and is not affected by light, temperature, humidity and other environments, achieving low-cost, easy-to-use identity recognition.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113543140B
    Figure CN113543140B
Patent Text Reader

Abstract

This specification discloses an identity recognition method, device and electronic device based on wireless Wi-Fi signals, the method comprising: obtaining effective channel state information of a user to be identified; determining the identity information of the user to be identified according to the matching results of the effective channel state information of the user to be identified and at least one sample channel state information with annotated identity information. The method only requires the user to walk through the wireless Wi-Fi signal collection area in a normal walking posture to identify the user, does not infringe on the privacy information of the person, and has good security.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of computer technology, and in particular to an identity recognition method, device and electronic device based on wireless Wi-Fi signals. Background Art

[0002] At present, identity recognition is generally based on image recognition technology or voiceprint recognition technology. However, identity recognition based on image recognition technology requires obtaining the image of the user to be identified; identity recognition based on image recognition technology requires obtaining the voice information of the user to be identified; obviously, the above two identity recognition methods will infringe on the privacy information of the user to be identified and there are certain security risks.

[0003] Therefore, a more secure identification method is needed. Summary of the invention

[0004] In view of this, the embodiments of this specification provide an identity recognition method based on wireless Wi-Fi signals, which is used to solve the problem that the identity recognition method in the prior art may infringe the privacy information of the user to be identified and has certain security risks.

[0005] The embodiments of this specification adopt the following technical solutions:

[0006] The embodiment of this specification provides an identity recognition method based on wireless Wi-Fi signals, including:

[0007] Acquire effective channel state information of the user to be identified, wherein the effective channel state information is channel state information presented by the wireless Wi-Fi signal after the user to be identified enters the wireless Wi-Fi signal collection area, and the effective channel state information reflects gait characteristics;

[0008] The identity information of the user to be identified is determined according to the matching results of the effective channel state information of the user to be identified and at least one sample channel state information with marked identity information, wherein the sample channel state information reflects gait characteristics.

[0009] The embodiment of this specification also provides an identity recognition device based on wireless Wi-Fi signals, including:

[0010] an acquisition module, configured to acquire effective channel state information of a user to be identified, wherein the effective channel state information is channel state information presented by a wireless Wi-Fi signal after the user to be identified enters a wireless Wi-Fi signal collection area, and the effective channel state information reflects gait characteristics;

[0011] The processing module is used to determine the identity information of the user to be identified according to the matching results of the effective channel state information of the user to be identified and at least one sample channel state information with marked identity information, wherein the sample channel state information reflects gait characteristics.

[0012] The embodiment of the present specification also provides an electronic device, including a memory and a processor, wherein the memory stores a program and is configured such that the processor executes the above-mentioned identity recognition method based on wireless Wi-Fi signals.

[0013] At least one of the above technical solutions adopted in the embodiments of this specification can achieve the following beneficial effects:

[0014] By obtaining the effective channel state information of the user to be identified; according to the matching results of the effective channel state information of the user to be identified and at least one sample channel state information with marked identity information. This method only requires the user to walk through the wireless Wi-Fi signal collection area in a normal walking posture to identify the user, without infringing on the privacy information of the person, and has good security. At the same time, since the user does not need to touch or look at the electronic device, nor does he need to carry any sensor equipment, the identity identification based on the wireless Wi-Fi signal can realize contactless and non-invasive identity identification. With the widespread deployment of Wi-Fi wireless LANs indoors, and electronic devices widely equipped with Wi-Fi modules, and the wireless Wi-Fi signal has good obstacle penetration ability and is not affected by external environments such as light, temperature, humidity, and environmental noise, identity identification based on wireless Wi-Fi signals also has the advantages of low cost, ease of use, and universality. BRIEF DESCRIPTION OF THE DRAWINGS

[0015] The drawings described herein are used to provide a further understanding of this specification and constitute a part of this specification. The illustrative embodiments and descriptions of this specification are used to explain this specification and do not constitute an improper limitation on this specification. In the drawings:

[0016] Figure 1 An application scenario diagram of the identity recognition method based on wireless Wi-Fi signals provided in the embodiments of this specification;

[0017] Figure 2 A flowchart of an identity recognition method based on wireless Wi-Fi signals provided in an embodiment of this specification;

[0018] Figure 3 A flowchart of an identity recognition method based on wireless Wi-Fi signals provided in an embodiment of this specification;

[0019] Figure 4The specific implementation process of the identity recognition method based on wireless Wi-Fi signals provided in the embodiments of this specification;

[0020] Figure 5 A schematic diagram of the structure of an identity recognition device based on Wi-Fi signals provided in an embodiment of this specification;

[0021] Figure 6 A schematic diagram of the structure of an electronic device provided in an embodiment of this specification. DETAILED DESCRIPTION

[0022] In order to make the purpose, technical solutions and advantages of this specification more clear, the technical solutions of this specification will be clearly and completely described below in combination with the specific embodiments of this specification and the corresponding drawings. Obviously, the described embodiments are only part of the embodiments of this specification, not all of them. Based on the embodiments in this specification, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this specification.

[0023] The principle of identity recognition based on image recognition technology is: collect images of the user to be identified through a camera (such as facial images, fingerprint images, eye images, palm print images, etc.), use the corresponding recognition algorithm to obtain the feature information corresponding to the user to be identified from the collected image (such as facial features, fingerprint features, iris features, palm print features, etc.), and identify the identity information of the user to be identified based on the acquired feature information.

[0024] Identity recognition based on image recognition technology not only infringes on the privacy information of the user to be identified and poses certain security risks, but also requires the use of a camera to capture the image of the user to be identified. At the same time, image acquisition is greatly affected by the lighting conditions of the ambient light.

[0025] The principle of identity recognition based on voiceprint recognition technology is: collect the voice information of the user to be identified, use the corresponding recognition algorithm to obtain the voiceprint features corresponding to the user to be identified from the voice information, and identify the identity information of the user to be identified based on the obtained voiceprint features.

[0026] Identity recognition based on voiceprint recognition technology will not only infringe upon the privacy information of the user to be identified and pose certain security risks, but also requires the use of audio collection equipment to collect the voice information of the user to be identified, and voice collection is greatly affected by environmental noise.

[0027] Figure 1This is an application scenario diagram of the identity recognition method based on wireless Wi-Fi signals provided in the embodiments of this specification. The identity recognition method based on wireless Wi-Fi signals provided in the embodiments of this specification can be applied to various small indoor places where identity recognition is required, such as homes, offices, gyms, etc.

[0028] In addition to basic communication functions, wireless Wi-Fi signals also have the function of sensing the environment. Figure 1 For example, the main principle of identity recognition by electronic devices based on wireless Wi-Fi signals is as follows: the wireless Wi-Fi signal is sent from the transmitter 3 and propagates through the physical space to the electronic device 1. During the propagation of the wireless Wi-Fi signal, it will be interfered by people in the physical space. Since different people have different gait characteristics (such as step size, walking speed, waving amplitude, waving speed, etc.), different people will produce different interferences to the wireless Wi-Fi signal. The electronic device 1 can identify different people by analyzing the wireless Wi-Fi signal.

[0029] It should be pointed out that people with different body characteristics (such as weight, height, etc.) have different gait characteristics, and people with the same body characteristics may also have different gait characteristics due to individual differences.

[0030] like Figure 1 As shown, when the identity recognition method based on wireless Wi-Fi signals provided in the embodiments of this specification is applied, the electronic device 1 needs to be set in the identity recognition area of ​​an indoor place (the identity recognition area is, for example, the entrance of the indoor place), and the transmitter 3 (the transmitter 3 is, for example, a router) can be set in any area of ​​the indoor place according to the actual situation. Optionally, the transmitter 3 is set face to face with the electronic device 1. The area where the electronic device 1 collects the wireless Wi-Fi signals emitted by the transmitter 3 is the wireless Wi-Fi signal collection area ( Figure 1 The coverage of the wireless Wi-Fi signal collection area basically falls within the identity recognition area of ​​indoor places. When a user walks through the wireless Wi-Fi signal collection area in a normal walking posture, the electronic device 1 collects the wireless Wi-Fi signal sent from the transmitter 3 and analyzes the wireless Wi-Fi signal to identify the user who has entered the wireless Wi-Fi signal collection area ( Figure 1 The identity of user 2 is identified in the area covered by the dashed line.

[0031] Based on wireless Wi-Fi signals for identity recognition, users only need to walk through the wireless Wi-Fi signal collection area in a normal walking posture to identify the user, which will not infringe on people's privacy information and has good security. At the same time, since users do not need to touch or look at electronic devices, nor do they need to carry any sensor devices, identity recognition based on wireless Wi-Fi signals can achieve contactless and non-invasive identity recognition. With the widespread deployment of Wi-Fi wireless LANs indoors, and electronic devices widely equipped with Wi-Fi modules, and wireless Wi-Fi signals have good obstacle penetration capabilities and are not affected by external environments such as light, temperature, humidity, and environmental noise, identity recognition based on wireless Wi-Fi signals also has the advantages of low cost, ease of use, and universality.

[0032] in, Figure 1 The electronic device shown in the figure can be any type of electronic device, including but not limited to: mobile phones, tablet computers, smart wearable devices, car computers, personal computers, large and medium-sized computers, computer clusters, etc.

[0033] The technical solutions provided by the embodiments of this specification are described in detail below in conjunction with the accompanying drawings.

[0034] Figure 2 The present invention provides a flow chart of a method for identifying an identity based on a wireless Wi-Fi signal in an embodiment of the present invention. The method in the embodiment of the present invention can be applied to electronic devices. Figure 2 As shown, the identity recognition method based on wireless Wi-Fi signals includes the following steps:

[0035] Step 101: Obtain effective channel state information of a user to be identified.

[0036] The effective channel state information of the user to be identified is the channel state information presented by the wireless Wi-Fi signal after the user to be identified enters the wireless Wi-Fi signal collection area, and the effective channel state information reflects the gait characteristics of the user to be identified.

[0037] Specifically, Channel State Information (CSI) is a high-precision physical layer information that characterizes the channel properties of a communication link. It describes the attenuation factors of the signal on each transmission path, such as signal scattering, environmental attenuation, distance attenuation, etc. For users with different phase characteristics, the corresponding channel state information is different.

[0038] When applying the method provided in the embodiments of this specification, in terms of hardware, a commercial router and an electronic device with a wireless network card can be used, wherein the electronic device is arranged in an identity identification area of ​​an indoor place where identity identification is required. Of course, the router can also be replaced by a device with a wireless Wi-Fi signal (Wireless Fidelity) transmission function. In terms of software, the open source Linux CSI Tool tool for collecting channel state information can be used to modify the Linux kernel driver so that the channel state information of the physical layer can be captured and transmitted to the application layer. Among them, for more information on extracting channel state information from wireless Wi-Fi signals, please refer to the relevant technology, which will not be repeated here.

[0039] In the embodiment of the present specification, when the user to be identified enters the wireless Wi-Fi signal collection area in a normal walking posture, the electronic device first collects the wireless Wi-Fi signals propagated into the wireless Wi-Fi signal collection area, and extracts the effective channel state information of the user to be identified from the collected wireless Wi-Fi signals.

[0040] Step 103: Determine the identity information of the user to be identified based on the matching results of the effective channel state information of the user to be identified and at least one sample channel state information with the identity information marked.

[0041] Among them, the sample channel state information reflects the gait characteristics.

[0042] In the embodiment of this specification, the sample channel state information is the channel state information presented by the wireless Wi-Fi signal after the registered user enters the wireless Wi-Fi signal collection area in a normal walking posture, and the sample channel state information reflects the gait characteristics of the registered user. When recording the sample channel state information of the registered user, the electronic device annotates the sample channel state information with identity information. For example, the annotated result of the sample channel state information is user A.

[0043] Specifically, after recording at least one sample channel state information with annotated identity information, the electronic device may use a machine learning method to match the valid channel state information of the user to be identified with the sample channel state information with each annotated identity information in the identification stage, and determine the annotation result corresponding to the channel state information that successfully matches the valid channel state information as the identity information of the user to be identified. The machine learning method is, for example, a support vector machine (SVM), a decision tree, etc., but is not limited thereto.

[0044] In one or more embodiments of the present specification, if the matching result indicates that there is no sample channel state information matching the valid channel state information of the user to be identified, it is prompted that the identity identification of the user to be identified has failed.

[0045] Specifically, if the electronic device has not recorded the sample channel state information of the user to be identified, when the electronic device matches the valid channel state information of the user to be identified with at least one sample channel state information with identity information marked, a matching result is obtained that there is no sample channel state information that matches the valid channel state information of the user to be identified. At this time, the electronic device performs prompt processing according to the above matching result, and the prompt processing, for example, outputs prompt information, and the prompt information is used to prompt that the identity recognition of the user to be identified fails.

[0046] It should be pointed out that the applicant applies identity recognition based on wireless Wi-Fi signals in small indoor places such as homes, offices, and gyms, and can achieve an identity recognition accuracy of more than 90%.

[0047] by Figure 1 For example, when identity recognition based on wireless Wi-Fi signals is applied in indoor places, a router is configured in the indoor place according to the actual situation, and an electronic device is set at the entrance of the indoor place. When a user arrives at an indoor place for the first time, he needs to register his channel state information. Specifically, the user passes through the wireless Wi-Fi signal collection area where the electronic device collects the wireless Wi-Fi signal emitted by the router in a normal posture. The electronic device extracts the channel state information of the user when passing through the wireless Wi-Fi signal collection area from the recorded wireless Wi-Fi signal, and registers the extracted channel state information as the user's exclusive channel state information. When the user comes to the indoor place again, the electronic device collects the current channel state information of the user when passing through the wireless Wi-Fi signal collection area, and matches the collected current channel state information with the registered channel state information, and determines the identity information corresponding to the successfully matched registered channel state information as the user's identity information.

[0048] The identity recognition method based on wireless Wi-Fi signals provided in the embodiments of this specification obtains the effective channel state information of the user to be identified; and matches the effective channel state information of the user to be identified with at least one sample channel state information with the marked identity information. This method only requires the user to walk through the wireless Wi-Fi signal collection area in a normal walking posture to identify the user, without infringing the privacy information of the person, and has good security. At the same time, since the user does not need to touch or look at the electronic device, nor does he need to carry any sensor device, the identity recognition based on the wireless Wi-Fi signal realizes contactless and non-invasive identity recognition. With the widespread deployment of Wi-Fi wireless LANs indoors, and electronic devices widely having Wi-Fi modules, and the wireless Wi-Fi signal has good obstacle penetration ability and is not affected by external environments such as light, temperature, humidity, and environmental noise, identity recognition based on wireless Wi-Fi signals also has the advantages of low cost, ease of use, and universality.

[0049] Based on the above embodiment, step 101 specifically includes:

[0050] Step 11: Acquire the wireless Wi-Fi signals collected in the wireless Wi-Fi signal collection area, and acquire original channel state information from the wireless Wi-Fi signals.

[0051] Specifically, the electronic device may acquire the wireless Wi-Fi signals collected in the wireless Wi-Fi signal collection area in real time or periodically, and acquire original channel state information from the wireless Wi-Fi signals.

[0052] Step 12: Analyze the original channel status information to determine whether the user to be identified enters the wireless Wi-Fi signal collection area.

[0053] In actual situations, no one may enter a place where identity recognition is required. In order to avoid wasting resources caused by continuous identity recognition and improve the reliability of identity recognition, the electronic device first determines whether someone has entered the wireless Wi-Fi signal collection area. Only after confirming that someone has entered the wireless Wi-Fi signal collection area will the electronic device perform identity recognition.

[0054] In one or more embodiments of the present specification, step 12 specifically includes: analyzing the original channel state information using a preset detection index corresponding to no one being in the wireless Wi-Fi signal collection area, and determining whether the user to be identified enters the wireless Wi-Fi signal collection area.

[0055] In actual situations, when no one enters the wireless Wi-Fi signal collection area, the waveform fluctuation of the wireless Wi-Fi signal collected by the electronic device in the wireless Wi-Fi signal collection area is small; when someone enters the wireless Wi-Fi signal collection area, the waveform fluctuation of the wireless Wi-Fi signal collected by the electronic device in the wireless Wi-Fi signal collection area is large.

[0056] Therefore, a large amount of signal characteristics of the channel state information when no one enters the wireless Wi-Fi signal collection area can be collected and statistically analyzed, and the statistical results are preset as the detection index corresponding to no one in the wireless Wi-Fi signal collection area. Among them, the detection index is, for example, the average value, median value, effective value, etc. of the signal. Of course, the detection index is set according to the actual situation.

[0057] Taking the detection indicator as the average value of the signal as an example, if the average value of the original channel state information obtained by the electronic device in step 11 does not fall within the statistical average value range, it means that the fluctuation of the original channel state information obtained by the electronic device is large, and someone has entered the wireless Wi-Fi signal collection area; conversely, if the average value of the original channel state information obtained by the electronic device in step 11 falls within the statistical average value range, it means that the fluctuation of the original channel state information obtained by the electronic device is small, and no one has entered the wireless Wi-Fi signal collection area.

[0058] Step 13: If it is determined that the user to be identified has entered the wireless Wi-Fi signal collection area, then the effective channel state information of the user to be identified is intercepted from the original channel state information.

[0059] Specifically, in order to improve recognition efficiency and recognition accuracy, when it is determined that the user to be identified enters the wireless Wi-Fi signal collection area, it is necessary to extract effective signals from the original channel state information to obtain the channel state information corresponding to the time period from the user to be identified entering the wireless Wi-Fi signal collection area to leaving the wireless Wi-Fi signal collection area, that is, the effective channel state information of the user to be identified.

[0060] It should be noted that, in order to improve the stability of the signal, before extracting the effective channel state information of the user to be identified from the original channel state information, the original channel state information is preprocessed, and the preprocessing is, for example, filtering, principal component analysis (PCA), etc. Among them, a Butterworth filter can be used to filter out most of the noise signals first; and PCA can be used to further remove subtle noise signals, reduce the dimension of the original channel state information, and improve the recognition efficiency.

[0061] In one or more embodiments of the present specification, effective channel state information of a user to be identified can be extracted from the original channel state information in the following manner: dividing the original channel state information into multiple sliding windows according to the chronological order of signal acquisition; calculating the average deviation of each sliding window based on the channel state information of each sliding window; and extracting the effective channel state information of the user to be identified from the original channel state information based on the average deviation of each sliding window.

[0062] Among them, the formula for Mean Absolute Deviation (MAD) is:

[0063]

[0064] In this embodiment, each sliding window corresponds to n channel state information. Taking the calculation of MAD based on the amplitude of the signal as an example, when the average deviation of each sliding window is calculated using formula (1), x i can be the amplitude of the i-th channel state information, is the average amplitude of n channel state information.

[0065] Specifically, after the original channel state information is divided into a plurality of sliding windows, a starting sliding window corresponding to the user to be identified entering the wireless Wi-Fi signal collection area and an end sliding window corresponding to the user to be identified leaving the wireless Wi-Fi signal collection area are determined from each sliding window according to the average deviation of each sliding window, and effective channel state information corresponding to the user to be identified is intercepted from the original channel state information according to the starting sliding window and the end sliding window. It should be noted that the length of each divided sliding window is the same.

[0066] It should be pointed out that the channel state information corresponding to the user to be identified entering the wireless Wi-Fi signal collection area is the starting point of the effective channel state information, and the channel state information corresponding to the user to be identified leaving the wireless Wi-Fi signal collection area is the end point of the effective channel state information. The signal in the sliding window before the starting point of the effective channel state information is relatively stable, that is, the MAD of the previous sliding window before the starting point sliding window is small; while the signal fluctuation in the sliding window where the starting point of the effective channel state information is located becomes larger, that is, the MAD of the starting point sliding window is larger. The signal fluctuation in the sliding window where the end point of the effective channel state information is located is large, that is, the MAD of the end point sliding window is large; while the signal in the sliding window after the end point of the effective channel state information is relatively stable, that is, the MAD of the next sliding window after the end point sliding window is small.

[0067] In one or more embodiments of the present specification, a dual threshold truncation method may be used to determine the starting sliding window and the end sliding window. Specifically, two thresholds are set based on a large amount of test data, namely, a first threshold T1 and a second threshold T2, and the first threshold is greater than the second threshold. The average deviation of the starting sliding window is not less than the first threshold, and the average deviation of the previous sliding window before the starting sliding window is not greater than the second threshold. The average deviation of the end sliding window is not less than the first threshold, and the average deviation of the next sliding window after the end sliding window is not greater than the second threshold.

[0068] In one or more embodiments of the present specification, extracting effective channel state information of a user to be identified from the original channel state information according to the average deviation of each sliding window specifically includes the following steps:

[0069] Step a: traverse the average deviation of each sliding window.

[0070] Step b: If the average deviation of the sliding window traversed for the first time is not less than the first threshold, and the average deviation of the previous sliding window before the sliding window traversed for the first time is not greater than the second threshold, then determine that the sliding window traversed for the first time is the starting sliding window corresponding to the user to be identified entering the wireless Wi-Fi signal collection area.

[0071] Step c: Continue to traverse the average deviation of the sliding windows after the starting sliding window.

[0072] Step d: If the average deviation of the sliding window traversed for the first time is not greater than the second threshold, and the average deviation of the previous sliding window before the sliding window traversed for the first time is not less than the first threshold, then determine that the previous sliding window of the sliding window traversed for the first time is the end point sliding window corresponding to the user to be identified leaving the wireless Wi-Fi signal collection area.

[0073] Step e: extracting effective channel state information of the user to be identified from the original channel state information according to the starting sliding window and the ending sliding window.

[0074] Figure 3 This is a flow chart of another method for identifying an identity based on a wireless Wi-Fi signal provided in an embodiment of this specification. The method in the embodiment of this specification can be applied to electronic devices. Figure 3 As shown, the identity recognition method based on wireless Wi-Fi signals includes the following steps:

[0075] Step 201: Acquire effective channel state information of a user to be identified, wherein the effective channel state information is channel state information presented by a wireless Wi-Fi signal after the user to be identified enters a wireless Wi-Fi signal collection area, and the effective channel state information reflects gait characteristics.

[0076] Among them, the implementation method of step 201 is the same as that of step 101 in the above embodiment, which will not be repeated here.

[0077] Step 203: extract features from the effective channel state information of the user to be identified to obtain a feature vector of the effective channel state information.

[0078] Specifically, in terms of quantizing signal characteristics, some signal characteristics of effective channel state information (signal characteristics such as amplitude, frequency, standard deviation, main frequency, etc.) can be selected to form a characteristic vector of the effective channel state information.

[0079] Furthermore, in order to significantly reduce the amount of data and computational complexity while effectively preserving signal characteristics, a discrete wavelet transform (DWT) may be performed on the effective channel state information, and the approximate coefficients obtained by the discrete wavelet transform may be used as feature vectors of the effective channel state information.

[0080] Furthermore, in order to strike a balance between signal accuracy and computational complexity, the classic DaubechiesD4 is selected as the wavelet basis, and a third-order discrete wavelet transform is adopted, and the approximate coefficients after the third-order transformation are used as the eigenvectors of the effective channel state information.

[0081] Specifically, let the effective channel state information be X = [x1, x2, x3, ..., x m ], where the length of X is m.

[0082] Perform a third-order discrete wavelet transform on the effective channel state information to obtain the approximate coefficient cA3 after the third-order discrete wavelet transform, and use the approximate coefficient cA3 after the third-order discrete wavelet transform as the feature vector X' of the effective channel state information X, where X'=cA3=[x1',x2',x3',...,x n '], the length of X' is n.

[0083] After analyzing a large amount of experimental data, it is known that m≈5n, that is, after discrete wavelet transform, the signal length is compressed to one fifth of the original signal. The approximate coefficients after wavelet transform are used as feature vectors, which can fully compress the original signal while maintaining the time domain and frequency domain information of the signal as much as possible.

[0084] Step 205: classify and identify the feature vector of the effective channel state information based on a kNN classifier to determine the identity information of the user to be identified, wherein the kNN classifier is trained based on at least one sample channel state information with labeled identity information.

[0085] For ease of understanding, the k-Nearest Neighbor (kNN) algorithm is introduced:

[0086] The kNN algorithm is a simple and practical machine learning method that has good accuracy in dealing with classification problems. The basic idea of ​​the kNN algorithm is that if most of the k most similar samples in the feature space of a sample to be classified belong to a certain category, then the sample also belongs to this category.

[0087] In the embodiment of this specification, the kNN classifier is obtained by training a large amount of sample channel state information with labeled identity information, and the trained kNN classifier can identify the identity information corresponding to the input valid channel state information.

[0088] It should be pointed out that when training the kNN classifier, it is necessary to collect sample channel state information of a first preset number of individuals, and it is necessary to collect sample channel state information of a second preset number of each person, wherein the first preset number and the second preset number are both greater than 1, and the first preset number and the second preset number are both set according to the actual situation. The first preset number is, for example, 50, and the second preset number is, for example, 10.

[0089] It should be noted that when a user enters a place where identity recognition is required, the channel state information corresponding to the same user at different locations will also be different. In order to ensure the reliability of identity recognition, a second preset number of sample signal states of each person is collected at a third preset number of locations. The third preset number is greater than 1, and the third preset number is set according to the actual situation. For example, the third preset number is 5.

[0090] The core problem of the kNN algorithm is how to characterize the distance between samples. For samples of the same length, Euclidean distance, cosine distance, etc. can be used. However, in the embodiment of this specification, different samples have different lengths. In order to quantify the distance between samples of inconsistent lengths, the embodiment of this specification innovatively uses dynamic time warping (DTW) to characterize the distance between samples. Through DTW, the distance between samples can be effectively calculated. Using these distances as indicators of the classifier can further improve the accuracy of identity recognition and have a good recognition effect.

[0091] Furthermore, step 205 specifically includes: calculating the distance values ​​between the characteristic vectors of the effective channel state information and the characteristic vectors of each sample channel state information; selecting a specified number of sample channel state information with the smallest distance values ​​from the each sample channel state information; determining the number of occurrences of the annotated identity information belonging to each of the specified number of sample channel state information; and determining the annotated identity information with the largest number of occurrences as the identity information of the user to be identified.

[0092] When calculating the distance values ​​between the eigenvectors of the effective channel state information and the eigenvectors of each sample channel state information, DTW may be used for calculation.

[0093] The designated number is set according to actual circumstances, and the designated number is 10, for example.

[0094] For example, after the feature vector of the effective channel state information of the user to be identified is input into the kNN classifier, 10 sample channel state information are selected, of which 5 are sample channel state information corresponding to user A, 3 are sample channel state information corresponding to user B, and 2 are sample channel state information corresponding to user D. The number of occurrences of the marked identity information to which each of the 10 sample channel state information belongs is counted, and the statistical result is that the number of occurrences of user A is 5 times, the number of occurrences of user B is 3 times, and the number of occurrences of user D is 2 times. According to the statistical results, it can be seen that user A has the most occurrences, and the user to be identified is determined to be user A.

[0095] The identity recognition method based on wireless Wi-Fi signals provided in the embodiments of this specification uses a kNN classifier to classify and recognize effective channel state information of a user to be identified, which can improve the recognition accuracy and efficiency of identity recognition.

[0096] Figure 4 The specific implementation process of the identity recognition method based on wireless Wi-Fi signals provided in the embodiments of this specification is as follows: Figure 4 As shown, the specific implementation process includes an offline training phase and an online recognition phase.

[0097] To implement Figure 4 In the implementation process shown, a data acquisition module, a preprocessing module, a feature extraction module, a training module, and a recognition module can be set in an electronic device.

[0098] For the offline training stage: the data acquisition module obtains the sample channel state information of the collected wireless Wi-Fi signal through the Linux CSI Tool; then, the preprocessing module filters the original channel state information (using a filter for filtering), PCA analysis, and segment extraction (i.e., extracting effective channel state information); then, the feature extraction module uses DWT to extract features from the signal output by the preprocessing module; finally, the training module trains the sample channel state information based on the kNN algorithm or decision tree to obtain a classifier.

[0099] For the online recognition stage: the data acquisition module obtains the original channel state information of the collected wireless Wi-Fi signal through the Linux CSI Tool; then, the preprocessing module filters the original channel state information (using a filter for filtering), PCA analysis, and segment extraction (i.e., extracting effective channel state information); then, the feature extraction module uses DWT to extract features from the signal output by the preprocessing module; finally, the recognition module recognizes the original channel state information based on the kNN algorithm or decision tree.

[0100] The embodiments of this specification also provide an identity recognition device based on wireless Wi-Fi signals. Figure 5 This is a schematic diagram of a Wi-Fi signal-based identity recognition device provided in an embodiment of this specification. Figure 5 As shown, the identity recognition device based on Wi-Fi signals includes:

[0101] The acquisition module 10 is used to acquire effective channel state information of the user to be identified, wherein the effective channel state information is the channel state information presented by the wireless Wi-Fi signal after the user to be identified enters the wireless Wi-Fi signal collection area, and the effective channel state information reflects the gait characteristics;

[0102] The processing module 20 is used to determine the identity information of the user to be identified according to the matching results of the effective channel state information of the user to be identified and at least one sample channel state information with marked identity information, wherein the sample channel state information reflects gait characteristics.

[0103] Furthermore, determining the identity information of the user to be identified according to the matching results of the effective channel state information of the user to be identified and at least one sample channel state information with the identity information marked specifically includes:

[0104] Extracting features from the effective channel state information of the user to be identified to obtain a feature vector of the effective channel state information;

[0105] The feature vector of the effective channel state information is classified and identified based on a kNN classifier to determine the identity information of the user to be identified, wherein the kNN classifier is trained based on at least one sample channel state information with labeled identity information.

[0106] Furthermore, the classifying and identifying the feature vector of the effective channel state information based on the kNN classifier to determine the identity information of the user to be identified specifically includes:

[0107] Calculating the distance values ​​between the eigenvectors of the effective channel state information and the eigenvectors of each sample channel state information;

[0108] Selecting a specified number of sample channel state information with the smallest distance value from each of the sample channel state information;

[0109] Determine the number of occurrences of the marked identity information to which each of the specified number of sample channel state information belongs;

[0110] The marked identity information that appears the most times is determined as the identity information of the user to be identified.

[0111] Further, feature extraction is performed on the effective channel state information of the user to be identified to obtain a feature vector of the effective channel state information, specifically including:

[0112] A discrete wavelet transform is performed on the effective channel state information of the user to be identified, and the approximate coefficient obtained after the discrete wavelet transform is used as a feature vector of the effective channel state information.

[0113] Furthermore, if the matching result indicates that there is no sample channel state information matching the valid channel state information of the user to be identified, it is prompted that the identity identification of the user to be identified has failed.

[0114] Furthermore, the obtaining of effective channel state information of the user to be identified specifically includes:

[0115] Acquire wireless Wi-Fi signals collected in the wireless Wi-Fi signal collection area, and acquire original channel state information from the wireless Wi-Fi signals;

[0116] Analyze the original channel state information to determine whether the user to be identified enters the wireless Wi-Fi signal collection area;

[0117] If it is determined that the user to be identified has entered the wireless Wi-Fi signal collection area, then the effective channel state information of the user to be identified is intercepted from the original channel state information.

[0118] Further, the analyzing the original channel state information to determine whether the to-be-identified user has entered the wireless Wi-Fi signal collection area specifically includes:

[0119] The original channel state information is analyzed by using a preset detection index corresponding to no one being in the wireless Wi-Fi signal collection area to determine whether the user to be identified enters the wireless Wi-Fi signal collection area.

[0120] Further, extracting effective channel state information of the to-be-identified user from the original channel state information specifically includes:

[0121] Dividing the original channel state information into a plurality of sliding windows according to the time sequence of signal acquisition;

[0122] Calculate the average deviation of each sliding window according to the channel state information of each sliding window;

[0123] According to the average deviation of each sliding window, the effective channel state information of the user to be identified is extracted from the original channel state information.

[0124] Further, according to the average deviation of each sliding window, extracting the effective channel state information of the user to be identified from the original channel state information specifically includes:

[0125] The average deviation of each sliding window;

[0126] If the average deviation of the sliding window traversed for the first time is not less than the first threshold, and the average deviation of the previous sliding window before the sliding window traversed for the first time is not greater than the second threshold, then determining that the sliding window traversed for the first time is the starting sliding window corresponding to the user to be identified entering the wireless Wi-Fi signal collection area;

[0127] Continue to traverse the average deviation of the sliding windows after the starting sliding window;

[0128] If the average deviation of the sliding window traversed for the first time is not greater than the second threshold, and the average deviation of the previous sliding window before the sliding window traversed for the first time is not less than the first threshold, then determining that the previous sliding window of the sliding window traversed for the first time is the end point sliding window corresponding to the user to be identified leaving the wireless Wi-Fi signal collection area;

[0129] According to the starting sliding window and the ending sliding window, the effective channel state information of the user to be identified is extracted from the original channel state information.

[0130] The device provided in this specification corresponds one-to-one to the method provided in this application. Therefore, the device also has similar beneficial technical effects as the method. Since the beneficial technical effects of the method have been described in detail above, the beneficial technical effects of the device will not be repeated here.

[0131] The embodiment of this specification also provides a non-volatile computer storage medium storing computer executable instructions, wherein the computer executable instructions are configured as follows:

[0132] Acquire effective channel state information of the user to be identified, wherein the effective channel state information is channel state information presented by the wireless Wi-Fi signal after the user to be identified enters the wireless Wi-Fi signal collection area, and the effective channel state information reflects gait characteristics;

[0133] The identity information of the user to be identified is determined according to the matching results of the effective channel state information of the user to be identified and at least one sample channel state information with marked identity information, wherein the sample channel state information reflects gait characteristics.

[0134] The embodiment of this specification also provides an electronic device, Figure 6 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this specification. Figure 6 As shown, the electronic device includes: a memory 11 and a processor 12, the memory 11 stores a program, and is configured such that the processor 12 executes the following steps:

[0135] Acquire effective channel state information of the user to be identified, wherein the effective channel state information is channel state information presented by the wireless Wi-Fi signal after the user to be identified enters the wireless Wi-Fi signal collection area, and the effective channel state information reflects gait characteristics;

[0136] The identity information of the user to be identified is determined according to the matching results of the effective channel state information of the user to be identified and at least one sample channel state information with marked identity information, wherein the sample channel state information reflects gait characteristics.

[0137] In the 1990s, improvements to a technology could be clearly distinguished as hardware improvements (for example, improvements to the circuit structure of diodes, transistors, switches, etc.) or software improvements (improvements to the method flow). However, with the development of technology, many improvements to the method flow today can be regarded as direct improvements to the hardware circuit structure. Designers almost always obtain the corresponding hardware circuit structure by programming the improved method flow into the hardware circuit. Therefore, it cannot be said that an improvement in a method flow cannot be implemented using a hardware entity module. For example, a programmable logic device (PLD) (such as a field programmable gate array (FPGA)) is such an integrated circuit whose logical function is determined by the user's programming of the device. Designers can "integrate" a digital system on a PLD by programming it themselves, without having to ask a chip manufacturer to design and produce a dedicated integrated circuit chip. Moreover, nowadays, instead of manually making integrated circuit chips, this kind of programming is mostly implemented by "logic compiler" software, which is similar to the software compiler used when developing and writing programs, and the original code before compilation must also be written in a specific programming language, which is called hardware description language (HDL). There is not only one HDL, but many kinds, such as ABEL (Advanced Boolean Expression Language), AHDL (Altera Hardware Description Language), Confluence, CUPL (Cornell University Programming Language), HDCal, JHDL (Java Hardware Description Language), Lava, Lola, MyHDL, PALASM, RHDL (Ruby Hardware Description Language), etc. The most commonly used ones are VHDL (Very-High-Speed ​​Integrated Circuit Hardware Description Language) and Verilog. Those skilled in the art should also know that it is only necessary to program the method flow slightly in the above-mentioned hardware description languages ​​and program it into the integrated circuit, and then it is easy to obtain the hardware circuit that implements the logic method flow.

[0138] The controller can be implemented in any appropriate manner, for example, the controller can take the form of a microprocessor or processor and a computer-readable medium storing a computer-readable program code (such as software or firmware) that can be executed by the (micro)processor, a logic gate, a switch, an application-specific integrated circuit (ASIC), a programmable logic controller, and an embedded microcontroller. Examples of controllers include, but are not limited to, the following microcontrollers: ARC 625D, Atmel AT91SAM, Microchip PIC18F26K20, and Silicone Labs C8051F320. The memory controller can also be implemented as part of the control logic of the memory. Those skilled in the art also know that in addition to implementing the controller in a purely computer-readable program code manner, the controller can be implemented in the form of a logic gate, a switch, an application-specific integrated circuit, a programmable logic controller, and an embedded microcontroller by logically programming the method steps. Therefore, this controller can be considered as a hardware component, and the devices included therein for implementing various functions can also be regarded as structures within the hardware component. Or even, the devices for implementing various functions can be regarded as both software modules for implementing the method and structures within the hardware component.

[0139] The systems, devices, modules or units described in the above embodiments may be implemented by computer chips or entities, or by products with certain functions. A typical implementation device is a computer. Specifically, the computer may be, for example, a personal computer, a laptop computer, a cellular phone, a camera phone, a smart phone, a personal digital assistant, a media player, a navigation device, an email device, a game console, a tablet computer, a wearable device, or a combination of any of these devices.

[0140] For the convenience of description, the above device is described in various units according to their functions. Of course, when implementing this specification, the functions of each unit can be implemented in the same or multiple software and / or hardware.

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

[0142] The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0143] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0144] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0145] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.

[0146] The memory may include non-permanent storage in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. The memory is an example of a computer-readable medium.

[0147] Computer readable media include permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. Information can be computer readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include temporary computer readable media (transitory media), such as modulated data signals and carrier waves.

[0148] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.

[0149] This specification may be described in the general context of computer-executable instructions executed by a computer, such as program modules. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform specific tasks or implement specific abstract data types. This specification may also be practiced in distributed computing environments where tasks are performed by remote processing devices connected through a communication network. In a distributed computing environment, program modules may be located in local and remote computer storage media, including storage devices.

[0150] Each embodiment in this specification is described in a progressive manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the system embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.

[0151] The above description is only an embodiment of the present specification and is not intended to limit the present specification. For those skilled in the art, the present specification may have various changes and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present specification shall be included in the scope of the claims of the present specification.

Claims

1. An identity recognition method based on wireless Wi-Fi signals, comprising: Acquire effective channel state information of the user to be identified, wherein the effective channel state information is channel state information presented by the wireless Wi-Fi signal after the user to be identified enters the wireless Wi-Fi signal collection area, and the effective channel state information reflects gait characteristics; the gait characteristics represent gait characteristics collected after the user to be identified walks through the wireless Wi-Fi signal collection area in a normal walking posture, and the gait characteristics include the size of the step; Determine the identity information of the user to be identified according to the matching results of the effective channel state information of the user to be identified and at least one sample channel state information with the identity information marked, wherein the sample channel state information reflects the gait characteristics of the registered user, and the sample channel state information represents the channel state information collected by the electronic device after the registered user walks through the wireless Wi-Fi signal collection area in a normal walking posture; The obtaining of effective channel state information of the user to be identified includes: obtaining original channel state information from wireless Wi-Fi signals collected in a wireless Wi-Fi signal collection area; analyzing the original channel state information by using a preset detection index corresponding to no one in the wireless Wi-Fi signal collection area to determine whether the user to be identified has entered the wireless Wi-Fi signal collection area; and if it is determined that the user to be identified has entered the wireless Wi-Fi signal collection area, extracting effective channel state information of the user to be identified from the original channel state information.

2. The method according to claim 1, wherein determining the identity information of the user to be identified according to the matching results of the effective channel state information of the user to be identified and at least one sample channel state information with the identity information marked comprises: Extracting features of the effective channel state information of the user to be identified to obtain a feature vector of the effective channel state information; The feature vector of the effective channel state information is classified and identified based on a kNN classifier to determine the identity information of the user to be identified, wherein the kNN classifier is trained based on at least one sample channel state information with labeled identity information.

3. The method according to claim 2, wherein the step of classifying and identifying the feature vector of the effective channel state information based on a kNN classifier to determine the identity information of the user to be identified comprises: Calculating the distance values ​​between the eigenvectors of the effective channel state information and the eigenvectors of each sample channel state information; Selecting a specified number of sample channel state information with the smallest distance value from each of the sample channel state information; Determine the number of occurrences of the marked identity information to which each of the specified number of sample channel state information belongs; The marked identity information that appears the most times is determined as the identity information of the user to be identified.

4. The method according to claim 2, wherein extracting features from the effective channel state information of the user to be identified to obtain a feature vector of the effective channel state information comprises: A discrete wavelet transform is performed on the effective channel state information of the user to be identified, and the approximate coefficient obtained after the discrete wavelet transform is used as a feature vector of the effective channel state information.

5. The method of claim 1, further comprising: If the matching result indicates that there is no sample channel state information matching the valid channel state information of the user to be identified, it is prompted that the identity identification of the user to be identified has failed.

6. The method according to claim 1, wherein obtaining effective channel state information of the user to be identified comprises: Acquire wireless Wi-Fi signals collected in the wireless Wi-Fi signal collection area, and acquire original channel state information from the wireless Wi-Fi signals; Analyze the original channel state information to determine whether the user to be identified enters the wireless Wi-Fi signal collection area; If it is determined that the user to be identified has entered the wireless Wi-Fi signal collection area, then the effective channel state information of the user to be identified is intercepted from the original channel state information.

7. The method according to claim 6, wherein analyzing the original channel state information to determine whether the user to be identified has entered the wireless Wi-Fi signal collection area specifically comprises: The original channel state information is analyzed by using a preset detection index corresponding to no one being in the wireless Wi-Fi signal collection area to determine whether the user to be identified enters the wireless Wi-Fi signal collection area.

8. The method according to claim 6, wherein extracting the effective channel state information of the user to be identified from the original channel state information comprises: Dividing the original channel state information into a plurality of sliding windows according to the time sequence of signal acquisition; Calculate the average deviation of each sliding window according to the channel state information of each sliding window; According to the average deviation of each sliding window, the effective channel state information of the user to be identified is extracted from the original channel state information.

9. The method according to claim 8, wherein the effective channel state information of the user to be identified is extracted from the original channel state information according to the average deviation of each sliding window, specifically comprising: The average deviation of each sliding window; If the average deviation of the sliding window traversed for the first time is not less than the first threshold, and the average deviation of the previous sliding window before the sliding window traversed for the first time is not greater than the second threshold, then determining that the sliding window traversed for the first time is the starting sliding window corresponding to the user to be identified entering the wireless Wi-Fi signal collection area; Continue to traverse the average deviation of the sliding windows after the starting sliding window; If the average deviation of the sliding window traversed for the first time is not greater than the second threshold, and the average deviation of the previous sliding window before the sliding window traversed for the first time is not less than the first threshold, then determining that the previous sliding window of the sliding window traversed for the first time is the end point sliding window corresponding to the user to be identified leaving the wireless Wi-Fi signal collection area; According to the starting sliding window and the ending sliding window, the effective channel state information of the user to be identified is extracted from the original channel state information.

10. An identity recognition device based on wireless Wi-Fi signals, comprising: an acquisition module, which acquires effective channel state information of a user to be identified, wherein the effective channel state information is channel state information presented by a wireless Wi-Fi signal after the user to be identified enters a wireless Wi-Fi signal collection area, and the effective channel state information reflects gait characteristics; the gait characteristics represent gait characteristics collected after the user to be identified walks through the wireless Wi-Fi signal collection area in a normal walking posture, and the gait characteristics include a step size; a processing module, determining the identity information of the user to be identified according to the matching results of the effective channel state information of the user to be identified and at least one sample channel state information with the identity information marked, wherein the sample channel state information reflects the gait characteristics of the registered user, and the sample channel state information represents the channel state information collected by the electronic device after the registered user walks through the wireless Wi-Fi signal collection area in a normal walking posture; The obtaining of effective channel state information of the user to be identified includes: obtaining original channel state information from wireless Wi-Fi signals collected in a wireless Wi-Fi signal collection area; analyzing the original channel state information by using a preset detection index corresponding to no one in the wireless Wi-Fi signal collection area to determine whether the user to be identified has entered the wireless Wi-Fi signal collection area; and if it is determined that the user to be identified has entered the wireless Wi-Fi signal collection area, extracting effective channel state information of the user to be identified from the original channel state information.

11. The apparatus according to claim 10, wherein determining the identity information of the user to be identified according to the matching results of the effective channel state information of the user to be identified and at least one sample channel state information with the identity information marked comprises: Extracting features of the effective channel state information of the user to be identified to obtain a feature vector of the effective channel state information; The feature vector of the effective channel state information is classified and identified based on a kNN classifier to determine the identity information of the user to be identified, wherein the kNN classifier is trained based on at least one sample channel state information with labeled identity information.

12. The apparatus according to claim 11, wherein the step of classifying and identifying the feature vector of the effective channel state information based on a kNN classifier to determine the identity information of the user to be identified comprises: Calculating the distance values ​​between the eigenvectors of the effective channel state information and the eigenvectors of each sample channel state information; Selecting a specified number of sample channel state information with the smallest distance value from each of the sample channel state information; Determine the number of occurrences of the marked identity information to which each of the specified number of sample channel state information belongs; The marked identity information that appears the most times is determined as the identity information of the user to be identified.

13. The apparatus according to claim 11, wherein extracting features from the effective channel state information of the user to be identified to obtain a feature vector of the effective channel state information comprises: A discrete wavelet transform is performed on the effective channel state information of the user to be identified, and the approximate coefficient obtained after the discrete wavelet transform is used as a feature vector of the effective channel state information.

14. The apparatus according to claim 10, wherein if the matching result indicates that there is no sample channel state information matching the valid channel state information of the user to be identified, it is prompted that the identity identification of the user to be identified has failed.

15. The apparatus according to claim 10, wherein the acquiring effective channel state information of the user to be identified comprises: Acquire wireless Wi-Fi signals collected in the wireless Wi-Fi signal collection area, and acquire original channel state information from the wireless Wi-Fi signals; Analyze the original channel state information to determine whether the user to be identified enters the wireless Wi-Fi signal collection area; If it is determined that the user to be identified has entered the wireless Wi-Fi signal collection area, then the effective channel state information of the user to be identified is intercepted from the original channel state information.

16. The device according to claim 15, wherein analyzing the original channel state information to determine whether the to-be-identified user enters the wireless Wi-Fi signal collection area specifically comprises: The original channel state information is analyzed by using a preset detection index corresponding to no one being in the wireless Wi-Fi signal collection area to determine whether the user to be identified enters the wireless Wi-Fi signal collection area.

17. The apparatus according to claim 15, wherein extracting effective channel state information of the user to be identified from the original channel state information comprises: Dividing the original channel state information into a plurality of sliding windows according to the time sequence of signal acquisition; Calculate the average deviation of each sliding window according to the channel state information of each sliding window; According to the average deviation of each sliding window, the effective channel state information of the user to be identified is extracted from the original channel state information.

18. The apparatus according to claim 17, wherein the effective channel state information of the user to be identified is extracted from the original channel state information according to the average deviation of each sliding window, specifically comprising: The average deviation of each sliding window; If the average deviation of the sliding window traversed for the first time is not less than the first threshold, and the average deviation of the previous sliding window before the sliding window traversed for the first time is not greater than the second threshold, then determining that the sliding window traversed for the first time is the starting sliding window corresponding to the user to be identified entering the wireless Wi-Fi signal collection area; Continue to traverse the average deviation of the sliding windows after the starting sliding window; If the average deviation of the sliding window traversed for the first time is not greater than the second threshold, and the average deviation of the previous sliding window before the sliding window traversed for the first time is not less than the first threshold, then determining that the previous sliding window of the sliding window traversed for the first time is the end point sliding window corresponding to the user to be identified leaving the wireless Wi-Fi signal collection area; According to the starting sliding window and the ending sliding window, the effective channel state information of the user to be identified is extracted from the original channel state information.

19. An electronic device, comprising a memory and a processor, wherein the memory stores a program and is configured such that the processor executes the identity recognition method based on wireless Wi-Fi signals according to any one of claims 1 to 8.