Technology Blogs by SAP
Learn how to extend and personalize SAP applications. Follow the SAP technology blog for insights into SAP BTP, ABAP, SAP Analytics Cloud, SAP HANA, and more.
cancel
Showing results for 
Search instead for 
Did you mean: 
jonaswang
Advisor
Advisor

From Fitbit and Apple Watch to Google Glass and Microsoft HoloLens, the wearable technology is influencing how people live and work. At the same time, the wearable technology is expected to revolutionize the health and life insurance industry. Nearly two-thirds of insurers expect wearable technologies to have a significant impact on their industry, according to a survey in Accenture's technology vision report in 2015 across nine countries.

Traditionally insurers have determined their customers' premiums based on limited information and often some people would start smoking the next day their premiums have been determined. Emerging technology such as wearables can help insurers break from their traditional business models and provide more personalized services for their customers. More specifically, insurers can use the information provided by the wearables to set targets and incentives for policyholders to live a healthier lifestyle, encouraging them with the possibility of lower premiums and even penalize them for unhealthy lifestyle by increasing premiums. Some insurance companies are seeing this new business model as a game changer.

In order to see how this new business model works, we have developed a connected wearables prototype using the Microsoft band.

Architecture

The Microsoft Band prototype is easy to use and demo. The Microsoft band is a fitness tracker that has built-in sensors (e.g. optical heart rate monitor, accelerometer, UV sensor). The Microsoft Band is connected to a smartphone through Bluetooth. Then the smartphone acts as a router for the Microsoft band and sends the data collected from the Microsoft Band to the HANA Cloud Platform where we connect it to an UI5 application.


Building the iOS App for the Microsoft Band

We found the Microsoft Band that we thought was perfect for demos. It has its own Microsoft Band SDK which gives developers direct access to the sensors available on the Band and exposes data as streams from these sensors. And applications can subscribe to these sensor streams. Here’s a list of all the sensor streams that are available.

Accelerometer
Gyroscope
Distance
Hear Rate
Pedometer
Skin Temperature
UV
Band Contact
Calories

And the SDK is also supported on a wide range of platforms, they include windows, iOS and Android.

Using the SDK, we have created an iOS app that collects sensor data from the Microsoft Band. We call the app FitBulous. Beside the streaming the   sensor data from the band, we have added more features to make the app more user-friendly. The app can provides the latest progress of meeting the user daily steps and find a list of gyms nearby based on the user GPS location. We have also added the UV monitor feature which can remind the user to put on sunscreen whenever high level uv exposure is detected. The baby alarm feature have been created for parents to monitor the temperature of their kids, which can be potentially useful when their kids are having fever during sleep the app will call the designated emergency contact automatically.


Building the services

Similar to this blog, we created a java persistence app running on the Hana Cloud Platform that receives data sending from the iOS App. We placed this data in a HANA XS database. We then created OData services in order to access the data in a UI5 app. Since we have multiple sensors in the band we allowed for multiple readings to be received at once.


Building the UI5

Finally we brought everything together in a UI5 application. This application shows the fitness activities of the user in real time. The icon will change base on the current motion type of the user. For example, if the user start walking and then running the icon will change from reseting to walking and then to running and at the same time it tells you how much calories burned and steps have taken and the user's heart rate in real-time.

This is awesome! What's next?

HANA has its Predictive Analysis Library which can be used to determine the best daily steps goal for individual user. And potentially this can be used for insurance companies to lower the premiums if their customers met their daily steps goal. Also the uv exposure detection can be connected to a claim management system, the user would be able to file a claim with the uv exposure information if they found out they have skin problems.