| Literature DB >> 27187394 |
Algimantas Venčkauskas1, Vytautas Štuikys2, Nerijus Jusas3, Renata Burbaitė4.
Abstract
This paper introduces the sensor-networked IoT model as a prototype to support the design of Body Area Network (BAN) applications for healthcare. Using the model, we analyze the synergistic effect of the functional requirements (data collection from the human body and transferring it to the top level) and non-functional requirements (trade-offs between energy-security-environmental factors, treated as Quality-of-Service (QoS)). We use feature models to represent the requirements at the earliest stage for the analysis and describe a model-driven methodology to design the possible BAN applications. Firstly, we specify the requirements as the problem domain (PD) variability model for the BAN applications. Next, we introduce the generative technology (meta-programming as the solution domain (SD)) and the mapping procedure to map the PD feature-based variability model onto the SD feature model. Finally, we create an executable meta-specification that represents the BAN functionality to describe the variability of the problem domain though transformations. The meta-specification (along with the meta-language processor) is a software generator for multiple BAN-oriented applications. We validate the methodology with experiments and a case study to generate a family of programs for the BAN sensor controllers. This enables to obtain the adequate measure of QoS efficiently through the interactive adjustment of the meta-parameter values and re-generation process for the concrete BAN application.Entities:
Keywords: BAN software design; Internet of Things; WNS; body area network; model-driven approach; quality-of-service; security and privacy
Mesh:
Year: 2016 PMID: 27187394 PMCID: PMC4883361 DOI: 10.3390/s16050670
Source DB: PubMed Journal: Sensors (Basel) ISSN: 1424-8220 Impact factor: 3.576
Figure 1Two-layered sensor-networked IoT model to support BAN-oriented applications.
Figure 2Motivating example to explain feature-based modeling concepts.
Figure 3The solution domain feature model with abstract variants (shortly FMs).
Figure 4Principle of model-driven methodology: (a) transformation-based framework; (b) automatic design of BAN-oriented software.
Figure 5Specialized concrete feature model to specify generic requirements for a set of BAN applications.
Constraint relationships within the feature model (Figure 5).
| No. | Features | Constraints | Features |
|---|---|---|---|
| 1 | Pulse Wi-Fi | Wi-Fi | |
| 2 | Gas ZigBee | ZigBee | |
| 3 | Temperature Bluetooth | Bluetooth | |
| 4 | 25 Kb | 150 kb/s | |
| 5 | 2 Mb | 5 Mb/s | |
| 6 | 0.5 Mb | 1.5 Mb/s | |
| 7 | Wi-Fi | 5 Mb/s | |
| 8 | Bluetooth | 1.5 Mb/s | |
| 9 | ZigBee | 150 kb/s | |
| 10 | Bluetooth | C | |
| 11 | ZigBee | TS | |
| 12 | TS | Wi-Fi | |
| 13 | Pulse sensor | Max: (15; 30] | |
| 14 | Gas sensor | Aver: (5; 15] | |
| 15 | Temperature sensor | Min: [1; 5] | |
| 16 | Pulse Wi-Fi | Pmax | |
| 17 | Temperature Bluetooth | Paver | |
| 18 | Gas ZigBee | Pmin | |
| 19 | Pulse sensor | 1 s | |
| 20 | Gas sensor | 5 s | |
| 21 | Temperature sensor | 10 s | |
| 22 | Pulse Wi-Fi | 2 Mb | |
| 23 | Temperature Bluetooth | 25 kb | |
| 24 | Gas ZigBee | 0.5 Mb |
Basic metrics of the SC feature model taken from the tool SPLOT.
| Characteristics | Specialized FM ( | FM of the Motivating Example ( |
|---|---|---|
| #Features | 69 | 18 |
| -Optional | 0 | 3 |
| -Mandatory | 18 | 6 |
| -Grouped | 40 | 8 |
| -Groups | 16 | 3 |
| Tree Depth | 5 | 4 |
| #Extra constraints | 24 | 2 |
| #Dead Features | 0 | 0 |
| Count Configurations | 8 | 240 |
Figure 6The views: (a) real time measurements (both on the patient’s side) and (b) the pulse signal history for monitoring over the Internet in the remote station; (c) the implemented hardware of the pulse sensor.
Figure 7Abstract feature model to specify requirements of BAN-related applications.
Figure 8SSC implementation-level concrete feature model.
Basic metrics of the SSC feature model taken from the tool SPLOT.
| #Features | 47 |
| -Optional | 0 |
| -Mandatory | 12 |
| -Grouped | 34 |
| -Groups | 5 |
| Tree Depth | 3 |
| #Extra constraints | 0 |
| #Dead Features | 0 |
| Count Configurations | Since 9450 |
Figure 9Structure of the two-level meta-program interface.
Basic metrics of meta-program and its instances for BAN-oriented applications.
| No. | Criteria | Value | Properties |
|---|---|---|---|
| 1 | Meta-language | PHP | May be used another language |
| 2 | Target language | C# | May be used another language |
| 3 | Meta-program size | 11.7 kB | |
| 4 | The average size of the generated program | 1.56 kB | |
| 5 | # of instances that can be generated | Since 9450 | Depends on the number of parameters and their values |
| 6 | # of tested variants of generated programs | 15 | Covers all critical points of meta-program |
| 7 | # of parameters | 24 | All parameters are independent |
| 8 | # of different meta-functions | 5 | Functions that perform simple operations (fopen, fwrite, fclose), conditional function (if) |
| 9 | Total # of meta-functions | 69 | Allows to evaluate the complexity of meta-program |
| 10 | Total # of parameters | 329 | Defines cognitive understandability of the meta-program |
| 11 | Relative Kolmogorov’s Complexity (RKC). A high value of RKC means that there are fewer capabilities for compression, | 0.22 | A ratio of the size of the compressed meta-program using a compression algorithm BWT (Burrows-Wheeler transform, see GnuWin32) to the size of the initial meta-program [ |
Figure A1Meta-program fragments in PHP, using HTML for representation of parameters and their values.
Figure A2Generated instance in C# for smart sensor controller of BAN.