˘ ˇ ˆ ˘ ˙ ˝ ˛ ˘ ˆcseweb.ucsd.edu/~wgg/CSE210/Talks-S05/active-campus-arch-cse2… · ˇ ˘...
Transcript of ˘ ˇ ˆ ˘ ˙ ˝ ˛ ˘ ˆcseweb.ucsd.edu/~wgg/CSE210/Talks-S05/active-campus-arch-cse2… · ˇ ˘...
�������������� ���������������� ������ ��������������������� �������� ������������
� �� ���� �� �� ���!����"���# �$���� �"�� �% ���& �� % ����
��'((�� $������� ���� ���
) � $�� �������� ��� ���# ���* ���
�
�������� ��� � ������ �� � ���� � ��������� �������� �� ��������� �� ����
� �������� �� ����������� ������� �� ������
� !������������� ��� �������" ������� �� �����
� # �����" ����������� �� ��������� �������
� $ ������ ��� ����� �������� %������� � ������� �������& �����������'
� ��"�������� ��� ��������� ��� ��� �������� ( �� &�� �������) "�������� �����& ��� �����& '
� � ��� ��� �� ���� ��� �� �� � ���"� ����*
� ( ������ ����� ���������� ���"������� ��������������
+
�����"� � ����������� ���"���������
�������
��� �������� ���� � � ������������������������� ������������
,
�����"� � ����������� ���"����
-
�����"� � ����������� ���"����
� . �"��� ��� �� ��� ��� ����� ��� � ��"� &����
� // ���"������� 0��������1
� 23 ( 4%. � �� ����
� . �"��� ��� �� ��� ��� ����� ��� � ��"� &����
� // ���"������� 0��������1
� 23 ( 4%. � �� ����
2
5��������� �� �������� ��� � ������
� �����& ��������� �� � ������� ���� ������� ��� ������� ���������
� �����&)� ������� �"����� ���� ������ ������� � ������ 6�� "���� �� �����������
� �����&)� ��������� �� ����""�� ������� ��������� ��� ���������" ����"�&� 7 ���"��� 5$ 8�� �����&9 �� ������ �� � "�������
� ( ���� � �� 5$ �� �� �������� �� �� �� "�������
� :��� �� �������� �� "������� �� �������� �����&
� ( ������������ ( ���� ��� :��� �� ��� ����"�� ���� �� ����� ��"����������
;
�����������" ���""������ ( &���� ���"����� ������ �& ����������
� # � 6��� �� ������� �� ������� ��� � "��<"���
� # � 6��� �� �����& � �� ���
� # � ����"�& �������������� � +$ ����� �� �"���
� # � 6��� �� �������� ������ � �"������� ����
� # � ������� � ���������" �"����
� # ��� ��� ����� ����������� ���� �� ����"���
� $ ���"�& ��� �� ����� ���"" ����� �� �� ������
� ( ������� ������� ������ �� ����� ��������
=
. ��"��� ��� >��� �� ? �"6/@ A ��������� B :��6������
��������� ��� � ������ ������� �"�����"��& ��� ���������� &�� ����� ����������� �� �� �����"
�@ >�"���� ��6
+@ !�����" ������������" ������� ��� ���"����
,@ >������ ������������
-@ $ ��������� B ����"�����
/@
C
7 ��� �� � ���� ��� ������������* 7 �&* ��� �� ���������� ���
���������� ��� ��"�� ��� ����� �����������@
���������' ���������� ������"�� ��D���� ������� ��������� '
��������' ��������� ��"" ������"� ��������� ����� ������������ ������ �������� ���� ��������� '
!����'�@�@ �����������"���� ���������� ��������� �& ������� ������ ������� �� "����
5���������� "�������� ��� �� ���)� ������� �������� �� ��D��� ��"����������@
� . . �&���� ��� �� �� ��������"� ������ �� ��D����@ ( �������� �� ������ ����" ��"& ����6� �� ������ ��D��� ��"����������@
( ��� ��� ������������ ������� � �"���" ������� �� �� �"������ ��� �� ����� �������� ������� '
!� ������� � "������� ��� �������& � ���������� ��� ���������� ��� ������ ������ ���� "��� �� �����"�@
/3
E $ % $ ��� F����� A ���" G( �������� �� �"@)CCH
/@ ( �����D��� ���� ����������� ��� ����������
�@ . �D��� ����������
�������� ���� ���� ������� ���@ �� ��������� �������� �������� '
+@ ( �������� ����������
$ ���"��� �������������� �� ��D��� ��"����������
,@ ( ����������� ����������
5������� ������ ��� ������������
-@ 5������ ����������
A ������� ������� �� ����� �����������
//
>�"���� 7 ��6
? �� ������� ? ��"6�� G$ �&)3/H
� $ ���������� . . 0 �����1 �������� ��� ����� �&�� ��� ���� 6�& �&���� ��������
� ������� 7 �����I������� ��� ������ ������� ���� ������ ���� � ������
� ������� ���������I���������� ������� �� ��"���"� ������ 8����"��� �� ������� 7 �����9
� ������� !����������I�����"���� �������������� �� ������� ������
� "�� ������� ( �������� 7 �����
� ����������"& ����"�� �������� ������� ��� ������������� �� ������� ����� ������&����
Application
Room toPhone Extension
Aggregator
Discoverer
Sensor Sensor
Widget Widget
Badge IDInterpreter
…
Room toPhone Extension
Interpreter
UserAggregator
Discoverer
Active BadgeSensor
LocationWidget
Badge IDTo Name
Interpreter
…
/�
? �� ������� ? ��"6�� � ��������� J ���� ��� ����� ������&���� ���"��������
� ( ��������" ����� �� ��&����" ��������
� ? ��"6�� �������� ����"�� ����� ������� ������"�K����� 8����"������9 ��� �� ����
� L��'
� $ ����)� ������� ������������" ��������� �� ����"��& ����������� �� ���"�������� 8��������9
� # �� � ������� �������������� ��� ��� ������� ��
� $ ���������� ��D���� �������"� �� ������ ��� ���� ������� �� ������� ���"� ���� �����������
� $ ��� ��� ������� 6�& ���������� �� ������
Active BadgeApplication
Room toPhone Extension
Interpreter
UserAggregator
Discoverer
Active BadgeSensor
Active BadgeSensor
LocationWidget
LocationWidget
Badge IDTo Name
Interpreter
…
AwarenessApplication
User-to-buddymappings
UserAggregator
Discoverer
AwarenessSensor
AwarenessSensor
AwarenessWidget
AwarenessWidget
ID to e-mailInterpreter
…��������
����
�������
� � � ���� ���������! �" ����� ���"�"���#����! ��������������!��$������������ ������������
/+
!�����" �����������" ��������/@ �"�����( ����� �&���� ������������
� ������"�K�� ������ �� �" �&���� ��������� ��"���"� ������� ��� ������������� ��� ��������
� �"����� ��� �� �������� ������� ��� �������
�@ ( �����)� �������" ������������
� ���������� �� �����&)� ���� �� ���� ��������0��� ����1 ������ 8!$ ���� ���� "������� '9
� %�&����� �� ����������""& �������� ���������"��& �� ���&������� "���"
!�����" �����������
/,
$ ������ �� !�����" �����������
(ide, name, locs, …)
(ids, locs)Sensor
(id1 by id2)
XML / HTML
Entity
Situation/Service
Transport
� �� �� �� �
/@ %�&����� ����)� �������� 6�& �"������
� ? �&��� �� ������ ���� ����������" ����������� ��� �&���� ��"��
�@ �����& ����� B �"��� � ��������"��
� ( ������� ����� ���� �� ��������
� ( ����� ���� ���"" ���� � >% '
+@ ( ������� ��"" ���� �����
� 5������ �������������I 0L�� ���� / �� �������1
� 5������ ���& ������I M����������) �� ����� ��������
� # � ������� ��� ����"� �� �������� �������� ��������
,@ 5���������� � �����& ��������" ������������� ��""�
(ide, name, locs, …)
SensorStorage
(id1 by id2)
XML / HTML
Entity
Situation/Service
Transport
� �� �� �� �
� � � � � �
�����
�������
��� ���� ��% ���!��� ����& ��%"��� ������������ ������������
� �
������!���""����������!���! �������������� ������������
/-
%�&����� B A �������<. �������� !����������"& ������ �&���� ��"�� ��� ���������" �����������
� %�&��� �� �������� �&���� ��"��
� ( ������ �����& B ��������� ����""��� ���������
� ""� � ������"�&�� ������K����� �� ���������
� ����� �� ��������<�������� ����������G( �""����)C3H �� ����������""& �������� ��������
� A ������� 0��������1 ������ �� ������ ����8������9 ���������� ���������� ���� ���������� 8�����&9
� >���"� �� � ����"��� �� ���������� �����������
>������ ��������������'
������
��� "��� ��$�� �� ����� �(��������� � �� ����� �������������������� �� ������������������!� ���������� ��%"�����$� ���!��� � �!��� � ������)����%�� �!�������������� ������������
/2
A ������� ����������
Transport (html,map)
4. Sensation
3. EnvironmentProxy
Transport(xml,signal)
��� � � � ��� � � � � � � �
1. EntityModelling
2. SituationModelling
(ids, locs)(ide, nm, locn,…)
Sensor-Entity Reconciliation Servicemap
Sensors Entities
locn � map
ContextRepresentations
ids � ide ???
Situations
%�&���� >�"�������
�������
��� �%����� ����!�����%�����!�����"���� �������"���� ������������%������#�"" " � �������� ��� ����%�� ��������!�$������������ ������������
/;
����K����� B # ����"�K������ ����� �������� ������ �������� �� ������
� ����K� B �����"�K� �����& ��������������� . �"& �������� ��������� ���� 8��� ���� "�������9
� J ��� � �����"����� !$ �� "��6��� ���������� ����
� # ����"�K� ��� ����� ������� ���������������� �@�@ �"" ��� ���� ������� ��� M# $ �;) N� & K O9� !�������� ���� �� �����"�K�� �� ����& �� ������
� ( ����"�K�� �������� ������ $ : ����� ���"������ ( ������)� ��� �� �����& ���"� �& ����&��� ��� !$
� 7 ��� . . <$ : �������� ������"&P ����"������
�����
�������
�� ������������"�����������#��!���������" �����*����"������*������+�%�""���!��!�#��"�������!���%�"�� ������""���������� ����!,,-����������!��#������� �����"������ ���� ���� ��"����� ���"��������������� ������������
/=
( ������ !������������� ( ������ ����"��� ��� �� ������������� ������������� ��� ����������
� >�"�����"& �������
� 5���� � ������� ��� ������ ��� ������
� ( �� �� ������
� >������ �������� �� ������� ������� ���������- id msgWaiting(id subject, &opt id object)
- bool compatible(id subject, &opt id object)id renderID(id subject, &opt id object)
� !������ ���� �������� ��� �������� B �������
/C
( ����� �������� 5���������� �������� �& �����& ������
� %���� �����& ����& 8�������""&9 �� ��"�������&
� >������&��� ����� ������� �����������
� ������� ��"� ��"� ��� �6� �� �����
� � ���� ���� ���@P ���� �6� �� . 4 8/3 ) +3 ��� '9
� ����� ������� ��� ����� ����� ��"�������� ������� ���� ������ ������ �� ������� ����������
� !����������� �������� ���)� �������& "������� ���@
� $ ��� ����"����� �� �6� ���)� ������ 8���� ���9
� ( ���"� ���� �� ������ �� M�������) 8��� ��� "�������9
�3
# ����"�K�� !������������ ������
Transport (html,map)
(ids, locs) (ide, nm )(ide, locn)
Sensor-Entity Reconciliation
SensorsRaw
EntitiesNormal
Transport(xml,signal)
locn � map
AlternateRepresentations
��� � � � ��� � � � � � � �
ids � ide
caching caching
Service
Servicemap
idn ���� svc
Meta
$ ���������
1. EntityModelling
2. SituationModelling
4. Sensation
3. EnvironmentProxy
����
��������
��� ��������!���!����!� ��������������� ��%�� ����������������� ������%������������ ������.�����
�/
����"������ ��������� ��� ���������� ��������� �� ������
� %��� �� ���������� �� ���"��������
� ���""����� �� ��������� ��������� 0 ��61 �������
� # ����� A ���"����& 8����������9 �� ������� ����������
� !���������� ��� ����"�&� ����� �����������
� �"����������� �������� ���� ��� ������ %�&��� B ��������� ���������""& ������ �&���� ��"�� ��� ���������" �����������P ���� �"�����"��&
� ����K����� B �����"�K����� ���� ������������ !������������ ������������� ��������� ������"��
� ( ����� ������� �������� ����������� ��� ������" ����"��� �� �6�
����
�������
�� ��� ������ � ����������*�����!�� ����������,"�!�� ������������� �!�� �!�����������!��� ���� ��!��/01( � ��$���� ����������%������������������� ������.�����
��
GSMSpotter
GSMSpotter
J2MECoordinate
RMSMapper
IntersectionTracker
IntersectionTracker
GPSSpotter
GPSSpotter
J2MECoordinate
TrackerTracker
SpotterSpotterSpotterSpotter
J2XECoordinate
Mapper
Mapper
ApplicationApplication
TrackerTracker
...
...
...
Placelabfaçade
Standard Service adapter
CentroidTracker
CentroidTracker
J2SECoordinate
SmoothingTracker
SmoothingTracker
WiFiSpotter
WiFiSpotter JDBC
Mapper
FingerprintTracker
FingerprintTracker
J2SECoordinate
SmoothingTracker
SmoothingTracker
WiFiSpotter
WiFiSpotter FP
Mapper
5"��� %�� �"���������%:� �����������