1 / 20

tinyDSM: A Highly Reliable Cooperative Data Storage For Wireless Sensor Networks

tinyDSM: A Highly Reliable Cooperative Data Storage For Wireless Sensor Networks. Krzysztof Piotrowski , Peter Langendörfer, Steffen Peter. Outline. Motivation Goals Our solution Future work Conclusions. Motivation. Wireless Sensor Network is a loosely coupled multiprocessor system

leonardj
Download Presentation

tinyDSM: A Highly Reliable Cooperative Data Storage For Wireless Sensor Networks

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. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. tinyDSM: A Highly Reliable Cooperative Data Storage For Wireless Sensor Networks Krzysztof Piotrowski, Peter Langendörfer, Steffen Peter

  2. Outline • Motivation • Goals • Our solution • Future work • Conclusions

  3. Motivation Wireless Sensor Network is a loosely coupled multiprocessor system • limitations • energy – trade-off between activity and lifetime • network – transmission losses, delays, network dynamics • computational power – adds to both above mentioned • great number of nodes Cooperation in WSN is the way to success! Cooperation is data exchange!

  4. Motivation, cont. The Environment • The size of the network is not limited • The data is locality bound • Nodes appear and disappear • Nodes represent a medium for the data Cooperation based on data exchange in a common storage • Replication increases the reliability • Historical data increases the usability Need for mechanisms to exchange and store the data in a reliable way!

  5. Motivation, cont. MEMORY MEMORY MEMORY • Loosely coupled multiprocessors • - not easy to program • - memory consistency problems • Distributed Shared Memory • Introduces an additional layer to loosely coupled multiprocessors • + hides the complexity • + cares about memory consistency • Consistency / performance trade-off CPU CPU CPU MEMORY MEMORY MEMORY CPU CPU CPU COMMON MEMORY

  6. Goals A reliable data storage middleware • Distributing the data items • availability • cooperative access • consistency of the replicas • historical data • event detection • Security • Configurable

  7. The solution – the idea • At start-up each node announces own shared variables • The neighbours decide on a random basis to replicate it • Changes to a shared variable are sent to the neighbours • On update the new value is checked if any event occurred • Every node having a replica can provide the data

  8. The solution – addressing • There is one global set of variables per applicationdefines the shared part of the memory • Each node has an address represented either by Id or location • Each variable has its typedefines the granularity • The timestamp allows the versioning of the values allows creating history • Each instance of a variable is a tuple<source_node_address, variable_ID, timestamp, value>

  9. The solution – messages There are three types of request messages • GET – request for reading a specific variable • SET – request for writing a specific variable • UPDATE – request for updating the replicas of a specific variable • With or without acknowledgement (verification) Each of them is completed with an acknowledgement message • ANSWER – the results for the GET request • SET_ACK – indicates that the SET request was fulfilled • UPDATE_ACK – indicates that an UPDATE request was fulfilled The GET and UPDATE messages are usually broadcast, all other messages are usually unicast.

  10. The solution – architecture • Application logic defines the sources of data and actions in case of events. • Event & Replication Logic takes the decision on the replication of data, storage of new data and controls data locating. It is also responsible for detecting the events for the new data. • Query Logic is responsible for interpreting incoming messages (queries) and building results into answer messages. • Memory Manager controls the physical data storage on the node. • Communication Interface allows communication with other nodes.

  11. The solution – customization • Policies control the behaviour of the system • Policies chosen while defining a variable define the handling of all instances of that variable in the system - the requested consistency - the replication strategy - the used storage space, size of the history, etc. • Policies can control the behaviour in case of an event - diverse strategies to avoid false positives and false negatives • Policies allow for tuning the application- exchanging the policy file allows to create several versions of the application with different requirements using the same source code

  12. The solution – preliminary evaluation • 20 x 20 nodes network (regular grid) • Several combinations of network parameters • One defined variable • Variable set once every five seconds • Ten updates + up to five verifications (quality parameter) • 25% replication probability (quantity parameter)

  13. The solution – preliminary evaluation, cont.

  14. The solution – preliminary evaluation, cont.

  15. The solution – preliminary evaluation, cont.

  16. The solution – preliminary evaluation, cont.

  17. Future work • Definition of deployment scenarios for simulations additional simulations have to be done for several scenarios • Definition and simulation the system parameters and mechanisms have to be defined and evaluated regarding the introduced costs and performance features • Application programming toolshave to be developed in order to make the use of the approach easier • Moving the model to real Wireless Sensor Networkverification of the model on real nodes potential hardware-software functionality shifts

  18. Future improvements • Database abstraction layer allows accessing the data stored in the WSN like a database • Distributed Event processing in case an event is detected it can be validated within the network • Single system image versionin smaller networks complete replication may be possible • Global variables and ownership migrationglobal variables are defined per network not per node to avoid access problems in case the owning node is lost the ownership can be transferred to another node

  19. Conclusions • The presented reliable distributed data storage that adapts the number of replicas to the defined number is the first step towards providing the Distributed Shared Memory to the WSN • Concept of DSM was primarily used to enable parallel distributed computing on powerful devicesconnected via powerful network interfaces • The idea fits perfectly to the WSN application area as well • Providing the concept to the WSN together with its features and tools that ease its use enables many new applications in that area • It allows the nodes to operate more active and autonomous from a base station by injecting more intelligence into the network.

  20. Thank you • Questions?

More Related