hao zhuang , herve ntareme zhonghongou , bjorn pehrson … · 2019-12-18 · hao zhuang 1,2, herve...
TRANSCRIPT
![Page 1: Hao Zhuang , Herve Ntareme ZhonghongOu , Bjorn Pehrson … · 2019-12-18 · Hao Zhuang 1,2, Herve Ntareme 2, ZhonghongOu 1, Bjorn Pehrson 2 1.Aalto University, Finland 2.Royal Institute](https://reader033.vdocuments.pub/reader033/viewer/2022052802/5f1e81a6760d3821315e159e/html5/thumbnails/1.jpg)
Hao Zhuang 1,2, Herve Ntareme2, Hao Zhuang 1,2, Herve Ntareme2,
Zhonghong Ou1, Bjorn Pehrson2
1.Aalto University, Finland
2.Royal Institute of Technology, KTH, Sweden
![Page 2: Hao Zhuang , Herve Ntareme ZhonghongOu , Bjorn Pehrson … · 2019-12-18 · Hao Zhuang 1,2, Herve Ntareme 2, ZhonghongOu 1, Bjorn Pehrson 2 1.Aalto University, Finland 2.Royal Institute](https://reader033.vdocuments.pub/reader033/viewer/2022052802/5f1e81a6760d3821315e159e/html5/thumbnails/2.jpg)
Motivation� Communication-challenged
area
� Environment
� HealthHealth
� Services in need
� Environment monitor
� Secure drug distribution
� Delay tolerant network
� Establish network quickly
![Page 3: Hao Zhuang , Herve Ntareme ZhonghongOu , Bjorn Pehrson … · 2019-12-18 · Hao Zhuang 1,2, Herve Ntareme 2, ZhonghongOu 1, Bjorn Pehrson 2 1.Aalto University, Finland 2.Royal Institute](https://reader033.vdocuments.pub/reader033/viewer/2022052802/5f1e81a6760d3821315e159e/html5/thumbnails/3.jpg)
Delay Tolerant Network
• Store-forward
• Bundle Layer
• RFC 5050
• DTN Prototypes
• DTN2 : Linux C/C++
• Bytewalla : Android
![Page 4: Hao Zhuang , Herve Ntareme ZhonghongOu , Bjorn Pehrson … · 2019-12-18 · Hao Zhuang 1,2, Herve Ntareme 2, ZhonghongOu 1, Bjorn Pehrson 2 1.Aalto University, Finland 2.Royal Institute](https://reader033.vdocuments.pub/reader033/viewer/2022052802/5f1e81a6760d3821315e159e/html5/thumbnails/4.jpg)
Problems• Applications based on different development platform
• Java, Python, J2ME and C/C++
• Applications deployed in different OS
• Bifrost, Voyage, Ubuntu, Android• Bifrost, Voyage, Ubuntu, Android
• Different ways to communicate with DTN service daemon
• Embeded Linux command in Java or C
• Shellscript
• Python
Message-oriented Middleware
![Page 5: Hao Zhuang , Herve Ntareme ZhonghongOu , Bjorn Pehrson … · 2019-12-18 · Hao Zhuang 1,2, Herve Ntareme 2, ZhonghongOu 1, Bjorn Pehrson 2 1.Aalto University, Finland 2.Royal Institute](https://reader033.vdocuments.pub/reader033/viewer/2022052802/5f1e81a6760d3821315e159e/html5/thumbnails/5.jpg)
Background
Hardware• ALIX board computer
• Voyage Linux as DTN gateway
• Bifrost Linux as DTN router• Bifrost Linux as DTN router
• Sun SPOTs
• collects light level, temperature and battery
• Small-footprint JVM
• host multiple applications
• no underlying operating system
![Page 6: Hao Zhuang , Herve Ntareme ZhonghongOu , Bjorn Pehrson … · 2019-12-18 · Hao Zhuang 1,2, Herve Ntareme 2, ZhonghongOu 1, Bjorn Pehrson 2 1.Aalto University, Finland 2.Royal Institute](https://reader033.vdocuments.pub/reader033/viewer/2022052802/5f1e81a6760d3821315e159e/html5/thumbnails/6.jpg)
Background
Software• DTN Service Daemon
• DTN2 : Linux C/C++, ALIX Board
• Bytewalla : Android , HTC Desire Android Phone• Bytewalla : Android , HTC Desire Android Phone
• HTTPSQS
• Lightweight MOM to provide HTTP Simple Queue Service
• Only 800 lines source codes and easy to second development
![Page 7: Hao Zhuang , Herve Ntareme ZhonghongOu , Bjorn Pehrson … · 2019-12-18 · Hao Zhuang 1,2, Herve Ntareme 2, ZhonghongOu 1, Bjorn Pehrson 2 1.Aalto University, Finland 2.Royal Institute](https://reader033.vdocuments.pub/reader033/viewer/2022052802/5f1e81a6760d3821315e159e/html5/thumbnails/7.jpg)
Architecture� HTTPSQS
� Simple Queue Service
� Client API
� Java,PHP,Python,C/C++� Java,PHP,Python,C/C++
� DNT2 API
� HTTPSQS Message Processor
� Serialize and deserialize
� Request and reply
![Page 8: Hao Zhuang , Herve Ntareme ZhonghongOu , Bjorn Pehrson … · 2019-12-18 · Hao Zhuang 1,2, Herve Ntareme 2, ZhonghongOu 1, Bjorn Pehrson 2 1.Aalto University, Finland 2.Royal Institute](https://reader033.vdocuments.pub/reader033/viewer/2022052802/5f1e81a6760d3821315e159e/html5/thumbnails/8.jpg)
Message Design� Text Message
� command [option],…� Bundle stat/list/
� Route dump/add/del
� Simple and but poor extensibility� Simple and but poor extensibility
� XML Message� QoS control: expire/priority/correlation
� Better extensibility but consumes more computing and power
![Page 9: Hao Zhuang , Herve Ntareme ZhonghongOu , Bjorn Pehrson … · 2019-12-18 · Hao Zhuang 1,2, Herve Ntareme 2, ZhonghongOu 1, Bjorn Pehrson 2 1.Aalto University, Finland 2.Royal Institute](https://reader033.vdocuments.pub/reader033/viewer/2022052802/5f1e81a6760d3821315e159e/html5/thumbnails/9.jpg)
HTTPSQS Message Processor
� Message serialize and deserialize
� external store and transfer � serialize
� External to local representation � deserialize
� Request-reply processor� Request-reply processor
� Request, Reply, Retry and Dead queues
� Message dispatcher process
![Page 10: Hao Zhuang , Herve Ntareme ZhonghongOu , Bjorn Pehrson … · 2019-12-18 · Hao Zhuang 1,2, Herve Ntareme 2, ZhonghongOu 1, Bjorn Pehrson 2 1.Aalto University, Finland 2.Royal Institute](https://reader033.vdocuments.pub/reader033/viewer/2022052802/5f1e81a6760d3821315e159e/html5/thumbnails/10.jpg)
DTN2 Network Management Tool
� Provide a user-friendly DTN network management tool
� Bundles stat/list
� Route dump/add/del� Route dump/add/del
� Link add/del
� Socket communication between DNMT and DTN2
![Page 11: Hao Zhuang , Herve Ntareme ZhonghongOu , Bjorn Pehrson … · 2019-12-18 · Hao Zhuang 1,2, Herve Ntareme 2, ZhonghongOu 1, Bjorn Pehrson 2 1.Aalto University, Finland 2.Royal Institute](https://reader033.vdocuments.pub/reader033/viewer/2022052802/5f1e81a6760d3821315e159e/html5/thumbnails/11.jpg)
Environmental Monitoring Application
� PHP web client� User Interface
� Java client on SunSPOT� Collect data
Broadcast data� Broadcast data
� Java client on DTN Gateway� Setup and teardown
connection
� Process data
� C/C++ DTN2 Services Client� Httpdtnsend/httpdtnrecv
� Httpdtncp/httpdtncpd
![Page 12: Hao Zhuang , Herve Ntareme ZhonghongOu , Bjorn Pehrson … · 2019-12-18 · Hao Zhuang 1,2, Herve Ntareme 2, ZhonghongOu 1, Bjorn Pehrson 2 1.Aalto University, Finland 2.Royal Institute](https://reader033.vdocuments.pub/reader033/viewer/2022052802/5f1e81a6760d3821315e159e/html5/thumbnails/12.jpg)
Evaluation
Network Setup
� Cover all the DTN nodes : Gateway, Router and Host
� Bytewalla: DTN Mobile router based on Android
� 2 base station and 10 SunSPOTs
![Page 13: Hao Zhuang , Herve Ntareme ZhonghongOu , Bjorn Pehrson … · 2019-12-18 · Hao Zhuang 1,2, Herve Ntareme 2, ZhonghongOu 1, Bjorn Pehrson 2 1.Aalto University, Finland 2.Royal Institute](https://reader033.vdocuments.pub/reader033/viewer/2022052802/5f1e81a6760d3821315e159e/html5/thumbnails/13.jpg)
Evaluation
DTN2 Send/Recv Bundles
File Size(MB) Time(Seconds) Throughput(MB/s) Power(Watt)
100 199 5.14 4.97570 199 5.14 4.91250 177 5.79 4.962
� Send 1 GB data in different file size
� Best file size 20MB-30MB
50 177 5.79 4.96230 159 6.44 4.94120 154 6.65 5.03210 194 5.28 4.8021 338 3.03 4.973
![Page 14: Hao Zhuang , Herve Ntareme ZhonghongOu , Bjorn Pehrson … · 2019-12-18 · Hao Zhuang 1,2, Herve Ntareme 2, ZhonghongOu 1, Bjorn Pehrson 2 1.Aalto University, Finland 2.Royal Institute](https://reader033.vdocuments.pub/reader033/viewer/2022052802/5f1e81a6760d3821315e159e/html5/thumbnails/14.jpg)
Evaluation
DSAM Put/Get Httpsqs Message
� Put/Get 10,000 HTTPSQS Message with various size
� Power remains constant at � Power remains constant at 4.6 watts
� When size is same, Get are large than PUT
� When msg size > 256 bytes, throughput decreases dramatically
![Page 15: Hao Zhuang , Herve Ntareme ZhonghongOu , Bjorn Pehrson … · 2019-12-18 · Hao Zhuang 1,2, Herve Ntareme 2, ZhonghongOu 1, Bjorn Pehrson 2 1.Aalto University, Finland 2.Royal Institute](https://reader033.vdocuments.pub/reader033/viewer/2022052802/5f1e81a6760d3821315e159e/html5/thumbnails/15.jpg)
Conclusion• Provide a communication layer between DTN service
daemons and different applications
• Develop two applications to validate the effectiveness of • Develop two applications to validate the effectiveness of DTN Service Middleware
• Provide an environmental monitoring solution for developing regions
![Page 16: Hao Zhuang , Herve Ntareme ZhonghongOu , Bjorn Pehrson … · 2019-12-18 · Hao Zhuang 1,2, Herve Ntareme 2, ZhonghongOu 1, Bjorn Pehrson 2 1.Aalto University, Finland 2.Royal Institute](https://reader033.vdocuments.pub/reader033/viewer/2022052802/5f1e81a6760d3821315e159e/html5/thumbnails/16.jpg)
Thank you