title page
ABSTRACT
Contents
1. Introduction 13
2. Related Work 17
2.1. Gateway Architecture for Sensor Network 17
2.1.1. Shaman 17
2.1.2. Sensor Gateway for Web-based Sensor Network Management 18
2.2. Rule-Based Sensor Network Middleware 19
2.3. Multi-Purpose Sensor Network 20
2.4. Embedding Sensor Nodes into UPnP Stack : Sindrion 21
2.5. Data-centric Sensor Network Middleware 22
2.5.1. COUGAR 23
2.5.2. SINA 23
2.6. Event Driven Sensor Network Middleware 25
2.6.1. DSWare 25
2.6.2. Asene 26
2.7. OSGi (Open Service Gateway Initiative) Framework 27
2.8. UPnP (Universal Plug and Play) 28
2.9. EPC Network Architecture 29
3. Dynamically Reconfigurable Gateway Architecture Overview and Feature 32
3.1. OSGi-based Dynamic System Reconfiguration 32
3.2. Event Notification System based on Publish/Subscribe model 34
3.3. Sensor Network Management Services 35
3.4. User interfaces with UPnP and HTTP 36
4. Sensor Manager Operations 38
4.1. Dynamic Reconfiguration of Sensor Network Driver using EPC RFID Network Architecture 38
4.2. Management for the Sensor Information 39
5. Sensor Network Driver for Event Abstraction 42
5.1. Interacting with Sensor Network 42
5.2. Interacting with Event Database 43
6. Rule-based Sensor Network Application 44
6.1. Sensor Network Application Rule (SAR) Definition 44
6.2. SAR Processing Structure and Procedure 47
7. Implementation of Prototype System 49
7.1. Sensor Hardware Configuration 49
7.1.1. ANTS-H2 Sensor Node Platform 49
7.1.2. Berkely MICA Sensor Hardware 52
7.2. Development Environment 53
7.3. Implementation Details 54
7.3.1. Interaction Between Sink Node and Sensor Node 54
7.3.2. U-BOSS Bundles Implementation 58
7.3.3. Interaction Between Client and U-BOSS using UPnP 64
7.4. Screen Shots 67
8. Conclusion and Future Work 73
국문 요약 75
References 77
Acknowledgements 79
Curriculum Vitae 80
Table 3.1. Sensor Network Management Services 36
Table 6.1. Matching Function List 46
Table 7.1. ANTS-H2 Sensor Hardware Platform 49
Table 7.2. Development Environment of Our Prototype Implementation 53
Figure 1.1. U-BOSS Architecture in the Heterogeneous Sensor Networks 15
Figure 2.1. Shaman Architecture 17
Figure 2.2. Architecture of Wireless Sensor Network Connected to the Internet 18
Figure 2.3. Generic Role Assignment Architecture 20
Figure 2.4. Abstract Model of Scope Application in Sensor Network 21
Figure 2.5. Schematical Overview of the Sindrion System 22
Figure 2.6. Query Plan at a Source Sensor (Left) and at a Sink Node (Right) 23
Figure 2.7. SINA Middleware Model 24
Figure 2.8. DSWare SQL-like Statement requesting an Event of Interest 25
Figure 2.9. Example of Active Rule used in Asene 26
Figure 2.10. OSGi Framework 27
Figure 2.11. UPnP Protocol Stack 29
Figure 2.12. EPC Structure (96 bit version) 30
Figure 2.13. EPC System Architecture 30
Figure 2.14. ONS Query Procedure 31
Figure 3.1. Dynamically Reconfigurable Gateway Architecture for Sensor Networks 33
Figure 4.1. Dynamic Reconfiguration of Sensor Network Driver using EPC code 39
Figure 4.2. Procedure for Forwarding the Information of Installed Sensors 40
Figure 4.3. Sensor Information Description Example 41
Figure 5.1. Sensor Network Driver Operations 43
Figure 6.1. Example of SAR Configuration 44
Figure 6.2. XML Description Example of SAR 46
Figure 6.3. SAR Processing Structure 47
Figure 7.1. ANTS-H2 Main Board 50
Figure 7.2. ANTS-H2 Interface Board 50
Figure 7.3. ANTS-H2 Sensor Board 51
Figure 7.4. ANTS-H2 Sensor Device (Main Board + Sensor Board) 51
Figure 7.5. ANTS-H2 Actuator Board (Left), ANTS-H2 Actuator Device 52
Figure 7.6. MICA (Left), Sink Node for MICA (Right) 52
Figure 7.7. Nano Qplus Architecture 54
Figure 7.8. Interaction between Sink Node and Sensor Node 54
Figure 7.9. Message Types between Sensor and Sink Node 55
Figure 7.10. Function Sending Boot Message (Sensor Part) 55
Figure 7.11. Function Sending Event Subscribe Message (Sink Node Part) 56
Figure 7.12. Code Example Creating Thread according to Sensor Type(Sensor Part) 57
Figure 7.13. Thread Function for Checking the Event Occurrence (Sensor Part) 57
Figure 7.14. U-BOSS Internal Structure and Interactions of Bundles 59
Figure 7.15. Function Parsing Message received from Sink Node(Serial Manager Part) 60
Figure 7.16. Dynamic Installation of Driver Bundle (Sensor Manager Part) 61
Figure 7.17. Example Code of Driver Bundle Operation (ANTS-H2 Driver Part) 62
Figure 7.18. Example Code of Rule Processor Operation (Rule Processor Part) 63
Figure 7.19. Interaction Between Client and U-BOSS using UPnP 64
Figure 7.20. Code Example invoking UPnP Actions… 65
Figure 7.21. Code Example of UPnP Driver to Process Incoming UPnP Action Request (UPnP Driver Part) 66