Deterministic Recurrent Communication and Synchronization in...

85
Deterministic Recurrent Communication and Synchronization in Restricted Sensor Networks A.Fern´andezAnta M. A. Mosteiro Christopher Thraves ASAP Research team IRISA/INRIA Rennes ALGOSENSORS 2010 A. Fern´ andez Anta, M. A. Mosteiro, Christopher Thraves Deterministic Recurrent Communication and Synchronization 1/25

Transcript of Deterministic Recurrent Communication and Synchronization in...

Page 1: Deterministic Recurrent Communication and Synchronization in …csis.pace.edu/~mmosteiro/pub/presALGOSENSORS10.pdf · 2016. 8. 2. · Deterministic Recurrent Communication and Synchronization

Deterministic Recurrent Communication andSynchronization in Restricted Sensor Networks

A. Fernandez Anta M. A. Mosteiro Christopher Thraves

ASAP Research teamIRISA/INRIA Rennes

ALGOSENSORS 2010

A. Fernandez Anta, M. A. Mosteiro, Christopher Thraves Deterministic Recurrent Communication and Synchronization1/25

Page 2: Deterministic Recurrent Communication and Synchronization in …csis.pace.edu/~mmosteiro/pub/presALGOSENSORS10.pdf · 2016. 8. 2. · Deterministic Recurrent Communication and Synchronization

1 Introduction

2 Model and Problem Definition

3 Our Solution

4 Open Problems

A. Fernandez Anta, M. A. Mosteiro, Christopher Thraves Deterministic Recurrent Communication and Synchronization2/25

Page 3: Deterministic Recurrent Communication and Synchronization in …csis.pace.edu/~mmosteiro/pub/presALGOSENSORS10.pdf · 2016. 8. 2. · Deterministic Recurrent Communication and Synchronization

Introduction

Introduction

A. Fernandez Anta, M. A. Mosteiro, Christopher Thraves Deterministic Recurrent Communication and Synchronization3/25

Page 4: Deterministic Recurrent Communication and Synchronization in …csis.pace.edu/~mmosteiro/pub/presALGOSENSORS10.pdf · 2016. 8. 2. · Deterministic Recurrent Communication and Synchronization

Introduction

A sensor node

Capabilities

processing

sensing

communication

Limitations

range

memory

life cycle

University of California, Berkeley and

Intel Berkeley Research Lab.

PicoBeacon

Berkeley Wireless Research Center

A. Fernandez Anta, M. A. Mosteiro, Christopher Thraves Deterministic Recurrent Communication and Synchronization4/25

Page 5: Deterministic Recurrent Communication and Synchronization in …csis.pace.edu/~mmosteiro/pub/presALGOSENSORS10.pdf · 2016. 8. 2. · Deterministic Recurrent Communication and Synchronization

Introduction

A sensor node

Capabilities

processing

sensing

communication

Limitations

range

memory

life cycle

A. Fernandez Anta, M. A. Mosteiro, Christopher Thraves Deterministic Recurrent Communication and Synchronization4/25

Page 6: Deterministic Recurrent Communication and Synchronization in …csis.pace.edu/~mmosteiro/pub/presALGOSENSORS10.pdf · 2016. 8. 2. · Deterministic Recurrent Communication and Synchronization

Introduction

A sensor node

Capabilities

processing

sensing

communication

Limitations

range

memory

life cycle

A. Fernandez Anta, M. A. Mosteiro, Christopher Thraves Deterministic Recurrent Communication and Synchronization4/25

Page 7: Deterministic Recurrent Communication and Synchronization in …csis.pace.edu/~mmosteiro/pub/presALGOSENSORS10.pdf · 2016. 8. 2. · Deterministic Recurrent Communication and Synchronization

Introduction

A sensor node

Capabilities

processing

sensing

communication

Limitations

range

memory

life cycle

A. Fernandez Anta, M. A. Mosteiro, Christopher Thraves Deterministic Recurrent Communication and Synchronization4/25

Page 8: Deterministic Recurrent Communication and Synchronization in …csis.pace.edu/~mmosteiro/pub/presALGOSENSORS10.pdf · 2016. 8. 2. · Deterministic Recurrent Communication and Synchronization

Introduction

A sensor node

Capabilities

processing

sensing

communication

Limitations

range

memory

life cycle

A. Fernandez Anta, M. A. Mosteiro, Christopher Thraves Deterministic Recurrent Communication and Synchronization4/25

Page 9: Deterministic Recurrent Communication and Synchronization in …csis.pace.edu/~mmosteiro/pub/presALGOSENSORS10.pdf · 2016. 8. 2. · Deterministic Recurrent Communication and Synchronization

Introduction

A sensor node

Capabilities

processing

sensing

communication

Limitations

range

memory

life cycle

A. Fernandez Anta, M. A. Mosteiro, Christopher Thraves Deterministic Recurrent Communication and Synchronization4/25

Page 10: Deterministic Recurrent Communication and Synchronization in …csis.pace.edu/~mmosteiro/pub/presALGOSENSORS10.pdf · 2016. 8. 2. · Deterministic Recurrent Communication and Synchronization

Model and Problem Definition

Model and Problem Definition

A. Fernandez Anta, M. A. Mosteiro, Christopher Thraves Deterministic Recurrent Communication and Synchronization5/25

Page 11: Deterministic Recurrent Communication and Synchronization in …csis.pace.edu/~mmosteiro/pub/presALGOSENSORS10.pdf · 2016. 8. 2. · Deterministic Recurrent Communication and Synchronization

Model and Problem Definition

Network and Nodes

Deployed at random in the area of interest.

Unique identification number (ID) in 0, 1, 2, . . . , n − 1.

Limited communication range (transmission = reception)

⇒ nodes can duplicate their communication range.

n, k and D are known by all the nodes in the system.

A. Fernandez Anta, M. A. Mosteiro, Christopher Thraves Deterministic Recurrent Communication and Synchronization6/25

Page 12: Deterministic Recurrent Communication and Synchronization in …csis.pace.edu/~mmosteiro/pub/presALGOSENSORS10.pdf · 2016. 8. 2. · Deterministic Recurrent Communication and Synchronization

Model and Problem Definition

Network and Nodes

Deployed at random in the area of interest.

Unique identification number (ID) in 0, 1, 2, . . . , n − 1.

Limited communication range (transmission = reception)

⇒ nodes can duplicate their communication range.

n, k and D are known by all the nodes in the system.

A. Fernandez Anta, M. A. Mosteiro, Christopher Thraves Deterministic Recurrent Communication and Synchronization6/25

Page 13: Deterministic Recurrent Communication and Synchronization in …csis.pace.edu/~mmosteiro/pub/presALGOSENSORS10.pdf · 2016. 8. 2. · Deterministic Recurrent Communication and Synchronization

Model and Problem Definition

Network and Nodes

Deployed at random in the area of interest.

Unique identification number (ID) in 0, 1, 2, . . . , n − 1.

Limited communication range (transmission = reception)

⇒ nodes can duplicate their communication range.

n, k and D are known by all the nodes in the system.

A. Fernandez Anta, M. A. Mosteiro, Christopher Thraves Deterministic Recurrent Communication and Synchronization6/25

Page 14: Deterministic Recurrent Communication and Synchronization in …csis.pace.edu/~mmosteiro/pub/presALGOSENSORS10.pdf · 2016. 8. 2. · Deterministic Recurrent Communication and Synchronization

Model and Problem Definition

Network and Nodes

Deployed at random in the area of interest.

Unique identification number (ID) in 0, 1, 2, . . . , n − 1.

Limited communication range (transmission = reception)

⇒ nodes can duplicate their communication range.

n, k and D are known by all the nodes in the system.

A. Fernandez Anta, M. A. Mosteiro, Christopher Thraves Deterministic Recurrent Communication and Synchronization6/25

Page 15: Deterministic Recurrent Communication and Synchronization in …csis.pace.edu/~mmosteiro/pub/presALGOSENSORS10.pdf · 2016. 8. 2. · Deterministic Recurrent Communication and Synchronization

Model and Problem Definition

Network model: Geometric Graph

A. Fernandez Anta, M. A. Mosteiro, Christopher Thraves Deterministic Recurrent Communication and Synchronization7/25

Page 16: Deterministic Recurrent Communication and Synchronization in …csis.pace.edu/~mmosteiro/pub/presALGOSENSORS10.pdf · 2016. 8. 2. · Deterministic Recurrent Communication and Synchronization

Model and Problem Definition

Network model: Geometric Graph

A. Fernandez Anta, M. A. Mosteiro, Christopher Thraves Deterministic Recurrent Communication and Synchronization7/25

Page 17: Deterministic Recurrent Communication and Synchronization in …csis.pace.edu/~mmosteiro/pub/presALGOSENSORS10.pdf · 2016. 8. 2. · Deterministic Recurrent Communication and Synchronization

Model and Problem Definition

Network model: Geometric Graph

A. Fernandez Anta, M. A. Mosteiro, Christopher Thraves Deterministic Recurrent Communication and Synchronization7/25

Page 18: Deterministic Recurrent Communication and Synchronization in …csis.pace.edu/~mmosteiro/pub/presALGOSENSORS10.pdf · 2016. 8. 2. · Deterministic Recurrent Communication and Synchronization

Model and Problem Definition

Network model: Geometric Graph

A. Fernandez Anta, M. A. Mosteiro, Christopher Thraves Deterministic Recurrent Communication and Synchronization7/25

Page 19: Deterministic Recurrent Communication and Synchronization in …csis.pace.edu/~mmosteiro/pub/presALGOSENSORS10.pdf · 2016. 8. 2. · Deterministic Recurrent Communication and Synchronization

Model and Problem Definition

Network model: Geometric Graph

A. Fernandez Anta, M. A. Mosteiro, Christopher Thraves Deterministic Recurrent Communication and Synchronization7/25

Page 20: Deterministic Recurrent Communication and Synchronization in …csis.pace.edu/~mmosteiro/pub/presALGOSENSORS10.pdf · 2016. 8. 2. · Deterministic Recurrent Communication and Synchronization

Model and Problem Definition

Network model: Geometric Graph

A. Fernandez Anta, M. A. Mosteiro, Christopher Thraves Deterministic Recurrent Communication and Synchronization7/25

Page 21: Deterministic Recurrent Communication and Synchronization in …csis.pace.edu/~mmosteiro/pub/presALGOSENSORS10.pdf · 2016. 8. 2. · Deterministic Recurrent Communication and Synchronization

Model and Problem Definition

Network model: Geometric Graph

A. Fernandez Anta, M. A. Mosteiro, Christopher Thraves Deterministic Recurrent Communication and Synchronization7/25

Page 22: Deterministic Recurrent Communication and Synchronization in …csis.pace.edu/~mmosteiro/pub/presALGOSENSORS10.pdf · 2016. 8. 2. · Deterministic Recurrent Communication and Synchronization

Model and Problem Definition

Network model: Geometric Graph

A. Fernandez Anta, M. A. Mosteiro, Christopher Thraves Deterministic Recurrent Communication and Synchronization7/25

Page 23: Deterministic Recurrent Communication and Synchronization in …csis.pace.edu/~mmosteiro/pub/presALGOSENSORS10.pdf · 2016. 8. 2. · Deterministic Recurrent Communication and Synchronization

Model and Problem Definition

Network model: Geometric Graph

A. Fernandez Anta, M. A. Mosteiro, Christopher Thraves Deterministic Recurrent Communication and Synchronization7/25

Page 24: Deterministic Recurrent Communication and Synchronization in …csis.pace.edu/~mmosteiro/pub/presALGOSENSORS10.pdf · 2016. 8. 2. · Deterministic Recurrent Communication and Synchronization

Model and Problem Definition

Network model: Geometric Graph

A. Fernandez Anta, M. A. Mosteiro, Christopher Thraves Deterministic Recurrent Communication and Synchronization7/25

Page 25: Deterministic Recurrent Communication and Synchronization in …csis.pace.edu/~mmosteiro/pub/presALGOSENSORS10.pdf · 2016. 8. 2. · Deterministic Recurrent Communication and Synchronization

Model and Problem Definition

Local Synchrony

Time is assumed to be slotted (steps).

Each transmission occurs in a given slot.

The slots of all nodes are in phase.

Availability of a hardware clock mechanism: local-clock.

A. Fernandez Anta, M. A. Mosteiro, Christopher Thraves Deterministic Recurrent Communication and Synchronization8/25

Page 26: Deterministic Recurrent Communication and Synchronization in …csis.pace.edu/~mmosteiro/pub/presALGOSENSORS10.pdf · 2016. 8. 2. · Deterministic Recurrent Communication and Synchronization

Model and Problem Definition

Local Synchrony

Time is assumed to be slotted (steps).

Each transmission occurs in a given slot.

The slots of all nodes are in phase.

Availability of a hardware clock mechanism: local-clock.

A. Fernandez Anta, M. A. Mosteiro, Christopher Thraves Deterministic Recurrent Communication and Synchronization8/25

Page 27: Deterministic Recurrent Communication and Synchronization in …csis.pace.edu/~mmosteiro/pub/presALGOSENSORS10.pdf · 2016. 8. 2. · Deterministic Recurrent Communication and Synchronization

Model and Problem Definition

Local Synchrony

Time is assumed to be slotted (steps).

Each transmission occurs in a given slot.

The slots of all nodes are in phase.

Availability of a hardware clock mechanism: local-clock.

A. Fernandez Anta, M. A. Mosteiro, Christopher Thraves Deterministic Recurrent Communication and Synchronization8/25

Page 28: Deterministic Recurrent Communication and Synchronization in …csis.pace.edu/~mmosteiro/pub/presALGOSENSORS10.pdf · 2016. 8. 2. · Deterministic Recurrent Communication and Synchronization

Model and Problem Definition

Local Synchrony

Time is assumed to be slotted (steps).

Each transmission occurs in a given slot.

The slots of all nodes are in phase.

Availability of a hardware clock mechanism: local-clock.

A. Fernandez Anta, M. A. Mosteiro, Christopher Thraves Deterministic Recurrent Communication and Synchronization8/25

Page 29: Deterministic Recurrent Communication and Synchronization in …csis.pace.edu/~mmosteiro/pub/presALGOSENSORS10.pdf · 2016. 8. 2. · Deterministic Recurrent Communication and Synchronization

Model and Problem Definition

Node Reliability

Nodes may fail, BUT:

⇒ the network stays connected (one connected component) at alltimes

⇒ the first node awakened is always awake

⇒ each period when a node runs without failures lasts at least thelength of the stabilization time.

A. Fernandez Anta, M. A. Mosteiro, Christopher Thraves Deterministic Recurrent Communication and Synchronization9/25

Page 30: Deterministic Recurrent Communication and Synchronization in …csis.pace.edu/~mmosteiro/pub/presALGOSENSORS10.pdf · 2016. 8. 2. · Deterministic Recurrent Communication and Synchronization

Model and Problem Definition

Node Reliability

Nodes may fail, BUT:

⇒ the network stays connected (one connected component) at alltimes

⇒ the first node awakened is always awake

⇒ each period when a node runs without failures lasts at least thelength of the stabilization time.

A. Fernandez Anta, M. A. Mosteiro, Christopher Thraves Deterministic Recurrent Communication and Synchronization9/25

Page 31: Deterministic Recurrent Communication and Synchronization in …csis.pace.edu/~mmosteiro/pub/presALGOSENSORS10.pdf · 2016. 8. 2. · Deterministic Recurrent Communication and Synchronization

Model and Problem Definition

Node Reliability

Nodes may fail, BUT:

⇒ the network stays connected (one connected component) at alltimes

⇒ the first node awakened is always awake

⇒ each period when a node runs without failures lasts at least thelength of the stabilization time.

A. Fernandez Anta, M. A. Mosteiro, Christopher Thraves Deterministic Recurrent Communication and Synchronization9/25

Page 32: Deterministic Recurrent Communication and Synchronization in …csis.pace.edu/~mmosteiro/pub/presALGOSENSORS10.pdf · 2016. 8. 2. · Deterministic Recurrent Communication and Synchronization

Model and Problem Definition

Node Awakening

Definition

A τ -adversary is an adversary that awakens all the nodes of the networkwithin a window time of size τ , i.e., no node is awakened at a time t ≥ τ .Additionally, a τ -adversary does not recover crashed nodes. The parameter τis assumed known by the nodes.

Definition

An ∞-adversary is an adversary that has no restriction on when nodes areawakened.

A. Fernandez Anta, M. A. Mosteiro, Christopher Thraves Deterministic Recurrent Communication and Synchronization10/25

Page 33: Deterministic Recurrent Communication and Synchronization in …csis.pace.edu/~mmosteiro/pub/presALGOSENSORS10.pdf · 2016. 8. 2. · Deterministic Recurrent Communication and Synchronization

Model and Problem Definition

DRC Problem

Definition

A distributed protocol solves the deterministic recurrent communication

(DRC) problem if it guarantees that, for every step t and every pair(u, v) ∈ E, there is some step t′ ≥ t such that, in step t′, v receives anapplication message from u.

A. Fernandez Anta, M. A. Mosteiro, Christopher Thraves Deterministic Recurrent Communication and Synchronization11/25

Page 34: Deterministic Recurrent Communication and Synchronization in …csis.pace.edu/~mmosteiro/pub/presALGOSENSORS10.pdf · 2016. 8. 2. · Deterministic Recurrent Communication and Synchronization

Model and Problem Definition

Why Deterministic Communication?

Only one channel of communication

⇒ must deal with collision of transmissions!

Popular solution → random protocols.

BUT scarcest resource is energy and

random protocols ⇒ redundant transmissions!.

⇒ deterministic protocols may help.

A. Fernandez Anta, M. A. Mosteiro, Christopher Thraves Deterministic Recurrent Communication and Synchronization12/25

Page 35: Deterministic Recurrent Communication and Synchronization in …csis.pace.edu/~mmosteiro/pub/presALGOSENSORS10.pdf · 2016. 8. 2. · Deterministic Recurrent Communication and Synchronization

Model and Problem Definition

Why Deterministic Communication?

Only one channel of communication

⇒ must deal with collision of transmissions!

Popular solution → random protocols.

BUT scarcest resource is energy and

random protocols ⇒ redundant transmissions!.

⇒ deterministic protocols may help.

A. Fernandez Anta, M. A. Mosteiro, Christopher Thraves Deterministic Recurrent Communication and Synchronization12/25

Page 36: Deterministic Recurrent Communication and Synchronization in …csis.pace.edu/~mmosteiro/pub/presALGOSENSORS10.pdf · 2016. 8. 2. · Deterministic Recurrent Communication and Synchronization

Model and Problem Definition

Why Deterministic Communication?

Only one channel of communication

⇒ must deal with collision of transmissions!

Popular solution → random protocols.

BUT scarcest resource is energy and

random protocols ⇒ redundant transmissions!.

⇒ deterministic protocols may help.

A. Fernandez Anta, M. A. Mosteiro, Christopher Thraves Deterministic Recurrent Communication and Synchronization12/25

Page 37: Deterministic Recurrent Communication and Synchronization in …csis.pace.edu/~mmosteiro/pub/presALGOSENSORS10.pdf · 2016. 8. 2. · Deterministic Recurrent Communication and Synchronization

Model and Problem Definition

Why Deterministic Communication?

Only one channel of communication

⇒ must deal with collision of transmissions!

Popular solution → random protocols.

BUT scarcest resource is energy and

random protocols ⇒ redundant transmissions!.

⇒ deterministic protocols may help.

A. Fernandez Anta, M. A. Mosteiro, Christopher Thraves Deterministic Recurrent Communication and Synchronization12/25

Page 38: Deterministic Recurrent Communication and Synchronization in …csis.pace.edu/~mmosteiro/pub/presALGOSENSORS10.pdf · 2016. 8. 2. · Deterministic Recurrent Communication and Synchronization

Model and Problem Definition

Motivation and Evaluation

Sensor Networks application: monitor physical phenomena.

⇒ protocols must guarantee communication infinitely many times.

Optimization criteria:

1) low energy cost.

2) short delay between transmissions.

A. Fernandez Anta, M. A. Mosteiro, Christopher Thraves Deterministic Recurrent Communication and Synchronization13/25

Page 39: Deterministic Recurrent Communication and Synchronization in …csis.pace.edu/~mmosteiro/pub/presALGOSENSORS10.pdf · 2016. 8. 2. · Deterministic Recurrent Communication and Synchronization

Model and Problem Definition

Motivation and Evaluation

Sensor Networks application: monitor physical phenomena.

⇒ protocols must guarantee communication infinitely many times.

Optimization criteria:

1) low energy cost.

2) short delay between transmissions.

A. Fernandez Anta, M. A. Mosteiro, Christopher Thraves Deterministic Recurrent Communication and Synchronization13/25

Page 40: Deterministic Recurrent Communication and Synchronization in …csis.pace.edu/~mmosteiro/pub/presALGOSENSORS10.pdf · 2016. 8. 2. · Deterministic Recurrent Communication and Synchronization

Model and Problem Definition

Motivation and Evaluation

Sensor Networks application: monitor physical phenomena.

⇒ protocols must guarantee communication infinitely many times.

Optimization criteria:

1) low energy cost.

2) short delay between transmissions.

A. Fernandez Anta, M. A. Mosteiro, Christopher Thraves Deterministic Recurrent Communication and Synchronization13/25

Page 41: Deterministic Recurrent Communication and Synchronization in …csis.pace.edu/~mmosteiro/pub/presALGOSENSORS10.pdf · 2016. 8. 2. · Deterministic Recurrent Communication and Synchronization

Model and Problem Definition

Motivation and Evaluation

Sensor Networks application: monitor physical phenomena.

⇒ protocols must guarantee communication infinitely many times.

Optimization criteria:

1) low energy cost.

2) short delay between transmissions.

A. Fernandez Anta, M. A. Mosteiro, Christopher Thraves Deterministic Recurrent Communication and Synchronization13/25

Page 42: Deterministic Recurrent Communication and Synchronization in …csis.pace.edu/~mmosteiro/pub/presALGOSENSORS10.pdf · 2016. 8. 2. · Deterministic Recurrent Communication and Synchronization

Model and Problem Definition

Related Work

Message passing:

[ABLP’92] Each node receives from all neighbors inO(k2 log2 n/ log(k log n)). → synchronous start. ω(1)-degreebipartite-graphs requiring Ω(k log k). → not embeddable in GG.

Broadcast & gossiping:

[CGR’00, CGOR’00, CR’03, CGGPR’02] → synchronous start, globalclock, etc.

Selection

[Kowalski’05] Static, ∃O(k log(n/k)), +[I’02]: O(k polylog n). →synchronous start. Dynamic O(k2 log n). → nodes turn off upon succ.transmission.

Selective families:

[I’02] ∃(k, n)-selective families of size O(k polylog n).[DR’83] (m, k, n)-selectors must be Ω(minn, k2 log

kn) when m = k.

[DBGV’03] (k, k, n)-selectors must be ≥ (k − 1)2 log n/(4 log(k − 1) + O(1))and ∃(k, k, n)-selectors of size O(k2 ln(n/k)).All → synchronous start.

A. Fernandez Anta, M. A. Mosteiro, Christopher Thraves Deterministic Recurrent Communication and Synchronization14/25

Page 43: Deterministic Recurrent Communication and Synchronization in …csis.pace.edu/~mmosteiro/pub/presALGOSENSORS10.pdf · 2016. 8. 2. · Deterministic Recurrent Communication and Synchronization

Our Solution

Our Solution

A. Fernandez Anta, M. A. Mosteiro, Christopher Thraves Deterministic Recurrent Communication and Synchronization15/25

Page 44: Deterministic Recurrent Communication and Synchronization in …csis.pace.edu/~mmosteiro/pub/presALGOSENSORS10.pdf · 2016. 8. 2. · Deterministic Recurrent Communication and Synchronization

Our Solution

The Algorithm

We design our protocols assuming the existence of an oblivious

deterministic recurrent communication (ORC) protocol that solves DRCwith bounded delay and no start-up phase.

Synchronization phase.

Coloring phase.

Aplication phase.

A. Fernandez Anta, M. A. Mosteiro, Christopher Thraves Deterministic Recurrent Communication and Synchronization16/25

Page 45: Deterministic Recurrent Communication and Synchronization in …csis.pace.edu/~mmosteiro/pub/presALGOSENSORS10.pdf · 2016. 8. 2. · Deterministic Recurrent Communication and Synchronization

Our Solution

The Algorithm

We design our protocols assuming the existence of an oblivious

deterministic recurrent communication (ORC) protocol that solves DRCwith bounded delay and no start-up phase.

Synchronization phase.

Coloring phase.

Aplication phase.

A. Fernandez Anta, M. A. Mosteiro, Christopher Thraves Deterministic Recurrent Communication and Synchronization16/25

Page 46: Deterministic Recurrent Communication and Synchronization in …csis.pace.edu/~mmosteiro/pub/presALGOSENSORS10.pdf · 2016. 8. 2. · Deterministic Recurrent Communication and Synchronization

Our Solution

The Algorithm

We design our protocols assuming the existence of an oblivious

deterministic recurrent communication (ORC) protocol that solves DRCwith bounded delay and no start-up phase.

Synchronization phase.

Coloring phase.

Aplication phase.

A. Fernandez Anta, M. A. Mosteiro, Christopher Thraves Deterministic Recurrent Communication and Synchronization16/25

Page 47: Deterministic Recurrent Communication and Synchronization in …csis.pace.edu/~mmosteiro/pub/presALGOSENSORS10.pdf · 2016. 8. 2. · Deterministic Recurrent Communication and Synchronization

Our Solution

The Algorithm

We design our protocols assuming the existence of an oblivious

deterministic recurrent communication (ORC) protocol that solves DRCwith bounded delay and no start-up phase.

Synchronization phase.

Coloring phase.

Aplication phase.

A. Fernandez Anta, M. A. Mosteiro, Christopher Thraves Deterministic Recurrent Communication and Synchronization16/25

Page 48: Deterministic Recurrent Communication and Synchronization in …csis.pace.edu/~mmosteiro/pub/presALGOSENSORS10.pdf · 2016. 8. 2. · Deterministic Recurrent Communication and Synchronization

Our Solution

The Synchronization Problem

Definition

We say that a protocol solves the synchronization problem if there exists atime t from which the protocol guarantees that the network is synchronized atall times after t, and every node that awakes eventually gets synchronized.The maximum time between a node awaking and getting synchronized is thesynchronization time of the protocol.

A. Fernandez Anta, M. A. Mosteiro, Christopher Thraves Deterministic Recurrent Communication and Synchronization17/25

Page 49: Deterministic Recurrent Communication and Synchronization in …csis.pace.edu/~mmosteiro/pub/presALGOSENSORS10.pdf · 2016. 8. 2. · Deterministic Recurrent Communication and Synchronization

Our Solution

Synchronization Phase (r Network)M. G. Gouda and T. Herman, Stabilizing Unison. IPL, 1990.

100

97

97

94

95

87

89

85

94

92

90

9085

94

8384

81

8180

78

79

7877

74

70

75

7574

70

65

A. Fernandez Anta, M. A. Mosteiro, Christopher Thraves Deterministic Recurrent Communication and Synchronization18/25

Page 50: Deterministic Recurrent Communication and Synchronization in …csis.pace.edu/~mmosteiro/pub/presALGOSENSORS10.pdf · 2016. 8. 2. · Deterministic Recurrent Communication and Synchronization

Our Solution

Synchronization Phase (r Network)M. G. Gouda and T. Herman, Stabilizing Unison. IPL, 1990.

100

97

97

94

95

87

89

85

94

92

90

9085

94

8384

81

8180

78

79

7877

74

70

75

7574

70

65

A. Fernandez Anta, M. A. Mosteiro, Christopher Thraves Deterministic Recurrent Communication and Synchronization18/25

Page 51: Deterministic Recurrent Communication and Synchronization in …csis.pace.edu/~mmosteiro/pub/presALGOSENSORS10.pdf · 2016. 8. 2. · Deterministic Recurrent Communication and Synchronization

Our Solution

Synchronization Phase (r Network)M. G. Gouda and T. Herman, Stabilizing Unison. IPL, 1990.

100

100

100

100

95

87

89

85

94

92

90

9085

94

8384

81

8180

78

79

79

74

70

75

7574

70

65

79

A. Fernandez Anta, M. A. Mosteiro, Christopher Thraves Deterministic Recurrent Communication and Synchronization18/25

Page 52: Deterministic Recurrent Communication and Synchronization in …csis.pace.edu/~mmosteiro/pub/presALGOSENSORS10.pdf · 2016. 8. 2. · Deterministic Recurrent Communication and Synchronization

Our Solution

Synchronization Phase (r Network)M. G. Gouda and T. Herman, Stabilizing Unison. IPL, 1990.

101

101

101

101

96

88

90

86

95

93

97

9186

95

8485

82

8281

79

80

80

75

71

76

7675

71

66

80

A. Fernandez Anta, M. A. Mosteiro, Christopher Thraves Deterministic Recurrent Communication and Synchronization18/25

Page 53: Deterministic Recurrent Communication and Synchronization in …csis.pace.edu/~mmosteiro/pub/presALGOSENSORS10.pdf · 2016. 8. 2. · Deterministic Recurrent Communication and Synchronization

Our Solution

Synchronization Phase (r Network)M. G. Gouda and T. Herman, Stabilizing Unison. IPL, 1990.

101

101

101

101

96

90

90

90

95

101

97

9186

95

8486

82

8282

79

82

80

75

71

76

7675

71

71

80

A. Fernandez Anta, M. A. Mosteiro, Christopher Thraves Deterministic Recurrent Communication and Synchronization18/25

Page 54: Deterministic Recurrent Communication and Synchronization in …csis.pace.edu/~mmosteiro/pub/presALGOSENSORS10.pdf · 2016. 8. 2. · Deterministic Recurrent Communication and Synchronization

Our Solution

Synchronization Phase (r Network)M. G. Gouda and T. Herman, Stabilizing Unison. IPL, 1990.

102

102

102

102

97

91

91

91

96

102

98

9287

96

8587

83

8383

80

83

81

76

72

77

7776

72

72

81

A. Fernandez Anta, M. A. Mosteiro, Christopher Thraves Deterministic Recurrent Communication and Synchronization18/25

Page 55: Deterministic Recurrent Communication and Synchronization in …csis.pace.edu/~mmosteiro/pub/presALGOSENSORS10.pdf · 2016. 8. 2. · Deterministic Recurrent Communication and Synchronization

Our Solution

Synchronization Phase (r Network)M. G. Gouda and T. Herman, Stabilizing Unison. IPL, 1990.

102

102

102

102

97

91

102

102

96

102

98

9687

96

8587

85

8583

80

83

81

76

76

77

7781

77

72

81

A. Fernandez Anta, M. A. Mosteiro, Christopher Thraves Deterministic Recurrent Communication and Synchronization18/25

Page 56: Deterministic Recurrent Communication and Synchronization in …csis.pace.edu/~mmosteiro/pub/presALGOSENSORS10.pdf · 2016. 8. 2. · Deterministic Recurrent Communication and Synchronization

Our Solution

Synchronization Phase (r Network)M. G. Gouda and T. Herman, Stabilizing Unison. IPL, 1990.

103

103

103

103

98

92

103

103

97

103

99

9788

97

8688

86

8684

81

84

82

77

77

78

7882

78

73

82

A. Fernandez Anta, M. A. Mosteiro, Christopher Thraves Deterministic Recurrent Communication and Synchronization18/25

Page 57: Deterministic Recurrent Communication and Synchronization in …csis.pace.edu/~mmosteiro/pub/presALGOSENSORS10.pdf · 2016. 8. 2. · Deterministic Recurrent Communication and Synchronization

Our Solution

Synchronization Phase (r Network)M. G. Gouda and T. Herman, Stabilizing Unison. IPL, 1990.

103

103

103

103

103

103

103

103

97

103

103

10388

97

8688

86

8684

84

84

84

77

77

78

7882

78

78

84

A. Fernandez Anta, M. A. Mosteiro, Christopher Thraves Deterministic Recurrent Communication and Synchronization18/25

Page 58: Deterministic Recurrent Communication and Synchronization in …csis.pace.edu/~mmosteiro/pub/presALGOSENSORS10.pdf · 2016. 8. 2. · Deterministic Recurrent Communication and Synchronization

Our Solution

Synchronization Phase (r Network)M. G. Gouda and T. Herman, Stabilizing Unison. IPL, 1990.

120

120

120

120

120

120

120

120

120

120

120

120120

120

120120

120

120120

120

120

120

120

120

120

120120

120

120

120

A. Fernandez Anta, M. A. Mosteiro, Christopher Thraves Deterministic Recurrent Communication and Synchronization18/25

Page 59: Deterministic Recurrent Communication and Synchronization in …csis.pace.edu/~mmosteiro/pub/presALGOSENSORS10.pdf · 2016. 8. 2. · Deterministic Recurrent Communication and Synchronization

Our Solution

Synchronization Result

Theorem

The synchronization phase solves the synchronization problem under any

∞-adversary with synchronization time T1 + T2, where T1 = 3n2 + 2nT and

T2 = 2nT .

A. Fernandez Anta, M. A. Mosteiro, Christopher Thraves Deterministic Recurrent Communication and Synchronization19/25

Page 60: Deterministic Recurrent Communication and Synchronization in …csis.pace.edu/~mmosteiro/pub/presALGOSENSORS10.pdf · 2016. 8. 2. · Deterministic Recurrent Communication and Synchronization

Our Solution

Coloring Phase2r Network

A. Fernandez Anta, M. A. Mosteiro, Christopher Thraves Deterministic Recurrent Communication and Synchronization20/25

Page 61: Deterministic Recurrent Communication and Synchronization in …csis.pace.edu/~mmosteiro/pub/presALGOSENSORS10.pdf · 2016. 8. 2. · Deterministic Recurrent Communication and Synchronization

Our Solution

Coloring Phase2r Network

A. Fernandez Anta, M. A. Mosteiro, Christopher Thraves Deterministic Recurrent Communication and Synchronization20/25

Page 62: Deterministic Recurrent Communication and Synchronization in …csis.pace.edu/~mmosteiro/pub/presALGOSENSORS10.pdf · 2016. 8. 2. · Deterministic Recurrent Communication and Synchronization

Our Solution

Coloring Phase2r Network

A. Fernandez Anta, M. A. Mosteiro, Christopher Thraves Deterministic Recurrent Communication and Synchronization20/25

Page 63: Deterministic Recurrent Communication and Synchronization in …csis.pace.edu/~mmosteiro/pub/presALGOSENSORS10.pdf · 2016. 8. 2. · Deterministic Recurrent Communication and Synchronization

Our Solution

Coloring Phase2r Network

A. Fernandez Anta, M. A. Mosteiro, Christopher Thraves Deterministic Recurrent Communication and Synchronization20/25

Page 64: Deterministic Recurrent Communication and Synchronization in …csis.pace.edu/~mmosteiro/pub/presALGOSENSORS10.pdf · 2016. 8. 2. · Deterministic Recurrent Communication and Synchronization

Our Solution

Coloring Phase2r Network

A. Fernandez Anta, M. A. Mosteiro, Christopher Thraves Deterministic Recurrent Communication and Synchronization20/25

Page 65: Deterministic Recurrent Communication and Synchronization in …csis.pace.edu/~mmosteiro/pub/presALGOSENSORS10.pdf · 2016. 8. 2. · Deterministic Recurrent Communication and Synchronization

Our Solution

Coloring Phase2r Network

A. Fernandez Anta, M. A. Mosteiro, Christopher Thraves Deterministic Recurrent Communication and Synchronization20/25

Page 66: Deterministic Recurrent Communication and Synchronization in …csis.pace.edu/~mmosteiro/pub/presALGOSENSORS10.pdf · 2016. 8. 2. · Deterministic Recurrent Communication and Synchronization

Our Solution

Coloring Phase2r Network

A. Fernandez Anta, M. A. Mosteiro, Christopher Thraves Deterministic Recurrent Communication and Synchronization20/25

Page 67: Deterministic Recurrent Communication and Synchronization in …csis.pace.edu/~mmosteiro/pub/presALGOSENSORS10.pdf · 2016. 8. 2. · Deterministic Recurrent Communication and Synchronization

Our Solution

Coloring Phase2r Network

A. Fernandez Anta, M. A. Mosteiro, Christopher Thraves Deterministic Recurrent Communication and Synchronization20/25

Page 68: Deterministic Recurrent Communication and Synchronization in …csis.pace.edu/~mmosteiro/pub/presALGOSENSORS10.pdf · 2016. 8. 2. · Deterministic Recurrent Communication and Synchronization

Our Solution

Coloring Phase2r Network

A. Fernandez Anta, M. A. Mosteiro, Christopher Thraves Deterministic Recurrent Communication and Synchronization20/25

Page 69: Deterministic Recurrent Communication and Synchronization in …csis.pace.edu/~mmosteiro/pub/presALGOSENSORS10.pdf · 2016. 8. 2. · Deterministic Recurrent Communication and Synchronization

Our Solution

Coloring Phase2r Network

A. Fernandez Anta, M. A. Mosteiro, Christopher Thraves Deterministic Recurrent Communication and Synchronization20/25

Page 70: Deterministic Recurrent Communication and Synchronization in …csis.pace.edu/~mmosteiro/pub/presALGOSENSORS10.pdf · 2016. 8. 2. · Deterministic Recurrent Communication and Synchronization

Our Solution

Coloring Phase2r Network

A. Fernandez Anta, M. A. Mosteiro, Christopher Thraves Deterministic Recurrent Communication and Synchronization20/25

Page 71: Deterministic Recurrent Communication and Synchronization in …csis.pace.edu/~mmosteiro/pub/presALGOSENSORS10.pdf · 2016. 8. 2. · Deterministic Recurrent Communication and Synchronization

Our Solution

Coloring Phase2r Network

A. Fernandez Anta, M. A. Mosteiro, Christopher Thraves Deterministic Recurrent Communication and Synchronization20/25

Page 72: Deterministic Recurrent Communication and Synchronization in …csis.pace.edu/~mmosteiro/pub/presALGOSENSORS10.pdf · 2016. 8. 2. · Deterministic Recurrent Communication and Synchronization

Our Solution

Coloring Phase2r Network

A. Fernandez Anta, M. A. Mosteiro, Christopher Thraves Deterministic Recurrent Communication and Synchronization20/25

Page 73: Deterministic Recurrent Communication and Synchronization in …csis.pace.edu/~mmosteiro/pub/presALGOSENSORS10.pdf · 2016. 8. 2. · Deterministic Recurrent Communication and Synchronization

Our Solution

Coloring Phase2r Network

A. Fernandez Anta, M. A. Mosteiro, Christopher Thraves Deterministic Recurrent Communication and Synchronization20/25

Page 74: Deterministic Recurrent Communication and Synchronization in …csis.pace.edu/~mmosteiro/pub/presALGOSENSORS10.pdf · 2016. 8. 2. · Deterministic Recurrent Communication and Synchronization

Our Solution

Aplication Phaser Network

A. Fernandez Anta, M. A. Mosteiro, Christopher Thraves Deterministic Recurrent Communication and Synchronization21/25

Page 75: Deterministic Recurrent Communication and Synchronization in …csis.pace.edu/~mmosteiro/pub/presALGOSENSORS10.pdf · 2016. 8. 2. · Deterministic Recurrent Communication and Synchronization

Our Solution

Aplication Phaser Network

A. Fernandez Anta, M. A. Mosteiro, Christopher Thraves Deterministic Recurrent Communication and Synchronization21/25

Page 76: Deterministic Recurrent Communication and Synchronization in …csis.pace.edu/~mmosteiro/pub/presALGOSENSORS10.pdf · 2016. 8. 2. · Deterministic Recurrent Communication and Synchronization

Our Solution

Aplication Phaser Network

A. Fernandez Anta, M. A. Mosteiro, Christopher Thraves Deterministic Recurrent Communication and Synchronization21/25

Page 77: Deterministic Recurrent Communication and Synchronization in …csis.pace.edu/~mmosteiro/pub/presALGOSENSORS10.pdf · 2016. 8. 2. · Deterministic Recurrent Communication and Synchronization

Our Solution

Aplication Phaser Network

A. Fernandez Anta, M. A. Mosteiro, Christopher Thraves Deterministic Recurrent Communication and Synchronization21/25

Page 78: Deterministic Recurrent Communication and Synchronization in …csis.pace.edu/~mmosteiro/pub/presALGOSENSORS10.pdf · 2016. 8. 2. · Deterministic Recurrent Communication and Synchronization

Our Solution

Aplication Phaser Network

A. Fernandez Anta, M. A. Mosteiro, Christopher Thraves Deterministic Recurrent Communication and Synchronization21/25

Page 79: Deterministic Recurrent Communication and Synchronization in …csis.pace.edu/~mmosteiro/pub/presALGOSENSORS10.pdf · 2016. 8. 2. · Deterministic Recurrent Communication and Synchronization

Our Solution

Aplication Phaser Network

A. Fernandez Anta, M. A. Mosteiro, Christopher Thraves Deterministic Recurrent Communication and Synchronization21/25

Page 80: Deterministic Recurrent Communication and Synchronization in …csis.pace.edu/~mmosteiro/pub/presALGOSENSORS10.pdf · 2016. 8. 2. · Deterministic Recurrent Communication and Synchronization

Our Solution

Aplication Phaser Network

A. Fernandez Anta, M. A. Mosteiro, Christopher Thraves Deterministic Recurrent Communication and Synchronization21/25

Page 81: Deterministic Recurrent Communication and Synchronization in …csis.pace.edu/~mmosteiro/pub/presALGOSENSORS10.pdf · 2016. 8. 2. · Deterministic Recurrent Communication and Synchronization

Our Solution

Our Results

Theorem

Given a Sensor Network of n nodes, the protocol presented solves the DRC

problem under a τ -adversary with stabilization time at most D · T + τ + n,

where T is the delay of the ORC protocol. The delay of this DRC protocol is

19(k + 1) which is asymptotically optimal, and the message complexity is 0which is optimal.

Theorem

Given a Sensor Network of n nodes, upon being woken up by a ∞-adversary,

the protocol presented solves the DRC problem under an ∞-adversary with

stabilization time at most 6n2 + 4nT + 4n, where T is the delay of the ORC

protocol. The delay of this DRC protocol is 38(k + 1) and the message

complexity is 19(k + 1)/n, which are both asymptotically optimal.

A. Fernandez Anta, M. A. Mosteiro, Christopher Thraves Deterministic Recurrent Communication and Synchronization22/25

Page 82: Deterministic Recurrent Communication and Synchronization in …csis.pace.edu/~mmosteiro/pub/presALGOSENSORS10.pdf · 2016. 8. 2. · Deterministic Recurrent Communication and Synchronization

Open Problems

Open Problems

A. Fernandez Anta, M. A. Mosteiro, Christopher Thraves Deterministic Recurrent Communication and Synchronization23/25

Page 83: Deterministic Recurrent Communication and Synchronization in …csis.pace.edu/~mmosteiro/pub/presALGOSENSORS10.pdf · 2016. 8. 2. · Deterministic Recurrent Communication and Synchronization

Open Problems

Open Problems

Reduce the stabilization time.

How to merge disconnected components

⇒ extend the failure model.

A. Fernandez Anta, M. A. Mosteiro, Christopher Thraves Deterministic Recurrent Communication and Synchronization24/25

Page 84: Deterministic Recurrent Communication and Synchronization in …csis.pace.edu/~mmosteiro/pub/presALGOSENSORS10.pdf · 2016. 8. 2. · Deterministic Recurrent Communication and Synchronization

Open Problems

Open Problems

Reduce the stabilization time.

How to merge disconnected components

⇒ extend the failure model.

A. Fernandez Anta, M. A. Mosteiro, Christopher Thraves Deterministic Recurrent Communication and Synchronization24/25

Page 85: Deterministic Recurrent Communication and Synchronization in …csis.pace.edu/~mmosteiro/pub/presALGOSENSORS10.pdf · 2016. 8. 2. · Deterministic Recurrent Communication and Synchronization

Thank you

A. Fernandez Anta, M. A. Mosteiro, Christopher Thraves Deterministic Recurrent Communication and Synchronization25/25