Information Technology Reference
In-Depth Information
Even the second case, whether lonely or not is judged by comparing Threshold
time and value after calculating and obtaining Duration from the time information of
RFID tag is first detected to the present time just like the first case.
In this system, situation, in which there are several old people within a home, is
also assumed. For example, a case, in which there are grandmother and grandfather
together, can exist and to solve this case, RFID Reader with each different User ID
was assigned to each old people. Information of RFID tag detected in each RFID
Reader come into Sensor Data Queue and at this time, not only information of RFID
tag but also information of User ID come in together as well. At this time,
problematic situations occur that there is no User ID. It is noted that RFID tag is not
detected because it is impossible to know User ID if RFID tag is not detected.
Therefore, cases with no User Data must be handled too.
Case 1.1 consists of the following processes. First, if there is pre-defined user in
advance, User ID received presently is checked. If RFID tag is detected, User ID can
be identified together and if User ID is not null, this means that RFID tag is detected.
Therefore, in these cases, Case 1.2 and Case 2 are inspected. On the contrary, in the
case where user ID came in presently is null, as there is no RFID tag detected, present
information of RFID tag and User ID are saved as none respectively after establishing
present time. And for a case of zero result after checking whether User Data came in
more than one time in Sensor Data Queue, Duration will be set as 0. Next, it is
inspected whether User Data was none or not. If User Data came in previous time is
not none, present Duration time is set as 0 and a new none information is saved after
saving and renewing Duration time of using the object in the past. If User Data came
in previous time is none, it was none because there was no data came in the past and
as the present is the same status as it is also none, they will be integrated in the same
grouping. And after calculating integrated Duration time, it is compared to Threshold
time. If Duration is smaller after comparing to Threshold time, the aged is not in
lonely status and on the contrary, if Duration is the same or larger than Threshold
time, it is considered that they are in lonely status.
Actually, all judgments of loneliness shall be carried out in Jess ratiocination engine.
However, as time concept cannot be processed in Knowledge, loneliness can be
ratiocinated in Jess ratiocination engine with the information when status information is
delivered to Jess after processing parts related to Duration at the early part of Jess
engine. In this system, Rule of Jess was used by expressing it as Rule in XML format.
Example of the rule handling Case 1.1
<Rules>
<Imp Name="Lonliness-Case1.1">
<Head>
<PredicatepropName="contextType">
<Variable>u</Variable>
<Value>alone</Value>
</Predicate>
</Head>
<Bodyoperator="and">
<PredicatepropName="hasStatus">
<Variable>u</Variable>
<Variable>s</Variable>
</Predicate>
Search WWH ::




Custom Search