

{"id":113,"date":"2019-06-20T10:06:43","date_gmt":"2019-06-20T08:06:43","guid":{"rendered":"https:\/\/project.inria.fr\/sherpam\/?page_id=113"},"modified":"2019-06-20T10:07:00","modified_gmt":"2019-06-20T08:07:00","slug":"prototype","status":"publish","type":"page","link":"https:\/\/project.inria.fr\/sherpam\/prototype\/","title":{"rendered":"Overview of the Sherpam system"},"content":{"rendered":"<p><\/p>\n<h4>Challenges<\/h4>\n<p>Project Sherpam aims at monitoring continuously the health status of people during their daily activities. A system for data acquisition, transmission, and processing is therefore required that meets the following criteria:<\/p>\n<ul>\n<li><strong>Extensibility<\/strong><br \/>\nSince distinct pathologies may require different types of data the system should not be limited to a pre-defined, immutable set of sensors, but it should on the contrary be extensible so as to easily accommodate new types of sensors whenever needed;<\/li>\n<li><strong>Self-sufficiency<\/strong><br \/>\nThe system should allow that data acquired by sensors be processed either &#8220;locally&#8221; or on a remote site. Local processing makes it possible for the sensing system worn by a subject to run autonomously &#8211;though possibly in a degraded mode&#8211; when no communication network is available. In contrast remote processing makes it possible to run advanced (CPU intensive) algorithms on the data collected by the sensors.<\/li>\n<li><strong>Agility<\/strong><br \/>\nThe system should be agile regarding network connectivity, switching from cellular (2.5G\/3G\/4G) networks to Wi-Fi hotspots depending on their availability, but also depending on other parameters such as the nature of the data to be transmitted or the power consumption involved when using each kind of network.<\/li>\n<li><strong>Disruption-tolerance<\/strong><br \/>\nThe system should be able to tolerate disruptions in network connectivity, including long disruptions as can be observed in &#8220;white zones&#8221; that are not covered by any wireless network.<\/li>\n<\/ul>\n<h4>Achievements<\/h4>\n<p><strong>General architecture<\/strong><\/p>\n<p>No system meeting all the criteria listed in the above paragraph is openly available to date. Part of the work conducted in project Sherpam has therefore been devoted to designing and implementing a prototype system that meets these criteria. To date the source code of this system is composed of about 170 Java classes, which together contain about 17.000 lines of code.<\/p>\n<p class=\"standard\"><a id=\"magicparlabel-3434\"><\/a>An overview of this prototype system is provided in <a id=\"magicparlabel-3434\"><\/a>Figure 1<a id=\"magicparlabel-3434\"><\/a>. This system encompasses all stages of data acquisition, transmission, and processing, and each of these operations can be performed automatically and continuously.<\/p>\n<div id=\"attachment_106\" style=\"width: 3238px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/project.inria.fr\/sherpam\/files\/2019\/06\/system_overview.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-106\" class=\"size-full wp-image-106\" src=\"https:\/\/project.inria.fr\/sherpam\/files\/2019\/06\/system_overview.png\" alt=\"\" width=\"3228\" height=\"1003\" srcset=\"https:\/\/project.inria.fr\/sherpam\/files\/2019\/06\/system_overview.png 3228w, https:\/\/project.inria.fr\/sherpam\/files\/2019\/06\/system_overview-300x93.png 300w, https:\/\/project.inria.fr\/sherpam\/files\/2019\/06\/system_overview-768x239.png 768w, https:\/\/project.inria.fr\/sherpam\/files\/2019\/06\/system_overview-1024x318.png 1024w, https:\/\/project.inria.fr\/sherpam\/files\/2019\/06\/system_overview-150x47.png 150w\" sizes=\"auto, (max-width: 3228px) 100vw, 3228px\" \/><\/a><p id=\"caption-attachment-106\" class=\"wp-caption-text\">Fig 1. Overview of the Sherpam system<\/p><\/div>\n<div id=\"aui_3_4_0_1_997\" class=\"standard\"><a id=\"magicparlabel-4065\"><\/a>Sensors worn by a subject are used to acquire data pertaining to the subject&#8217;s status (acceleration, gyroscope, heart rate or full-featured ECG, temperature, location, etc.). Data streams produced by these sensors are gathered by a portable \u201cgateway\u201d, which is also worn by the subject. This gateway pre-processes data, so they can be transferred to a remote site for storage and analysis. The sensors and the gateway together constitute a Body Area Network (BAN), and transmissions in this BAN rely on Bluetooth <a id=\"magicparlabel-4064\"><\/a>links (<a id=\"magicparlabel-4065\"><\/a>including Bluetooth Low Energy)<a id=\"magicparlabel-4064\"><\/a>. Support for other transmission technologies (e.g., ANT+) may be included later in the system.<\/div>\n<div><\/div>\n<div class=\"standard\"><a id=\"aui_3_4_0_1_1011\"><\/a>Before transferring data to a remote site, the gateway can pre-process these data in order to reduce the amount of data to be transferred, or in order to detect interesting patterns in these data. In the latter case, the subject can be warned directly by audible or visual notifications.<\/div>\n<div><\/div>\n<div class=\"standard\">In the framework of project Sherpam, the gateway is typically an Android smartphone running a dedicated application (see the screenshots in Fig. 2), as this kind of device is readily available at reasonable cost, is programmable, supports several radio standards (e.g., Bluetooth, Wi-Fi and 2.5G\/3G\/4G), has enough processing power to handle data streams, and offers a nice user interface. The Android application developped in the framework of project Sherpam has been registered with the French <a href=\"http:\/\/www.app.asso.fr\/en\">Agence pour la Protection des Programmes<\/a>\u00a0 (IDDN.FR.001.540019.000.S.P.2015.000.31230).<\/div>\n<div><\/div>\n<div>\n<p><a href=\"https:\/\/project.inria.fr\/sherpam\/files\/2019\/06\/overview-0.png\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-105 alignleft\" src=\"https:\/\/project.inria.fr\/sherpam\/files\/2019\/06\/overview-0.png\" alt=\"\" width=\"190\" height=\"338\" srcset=\"https:\/\/project.inria.fr\/sherpam\/files\/2019\/06\/overview-0.png 720w, https:\/\/project.inria.fr\/sherpam\/files\/2019\/06\/overview-0-169x300.png 169w, https:\/\/project.inria.fr\/sherpam\/files\/2019\/06\/overview-0-576x1024.png 576w, https:\/\/project.inria.fr\/sherpam\/files\/2019\/06\/overview-0-84x150.png 84w\" sizes=\"auto, (max-width: 190px) 100vw, 190px\" \/><\/a> <a href=\"https:\/\/project.inria.fr\/sherpam\/files\/2019\/06\/add-0.png\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-104 alignleft\" src=\"https:\/\/project.inria.fr\/sherpam\/files\/2019\/06\/add-0.png\" alt=\"\" width=\"190\" height=\"337\" srcset=\"https:\/\/project.inria.fr\/sherpam\/files\/2019\/06\/add-0.png 720w, https:\/\/project.inria.fr\/sherpam\/files\/2019\/06\/add-0-169x300.png 169w, https:\/\/project.inria.fr\/sherpam\/files\/2019\/06\/add-0-576x1024.png 576w, https:\/\/project.inria.fr\/sherpam\/files\/2019\/06\/add-0-84x150.png 84w\" sizes=\"auto, (max-width: 190px) 100vw, 190px\" \/><\/a> <a href=\"https:\/\/project.inria.fr\/sherpam\/files\/2019\/06\/add-2.png\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-103 alignleft\" src=\"https:\/\/project.inria.fr\/sherpam\/files\/2019\/06\/add-2.png\" alt=\"\" width=\"189\" height=\"336\" srcset=\"https:\/\/project.inria.fr\/sherpam\/files\/2019\/06\/add-2.png 720w, https:\/\/project.inria.fr\/sherpam\/files\/2019\/06\/add-2-169x300.png 169w, https:\/\/project.inria.fr\/sherpam\/files\/2019\/06\/add-2-576x1024.png 576w, https:\/\/project.inria.fr\/sherpam\/files\/2019\/06\/add-2-84x150.png 84w\" sizes=\"auto, (max-width: 189px) 100vw, 189px\" \/><\/a><a href=\"https:\/\/project.inria.fr\/sherpam\/files\/2019\/06\/add-5.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft wp-image-102\" src=\"https:\/\/project.inria.fr\/sherpam\/files\/2019\/06\/add-5.png\" alt=\"\" width=\"190\" height=\"337\" srcset=\"https:\/\/project.inria.fr\/sherpam\/files\/2019\/06\/add-5.png 720w, https:\/\/project.inria.fr\/sherpam\/files\/2019\/06\/add-5-169x300.png 169w, https:\/\/project.inria.fr\/sherpam\/files\/2019\/06\/add-5-576x1024.png 576w, https:\/\/project.inria.fr\/sherpam\/files\/2019\/06\/add-5-84x150.png 84w\" sizes=\"auto, (max-width: 190px) 100vw, 190px\" \/><\/a><\/p>\n<\/div>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: center;\">Fig 2. Screenshots taken from the Android application deployed on the gateway<\/p>\n<p class=\"standard\"><a id=\"magicparlabel-4066\"><\/a>Since the Android OS does not allow an application to load external classes at runtime, an original plugin system has been developped for this project&#8217;s Android app. With this plugin system, software modules can be &#8220;plugged in&#8221; the application at any time, each module being designed to drive a specific type of sensor. With this feature, the Android app is highly modular, as new types of sensors can be included at any time in the Sherpam system, without requiring any update of the app itself.<\/p>\n<div class=\"standard\">\n<p id=\"aui_3_4_0_1_1078\" class=\"standard\"><strong id=\"aui_3_4_0_1_1077\"><a id=\"aui_3_4_0_1_1076\"><\/a>Adaptive behavior of the gateway<\/strong><\/p>\n<p><a id=\"aui_3_4_0_1_1092\"><\/a>Communication between the gateway and the remote site relies on medium-range to long-range transmission technologies such as Wi-Fi and 2.5G\/3G\/4G. Since network connectivity cannot be guaranteed anywhere and anytime for a mobile device, disruption-tolerant techniques are used to ensure that no data is lost during disconnections. The Sherpam system may thus be used in challenged environments where network connectivity is erratic, for example in rural or developing regions, or in disaster-relief scenarios.<\/p>\n<\/div>\n<div id=\"aui_3_4_0_1_1052\" class=\"standard\">\n<div id=\"magicparlabel-1974\" class=\"standard\">In the Sherpam system, the data collected by the gateway are not necessarily transmitted immediately to the remote site. They are first assembled into bundles, which can be stored for a while on the gateway, and be transmitted to the remote site when circumstances permit. A bundle is basically a collection of data samples, together with meta-information about these samples (data type, timestamps, priority level, etc.). Using bundles as transmission units in the Sherpam system makes it possible to devise and implement adaptive strategies in the gateway. For example, when a connectivity disruption occurs, the order in which bundles are sent once the connectivity is reestablished may depend on the nature or priority level of the data samples contained in these bundles. Bundles containing urgent data may thus be transmitted first, while less urgent bundles are delayed or discarded. Using bundles also makes it possible to transmit data in short high-speed bursts, rather than in continuous low-speed streams. With this approach the radio circuits used by the gateway can be disabled most of the time, which significantly reduces the power drain on this device. Indeed, the Android app running on the gateway can deliberately disable all radio circuits in order to save power, enabling only the Wi-Fi radio every now and then to send all or part of the available bundles, and switching to cellular (i.e., 2.5G\/3G\/4G) transmissions only when Wi-Fi transmissions are not possible. Field experiments have shown that such an approach proves very effective to preserve the power budget of the gateway, multiplying its autonomy up to tenfold.<\/div>\n<div class=\"standard\"><\/div>\n<div class=\"standard\"><strong>Aggregation server<\/strong><\/div>\n<p><a id=\"magicparlabel-4068\"><\/a>The front-end of the \u201cremote site\u201d is an aggregation server, whose role is to receive the bundles sent by mobile gateways, to extract the data contained in these bundles, and to store these data so they can be accessed by processing units.<\/p>\n<p id=\"aui_3_4_0_1_1051\">A processing unit is typically an application that subscribes with the server in order to receive all data pertaining to a given patient, and to process these data continuously and autonomously, looking for interesting patterns (for examples signs of arrythmia in a stream of ECG samples). When a processing unit detects anything interesting or unusual, a notification can be sent automatically to medical staff, or directly to the patient.<\/p>\n<p id=\"aui_3_4_0_1_1061\">A very basic processing unit has been developped to serve as a demonstrator in project Sherpam. This unit is simply a Web server <a id=\"magicparlabel-4068\"><\/a>(Fig. 3)<a id=\"magicparlabel-4068\"><\/a>, which makes it possible to parse the data stored on the aggregation server, to visualize data sets, and to download selected data for further analysis.<\/p>\n<div id=\"attachment_101\" style=\"width: 1648px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/project.inria.fr\/sherpam\/files\/2019\/06\/main_expanded.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-101\" class=\"size-full wp-image-101\" src=\"https:\/\/project.inria.fr\/sherpam\/files\/2019\/06\/main_expanded.png\" alt=\"\" width=\"1638\" height=\"935\" srcset=\"https:\/\/project.inria.fr\/sherpam\/files\/2019\/06\/main_expanded.png 1638w, https:\/\/project.inria.fr\/sherpam\/files\/2019\/06\/main_expanded-300x171.png 300w, https:\/\/project.inria.fr\/sherpam\/files\/2019\/06\/main_expanded-768x438.png 768w, https:\/\/project.inria.fr\/sherpam\/files\/2019\/06\/main_expanded-1024x585.png 1024w, https:\/\/project.inria.fr\/sherpam\/files\/2019\/06\/main_expanded-150x86.png 150w\" sizes=\"auto, (max-width: 1638px) 100vw, 1638px\" \/><\/a><p id=\"caption-attachment-101\" class=\"wp-caption-text\">Fig 3. Screenshot of the demonstration website<\/p><\/div>\n<div id=\"aui_3_4_0_1_1125\" class=\"standard\"><strong id=\"aui_3_4_0_1_1124\">Data encryption<\/strong><\/div>\n<div class=\"standard\"><\/div>\n<div class=\"standard\">Since data pertaining to the health of people are inherently sensible data, the whole Sherpam system has been designed so as to preserve the confidentiality of these data. All transmissions between a Sherpam gateway and the aggregation server<a id=\"magicparlabel-4067\"><\/a> are encrypted\u00a0 using state-of-the-art encryption algorithms. Besides, a gateway must authenticate itself with the server before being able to send any bundle of data samples. Once they reach the aggregation server the bundles are processed locally, and the data they contain are stored in the local filesystem in an encrypted form.<\/div>\n<div><\/div>\n<h4>Prospects for future work<\/h4>\n<p>The prototype system developed in the framework of project Sherpam is extensible. Future extensions might cover:<\/p>\n<ul>\n<li>The implementation of data processing algorithms to be embedded directly on the gateway, so it can run autonomously when network connectivity is disrupted.<\/li>\n<li>The implementation of advanced (and possibly resource-greedy) data processing algorithms to be run on dedicated processing units.<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<\/div>\n<p><\/p>","protected":false},"excerpt":{"rendered":"<p>Challenges Project Sherpam aims at monitoring continuously the health status of people during their daily activities. A system for data acquisition, transmission, and processing is\u2026<\/p>\n<p> <a class=\"continue-reading-link\" href=\"https:\/\/project.inria.fr\/sherpam\/prototype\/\"><span>Continue reading<\/span><i class=\"crycon-right-dir\"><\/i><\/a> <\/p>\n","protected":false},"author":1611,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-113","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/project.inria.fr\/sherpam\/wp-json\/wp\/v2\/pages\/113","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/project.inria.fr\/sherpam\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/project.inria.fr\/sherpam\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/project.inria.fr\/sherpam\/wp-json\/wp\/v2\/users\/1611"}],"replies":[{"embeddable":true,"href":"https:\/\/project.inria.fr\/sherpam\/wp-json\/wp\/v2\/comments?post=113"}],"version-history":[{"count":2,"href":"https:\/\/project.inria.fr\/sherpam\/wp-json\/wp\/v2\/pages\/113\/revisions"}],"predecessor-version":[{"id":115,"href":"https:\/\/project.inria.fr\/sherpam\/wp-json\/wp\/v2\/pages\/113\/revisions\/115"}],"wp:attachment":[{"href":"https:\/\/project.inria.fr\/sherpam\/wp-json\/wp\/v2\/media?parent=113"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}