SlideShare une entreprise Scribd logo
1  sur  11
!




!"#$%&#'()&*!)+'
"*&',-'-./0*%,.*'
                        1*."2/#'343'




    2011
             !"#$%&'()%*+(,%+-%"(                      !"#$%&'(&#*&.(
    '                                                         (
    '
        Lan Sun (lansun@kth.se), 15 ECTS    (((((/#*&.(*01(2"#$%&'(#30%"(
                                                       Hervé Ntareme
        Qing An (qinga@kth.se), 15 ECTS
                                                      /#4&#*&.(
                                                   Michel Hognerud
        Jun Gao (jungao@kth.se), 15 ECTS
                                                      /.*+25#0(
        Laili Aidi (aidi@kth.se), 18 ECTS
                                                     Björn Pehrson!
    Yasir Ali (yasireal@kth.se), 15 ECTS




          SUMMER CSD
WSN/DTN Gateway Set up Procedure V1.1
                                                                                  !




                       Revision History

Version     Date       Responsible                         Change
 V1.0     2011-08-14    Laili Aidi              Initial version of the document
 V1.1     2011-09-29    Laili Aidi              Cover, Abbreviation and Part 2




                                     2
WSN/DTN Gateway Set up Procedure V1.1
                                                                                                                                                       !




                                                                Contents

Contents .............................................................................................................................................3!
Summary.............................................................................................................................................5!
Abbreviation.......................................................................................................................................6!
1. Introduction ..................................................................................................................................7!
2. Set up Procedure ..........................................................................................................................8!
   •! Step 1 - System Requirement & Architecture..................................................... 8!
      1.! System architecture design.....................................................................................................8!
      2.! System requirement design ....................................................................................................8!
   •! Step 2 - System Development & Implementation: Bottom-ware software.................. 8!
      1.! ALIX Board set up................................................................................................................8!
      2.! Voyage OS Installation ..........................................................................................................8!
      3.! DTN2 Installation and configuration on ALIX board ...........................................................8!
      4.! DTN basic functionality test..................................................................................................8!
   •! Step 3 - System Deployment & Testing, part 1................................................... 9!
      1.! DTN City & Village Verification ...........................................................................................9!
      2.! Bytewalla Verification............................................................................................................9!
   •! Step 4 - System Development & Implementation: Middle-ware Software .................. 9!
      1.! WSN/DTN Gateway Network configuration .......................................................................9!
      2.! Apache Server installation and configuration .........................................................................9!
      3.! PHP5 installation...................................................................................................................9!
      4.! MySQL server installation and configuration.........................................................................9!
      5.! Java and Ant Installation and configuration ...........................................................................9!
      6.! Hald Installation..................................................................................................................10!
      7.! SunSPOT Installation and configuration .............................................................................10!
   •! Step 5 - System Development & Implementation: Upper-ware Software ................. 10!
      1.! WSN/DTN Gateway Core-Engine Sender development ....................................................10!


                                                                          3
WSN/DTN Gateway Set up Procedure V1.1
                                                                                                                                           !




  2.! WSN/DTN Gateway Core-Engine Receiver development..................................................10!
  3.! WSN/DTN Gateway Webpage admin development ...........................................................10!
•! Step 6 - System Deployment & Testing, part 2................................................. 11!
  1.! Java Doc Documentation ....................................................................................................11!
  2.! Installation Guide & User Manual .......................................................................................11!
  3.! Verification Test..................................................................................................................11!
  4.! WSN/DTN Gateway performance measurement................................................................11!




                                                                  4
WSN/DTN Gateway Set up Procedure V1.1
                                                                                               !




                                           Summary

This document describes the complete procedure to set up an integrated WSN environment and DTN
environment using specific configured WSN/DTN Gateway and existing Bytewalla.




                                                  5
WSN/DTN Gateway Set up Procedure V1.1
                                                                                                       !




                                            Abbreviation

Abbreviations used in this document:
    Abbreviation                                              Description
        DHCP                                     Dynamic Address Allocation Protocol
         AP                                                   Access-Point
        Wi-Fi                                Trademark of a product based on IEEE 802.11
       Apache                                                 HTTP Server
         PHP                  Hypertext Preprocessor, Server-side HTML embedded scripting language
       MySQL                     An Open source Relational database management system (RDBMS)
        DTN                               Delay Tolerant Network / Delay Disruptive Network
     ALIX Board                        Single board computer capable of running operating systems
        WSN                                            Wireless Sensor Network
        DTN                               Delay Tolerant Network / Delay Disruptive Network
       Voyage                Linux GNU/Linux derived distribution that is best run on a x86 embedded
                                                                platforms
     Barkeley DB                 Software library that provides embedded database for key/value data
      Bytewalla                            Implementation of DTN in the Android platform.
        WPA                                               Wi-Fi Protected Access
      Dnsmasq                    Lightweight version to configure DNS forwarder and DHCP server.
         JDK                                        Java Development Environment
     Apache Ant                                   XML-based build scripting language
         Hald                                                 HAL Daemon
      SunSPOT                                   Embedded microprocessor that runs Java




                                                      6
WSN/DTN Gateway Set up Procedure V1.1
                                                                                                   !




1. Introduction
This document contains step-by-step guideline to set up the WSN environment and WSN/DTN Gateway of
the Condroid CSD project, so it can be integrated into existing Bytewalla DTN and any DTN nodes.




                                                    7
WSN/DTN Gateway Set up Procedure V1.1
                                                                                                                     !




2. Set up Procedure
• Step 1 - System Requirement & Architecture
The first step is to identify the stage for the future development. After the detailed study into this field, we have
got our basic idea of the whole system and how to achieve it. However, we need to clarify the whole system
and define each part of the system, hardware and software identification. We divided this Step into 2 parts:
1.   System architecture design
     In this part we will clarify the whole system and its components. This will become reference for coming
     developing teams and user to get the basic idea of the project.
2. System requirement design
     As the project has specific requirement of the hardware, we need to provide this requirement for
     procurement as well as it will be needed by user to set up the system.
Deliverable:
System architecture and Requirement document


• Step 2 - System Development & Implementation: Bottom-ware
     software
In this step, we start to set up the base of WSN/DTN Gateway work environment, which contain several parts
of work:
1.   ALIX Board set up
2. Voyage OS Installation
3. DTN2 Installation and configuration on ALIX board
     In this task, we will install the decencies packages, which are required to set up the DTN2, then install the
     DTN2 software (Oasys, BarkeleyDB, DTN2) then configure it with dynamic configuration
4. DTN basic functionality test
     In this task, we test that the basic functionality of DTN (simple DTN Bundle Send/Receive) works
     properly in the ALIX board environment
Deliverable:
1. Voyage and DTN2 on ALIX Board Installation Guide
2. DTN Bash shell script




                                                         8
WSN/DTN Gateway Set up Procedure V1.1
                                                                                                               !




• Step 3 - System Deployment & Testing, part 1
1.   DTN City & Village Verification
2. Bytewalla Verification
     In this task we will do verification test of Bytewalla in its its existing DTN environment (DTN City &
     Village server), which contains verification of Network architecture, Network components,
     Installation/configuration, Functionalities testing (ProPHET Protocol, Neighbor Discovery, Test
     application – SSA and Email, Network management tool)
Deliverable:
Bytewalla verification test Report


• Step 4 - System Development & Implementation: Middle-ware Software
1.   WSN/DTN Gateway Network configuration
     In this task, we will configure WSN/DTN Gateway network Interfaces, including to set up the interface
     as DHCP client, WiFi-Access Point master mode with WPA and DHCP Server and IP address
     arrangement for DHCP server service.
2. Apache Server installation and configuration
     As this WSN/DTN Gateway will consist of the webpage admin, this we have to set up web server. We
     use open-source Apache HTTP Server of this WSN/DTN Gateway.
3. PHP5 installation
     We use PHP version 5 as the platform of WSN/DTN Gateway webpage admin that will be developed
     later.
4. MySQL server installation and configuration
     To store the WSN sensor data, we will need a database, which will be accessed by the user both to view
     the data, to analyze and to distribute it. We use open-source MySQL as the database of this WSN/DTN
     Gateway.
5. Java and Ant Installation and configuration
     The WSN/DTN Gateway Engine will be developed based on java, thus we will need to use set up the
     JDK, and Apache Ant to run, compile and control the java application both in the mote and base station.




                                                      9
WSN/DTN Gateway Set up Procedure V1.1
                                                                                                            !




6. Hald Installation
     HALD is a daemon that maintains a database of the devices connected to the system in real-time. The
     daemon connects to the D-Bus system message bus to provide an API that applications can use to
     discover, monitor and invoke operations on devices.
7. SunSPOT Installation and configuration
     SunSPOT Manager is the most important part of the WSN/DTN Gateway Middleware. It is used for
     managing the Sun SPOT (SDK), including the mote and BS. However, we cannot use ordinary installation
     that is described in SunSPOT Manager Installation procedure for linux, since Voyage OS does not have
     GUI application. Thus we have to do some research and modification procedure on that
Deliverable:
1. WSN Middleware Installation and Configuration Guide on ALIX Board
2. WSN/DTN Gateway Nodes configuration


• Step 5 - System Development & Implementation: Upper-ware Software
1.   WSN/DTN Gateway Core-Engine Sender development
         •    Sensor data collection module from WSN mote(s),
         •    Data Record module to MySQL database
         •    Data compressing module.
         •    DTN Bundle send module to other DTN node (Bytewalla)
2. WSN/DTN Gateway Core-Engine Receiver development
         •    DTN Bundle receive module from other DTN node (exp. Bytewalla)
         •    Data uncompressing module
         •    Data Record module to MySQL database with data redundancy checking
3. WSN/DTN Gateway Webpage admin development
     •       Control Module of the WSN/DTN Core-Engine (set the WSN/DTN Gateway as Sender or
             Receiver),
     •       Data view module of the sensor data in table mode,
     •       Analyze module graphical mode,
     •       Distribute module
Deliverable:
WSN/DTN Gateway Software Architectur



                                                         10
WSN/DTN Gateway Set up Procedure V1.1
                                                                                                                       !




• Step 6 - System Deployment & Testing, part 2
In this task, we will have to make complete documentations, which is divided into 3 parts:
1.   Java Doc Documentation
     In this task, we will provide the complete Java doc for every methods and classes that are used in the
     code. This document can be reference to the coming developers.
2. Installation Guide & User Manual
     In this task, we will provide the complete guidance on how to install the hardware and software and to use
     the application
3. Verification Test
     In this task, we will do the verification test for all the features in the application and then documenting the
     result into verification test document.
4. WSN/DTN Gateway performance measurement
     This task will be optional task, which include: Bandwidth usage, Power consumption, CPU load and
     memory footprint measurement
Deliverable:
1. Java Doc of the WSN/DTN Core-Engine
2. WSN/DTN Gateway Installation Guide & User Manual document
3. WSN/DTN Gateway Verification Test Report




                                                        11

Contenu connexe

Similaire à Condroid WSN/DTN Gateway - Work Procedure

Isp Setup Red Hat Howto
Isp Setup Red Hat HowtoIsp Setup Red Hat Howto
Isp Setup Red Hat Howto
guest60864fc
 
Workshop eNovance/OpenStack 20-12-2012
Workshop eNovance/OpenStack 20-12-2012Workshop eNovance/OpenStack 20-12-2012
Workshop eNovance/OpenStack 20-12-2012
eNovance
 
Ptcl modem (user manual)
Ptcl modem (user manual)Ptcl modem (user manual)
Ptcl modem (user manual)
Ali Usman
 

Similaire à Condroid WSN/DTN Gateway - Work Procedure (20)

Condroid WSN/DTN Gateway - Middleware Installation & Configuration Guide on A...
Condroid WSN/DTN Gateway - Middleware Installation & Configuration Guide on A...Condroid WSN/DTN Gateway - Middleware Installation & Configuration Guide on A...
Condroid WSN/DTN Gateway - Middleware Installation & Configuration Guide on A...
 
Condroid WSN/DTN Gateway - Verification Rest Report
Condroid WSN/DTN Gateway - Verification Rest ReportCondroid WSN/DTN Gateway - Verification Rest Report
Condroid WSN/DTN Gateway - Verification Rest Report
 
Condroid WSN/DTN Gateway - User Manual & Installation Guide
Condroid WSN/DTN Gateway - User Manual & Installation GuideCondroid WSN/DTN Gateway - User Manual & Installation Guide
Condroid WSN/DTN Gateway - User Manual & Installation Guide
 
Condroid WSN/DTN Gateway - Voyage & DTN Installation & Configuration Guide on...
Condroid WSN/DTN Gateway - Voyage & DTN Installation & Configuration Guide on...Condroid WSN/DTN Gateway - Voyage & DTN Installation & Configuration Guide on...
Condroid WSN/DTN Gateway - Voyage & DTN Installation & Configuration Guide on...
 
Isp Setup Red Hat Howto
Isp Setup Red Hat HowtoIsp Setup Red Hat Howto
Isp Setup Red Hat Howto
 
Neutron behind the scenes
Neutron   behind the scenesNeutron   behind the scenes
Neutron behind the scenes
 
Netty @Apple: Large Scale Deployment/Connectivity
Netty @Apple: Large Scale Deployment/ConnectivityNetty @Apple: Large Scale Deployment/Connectivity
Netty @Apple: Large Scale Deployment/Connectivity
 
Sandip Bose Resume
Sandip Bose ResumeSandip Bose Resume
Sandip Bose Resume
 
VoltDB on SolftLayer Cloud
VoltDB on SolftLayer CloudVoltDB on SolftLayer Cloud
VoltDB on SolftLayer Cloud
 
Node js introduction
Node js introductionNode js introduction
Node js introduction
 
SDN 101: Software Defined Networking Course - Sameh Zaghloul/IBM - 2014
SDN 101: Software Defined Networking Course - Sameh Zaghloul/IBM - 2014SDN 101: Software Defined Networking Course - Sameh Zaghloul/IBM - 2014
SDN 101: Software Defined Networking Course - Sameh Zaghloul/IBM - 2014
 
Subversion
SubversionSubversion
Subversion
 
Workshop eNovance/OpenStack 20-12-2012
Workshop eNovance/OpenStack 20-12-2012Workshop eNovance/OpenStack 20-12-2012
Workshop eNovance/OpenStack 20-12-2012
 
Dot netnuke
Dot netnukeDot netnuke
Dot netnuke
 
Network Design patters with Docker
Network Design patters with DockerNetwork Design patters with Docker
Network Design patters with Docker
 
Dockerizing the Hard Services: Neutron and Nova
Dockerizing the Hard Services: Neutron and NovaDockerizing the Hard Services: Neutron and Nova
Dockerizing the Hard Services: Neutron and Nova
 
OpenStack and OpenDaylight Workshop: ONUG Spring 2014
OpenStack and OpenDaylight Workshop: ONUG Spring 2014OpenStack and OpenDaylight Workshop: ONUG Spring 2014
OpenStack and OpenDaylight Workshop: ONUG Spring 2014
 
Ptcl modem (user manual)
Ptcl modem (user manual)Ptcl modem (user manual)
Ptcl modem (user manual)
 
Ptcl Modem User Manual
Ptcl Modem User Manual Ptcl Modem User Manual
Ptcl Modem User Manual
 
Virtualization
VirtualizationVirtualization
Virtualization
 

Plus de Laili Aidi

Mobile Music Business Models in Asia's Emerging Markets
Mobile Music Business Models in Asia's Emerging MarketsMobile Music Business Models in Asia's Emerging Markets
Mobile Music Business Models in Asia's Emerging Markets
Laili Aidi
 
Master Thesis Report: Business Models for Mobile Broadband Media Services – C...
Master Thesis Report: Business Models for Mobile Broadband Media Services – C...Master Thesis Report: Business Models for Mobile Broadband Media Services – C...
Master Thesis Report: Business Models for Mobile Broadband Media Services – C...
Laili Aidi
 
Master Thesis Presentation: Business Models for Mobile Broadband Media Servic...
Master Thesis Presentation: Business Models for Mobile Broadband Media Servic...Master Thesis Presentation: Business Models for Mobile Broadband Media Servic...
Master Thesis Presentation: Business Models for Mobile Broadband Media Servic...
Laili Aidi
 

Plus de Laili Aidi (20)

Mobile Music Business Models in Asia's Emerging Markets
Mobile Music Business Models in Asia's Emerging MarketsMobile Music Business Models in Asia's Emerging Markets
Mobile Music Business Models in Asia's Emerging Markets
 
Stream Control Transmission Protocol (SCTP) - Introduction
Stream Control Transmission Protocol (SCTP) - IntroductionStream Control Transmission Protocol (SCTP) - Introduction
Stream Control Transmission Protocol (SCTP) - Introduction
 
Internet of Things
Internet of ThingsInternet of Things
Internet of Things
 
Study Abroad in the Land of Nobel
Study Abroad in the Land of NobelStudy Abroad in the Land of Nobel
Study Abroad in the Land of Nobel
 
Go International: Challenges and Opportunities
Go International: Challenges and OpportunitiesGo International: Challenges and Opportunities
Go International: Challenges and Opportunities
 
Master Thesis Report: Business Models for Mobile Broadband Media Services – C...
Master Thesis Report: Business Models for Mobile Broadband Media Services – C...Master Thesis Report: Business Models for Mobile Broadband Media Services – C...
Master Thesis Report: Business Models for Mobile Broadband Media Services – C...
 
Paper - Competing or Aligning? Assessment for Telecom Operator's strategy to ...
Paper - Competing or Aligning? Assessment for Telecom Operator's strategy to ...Paper - Competing or Aligning? Assessment for Telecom Operator's strategy to ...
Paper - Competing or Aligning? Assessment for Telecom Operator's strategy to ...
 
Master Thesis Presentation: Business Models for Mobile Broadband Media Servic...
Master Thesis Presentation: Business Models for Mobile Broadband Media Servic...Master Thesis Presentation: Business Models for Mobile Broadband Media Servic...
Master Thesis Presentation: Business Models for Mobile Broadband Media Servic...
 
Abstract - Competing or Aligning? Assessment for Telecom Operator's strategy ...
Abstract - Competing or Aligning? Assessment for Telecom Operator's strategy ...Abstract - Competing or Aligning? Assessment for Telecom Operator's strategy ...
Abstract - Competing or Aligning? Assessment for Telecom Operator's strategy ...
 
Music Service Monetization 2.0
Music Service Monetization 2.0Music Service Monetization 2.0
Music Service Monetization 2.0
 
Master Thesis Proposal Presentation: Business Models for Mobile-broadband Med...
Master Thesis Proposal Presentation: Business Models for Mobile-broadband Med...Master Thesis Proposal Presentation: Business Models for Mobile-broadband Med...
Master Thesis Proposal Presentation: Business Models for Mobile-broadband Med...
 
Master Thesis Proposal: Business Models for Mobile-broadband Media Services –...
Master Thesis Proposal: Business Models for Mobile-broadband Media Services –...Master Thesis Proposal: Business Models for Mobile-broadband Media Services –...
Master Thesis Proposal: Business Models for Mobile-broadband Media Services –...
 
Steganography Tool & Steganography Detection Tool - Presentation
Steganography Tool & Steganography Detection Tool - PresentationSteganography Tool & Steganography Detection Tool - Presentation
Steganography Tool & Steganography Detection Tool - Presentation
 
Delay Tolerant Network - Presentation
Delay Tolerant Network - PresentationDelay Tolerant Network - Presentation
Delay Tolerant Network - Presentation
 
Delay Tolerant Network - Journal
Delay Tolerant Network - JournalDelay Tolerant Network - Journal
Delay Tolerant Network - Journal
 
Dimensioning and Cost Structure Analysis of Wide Area Data Service Network - ...
Dimensioning and Cost Structure Analysis of Wide Area Data Service Network - ...Dimensioning and Cost Structure Analysis of Wide Area Data Service Network - ...
Dimensioning and Cost Structure Analysis of Wide Area Data Service Network - ...
 
Analysis of WiMAX regulation in South Korea and Indonesia - Presentation
Analysis of WiMAX regulation in South Korea and Indonesia - PresentationAnalysis of WiMAX regulation in South Korea and Indonesia - Presentation
Analysis of WiMAX regulation in South Korea and Indonesia - Presentation
 
SNMP Project: SNMP-based Network Anomaly Detection Using Clustering
SNMP Project: SNMP-based Network Anomaly Detection Using ClusteringSNMP Project: SNMP-based Network Anomaly Detection Using Clustering
SNMP Project: SNMP-based Network Anomaly Detection Using Clustering
 
Sweden’s Telecom Markets, Actors & Roles - Presentation
Sweden’s Telecom Markets, Actors & Roles - PresentationSweden’s Telecom Markets, Actors & Roles - Presentation
Sweden’s Telecom Markets, Actors & Roles - Presentation
 
Condroid KTH Summer CSD 2011 - Final Report
Condroid KTH Summer CSD 2011 - Final ReportCondroid KTH Summer CSD 2011 - Final Report
Condroid KTH Summer CSD 2011 - Final Report
 

Dernier

EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
Earley Information Science
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
Enterprise Knowledge
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
vu2urc
 

Dernier (20)

08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slides
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 

Condroid WSN/DTN Gateway - Work Procedure

  • 1. ! !"#$%&#'()&*!)+' "*&',-'-./0*%,.*' 1*."2/#'343' 2011 !"#$%&'()%*+(,%+-%"( !"#$%&'(&#*&.( ' ( ' Lan Sun (lansun@kth.se), 15 ECTS (((((/#*&.(*01(2"#$%&'(#30%"( Hervé Ntareme Qing An (qinga@kth.se), 15 ECTS /#4&#*&.( Michel Hognerud Jun Gao (jungao@kth.se), 15 ECTS /.*+25#0( Laili Aidi (aidi@kth.se), 18 ECTS Björn Pehrson! Yasir Ali (yasireal@kth.se), 15 ECTS SUMMER CSD
  • 2. WSN/DTN Gateway Set up Procedure V1.1 ! Revision History Version Date Responsible Change V1.0 2011-08-14 Laili Aidi Initial version of the document V1.1 2011-09-29 Laili Aidi Cover, Abbreviation and Part 2 2
  • 3. WSN/DTN Gateway Set up Procedure V1.1 ! Contents Contents .............................................................................................................................................3! Summary.............................................................................................................................................5! Abbreviation.......................................................................................................................................6! 1. Introduction ..................................................................................................................................7! 2. Set up Procedure ..........................................................................................................................8! •! Step 1 - System Requirement & Architecture..................................................... 8! 1.! System architecture design.....................................................................................................8! 2.! System requirement design ....................................................................................................8! •! Step 2 - System Development & Implementation: Bottom-ware software.................. 8! 1.! ALIX Board set up................................................................................................................8! 2.! Voyage OS Installation ..........................................................................................................8! 3.! DTN2 Installation and configuration on ALIX board ...........................................................8! 4.! DTN basic functionality test..................................................................................................8! •! Step 3 - System Deployment & Testing, part 1................................................... 9! 1.! DTN City & Village Verification ...........................................................................................9! 2.! Bytewalla Verification............................................................................................................9! •! Step 4 - System Development & Implementation: Middle-ware Software .................. 9! 1.! WSN/DTN Gateway Network configuration .......................................................................9! 2.! Apache Server installation and configuration .........................................................................9! 3.! PHP5 installation...................................................................................................................9! 4.! MySQL server installation and configuration.........................................................................9! 5.! Java and Ant Installation and configuration ...........................................................................9! 6.! Hald Installation..................................................................................................................10! 7.! SunSPOT Installation and configuration .............................................................................10! •! Step 5 - System Development & Implementation: Upper-ware Software ................. 10! 1.! WSN/DTN Gateway Core-Engine Sender development ....................................................10! 3
  • 4. WSN/DTN Gateway Set up Procedure V1.1 ! 2.! WSN/DTN Gateway Core-Engine Receiver development..................................................10! 3.! WSN/DTN Gateway Webpage admin development ...........................................................10! •! Step 6 - System Deployment & Testing, part 2................................................. 11! 1.! Java Doc Documentation ....................................................................................................11! 2.! Installation Guide & User Manual .......................................................................................11! 3.! Verification Test..................................................................................................................11! 4.! WSN/DTN Gateway performance measurement................................................................11! 4
  • 5. WSN/DTN Gateway Set up Procedure V1.1 ! Summary This document describes the complete procedure to set up an integrated WSN environment and DTN environment using specific configured WSN/DTN Gateway and existing Bytewalla. 5
  • 6. WSN/DTN Gateway Set up Procedure V1.1 ! Abbreviation Abbreviations used in this document: Abbreviation Description DHCP Dynamic Address Allocation Protocol AP Access-Point Wi-Fi Trademark of a product based on IEEE 802.11 Apache HTTP Server PHP Hypertext Preprocessor, Server-side HTML embedded scripting language MySQL An Open source Relational database management system (RDBMS) DTN Delay Tolerant Network / Delay Disruptive Network ALIX Board Single board computer capable of running operating systems WSN Wireless Sensor Network DTN Delay Tolerant Network / Delay Disruptive Network Voyage Linux GNU/Linux derived distribution that is best run on a x86 embedded platforms Barkeley DB Software library that provides embedded database for key/value data Bytewalla Implementation of DTN in the Android platform. WPA Wi-Fi Protected Access Dnsmasq Lightweight version to configure DNS forwarder and DHCP server. JDK Java Development Environment Apache Ant XML-based build scripting language Hald HAL Daemon SunSPOT Embedded microprocessor that runs Java 6
  • 7. WSN/DTN Gateway Set up Procedure V1.1 ! 1. Introduction This document contains step-by-step guideline to set up the WSN environment and WSN/DTN Gateway of the Condroid CSD project, so it can be integrated into existing Bytewalla DTN and any DTN nodes. 7
  • 8. WSN/DTN Gateway Set up Procedure V1.1 ! 2. Set up Procedure • Step 1 - System Requirement & Architecture The first step is to identify the stage for the future development. After the detailed study into this field, we have got our basic idea of the whole system and how to achieve it. However, we need to clarify the whole system and define each part of the system, hardware and software identification. We divided this Step into 2 parts: 1. System architecture design In this part we will clarify the whole system and its components. This will become reference for coming developing teams and user to get the basic idea of the project. 2. System requirement design As the project has specific requirement of the hardware, we need to provide this requirement for procurement as well as it will be needed by user to set up the system. Deliverable: System architecture and Requirement document • Step 2 - System Development & Implementation: Bottom-ware software In this step, we start to set up the base of WSN/DTN Gateway work environment, which contain several parts of work: 1. ALIX Board set up 2. Voyage OS Installation 3. DTN2 Installation and configuration on ALIX board In this task, we will install the decencies packages, which are required to set up the DTN2, then install the DTN2 software (Oasys, BarkeleyDB, DTN2) then configure it with dynamic configuration 4. DTN basic functionality test In this task, we test that the basic functionality of DTN (simple DTN Bundle Send/Receive) works properly in the ALIX board environment Deliverable: 1. Voyage and DTN2 on ALIX Board Installation Guide 2. DTN Bash shell script 8
  • 9. WSN/DTN Gateway Set up Procedure V1.1 ! • Step 3 - System Deployment & Testing, part 1 1. DTN City & Village Verification 2. Bytewalla Verification In this task we will do verification test of Bytewalla in its its existing DTN environment (DTN City & Village server), which contains verification of Network architecture, Network components, Installation/configuration, Functionalities testing (ProPHET Protocol, Neighbor Discovery, Test application – SSA and Email, Network management tool) Deliverable: Bytewalla verification test Report • Step 4 - System Development & Implementation: Middle-ware Software 1. WSN/DTN Gateway Network configuration In this task, we will configure WSN/DTN Gateway network Interfaces, including to set up the interface as DHCP client, WiFi-Access Point master mode with WPA and DHCP Server and IP address arrangement for DHCP server service. 2. Apache Server installation and configuration As this WSN/DTN Gateway will consist of the webpage admin, this we have to set up web server. We use open-source Apache HTTP Server of this WSN/DTN Gateway. 3. PHP5 installation We use PHP version 5 as the platform of WSN/DTN Gateway webpage admin that will be developed later. 4. MySQL server installation and configuration To store the WSN sensor data, we will need a database, which will be accessed by the user both to view the data, to analyze and to distribute it. We use open-source MySQL as the database of this WSN/DTN Gateway. 5. Java and Ant Installation and configuration The WSN/DTN Gateway Engine will be developed based on java, thus we will need to use set up the JDK, and Apache Ant to run, compile and control the java application both in the mote and base station. 9
  • 10. WSN/DTN Gateway Set up Procedure V1.1 ! 6. Hald Installation HALD is a daemon that maintains a database of the devices connected to the system in real-time. The daemon connects to the D-Bus system message bus to provide an API that applications can use to discover, monitor and invoke operations on devices. 7. SunSPOT Installation and configuration SunSPOT Manager is the most important part of the WSN/DTN Gateway Middleware. It is used for managing the Sun SPOT (SDK), including the mote and BS. However, we cannot use ordinary installation that is described in SunSPOT Manager Installation procedure for linux, since Voyage OS does not have GUI application. Thus we have to do some research and modification procedure on that Deliverable: 1. WSN Middleware Installation and Configuration Guide on ALIX Board 2. WSN/DTN Gateway Nodes configuration • Step 5 - System Development & Implementation: Upper-ware Software 1. WSN/DTN Gateway Core-Engine Sender development • Sensor data collection module from WSN mote(s), • Data Record module to MySQL database • Data compressing module. • DTN Bundle send module to other DTN node (Bytewalla) 2. WSN/DTN Gateway Core-Engine Receiver development • DTN Bundle receive module from other DTN node (exp. Bytewalla) • Data uncompressing module • Data Record module to MySQL database with data redundancy checking 3. WSN/DTN Gateway Webpage admin development • Control Module of the WSN/DTN Core-Engine (set the WSN/DTN Gateway as Sender or Receiver), • Data view module of the sensor data in table mode, • Analyze module graphical mode, • Distribute module Deliverable: WSN/DTN Gateway Software Architectur 10
  • 11. WSN/DTN Gateway Set up Procedure V1.1 ! • Step 6 - System Deployment & Testing, part 2 In this task, we will have to make complete documentations, which is divided into 3 parts: 1. Java Doc Documentation In this task, we will provide the complete Java doc for every methods and classes that are used in the code. This document can be reference to the coming developers. 2. Installation Guide & User Manual In this task, we will provide the complete guidance on how to install the hardware and software and to use the application 3. Verification Test In this task, we will do the verification test for all the features in the application and then documenting the result into verification test document. 4. WSN/DTN Gateway performance measurement This task will be optional task, which include: Bandwidth usage, Power consumption, CPU load and memory footprint measurement Deliverable: 1. Java Doc of the WSN/DTN Core-Engine 2. WSN/DTN Gateway Installation Guide & User Manual document 3. WSN/DTN Gateway Verification Test Report 11