CN118382099B - Method and device for generating wireless local area network perception configuration scheme - Google Patents
Method and device for generating wireless local area network perception configuration scheme Download PDFInfo
- Publication number
- CN118382099B CN118382099B CN202410808654.0A CN202410808654A CN118382099B CN 118382099 B CN118382099 B CN 118382099B CN 202410808654 A CN202410808654 A CN 202410808654A CN 118382099 B CN118382099 B CN 118382099B
- Authority
- CN
- China
- Prior art keywords
- subcarrier
- area network
- local area
- csi
- wireless local
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 230000008447 perception Effects 0.000 title claims abstract description 153
- 238000000034 method Methods 0.000 title claims abstract description 72
- 230000035945 sensitivity Effects 0.000 claims abstract description 44
- 230000002159 abnormal effect Effects 0.000 claims description 27
- 230000005856 abnormality Effects 0.000 claims description 19
- 230000008569 process Effects 0.000 claims description 19
- 239000000969 carrier Substances 0.000 claims description 11
- 238000004590 computer program Methods 0.000 claims description 8
- 238000012545 processing Methods 0.000 abstract description 7
- 238000010586 diagram Methods 0.000 description 16
- 238000004458 analytical method Methods 0.000 description 8
- 238000004364 calculation method Methods 0.000 description 8
- 238000004891 communication Methods 0.000 description 7
- 238000004422 calculation algorithm Methods 0.000 description 6
- 230000008859 change Effects 0.000 description 5
- 230000000694 effects Effects 0.000 description 4
- 230000007613 environmental effect Effects 0.000 description 4
- 230000003993 interaction Effects 0.000 description 4
- 230000009471 action Effects 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 3
- 230000010354 integration Effects 0.000 description 2
- 239000011159 matrix material Substances 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000002093 peripheral effect Effects 0.000 description 2
- 230000010287 polarization Effects 0.000 description 2
- 239000007787 solid Substances 0.000 description 2
- 238000009825 accumulation Methods 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000021615 conjugation Effects 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 238000000802 evaporation-induced self-assembly Methods 0.000 description 1
- 230000003203 everyday effect Effects 0.000 description 1
- 239000000284 extract Substances 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 239000003999 initiator Substances 0.000 description 1
- 230000000977 initiatory effect Effects 0.000 description 1
- 238000012423 maintenance Methods 0.000 description 1
- 230000007246 mechanism Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 239000013307 optical fiber Substances 0.000 description 1
- 238000011160 research Methods 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W24/00—Supervisory, monitoring or testing arrangements
- H04W24/04—Arrangements for maintaining operational condition
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L5/00—Arrangements affording multiple use of the transmission path
- H04L5/0001—Arrangements for dividing the transmission path
- H04L5/0003—Two-dimensional division
- H04L5/0005—Time-frequency
- H04L5/0007—Time-frequency the frequencies being orthogonal, e.g. OFDM(A), DMT
- H04L5/001—Time-frequency the frequencies being orthogonal, e.g. OFDM(A), DMT the frequencies being arranged in component carriers
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L5/00—Arrangements affording multiple use of the transmission path
- H04L5/003—Arrangements for allocating sub-channels of the transmission path
- H04L5/0053—Allocation of signaling, i.e. of overhead other than pilot signals
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W72/00—Local resource management
- H04W72/04—Wireless resource allocation
- H04W72/044—Wireless resource allocation based on the type of the allocated resource
- H04W72/0453—Resources in frequency domain, e.g. a carrier in FDMA
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W84/00—Network topologies
- H04W84/02—Hierarchically pre-organised networks, e.g. paging networks, cellular networks, WLAN [Wireless Local Area Network] or WLL [Wireless Local Loop]
- H04W84/10—Small scale networks; Flat hierarchical networks
- H04W84/12—WLAN [Wireless Local Area Networks]
Landscapes
- Engineering & Computer Science (AREA)
- Signal Processing (AREA)
- Computer Networks & Wireless Communication (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The embodiment of the application provides a method and a device for generating a wireless local area network perception configuration scheme, which relate to the technical field of data processing, and the method comprises the following steps: receiving first CSI sample data acquired by an AP under the condition that no moving object exists in an application scene; at least one of the following steps is executed to generate a configuration scheme perceived by the wireless local area network: generating a configuration scheme of wireless local area network perception containing a perception threshold based on the average value of the autocorrelation values of the first CSI sample data; selecting a first subcarrier with the sensitivity degree to noise lower than a first preset degree as a subcarrier for wireless local area network sensing based on a first average value of each subcarrier; and selecting two antennas for wireless local area network sensing based on the average value of the phase difference sequences of the CSI sequences after the conjugate product is carried out between every two antennas. The scheme provided by the embodiment of the application can improve the efficiency of generating the wireless local area network sensing configuration scheme.
Description
Technical Field
The present application relates to the field of data processing technologies, and in particular, to a method and an apparatus for generating a wireless local area network aware configuration scheme.
Background
Wireless local area network sensing is a technique that utilizes WiFi (WIRELESS FIDELITY ) signals to perform sensing tasks. As WiFi radio waves can reflect, penetrate and bend on the object surface during propagation. Thus, by processing the received WiFi signal, the object moving in the environment can be perceived.
The wlan awareness needs to be configured before it is performed. Because the signal interference degree, the wireless local area network signal intensity, the distribution condition and the like of different application scenes are different, different configuration schemes are required to be manually set by staff aiming at different application scenes, and the wireless local area network can be configured based on the configuration schemes. Obviously, the generation mode of the configuration scheme can increase the workload of workers, has lower efficiency and is difficult to realize in practical application.
Disclosure of Invention
The embodiment of the application aims to provide a method and a device for generating a wireless local area network sensing configuration scheme, so as to improve the efficiency of generating the wireless local area network sensing configuration scheme. The specific technical scheme is as follows:
in a first aspect, an embodiment of the present application provides a method for generating a wireless local area network aware configuration scheme, where the method includes:
Receiving first Channel State Information (CSI) sample data acquired by a wireless Access Point (AP) under the condition that no moving object exists in an application scene;
at least one of the following steps is executed to generate a configuration scheme perceived by the wireless local area network:
Generating a configuration scheme of wireless local area network perception containing a perception threshold based on the average value of the autocorrelation values of the first CSI sample data, wherein the perception threshold is used for judging whether a moving object exists in the wireless local area network perception process;
For each subcarrier of the wireless local area network equipment, respectively calculating first variances of amplitudes of CSI sample data corresponding to the subcarrier in the first CSI sample data in different time periods, and calculating first average values of the first variances of the subcarriers; selecting a first subcarrier with the sensitivity degree to noise lower than a first preset degree as a subcarrier for wireless local area network sensing based on a first average value of each subcarrier; generating a configuration scheme containing information of the first sub-carrier;
For each two antennas of the wireless local area network equipment, calculating conjugate products of the CSI sample data corresponding to the two antennas in the first CSI sample data to obtain CSI sequences, and calculating phase differences of the CSI sequences of the two antennas; selecting two antennas for wireless local area network sensing based on the average value of the phase difference sequences of the CSI sequences after the conjugate product of every two antennas; a configuration scheme is generated that contains information for the selected antenna.
In one embodiment of the present application, the generating a configuration scheme of wireless local area network awareness including a awareness threshold based on the average value of the autocorrelation values of the first CSI sample data includes:
And selecting the product of the average value of the autocorrelation values of the first CSI sample data and a preset multiple and the maximum value of the sum of the average value of the autocorrelation values and a preset accumulated value as a perception threshold, and generating a configuration scheme of wireless local area network perception containing the perception threshold.
In one embodiment of the present application, after the generating a configuration scheme of wireless local area network awareness including a awareness threshold based on the average value of the autocorrelation values of the first CSI sample data, the configuration scheme further includes:
receiving new first CSI sample data acquired by the AP under the condition that no moving object exists in an application scene;
Calculating a new perception threshold based on the mean value of the autocorrelation values of the new first CSI sample data;
And if the absolute value of the difference value between the new perception threshold and the previous perception threshold is smaller than the preset absolute value, updating the perception threshold in the configuration scheme into the new perception threshold.
In one embodiment of the present application, after the generating the configuration scheme including the information of the first subcarrier, the method further includes:
receiving second CSI sample data acquired by an AP under the condition that a moving object exists in the application scene;
For each target subcarrier of the wireless local area network device, respectively calculating second variances of amplitudes of CSI sample data corresponding to the target subcarrier in the second CSI sample data in different time periods, and calculating second average values of the second variances of the target subcarrier, wherein the target subcarrier is all subcarriers or the first subcarrier;
selecting a second subcarrier with the sensitivity degree to the moving object higher than a second preset degree based on a second average value of each target subcarrier, and taking a third subcarrier in the intersection of the first subcarrier and the second subcarrier as a subcarrier for performing wireless local area network sensing;
Generating a configuration scheme containing information of the third sub-carrier.
In one embodiment of the present application, the selecting, based on the second average value of each target subcarrier, a second subcarrier having a sensitivity level to the moving object higher than a second preset level includes:
determining a first variance threshold based on a maximum value and a minimum value of a second average value of each target subcarrier, the first variance threshold being located between the maximum value and the minimum value of the second average value;
And selecting a target subcarrier with a second mean value higher than the first variance threshold as a second subcarrier with a sensitivity degree to the moving object higher than a second preset degree.
In one embodiment of the present application, the selecting, based on the first average value of each subcarrier, the first subcarrier having a sensitivity level to noise lower than the first preset level includes:
Determining a second variance threshold based on a maximum value and a minimum value in a first mean value of each subcarrier, wherein the second variance threshold is positioned between the maximum value and the minimum value of the first mean value;
And selecting the sub-carriers with the first mean value lower than the second variance threshold as first sub-carriers with the sensitivity degree to noise lower than a first preset degree.
In one embodiment of the present application, the selecting two antennas for performing wlan sensing based on the average value of the phase difference sequences of the CSI sequences obtained by performing conjugate multiplication on each two antennas includes:
And selecting two antennas with the minimum average value of the phase difference sequences of the CSI sequences after conjugate products as two main selection antennas for wireless local area network sensing.
In one embodiment of the present application, when the phase calibration of the wlan device is performed based on a preset reference antenna, the selecting two antennas with the smallest average value of the phase difference sequences of the CSI sequences after the conjugate product, as two main selection antennas for performing wlan sensing, includes:
And selecting two antennas with the smallest average value of the phase difference sequences of the CSI sequences after conjugate multiplication in the two antennas comprising the reference antenna as two main selection antennas for performing wireless local area network sensing.
In one embodiment of the application, the method further comprises:
Selecting two antennas with small average times of phase difference sequences of the CSI sequences after conjugate products as two sub-selected antennas, wherein the sub-selected antennas are: and the antenna is used for performing wireless local area network sensing when at least one of the main selected antennas is abnormal and neither of the two sub selected antennas is abnormal.
In one embodiment of the present application, an antenna in which an abnormality occurs is determined by:
receiving second CSI sample data acquired by an AP under the condition that a moving object exists in the application scene;
calculating a third average value of the amplitude values of the CSI sample data corresponding to each antenna in the second CSI sample data;
calculating an anomaly threshold based on the third mean value for each antenna;
And determining the antenna with the third average value smaller than the abnormality threshold as the antenna with the abnormality.
In a second aspect, an embodiment of the present application provides a device for generating a wireless local area network aware configuration scheme, where the device includes:
The first data receiving module is used for receiving first Channel State Information (CSI) sample data acquired by the wireless Access Point (AP) under the condition that no moving object exists in an application scene;
Executing at least one of the following modules to generate a configuration scheme perceived by the wireless local area network:
A perception threshold generating module, configured to generate a configuration scheme of wireless local area network perception containing a perception threshold based on a mean value of autocorrelation values of the first CSI sample data, where the perception threshold is used to determine whether a moving object exists in a process of wireless local area network perception;
The first subcarrier selection module is used for respectively calculating first variances of amplitudes of the CSI sample data corresponding to the subcarriers in the first CSI sample data in different time periods aiming at each subcarrier of the wireless local area network equipment, and calculating first average values of the first variances of the subcarriers; selecting a first subcarrier with the sensitivity degree to noise lower than a first preset degree as a subcarrier for wireless local area network sensing based on a first average value of each subcarrier; generating a configuration scheme containing information of the first sub-carrier;
The antenna selection module is used for calculating conjugate products of the CSI sample data corresponding to each two antennas in the first CSI sample data aiming at each two antennas of the wireless local area network equipment to obtain CSI sequences, and calculating phase difference of the CSI sequences of the two antennas; selecting two antennas for wireless local area network sensing based on the average value of the phase difference sequences of the CSI sequences after the conjugate product of every two antennas; a configuration scheme is generated that contains information for the selected antenna.
In one embodiment of the present application, the perception threshold generation module is specifically configured to:
And selecting the product of the average value of the autocorrelation values of the first CSI sample data and a preset multiple and the maximum value of the sum of the average value of the autocorrelation values and a preset accumulated value as a perception threshold, and generating a configuration scheme of wireless local area network perception containing the perception threshold.
In one embodiment of the application, the apparatus further comprises:
the second data receiving module is used for receiving new first CSI sample data acquired by the AP under the condition that no moving object exists in an application scene;
a perception threshold calculation module, configured to calculate a new perception threshold based on a mean value of autocorrelation values of the new first CSI sample data;
and the perception threshold updating module is used for updating the perception threshold in the configuration scheme into a new perception threshold if the absolute value of the difference value between the new perception threshold and the previous perception threshold is smaller than the preset absolute value.
In one embodiment of the application, the apparatus further comprises:
the third data receiving module is used for receiving second CSI sample data acquired by the AP under the condition that a moving object exists in the application scene;
A second mean value calculating module, configured to calculate, for each target subcarrier of the wireless local area network device, second variances of magnitudes of CSI sample data corresponding to the target subcarrier in the second CSI sample data in different time periods, and calculate second mean values of the second variances of the target subcarrier, where the target subcarrier is all subcarriers or the first subcarrier;
a third subcarrier selection module, configured to select, based on a second average value of each target subcarrier, a second subcarrier having a sensitivity degree to a moving object higher than a second preset degree, and use a third subcarrier in an intersection of the first subcarrier and the second subcarrier as a subcarrier for performing wireless local area network sensing;
and the first configuration scheme generating module is used for generating a configuration scheme containing the information of the third sub-carrier.
In one embodiment of the present application, the third subcarrier selection module is specifically configured to:
determining a first variance threshold based on a maximum value and a minimum value of a second average value of each target subcarrier, the first variance threshold being located between the maximum value and the minimum value of the second average value;
selecting a target subcarrier with a second mean value higher than the first variance threshold as a second subcarrier with a sensitivity degree to a moving object higher than a second preset degree;
And taking the third subcarrier as a subcarrier for performing wireless local area network sensing.
In one embodiment of the present application, the first subcarrier selection module is specifically configured to:
for each subcarrier of the wireless local area network equipment, respectively calculating first variances of amplitudes of CSI sample data corresponding to the subcarrier in the first CSI sample data in different time periods, and calculating first average values of the first variances of the subcarriers;
Determining a second variance threshold based on a maximum value and a minimum value in a first mean value of each subcarrier, wherein the second variance threshold is positioned between the maximum value and the minimum value of the first mean value;
and selecting the sub-carrier with the first mean value lower than the second variance threshold as a first sub-carrier with the sensitivity degree to noise lower than a first preset degree, and using the first sub-carrier as a sub-carrier for wireless local area network sensing.
In one embodiment of the present application, the antenna selection module includes:
The phase difference calculation sub-module is used for calculating the conjugate product of the CSI sample data corresponding to each two antennas in the first CSI sample data aiming at each two antennas of the wireless local area network equipment to obtain the CSI sequences, and calculating the phase difference of the CSI sequences of the two antennas;
The main selection antenna selection sub-module is used for selecting two antennas with the minimum average value of the phase difference sequences of the CSI sequences after conjugate multiplication as two main selection antennas for performing wireless local area network sensing;
A configuration scheme generation sub-module for generating a configuration scheme containing information of the selected antenna.
In one embodiment of the present application, in a case where the phase calibration of the wireless lan device is performed based on a preset reference antenna, the main selection antenna selecting sub-module is specifically configured to:
And selecting two antennas with the smallest average value of the phase difference sequences of the CSI sequences after conjugate multiplication in the two antennas comprising the reference antenna as two main selection antennas for performing wireless local area network sensing.
In one embodiment of the present application, the antenna selection module further includes:
The secondary selection antenna selection sub-module is used for selecting two antennas with small average value of the phase difference sequence of the CSI sequence after conjugate product as two secondary selection antennas, wherein the secondary selection antennas are: and the antenna is used for performing wireless local area network sensing when at least one of the main selected antennas is abnormal and neither of the two sub selected antennas is abnormal.
In one embodiment of the application, the antenna that is experiencing an anomaly is determined by the following modules:
A fourth data receiving module, configured to receive second CSI sample data collected by an AP when a moving object exists in the application scenario;
a third mean value calculation module, configured to calculate a third mean value of magnitudes of CSI sample data corresponding to each antenna in the second CSI sample data;
an abnormal threshold calculation module, configured to calculate an abnormal threshold based on a third average value of each antenna;
And the abnormal antenna determining module is used for determining the antenna with the third average value smaller than the abnormal threshold value as the antenna with the abnormality.
In a third aspect, an embodiment of the present application provides a device for generating a wireless local area network aware configuration scheme, where the device includes:
A processor;
A transceiver;
A machine-readable storage medium storing machine-executable instructions executable by the processor; the machine-executable instructions cause the processor to perform the steps of:
Receiving first Channel State Information (CSI) sample data acquired by a wireless Access Point (AP) under the condition that no moving object exists in an application scene;
at least one of the following steps is executed to generate a configuration scheme perceived by the wireless local area network:
Generating a configuration scheme of wireless local area network perception containing a perception threshold based on the average value of the autocorrelation values of the first CSI sample data, wherein the perception threshold is used for judging whether a moving object exists in the wireless local area network perception process;
For each subcarrier of the wireless local area network equipment, respectively calculating first variances of amplitudes of CSI sample data corresponding to the subcarrier in the first CSI sample data in different time periods, and calculating first average values of the first variances of the subcarriers; selecting a first subcarrier with the sensitivity degree to noise lower than a first preset degree as a subcarrier for wireless local area network sensing based on a first average value of each subcarrier; generating a configuration scheme containing information of the first sub-carrier;
For each two antennas of the wireless local area network equipment, calculating conjugate products of the CSI sample data corresponding to the two antennas in the first CSI sample data to obtain CSI sequences, and calculating phase differences of the CSI sequences of the two antennas; selecting two antennas for wireless local area network sensing based on the average value of the phase difference sequences of the CSI sequences after conjugate products are carried out between every two antennas; a configuration scheme is generated that contains information for the selected antenna.
In one embodiment of the present application, the generating a configuration scheme of wireless local area network awareness including a awareness threshold based on the average value of the autocorrelation values of the first CSI sample data includes:
And selecting the product of the average value of the autocorrelation values of the first CSI sample data and a preset multiple and the maximum value of the sum of the average value of the autocorrelation values and a preset accumulated value as a perception threshold, and generating a configuration scheme of wireless local area network perception containing the perception threshold.
In one embodiment of the application, the machine-executable instructions further cause the processor to, after generating the wireless local area network aware configuration scheme including a awareness threshold based on the average of the autocorrelation values of the first CSI sample data, further perform the steps of:
receiving new first CSI sample data acquired by the AP under the condition that no moving object exists in an application scene;
Calculating a new perception threshold based on the mean value of the autocorrelation values of the new first CSI sample data;
And if the absolute value of the difference value between the new perception threshold and the previous perception threshold is smaller than the preset absolute value, updating the perception threshold in the configuration scheme into the new perception threshold.
In one embodiment of the application, the machine-executable instructions further cause the processor to, after the generating the configuration scheme containing the information of the first sub-carrier, further perform the steps of:
receiving second CSI sample data acquired by an AP under the condition that a moving object exists in the application scene;
For each target subcarrier of the wireless local area network device, respectively calculating second variances of amplitudes of CSI sample data corresponding to the target subcarrier in the second CSI sample data in different time periods, and calculating second average values of the second variances of the target subcarrier, wherein the target subcarrier is all subcarriers or the first subcarrier;
selecting a second subcarrier with the sensitivity degree to the moving object higher than a second preset degree based on a second average value of each target subcarrier, and taking a third subcarrier in the intersection of the first subcarrier and the second subcarrier as a subcarrier for performing wireless local area network sensing;
Generating a configuration scheme containing information of the third sub-carrier.
In one embodiment of the present application, the selecting, based on the second average value of each target subcarrier, a second subcarrier having a sensitivity level to the moving object higher than a second preset level includes:
determining a first variance threshold based on a maximum value and a minimum value of a second average value of each target subcarrier, the first variance threshold being located between the maximum value and the minimum value of the second average value;
And selecting a target subcarrier with a second mean value higher than the first variance threshold as a second subcarrier with a sensitivity degree to the moving object higher than a second preset degree.
In one embodiment of the present application, the selecting, based on the first average value of each subcarrier, the first subcarrier having a sensitivity level to noise lower than the first preset level includes:
Determining a second variance threshold based on a maximum value and a minimum value in a first mean value of each subcarrier, wherein the second variance threshold is positioned between the maximum value and the minimum value of the first mean value;
And selecting the sub-carriers with the first mean value lower than the second variance threshold as first sub-carriers with the sensitivity degree to noise lower than a first preset degree.
In one embodiment of the present application, the selecting two antennas for performing wlan sensing based on the average value of the phase difference sequences of the CSI sequences obtained by performing conjugate multiplication on each two antennas includes:
and selecting the two antennas with the smallest average value of the phase difference as the two main selection antennas for performing wireless local area network sensing.
In one embodiment of the present application, when the phase calibration of the wlan device is performed based on a preset reference antenna, the selecting two antennas with the smallest average value of the phase difference sequences of the CSI sequences after the conjugate product, as two main selection antennas for performing wlan sensing, includes:
And selecting two antennas with the smallest average value of the phase difference sequences of the CSI sequences after conjugate multiplication in the two antennas comprising the reference antenna as two main selection antennas for performing wireless local area network sensing.
In one embodiment of the application, the machine executable instructions cause the processor to further perform the steps of:
Selecting two antennas with small average times of phase difference sequences of the CSI sequences after conjugate products as two sub-selected antennas, wherein the sub-selected antennas are: and the antenna is used for performing wireless local area network sensing when at least one of the main selected antennas is abnormal and neither of the two sub selected antennas is abnormal.
In one embodiment of the present application, an antenna in which an abnormality occurs is determined by:
receiving second CSI sample data acquired by an AP under the condition that a moving object exists in the application scene;
calculating a third average value of the amplitude values of the CSI sample data corresponding to each antenna in the second CSI sample data;
calculating an anomaly threshold based on the third mean value for each antenna;
And determining the antenna with the third average value smaller than the abnormality threshold as the antenna with the abnormality.
In a fourth aspect, embodiments of the present application provide a computer-readable storage medium having stored therein a computer program which, when executed by a processor, implements any of the method steps of the first aspect.
In a fifth aspect, embodiments of the present application also provide a computer program product comprising instructions which, when run on a computer, cause the computer to perform the method of any of the first aspects described above.
The embodiment of the application has the beneficial effects that:
In the embodiment of the application, the configuration scheme perceived by the wireless local area network is generated through the first CSI sample data acquired by the AP in the actual application scene, and the configuration scheme generated based on the first CSI sample data can be matched with the application scene because the first CSI sample data can reflect the environmental information of the application scene. And the configuration scheme generated in the embodiment of the application comprises at least one of a perception threshold value, subcarrier selection and antenna selection, so that the generated configuration scheme is more comprehensive. Therefore, the embodiment of the application can automatically generate the configuration scheme matched with the application scene without manual adjustment, thereby reducing the workload of staff, having high generation efficiency of the configuration scheme and reducing the technical requirements of wireless local area network sensing configuration on the staff and maintainers.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings used in the embodiments or the description of the prior art will be briefly described, and it is obvious that the drawings in the following description are only some embodiments of the present application, and other drawings may be obtained according to these drawings for a person having ordinary skill in the art.
FIG. 1 is a schematic diagram of an analysis result of Widetect algorithm in the related art;
fig. 2 is a schematic diagram of variance of amplitude values of CSI sample data corresponding to different subcarriers in the related art;
fig. 3 is a schematic diagram of an architecture of a wlan awareness system according to an embodiment of the present application;
fig. 4 is a flowchart of a first method for generating a wireless lan aware configuration scheme according to an embodiment of the present application;
fig. 5 is a schematic diagram of a first average value of a subcarrier according to an embodiment of the present application;
Fig. 6 is an interaction schematic diagram of a wireless lan sensing flow provided in an embodiment of the present application;
Fig. 7 is a flowchart of a second method for generating a wireless lan aware configuration scheme according to an embodiment of the present application;
Fig. 8 is a flowchart of a third method for generating a wireless lan aware configuration scheme according to an embodiment of the present application;
fig. 9 is a schematic diagram of a second average value of a subcarrier according to an embodiment of the present application;
Fig. 10 is a flowchart of a fourth method for generating a wireless lan aware configuration scheme according to an embodiment of the present application;
Fig. 11 is a flowchart illustrating a determination method of an abnormal antenna according to an embodiment of the present application;
fig. 12 is a schematic structural diagram of a wireless local area network aware configuration scheme generating device according to an embodiment of the present application;
Fig. 13 is a schematic structural diagram of a wlan-aware configuration scheme generating device according to an embodiment of the present application.
Detailed Description
The following description of the embodiments of the present application will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present application, but not all embodiments. Based on the embodiments of the present application, all other embodiments obtained by the person skilled in the art based on the present application are included in the scope of protection of the present application.
In order to solve the problem that the efficiency of generating the configuration scheme is low due to the fact that the configuration scheme is manually generated in the related art, the embodiment of the application provides a method and a device for generating the wireless local area network sensing configuration scheme.
In order to highlight the distinction between the present application and the related art, the related art will be described first.
The current IEEE (Institute of ELECTRICAL AND Electronics Engineers) WLAN (Wireless Local Area Network ) aware workgroup is responsible for standardization work of WLAN awareness and ISAC (INTEGRATED SENSING AND Communication awareness integration), and the current IEEE 802.11bf prescribes standard modification to the IEEE 802.11 physical layer and the medium access control layer, which not only enhances awareness capability, but also makes deployment more convenient.
The ieee802.11bf standard has not been released finally, but a sensing method and a sensing procedure between an Access Point (AP) and a Station (Station) are already specified, and the Station may be an AP or other than an AP and defines key technologies of a medium Access control layer and a physical layer. The industry has developed sensing exploration and research based on WiFi6 and WiFi7 in an effort to early bring wireless local area network sensing identification services to market.
In order to implement the wlan awareness identification service, the wlan awareness identification needs to be configured, where the configuration of the wlan awareness identification mainly includes selection of an awareness threshold, selection of a subcarrier, and selection of an antenna. The following describes ways of realizing the above three options in the related art, respectively.
Selection of a perception threshold:
for the selection of the perception threshold, in the related art, a comparison analysis is performed on samples in an ideal laboratory environment in a scene where a moving object exists and a scene where the moving object does not exist, so as to obtain the perception threshold. For example, widetect algorithm may be used to analyze data in two scenarios, an analysis result may be obtained, and a perception threshold may be obtained by comparing the analysis results of the two.
Referring to fig. 1, a schematic diagram of an analysis result of Widetect algorithm in the related art is shown.
The upper statistical chart in fig. 1 is an analysis result of CSI (CHANNEL STATE Information) sample data of channel 48 at 5GHz using Widetect algorithm, and the lower statistical chart is an analysis result of CSI sample data of channel 6 at 2.6GHz using Widetect algorithm. The abscissa of the statistical graph represents time in seconds, and the ordinate is the analysis result, i.e., the autocorrelation value of CSI sample data.
In the figure, the moving object exists 300 seconds ago, and the moving object does not exist 300 seconds later. As can be seen, the autocorrelation value of CSI sample data is widely separated in two scenarios where there is a moving object and there is no moving object. Since the autocorrelation value of CSI sample data in a scene where no moving object is present is lower than 0.1 in both channels, the perception threshold may be selected to be 0.1, and if the autocorrelation value is higher than 0.1, the presence of a moving object is indicated.
However, the above manner of selecting the perception threshold is problematic in that the selection of the perception threshold is done in a laboratory scenario where there is little other signal interference. If there is signal interference, there will be a large fluctuation in the autocorrelation value. When the actual engineering is deployed, signal interference is necessarily present in the actual application scene, so that the perception threshold value obtained in the laboratory scene is not actually adapted to the actual application scene. The signal interference conditions of different application scenes are different, which requires the staff to manually adjust the perception threshold according to the different application scenes. Resulting in inefficient perceptual threshold selection, low ease of use, and low universality.
(II) selection of subcarriers:
For subcarrier selection, the correlation algorithm extracts CSI sample data when moving objects exist in the scene, computes variances of magnitudes of the CSI sample data for all subcarriers, and variance performances of the subcarriers may be greatly different. A part of subcarriers can be greatly influenced by moving objects in the environment, so that amplitude fluctuation of CSI sample data corresponding to the subcarriers is larger, and further, variance of the amplitude of the CSI sample data is larger. Conversely, if some subcarriers are less affected by moving objects in the environment, i.e., insensitive to motion, then their variance must be relatively small. The amplitude variation trend of the sub-carrier insensitive to motion is relatively insignificant when a moving object exists, and the calculated result is worse than the sub-carrier which is relatively sensitive.
Therefore, in performing the perception of a moving object, it is necessary to select a subcarrier that is sensitive to the moving object.
Referring to fig. 2, a variance diagram of magnitudes of CSI sample data corresponding to different subcarriers in the related art is shown.
The abscissa in the figure is the number of subcarriers, and the ordinate is the variance. It can be seen that the variance of the magnitudes of the CSI sample data for the subcarriers numbered 1-13 is large, is more sensitive to moving objects, and can be selected as the subcarrier for sensing.
However, the above method of selecting the sub-carriers has a problem in that only the sensitivity of the sub-carriers to the moving object is considered in the related art. However, in an actual application scenario, an interference signal exists, and amplitude fluctuation of CSI sample data of a subcarrier may be caused by the interference signal. Therefore, the subcarriers that are partially sensitive to the interference signal may also have larger amplitude fluctuation in the actual application scenario, resulting in larger variance, and thus be erroneously selected as subcarriers for sensing.
(III) selection of an antenna:
Regarding the selection of antennas, only antennas closest to each other are selected as antenna combinations in the related art. In practice, however, the conjugation result between the closest antennas may not be optimal. Resulting in the selected antenna combination not being optimally perceived. In practice, accidents such as fracture of the external antenna or change of polarization direction of the antenna in use may occur, which may cause abnormality of the antenna and thus have a negative effect on the finally obtained perception. Moreover, the reference for antenna calibration may be different for some WiFi chip manufacturers, where the antenna calibration is a fixed reference antenna. If the antenna combination is selected without the fixed reference antenna, the stability of the phase difference between the antennas is deteriorated, and the accuracy of sensing is also deteriorated.
Aiming at the problems of the selection modes (one) - (three), the embodiment of the application provides a method and a device for generating a wireless local area network sensing configuration scheme, so as to solve the problems.
Referring to fig. 3, a schematic architecture diagram of a wlan awareness system according to an embodiment of the present application is provided.
The figure comprises two application scenes of a room A and a room B, wherein each room comprises an object to be perceived, a workstation and a wireless access point. The workstations in each room are connected to a wireless access Point and a local area network controlled by a wireless Controller (WIRELESS ACCESS Point Controller, AC). The local area network, the perception server and the perception Application platform (or perception Application (APP)) are in communication with each other. It should be noted that, the two application scenarios included in the drawing are only an example, and the number of application scenarios in the embodiment of the present application is not limited.
The awareness application platform is the initiator of the awareness configuration, sends an awareness configuration message, and the awareness server is the recipient of the awareness configuration message and is the device that generates the configuration scheme. Before the configuration scheme is not generated, the parameters used in the process of calculating by the perception server are default parameters. The configuration scheme may be fed back to the sensing application platform after the configuration scheme is generated by the sensing server.
Referring to fig. 4, a flowchart of a first method for generating a wireless local area network aware configuration scheme according to an embodiment of the present application is applied to the foregoing aware server or other electronic devices with computing capabilities, where the method includes the following steps S401 to S404.
S401: and receiving first channel state information sample data acquired by the wireless access point under the condition that no moving object exists in the application scene.
Specifically, the application scenario may be a room, such as a classroom, an office, a factory building, a workshop, a shop, or the like, or may be an outdoor space in a certain area, such as a park, or the like.
The moving object may be a person, an animal, a robot, or the like.
The embodiment of the application can be executed in the preset time period without moving objects, and the first CSI sample data acquired by the AP in the preset time period is received. For example, if the application scene is a classroom or an office, the embodiment of the present application may be executed in a time period without moving objects, such as 2 o 'clock and 3 o' clock in the morning.
Or the embodiment of the application can be initiated by the sensing application platform, and the sensing application platform sends the sensing configuration message to the execution body and the AP of the embodiment of the application, wherein the sensing configuration message carries the time length of sensing configuration, so that the AP acquires the first CSI sample data within the range of the time length.
After the AP completes the acquisition of the first CSI sample data, for example, after the time reaches the time length of the perceived configuration, the execution body of the embodiment of the present application executes at least one of the following S402 to S404, generates a configuration scheme perceived by the wireless local area network, and caches the generated configuration scheme.
After the sensing application platform sends the sensing configuration message to the sensing server and the AP, the sensing application platform may periodically send a query request to the execution body according to a preset period to query a generation result of the configuration scheme. After generating a configuration scheme and receiving a query request, the execution main body feeds back the generated configuration scheme to the perception application platform, and carries out initialization based on the configuration scheme or actual wireless local area network perception after reconfiguration during wireless local area network perception.
The interaction process between the aware application platform, the execution body of the embodiment of the present application and the AP may refer to the embodiment shown in fig. 6 below, which is not described in detail herein.
S402: and generating a configuration scheme of wireless local area network perception containing a perception threshold based on the average value of the autocorrelation values of the first channel state information sample data.
The sensing threshold is used for judging whether a moving object exists in the sensing process of the wireless local area network. Specifically, if the autocorrelation value of the CSI sample data acquired in the wireless local area network sensing process is greater than the sensing threshold, it can be determined that a moving object exists in the application scene, so that the wireless local area network sensing can be realized.
In one embodiment of the present application, an AP may send first CSI sample data to an execution body of the embodiment of the present application every time a preset period passes, where the execution body of the embodiment of the present application may cache the first CSI sample data sent each time, and may also cache an autocorrelation value of the first CSI data calculated based on the first CSI sample data fed back each time. When the time length of the sensing configuration arrives, the execution body of the embodiment of the application calculates the average value of the autocorrelation values of the first CSI sample data each time based on the cached data, and determines a sensing threshold value based on the calculated average value.
In one case, the sensing threshold may be a product of an average value of autocorrelation values of the first CSI sample data and a predetermined multiple. The preset multiple is larger than 1, so that the calculated result is larger than the average value of the autocorrelation values, and the loss of the autocorrelation values by the interference signals in the application scene is eliminated. Then u=m×f, U is a sensing threshold, M is an average value of autocorrelation values, and F is a preset multiple. For example, the value of F may be 1.2 or 1.5.
In another case, since the average value of the autocorrelation values of the first CSI sample data may be smaller, the result obtained by multiplying the average value of the autocorrelation values by the preset multiple is still smaller, and the difference between the result and the average value of the autocorrelation values is not large, and the loss caused by the interference signal still cannot be eliminated. The sum of the average value of the autocorrelation values and the preset accumulation value can also be used as the perception threshold. Then u=m+offset, which is a preset accumulated value, for example, the preset accumulated value may be 0.03, 0.05, or the like.
In yet another case, the above step S402 may be implemented by the following step a.
Step A: and selecting the maximum value of the sum of the average value of the autocorrelation values and a preset multiple of the autocorrelation values and the sum of the average value of the autocorrelation values and a preset accumulated value as a perception threshold value, and generating a configuration scheme of wireless local area network perception comprising the perception threshold value.
Because multiplying the average value of the autocorrelation values by a preset multiple, or adding a preset accumulated value to increase the perception threshold to offset the influence of the interference signal on the autocorrelation values, in order to ensure the offset effect, in the embodiment of the application, the product of the average value of the autocorrelation values of the first CSI sample data and the preset multiple and the maximum value of the sum of the average value of the autocorrelation values and the preset accumulated value may be selected as the perception threshold.
From the above, in the embodiment of the present application, the sensing threshold is calculated based on the first CSI sample data collected from the actual application scenario, so that the sensing threshold can reflect the interference situation of the actual application scenario and is more matched with the actual application scenario, thereby solving the problem that the sensing threshold selected in the related art is not matched with the application scenario. And the automatic determination of the perception threshold value can be realized aiming at different application scenes.
S403: for each subcarrier of the wireless local area network device, respectively calculating first variances of magnitudes of channel state information sample data corresponding to the subcarrier in the first channel state information sample data in different time periods, and calculating first average values of the first variances of the subcarrier; selecting a first subcarrier with the sensitivity degree to noise lower than a first preset degree as a subcarrier for wireless local area network sensing based on a first average value of each subcarrier; generating a configuration scheme including information of the first sub-carrier.
In one embodiment of the present application, for each subcarrier, the execution body of the embodiment of the present application may calculate, after receiving the first CSI sample data in a period of time, a first variance of an amplitude of the CSI sample data corresponding to the subcarrier in the first CSI sample data, and finally obtain a variance sequence, where the variance sequence may be named as a variance sequence X. And then calculating the mean value of all the first variances in the variance sequence X to obtain a first mean value.
In another embodiment of the present application, for each subcarrier, the execution body of the embodiment of the present application may store, after each time the first CSI sample data in a period of time is received, an amplitude of CSI sample data corresponding to the subcarrier in the first CSI sample data in the period of time, to obtain a sample data sequence. And then, calculating a first mean value of a first variance of the amplitude of the CSI sample data corresponding to the subcarrier in the first CSI sample data in different time periods.
Referring to fig. 5, a schematic diagram of a first average value of a subcarrier according to an embodiment of the present application is provided.
The abscissa in the figure is the number of different subcarriers, and the ordinate is the first average. The figure contains the first average value corresponding to 256 subcarriers, and as can be seen from the figure, the first average value of subcarriers after the number 125 is larger. Particularly the first average of the sub-carriers numbered 125, 130, 158, 236 is particularly prominent.
For a subcarrier, the larger the first average value corresponding to the subcarrier is, the larger the amplitude fluctuation of the CSI sample data of the subcarrier is. Since the first CSI sample data is acquired without moving objects, the amplitude fluctuations of the CSI sample data should be mainly affected by the interference signals in the application scenario. That is, the larger the first average value, the more susceptible the subcarrier to interference signals, and the higher the sensitivity to noise. Conversely, the less sensitive the subcarrier to noise is indicated. Therefore, the first subcarrier having the sensitivity level lower than the first preset level can be selected based on the first average value.
For example, as can be seen from the data shown in fig. 5, subcarriers No. 1 to 124 are relatively less sensitive to noise, and subcarriers No. 125 to 256 are relatively more sensitive to noise.
In one embodiment of the present application, a fixed first average threshold may be preset, and a subcarrier with a corresponding first average value lower than the first average threshold may be selected as the first subcarrier.
In another embodiment of the present application, a first preset number of first subcarriers may be preset, and a first preset number of subcarriers with the lowest first average value may be selected as the first subcarriers.
In yet another embodiment of the present application, the first subcarrier may be selected through step S403A-step S403B shown in fig. 10 below, which is not described in detail herein.
The information of the first subcarrier may be an identification of the first subcarrier, and the identification may be, for example, a number, a name, or the like of the first subcarrier.
In addition, before step S403 is performed, for the subcarriers where the first CSI sample data is not acquired, the subcarriers may be directly removed, and the selection of the first subcarriers is not participated.
As can be seen from the above, in the embodiment of the present application, the first subcarrier having a sensitivity level to noise lower than the first preset level may be selected as the subcarrier for performing the wlan sensing.
S404: for each two antennas of the wireless local area network equipment, calculating conjugate products of channel state information sample data corresponding to the two antennas in the first channel state information sample data to obtain channel state information sequences, and calculating phase differences of the channel state information sequences of the two antennas; selecting two antennas for wireless local area network sensing based on the average value of the phase difference sequences of the channel state information sequences after the conjugate product is carried out between every two antennas; a configuration scheme is generated that contains information for the selected antenna.
Specifically, in the embodiment of the application, any two antennas of the wireless local area network device are used as alternative antennas for wireless local area network sensing, and the average value of the phase difference sequence of the CSI sequence after the conjugate product is carried out between the two antennas is calculated.
The CSI sample data corresponding to each antenna may be recorded in a matrix, each row of the matrix corresponds to a subcarrier, each column corresponds to a time period, and calculating the conjugate product of the CSI sample data of two antennas is equivalent to multiplying the data of the two antennas on the same subcarrier in the same time period, respectively, to obtain the CSI sequence. And then calculating the phase of the CSI sequence, namely the phase difference between two antennas, and calculating the phase difference of the CSI sequence to obtain a phase difference sequence. The mean value of the data in the phase difference sequence is then calculated.
Since the smaller the average value of the phase difference is, the more stable the phase difference between the two antennas is, and the more suitable for wireless local area network sensing is, in one embodiment of the present application, an antenna pair with the average value of the phase difference smaller than a preset average value can be selected as an antenna pair for wireless local area network sensing.
In the case where the phase calibration of the wireless lan device is performed based on a preset reference antenna, the selected antenna pair needs to include the preset reference antenna. Compared with the related art, the antenna selected in the embodiment of the application comprises the preset reference antenna, so that the phase stability among the antennas can be ensured, and the sensing accuracy of the wireless local area network can be ensured.
In another embodiment of the present application, two antennas for wlan sensing may also be selected through the following step B.
And (B) step (B): and selecting two antennas with the minimum average value of the phase difference sequences of the CSI sequences after conjugate products as two main selection antennas for wireless local area network sensing.
The smaller the average value of the phase difference sequence is, the more stable the phase difference between the two antennas is, so in the embodiment of the application, the two antennas with the smallest average value of the phase difference sequence can be selected for wireless local area network sensing.
In the case where the phase calibration of the wireless lan device described above is performed based on a preset reference antenna, step B is implemented by the following step B1.
Step B1: and selecting the two antennas with the minimum average value of the phase difference sequences of the CSI sequences after conjugate multiplication in the two antennas comprising the reference antenna as two main selection antennas for performing wireless local area network sensing.
For example, there are 4 antennas, namely, antenna 1, antenna 2, antenna 3 and antenna 4, respectively, where antenna 1 is the reference antenna, and the selected main antenna needs to include antenna 1. Therefore, when selecting the main selection antenna, a combination of two antennas with the smallest average value of the phase difference sequences of the CSI sequences after the conjugate product is selected from the combination of the antennas 1 and 2, the combination of the antennas 1 and 3, and the combination of the antennas 1 and 4 as the main selection antenna.
As can be seen from the above, compared with the related art, in the embodiment of the present application, when selecting an antenna for performing wlan sensing, not only the antenna closest to the antenna is selected as the antenna combination. In the embodiment of the application, the antenna for performing wireless local area network sensing is selected from all possible antenna combinations according to the average value of the phase difference of any two antennas, so that the selected result has better effect compared with the related technology.
In the embodiment of the application, the configuration scheme perceived by the wireless local area network is generated through the first CSI sample data acquired by the AP in the actual application scene, and the configuration scheme generated based on the first CSI sample data can be matched with the application scene because the first CSI sample data can reflect the environmental information of the application scene. And the configuration scheme generated in the embodiment of the application comprises at least one of a perception threshold value, subcarrier selection and antenna selection, so that the generated configuration scheme is more comprehensive. Therefore, the embodiment of the application can automatically generate the configuration scheme matched with the application scene without manual adjustment, thereby reducing the workload of staff, having high generation efficiency of the configuration scheme and reducing the technical requirements of wireless local area network sensing configuration on the staff and maintainers.
Referring to fig. 6, an interaction schematic diagram of a wireless local area network sensing flow is provided in an embodiment of the present application. The method comprises the following steps of C1-C10, wherein the steps of C1-C2 are processes for initiating configuration, the steps of C3-C8 are processes for generating a configuration scheme, and the steps of C9-C10 are processes for sensing a wireless local area network.
Step C1: the perception application platform sends a perception configuration message to the perception server.
Step C2: the aware application platform sends a aware configuration message to the wireless access point.
Step C3, step C4, step C6: the wireless access point transmits first channel state information sample data to the perception server.
The AP continues to send the first CSI sample data to the sensing server.
Starting from the moment when the sensing server receives the sensing configuration message to the moment when the AP transmits the first CSI sample data to the sensing server for the last time, the sensing configuration time period is the time length of which is equal to the time length carried in the sensing configuration message.
The sensing server is provided with a buffer queue for storing the received first CSI sample data, and each time the AP reports the first CSI sample data, a group of data is added in the buffer queue, and each group of data is numbered 1-N.
Step C6 is that the wireless access point reports the first channel state information sample data to the perception server for the last time, and then the perception server generates a configuration scheme.
Step C5, step C7: the perception application platform periodically sends a query request to the perception server.
The perception application platform sends a query request to the perception server to request the perception server to feed back the generation result of the configuration scheme perceived by the wireless local area network.
Since the configuration scheme has been generated by the perception server when step C7 is performed, the perception server performs step C8 after receiving the query request sent to the perception server by the perception application platform in step C7.
Step C8: the perception server sends the configuration scheme to the perception application platform.
After the configuration scheme is generated, wireless local area network sensing can be started, namely, steps C9-C10 are executed.
Step C9: the wireless access point reports the acquired channel state information data to the perception server.
Step C10: the perception server sends the perception result generated based on the channel state information data to the perception application platform.
Referring to fig. 7, a flowchart of a second method for generating a wlan awareness configuration scheme according to an embodiment of the present application further includes the following steps S405 to S407 after step S402, compared to the embodiment shown in fig. 4.
S405: and receiving new first channel state information sample data acquired by the wireless access point under the condition that no moving object exists in the application scene.
S406: a new perceptual threshold is calculated based on the mean of the autocorrelation values of the new first channel state information sample data.
Specifically, the implementation manners of step S405 to step S406 are the same as those of the foregoing step S401 to step S402, and the difference is that only the data processed herein is new first CSI sample data, which is not described herein again.
S407: and if the absolute value of the difference value between the new perception threshold and the previous perception threshold is smaller than the preset absolute value, updating the perception threshold in the configuration scheme into the new perception threshold.
Specifically, if the absolute value of the difference between the new sensing threshold and the previous sensing threshold is smaller than the preset absolute value, the change of the sensing threshold is smaller. At this time, the perception threshold may be updated to a new perception threshold, so that the perception threshold matches with the actual change of the application scene. Otherwise, the fact that the change of the sensing threshold value is large indicates that errors may occur in the updating process of the sensing threshold value, and at the moment, the sensing threshold value is not updated.
In one embodiment of the present application, the above steps S405 to S407 may be performed cyclically, for example, may be performed every day, every three days, or a fixed period of time every week. For example, if the application scene is a classroom, the method can be executed at a time when there is a low possibility of moving objects at two, three, etc. early morning of each day.
From the above, in the embodiment of the present application, the sensing threshold may be updated to ensure that the sensing threshold matches with the actual situation of the application scenario.
Referring to fig. 8, a flowchart of a third method for generating a wlan-aware configuration scheme according to an embodiment of the present application further includes the following steps S408-S411 after step S403, compared to the embodiment shown in fig. 4.
S408: and receiving second channel state information sample data acquired by the wireless access point under the condition that a moving object exists in the application scene.
Specifically, after the first subcarrier is selected, actual wireless local area network sensing based on the first subcarrier can be started, and the second CSI sample data is CSI data acquired by the AP when the wireless local area network sensing is actually performed.
S409: and respectively calculating second variances of the amplitudes of the channel state information sample data corresponding to the target subcarriers in the second channel state information sample data in different time periods aiming at each target subcarrier of the wireless local area network equipment, and calculating second average values of the second variances of the target subcarriers.
Wherein the target subcarrier is all subcarriers or the first subcarrier.
Specifically, the implementation manner of the step S409 is the same as that of the step S403, and the difference is that only the first CSI sample data is processed in the step S403, and the second CSI sample data is processed in the step S409, which is not described herein.
In addition, if the target subcarriers are only the first subcarriers but not all the subcarriers, the number of the target subcarriers is smaller, and the number of the second average values to be calculated is smaller, so that the generation speed of the configuration scheme perceived by the wireless local area network can be increased.
S410: and selecting a second subcarrier with the sensitivity degree to the moving object higher than a second preset degree based on a second average value of each target subcarrier, and taking a third subcarrier in the intersection of the first subcarrier and the second subcarrier as a subcarrier for performing wireless local area network sensing.
Since the second CSI sample data is collected under the condition that a moving object exists in the application scene, the amplitude fluctuation of the second CSI sample data is affected by the moving object in the application scene. The greater the influence of the moving object on the subcarrier, the greater the fluctuation of the amplitude of the second CSI sample data, the greater the second mean of the second variance of the amplitude. Therefore, the second sub-carrier with the sensitivity degree to the moving object higher than the second preset degree can be selected based on the second average value.
In one embodiment of the present application, a fixed second average threshold may be preset, and a second subcarrier with a corresponding second average value higher than the second average threshold may be selected.
In another embodiment of the present application, a second preset number of second subcarriers may be preset, and a second preset number of subcarriers with the highest second average value may be selected as the second subcarriers.
In yet another embodiment of the present application, the second subcarrier may be selected by the following steps E-F.
Step E: a first variance threshold is determined based on a maximum and a minimum of the second average of each target subcarrier.
Wherein the first variance threshold is located between a maximum value and a minimum value of the second average.
In one embodiment of the present application, the first variance threshold may be any value between the maximum value and the minimum value of the second average, such as the average of the maximum value and the minimum value, or any value other than the maximum value and the minimum value in the second average, and so on.
In another embodiment of the present application, the first variance threshold may be calculated based on the following formula.
Wherein,As a first variance threshold value, a second variance threshold value,Is the minimum value of the second mean value,At the maximum value of the second average value,For the preset second parameter, the second parameter is smaller than 1, for example, the second parameter may be 1/3, 1/4, etc.
Referring to fig. 9, a schematic diagram of a second average value of a subcarrier according to an embodiment of the present application is provided.
The abscissa in the figure is the number of different subcarriers, and the ordinate is the second average. The figure contains the first average value corresponding to 256 subcarriers, and as can be seen from the figure, the second average value of subcarriers after number 125 is larger. The dashed line in the figure represents the first variance threshold.
Step F: and selecting the target sub-carrier with the second mean value higher than the first variance threshold as a second sub-carrier with the sensitivity degree to the moving object higher than a second preset degree.
Because the higher the second mean value is, the more the subcarrier is affected by the moving object and is more sensitive to the moving object, the target subcarrier with the second mean value higher than the first variance threshold value is selected as the second subcarrier, so that the sensitivity degree of the selected second subcarrier to the moving object is higher than a second preset degree.
In addition, if the target subcarrier is the first subcarrier, the third subcarrier is the subcarrier in the second subcarrier. If the target subcarrier is all subcarriers, the third subcarrier is a subcarrier in the intersection of the first subcarrier and the second subcarrier.
Because the more subcarriers are used when the wireless local area network sensing is performed, the more accurate the wireless local area network sensing result is theoretically obtained, if a plurality of subcarriers exist in the intersection of the first subcarrier and the second subcarrier, the plurality of subcarriers in the intersection can be used as the third subcarrier, so that the better wireless local area network sensing effect is achieved.
However, if there is a need to select one subcarrier in the intersection as the third subcarrier, the one subcarrier may be randomly selected from the intersection of the first subcarrier and the second subcarrier as the third subcarrier; or the subcarrier with the largest second mean value in the intersection can be used as a third subcarrier; or the subcarrier with the smallest first mean value in the intersection may be selected as the third subcarrier. The selection of a third subcarrier can theoretically also accomplish wlan awareness.
S411: generating a configuration scheme including information of the third sub-carrier.
The information of the third subcarrier may be an identifier of the third subcarrier, for example, the identifier may be a number, a name, etc. of the third subcarrier.
From the above, the third subcarrier selected in the embodiment of the present application is a subcarrier in the intersection of the first subcarrier and the second subcarrier, so that the selected third subcarrier is not only insensitive to noise, but also sensitive to a moving object, and therefore, the wireless local area network sensing is performed based on CSI data corresponding to the third subcarrier, so that the sensing result can be ensured to be less influenced by noise, and the situation of the moving object can be accurately reflected.
Referring to fig. 10, a flowchart of a fourth method for generating a wlan-aware configuration scheme according to an embodiment of the present application, compared to the embodiment shown in fig. 4, the above step S403 may be implemented by the following steps S403A to S403B.
S403A: a second variance threshold is determined based on the maximum and minimum values in the first mean of each subcarrier.
The second variance threshold is located between a maximum value and a minimum value of the first mean.
In one embodiment of the present application, the second variance threshold may be any value between the maximum value and the minimum value of the first average, such as the average of the maximum value and the minimum value, or any value other than the maximum value and the minimum value in the first average, and so on.
In another embodiment of the present application, the second variance threshold may be calculated based on the following formula.
Wherein,As a second variance threshold value, the first variance threshold value,Is the minimum value of the first mean value,At the maximum value of the first mean value,For the preset first parameter, the first parameter is smaller than 1, for example, the first parameter may be 2/3, 3/4, etc. The first parameter may be the same as or different from the second parameter.
S403B: selecting the sub-carrier with the first mean value lower than the second variance threshold as the sub-carrier with the sensitivity degree to noise lower than the first preset degree as the first sub-carrier for wireless local area network sensing; generating a configuration scheme including information of the first sub-carrier.
Because the higher the first mean value is, the larger the influence of noise on the subcarrier is, the more sensitive to the noise is, and the subcarrier with the first mean value lower than the second variance threshold value is selected as the first subcarrier, so that the sensitivity degree of the selected first subcarrier to the moving object is lower than a first preset degree.
From the above, in the embodiment of the present application, the second variance threshold is calculated based on the maximum value and the minimum value of the first mean value, so that the selection of the second variance threshold is adapted to the actual value of the first mean value, so that the first subcarrier selected based on the second variance threshold is matched with the actual situation, and is more accurate.
In a further embodiment of the present application, the following step G is also performed after the above step B.
Step G: and selecting two antennas with small average times of the phase difference sequences of the CSI sequences after conjugate products as two secondary selected antennas.
Wherein, the secondary antenna is: an antenna for wireless local area network sensing, which is used when at least one of the main selection antennas is abnormal and neither of the two sub selection antennas is abnormal.
In addition, if the phase calibration of the wireless local area network device is performed based on a preset reference antenna, the two selected sub-selected antennas are two antennas with the smaller average value of the phase difference sequences of the CSI sequences after the conjugate product is performed in the two antennas including the reference antenna.
For example, there are 4 antennas, antenna 1, antenna 2, antenna 3, and antenna 4, respectively, where antenna 1 is the reference antenna, and the selected sub-selected antenna needs to include antenna 1. Therefore, when selecting the sub-selected antenna, a combination of two antennas with the smallest average value of the phase difference sequence of the CSI sequence after the conjugate product is selected from the combination of the antenna 1 and the antenna 2, the combination of the antenna 1 and the antenna 3, and the combination of the antenna 1 and the antenna 4 as the sub-selected antenna.
In one embodiment of the present application, if at least one of the main selected antennas is abnormal, the sub selected antennas may be used for wireless local area network sensing, and if at least one of the sub selected antennas is abnormal, the main selected antennas may be used again for wireless local area network sensing.
The anomaly of the antenna may be detected manually or by an embodiment as shown in fig. 11 below, which is not described in detail herein.
As can be seen from the above, in the embodiment of the present application, the alternative antennas are selected in addition to the main selection antennas, so that when at least one of the main selection antennas is abnormal, the CSI data of the alternative antennas can be used to continue to perform the wlan sensing.
Referring to fig. 11, a flowchart of a determination method of an abnormal antenna according to an embodiment of the present application includes the following steps S1101 to S1104.
S1101: and receiving second channel state information sample data acquired by the wireless access point under the condition that a moving object exists in the application scene.
S1102: and calculating a third average value of the amplitude values of the channel state information sample data corresponding to each antenna in the second channel state information sample data.
S1103: an anomaly threshold value is calculated based on the third mean value for each antenna.
Specifically, the anomaly threshold value may be a median value, an average value, or the like of the third average value of each antenna.
Or an average value of the third average value of each antenna may be calculated, and then multiplied by the third parameter to obtain the anomaly threshold value. The third parameter is greater than 0 and less than 1, e.g., the third parameter may be 0.6, 0.7, etc.
S1104: and determining the antenna with the third average value smaller than the abnormality threshold as the antenna with the abnormality.
Specifically, the abnormality of the antenna may be caused by the breakage of the external antenna or the change of the polarization direction.
From the above, the embodiment of the application can automatically realize the detection of the abnormal antenna, thereby locating the abnormality in time when the antenna is abnormal and adopting the abnormality processing mechanism for maintenance.
Corresponding to the method for generating the wireless local area network sensing configuration scheme, the embodiment of the application also provides a device for generating the wireless local area network sensing configuration scheme.
Referring to fig. 12, a schematic structural diagram of a wireless local area network aware configuration scheme generating device is provided in an embodiment of the present application, where the device includes:
A first data receiving module 1201, configured to receive first channel state information CSI sample data acquired by a wireless access point AP under a situation that there is no moving object in an application scenario;
Executing at least one of the following modules to generate a configuration scheme perceived by the wireless local area network:
A perception threshold generation module 1202, configured to generate a configuration scheme of wireless local area network perception including a perception threshold based on a mean value of autocorrelation values of the first CSI sample data, where the perception threshold is used to determine whether a moving object exists in a process of wireless local area network perception;
A first subcarrier selection module 1203, configured to, for each subcarrier of the wireless lan device, calculate first variances of magnitudes of CSI sample data corresponding to the subcarrier in the first CSI sample data in different time periods, and calculate first average values of the first variances of the subcarriers; selecting a first subcarrier with the sensitivity degree to noise lower than a first preset degree as a subcarrier for wireless local area network sensing based on a first average value of each subcarrier; generating a configuration scheme containing information of the first sub-carrier;
An antenna selection module 1204, configured to calculate, for each two antennas of the wireless local area network device, a conjugate product of CSI sample data corresponding to the two antennas in the first CSI sample data, obtain CSI sequences, and calculate phase differences of the CSI sequences of the two antennas; selecting two antennas for wireless local area network sensing based on the average value of the phase difference sequences of the CSI sequences after the conjugate product of every two antennas; a configuration scheme is generated that contains information for the selected antenna.
In the embodiment of the application, the configuration scheme perceived by the wireless local area network is generated through the first CSI sample data acquired by the AP in the actual application scene, and the configuration scheme generated based on the first CSI sample data can be matched with the application scene because the first CSI sample data can reflect the environmental information of the application scene. And the configuration scheme generated in the embodiment of the application comprises at least one of a perception threshold value, subcarrier selection and antenna selection, so that the generated configuration scheme is more comprehensive. Therefore, the embodiment of the application can automatically generate the configuration scheme matched with the application scene without manual adjustment, thereby reducing the workload of staff, having high generation efficiency of the configuration scheme and reducing the technical requirements of wireless local area network sensing configuration on the staff and maintainers.
In one embodiment of the present application, the perception threshold generation module 1202 is specifically configured to:
And selecting the product of the average value of the autocorrelation values of the first CSI sample data and a preset multiple and the maximum value of the sum of the average value of the autocorrelation values and a preset accumulated value as a perception threshold, and generating a configuration scheme of wireless local area network perception containing the perception threshold.
In one embodiment of the application, the apparatus further comprises:
the second data receiving module is used for receiving new first CSI sample data acquired by the AP under the condition that no moving object exists in an application scene;
a perception threshold calculation module, configured to calculate a new perception threshold based on a mean value of autocorrelation values of the new first CSI sample data;
and the perception threshold updating module is used for updating the perception threshold in the configuration scheme into a new perception threshold if the absolute value of the difference value between the new perception threshold and the previous perception threshold is smaller than the preset absolute value.
In one embodiment of the application, the apparatus further comprises:
the third data receiving module is used for receiving second CSI sample data acquired by the AP under the condition that a moving object exists in the application scene;
A second mean value calculating module, configured to calculate, for each target subcarrier of the wireless local area network device, second variances of magnitudes of CSI sample data corresponding to the target subcarrier in the second CSI sample data in different time periods, and calculate second mean values of the second variances of the target subcarrier, where the target subcarrier is all subcarriers or the first subcarrier;
a third subcarrier selection module, configured to select, based on a second average value of each target subcarrier, a second subcarrier having a sensitivity degree to a moving object higher than a second preset degree, and use a third subcarrier in an intersection of the first subcarrier and the second subcarrier as a subcarrier for performing wireless local area network sensing;
and the first configuration scheme generating module is used for generating a configuration scheme containing the information of the third sub-carrier.
In one embodiment of the present application, the third subcarrier selection module is specifically configured to:
determining a first variance threshold based on a maximum value and a minimum value of a second average value of each target subcarrier, the first variance threshold being located between the maximum value and the minimum value of the second average value;
selecting a target subcarrier with a second mean value higher than the first variance threshold as a second subcarrier with a sensitivity degree to a moving object higher than a second preset degree;
And taking the third subcarrier as a subcarrier for performing wireless local area network sensing.
In one embodiment of the present application, the first subcarrier selection module 1203 is specifically configured to:
for each subcarrier of the wireless local area network equipment, respectively calculating first variances of amplitudes of CSI sample data corresponding to the subcarrier in the first CSI sample data in different time periods, and calculating first average values of the first variances of the subcarriers;
Determining a second variance threshold based on a maximum value and a minimum value in a first mean value of each subcarrier, wherein the second variance threshold is positioned between the maximum value and the minimum value of the first mean value;
and selecting the sub-carrier with the first mean value lower than the second variance threshold as a first sub-carrier with the sensitivity degree to noise lower than a first preset degree, and using the first sub-carrier as a sub-carrier for wireless local area network sensing.
In one embodiment of the present application, the antenna selection module 1204 includes:
The phase difference calculation sub-module is used for calculating the conjugate product of the CSI sample data corresponding to each two antennas in the first CSI sample data aiming at each two antennas of the wireless local area network equipment to obtain the CSI sequences, and calculating the phase difference of the CSI sequences of the two antennas;
The main selection antenna selection sub-module is used for selecting two antennas with the minimum average value of the phase difference sequences of the CSI sequences after conjugate multiplication as two main selection antennas for performing wireless local area network sensing;
A configuration scheme generation sub-module for generating a configuration scheme containing information of the selected antenna.
In one embodiment of the present application, in a case where the phase calibration of the wireless lan device is performed based on a preset reference antenna, the main selection antenna selecting sub-module is specifically configured to:
And selecting two antennas with the smallest average value of the phase difference sequences of the CSI sequences after conjugate multiplication in the two antennas comprising the reference antenna as two main selection antennas for performing wireless local area network sensing.
In one embodiment of the present application, the antenna selection module 1204 further includes:
The secondary selection antenna selection sub-module is used for selecting two antennas with small average value of the phase difference sequence of the CSI sequence after conjugate product as two secondary selection antennas, wherein the secondary selection antennas are: and the antenna is used for performing wireless local area network sensing when at least one of the main selected antennas is abnormal and neither of the two sub selected antennas is abnormal.
In one embodiment of the application, the antenna that is experiencing an anomaly is determined by the following modules:
A fourth data receiving module, configured to receive second CSI sample data collected by an AP when a moving object exists in the application scenario;
a third mean value calculation module, configured to calculate a third mean value of magnitudes of CSI sample data corresponding to each antenna in the second CSI sample data;
an abnormal threshold calculation module, configured to calculate an abnormal threshold based on a third average value of each antenna;
And the abnormal antenna determining module is used for determining the antenna with the third average value smaller than the abnormal threshold value as the antenna with the abnormality.
Corresponding to the method for generating the wireless local area network aware configuration scheme, the embodiment of the application also provides equipment for generating the wireless local area network aware configuration scheme.
Referring to fig. 13, an embodiment of the present application provides a schematic structural diagram of a wireless local area network aware configuration scheme generating device, where the device includes:
a processor 1301;
A transceiver 1304;
a machine-readable storage medium 1302, the machine-readable storage medium storing 1302 machine-executable instructions executable by the processor 1301; the machine-executable instructions cause the processor to perform the steps of:
Receiving first Channel State Information (CSI) sample data acquired by a wireless Access Point (AP) under the condition that no moving object exists in an application scene;
at least one of the following steps is executed to generate a configuration scheme perceived by the wireless local area network:
Generating a configuration scheme of wireless local area network perception containing a perception threshold based on the average value of the autocorrelation values of the first CSI sample data, wherein the perception threshold is used for judging whether a moving object exists in the wireless local area network perception process;
For each subcarrier of the wireless local area network equipment, respectively calculating first variances of amplitudes of CSI sample data corresponding to the subcarrier in the first CSI sample data in different time periods, and calculating first average values of the first variances of the subcarriers; selecting a first subcarrier with the sensitivity degree to noise lower than a first preset degree as a subcarrier for wireless local area network sensing based on a first average value of each subcarrier; generating a configuration scheme containing information of the first sub-carrier;
For each two antennas of the wireless local area network equipment, calculating conjugate products of the CSI sample data corresponding to the two antennas in the first CSI sample data to obtain CSI sequences, and calculating phase differences of the CSI sequences of the two antennas; selecting two antennas for wireless local area network sensing based on the average value of the phase difference sequences of the CSI sequences after conjugate products are carried out between every two antennas; a configuration scheme is generated that contains information for the selected antenna.
As shown in fig. 13, the network device may also include a communication bus 1303. The processor 1301, machine-readable storage medium 1302, and transceiver 1304 communicate with each other via a communication bus 1303, where the communication bus 1303 may be a peripheral component interconnect (PERIPHERAL COMPONENT INTERCONNECT, PCI) bus, or an extended industry standard architecture (Extended Industry Standard Architecture, EISA) bus, among others. The communication bus 1303 may be classified into an address bus, a data bus, a control bus, and the like.
The transceiver 1304 may be a wireless communication module, and the transceiver 1304 performs data interaction with other devices under the control of the processor 1301.
The machine-readable storage medium 1302 may include random access Memory (Random Access Memory, RAM) or may include Non-Volatile Memory (NVM), such as at least one disk Memory. Additionally, the machine-readable storage medium 1302 may also be at least one storage device located remotely from the aforementioned processor.
Processor 1301 may be a general purpose processor including a central processing unit (Central Processing Unit, CPU), a network processor (Network Processor, NP), etc.; but may also be a digital signal processor (DIGITAL SIGNAL Processing, DSP), application SPECIFIC INTEGRATED Circuit (ASIC), field-Programmable gate array (Field-Programmable GATE ARRAY, FPGA) or other Programmable logic device, discrete gate or transistor logic device, discrete hardware components.
In the embodiment of the application, the configuration scheme perceived by the wireless local area network is generated through the first CSI sample data acquired by the AP in the actual application scene, and the configuration scheme generated based on the first CSI sample data can be matched with the application scene because the first CSI sample data can reflect the environmental information of the application scene. And the configuration scheme generated in the embodiment of the application comprises at least one of a perception threshold value, subcarrier selection and antenna selection, so that the generated configuration scheme is more comprehensive. Therefore, the embodiment of the application can automatically generate the configuration scheme matched with the application scene without manual adjustment, thereby reducing the workload of staff, having high generation efficiency of the configuration scheme and reducing the technical requirements of wireless local area network sensing configuration on the staff and maintainers.
In one embodiment of the present application, the generating a configuration scheme of wireless local area network awareness including a awareness threshold based on the average value of the autocorrelation values of the first CSI sample data includes:
And selecting the product of the average value of the autocorrelation values of the first CSI sample data and a preset multiple and the maximum value of the sum of the average value of the autocorrelation values and a preset accumulated value as a perception threshold, and generating a configuration scheme of wireless local area network perception containing the perception threshold.
In one embodiment of the application, the machine-executable instructions further cause the processor to, after generating the wireless local area network aware configuration scheme including a awareness threshold based on the average of the autocorrelation values of the first CSI sample data, further perform the steps of:
receiving new first CSI sample data acquired by the AP under the condition that no moving object exists in an application scene;
Calculating a new perception threshold based on the mean value of the autocorrelation values of the new first CSI sample data;
And if the absolute value of the difference value between the new perception threshold and the previous perception threshold is smaller than the preset absolute value, updating the perception threshold in the configuration scheme into the new perception threshold.
In one embodiment of the application, the machine-executable instructions further cause the processor to, after the generating the configuration scheme containing the information of the first sub-carrier, further perform the steps of:
receiving second CSI sample data acquired by an AP under the condition that a moving object exists in the application scene;
For each target subcarrier of the wireless local area network device, respectively calculating second variances of amplitudes of CSI sample data corresponding to the target subcarrier in the second CSI sample data in different time periods, and calculating second average values of the second variances of the target subcarrier, wherein the target subcarrier is all subcarriers or the first subcarrier;
selecting a second subcarrier with the sensitivity degree to the moving object higher than a second preset degree based on a second average value of each target subcarrier, and taking a third subcarrier in the intersection of the first subcarrier and the second subcarrier as a subcarrier for performing wireless local area network sensing;
Generating a configuration scheme containing information of the third sub-carrier.
In one embodiment of the present application, the selecting, based on the second average value of each target subcarrier, a second subcarrier having a sensitivity level to the moving object higher than a second preset level includes:
determining a first variance threshold based on a maximum value and a minimum value of a second average value of each target subcarrier, the first variance threshold being located between the maximum value and the minimum value of the second average value;
And selecting a target subcarrier with a second mean value higher than the first variance threshold as a second subcarrier with a sensitivity degree to the moving object higher than a second preset degree.
In one embodiment of the present application, the selecting, based on the first average value of each subcarrier, the first subcarrier having a sensitivity level to noise lower than the first preset level includes:
Determining a second variance threshold based on a maximum value and a minimum value in a first mean value of each subcarrier, wherein the second variance threshold is positioned between the maximum value and the minimum value of the first mean value;
And selecting the sub-carriers with the first mean value lower than the second variance threshold as first sub-carriers with the sensitivity degree to noise lower than a first preset degree.
In one embodiment of the present application, the selecting two antennas for performing wlan sensing based on the average value of the phase difference sequences of the CSI sequences obtained by performing conjugate multiplication on each two antennas includes:
and selecting the two antennas with the smallest average value of the phase difference as the two main selection antennas for performing wireless local area network sensing.
In one embodiment of the present application, when the phase calibration of the wlan device is performed based on a preset reference antenna, the selecting two antennas with the smallest average value of the phase difference sequences of the CSI sequences after the conjugate product, as two main selection antennas for performing wlan sensing, includes:
And selecting two antennas with the smallest average value of the phase difference sequences of the CSI sequences after conjugate multiplication in the two antennas comprising the reference antenna as two main selection antennas for performing wireless local area network sensing.
In one embodiment of the application, the machine executable instructions cause the processor 1301 to further perform the steps of:
Selecting two antennas with small average times of phase difference sequences of the CSI sequences after conjugate products as two sub-selected antennas, wherein the sub-selected antennas are: and the antenna is used for performing wireless local area network sensing when at least one of the main selected antennas is abnormal and neither of the two sub selected antennas is abnormal.
In one embodiment of the present application, an antenna in which an abnormality occurs is determined by:
receiving second CSI sample data acquired by an AP under the condition that a moving object exists in the application scene;
calculating a third average value of the amplitude values of the CSI sample data corresponding to each antenna in the second CSI sample data;
calculating an anomaly threshold based on the third mean value for each antenna;
And determining the antenna with the third average value smaller than the abnormality threshold as the antenna with the abnormality.
In yet another embodiment of the present application, there is also provided a computer readable storage medium having stored therein a computer program which when executed by a processor implements the steps of any of the wireless local area network aware configuration scheme generation methods described above.
In yet another embodiment of the present application, there is also provided a computer program product containing instructions that, when run on a computer, cause the computer to perform any of the wireless local area network aware configuration scheme generation methods of the above embodiments.
In the above embodiments, it may be implemented in whole or in part by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When loaded and executed on a computer, produces a flow or function in accordance with embodiments of the present application, in whole or in part. The computer may be a general purpose computer, a special purpose computer, a computer network, or other programmable apparatus. The computer instructions may be stored in or transmitted from one computer-readable storage medium to another, for example, by wired (e.g., coaxial cable, optical fiber, digital Subscriber Line (DSL)), or wireless (e.g., infrared, wireless, microwave, etc.). The computer readable storage medium may be any available medium that can be accessed by a computer or a data storage device such as a server, data center, etc. that contains an integration of one or more available media. The usable medium may be a magnetic medium (e.g., floppy disk, hard disk, tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., solid state disk Solid STATE DISK (SSD)), etc.
It is noted that relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Moreover, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
In this specification, each embodiment is described in a related manner, and identical and similar parts of each embodiment are all referred to each other, and each embodiment mainly describes differences from other embodiments. In particular, for apparatus, devices, computer readable storage medium and computer program product embodiments, the description is relatively simple as it is substantially similar to method embodiments, as relevant points are found in the partial description of method embodiments.
The foregoing description is only of the preferred embodiments of the present application and is not intended to limit the scope of the present application. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application are included in the protection scope of the present application.
Claims (13)
1. A method for generating a wireless local area network aware configuration scheme, the method comprising:
Receiving first Channel State Information (CSI) sample data acquired by a wireless Access Point (AP) under the condition that no moving object exists in an application scene;
at least one of the following steps is executed to generate a configuration scheme perceived by the wireless local area network:
Generating a configuration scheme of wireless local area network perception containing a perception threshold based on the average value of the autocorrelation values of the first CSI sample data, wherein the perception threshold is used for judging whether a moving object exists in the wireless local area network perception process;
For each subcarrier of the wireless local area network equipment, respectively calculating first variances of amplitudes of CSI sample data corresponding to the subcarrier in the first CSI sample data in different time periods, and calculating first average values of the first variances of the subcarriers; selecting a first subcarrier with the sensitivity degree to noise lower than a first preset degree as a subcarrier for wireless local area network sensing based on a first average value of each subcarrier; generating a configuration scheme containing information of the first sub-carrier;
For each two antennas of the wireless local area network equipment, calculating conjugate products of the CSI sample data corresponding to the two antennas in the first CSI sample data to obtain CSI sequences, and calculating phase differences of the CSI sequences of the two antennas; selecting two antennas for wireless local area network sensing based on the average value of the phase difference sequences of the CSI sequences after conjugate products are carried out between every two antennas; a configuration scheme is generated that contains information for the selected antenna.
2. The method of claim 1, wherein the generating a configuration scheme for wireless local area network awareness including a awareness threshold based on the average of the autocorrelation values of the first CSI sample data comprises:
And selecting the product of the average value of the autocorrelation values of the first CSI sample data and a preset multiple and the maximum value of the sum of the average value of the autocorrelation values and a preset accumulated value as a perception threshold, and generating a configuration scheme of wireless local area network perception containing the perception threshold.
3. The method of claim 1, further comprising, after generating the wireless local area network aware configuration scheme including a awareness threshold based on the average of the autocorrelation values of the first CSI sample data:
receiving new first CSI sample data acquired by the AP under the condition that no moving object exists in an application scene;
Calculating a new perception threshold based on the mean value of the autocorrelation values of the new first CSI sample data;
And if the absolute value of the difference value between the new perception threshold and the previous perception threshold is smaller than the preset absolute value, updating the perception threshold in the configuration scheme into the new perception threshold.
4. The method of claim 1, further comprising, after the generating the configuration scheme including the information of the first subcarrier:
receiving second CSI sample data acquired by an AP under the condition that a moving object exists in the application scene;
For each target subcarrier of the wireless local area network device, respectively calculating second variances of amplitudes of CSI sample data corresponding to the target subcarrier in the second CSI sample data in different time periods, and calculating second average values of the second variances of the target subcarrier, wherein the target subcarrier is all subcarriers or the first subcarrier;
selecting a second subcarrier with the sensitivity degree to the moving object higher than a second preset degree based on a second average value of each target subcarrier, and taking a third subcarrier in the intersection of the first subcarrier and the second subcarrier as a subcarrier for performing wireless local area network sensing;
Generating a configuration scheme containing information of the third sub-carrier.
5. The method of claim 4, wherein selecting a second subcarrier having a sensitivity level to the moving object higher than a second preset level based on the second average value of each target subcarrier comprises:
determining a first variance threshold based on a maximum value and a minimum value of a second average value of each target subcarrier, the first variance threshold being located between the maximum value and the minimum value of the second average value;
And selecting a target subcarrier with a second mean value higher than the first variance threshold as a second subcarrier with a sensitivity degree to the moving object higher than a second preset degree.
6. The method of claim 1, wherein selecting a first subcarrier having a sensitivity level to noise lower than a first preset level based on the first average value of each subcarrier comprises:
Determining a second variance threshold based on a maximum value and a minimum value in a first mean value of each subcarrier, wherein the second variance threshold is positioned between the maximum value and the minimum value of the first mean value;
And selecting the sub-carriers with the first mean value lower than the second variance threshold as first sub-carriers with the sensitivity degree to noise lower than a first preset degree.
7. The method according to any one of claims 1-6, wherein selecting two antennas for wlan sensing based on a mean value of a phase difference sequence of CSI sequences after conjugate multiplication between each two antennas comprises:
And selecting two antennas with the minimum average value of the phase difference sequences of the CSI sequences after conjugate products as two main selection antennas for wireless local area network sensing.
8. The method according to claim 7, wherein in the case that the phase calibration of the wireless lan device is performed based on a preset reference antenna, the selecting, as the two main antennas for performing wireless lan sensing, two antennas with the smallest average value of the phase difference sequences of the CSI sequences after the conjugate product comprises:
And selecting two antennas with the smallest average value of the phase difference sequences of the CSI sequences after conjugate multiplication in the two antennas comprising the reference antenna as two main selection antennas for performing wireless local area network sensing.
9. The method of claim 7, wherein the method further comprises:
Selecting two antennas with small average times of phase difference sequences of the CSI sequences after conjugate products as two sub-selected antennas, wherein the sub-selected antennas are: and the antenna is used for performing wireless local area network sensing when at least one of the main selected antennas is abnormal and neither of the two sub selected antennas is abnormal.
10. The method of claim 9, wherein the antenna for which the anomaly occurred is determined by:
receiving second CSI sample data acquired by an AP under the condition that a moving object exists in the application scene;
calculating a third average value of the amplitude values of the CSI sample data corresponding to each antenna in the second CSI sample data;
calculating an anomaly threshold based on the third mean value for each antenna;
And determining the antenna with the third average value smaller than the abnormality threshold as the antenna with the abnormality.
11. A wireless local area network aware configuration scheme generation apparatus, the apparatus comprising:
The first data receiving module is used for receiving first Channel State Information (CSI) sample data acquired by the wireless Access Point (AP) under the condition that no moving object exists in an application scene;
Executing at least one of the following modules to generate a configuration scheme perceived by the wireless local area network:
A perception threshold generating module, configured to generate a configuration scheme of wireless local area network perception containing a perception threshold based on a mean value of autocorrelation values of the first CSI sample data, where the perception threshold is used to determine whether a moving object exists in a process of wireless local area network perception;
The first subcarrier selection module is used for respectively calculating first variances of amplitudes of the CSI sample data corresponding to the subcarriers in the first CSI sample data in different time periods aiming at each subcarrier of the wireless local area network equipment, and calculating first average values of the first variances of the subcarriers; selecting a first subcarrier with the sensitivity degree to noise lower than a first preset degree as a subcarrier for wireless local area network sensing based on a first average value of each subcarrier; generating a configuration scheme containing information of the first sub-carrier;
The antenna selection module is used for calculating conjugate products of the CSI sample data corresponding to each two antennas in the first CSI sample data aiming at each two antennas of the wireless local area network equipment to obtain CSI sequences, and calculating phase difference of the CSI sequences of the two antennas; selecting two antennas for wireless local area network sensing based on the average value of the phase difference sequences of the CSI sequences after conjugate products are carried out between every two antennas; a configuration scheme is generated that contains information for the selected antenna.
12. A wireless local area network aware configuration scheme generation device, the device comprising:
A processor;
A transceiver;
A machine-readable storage medium storing machine-executable instructions executable by the processor; the machine-executable instructions cause the processor to perform the steps of:
Receiving first Channel State Information (CSI) sample data acquired by a wireless Access Point (AP) under the condition that no moving object exists in an application scene;
at least one of the following steps is executed to generate a configuration scheme perceived by the wireless local area network:
Generating a configuration scheme of wireless local area network perception containing a perception threshold based on the average value of the autocorrelation values of the first CSI sample data, wherein the perception threshold is used for judging whether a moving object exists in the wireless local area network perception process;
For each subcarrier of the wireless local area network equipment, respectively calculating first variances of amplitudes of CSI sample data corresponding to the subcarrier in the first CSI sample data in different time periods, and calculating first average values of the first variances of the subcarriers; selecting a first subcarrier with the sensitivity degree to noise lower than a first preset degree as a subcarrier for wireless local area network sensing based on a first average value of each subcarrier; generating a configuration scheme containing information of the first sub-carrier;
For each two antennas of the wireless local area network equipment, calculating conjugate products of the CSI sample data corresponding to the two antennas in the first CSI sample data to obtain CSI sequences, and calculating phase differences of the CSI sequences of the two antennas; selecting two antennas for wireless local area network sensing based on the average value of the phase difference sequences of the CSI sequences after conjugate products are carried out between every two antennas; a configuration scheme is generated that contains information for the selected antenna.
13. A computer-readable storage medium, characterized in that the computer-readable storage medium has stored therein a computer program which, when executed by a processor, implements the method steps of any of claims 1-10.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202410808654.0A CN118382099B (en) | 2024-06-20 | 2024-06-20 | Method and device for generating wireless local area network perception configuration scheme |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202410808654.0A CN118382099B (en) | 2024-06-20 | 2024-06-20 | Method and device for generating wireless local area network perception configuration scheme |
Publications (2)
Publication Number | Publication Date |
---|---|
CN118382099A CN118382099A (en) | 2024-07-23 |
CN118382099B true CN118382099B (en) | 2024-08-20 |
Family
ID=91910389
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202410808654.0A Active CN118382099B (en) | 2024-06-20 | 2024-06-20 | Method and device for generating wireless local area network perception configuration scheme |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN118382099B (en) |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2019148428A (en) * | 2018-02-26 | 2019-09-05 | 三星電子株式会社Samsung Electronics Co.,Ltd. | Human detection device and human detection method |
CN116680597A (en) * | 2023-05-23 | 2023-09-01 | 广西师范大学 | Omnidirectional gesture sensing and identifying method based on Wi-Fi |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114760640B (en) * | 2021-01-08 | 2023-09-08 | 华为技术有限公司 | Wireless local area network sensing method and device |
-
2024
- 2024-06-20 CN CN202410808654.0A patent/CN118382099B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2019148428A (en) * | 2018-02-26 | 2019-09-05 | 三星電子株式会社Samsung Electronics Co.,Ltd. | Human detection device and human detection method |
CN116680597A (en) * | 2023-05-23 | 2023-09-01 | 广西师范大学 | Omnidirectional gesture sensing and identifying method based on Wi-Fi |
Also Published As
Publication number | Publication date |
---|---|
CN118382099A (en) | 2024-07-23 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8837316B2 (en) | RTT based ranging system and method | |
US8526368B2 (en) | Wi-Fi access point characteristics database | |
US8805403B2 (en) | Automatic data accuracy maintenance in a Wi-Fi access point location database | |
EP3282275B1 (en) | Position detection of user equipment within a wireless telecommunications network | |
US9479954B2 (en) | Correlating data from multiple spectrum monitors | |
US20140171108A1 (en) | Dynamic access point based positioning | |
JP6339227B2 (en) | Cell interference investigation method and system, and network manager | |
CN111880145B (en) | Radiation source time difference positioning method and device and electronic equipment | |
US20200310898A1 (en) | Information processing method and information processing apparatus | |
US11856552B2 (en) | Devices and methods for automatically labelling high-accuracy indoor localization and determining location information | |
CN103781095B (en) | A kind of bearing calibration of TDOA measure error, transfer point and system | |
JP4814060B2 (en) | Position estimation method and position estimation system | |
US8345589B2 (en) | Method and apparatus for determining timing for initial ranging of user equipment using ranging of adjacent pieces of user equipment in multi-hop mobile relay system | |
CN118382099B (en) | Method and device for generating wireless local area network perception configuration scheme | |
EP3327459B1 (en) | Terminal positioning | |
CN105187142A (en) | Method and device for detecting idle spectrum | |
CN108684074A (en) | Distance measuring method based on RSSI and device | |
CN102708707B (en) | Self-adaptive adjusting method and device for unit window in controlled airspace | |
JP2015165616A (en) | White space sensing device, white space sensing method, and program | |
US20210377776A1 (en) | Wireless communication system, aggregation device, interference source air time acquisition method, and interference source air time acquisition program | |
CN117082652B (en) | Data transmission method and system based on LoRa ad hoc network same-frequency avoidance | |
JP7310033B2 (en) | Method and apparatus for fingerprinting using function-based matching patterns | |
JP7572005B2 (en) | Position estimation system, position estimation device, position estimation method, and position estimation program | |
JP6455818B2 (en) | Attenuation coefficient estimation device, attenuation coefficient estimation method, and program | |
CN111431642A (en) | Method and device for allocating idle available frequency points under discrete spectrum |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |