Skip to content

Commit 2262070

Browse files
docs: Add manuscript for JOSS journal
Add Biostream manuscript for Journal of Open Source Software (JOSS) submission
1 parent e96716d commit 2262070

7 files changed

Lines changed: 240 additions & 0 deletions

File tree

docs/manuscript/bibliography.bib

Lines changed: 124 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,124 @@
1+
@Article{app14156649,
2+
AUTHOR = {Migliaccio, Gian Mario and Padulo, Johnny and Russo, Luca},
3+
TITLE = {The Impact of Wearable Technologies on Marginal Gains in Sports Performance: An Integrative Overview on Advances in Sports, Exercise, and Health},
4+
JOURNAL = {Applied Sciences},
5+
VOLUME = {14},
6+
YEAR = {2024},
7+
NUMBER = {15},
8+
ARTICLE-NUMBER = {6649},
9+
ISSN = {2076-3417},
10+
DOI = {10.3390/app14156649}
11+
}
12+
@article{Zhang2020,
13+
title = {Utilizing heart rate variability to predict ICU patient outcome in traumatic brain injury},
14+
volume = {21},
15+
ISSN = {1471-2105},
16+
DOI = {10.1186/s12859-020-03814-w},
17+
number = {S17},
18+
journal = {BMC Bioinformatics},
19+
publisher = {Springer Science and Business Media LLC},
20+
author = {Zhang, Ping and Roberts, Tegan and Richards, Brent and Haseler, Luke J.},
21+
year = {2020},
22+
month = dec
23+
}
24+
@Article{s21103461,
25+
AUTHOR = {Hickey, Blake Anthony and Chalmers, Taryn and Newton, Phillip and Lin, Chin-Teng and Sibbritt, David and McLachlan, Craig S. and Clifton-Bligh, Roderick and Morley, John and Lal, Sara},
26+
TITLE = {Smart Devices and Wearable Technologies to Detect and Monitor Mental Health Conditions and Stress: A Systematic Review},
27+
JOURNAL = {Sensors},
28+
VOLUME = {21},
29+
YEAR = {2021},
30+
NUMBER = {10},
31+
ARTICLE-NUMBER = {3461},
32+
PubMedID = {34065620},
33+
ISSN = {1424-8220},
34+
DOI = {10.3390/s21103461}
35+
}
36+
@article{Stolfi2020,
37+
title = {Potential predictors of type-2 diabetes risk: machine learning, synthetic data and wearable health devices},
38+
volume = {21},
39+
ISSN = {1471-2105},
40+
DOI = {10.1186/s12859-020-03763-4},
41+
number = {S17},
42+
journal = {BMC Bioinformatics},
43+
publisher = {Springer Science and Business Media LLC},
44+
author = {Stolfi, Paola and Valentini, Ilaria and Palumbo, Maria Concetta and Tieri, Paolo and Grignolio, Andrea and Castiglione, Filippo},
45+
year = {2020},
46+
month = dec
47+
}
48+
@Inbook{AlbaladejoGonzalezBook,
49+
author="Albaladejo-Gonz{\'a}lez, Mariano
50+
and Ruip{\'e}rez-Valiente, Jos{\'e} A.",
51+
editor="Ifenthaler, Dirk
52+
and Seufert, Sabine",
53+
title="Supporting Stress Detection Via AI and Non-invasive Wearables in the Context of Work",
54+
bookTitle="Artificial Intelligence Education in the Context of Work",
55+
year="2022",
56+
publisher="Springer International Publishing",
57+
address="Cham",
58+
pages="77--97",
59+
isbn="978-3-031-14489-9",
60+
doi="10.1007/978-3-031-14489-9_5",
61+
}
62+
63+
64+
@ARTICLE{10584460,
65+
author={Chettri, Nishan and Aprile, Antonio and Bonizzoni, Edoardo and Malcovati, Piero},
66+
journal={IEEE Sensors Journal},
67+
title={Advances in PPG Sensors Data Acquisition With Light-to-Digital Converters: A Review},
68+
year={2024},
69+
volume={24},
70+
number={16},
71+
pages={25261-25274},
72+
doi={10.1109/JSEN.2024.3420170}
73+
}
74+
@article{Vliaho2022,
75+
title = {Continuous 24-h Photoplethysmogram Monitoring Enables Detection of Atrial Fibrillation},
76+
volume = {12},
77+
ISSN = {1664-042X},
78+
DOI = {10.3389/fphys.2021.778775},
79+
journal = {Frontiers in Physiology},
80+
publisher = {Frontiers Media SA},
81+
author = {V\"{a}liaho, Eemu-Samuli and Lipponen, Jukka A. and Kuoppa, Pekka and Martikainen, Tero J. and J\"{a}ntti, Helena and Rissanen, Tuomas T. and Castrén, Maaret and Halonen, Jari and Tarvainen, Mika P. and Laitinen, Tiina M. and Laitinen, Tomi P. and Santala, Onni E. and Rantula, Olli and Naukkarinen, Noora S. and Hartikainen, Juha E. K.},
82+
year = {2022},
83+
month = jan
84+
}
85+
86+
@article{Wei2021,
87+
title = {Using machine learning to determine the correlation between physiological and environmental parameters and the induction of acute mountain sickness},
88+
volume = {22},
89+
ISSN = {1471-2105},
90+
DOI = {10.1186/s12859-022-04749-0},
91+
number = {S5},
92+
journal = {BMC Bioinformatics},
93+
publisher = {Springer Science and Business Media LLC},
94+
author = {Wei, Chih-Yuan and Chen, Ping-Nan and Lin, Shih-Sung and Huang, Tsai-Wang and Sun, Ling-Chun and Tseng, Chun-Wei and Lin, Ke-Feng},
95+
year = {2021},
96+
month = nov
97+
}
98+
@article{Schuurmans2020,
99+
title = {Validity of the Empatica E4 Wristband to Measure Heart Rate Variability (HRV) Parameters: a Comparison to Electrocardiography (ECG)},
100+
volume = {44},
101+
ISSN = {1573-689X},
102+
DOI = {10.1007/s10916-020-01648-w},
103+
number = {11},
104+
journal = {Journal of Medical Systems},
105+
publisher = {Springer Science and Business Media LLC},
106+
author = {Schuurmans, Angela A. T. and de Looff, Peter and Nijhof, Karin S. and Rosada, Catarina and Scholte, Ron H. J. and Popma, Arne and Otten, Roy},
107+
year = {2020},
108+
month = sep
109+
}
110+
@article{AlbaladejoGonzlez2025,
111+
title = {A multimodal and adaptive gamified system to improve cybersecurity competence training},
112+
volume = {28},
113+
ISSN = {1573-7543},
114+
DOI = {10.1007/s10586-025-05264-6},
115+
number = {9},
116+
journal = {Cluster Computing},
117+
publisher = {Springer Science and Business Media LLC},
118+
author = {Albaladejo-González, Mariano and Nespoli, Pantaleone and Gómez Mármol, Félix and Ruipérez-Valiente, José A.},
119+
year = {2025},
120+
month = aug
121+
}
122+
123+
124+
809 KB
Binary file not shown.
184 KB
Binary file not shown.
30.8 KB
Loading
249 KB
Loading
458 KB
Binary file not shown.

docs/manuscript/paper.md

Lines changed: 116 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,116 @@
1+
2+
---
3+
BioStream: An open-source solution for biometric data collection through smartwatches
4+
5+
6+
title: 'BioStream: An open-source solution for biometric data collection through smartwatches'
7+
8+
tags:
9+
- Biometrics
10+
- Physiological Signals
11+
- Wear OS
12+
- Smartwatches
13+
- Data Collection
14+
15+
authors:
16+
- name: Mariano Albaladejo-González
17+
affiliation: 1
18+
corresponding: true
19+
- name: Guillermo Vidal-Pina
20+
affiliation: 1
21+
- name: Félix Gómez Mármol
22+
affiliation: 1
23+
- name: José A. Ruipérez-Valiente
24+
affiliation: 1
25+
26+
affiliations:
27+
- name: Universidad de Murcia, Calle Campus Universitario, Murcia, 30100, Murcia, Spain
28+
index: 1
29+
30+
date: 29 December 2025
31+
32+
bibliography: bibliography.bib
33+
---
34+
35+
# Summary
36+
37+
BioStream is an integrated open-source infrastructure for biometric research through affordable devices, composed of two applications: SmartBioStream and ServerBioStream. SmartBioStream is a Wear OS application that enables the collection of biometric data through user-friendly smartwatches. In addition, we provide a web platform, ServerBioStream, to receive, store, and download the data sent by the smartwatches. The combination of both applications supports conducting biometric studies without the need for expensive research-oriented devices. SmartBioStream can also transmit biometric data to other systems for their analysis, such as educational and workplace platforms. The flexibility, ease of use, and cost-effectiveness of both applications make them valuable tools for democratizing biometric data collection and analysis.
38+
39+
# Statement of need
40+
41+
Biometric data provide valuable insights into individuals' physical and psychological states [@app14156649] [@Zhang2020]. In recent years, we have witnessed significant advancements in sensor technology, improving their precision and reducing their cost and size [@s21103461] [@Stolfi2020]. These improvements have also made it possible to include biometric sensors in commercial and user-oriented devices such as smartwatches [@AlbaladejoGonzalezBook].
42+
43+
Despite the widespread adoption of biometric sensors in user-oriented devices, researchers cannot easily employ them because they do not provide a user-friendly application to collect and send data [@s21103461] [@10584460]. For this reason, researchers without software development skills or available time are forced to acquire expensive and complex research-oriented devices [@Vliaho2022] [@Wei2021]. However, Bachelor's, Master's, and PhD students sometimes cannot afford research-oriented devices such as the Empatica E4 [@Schuurmans2020]. This issue is magnified because some of these devices require purchasing and configuring intermediary devices, such as a mobile phone [@AlbaladejoGonzalezBook]. In addition, using expensive research-oriented devices makes it difficult to conduct long-term case studies with different participants.
44+
45+
# Implementation
46+
47+
BioStream enables the collection and transmission of biometric data from a smartwatch to a server via Wi-Fi. This application supports two different use cases: conducting biometric research and integrating biometric data into other end platforms. In biometric research, the application collects biometrics from the participants in a study and transmits them to a server along with an experiment identifier. We also developed ServerBioStream to receive, store, and export the data sent by the smartwatches. The second use case focuses on integrating SmartBioStream into the main server of an organization. Educational and work institutions can use SmartBioStream to provide biometric data to their software tools.
48+
49+
## Architecture
50+
51+
SmartBioStream is a Kotlin application developed for Wear OS smartwatches. This application supports both aforementioned use cases by allowing users to select the appropriate configuration from the options menu. ServerBioStream is a Django web platform that integrates an Application Programming Interface (API) to receive and store the data sent by the smartwatches using SmartBioStream. ServerBioStream uses SQLite for accessible data storage and visualization, though it also supports PostgreSQL for better performance in concurrent experiments. Figure 1 illustrates the architecture of both applications. The communication between SmartBioStream and a server is summarized in Figure 2.
52+
53+
54+
![Architecture of SmartBioStream and ServerBioStream for biometric research](images/BioStream_architecture.pdf)
55+
56+
57+
![Summary of the communication between SmartBioStream and a server, such as ServerBioStream](images/BioStream_communication.pdf)
58+
59+
## Software functionalities
60+
61+
This subsection describes the main functionalities of both developed applications. The main functionality of SmartBioStream is to collect and transmit biometric data from smartwatches. ServerBioStream is an example of a platform that stores the data emitted by SmartBioStream. In addition to testing and verifying the data transmission, this application is highly valuable for researchers, as it enables them to conduct biometric case studies through Wear OS smartwatches.
62+
63+
### SmartBioStream
64+
65+
This application's user interface was designed to be simple and intuitive, especially the views of the end-users. This application integrates three main functionalities:
66+
67+
* **Options.** This functionality enables users to adjust settings related to communication with the server. The views of this functionality enable the selection of the server's IP address, the port, the protocol (HTTP or HTTPS), whether the application should verify the HTTPS certificate, and the authentication method (username and password or identifier).
68+
69+
* **Connection test.** This view checks the connectivity between the application and the server. Before starting an experiment, a researcher should verify the server's availability.
70+
71+
* **Data collection.** These views collect and send biometrics from the end-users. Depending on the application settings, this functionality may require an experiment identifier or a username and password. After registration, the users select from the available sensors, including heart rate, accelerometer, gyroscope, and temperature. Then, the users access the recording view, where they can temporarily pause the data collection, return to the sensor menu, or navigate back to the main menu. Figure 3 summarizes the data collection and options views.
72+
73+
![Data collection and option views of SmartBioStream](images/SmartBioStream.pdf)
74+
75+
76+
77+
78+
### ServerBioStream
79+
80+
This web platform receives and stores the data collected from SmartBioStream. We have developed this tool to provide access to the data gathered during the various experiments of a case study. We define an experiment as the participation of one user in a case study. This platform is intended for researchers and administrators rather than the experiments' participants. Consequently, it supplies the following functionalities:
81+
82+
* **JSON API.** This API receives the data emitted by one or multiple smartwatches. The messages are processed, and each measurement is stored in the database.
83+
* **User management.** ServerBioStream considers two roles: researchers and administrators. Researchers can connect to the platform and download the stored data. Administrators are the only ones who can create new users. Both of them have to authenticate with a username and password before accessing the web platform.
84+
* **Real-time data monitoring.** Researchers and administrators can visualize the data received and stored for each experiment. This feature also helps ensure the proper collection of the biometrics during the experiments.
85+
* **Data export.** The users of this platform can download the data collected from each experiment in CSV, XLSX, and PDF formats. This functionality enables the researchers to develop their specific analyses with the necessary software, such as Excel and Python.
86+
87+
# Use cases
88+
89+
In this section, we provide two use cases utilizing BioStream: one to conduct a biometric study and the other to supply biometric data to an external platform. For both case studies, we used Samsung Galaxy Watch 6 smartwatches. However, any other device with Wear OS operating system and a Wi-Fi module could be used.
90+
91+
## Research setting
92+
93+
We present a biometric case study as an illustrative example of how BioStream supports biometric research. For this case study, researchers collected participants' heart rates and movements (through the accelerometers). One potential application is to evaluate the effect of different stressors or tasks on participants' biometrics. During the case study, researchers can utilize SmartBioStream to monitor each experiment's biometrics in real-time. As Figure 4 shows, ServerBioStream displays two tables: the first summarizes all the experiments, and the second shows the collected data for the experiments selected in the first table. During and after the experiments, researchers can download the collected data in CSV, XLSX, and PDF formats. The downloaded files can then be analyzed using various data analysis software, such as Python or Excel.
94+
95+
![Data collection and visualization of a biometric case study through ServerBioStream](images/Research_data_collection.png)
96+
97+
98+
## SmartBioStream to improve cybersecurity training
99+
100+
To illustrate the integration of SmartBioStream with end platforms, we have utilized it with a Cyber Range, an educational platform designed to provide hands-on training for cybersecurity professionals [@AlbaladejoGonzlez2025]. Effective stress management is crucial for these professionals, as they must make rapid, high-stakes decisions during cyber incidents. In the cybersecurity simulations, we measure students' heart rates using Wear OS smartwatches and SmartBioStream. This application sends the heart rates to our Cyber Range, enabling cybersecurity educators to analyze students' heart rates during the simulations. The collected heart rates are displayed in the Cyber Range as another simulation statistic. Figure 5 shows four students' heart rates and stress levels in a cybersecurity simulation.
101+
102+
![Summary statistics of a cybersecurity simulation conducted on a Cyber Range, with heart rates collected through SmartBioStream](images/Cyber_range.png)
103+
104+
105+
106+
107+
# Software availability
108+
109+
BioStream is openly available to the research community and the general public through its official repository at [https://github.com/CyberDataLab/BioStream](https://github.com/CyberDataLab/BioStream).
110+
111+
# Acknowledgment
112+
113+
This work has been partially funded by PID2021-122466OB-I00 and PRE2022-102391 by MCIN/AEI/10.13039/501100011033/FEDER.
114+
115+
# References
116+

0 commit comments

Comments
 (0)