Presentation is loading. Please wait.

Presentation is loading. Please wait.

1 Message Oriented Middleware and Hierarchical Routing Protocols Smita Singhaniya Sowmya Marianallur Dhanasekaran Madan Puthige.

Similar presentations


Presentation on theme: "1 Message Oriented Middleware and Hierarchical Routing Protocols Smita Singhaniya Sowmya Marianallur Dhanasekaran Madan Puthige."— Presentation transcript:

1 1 Message Oriented Middleware and Hierarchical Routing Protocols Smita Singhaniya Sowmya Marianallur Dhanasekaran Madan Puthige

2 2 Wireless Sensor Networks increasing development of wireless sensor networks (WSNs) increasing development of wireless sensor networks (WSNs) scarce resources (memory, battery, processing capacity) scarce resources (memory, battery, processing capacity) thousand of nodes thousand of nodes event-driven event-driven traditional middleware systems are heavyweight traditional middleware systems are heavyweight request/reply communication is not adequate request/reply communication is not adequate

3 3 WSN [Scenario]

4 4 Message Oriented Middleware MIRES – Middleware for WSNs MIRES – Middleware for WSNs enables communication between sensing- based applications enables communication between sensing- based applications provides a set of middleware services provides a set of middleware services hides the complexity of communication underlying mechanisms from the sensing- based applications hides the complexity of communication underlying mechanisms from the sensing- based applications

5 5 MIRES [Basic Facts] message-oriented middleware message-oriented middleware publish/subscribe service publish/subscribe service asynchronous communication asynchronous communication encapsulates network-level protocols encapsulates network-level protocols routing and topology control protocols routing and topology control protocols aggregation service aggregation service collects and integrates data generated from a large and physically dispersed set of nodes collects and integrates data generated from a large and physically dispersed set of nodes API (Application Programming Interface) API (Application Programming Interface)

6 6 MIRES [Architecture] SensorsCPURadio Operating System MIRES Routing Service 1 Aggregation Service N Service N Node Application Publish/subscribe service

7 7 MIRES [Publish/Subscribe Service] a publish/subscribe middleware a publish/subscribe middleware publishes (“sender”) and subscribers (“receivers”) applications publishes (“sender”) and subscribers (“receivers”) applications asynchronous communication asynchronous communication sender and receiver may not be present in the network at the same time sender and receiver may not be present in the network at the same time topics (subject) topics (subject) Hardware Operating System MOM Sender Receiver Queue send(m) notification

8 8 MIRES [Publish/Subscribe Service] allows the communication between middleware services allows the communication between middleware services responsible for advertises topics responsible for advertises topics maintains the list of topics subscribed by the node application maintains the list of topics subscribed by the node application publishes messages containing data related to the advertised topics publishes messages containing data related to the advertised topics SensorsCPURadio Operating System MIRES Routing Service 1 Aggregation Service N Service N Node Application Publish/subscribe service

9 9 MIRES [Publish/Subscribe Service] TinyOS TinyOS nesC language nesC language component-based programming model component-based programming model each component provides and uses services each component provides and uses services component’s interface is made up of commands (procedures) component’s interface is made up of commands (procedures) SensorsCPURadio Operating System MIRES Routing Service 1 Aggregation Service N Service N Node Application Publish/subscribe service

10 10 MIRES [Publish/Subscribe Service] publish/subscribe service - > other components publish/subscribe service - > other components Node application advertises its ability of sensing data related to a topic Node application advertises its ability of sensing data related to a topic the publish/subscribe services sends that information to the network the publish/subscribe services sends that information to the network sink node user application

11 11 MIRES [Publish/Subscribe Service] message arrival from the network message arrival from the network all messages are addressed to the sink node all messages are addressed to the sink node MultiRouter signalises an intercept an event MultiRouter signalises an intercept an event the publish/subscribe service updates its internal control the publish/subscribe service updates its internal control the publish/subscribe services returns an indication that the message can be forwarded the publish/subscribe services returns an indication that the message can be forwarded sink node user application

12 12 MIRES [Publish/Subscribe Service] topic subscription topic subscription user application broadcasts subscribed topics to the network user application broadcasts subscribed topics to the network BCast signals a receive event BCast signals a receive event the publish/subscribe service notifies services attached to it the publish/subscribe service notifies services attached to it sink node user application sensor nodes

13 13 MIRES [Publish/Subscribe Service] sink node user application sensor nodes

14 14 MIRES [Aggregation Service] the aggregation of data collected from sensors reduces the number of transmissions the aggregation of data collected from sensors reduces the number of transmissions performed in each node performed in each node configuration parameters configuration parameters aggregation function (e.g., suppression, min, max, average) aggregation function (e.g., suppression, min, max, average) stop criteria stop criteria Room 1 user application sink Room 2 Room 3Room 4

15 15 MIRES [Aggregation Service] user application Node application TinyOSMires Sensor readings Publish messages Incoming messages Room

16 16 Multi-hop routing algorithm Multi-hop routing algorithm Clustering-based Hierarchical Routing Protocols Clustering-based Hierarchical Routing Protocols MIRES [Routing]

17 17 Hierarchical Protocol Multi hop communication with network clustering Multi hop communication with network clustering Data Aggregation and Fusion Data Aggregation and Fusion LEACH LEACH PEGASIS PEGASIS TEEN and APTEEN TEEN and APTEEN

18 18 Low-Energy Adaptive Clustering Hierarchy Cluster head for the current round if the random number is less than the following threshold Cluster head for the current round if the random number is less than the following threshold p is the desired percentage of cluster heads p is the desired percentage of cluster heads r is the current round r is the current round G is the set of nodes that have not been cluster heads in the last 1/p rounds G is the set of nodes that have not been cluster heads in the last 1/p rounds

19 19 Low-Energy Adaptive Clustering Hierarchy Cluster Heads at time tCluster Heads at time t + d

20 20 Drawbacks of LEACH Single-hop routing – each node transmits directly to the cluster-head and cluster-head directly to the sink Single-hop routing – each node transmits directly to the cluster-head and cluster-head directly to the sink Dynamic clustering – extra overhead Dynamic clustering – extra overhead

21 21 Power-Efficient Gathering in Sensor Information System [PEGASIS] Eliminates dynamic cluster formation Eliminates dynamic cluster formation Minimizes distance non-leader nodes must transmit Minimizes distance non-leader nodes must transmit Limits the no. of transmissions and receptions among all nodes Limits the no. of transmissions and receptions among all nodes Only one transmission to the BS per round Only one transmission to the BS per round

22 22 Chaining in PEGASIS C0,C1,C3,C4 - Non-leader nodes C2- Leader Node  Each node communicates only with the closest neighbor  Gathered data moves from node to node, get fused and sent to the BS by the designated leader node  Nodes take turns being the leader ( I mod N)  Chaining is done using the greedy approach  When a node dies chaining is done again

23 23 Hierarchical PEGASIS with CDMA Constructs a chain of nodes, that forms a tree like hierarchy Constructs a chain of nodes, that forms a tree like hierarchy Data transmitting in parallel Data transmitting in parallel Tree is balanced, the delay will be in Tree is balanced, the delay will be in O (log N) O (log N)

24 24  Nodes at even positions transmit data to their right  Nodes receiving at each level rise to next level in hierarchy

25 25 Comparison of PEGASIS with LEACH PEGASIS has been shown to outperform LEACH by about 100 to 300% for different network sizes and topologies PEGASIS has been shown to outperform LEACH by about 100 to 300% for different network sizes and topologies

26 26 Threshold sensitive Energy Efficient sensor Network protocol

27 27 Threshold sensitive Energy Efficient sensor Network protocol Responsive to sudden changes in the sensed attributes such as temperature Responsive to sudden changes in the sensed attributes such as temperature Cluster head broadcasts to the nodes Cluster head broadcasts to the nodes Attributes Attributes Hard threshold Hard threshold Soft threshold. Soft threshold. TEEN is not good for applications where periodic reports are needed TEEN is not good for applications where periodic reports are needed

28 28 Adaptive Threshold sensitive Energy Efficient sensor Network protocol Captures both periodic data and reacts to time-critical events Captures both periodic data and reacts to time-critical events Historical, to analyze past data values Historical, to analyze past data values one-time, to take a snapshot view of the network one-time, to take a snapshot view of the network Persistent, to monitor an event for a period of time Persistent, to monitor an event for a period of time

29 29 Threshold sensitive Energy Efficient sensor Network protocol Time line for the operation of TEEN and APTEEN Time line for the operation of TEEN and APTEEN

30 30 Drawbacks of TEEN and APTEEN Overhead and complexity of forming clusters in multiple levels Overhead and complexity of forming clusters in multiple levels Implementing threshold-based functions Implementing threshold-based functions Dealing with attribute-based naming of queries Dealing with attribute-based naming of queries

31 31Conclusion publish/subscribe paradigm – asynchronous communication model publish/subscribe paradigm – asynchronous communication model multi-hop routing algorithm – hierarchical routing algorithm multi-hop routing algorithm – hierarchical routing algorithm

32 32 Questions ???? Thank You


Download ppt "1 Message Oriented Middleware and Hierarchical Routing Protocols Smita Singhaniya Sowmya Marianallur Dhanasekaran Madan Puthige."

Similar presentations


Ads by Google