A framework aimed at identifying behavior patterns, habits, customs of monitored individuals through the collection of data from physical and virtual sensors.
- Goals
- Project status
- Release history
- How to use
- Plugin
- Certification Authority with Mosquito
- License
- Contribution
- Author
The general objective of this work is to provide a framework focused on Digital Mental Health Phenotyping (DPMH). The solution will facilitate the development of mobile applications that can passively collect context data, process it, and generate high-level information. Therefore, this framework aims to create a software base to support the implementation of solutions that aim to recognize patterns of behavior and habits of users, which can support mental health professionals in their analyses, diagnoses, and treatments.
Core Components:
- DPManager: responsible for managing the framework (e.g., start/stop, start/stop the processors, configuring the composition mode of PhenotypeComposer).
- ProcessorManager: manages activeDataprocessor (e.g., start/stop activeDataprocessor), start/stop sensors, and identifies new plugin that has been installed.
- DataProcessor: the class where the processors will be implemented (e.g., sociability, mobility, sleep, physical activity).
- RawDataCollector: The class responsible for collecting the raw data and distributing it to the broker, provides EPL resources for the developer to create their CEP rule.
- PhenotypeComposer: composes digital phenotypesEvent of users, receiving directly from the data processor of detected events (eg phone calls, sms, GPS, accelerometer).
Plugin Components:
- PluginManager: class responsible for managing the plugin and its data processing modules that it belongs to. When starting, it sends the list of data processing modules to the Core, when the Core receives this list, it returns only the modules that it is interested in starting, receives data from the Core's sensors, processes them, and returns to the Core.
- DataProcessor: features the same functionality in Core.
- DPManager
- ProcessorManager
- DataProcessor
- PhenotypeComposer
- RawDataCollector
- 0.0.1
- Security adaptation (digital certificates) in progress.
- Adaptation of virtual sensors to the M-HUB.
- Android version: 6
- Android API Version: minSdkVersion > 26
Linux & Windows:
1º option (github project):
* download the zip project, unzip it.
* then open with in Android Studio "Open an Existing Project", ready.
2º option (aar files): under construction...
3º option (apk): under construction...
DPManager
public DPManager digitalPhenotypingManager;
Start-framework:
Option:
1 - SEND_WHEN_IT_ARRIVES
2 - GROUP_ALL
3 - FREQUENCY
3.1 - setFrequency(value).
digitalPhenotypingManager = new DPManager.Builder(this)
.setExternalServer("nameserver.com",1883)
.setCompositionMode(CompositionMode.FREQUENCY)
.setFrequency(15)
.build();
digitalPhenotypingManager.start();
Stop-framework:
digitalPhenotypingManager.stop();
Start-activeDataprocessor:
List<String> listProcessors = {nameProcessor1,nameProcessor2,...};
digitalPhenotypingManager.getInstance().startDataProcessors(listProcessors);
Stop-DisableDataprocessor:
List<String> listProcessors = {nameProcessor1,nameProcessor2,...};
digitalPhenotypingManager.getInstance().stopDataProcessors(listProcessors);
https://github.com/jeancomp/Plugin
https://github.com/jeancomp/Certification-Authority-With-Mosquito
Your Name – @Twitter – [email protected]
Distributed under the XYZ license. See LICENSE
for more information.
Main developer:
- Jean Pablo (https://github.com/jeancomp)
Contributors:
- Ariel Teles (https://github.com/arielsteles)
- André
Jean Pablo
Made by Jean Pablo 👋🏽 Contact!