Indoor positioning method and system based on wireless receiver and camera
First Claim
1. An indoor positioning method based on a wireless receiver and a camera, comprising the following steps:
- S1;
the wireless receiver detects a query WIFI signal transmitted by a target device;
S2;
the wireless receiver extracts a media access control (MAC) address and channel state information (CSI) used for identifying the target device from a query WIFI signal, and uploads the CSI to a server;
S3;
the server calculates an incident angle of the target device and the wireless receiver according to the CSI uploaded by the wireless receiver, and at the same time sends a photographing instruction to the camera which photographs an image and uploads the image to the server;
S4;
the server obtains a distance between the wireless receiver and the target device through the image pixels, and calculates the position information of the target device according to coordinates of the wireless receivers,wherein in Step S2, the CSI extraction method comprises;
S21;
initial channel state data are collected, wherein the initial channel state data comprise the channel state data values of M subcarriers in N spatial streams, both N and M being natural numbers greater than 1;
S22;
for each spatial stream, an average value of the channel state data values of P consecutive subcarriers at a same time point is obtained and used as the CSI value, P being a natural number greater than 1 and less than M;
S23;
the CSI value is modified by using a least square best fit algorithm.
1 Assignment
0 Petitions
Accused Products
Abstract
The invention provides an indoor positioning method and system based on a wireless receiver and a camera, belonging to the field of positioning technology. The method in the invention comprises the following steps: a wireless receiver detects a query WIFI signal transmitted by a target device and extracts a MAC address and CSI of the target device from a query WIFI signal; a server captures the MAC address and the CSI of the target device from the wireless receiver, calculates an incident angle of the target device and the wireless receiver and sends a photographing instruction to a camera which photographs an image and uploads the image to the server; the server obtains the distance between the wireless receiver and the target device through the image pixels, and calculates the position information of the target device according to the coordinates of the wireless receiver. The invention realizes the accurate positioning of the target device by using only a wireless receiver and a camera, so that the cost can be controlled and a real-time calculation can be ensured; the combination of the two beneficial effects can help achieve good positioning results.
-
Citations
9 Claims
-
1. An indoor positioning method based on a wireless receiver and a camera, comprising the following steps:
-
S1;
the wireless receiver detects a query WIFI signal transmitted by a target device;S2;
the wireless receiver extracts a media access control (MAC) address and channel state information (CSI) used for identifying the target device from a query WIFI signal, and uploads the CSI to a server;S3;
the server calculates an incident angle of the target device and the wireless receiver according to the CSI uploaded by the wireless receiver, and at the same time sends a photographing instruction to the camera which photographs an image and uploads the image to the server;S4;
the server obtains a distance between the wireless receiver and the target device through the image pixels, and calculates the position information of the target device according to coordinates of the wireless receivers,wherein in Step S2, the CSI extraction method comprises; S21;
initial channel state data are collected, wherein the initial channel state data comprise the channel state data values of M subcarriers in N spatial streams, both N and M being natural numbers greater than 1;S22;
for each spatial stream, an average value of the channel state data values of P consecutive subcarriers at a same time point is obtained and used as the CSI value, P being a natural number greater than 1 and less than M;S23;
the CSI value is modified by using a least square best fit algorithm. - View Dependent Claims (2, 3, 4, 5, 6)
-
-
7. A system for indoor positioning, comprising:
-
a target device for sending a query WIFI signal; a wireless receiver for detecting a query WIFI signal transmitted by a target device and extracting a media access control (MAC) address and a channel state information (CSI) from a query WIFI signal; a camera for photographing an indoor image and uploading the image to a server; and a server for calculating an incident angle of a target device and a wireless receiver and sending a photographing instruction to a camera; and
the distance between the wireless receiver and the target device is obtained through the image pixels; and
the position information of the target device is calculated according to the position of the wireless receiver,wherein the wireless receiver is configured to; collect initial channel state data, wherein the initial channel state data comprise the channel state data values of M subcarriers in N spatial streams, both N and M being natural numbers greater than 1; obtain and use, for each spatial stream, an average value of the channel state data values of P consecutive subcarriers at a same time point as the CSI value, P being a natural number greater than 1 and less than M; and modify the CSI value by using a least square best fit algorithm. - View Dependent Claims (8, 9)
-
Specification