∀x,y,RTA(x) ⊆ ∀ti(x).dateTime(y)
∀x,y,RTA(x) ⊆ ∀va(x).real(y)
∀x,y,RTA(x) ⊆ ∀ti(x).dateTime(y)
∀x,y,RTA(x) ⊆ ∀vd(x).duration(y)
∀x,y,RTA(x) ⊆ ∀mde(x).real(y)
∀x,y,RTA(x) ⊆ ∀uo(x).RTO(y)
∀x,y,RTA(x) ⊆ ∀nv(x).integer(y)
• N (Name): is the name of the attribute.
• T (Type): is the type of the attribute which can be
integer, real, string, etc.
• M (Multiplicity): indicates how kinds of values or
objects a real-time attribute can obtain.
• V (Visibility): represents the visibility of the at-
tribute: public, protected or private.
• Va (Value): is used to store the real world attribute
value captured by the last update correspondent
method. This field is used by the system to de-
termine the logical consistency constraints of the
attribute value.
• Ti (Timestamp): is used to store the instant at
which the attribute value was last updated. The
timestamp determines the temporal consistency
constraint of the attribute value. For example, in
the Aircraft real-time object, there is a property
for storing the speed, called speed, to which a
sensor periodically provides readings. This up-
date is expected every 30 seconds, thus the speed
property is considered temporally inconsistent if
the update does not occur within that time. The
timestamp value of the speed property must be
utilized by the real-time database system to deter-
mine that the update operation did not happen as
expected. There are many ways to define times-
tamps (Idoudi et al., 2010). In our work, we con-
sider that the timestamp is the time when the value
is written.
• Vd (Validity duration): it indicates the amount of
time during which the attribute value is considered
valid. This field permits to determine, in associa-
tion with the timestamp, the absolute consistency
constraint of the real-time attribute. A real-time
data is considered absolutely fresh with respect to
time as long as the age of the data value is within
a given interval (Ramamritham et al., 2004). For
instance, the speed value is considered valid if
the current time is earlier than the timestamp of
speed followed by the length of the absolute valid-
ity interval of speed, i.e. {speed.Ti+ speed.Vd >
currentTime}.
• Mde (Maxiumum data error): is used to mem-
orize the absolute maximum data error tolerated
on the attribute value (Idoudi et al., 2010). This
value is the upper bound of the deviation be-
tween the current attribute value in the real-time
database and the reported one. Recently, the
demand for real-time services has increased in
most real-time database based applications where
it is desirable to execute transactions within their
deadlines. They also have to use fresh data in
order to reflect the real world state. However, it
seems to be difficult for the transactions to both
meet their real-time constraints and to keep the
database consistent. To support this kind of ap-
plications, the data error concept is introduced in
(Amirijoo et al., 2006) to indicate that data stored
in the real-time database may have some deviation
from its value in the physical world.
• Uo (Update operation): is used to update the value
and timestamp fields of a real-time attribute. For
example, in the Aircraft real-time object, there is
a real-time method, called updateSpeed(), which
periodically updates the speed real-time attribute.
• Nv (Number of versions): is used to preserve real-
time attribute version history. The multi-version
attributes permits to maintain for every attribute
multiple versions for a data item. This minimizes
data access conflicts between real-time transac-
tions and reduces the deadline miss ratio. In order
to respect the real-time database size, the number
of versions of each real-time attribute is limited. It
does not have to exceed a maximum data versions
number.
Note that the fields N, T,M,V, and Va characterize
classical attributes as well as real-time attributes,
whereas the fields Ti,Vd,Mde,Uo,and Nv character-
ize only real-time attributes. Here an example of two
attributes in the Aircraft real-time object: the first is
a classical attribute and the second is a real-time at-
tribute.
{N = destination, T = string,M = 1,V =
private,Va = Paris}
{N = speed,T = real,M = 1,V = private,Va =
600, Ti = 01/05/2012 10 : 05 : 23,Vd = 30s,Mde =
10,Uo = updateSpeed(),Nv = 5}
Real-time data are classified into either sensor or
derived data (Ramamritham et al., 2004). Thereby,
F-RTOO data model defines two kinds of real-time
attributes: sensor attribute and derived attribute. A
sensor attribute is used to store a sensor data which is
periodically updated in order to reflect the real world
state of the environment. A derived attribute is used
to store a derived data which is sporadically updated
ICEIS2013-15thInternationalConferenceonEnterpriseInformationSystems
268