📜 ⬆️ ⬇️

Indoor navigation and positioning - have you ever “lost” cars in the parking lot?

Have you had to walk around the mall for hours in search of a thing that you have already seen in one of the stores, but you cannot remember exactly where? Or look for the most interesting exhibit in the museum? Do you know the situation when, after leaving the shopping center, you were looking for a car in the parking lot for a long time?

I somehow "lost" the car in a multi-level parking in Dubai, which I then searched for two hours on a forty-degree heat. Already gathered to the police to declare the hijacking, but at this very moment she accidentally stumbled upon it.

Or, for example, museums - the Big Gatchina Palace in the suburbs of St. Petersburg.
')
image



A huge number of rooms on several floors. You can wander into the dungeon, in which there is a whole maze of moves, only then you can’t get out on your own.

Speaking of dungeons, in the subway, for example, people constantly meet with carts and suitcases, looking around on the sides, trying to figure out where they are and where to go.

To help people navigate the terrain, invent new ways. One of the most simple and technological is indoor navigation and positioning.

In this article, using the example of Navigine, a company specializing in indoor navigation, we will look at how a small software company can integrate its specific solution with SAP products. Despite the fact that the market for indoor services has been actively developing for several years, the Navigine solution on the SAP HANA platform is advanced in the Russian market.

What this solution allows, how and how it can help, why on the SAP HANA platform? More on this later, and for starters - a brief overview of the main technologies that can be put into practice in modern smartphones.

GPS is familiar to everyone, is in every smartphone, but does not work in a building with acceptable accuracy. You can install GPS signal repeaters, but the cost of the solution will be exorbitant.

Positioning on cellular networks - accuracy leaves much to be desired even in areas with high density of base stations.

Inertial systems are as old as navigation. They use a model of human movement: if we know where we were, in which direction and how quickly we moved, then we can calculate where we were after some time. Now this is achieved with the help of gyroscopes and accelerometers of the smartphone. The advantages of this solution include autonomy and lack of binding to external infrastructure. Cons - the need to know the starting point, over time, the accumulating error and the need to check with another data source, for example, GPS.

Optical systems - there were several startups who had previously scanned the premises, and then determined the location from a picture, for example, the ceiling from the front camera of the smartphone. Interesting, but it requires shooting the premises and has not yet come across a full implementation.

Magnetometry - navigating through the magnetic field with a compass smartphone. There are examples of successful applications, but the solution requires pre-calibration indoors and is too susceptible to metal and magnets.

Trilateration based on Wi-Fi / Bluetooth transmitters . Pros: the use of familiar, inexpensive and common equipment, both for infrastructure and for positioning (everything you need in smartphones). The ability to use already deployed Wi-Fi / Bluetooth networks. The main disadvantage is accuracy of about 10 meters.

Radio card or “digital fingerprints” of Wi-Fi / Bluetooth signals - the location is calculated by comparing the real-time measured signal powers from the surrounding Wi-Fi / BLE points with the pre-measured values ​​tied to the room map. The advantages are the same as in the case of trilateration. Disadvantages - accuracy of about 5 meters, the need for prior training of the system.

There are many more technologies and approaches: RFID, ZigBee, IR and ultrasound systems, but all of them, for various reasons, have not found their use in indoor navigation based on smartphones.

Below I will tell you what Navigine uses from this.

Now about the application. Consider two cases - from the point of view of users and from the point of view of enterprises.

If we talk about ordinary users, the system helps people navigate inside large buildings, such as shopping malls, where they may get lost, or want to find a specific product.

image

The principle is simple - visitors to the shopping center use a mobile application that allows them to navigate,

image

find the right stores and products that they want to buy, quickly find the car in the parking lot.

image

The solution is also useful for the shopping center itself. Firstly, it’s an analyst: where did the visitors go, what route did they take, how much time did they spend in stores, and how many stayed at the food court. Secondly, it is an opportunity to provide tenants with an additional mobile marketing communication channel with visitors. Typical interaction: the store has a discount; a visitor, having entered the shopping center, receives it in the form of a notification on a smartphone. If he is interested, he clicks the "pave the route" and goes to this store. Having access to analytics of shopping center visits and information from its loyalty program database, the tenant can offer an individual discount and make an offer that is not possible to refuse.

Thus, for tenants working in a shopping center, it is an opportunity to attract additional flow of visitors to their cafes and shops, expand the loyal customer base and increase the average bill.

As for enterprises, they often face the task of keeping track of where the employees are, the equipment moves, the loads are located, and so on. Due to this, it is possible to increase labor discipline and safety at work, speed up maintenance or repair of equipment (employees will move the optimal route between objects that need attention), as well as organize the movement of equipment around the warehouse in the most efficient way.

image

Now from words to practice. The Navigine solution was demonstrated at the SAP Forum , which gathered several thousand participants.

A mobile application was written for the SAP Forum that allowed guests to see their location on the room map relative to the stands of the companies represented on the forum. In addition, a loyalty system has been added to the application. It consisted in the fact that guests, attending sessions and stands, could evaluate their quality by giving points. For each assessment they received points, which were further converted into gifts from SAP. Our algorithm provided for and excluded the situation when a person stands in one place and pretends that he is in all sessions and assesses them, since the system was well aware of where it is located.

With the help of a mobile application, the movement of visitors to the forum was also collected and sent to the cloud. From the cloud, this information was loaded into the web-interface in the form of heat maps.

Heat map is a map of the building, which shows the most visited places on the map.

image

How can it be applied? For example, in the same shopping center it is easy to determine the traffic of visitors through certain stores. With this information, shopping centers can negotiate rental rates with stores. For example, shop A comes in and claims that fewer people have come to them, while asking them to reduce the rent. And the representatives of the shopping centers answer them: “Look, the same number of people pass through your store and B, working in the same segment, just B can convert them correctly, but you can't.”

image

This can be used in the organization of work of staff. There are objects with large traffic of people, where “bottlenecks” appear from time to time. Take the airport. There are several such places there, for example, passport control or a point of personal inspection of passengers, where it is important to set the correct number of personnel at the right time in order not to create traffic jams. Using a heat map, such plugs are easy to track and get rid of them quickly.

image

Back to the SAP forum. In order for navigation to work in the pavilion, we set up Bluetooth LE beacons.

image

They are autonomous and transmit a signal at a distance of up to 70 meters, they can operate from a battery for 2-3 years. They do not have internal memory, they do not connect to the smartphone, their function is to broadcast their ID. When a smartphone receives a signal from several beacons and knows its strength, it is possible to determine with some accuracy where the telephone is located. In addition to Bluetooth LE beacons, internal smartphones such as a gyroscope, accelerometer, barometer, compass are also used.

“Our key competence is processing algorithms for heterogeneous navigation information. The signal from the beacons is taken, the data from the sensor of the smartphone, all this is processed - the exact coordinates of the smartphone in the building are obtained. Accuracy is 1-3 meters with the density of the installation of Bluetooth beacons 10 pieces per 1,000 square meters, ”says Navigine director Alexey Panev.

Technically, the entire system works as follows: there is an Navigine application for Android, in which, depending on the required accuracy, the radio map is measured (the “digital fingerprints” mentioned above), or the location of the beacons is shown on the map (for trilateration). After installing all the beacons, their location is stored on the server. Since Apple has closed access to the Wi-Fi API, the preference is given to Bluetooth LE beacons as a more versatile and easy-to-install solution - no sockets and the Internet are needed.

The following information is input to the navigation algorithms:

1. Available signals of radio fields (Bluetooth LE, Wi-Fi);
2. Data of internal sensors of the smartphone (MEMS accelerometers, gyroscopes, magnetometer);
3. Information about the room map. The location of walls, stairs, obstacles, doors and other objects is important here.

Next, the secret sauce is used in the form of special navigation processing algorithms, and the output is a point on the map. In the ideal case, the positioning accuracy is 1 m (1 σ).

To ensure cross-platform, the algorithms written in C ++ are wrapped natively in Android and iOS SDK (in the long run and on Windows 10).

All calculations occur directly on the smartphone, which reduces the delay in determining the location.

So why was SAP HANA chosen for the implementation of services?

Services indoor navigation and positioning are primarily applicable for large companies - airports, shopping centers, factories, warehouses. Thus, there is a large base of potential customers for a solution, and implementation costs are optimized due to the fact that in many cases integration will occur on the same platforms.

The strengths of SAP HANA, which we managed to test on ourselves:

1. Easy setup of SAP HANA instance on Amazon Cloud;
2. A complete set of documentation for developers, including intelligible online courses;
3. Simple transfer of Java application code to the SAP HANA environment;
4. Convenient tools for working through Eclipse.

In the basic version, all data is transmitted to the cloud server, data processing is already taking place on it. On the SAP forum, the solution architecture looked like this:

1. The SAP Forum mobile application using the built-in Navigine SDK sent data about the user's location and the stands and reports marked by him to the server;
2. Data was recorded in SAP HANA, the server was located in the Amazon cloud;
3. Based on the data collected, a Java web application running on SAP HANA built a thermal attendance map of the forum online.

In just 1 day of the forum, 498 tracks of different users were collected.

Thus, the SAP Forum became a demonstration platform where the capabilities and analytical tools of the Navigine platform based on the SAP HANA platform were shown. The forum showed that such services can be used in various customer cases - in shopping centers, at airports, at retail enterprises, in museums, in warehouses and factories. Interaction with SAP allows small companies developing innovative solutions to gain access to the absolutely new and large in volume markets of corporate clients.

Do you personally or in your company have any need for indoor navigation, and what interesting areas of its use do you see?

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


All Articles