Spin Protocols
Spin Protocols
• Overlap
– Nodes often cover overlapping
areas (e.g. temperature distr.) A r
q
– Function of topology and C
mapping of observed data B s
q
• Resource blindness
– Amount of energy available does
not affect the communication
activities
Concept - Idea
• SPIN = Sensor Protocols for Information via Negotiation
Has Data
to
disseminate
SPIN-1 – Example - Advertise
Stage
AD
AD
VV
AD
AD
VV
SPIN-1 – Example - Request Stage
RE
RE
QQ
RE
RE
QQ
SPIN-1 – Example - DATA Stage
DAT
DAT
A
A
DAT
DAT
A
A
SPIN-1 – a 3-Stage Handshake
Protocol
• Needs knowledge about single-hop network
neighbors
• Adaptation for lost networks
– Compensate lost ADV messages by re-advertising
periodically
– Compensate lost REQ/DATA by re-requesting after
fixed time
• Adaptation for mobile networks
– Topology changes trigger updates to neighbor lists of
nodes
– When a nodes neighbor list changed, re-advertise all
its data
SPIN-2 – Energy-conservation
• Adds simple energy-conservation heuristic to SPIN-1
• Incorporate 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
• Gossiping
• Ideal dissemination
Evaluation
Gossiping
• alternative to classic flooding, 1 2
• only local neighborhood information, thus well suited for mobile sensors
• energy performance: 25% energy of classic flooding, SPIN-2 distributes 60% more
data per unit energy than flooding