Programming ad hoc networks of mobile and resource constrained devices
Download
1 / 12

Programming Ad-hoc Networks of Mobile and Resource-Constrained Devices - PowerPoint PPT Presentation


  • 133 Views
  • Uploaded on

Programming Ad-hoc Networks of Mobile and Resource-Constrained Devices. Yang Ni, Ulrich Kremer, Adrian Stere, Liviu Iftode Rutgers University Presented at PLDI ‘05 Presented by Troy Trimble. Summary. MANETs SpatialViews Syntax and Semantics Implementation Conclusion/Questions. MANETs.

loader
I am the owner, or an agent authorized to act on behalf of the owner, of the copyrighted work described.
capcha
Download Presentation

PowerPoint Slideshow about ' Programming Ad-hoc Networks of Mobile and Resource-Constrained Devices' - ebony-grimes


An Image/Link below is provided (as is) to download presentation

Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author.While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.


- - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - -
Presentation Transcript
Programming ad hoc networks of mobile and resource constrained devices

Programming Ad-hoc Networks of Mobile and Resource-Constrained Devices

Yang Ni, Ulrich Kremer, Adrian Stere, Liviu Iftode

Rutgers University

Presented at PLDI ‘05

Presented by Troy Trimble


Summary
Summary Resource-Constrained Devices

  • MANETs

  • SpatialViews

  • Syntax and Semantics

  • Implementation

  • Conclusion/Questions


Manets
MANETs Resource-Constrained Devices

  • Mobile Ad-hoc Networks

  • PDAs, Smart Phones, Laptops, Cars

  • Multiple mediums

    • 802.11, bluetooth, radio

  • Form networks around unstable links

  • Examples (Shameless Plug)

    • Sensor Networks, RescueMesh (WIISARD)


Programming for manets
Programming for MANETs Resource-Constrained Devices

  • Concern is power

    • MANETs usually on low power devices

  • What can we give up?

    • Quality of Result (QoR)


Spatialviews
SpatialViews Resource-Constrained Devices

  • Nodes

    • Defined by location in space, time and services

  • Virtual Network

    • Collection of virtual nodes

  • Network Iterator

    • Used to iterate through the nodes in the network

    • Can be a tool to control QoR vs. Power


Syntax and semantics

Services Resource-Constrained Devices

Java Interfaces

Location

GPS, Cricket (MIT)

Time

Granularity, limit

public interface LightSensor {

public float read();

...

}

public interface SpaceDefs {

public static final Space CampusB=new Rectangle(...);

...

}

public class AverageLighting {

public void static main(String[] args) {

sumreduction float s=0;

sumreduction int n=0;

spatialview sv=LightSensor @ SpaceDefs.CampusB % 320;

visiteach x : sv every 1.0 forever

{ s += x.read(); n++; }

if (n>0)

System.out.println(Float.toString(s/n));

}

}

Syntax and Semantics


Syntax and semantics cont
Syntax and Semantics cont. Resource-Constrained Devices

  • Program vars

    • Local – r/w in defined iter, ro in nested iters

    • Container – r/w in defined iter, wo in nested iters

    • Reduction – associated with specific operation

  • Service vars

    • Never leave node, r/w in defined iter


Implementation
Implementation Resource-Constrained Devices

  • Modified Java

  • SmartMessages

    • Transport

    • Java, KiloByte VM and CLDC library


Iteration types
Iteration Types Resource-Constrained Devices

  • Serial

    • Poor failure model

    • Can also do flooding to help

  • Geographic iteration

    • Uses locations and greedy algorithm

  • Geographic Flood

    • Cloning based on quadtree, not network topology


Extras
Extras Resource-Constrained Devices

  • Loop Flattening

    • Optimization for services on the same box

  • Security

    • Assumed


Conclusions
Conclusions Resource-Constrained Devices

  • MANETs pose a benefit to society

  • New programming challenges are given by these environments

    • Recognized by academic community with conferences like International Conference for Compilers, Architecture and Synthesis for Embedded Systems

  • SpatialViews supplies a good interface for dealing with these new problems on MANETs


Questions
Questions??? Resource-Constrained Devices


ad