mobile and sensor systems - university of cambridge · pdf filemobile and sensor systems!...

35
Mobile and Sensor Systems Lecture 1: Introduction to Mobile Systems Dr Cecilia Mascolo

Upload: trandieu

Post on 22-Mar-2018

218 views

Category:

Documents


4 download

TRANSCRIPT

Page 1: Mobile and Sensor Systems - University of Cambridge · PDF fileMobile and Sensor Systems! Lecture 1: Introduction to ! Mobile Systems!! Dr Cecilia Mascolo! ... 802.16 (WiMAX) 802.11a,g

Mobile and Sensor Systems

Lecture 1: Introduction to Mobile Systems

Dr Cecilia Mascolo

Page 2: Mobile and Sensor Systems - University of Cambridge · PDF fileMobile and Sensor Systems! Lecture 1: Introduction to ! Mobile Systems!! Dr Cecilia Mascolo! ... 802.16 (WiMAX) 802.11a,g

About Me

Page 3: Mobile and Sensor Systems - University of Cambridge · PDF fileMobile and Sensor Systems! Lecture 1: Introduction to ! Mobile Systems!! Dr Cecilia Mascolo! ... 802.16 (WiMAX) 802.11a,g

In this course

•  The course will include aspects related to general understanding of – Mobile and ubiquitous systems and networks

– Sensor systems and networks

3  

Page 4: Mobile and Sensor Systems - University of Cambridge · PDF fileMobile and Sensor Systems! Lecture 1: Introduction to ! Mobile Systems!! Dr Cecilia Mascolo! ... 802.16 (WiMAX) 802.11a,g

List of Lectures

•  Lecture 1: Introduction to Mobile Systems. •  Lecture 2: Mobile Medium Access Control and

Wireless Systems. •  Lecture 3: Infrastructure, Ad-hoc and Delay Tolerant

Mobile Networks. •  Lecture 4: Sensor Systems and MAC Layer Protocols. •  Lecture 5: Sensor Networking Routing Protocols. •  Lecture 6: Sensor Systems Reprogramming and Mobile

Sensing. •  Lecture 7: Mobile Phone Sensing. •  Lecture 8: Practical: Mobile Phone Programming.

4  

Page 5: Mobile and Sensor Systems - University of Cambridge · PDF fileMobile and Sensor Systems! Lecture 1: Introduction to ! Mobile Systems!! Dr Cecilia Mascolo! ... 802.16 (WiMAX) 802.11a,g

Teaching Material

•  No required textbook. •  Some suggested readings:

–  Schiller, J. (2003). Mobile communications. Pearson (2nd ed.).

– Karl, H. & Willig, A. (2005). Protocols and architectures for wireless sensor networks. Wiley.

– Agrawal, D. & Zheng, Q. (2006). Introduction to wireless and mobile systems. Thomson.

•  Specific lectures will reference research papers which can be used for additional reading.

5  

Page 6: Mobile and Sensor Systems - University of Cambridge · PDF fileMobile and Sensor Systems! Lecture 1: Introduction to ! Mobile Systems!! Dr Cecilia Mascolo! ... 802.16 (WiMAX) 802.11a,g

In this lecture

•  We will describe mobile systems and their applications and challenges.

•  We will start talking about wireless networks.

6  

Page 7: Mobile and Sensor Systems - University of Cambridge · PDF fileMobile and Sensor Systems! Lecture 1: Introduction to ! Mobile Systems!! Dr Cecilia Mascolo! ... 802.16 (WiMAX) 802.11a,g

Smart Phones: ���the Computing Platform of the Future

7  

Page 8: Mobile and Sensor Systems - University of Cambridge · PDF fileMobile and Sensor Systems! Lecture 1: Introduction to ! Mobile Systems!! Dr Cecilia Mascolo! ... 802.16 (WiMAX) 802.11a,g

Smart Phones: ��� the Computing Platform

8  

Page 9: Mobile and Sensor Systems - University of Cambridge · PDF fileMobile and Sensor Systems! Lecture 1: Introduction to ! Mobile Systems!! Dr Cecilia Mascolo! ... 802.16 (WiMAX) 802.11a,g

Some Numbers

•  Number of worldwide mobile cellular subscribers increased from 34 million in 1993 to nearly 5.5 million subscribers by 2011.

•  The number of cellular subscribers surpasses the number of wired phone lines.

9  

Page 10: Mobile and Sensor Systems - University of Cambridge · PDF fileMobile and Sensor Systems! Lecture 1: Introduction to ! Mobile Systems!! Dr Cecilia Mascolo! ... 802.16 (WiMAX) 802.11a,g

10  

Source:  The  Economist  

Page 11: Mobile and Sensor Systems - University of Cambridge · PDF fileMobile and Sensor Systems! Lecture 1: Introduction to ! Mobile Systems!! Dr Cecilia Mascolo! ... 802.16 (WiMAX) 802.11a,g

Location-based ���Social Network Systems

11  

Page 12: Mobile and Sensor Systems - University of Cambridge · PDF fileMobile and Sensor Systems! Lecture 1: Introduction to ! Mobile Systems!! Dr Cecilia Mascolo! ... 802.16 (WiMAX) 802.11a,g

Geographic Recommender Systems

Mirco  Musolesi  

Page 13: Mobile and Sensor Systems - University of Cambridge · PDF fileMobile and Sensor Systems! Lecture 1: Introduction to ! Mobile Systems!! Dr Cecilia Mascolo! ... 802.16 (WiMAX) 802.11a,g

13  

Page 14: Mobile and Sensor Systems - University of Cambridge · PDF fileMobile and Sensor Systems! Lecture 1: Introduction to ! Mobile Systems!! Dr Cecilia Mascolo! ... 802.16 (WiMAX) 802.11a,g

14  

Credit:  CNet  

Page 15: Mobile and Sensor Systems - University of Cambridge · PDF fileMobile and Sensor Systems! Lecture 1: Introduction to ! Mobile Systems!! Dr Cecilia Mascolo! ... 802.16 (WiMAX) 802.11a,g

Fundamental Challenges ���in Mobile Computing

•  Mobile devices are resource-constrained. •  Mobile connectivity is highly variable in

performance and reliability. •  Mobile devices are inherently less secure.

15  

Page 16: Mobile and Sensor Systems - University of Cambridge · PDF fileMobile and Sensor Systems! Lecture 1: Introduction to ! Mobile Systems!! Dr Cecilia Mascolo! ... 802.16 (WiMAX) 802.11a,g

Mobile Devices are Inherently Resource Constrained

•  Mobile devices rely on batteries. •  Energy consumption due to:

– Computation (CPU, co-processors) – Display

– Communication – Sensing

•  Energy-efficient algorithms are needed.

16  

Page 17: Mobile and Sensor Systems - University of Cambridge · PDF fileMobile and Sensor Systems! Lecture 1: Introduction to ! Mobile Systems!! Dr Cecilia Mascolo! ... 802.16 (WiMAX) 802.11a,g

Mobile Devices are Inherently Resource Constrained

•  Computational constraints –  But, for example, in the Samsung

Galaxy SIII you have1.4 GhZ quad-core Cortex A-9 +GPU

•  Memory constraints –  But, for example, in the Samsung

Galaxy SIII you have1GB or 2GB of RAM

17  

Page 18: Mobile and Sensor Systems - University of Cambridge · PDF fileMobile and Sensor Systems! Lecture 1: Introduction to ! Mobile Systems!! Dr Cecilia Mascolo! ... 802.16 (WiMAX) 802.11a,g

Mobile Connectivity is Highly Variable in Performance and Reliability���

•  Various types of connectivity: – Cellular (GSM, 3G, 4G, etc.) – WiFi – Bluetooth – Near Field Communication (NFC) – …

•  Constraints related to: – Coverage issues – Trade-offs: energy consumption, throughput, costs

18  

Page 19: Mobile and Sensor Systems - University of Cambridge · PDF fileMobile and Sensor Systems! Lecture 1: Introduction to ! Mobile Systems!! Dr Cecilia Mascolo! ... 802.16 (WiMAX) 802.11a,g

Mobile Devices are Inherently��� Less Secure���

•  Wireless not wired communication:

– Eavesdropping. – Need for encrypted communication.

•  Devices can be stolen: – Devices might also be accessible by everyone (for

example, sensors).

19  

Page 20: Mobile and Sensor Systems - University of Cambridge · PDF fileMobile and Sensor Systems! Lecture 1: Introduction to ! Mobile Systems!! Dr Cecilia Mascolo! ... 802.16 (WiMAX) 802.11a,g

Ubiquitous and Mobile Computing

“The most profound technologies are those that disappear.”

20  

Mark  Weiser  (1952-­‐1999)  

Page 21: Mobile and Sensor Systems - University of Cambridge · PDF fileMobile and Sensor Systems! Lecture 1: Introduction to ! Mobile Systems!! Dr Cecilia Mascolo! ... 802.16 (WiMAX) 802.11a,g

Mirco  Musolesi   21  

Copyright:  PARC  

Page 22: Mobile and Sensor Systems - University of Cambridge · PDF fileMobile and Sensor Systems! Lecture 1: Introduction to ! Mobile Systems!! Dr Cecilia Mascolo! ... 802.16 (WiMAX) 802.11a,g

Mirco  Musolesi   22  

Page 23: Mobile and Sensor Systems - University of Cambridge · PDF fileMobile and Sensor Systems! Lecture 1: Introduction to ! Mobile Systems!! Dr Cecilia Mascolo! ... 802.16 (WiMAX) 802.11a,g

Issues in Designing ���Mobile Computing Systems

•  Distributed systems issues: – Remote communication – Fault tolerance

– Remote information access – Distributed security

•  Networking issues: – Wireless communication

– Transport layer for wireless channel

23  

Page 24: Mobile and Sensor Systems - University of Cambridge · PDF fileMobile and Sensor Systems! Lecture 1: Introduction to ! Mobile Systems!! Dr Cecilia Mascolo! ... 802.16 (WiMAX) 802.11a,g

Issues in Designing ���Mobile Computing Systems

•  Databases issues: – Disconnected operations – Weak consistency

•  Energy issues: – Adaptation in terms of communication –  Intelligent uploading of data – Hardware aspects

24  

Page 25: Mobile and Sensor Systems - University of Cambridge · PDF fileMobile and Sensor Systems! Lecture 1: Introduction to ! Mobile Systems!! Dr Cecilia Mascolo! ... 802.16 (WiMAX) 802.11a,g

Issues in Designing ���Mobile Computing Systems

•  HCI issues: – Limited interface –  Interaction with the devices (input, etc.) – Ergonomics

•  Privacy issues: – Location sharing – Activity recognition

•  Security issues: – Encrypted communication

25  

Page 26: Mobile and Sensor Systems - University of Cambridge · PDF fileMobile and Sensor Systems! Lecture 1: Introduction to ! Mobile Systems!! Dr Cecilia Mascolo! ... 802.16 (WiMAX) 802.11a,g

Wireless and Mobile Networks

Background: •  Number of wireless (mobile) phone subscribers now

exceeds number wired phone subscribers! •  Number of wireless Internet-connected devices soon

to exceed number of wired Internet-connected devices –  laptops, Internet-enabled phones promise anytime Internet

access

•  Two important (but different) challenges –  wireless: communication over wireless link

–  mobility: handling the mobile user who changes point of attachment to network

26  

Page 27: Mobile and Sensor Systems - University of Cambridge · PDF fileMobile and Sensor Systems! Lecture 1: Introduction to ! Mobile Systems!! Dr Cecilia Mascolo! ... 802.16 (WiMAX) 802.11a,g

Elements of a wireless network

network    infrastructure  

wireless  hosts  v  laptop,  PDA,  IP  phone  v  run  applicaQons  v  may  be  staQonary  (non-­‐

mobile)  or  mobile  §  wireless  does  not  always  

mean  mobility  

27  

Page 28: Mobile and Sensor Systems - University of Cambridge · PDF fileMobile and Sensor Systems! Lecture 1: Introduction to ! Mobile Systems!! Dr Cecilia Mascolo! ... 802.16 (WiMAX) 802.11a,g

Elements of a wireless network

network    infrastructure  

 base  staQon  v  typically  connected  to  

wired  network  v  relay  -­‐  responsible  for  

sending  packets  between  wired  network  and  wireless  host(s)  in  its  “area”  §  e.g.,  cell  towers,    

802.11  access  points    

28  

Page 29: Mobile and Sensor Systems - University of Cambridge · PDF fileMobile and Sensor Systems! Lecture 1: Introduction to ! Mobile Systems!! Dr Cecilia Mascolo! ... 802.16 (WiMAX) 802.11a,g

Elements of a wireless network

network    infrastructure  

 wireless  link  v  typically  used  to  connect  

mobile(s)  to  base  staQon  v  also  used  as  backbone  

link    v  mulQple  access  protocol  

coordinates  link  access    v  various  data  rates,  

transmission  distance  

29  

Page 30: Mobile and Sensor Systems - University of Cambridge · PDF fileMobile and Sensor Systems! Lecture 1: Introduction to ! Mobile Systems!! Dr Cecilia Mascolo! ... 802.16 (WiMAX) 802.11a,g

Characteristics of selected wireless link standards

Indoor 10-30m

Outdoor 50-200m

Mid-range outdoor

200m – 4 Km

Long-range outdoor

5Km – 20 Km

.056

.384

1

4

5-11

54

IS-95, CDMA, GSM 2G

UMTS/WCDMA, CDMA2000 3G

802.15

802.11b

802.11a,g

UMTS/WCDMA-HSPDA, CDMA2000-1xEVDO 3G cellular enhanced

802.16 (WiMAX)

802.11a,g point-to-point

200 802.11n

Dat

a ra

te (M

bps)

data

30  

Page 31: Mobile and Sensor Systems - University of Cambridge · PDF fileMobile and Sensor Systems! Lecture 1: Introduction to ! Mobile Systems!! Dr Cecilia Mascolo! ... 802.16 (WiMAX) 802.11a,g

Elements of a wireless network

network    infrastructure  

 infrastructure  mode  v  base  staQon  connects  

mobiles  into  wired  network  

v  handoff:  mobile  changes  base  staQon  providing  connecQon  into  wired  network  

31  

Page 32: Mobile and Sensor Systems - University of Cambridge · PDF fileMobile and Sensor Systems! Lecture 1: Introduction to ! Mobile Systems!! Dr Cecilia Mascolo! ... 802.16 (WiMAX) 802.11a,g

Elements of a wireless network

ad  hoc  mode  v  no  base  staQons  v  nodes  can  only  transmit  

to  other  nodes  within  link  coverage  

v  nodes  organize  themselves  into  a  network:  route  among  themselves  

32  

Page 33: Mobile and Sensor Systems - University of Cambridge · PDF fileMobile and Sensor Systems! Lecture 1: Introduction to ! Mobile Systems!! Dr Cecilia Mascolo! ... 802.16 (WiMAX) 802.11a,g

Wireless network taxonomy

single  hop   mulQple  hops  

infrastructure  (e.g.,  APs)  

no  infrastructure  

host  connects  to    base  staQon  (WiFi,  WiMAX,  cellular)    which  connects  to    larger  Internet  

no  base  staQon,  no  connecQon  to  larger    Internet  (Bluetooth,    

ad  hoc  nets)  

host  may  have  to  relay  through  several  wireless  nodes  to    connect  to  larger    Internet:  mesh  net  

no  base  staQon,  no  connecQon  to  larger    Internet.  May  have  to  relay  to  reach  other    a  given  wireless  node  

MANET,  VANET  

33  

Page 34: Mobile and Sensor Systems - University of Cambridge · PDF fileMobile and Sensor Systems! Lecture 1: Introduction to ! Mobile Systems!! Dr Cecilia Mascolo! ... 802.16 (WiMAX) 802.11a,g

Suggested Readings

•  Mark Weiser. The Computer for the 21th Century. Scientific American. September 1991.

•  Mark Weiser. Some Computer Issues in Ubiquitous Computing. Communications of the ACM. Vol. 36. Issue 7. July 1993.

•  M. Satyanarayanan. Pervasive Computing: Vision and Challenges. IEEE Personal Communications. Vol. 8 Issue 4. August 2001.

•  Chapter 6 of James F. Kurose and Keith W. Ross Computer Networking. A Top Down Approach. 6th Edition. Pearson 2012.

34  

Page 35: Mobile and Sensor Systems - University of Cambridge · PDF fileMobile and Sensor Systems! Lecture 1: Introduction to ! Mobile Systems!! Dr Cecilia Mascolo! ... 802.16 (WiMAX) 802.11a,g

Acks

•  Some material for the slides of this course has been contributed by:

•  Dr Christos Efstratiou,

•  Dr Nicholas Lane, •  Dr Mirco Musolesi,

•  Dr Sarfraz Nawaz.

35