• Aucun résultat trouvé

Dynamic Graphs Time-varying Graphs

N/A
N/A
Protected

Academic year: 2022

Partager "Dynamic Graphs Time-varying Graphs"

Copied!
18
0
0

Texte intégral

(1)

Tolerating Faults in Passively Mobile

Networks

Dynamic Graphs

Time-varying Graphs

A time-varying graph (TVG) is a 5-tuple (V,E,T,p,l)

V: set of nodes

E: (labelled) set of edges

T: lifetime, T

p: presence function, E T {0,1}

l: latency function, E T T

×

×

−→

−→

⊆T

Time-varying Graphs

A time-varying graph (TVG) is a 5-tuple (V,E,T,p’,l’)

V: set of nodes

E: (labelled) set of edges

T: lifetime, T

p’: node presence function, V T {0,1}

l’: node latency function, V T T

×

×

−→

−→

⊆T

(2)

Time-varying Graphs

t in [2,5]

latency = 3

t=0 t=2 t=5

Evolving Graphs

t=0 t=2 t=5

Example

Sorbonne University

Paris

Lyon Marseille

Bus Metro Car

Car Bus TGV

TGV TGV

Plane

TGV TGV

Example

A

B

C D

e1

e2 e2

e3

(3)

Example

A

B

C D

[5,6) U [7,8)

[2,5) [2,5)

[1,3)

Evolving Graphs

A

B

C D

[5,6) U [7,8)

[2,5) [2,5)

[1,3)

Evolving Graphs

A

B

C D

[5,6) U [7,8)

[2,5) [2,5)

[1,3)

A

B

C D

T1

Evolving Graphs

A

B

C D

[5,6) U [7,8)

[2,5) [2,5)

[1,3)

A

B

C D

T1

A

B

C D

T2

(4)

Evolving Graphs

A

B

C D

[5,6) U [7,8)

[2,5) [2,5)

[1,3)

A

B

C D

T1

A

B

C D

T2

A

B

C D

T3

Evolving Graphs

A

B

C D

[5,6) U [7,8)

[2,5) [2,5)

[1,3)

A

B

C D

T1

A

B

C D

T2

A

B

C D

T3

A

B

C D

T5

Evolving Graphs

A

B

C D

[5,6) U [7,8)

[2,5) [2,5)

[1,3)

A

B

C D

T1

A

B

C D

T2

A

B

C D

T3

A

B

C D

T5

Evolving Graphs

A

B

C D

[5,6) U [7,8)

[2,5) [2,5)

[1,3)

A

B

C D

T1

A

B

C D

T2

A

B

C D

T3

A

B

C D

T5

A

B

C D

T6

(5)

Evolving Graphs

A

B

C D

[5,6) U [7,8)

[2,5) [2,5)

[1,3)

A

B

C D

T1

A

B

C D

T2

A

B

C D

T3

A

B

C D

T5

A

B

C D

T6

A

B

C D

T7

Journeys from C to A

A

B

C D

A

B

C D

A

B

C D

A

B

C D

A

B

C D

T1 T2 T3 T4 T5

Shortest Journey

A

B

C D

A

B

C D

A

B

C D

A

B

C D

A

B

C D

T1 T2 T3 T4 T5

Foremost Journey

A

B

C D

A

B

C D

A

B

C D

A

B

C D

A

B

C D

T1 T2 T3 T4 T5

(6)

Fastest Journey

A

B

C D

A

B

C D

A

B

C D

A

B

C D

A

B

C D

T1 T2 T3 T4 T5

Condition for Broadcast?

A

B

C D

A

B

C D

A

B

C D

A

B

C D

A

B

C D

T1 T2 T3 T4 T5

Condition for Broadcast?

A

B

C D

A A

B

D

A

B

D A

B

D

T1 T2 T3 T4 T5

C D C C C

B

Condition for Broadcast?

A

B

C D

A A

B

D

A

B

D A

B

D

T1 T2 T3 T4 T5

C D C C C

B

There exists a node (C) from which a journey reaches

every other node

(7)

Condition for Election?

A

B

C D

A

B

C D

A

B

C D

A

B

C D

A

B

C D

T1 T2 T3 T4 T5

Condition for Election?

A

B

C D

A

B

C D

A

B

C D

A

B

C D

A

B

C D

T1 T2 T3 T4 T5

Condition for Election?

There exists a node (C) such that there exists a journey from every other node to it

A

B

C D

A

B

C D

A

B

C D

A

B

C D

A

B

C D

T1 T2 T3 T4 T5

Condition for Global Calculus?

X Y X+Y X+Y

Y

X Y Y

A

B

C D

A

B

C D

A

B

C D

A

B

C D

A

B

C D

T1 T2 T3 T4 T5

(8)

Condition for Global Calculus?

X Y X+Y X+Y

Y

X Y Y

1

1

1 1

2

2

2 2

4

4

2 4

4

4

4 4

2

4

2 4

T1 T2 T3 T4 T5

Condition for Global Calculus?

1

1

1 1

2

2

2 2

4

4

2 4

4

4

4 4

2

4

2 4

T1 T2 T3 T4 T5

There exists a node (Center) such that there exists a journey from every other node to it and back

Connectivity Classes

There exists a node r from which a journey reaches every other node

There exists a node r such that there exists a journey from every other node to it

There exists a node r such that there exists a journey from every other node to it and back

1 ∗

∗ 1

1 ∗

Arnaud Casteigts, Paola Flocchini, Walter Quattrociocchi, Nicola Santoro:

Time-varying graphs and dynamic networks. IJPEDS 27(5): 387-408 (2012)

More Classes

There exists a journey between any two nodes

There exists a roundtrip journey between any two nodes

There exists a journey between any two nodes infinitely often

Every edge appears infinitely often

∗ ∗

∗ ∗

R

∗ ∗

R

•−•

Arnaud Casteigts, Paola Flocchini, Walter Quattrociocchi, Nicola Santoro:

Time-varying graphs and dynamic networks. IJPEDS 27(5): 387-408 (2012)

(9)

More Classes

Every edge appears infinitely often, and there is an upper bound between two occurrences

Every edge appears infinitely often with some period p

•−• B

•−P•

Arnaud Casteigts, Paola Flocchini, Walter Quattrociocchi, Nicola Santoro:

Time-varying graphs and dynamic networks. IJPEDS 27(5): 387-408 (2012)

More Classes

At any time, the graph is connected

Every spanning subgraph lasts at least T time units

Every edge appears infinitely often, and the underlying graph is a clique

∗ − ∗ R

Arnaud Casteigts, Paola Flocchini, Walter Quattrociocchi, Nicola Santoro:

Time-varying graphs and dynamic networks. IJPEDS 27(5): 387-408 (2012)

A Classification

1 ∗

∗ 1

A Classification

∗ ∗

1 ∗

∗ 1

(10)

A Classification

∗ ∗

1 ∗

∗ 1

A Classification

∗ ∗

1 ∗

∗ 1

Broadcast

Elect Someone Compute &

Broadcast

Elect Anyone Elect

Anyone &

Broadcast Anytime Elect

Anyone &

Broadcast Foremost

Broadcast Shortest

Broadcast

Fastest Broadcast

Population Protocols

Arnaud Casteigts, Paola Flocchini, Bernard Mans, Nicola Santoro: Shortest, Fastest, and Foremost Broadcast in Dynamic Networks. Int. J. Found. Comput. Sci. 26(4):

499-522 (2015)

Reliable Broadcast in Dynamic Networks

Context

Information broadcast in multi hop networks

(11)

Example Example

Example Example

(12)

Example Example

Information Broadcast Information Broadcast

(13)

Objective

Broadcast algorithms resilient to Byzantine Failures

No false message ever accepted

Correct messages always received

Vote on Multiple Paths

Local Vote Condition for reliable

communication in static networks

k = number of Byzantine nodes

Condition: 2k+1 node-disjoint paths between the source and the destination

(14)

Enter Dynamic Networks Menger’s Theorem

Menger’s Theorem Menger’s Theorem

(15)

Condition in Dynamic Networks

k=number of Byzantine nodes

Condition: 2k+1 nodes must be removed to cut all dynamic paths

Necessary Condition

Sufficient Condition

Send the message through all journeys

Register the journeys

When a set of journeys that cannot be cut by 2k nodes is collected, accept the message

Condition in Dynamic Networks with Cryptography

k = number of Byzantine nodes

Condition: k+1 nodes must be removed to cut all journeys

(16)

Necessary Condition with Cryptography

Sufficient Condition with Cryptography

Send the message through all journeys

When a cryptographically acceptable message arrives, accept it

Case Studies

Participants in a conference

Agents in the subway

Participants Interacting in a Conference

Unreliable multihop communication

Reliable multi hop communication

Direct communication

(17)

Participants Interacting in a Conference

Cryptographic multihop communication Non-Cryptographic multi hop communication Direct communication

Paris Subway Users

Paris Subway Users

Unreliable multihop communication Reliable multi hop communication Direct communication

IF vs. IFF

Min-cut multihop communication

Node-disjoint multihop communication

Direct communication

(18)

Conclusion

Goal: mask faults and attacks to the user

Basic principle: redundancy and majority

• not necessary to identify who misbehaves

• most people must be reliable

• protocols are much easier with

cryptography (but how is crypto set up?)

Pros

• Masks the faults and attacks to the user

• Natural way to cope with failures

• Many protocols are available

• Consensus, Atomic commit, Reliable Broadcast, Renaming,...

Cons

• Network must be properly initialized

• Global knowledge is assumed

• size, names, maximum number of faults,...

• Global communication is used

• Global synchrony is assumed

Références

Documents relatifs

In this way, all the TVGs constructed in this class of snapshot models can be represented in our model by using only spatial dynamic edges, given that all the necessary nodes and

Specially, multimedia continuous streams (e.g. video or audio streams) take a bigger and bigger part of the information ows accessed or exchanged by Internet users. This

Therefore, the sampling distribution of the corresponding sample statistic (e.g., relative standard deviation) should be used when determining the number of measurements necessary

Since the proteins were secreted into the extracellular medium and no other proteases were present there, we assayed proteolytic activities directly from the supernatant employing

For a fixed transmission rate, discrete input alphabets and without channel state information at the transmitter, optimal space-time codes (STCs) achieving both gains (full rate

Conclusion For this first TREC Medical Records Track, we tried to evaluate different representations based on free-text, but also medical terminological concepts.. It’s difficult

In this paper, we study the decentralized synchronization problem for a network planar identical harmonic oscillators, the oscillators are assumed to have an identical but time-

Then for such a wireless channel with data transmission rate, B , the normalized reliable transmission en- ergy (energy required per bit of reliable transfer) is given by:..