1. Using Cisco Connected
Mobile Experiences
(CMX) to Deliver Blue
Dot Indoor Location
Positioning
Tessa Mero
Developer Evangelist, Cisco DevNet
2. (“The CMX API” to
keep it short)
Tessa Mero
Developer Evangelist, Cisco DevNet
3. • Introduction to Location
Services and Use Cases
• CMX Solution and Architecture
• CMX API Documentation
• CMX NotificationSubscription
API Demo
• Cisco Devnet Demo
Agenda
4. • Developer Evangelist
• Community Contributor
• Prev College Instructor
• Prev Web Developer
About Me
We are simply going to discuss the location services, and the API that gives you the ability to build those applications. We will talk about enterprise CMX. Wireless link controllers, access points (has blue dots), Meraki is also a wireless infrastructure that we offer that also has CMX. We will talk about the enterprise CMX.
So let’s go over some use cases for using location services.
You can find people and assets. It’s a great way to track tools or materials, especially when they are significantly high in cost.
In this image, you see how the user searches for a particular tool, identifies the nearest one available, and then uses the mobile app to navigate the floor and retrieve it.
Location services is great for Geo fencing. Geofencing is a solution to track if a tool is entering or exiting a pre-defiend area.
Here you can see how a log is created when a tool enters/exits the pre-defined area. An alert can also be generated for theft prevention, for exampe ,if someone other than the owner exits with the tool.
So basically geo fencing can prevent losing items, or basically preventing theft from occuring.
Location services help with navigating to certain locations in a large area, such as a mall or retail store, or even a hospital.
You can use a mobile app and find your way, and your app will know your location based on the location of the phone, and help direct you to where you need to go.
Location services help with workforce productivity. Worker productivity solutions ensure that workers are performing more effectively. It can record the outcome and time it takes for them to complete a job to help identify which areas on which jobs they need more training on.
Here you can see how we can track the time workers spend on their jbos to establish a baseline and track individual performance.
So basically it helps a lot in the manufacturing industry or any other similar industries with machinery.
Hospitals – Blue Dot location, you can easily locate patients, apply a beacon onto a patient’s medical tag and on medical equipment.
Corporate Offices – You can put location tracking on office equipment or have visitor or guests that are onsite for a meeting or long term staff and be able to track them.
Manufacturing – You can deploy a CMX on-premis solution. You can use sensors on machinery for asset tagging or triggering issues for a piece of machinery that isn’t functioning correctly
Retail – you can tailor ads on your app based on where you’ve visited and for how long
So, let’s do some learning on the architecture of the CMX API.
We will talk about the CMX Solutions. CMX stands for Connected Mobile Experience. You will also hear “MSE” Mobility Services Engine, which is an interchangeable term. CMX is the fancy marketing term.
CMX has 3 pillars: Detect, Connect and Engage. Detect is the most important portion. Being able to detect your laptop or mobile device in a space. Connect allows you to manage guest access, or wifi to a particular area. Engage allows you to reach out to people on your network in some form of fashion.
CMX is a marketing term, not a technology. It definitely sounds much cooler to use than MSE.
1: How does the connected mobilility experience works? We have our devices, mobile devices, laptops, they are interacting with access points. Those access points are being managed by a wireless LAN controller.
2. Then they talk to the Mobility Services Engine (MSE). The MSE is the the heart of the CMX solution. The heart of the service. It’s a virtual machine that does all the heavy lifting, it does the Math to figure out where all your devices are located in the space. The access points are collecting the information about your device using signal strength and sending that information to the wireless LAN controllers to the MSE. The MSE is taking and aggregating that information from different 3, 4, 5 access points. They can see your device and say “I think this device is in this location based on the information that is given to me”. It does this by triangulation, it will draw circles of confidence based on signal strength that the access points are reporting.
3. That information is then available to us as soon as MSE does the math, usually instantly. Then the data is available. We are going to see how to access that data through the APIs. CMX also has an analytics API built into it, so you can leverage the prebuilt one if you’d like.
4. It’s all managed by Prime Infrastructure
5. The MSE has a Northbound API. It’s a REST API that you can consume, you can use standard REST calls. These are applications that 3rd party developers, customers, or partners will be working on.
6. Being able to use those APIs allows us to build those applications.
************** extra information.
It starts with mobile device accessing wi-fi via an access point. The access points push data to the Cisco MSE, which can then push data to the CMX Analytics user interface where users can visualize customer flow patterns. The MSE also will push location data to partner mobile application servers, which power location enabled applications like way finding apps and personalized, location enabled promotions to customers in the venue.
DETECT: Again, the first step in gaining control over your environment and fostering meaningful communication with customers and others is to detect who’s there, what they’re doing and how they spend their time. Only once the detection capabilities are in place can analytics happen. Location analytics is the science of taking a series of data points and extracting value. That’s what CMX Analytics does. By providing both historical and real time analytics, you can know who’s where, what the traffic flows and patterns are, which you can use to make operational changes for efficiencies. For example:
Analyze business performance to improve in-venue marketing
Optimize layouts to increase revenue per square foot
Increase customer satisfaction by understanding patterns and adjusting staffing
CONNECT: Of course, making sure users connect is an important step to getting your analytics. CMX Connect interacts with mobile devices by providing simple guest onboarding of devices with custom or social Wi-Fi access, depending on your organization’s requirements.
ENGAGE: lets you enable two-way communication and build real-time relationships with visitors to truly add value to your mobile interactions. You can personalize the in-venue experience by making context-aware apps that use data directly from your network. That data might be information about the visitor’s previous purchases, preferences, and so forth. Knowing a little something about the visitor means you can much better engage with the visitor on a meaningful and helpful basis.
There are a bunch of different options for location. Earlier I mentioned Triangulation. In order to use triangulation you need to have at least 3 access points providing information. In this instance we have an instance where we do not have 3 access points. We only can provide for is presence. All it is is the access point sees you. You do not necessarily need to build out a map for that, it would be useless to do that.
So if you just want notifications that people are in your space, then that would be the presence portion of this, and all you need for this is a Cisco AP or potentially an MSE. If you want to get into basic location , potentially wayfinding, correlation to space, maybe you are just building out heat maps, nothing that requires pin point location, what you will be doing is basic locations which will provide an X and Y coordinate, the confidence factor in that is it’s a little bit smaller (but bigger than presence), but it’s one of the smaller areas.
The service offering is advertised as 7 meters within 95% confidence, which is still a big distance. Maybe it will tell that you are here, or maybe outside of this room. It depends how triangular that information is. Now, if we go down this line, each step will require a little more configuration and a little more work to get it to a point where you are getting that kind of coverage.
Now, once we get to enhanced location, that’s basically adding access points. So, in a space like this, if we had maybe 4 access points, you’re going to make sure your map is set up correctly knowing the length and width and how high it is from the floor ,which are things that come in for the enhanced locations.
Finally, the Hyperlocation is the ability to pinpoint within 1 meter at 95% accuracy of a device. This actually takes a lot of work. We’ve offered the 5 meter accuracy for years. People would ask “why isn’t it better?” Because that last part is very challenging to get that location right, because you only have so much data to aggregate. Some people figured out if you put bluetooth antennas on the access point, you can get a lot more data back that we can aggregate into it. There’s a thing called a Halo module. It is a ring that the access point sits in, and within that there are about 4-5 bluetooth antennas in it.
That information is fed through on top of the wifi antenna. It’s fed through the wireless LAN controller to the MSE, all the software is was updated for the mobility services engine to take that information into account. Now given the fact that you’ve done the correct configuration and callibration, we can offer 1 meter accuracy with 95% of the time with hyperlocation. It requires that module, it requires certain access points, it requires all the infrastructure in place. It requires a lot of work with configuration and calibration. The map needs to be laid out properly and the Z value needs to be set for the access points.
In this instance the tolerance is only about an inch. If we are setting up access points 10 meters in the air, we need to be sure to be within a couple centimeters of tolerance. With hyperlocation, you can do things such as legitimate inventory or asset tracking.
For example, a clinic in Ohio uses Cisco CMX to track their fusion pumps. Fusion pumps are extremely expensive and the nurses would leave them and they were constantly losing them and spending too much money on buying more. So, what they decided to do was to track them by building out a CMX application for it specifically. They realized that 50% of the fusion pumps were being used and they really didn’t need to buy more, so it saved them millions of dollars a year.
*************** extra information
Cisco Mobility Express with Cisco CMX Cloud
http://www.cisco.com/c/en/us/td/docs/wireless/controller/technotes/8-3/b_Cisco_Mobility_Express_Deployment_Guide/b_Cisco_Mobility_Express_Deployment_Guide_chapter_01.html
The above document shows how to easily deploy CMX and provide basic presence analytics in less than 30 minutes. Here, you can see that even this easy-to-deploy option provides investment protection with a clear migration path from presence analytics through hyperlocation.
Detect & Locate: When you set up a CMX, you have to define a Campus, so each one is a building, and you set up floors. And on the floor level you set up the map where you put in your measurements. So all the configuration happens on this area.
You can draw zones on the floor if you want to know, for example, how many people are hanging out in a particular section and determine when people are entering or leaving those zones.
Analytics: It builds out some standard reporting. For example, total visits in a period of time, how many visitors you’ve had, what the trends are. Maybe you’ll see a trend over time, in a retail example, you’ll see a spike of visitors right after work.
All the information displaying on the page is being provided by the API.
Connect & Engage we will skip
Manage: