Disclosure of Invention
The technical problem to be solved by the embodiments of the present invention is to provide indoor Wi-Fi positioning methods and apparatuses based on CSI, and a computer-readable storage medium, which can effectively avoid the influence of linear errors and non-linear errors in CSI raw data, thereby improving positioning accuracy.
In order to solve the above technical problem, an embodiment of the present invention provides indoor Wi-Fi positioning methods based on CSI, including:
acquiring CSI original data of a point to be positioned through a receiving antenna array, and acquiring a corresponding original CSI phase matrix according to the CSI original data;
correcting the original CSI phase matrix according to a least square method to obtain a corrected CSI phase matrix;
according to the position relation of all receiving antennas in the receiving antenna array, making difference on adjacent CSI phases in the corrected CSI phase matrix to obtain a CSI phase difference matrix;
acquiring CSI phase fingerprint information of the arrival angle of the to-be-positioned point according to the CSI phase difference matrix;
and acquiring the position information of the to-be-positioned point according to the CSI phase fingerprint information and a preset phase fingerprint library, wherein the phase fingerprint library stores the arrival angle, the phase fingerprint information of the arrival angle and the position information of the receiving antenna array corresponding to any preset positions indoors.
Further , the obtaining a CSI phase difference matrix by subtracting adjacent CSI phases in the corrected CSI phase matrix according to the position relationship of all receiving antennas in the receiving antenna array specifically includes:
according to the formula
Subtracting adjacent CSI phases in the corrected CSI phase matrix to obtain a CSI phase difference matrix gamma (t) which is as follows:
where i denotes the i-th receive antenna in the receive antenna array, 0<i<M, M represents the number of receiving antennas in the receiving antenna array;
representing an ith CSI phase in the corrected CSI phase matrix; csi gamma
i(t) represents an ith CSI phase difference in the CSI phase difference matrix; t denotes the acquisition time.
Further , the obtaining CSI phase fingerprint information of the arrival angle of the to-be-located point according to the CSI phase difference matrix specifically includes:
according to the formula
Calculating and obtaining CSI phase fingerprint information FP of the arrival angle of the point to be located
θ(ii) a Wherein theta represents the arrival angle, and theta is more than or equal to 0 DEG<360 degrees; n represents the number of acquisitions, n>0; t represents the acquisition time; csi gamma
i(t) denotes the i-th CSI phase difference, 0, in the CSI phase difference matrix<i<M, M represents the number of receive antennas in the receive antenna array.
Further , the obtaining the location information of the to-be-located point according to the CSI phase fingerprint information and a preset phase fingerprint library specifically includes:
calculating Euclidean distances between the CSI phase fingerprint information and every pieces of phase fingerprint information in the phase fingerprint database;
finding out target phase fingerprint information with the minimum Euclidean distance, and taking an arrival angle corresponding to the target phase fingerprint information as an arrival angle of the to-be-positioned point;
and acquiring the position information of the to-be-positioned point according to the arrival angle of the to-be-positioned point and the position information corresponding to the target phase fingerprint information.
, the obtaining the location information of the point to be located according to the angle of arrival of the point to be located and the location information corresponding to the target phase fingerprint information specifically includes:
the position information of the to-be-positioned point is obtained by calculation according to the following formula:
wherein, (x, y) represents the position coordinates of the point to be located; (x)1,y1) And (x)2,y2) Respectively representing the position coordinates corresponding to the two receiving antenna arrays; theta1And theta2Respectively representing the pending determination correspondingly determined by two receiving antenna arraysAngle of arrival of the site.
In order to solve the above technical problem, an embodiment of the present invention further provides kinds of indoor Wi-Fi positioning apparatuses based on CSI, including:
the original CSI phase matrix acquisition module is used for acquiring CSI original data of a point to be positioned through the receiving antenna array and acquiring a corresponding original CSI phase matrix according to the CSI original data;
a corrected CSI phase matrix obtaining module, configured to correct the original CSI phase matrix according to a least square method to obtain a corrected CSI phase matrix;
a CSI phase difference matrix obtaining module, configured to obtain a CSI phase difference matrix by subtracting adjacent CSI phases in the corrected CSI phase matrix according to the position relationships of all receiving antennas in the receiving antenna array;
the phase fingerprint information acquisition module is used for acquiring the CSI phase fingerprint information of the arrival angle of the to-be-positioned point according to the CSI phase difference matrix; and the number of the first and second groups,
and the position information acquisition module is used for acquiring the position information of the point to be positioned according to the CSI phase fingerprint information and a preset phase fingerprint library, wherein the phase fingerprint library stores the arrival angle, the phase fingerprint information of the arrival angle and the position information of the receiving antenna array corresponding to any preset positions indoors.
Further , the CSI phase difference matrix obtaining module specifically includes:
a CSI phase difference matrix obtaining unit for obtaining the phase difference matrix according to a formula
Subtracting adjacent CSI phases in the corrected CSI phase matrix to obtain a CSI phase difference matrix gamma (t) which is as follows:
where i denotes the i-th receive antenna in the receive antenna array, 0<i<M, M represents the receiving antenna arrayThe number of receive antennas in a column;
representing an ith CSI phase in the corrected CSI phase matrix; csi gamma
i(t) represents an ith CSI phase difference in the CSI phase difference matrix; t denotes the acquisition time.
Further , the phase fingerprint information obtaining module specifically includes:
a phase fingerprint information acquisition unit for acquiring fingerprint information according to a formulaCalculating and obtaining CSI phase fingerprint information FP of the arrival angle of the point to be locatedθ(ii) a Wherein theta represents the arrival angle, and theta is more than or equal to 0 DEG<360 degrees; n represents the number of acquisitions, n>0; t represents the acquisition time; csi gammai(t) denotes the i-th CSI phase difference, 0, in the CSI phase difference matrix<i<M, M represents the number of receive antennas in the receive antenna array.
The embodiment of the invention also provides computer-readable storage media, which include a stored computer program, where the computer program, when running, controls a device on which the computer-readable storage media is located to execute the CSI-based indoor Wi-Fi positioning method described in any above.
An embodiment of the present invention further provides CSI based indoor Wi-Fi positioning apparatuses, including a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor, wherein the processor, when executing the computer program, implements the CSI based indoor Wi-Fi positioning method described in any of above.
Compared with the prior art, the embodiment of the invention provides CSI-based indoor Wi-Fi positioning methods, devices and computer-readable storage media, CSI original data of a to-be-positioned point are acquired through a receiving antenna array, a corresponding original CSI phase matrix is acquired according to the CSI original data, the original CSI phase matrix is corrected according to a least square method, adjacent CSI phases in the corrected CSI phase matrix are differentiated according to the position relation of all receiving antennas in the receiving antenna array, a CSI phase difference matrix is acquired, CSI phase fingerprint information of an arrival angle of the to-be-positioned point is acquired according to the CSI phase difference matrix, and therefore the position information of the to-be-positioned point is acquired according to the CSI phase fingerprint information and a preset phase fingerprint database.
Detailed Description
The technical solutions in the embodiments of the present invention will be described clearly and completely with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only partial embodiments of of the present invention, rather than all embodiments.
The embodiment of the present invention provides CSI-based indoor Wi-Fi positioning methods, which are flowcharts of preferred embodiments of CSI-based indoor Wi-Fi positioning methods provided by the present invention, as shown in fig. 1, and the method includes steps S11 to S15:
step S11, collecting CSI original data of a point to be located through a receiving antenna array, and acquiring a corresponding original CSI phase matrix according to the CSI original data;
step S12, correcting the original CSI phase matrix according to a least square method to obtain a corrected CSI phase matrix;
step S13, subtracting adjacent CSI phases in the corrected CSI phase matrix according to the position relation of all receiving antennas in the receiving antenna array to obtain a CSI phase difference matrix;
step S14, obtaining CSI phase fingerprint information of the arrival angle of the to-be-positioned point according to the CSI phase difference matrix;
and step S15, acquiring the position information of the point to be positioned according to the CSI phase fingerprint information and a preset phase fingerprint library, wherein the phase fingerprint library stores the arrival angle, the phase fingerprint information of the arrival angle and the position information of the receiving antenna array corresponding to any preset position indoors.
Specifically, the method can be executed by a network device including an antenna array, for example, an AP, in the process of communicating with any indoor APs at a to-be-positioned point, the antenna at the to-be-positioned point is a transmitting antenna, the antenna at the AP is a receiving antenna, the AP receives a wireless signal transmitted by the to-be-positioned point through the receiving antenna array, CSI raw data of the to-be-positioned point can be collected from the AP, the CSI raw data contains amplitude data and phase data of CSI, a corresponding raw CSI phase matrix can be obtained according to the collected CSI raw data, the raw CSI phase matrix can describe the transmission process of the wireless signal from the transmitting antenna array to the receiving antenna array, the relative position relationship between the transmitting antenna array and the receiving antenna array is contained, in order to remove linear errors in the raw CSI phase matrix, the linear correction can be performed on the raw CSI phase matrix by using a least square method, the corrected CSI phase matrix is correspondingly obtained, adjacent CSI phases corresponding to the adjacent receiving antennas in the corrected CSI phase matrix are calculated according to the position relationship between each receiving antennas in the receiving antenna array, the fingerprint phase matrix, the fingerprint information corresponding to-be-positioned angle information is set in advance, the fingerprint database, the fingerprint information of the arrival angle of the to-be-positioned point, the fingerprint database is obtained, and the fingerprint information of the fingerprint database, the fingerprint calculated fingerprint information of the fingerprint obtained, the fingerprint database, the fingerprint information of the fingerprint database, the fingerprint calculated fingerprint, the fingerprint of the fingerprint, the fingerprint information.
It should be noted that the arrival angle specifically refers to an angle at which a wireless signal reaches the receiving antenna array, the range of the arrival angle is 0 to 360 degrees, all the arrival angles are determined in the same coordinate systems for calculation, and then the position information of the to-be-located point can be calculated.
It is to be added that, in order to construct the phase fingerprint library, in the embodiment of the present invention, CSI phase fingerprint information of arrival angles is obtained through the steps S11 to S14, and then the relative position relationship between the transmitting antenna array and the receiving antenna array is adjusted, so as to obtain different arrival angle working conditions according to the steps S11 to S14, and calculate CSI phase fingerprint information corresponding to each arrival angle, and all the arrival angles and the CSI phase fingerprint information corresponding to every arrival angles are aggregated, so as to construct the phase fingerprint library, where the position information corresponding to the receiving antenna array is a known condition, that is, when the relative position relationship between the transmitting antenna array and the receiving antenna array is adjusted, the position coordinates of the corresponding transmitting antenna array and receiving antenna array can be obtained at the same time and stored in the phase fingerprint library correspondingly, and the arrival angle, the fingerprint phase information of the arrival angle, and the position information stored in the phase fingerprint library have a corresponding relationship.
According to the indoor Wi-Fi positioning methods based on CSI provided by the embodiment of the invention, the least square method correction is carried out on the original data in the original CSI phase matrix, the difference is carried out on the adjacent CSI phases corresponding to the adjacent receiving antennas in the corrected CSI phase matrix, and the CSI phase fingerprint information of the arrival angle of the point to be positioned is correspondingly obtained according to every elements in the CSI phase difference matrix, so that the position information of the point to be positioned is obtained according to the CSI phase fingerprint information of the arrival angle of the point to be positioned and a preset phase fingerprint database, the influence of linear errors and nonlinear errors in the CSI original data can be effectively avoided, and the positioning accuracy is improved.
In another preferred embodiments, the obtaining the CSI phase difference matrix by subtracting adjacent CSI phases in the corrected CSI phase matrix according to the position relationship of all receiving antennas in the receiving antenna array specifically includes:
according to the formulaSubtracting adjacent CSI phases in the corrected CSI phase matrix to obtain a CSI phase difference matrix gamma (t) which is as follows:
where i denotes the i-th receive antenna in the receive antenna array, 0<i<M, M represents the number of receiving antennas in the receiving antenna array;
representing an ith CSI phase in the corrected CSI phase matrix; csi gamma
i(t) represents an ith CSI phase difference in the CSI phase difference matrix; t denotes the acquisition time.
Specifically, in conjunction with the above embodiments, the collected CSI raw data can be expressed as
The original CSI phase matrix obtained from the collected CSI raw data can be expressed as
The corrected CSI phase matrix may be represented as
According to the formula
Subtracting adjacent CSI phases in the corrected CSI phase matrix to obtain a CSI phase difference matrix gamma (t)
Where i denotes the ith receive antenna in the receive antenna array, 0<i<M, M represents the number of receiving antennas in the receiving antenna array; csi
i(t) representing the CSI raw data corresponding to the ith receiving antenna in the collected CSI raw data;
representing a CSI phase corresponding to an ith receiving antenna in an original CSI phase matrix;
indicating the CSI phase corresponding to the ith receiving antenna in the corrected CSI phase matrix; csi gamma
i(t) indicating the CSI phase difference corresponding to the ith receiving antenna and the (i + 1) th receiving antenna in the CSI phase difference matrix; and t represents the acquisition time corresponding to the CSI original data of the to-be-positioned point currently acquired by the receiving antenna array.
It should be noted that the adjacent receiving antennas refer to receiving antennas located adjacent to each other in the receiving antenna array, and in the receiving antenna array, sorting directions are first designated, for example, from left to right, and then every receiving antennas are correspondingly numbered as 1 to M, so that the ith receiving antenna and the (i + 1) th receiving antenna are adjacent receiving antennas.
In still another preferred embodiments, the obtaining CSI phase fingerprint information of the arrival angle of the to-be-located point according to the CSI phase difference matrix specifically includes:
according to the formula
Calculating and obtaining CSI phase fingerprint information FP of the arrival angle of the point to be located
θ(ii) a Wherein theta represents the arrival angle, and theta is more than or equal to 0 DEG<360 degrees; n represents the number of acquisitions, n>0; t represents the acquisition time; csi gamma
i(t) denotes the i-th CSI phase difference, 0, in the CSI phase difference matrix<i<M, M represents the number of receive antennas in the receive antenna array.
Specifically, in combination with the above embodiments, each elements in the CSI phase difference matrix obtained by difference are formulated byCalculating to correspondingly obtain CSI phase fingerprint information FP of the arrival angle of the point to be positionedθWherein theta represents the arrival angle, and theta is more than or equal to 0 DEG<360 degrees; n represents the corresponding acquisition times of the CSI original data of the point to be positioned acquired by the receiving antenna array, and n>0; t represents the acquisition time corresponding to the CSI original data of the to-be-positioned point currently acquired by the receiving antenna array; csi gammai(t) denotes a CSI phase difference corresponding to the i-th receiving antenna and the i + 1-th receiving antenna in the CSI phase difference matrix, 0<i<M, M represents the number of receive antennas in the receive antenna array.
In another preferred embodiments, the obtaining the location information of the point to be located according to the CSI phase fingerprint information and a preset phase fingerprint library specifically includes:
calculating Euclidean distances between the CSI phase fingerprint information and every pieces of phase fingerprint information in the phase fingerprint database;
finding out target phase fingerprint information with the minimum Euclidean distance, and taking an arrival angle corresponding to the target phase fingerprint information as an arrival angle of the to-be-positioned point;
and acquiring the position information of the to-be-positioned point according to the arrival angle of the to-be-positioned point and the position information corresponding to the target phase fingerprint information.
Specifically, with reference to the above embodiment, an arrival angle, phase fingerprint information of an arrival angle, and location information corresponding to any preset locations of the receiving antenna array are stored in a preset phase fingerprint library, the CSI phase fingerprint information of an arrival angle of a to-be-located point obtained according to the CSI phase difference matrix is compared with the preset phase fingerprint library by , the euclidean distances between the CSI phase fingerprint information of an arrival angle of a to-be-located point and every pieces of phase fingerprint information in the phase fingerprint library are calculated, the phase fingerprint information with the minimum euclidean distance is found from the phase fingerprint library as the target phase fingerprint information, the arrival angle corresponding to the found target phase fingerprint information is used as the arrival angle of the to-be-located point, and the location information of the to-be-located point can be obtained by analyzing geometric knowledge according to the determined arrival angle of the to-be-located point and the location information corresponding to the found target phase fingerprint information.
As an improvement of the above solution, the acquiring the location information of the to-be-located point according to the arrival angle of the to-be-located point and the location information corresponding to the target phase fingerprint information specifically includes:
the position information of the to-be-positioned point is obtained by calculation according to the following formula:
wherein, (x, y) represents the position coordinates of the point to be located; (x)1,y1) And (x)2,y2) Respectively representing the position coordinates corresponding to the two receiving antenna arrays; theta1And theta2Respectively representing the arrival angles of the to-be-positioned points correspondingly determined by the two receiving antenna arrays.
Specifically, with reference to the foregoing embodiment, any two receiving antenna arrays in different positions may determine the arrival angle of the to-be-positioned point corresponding to through the positioning method provided in the embodiment of the present invention, for example, the arrival angle of the to-be-positioned point determined by receiving antenna arrays is recorded as θ
1The arrival angles of the points to be positioned correspondingly determined by the other receiving antenna arrays are recorded as theta
2And the position coordinates of the two receiving antenna arrays are known and are respectively marked as (x)
1,y
1) And (x)
2,y
2) According to the formula
The position coordinates (x, y) of the to-be-positioned point can be calculated and obtained.
Fig. 2 is a schematic diagram of kinds of calculation location information of points to be located provided by the present invention, in which P is
1(x
1,y
1) And P
2(x
2,y
2) Two receiving antenna arrays respectively representing known position coordinates, P (x, y) representing a point to be located, theta
1Indicating the arrival of a wireless signal of P (x, y) transmission at P
1Angle of time, theta
2Indicating the arrival of a wireless signal of P (x, y) transmission at P
2The time angle can be known from the trigonometric function relation under the same rectangular coordinate system
Wherein (x)
1,y
1)、(x
2,y
2)、θ
1And theta
2Under the known condition, the specific value of the position coordinate (x, y) of the point P to be located can be solved according to the formula, that is, the position information of the point P to be located is obtained.
The embodiment of the present invention further provides indoor Wi-Fi positioning apparatuses based on CSI, which can implement all the processes of the knowledge point management method described in any embodiment, and the functions and implemented technical effects of each module and unit in the apparatuses are respectively the same as those of the indoor Wi-Fi positioning method based on CSI described in the above embodiment, and are not described herein again.
Referring to fig. 3, it is a block diagram of preferred embodiments of CSI-based indoor Wi-Fi positioning apparatuses provided by the present invention, the apparatuses including:
the original CSI phasematrix acquisition module 11 is configured to acquire CSI original data of a point to be located through a receiving antenna array, and acquire a corresponding original CSI phase matrix according to the CSI original data;
a corrected CSI phasematrix obtaining module 12, configured to correct the original CSI phase matrix according to a least square method, to obtain a corrected CSI phase matrix;
a CSI phase differencematrix obtaining module 13, configured to perform a difference on adjacent CSI phases in the corrected CSI phase matrix according to the position relationships of all receiving antennas in the receiving antenna array, so as to obtain a CSI phase difference matrix;
a phase fingerprintinformation obtaining module 14, configured to obtain CSI phase fingerprint information of the arrival angle of the to-be-located point according to the CSI phase difference matrix; and the number of the first and second groups,
and a locationinformation obtaining module 15, configured to obtain location information of the to-be-located point according to the CSI phase fingerprint information and a preset phase fingerprint library, where the phase fingerprint library stores an arrival angle, phase fingerprint information of the arrival angle, and location information of a corresponding receiving antenna array at any indoor preset location.
Preferably, the CSI phase differencematrix obtaining module 13 specifically includes:
a CSI phase difference matrix obtaining unit for obtaining the phase difference matrix according to a formula
Subtracting adjacent CSI phases in the corrected CSI phase matrix to obtain a CSI phase difference matrix gamma (t) which is as follows:
where i denotes the i-th receive antenna in the receive antenna array, 0<i<M, M represents the number of receiving antennas in the receiving antenna array;
representing an ith CSI phase in the corrected CSI phase matrix; csi gamma
i(t) represents an ith CSI phase difference in the CSI phase difference matrix; t denotes the acquisition time.
Preferably, the phase fingerprintinformation obtaining module 14 specifically includes:
a phase fingerprint information acquisition unit for acquiring fingerprint information according to a formulaCalculating and obtaining CSI phase fingerprint information FP of the arrival angle of the point to be locatedθ(ii) a Wherein theta represents the arrival angle, and theta is more than or equal to 0 DEG<360 degrees; n represents the number of acquisitions, n>0; t represents the acquisition time; csi gammai(t) represents the ith CSI phase difference in the CSI phase difference matrix,0<i<M, M represents the number of receive antennas in the receive antenna array.
Preferably, the positioninformation obtaining module 15 specifically includes:
the Euclidean distance calculating unit is used for calculating Euclidean distances between the CSI phase fingerprint information and every pieces of phase fingerprint information in the phase fingerprint database;
an arrival angle determining unit, configured to find out target phase fingerprint information with a minimum euclidean distance, and use an arrival angle corresponding to the target phase fingerprint information as an arrival angle of the to-be-located point;
an th location information obtaining unit, configured to obtain the location information of the point to be located according to the angle of arrival of the point to be located and the location information corresponding to the target phase fingerprint information.
Preferably, the th location information obtaining unit is specifically configured to calculate and obtain the location information of the point to be located by the following formula:
wherein, (x, y) represents the position coordinates of the point to be located; (x)1,y1) And (x)2,y2) Respectively representing the position coordinates corresponding to the two receiving antenna arrays; theta1And theta2Respectively representing the arrival angles of the to-be-positioned points correspondingly determined by the two receiving antenna arrays.
Preferably, the positioninformation obtaining module 15 specifically includes:
the target phase fingerprint information acquisition unit is used for calculating Euclidean distances between the CSI phase fingerprint information and every pieces of phase fingerprint information in the phase fingerprint database, and finding out K pieces of target phase fingerprint information of which the Euclidean distances meet preset conditions, wherein K is greater than 1;
and the second position information acquisition unit is used for acquiring the position information of the to-be-positioned point according to the arrival angle and the position information corresponding to the K pieces of target phase fingerprint information.
Preferably, the second location information acquiring unit is specifically configured to calculate and obtain the location information of the to-be-located point by using the following formula:
wherein, (x, y) represents the position coordinates of the point to be located; (x)1,y1) And (x)2,y2) Respectively representing position coordinates corresponding to any two pieces of target phase fingerprint information in the K pieces of target phase fingerprint information; theta1And theta2And respectively representing the arrival angles corresponding to any two pieces of target phase fingerprint information in the K pieces of target phase fingerprint information.
The embodiment of the present invention further provides computer-readable storage media, where the computer-readable storage media include a stored computer program, where the computer program, when running, controls a device where the computer-readable storage media is located to perform the CSI-based indoor Wi-Fi positioning method described in any embodiment.
An embodiment of the present invention further provides CSI-based indoor Wi-Fi positioning apparatuses, which are shown in fig. 4 and are block diagrams of another preferred embodiments of the CSI-based indoor Wi-Fi positioning apparatuses provided by the present invention, the apparatuses include aprocessor 10, amemory 20, and a computer program stored in thememory 20 and configured to be executed by theprocessor 10, and theprocessor 10, when executing the computer program, implements the CSI-based indoor Wi-Fi positioning method described in any of the embodiments.
Preferably, the computer program can be divided into or more modules/units (e.g. computer program 1, computer program 2,. cndot. cndot.) and or more modules/units are stored in thememory 20 and executed by theprocessor 10 to implement the invention. the or more modules/units can be series of computer program instruction segments for describing the execution of the computer program in the apparatus, which can accomplish specific functions.
TheProcessor 10 may be a Central Processing Unit (CPU), other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf Programmable Array (FPGA) or other Programmable logic device, a discrete or transistor logic device, a discrete hardware component, etc., the general purpose Processor may be a microprocessor, or theProcessor 10 may be any conventional Processor, theProcessor 10 is a control center of the apparatus, and various interfaces and lines are used to connect various parts of the apparatus.
Thememory 20 may be a high speed random access memory, a non-volatile memory such as a hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), etc., or thememory 20 may be other volatile solid state memory device.
It should be noted that the above-mentioned apparatus may include, but is not limited to, a processor and a memory, and those skilled in the art will understand that the structural block diagram of fig. 4 is only an example of the above-mentioned apparatus, and does not constitute a limitation of the apparatus, and may include more or less components than those shown, or combine some components, or different components.
To sum up, the indoor Wi-Fi positioning methods, apparatuses, and computer-readable storage media based on CSI provided in the embodiments of the present invention perform least square correction on original data in an original CSI phase matrix, perform difference on adjacent CSI phases corresponding to adjacent receiving antennas in the corrected CSI phase matrix, and correspondingly obtain CSI phase fingerprint information of an arrival angle of a point to be positioned according to every elements in the CSI phase difference matrix, so as to obtain location information of the point to be positioned according to the CSI phase fingerprint information of the arrival angle of the point to be positioned and a preset phase fingerprint library, thereby effectively avoiding the influence of linear errors and nonlinear errors in the CSI original data, and improving positioning accuracy.
The above description is only a preferred embodiment of the present invention, and it should be noted that, for those skilled in the art, several modifications and variations can be made without departing from the technical principle of the present invention, and these modifications and variations should also be regarded as the protection scope of the present invention.