Data Centric and Content Based Networking
Data Centric and Content Based Networking
Data Centric and Content Based Networking
networking
Introduction
7
SPIN (cont.)- Three-stage handshake
protocol
SPIN-PP: A three-stage handshake protocol for point-
to-point media
ADV data advertisement
Node that has data to share can advertise this by
transmitting an ADV with meta-data attached
REQ request for data
Node sends a request when it wishes to receive some
actual data
DATA data message
Contain actual sensor data with a meta-data header
Usually much bigger than ADV or REQ messages
8
SPIN (cont.)- SPIN-EC (Energy-Conserve)
Add simple energy-conservation heuristic to
SPIN-PP
SPIN-EC: SPIN-PP with a low-energy threshold
Incorporate low-energy-threshold
Works as SPIN-PP when energy level is high
Reduce participation of nodes when approaching
low-energy-threshold
When node receives data, it only initiates protocol if it can
participate in all three stages with all neighbor nodes
When node receives advertisement, it does not request the
data
Node still exhausts energy below threshold by
receiving ADV or REQ messages
9
SPIN (cont.)- Conclusion
SPIN protocols hold the promise of achieving high
performance at a low cost in terms of complexity,
energy, computation, and communication
Pros
Each node only needs to know its one-hop neighbors
Significantly reduce energy consumption compared to flooding
Cons
Data advertisement cannot guarantee the delivery of data
If the node interested in the data are far from the source,
data will not be delivered
Not good for applications requiring reliable data delivery, e.g.,
intrusion detection
10
4.2.2
Directed Diffusion
A Scalable and Robust
Communication Paradigm for Sensor
Networks
11
Overview
12
Overview (cont.)
Data-centric communication (cont.)
Human operators query (task) is diffused
Sensors begin collecting information about query
Information returns along the reverse path
Intermediate nodes aggregate the data
Combing reports from sensors
Directed Diffusion is an important milestone in the
data centric routing research of sensor networks
13
Directed Diffusion
14
Directed Diffusion (cont.)
15
Reinforcement (1/4)
Positive reinforcement
Sink selects the neighboring node
Original interest message but with high data-rate
Neighboring node must also reinforce at least one neighbor
Low-delay path is selected
Exploratory gradients still exist: useful for faults
Reinforced gradient
Event Reinforced gradient
Source
A sensor field
Sink
16
Reinforcement (2/4)
18
Directed Diffusion: Pros & Cons
Different from SPIN in terms of on-demand
data querying mechanism
Sink floods interests only if necessary (lots of energy savings)
In SPIN, sensors advertise the availability of data
Pros
Data centric: All communications are neighbor to neighbor
with no need for a node addressing mechanism
Each node can do aggregation & caching
Cons
On-demand, query-driven: Inappropriate for applications
requiring continuous data delivery, e.g., environmental
monitoring
Attribute-based naming scheme is application dependent
For each application it should be defined a priori
Extra processing overhead at sensor nodes
19