📜 ⬆️ ⬇️

How does a store in a mall recognize you via Wi-Fi (more precisely, by MAC address) - based on regular hotspots

Phones are looking for their "native" networks, so from time to time they send packets with their requests to the surrounding space. Regular Wi-Fi infrastructure (hotspot, distribution network for store personnel) can listen to these packets — not to reject them, but to write down the MAC address and the distance to the terminal to the log (according to the signal level).



In the case of a single point, this is used as a counter of visitors at the level “182 people went into the store yesterday, 34 of which we already had,” and if there are three points or more, you can already trace people and see the most interesting products:
')


Once again: no special equipment, regular Cisco Wi-Fi points and software for processing their logs. Accuracy depends on Cisco access point model. In our scheme, we also need an uplink to the analytics server, where the Cisco virtual controller is also deployed - the points download logs to it.


Access points are usually placed on the ceiling in a shopping center, here is an example of installation:



The points themselves, for example, here:



The solution architecture is as follows:


Pay attention: Cisco points and so can give the telemetry to Cisco. To access it on the analytics server, you need to deploy a virtual controller and register points in it. No physical touches - just the serial numbers of the current infrastructure are entered there and the access password is entered.

There are two modes of operation: “presence” and “location”. Presence - this is if the phone is in the zone of the point and has a certain signal level. In fact, just a user counter, which also can:
- Record MAC addresses for analytics further: how often the client returns, how many times he has been in other stores of the network, etc.
- And fix the duration of stay in the store.



For the best results of the presence mode, the access point should be mounted deep in the store, not near the entrance, otherwise many people passing by will cling along (they can be cut off on the analytics server, but this increases the noise in the data).

Location mode is trickier, but it requires at least three points:



There is a definition of a place on a signal triangulation. The points should stand in a certain way, and their location will need to be specified with the data collection software. Since the interface is “flat”, that is, 2D, there are errors at different elevation levels of these points, and multi-storey shops are not processed - each floor needs 3 of its points.

Setting up new points is quite simple when everything is configured:



There is a third mode: if you plan to give Wi-Fi to customers (and often they set access points for this), then when you connect to the store's SSID, more accurate tracking begins: data traffic allows you to receive much more location data with shorter intervals.

The declared accuracy in the usual mode is 5–10 meters. In the mode of data traffic - 3-5 meters. It is possible to observe in realtime. Well, you can make a welcome page - even as in the subway:



Total, using the current infrastructure of Tsiski without purchasing new devices and without installing any iBeacons, you can get the following features:


The decision on the basis of its box and quite expensive - usually the customer does not buy a license, and refers to a certified partner Tsisko. We provide as a service, because we have our own analytics server. And it costs the customer much cheaper. Connect - pay, disconnect - do not pay. The cost in our case depends on the volume: the smaller the points, the more expensive the single point. License point by point.

Installation example


In May, we had the 25th anniversary of the company, we decided to put out a heat map of the premises: we have an exhibition of achievements there, stand-up tables with different dishes, a street with food on the fire, a stage and so on.

The room is used for other events, and as a result, we had ONE day to deploy the solution. That's right - to come to the site, conduct a radio frequency survey, identify which areas of the room have the signal power, which both reflects, absorbs, and so on, estimate the level of interference. It was impossible to hang these points anywhere in the museum of Moscow in order not to spoil the concrete walls. The only option to install points was a chance to place them on farms where there was LED light (these are heads that are installed at concerts and spinning in all directions). And we attached to the access points to them. This, of course, was not cool, because they are metallic, and the metal deteriorates the signal. Plus concrete walls. These light farms were set only on the night before the event. Moreover, electricity was given only at 11:00. We had to pull out the replaceable engineer who pulled us and squeezed the wires, since the room was big enough and we had three bays of the network cable.

The event itself began at six, and at five everything had to be ready. As a result, we began to map the terrain with points one hour before the deadline in order to correctly interpret their location, as well as to triangulate the location of the terminals. We quickly set everything up, brought out the image from a laptop and 10 minutes before the start of the event with jerking eyes, we began to solemnly demonstrate the capabilities of Wi-Fi analytics. Do not do this if you can. It takes 2 days, and ideally with the right RF-examination for high accuracy and installation - up to a week.

Links



PS Paranoid, welcome to the brave new world! Turn off Wi-Fi, leaving the house.

Source: https://habr.com/ru/post/331894/


All Articles