190 likes | 280 Views
Dragon: Soft Real-Time Event Delivering Architecture for Networked Sensors and Appliances. Masayuki Iwai, Jin Nakazawa, Hideyuki Tokuda Keio Univ. Japan 14/ Dec/2000. Outline. Scenario Implementation Details of Dragon Three typical services Soft real time event delivery
E N D
Dragon: Soft Real-Time Event Delivering Architecture for Networked Sensors and Appliances Masayuki Iwai, Jin Nakazawa, Hideyuki Tokuda Keio Univ. Japan 14/Dec/2000
Outline • Scenario • Implementation • Details of Dragon • Three typical services • Soft real time event delivery • Related work • Summary
Scenario: Smart Entrance User detector room air conditioner thermometer room light Entrance light room TV Entrance door
Scenario: Smart Entrance If(temperature<low) room air conditioner On thermometer TV switch on room light on If(detect the user) Entrance light on User detector Entrance door Unlock
We implemented Dragon aimed at • Developers can easily program distributed system-ready devices • Users of the system can construct flexible event-driven systems visually • Users can also set timing constraints for each event path
user Jini LUS Jini Services Jini Clients RMI+JVM TCP/IP PCs RMI+JVM TCP/IP Embedded Computer RMI+JVM TCP/IP Embedded Computer Assumption Event BindingEditor Dragon appliances sensors
Event Binding Editor • User can show every service that is running on the distributed devices • Users just wire the event path between the distributed services
Acting Module(Real World) Event Output Module event Event InputModule Sensing Module (Real World) Event Supplier and Consumer
Event Filtering Module Event Manager Event Output Module Event InputModule
Event Registration/Firing Event Manager Event Supplier EM.EIM.notify(event_obj); EC.EIM.notify(event_obj); Event Consumer sense action ES EM EC Event Object register notify
Normal Event Delivery EC1 Copy EC2 EC1stub Copy EC2stub Copy EC3stub EC3 Copy EC4stub EC5stub Copy EC4 EC5 Event Filtering Module NRTOT Event Manager Service Event Object Event Consumers Notify NRTOT Non Real-Time Ordering Table
Soft Real Time Event Delivery 1 Copy Copy 1 Copy Copy 2 1 Copy Copy 1 RTOT Copy Copy EC4stub EC5stub Copy Copy 1 Event Filtering Module 1 1 EC1 2 NRTOT EC2 1 2 EC1stub EC2stub 1 1 1 1 2 2 2 2 EC3stub EC3 1 2 Event Manager Service 2 1 EC4 Event Object 1 2 EC5 Notify RTOT Real-Time Ordering Table
Soft Real Time Event Delivery 3 5 4 3 4 2 2 1 3 6 5 7 4 6 5 RTOT Copy Copy Copy EC4stub EC5stub Copy Copy Copy 1 2 Event Filtering Module 2 1 EC1 NRTOT EC2 Skip Skip EC1stub EC2stub EC3stub EC3 Event Manager Service 3 1 2 EC4 Event Object 3 2 1 EC5 Notify RTOT Real-Time Ordering Table
Related Work • ECJ (toshiba) • JECho (Georgia) • Carp@ • CORBA Event Service (OMG) • HAVi Event Service(HAVi org) • Java Spaces(Sun)
Summary • Dragon • Developers of the devices can program distributed system easily using Dragon API • Users can setup ah-hoc distributed systems easily by using the Event Binding Editor • User can set timing constraints for event deliveryusing Even Binding Editor • Future work • Inside event object data description • XML, Java Byte Code, any.. • Event loop /dead lock avoidance • Adaptation to CORBA Event Service