1 / 40

Introduction to Wireless Networks

Introduction to Wireless Networks. Davide Bilò e-mail: davide.bilo@univaq.it. Wired vs Wireless. Wired Networks: data is transmitted via a finite set of communication links (physical cables) Wireless Networks: data is transmitted via etere

brokaw
Télécharger la présentation

Introduction to Wireless Networks

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Introduction to Wireless Networks Davide Bilò e-mail: davide.bilo@univaq.it

  2. Wired vs Wireless • Wired Networks: data is transmitted via a finite set of communication links (physical cables) • Wireless Networks: data is transmitted via etere using electromagnetic waves (radio and/or infrared signals)

  3. Wireless Devices Advantages: • portability • mobility Disadvantage: • limited energy supply

  4. Types of Wireless Connections • Wireless Personal Area Networks • Bluetooth • ZigBee • Wireless Local Area Networks • Wi-Fi • Fixed Wireless Data • Wireless Metropolitan Area Networks • WiMax • Wireless Wide Area Networks • Mobile Device Networks • Global System for Mobile Communications • Personal Communication Service • Digital Advanced Mobile Phone Service

  5. Models of Wireless Networks

  6. Cellular Networks wireless communication is based on the single-hopmodel

  7. Radio Networks • no fixed infrastructures are needed • collection of homogenous devices • radio transceivers equipped with • processor • some memory • omnidirectional antennas • useful for broadcast communications • limited energy supply • device can set their transmission power level • all devices usually transmit at the same frequency • communication is based on the multi-hop model • to save energy • to decrease interference • to increase network lifetime

  8. Models of Radio Networks • Mobile • high mobility of devices • Static • devices are stationary • static ad-hoc radio networks • static sensor networks • main applications: • emergency and disaster reliefs • battlefield • monitoring remote geographical regions • traffic control • …

  9. Static Ad-Hoc Radio Networks wireless communication is based on the multi-hopmodel

  10. Sensor Networks wireless communication is based on the multi-hopmodel static dynamic

  11. Signal Propagation in (Static) Radio Networks

  12. Signal Attenuation The signal is a wave propagating in the open air. The signal intensity depends on: • the transmission power level of the source • environmental conditions: • background noise • interference from other signals • presence of obstacles • climatic conditions • … • thetraveled distance

  13. Transmission Power and Transmission Quality • Transmission power: it is the amount of energy spent by a device to send a signal at some intensity. (thus energy consumption is proportional to signal intensity) • Transmission quality: it is a threshold >0 below which the signal intensity does not have to drop so that the msg it carries can be decoded correctly by any receiver

  14. The Euclidean Model for (Static) Radio Networks • Wireless devices are points on the Euclidean plane Given two points v1=(x1,y1),v2=(x2,y2)2, the distance d(v1,v2) between v1 and v2 is v2=(x2,y2) |y2-y1| v1=(x1,y1) |x2-x1|

  15. The Euclidean Model for (Static) Radio Networks If v1 sends a msg M with power p(v1), then the signal intensity perceived by v2 is p(v1)/d(v1,v2), where 1 is the distance-power gradient. v2 v1

  16. The Euclidean Model for (Static) Radio Networks If v1 sends a msg M with power p(v1), then the signal intensity perceived by v2 is p(v1)/d(v1,v2), where 1 is the distance-power gradient. v2 can decode msg M if p(v1)/d(v1,v2) (>0 is the transmission-quality parameter) v2 signal intensity is< v1 signal intensity is

  17. The Euclidean Model for (Static) Radio Networks If v1 sends a msg M with power p(v1), then every station in the transmission range of v1 will receive the msg M The transmission range of v1 is the disk centered at v1 of radius signal intensity is< v1 signal intensity is

  18. The Euclidean Model for (Static) Radio Networks When v1 sends a msg M with power p(v1), M is sent over all the transmission range of v1 (broadcast transmission) in one round The transmission range of v1 is the disk centered at v1 of radius M v1 M

  19. Static Radio Networks are Synchronous Systems All devices share the same global clock So Devices act in rounds Message transmissions are completed within one round

  20. The Euclidean Model for (Static) Radio Networks Each device v transmits at power p(v)0 (p(v) may not be equal to p(u)) The transmission range of all the devices uniquely determine a directed communication graphG=(V,E) • V is the set of devices • E={(v,u): u is in the transmission range of v}

  21. Broadcast Over Static Radio Networks (when all devices transmit at the same frequency)

  22. Message Collisions M u M M v M M M v If v sends a msg M at round r, then all in-neighbors u of v receive M unless some other in-neighbors v of u sends a msg M at (the same) round r (in this case u gets nothing)

  23. Collision Free Messages M M M M M M a node u receives a msgduring round r iff exactly one of all its in-neighbors v sends a msgduring round r

  24. Broadcast Over Static Radio Networks • Model: • strongly connected directed graph G=(V,E) • nodes know n=|V|(non-uniform) • nodes have distinct identifiers in [n] (non-anonymous) (id(v) is the identifier of node v) (Observe that nodes do not know G as well as their neighborhood) • Task: a source node sV wants to inform all the other nodes of a msg M

  25. Completion and Termination of the Broadcast Protocol • Completion • A protocol completes broadcast from s over G if there is a round r s.t. every node is informed about the source msg M • Termination • A protocol terminates if there is a round r s.t. any node stops any action within round r

  26. A First Attempt • Protocol Flooding (description for node v at round r) if node v is informed of M then v sends M else v does nothing Floodingdoes not work!!! How can we avoid msg collisions? s

  27. Protocol Round Robin • Protocol Round Robin (description for node v at round r of phasei) (a phase consists of n consecutive rounds) if node v is informed of M and id(v)=r then v sends M else v does nothing

  28. Analysis of Protocol Round Robin Let Li={vV: the hop-distance from s to v is i} • Lemma: At the end of phase i, all nodes in Li will be informed of the source msg M. Proof: By induction on i. Fact: At the beginning, only L0={s}is informed of the source msg M Base case i=1: no msg collision occurs at round id(s) of phase 1 where only s sends M. Inductive case i>1: Consider any vLi. Let u Li-1s.t. (u,v)E. Hypothesis: At the end of phase i-1, u is informed of M. No msg collision occurs at round id(u) of phase i where only u sends M. Thus, v will be informed of M at the end of phase i. uLi-1 vLi s

  29. Analysis of Protocol Round Robin Let Li={vV: the hop-distance from s to v is i} • Lemma: At the end of phase i, all nodes in Li will be informed of the source msg M. • Corollary: Let be the (unkown) source eccentricity, i.e., the minimum over all the integers i s.t. Li=V. Then  phases suffice to inform all the nodes of the source msg M. • Lemma: Protocol Round Robincompletes broadcast in O(n) rounds.

  30. Analysis of Protocol Round Robin Let Li={vV: the hop-distance from s to v is i} • Lemma: At the end of phase i, all nodes in Li will be informed of the source msg M. • Corollary: Let be the (unkown) source eccentricity, i.e., the minimum integer i such that Li=V. Then  phases suffice to inform all the nodes of the source msg M. • Lemma: Protocol Round Robincompletes broadcast in O(n) rounds. What about termination? (n-1 as G is strongly connected) (Thus nodes can decide to stop after n-1 phases)

  31. Analysis of Protocol Round Robin • Theorem: Protocol Round Robin • completes broadcast in O(n) rounds • terminates broadcast in O(n2) rounds

  32. Can We Do Better Than Protocol Round Robin? Yes if the in-degree of nodes is “not too large” completion in O(log n) termination in O(nlog n) (most of “good” networks have small value of ) • Observation: protocol Round Robin does not exploit parallelism at all • Goal: Select parallel transmissions =max{v:vV} where v=|{uV:(u,v)E}|

  33. A Way of Selecting Parallel Transmissions • Definition: Let n and k be two integers with kn. A family F of subsets of [n] is (n,k)-selective if, for every non empty subset X of [n] with |X|k, there exists a set FF s.t. |FX|=1. • A trivial example… F={{1},{2},…,{n}} is (n,k)-selective for any kn How can selective families be used for broadcast? (Assumption: nodes know )

  34. Protocol Select • Protocol Select • Set-up: all nodes know the same (n,)-selective family F={F1,…,Ft} • (description for node v at round r of phasei) (a phase consists of t consecutive rounds) if node v is informed of M and id(v)Fr then v sends M else v does nothing

  35. Analysis of Protocol Select:A First (Wrong) Attempt Let Li={vV: the hop-distance from s to v is i} • Lemma: At the end of phase i, all nodes in Li will be informed of the source msg M. Proof: By induction on i. Fact: At the beginning, only L0={s}is informed of the source msg M Base case i=1: no msg collision occurs at the first round r of phase 1 s.t. id(s)Fr where only s sends M. Inductive case i>1: consider any vLi. Let Nv={id(u):(u,v)EanduLi-1}. Hypothesis: At the end of phase i-1, Nv is informed of M. Since Nv[n] and |Nv|, there exists r s.t. NvFr={id(u)}. No msg collision occurs at v during round r of phase i where u sends M. Therefore, v will be informed of M at the end of phase i.

  36. What’s wrong? Inductive case i>1: consider any vLi. Let Nv={id(u):(u,v)E and uLi-1}. Hypothesis: At the end of phase i-1, Nv is informed of M. Since Nv[n] and |Nv|, there exists r s.t. NvFr={id(u)}. No msg collision occurs at v during round r of phase i where u sends M. we are not considering the impact of nodes id(w)Li\ Li-1 s.t. (w,v)E and id(w)Fr • if w is informed at beginning of round r of phase i, then it creates msg collision at v (Is this a solution? we may add id(w) to Nv)

  37. What’s wrong? Inductive case i>1: consider any vLi. Let Nv={id(u):(u,v)E and uLi-1}. Hypothesis: At the end of phase i-1, Nv is informed of M. Since Nv[n] and |Nv|, there exists r s.t. NvFr={id(u)}. No msg collision occurs at v during round r of phase i where u sends M. we are not considering the impact of nodes wLi\ Li-1 s.t. (w,v)E and id(w)Fr • if w is informed at beginning of round r of phase i, then it creates msg collision at v (Is this a solution? we may add id(w) to Nv) NO • if w is not informed at beginning of round r of phase i, then no msg is sent to v

  38. How to Adapt Protocol Select • IDEA: Only nodes that have been informed of M at the end of phase i-1 will be active during phase i • Proof of Lemma now works if Nv={id(u):(u,v)E and u is informed at the end of phase i-1} • completion time is O(|F|) (to minimize completion time, we need minimum-size selective family) • Theorem: For sufficiently large n and kn, there exists an (n,k)-selective family of size O(klog n). (and this is optimal!!!)  for protocol Select, |F|=O(log n)

  39. Analysis of Protocol Select • Theorem: Protocol Select • completes broadcast in O(log n) rounds • terminates broadcast in O(nlog n) rounds

  40. If you want to know more… • Algorithmic problems for radio networks • S. Schmid and R. Wattenhofer, Algorithmic models for sensor networks • T. Locker, P. von Rickenbach, and R. Wattenhofer, Sensor networks continue to puzzle: selected open problems Both papers can be downloaded from http://www.dcg.ethz.ch/members/roger.html • Broadcast over radio networks • A.E.F. Clementi, A. Monti, and R. Silvestri, Distributed broadcast in radio networks of unknown topology www.informatica.uniroma2.it/upload/2010/ADRC/CMS%20TCS%2001.pdf

More Related