When a primary entity requests a subscription
service, the service manager updates its subscription
table, taking into account the user’s profiler. This
information is used by the event manager. In Table
1, we list all the services provided by the service
manager.
2.3 Event Manager
The event manager is responsible for routing the
sensors’ data (events) according to the information
contained in the subscription table. The routing is
based on the publisher/subscriber model
(Buschmann, 1996). The data may be requested as
different types of events: a single sample event, a
chunk of samples event or a stream of samples
event. Upon finishing serving a single sample or a
chunk of samples, the event manager clears the
respective entry in the subscription table. An entry in
the subscription table may also be cleared by the
service manager if the associated session is closed.
3 ACQUISITION SYSTEM
In addition to the developed software, and for test
purposes, it is also required to implement an
acquisition system able to be worn by users. One
solution is to develop regular clothes with the
acquisition devices directly embedded. The other is
to develop small enough devices to be hidden in
regular clothes, with the ability the record the
required signals. Figure 3 shows the available device
used for signals recording (bio-signal device).
Figure 3: Physiological acquisition device.
This in-house device allows recording one lead
ECG, oximetry, and temperature. This device has
then possibility to be directly connected to an e-
HealthDroid device (android platform) through USB
or using a wireless link. Either case, the recorded
signals may become available through the e-
HealthDroid device.
4 THE APPLICATION
Figure 4 presents the various screens for the Android
application that implements the API of the e-
HealthDroid sub-system. This application enables
the user to connect to his bio-signal device or other
servers (e-HealthDroid devices), choose events from
the ones permitted by each server and see the
received data in the form of a dynamic graph or a
numerical value. The e-HealthDroid device can itself
be a publisher for the user’s events (associated bio-
signals device) and so permissions should be defined
in the profiles.
The principal screen (Figure 4a) is the one where
the user fills the user and password’s login and
writes the name of a server to which is intended to
connect. The login is necessary so that the server can
obtain the client’s category (by contacting the Care
Center Database) and tell the client what events can
be then subscribed. The Figure 4b) shows the
Subscribing screen, where the user selects one of the
servers to which is already connected and is
presented with the events that has permission to
subscribe. In the exampled case, the user selected
the Festa-HP device, for which has permission to
subscribe the ECG, the Heart Rate, the SPO2, the
Temperature and the Server’s Profile. In this case,
the user is going to subscribe the ECG event. After
this subscription the user is conducted to the
graphical screen (Figure 4c), the most important
screen, for the visualization of the ECG signal in
real time, sent by the server’s device.
Every screen has at least two options: the
configuration and the application exit. The
configuration option leads to the permissions area
(Figure 4d and Figure 4e) where the user can define
the permissions for each category of clients
(profiles) who are allowed to subscribe each event.
This can be done by first selecting the event and
then choosing its desired corresponding permissions
from the categories defined as Everyone (in case the
event could be subscribed for every person
connected), Doctor, Nurse, Other Medical Staff
(such as an auxiliary or a medical student) and Care
Center.
Other options are the Subscribing, which lead to
the subscribing screen to add more events to the
subscribed ones, and the unsubscribing screen,
where the user is conducted to a similar screen to the
previous one, but where the events presented are the
ones already subscribed and where the user selects
the ones to stop subscription. The last option is Start
Menu, where the user goes back to the principal
screen, with a new connection opportunity.
MOBILE HEALTH MONITORING PLATFORM FOR AAL APPLICATIONS
343