SlideShare a Scribd company logo
IT6601 – MOBILE COMPUTING
UNIT – I INTRODUCTION
KAVIYA P
Assistant Professor
Kamaraj College of Engineering & Technology
Mobile Computing
• What is computing?
• The capability to automatically carry out certain processing related to service
invocations on a remote computer .
• What is the mobility ?
• The capability to change location while communicating to invoke computing
service at some remote computers.
• What is mobile computing?
• Ability to compute remotely while on the move. It is possible to access
information from anywhere and at anytime.
• A simple definition could be:
• Mobile Computing is using a computer (of one kind or another) while on the
move
• Another definition could be:
• Mobile Computing is when a (work) process is moved from a normal fixed
position to a more dynamic position.
• A third definition could be:
• Mobile Computing is when a work process is carried out somewhere where it
was not previously possible.
• Mobile Computing is an umbrella term used to describe technologies
that enable people to access network services anyplace, anytime, and
anywhere.
Mobile Computing
• Encompasses two separate and distinct concepts:
• Mobile communication & computing
• Computing denotes the capability to automatically carry out certain
processing related to service invocations on a remote computer.
• Communication provides the capability to change location while
communication to invoke computing services at some remote
computers
• Advantage: Flexibility to the users.
Mobile computing vs Wireless networking
• Mobile computing is based on wireless networking and helps to
invoke computing services on remote servers while on the move.
• So Wireless networking is an important and necessary ingredient of
mobile computing.
• Mobile computing also requires the applications themselves – their
design and development, the hardware at the client and server sides
Classification of Wireless networks
Wireless networks
• Wireless networks can be classified into basic types
• Infrastructure network -One is extension of wired networks. It uses
fixed infrastructure such as base station to provide single hop wireless
communication with wired network as shown in figure 2.1.
• Two-hop cellular communication as shown in figure 3.
IT6601 Mobile Computing Unit I
Fig 3. Two-hop cellular communication
Ad Hoc network: It does not use any fixed infrastructure and is based on
multi-hop wireless communication as shown in figure 2.2
Applications of Mobile Computing
• Stock Information Collection/Control
• Emergency services
• For Estate Agents
• In courts
• In companies
• Credit Card Verification
• Taxi/Truck Dispatch
• Electronic Mail/Paging
• Vehicles
• transmission of news, road condition, weather, music via DAB
• personal communication using GSM
• position via GPS
• local ad-hoc network with vehicles close-by to prevent accidents, guidance system, redundancy
• vehicle data (e.g., from busses, high-speed trains) can be transmitted in advance for
maintenance
• Medical
• Nurses/Doctors in Medical offices are now using Wireless Tablet PCs/WLAN to collect and share
patient information.
• Sales
• Sales representatives are using Tablet PCs with Smart phones for presentation,
transmitting/access information among office, hotel, and customer location.
• Emergencies
• Early transmission of patient data to the hospital, current status, first diagnosis
• Provide mobile infrastructure in dealing with Natural Disaster (earthquake, hurricane, fire),
terrorist attacks, war, ...
Characteristics of Mobile Computing
• Ubiquity – The ability of a user to perform computation from anywhere and at
anytime. (Eg: Business Notifications)
• Location awareness – Many applications requires or value additions by location
based services. (Eg: Traffic Control Applications – GPS)
• Adaptation - Ability to adjust to bandwidth fluctuations without inconveniencing
the user. Fluctuations can arise due to a number of factors such as handoff,
obstacles, environmental noise, etc.
• Broadcast - Efficient delivery of data can be made simultaneously to hundreds of
mobile users. (Eg: Advertising information by a taxi service provider)
• Personalization – Services in a mobile environment can be easily personalized
according to a user’s profile.
Structure of Mobile Computing Application
• A mobile computing application is usually structured in terms of the
functionalities implemented .
• As shown in the figures 2.3 and 2.4 the three tiers are named
presentation tier, application tier and data tier.
IT6601 Mobile Computing Unit I
• Presentation tier
• The topmost level, concerns the user interface.
• It facilitates the users to issue requests and to present the results meaningfully.
• It includes web browsers and client programs.
• This layer usually includes web browsers and customized client programs for
dissemination of information and collection of data from the user.
• Application tier
• It is responsible for making logical decisions and performing calculations.
• It also moves and processes data between the presentation and data layers.
• It performs the processing of user input, obtaining information and then making
decisions.
• Implemented using Java, .NET services, cold fusion etc.
• The implementation of this layer and functionality provided by this layer should be
database independent.
• Implemented on a fixed server.
• Data tier
• Responsible for data storage, access and manipulation.
• Often it contains database.
• The information is stored and retrieved from the database.
• But, when only small amounts of data need to be stored, a file system can be used.
• Implemented on a fixed server.
Advantages & Disadvantages
Advantages:
• Location Flexibility
• User Mobility
• Device Portability
• Saves Time
• Enhanced Productivity
• Entertainment
Disadvantages:
• Expensive
• Power Consumption
• Small Screen Display
• Slow Internet Speed
• Risky to carry
• Security Concerns
• Communication depends upon
network
MAC PROTOCOLS
MEDIA ACCESS CONTROL(MAC)
• The MAC protocol is a sub-layer of the data link layer protocol and it
directly invokes the physical layer protocol.
• A channel-access scheme is also based on a multiple access protocol
and control mechanism, also known as media access control (MAC).
• This protocol deals with issues such as addressing, assigning multiplex
channels to different users, and avoiding collisions.
Responsibility and objective of MAC Protocol
• Responsibility: Enforce discipline in the access of a shared channel
when multiple nodes contend to access that channel.
• Objective: Maximization of the utilization of the channel and
minimization of average latency of transmission.
Properties Required of MAC Protocols
• The design of a MAC protocol depends upon the specific environment
in which it is intended to operate and the specific characteristics of
the application for which it is being designed.
• A good MAC protocol needs to possess the following features:
• It should implement some rules that help to enforce discipline when multiple
nodes contend for a shared channel.
• It should help maximize the utilization of the channel.
• Channel allocation needs to be fair. No node should be discriminated against
at any time and made to wait for an unduly long time for transmission.
• It should be capable of supporting several types of traffic having different
maximum and average bit rates.
• It should be robust in the face of equipment failures and changing network
conditions.
Wireless MAC Protocols: Some Issues
• It is difficult to implement a collision detection scheme in a
wireless environment, since collisions are hard to be
detected.
• In infrastructure-less networks, the issue of hidden and
exposed terminals make a MAC protocol extremely
inefficient.
The Hidden Terminal Problem
• Wireless stations have transmission ranges and not all stations are
within radio range of each other.
• Simple CSMA will not work!
• C transmits to B.
• If A “senses” the channel, it will not hear C’s transmission and falsely
conclude that A can begin a transmission to B.
• Create a very difficult and important arbitration problem that a MAC
protocol needs to resolve.
Figure 4-26.(a)The hidden station problem. (b) The exposed station problem.
The Exposed Station Problem
• The inverse problem.
• B wants to send to C and listens to the channel.
• When B hears A’s transmission, B falsely assumes that it
cannot send to C.
• It leads to inefficient spectrum usage as well as unnecessary
transmission delays.
Taxonomy of MAC Protocols
A Taxonomy of MAC Protocols
Fixed Assignment Schemes
Fixed Assignment Schemes
• Frequency Division Multiple Access (FDMA)
• Time Division Multiple Access (TDMA)
• Code Division Multiple Access (CDMA)
Frequency Division Multiple Access (FDMA)
Frequency Division Multiple Access (FDMA)
• The available bandwidth is divided into many narrower frequency bands called
channels.
• For full duplex communication to take place, each user is allocated with
• Forward link – Communicating from it to BS.
• Reverse link – Communication from BS to it.
• Thus, each user making a call is allocated two unique frequency bands (channels)
for transmitting and receiving signals during the call.
• When the user is underway, no other user would be allocated the same frequency
band to make a call.
• Unused transmission time in a frequency band that occurs when the allocated
caller pauses between transmissions, or when no user is allocated a band, goes
idle and is wasted.
• FDMA does not achieve high channel utilization.
Time Division Multiple Access (TDMA)
Time Division Multiple Access (TDMA)
• TDMA is an access method in which multiple nodes are allotted different time
slots to access the same physical channel.
• The timeline is divided into fixed-sized time slots and these are divided among
multiple nodes who can transmit.
• Note that in this case, all sources use the same channel, but take turns in
transmitting.
• Time slots are allocated to users in a round robin manner.
• Unused time slots go idle, leading to low channel utilization.
Code Division Multiple Access (CDMA)
Code Division Multiple Access (CDMA)
• Multiple users are allotted different codes that consists of sequences of 0 and 1 to
access the same channel.
• In CDMA, multiple users use the same frequency at the same time and no time
scheduling is applied.
• The bandwidth of this medium is much larger than the space that would be
allocated to each packet transmission during FDMA and the signals can be
distinguished from each other by means of a special coding schemes that is used.
• This is done with the help of a frequency spreading code known as the m-bit
pseudo-noise (PN) code sequence.
• Using m bits, 2^m-1 different codes can be obtained.
• From these codes, each user will use only one code.
• A code for a user should be orthogonal to the codes assigned to other nodes.
Fixed Assignment Schemes
Random Assignment Schemes
Random Assignment Schemes
• ALOHA
• Slotted ALOHA
• CSMA
• CSMA/CD
• CSMA/CA
ALOHA
• A simple protocol.
• If a node has data to send, it begins to transmit.
• Pure ALOHA does not check whether the channel is busy before transmitting.
• If the frame is successfully reaches the destination, the next frame is sent.
• If the frame fails to be received at the destination, it is sent again.
• The simple ALOHA scheme works acceptably, when the chances of contention are
small. (i.e., when a small number of senders send data infrequently)
• The collisions can become unacceptably high if the number of contenders for
transmission is high.
Slotted ALOHA
• An improvement over pure ALOHA.
• The chances of collisions are attempted to be reduced by enforcing the following
restrictions.
• Time is divided into equal sized slots in which a packet can be sent.
• The size of pocket is restricted.
• A node wanting to send packet, can start to do so only at the beginning of a slot.
• Employs beacon signals to mark the beginning of a slot, at which point the nodes
having data to send can start to transmit.
• Does not work well if the number of stations contending to send data is high.
• In such case CSMA scheme works better.
Carrier Sense Multiple Access (CSMA)
• Carrier Sense Multiple Access
• sense carrier
• if idle, send
• wait for ack
• If there isn’t one, assume there was a collision, retransmit
• Vulnerable period: one tprop
Extension of CSMA
• The extension of CSMA are the collision detection CSMA/CD and the
collision avoidance CSMA/CA techniques.
• Why CA and CD?
• Difficult to detect collisions in a radio environment – why?
• A transmitting station cannot effectively distinguish incoming weak signals
from noise and the effects of its own transmission; need a full duplex radio to
listen and transmit on same frequency (not true in FDD systems)
• Hidden station problem:
• Two mutually far away stations A and C want to send to B.
• At A and C, channel appears idle
• But collision occurs at B
CSMA/CD
• CSMA/CD multi-access control protocol.
1. Each station listens before it transmits.
2. If the channel is busy, it waits until the channel goes idle, and
then it transmits.
3. If the channel is idle it transmits immediately. Continue
sensing.
4. If collision is detected, transmit a brief jamming signal, then
cease transmission, wait for a random time, and retransmit.
• collision detection is not by waiting for an ACK
CSMA/CA
• Prevent collision at the moment they are most likely occur, when bus is released
after a packet transmission.
• During the time a node is transmitting on the channel, several nodes might be
wanting to transmit and waiting for it to become free.
• The moment the transmitting node completes its transmission and would all
starts transmitting at the same time.
• To overcome in the collision avoidance scheme, all nodes are forced to wait for a
random time and then sense the medium again before starting their
transmission.
• If the medium is sensed to be busy, further random amount of time and so on.
• Thus the chance of two nodes starting to transmit at the same time would be
greatly reduced.
Reservation Based Schemes
Reservation Based Schemes
• Basic form of the reservation scheme is RTS/CTS scheme.
• A sender transmits an RTS (Ready to Send) packet to the receiver
before the actual data transmission.
• On receiving this the receiver sends CTS (Clear to Send) packet.
• The actual data transfer commences only after that.
• The other nodes sharing the medium sense the CTS packet, they
refrain from transmitting until the transmission from the sending
node is completes.
Contention-based protocol
• MACA(Multiple Access Collision Avoidance) Protocol
• MACA solves the hidden/ exposed terminal problems
• When a node wants to transmit a data packet, it first transmit a RTS (Request To
Send) frame.
• The receiver node, on receiving the RTS packet, if it is ready to receive the data
packet, transmits a CTS (Clear to Send) packet.
• Once the sender receives the CTS packet without any error, it starts transmitting
the data packet.
• If a packet transmitted by a node is lost, the node uses the binary exponential
back-off (BEB) algorithm to back off a random interval of time before retrying.
• The binary exponential back-off mechanism used in MACA might starves flows
sometimes. The problem is solved by MACAW.
MACA Protocol
The MACA protocol.
 A sending an RTS to B.
 B responding with a CTS to A.
MACA Examples
• MACA avoids the problem of
hidden terminals
• A and C want to send to B
• A sends RTS first
• C waits after receiving CTS from B
• MACA avoids the problem of
exposed terminals
• B wants to send to A, C to another
terminal
• now C does not have to wait for it
cannot receive CTS from A

More Related Content

PPTX
Introduction To Mobile Computing
PDF
Mobile computing unit 5
PPT
distributed shared memory
PPTX
MEDIUM ACCESS CONTROL
DOC
Mobile Computing I-Unit Notes
PPT
4. system models
PPT
multiple access in wireless communication
Introduction To Mobile Computing
Mobile computing unit 5
distributed shared memory
MEDIUM ACCESS CONTROL
Mobile Computing I-Unit Notes
4. system models
multiple access in wireless communication

What's hot (20)

PPT
Cdma ppt for ECE
PPT
Mobile computing unit2,SDMA,FDMA,CDMA,TDMA Space Division Multi Access,Frequ...
PDF
Mobile Network Layer
PPSX
Mac protocols of adhoc network
PDF
IT8602 Mobile Communication - Unit I Introduction
PDF
Lecture 19 22. transport protocol for ad-hoc
PPT
Security in mobile ad hoc networks
PPTX
ASYNCHRONOUS TRANSFER MODE (ATM)
PPTX
Mobile IP
PDF
Routing in Mobile Ad hoc Networks
PDF
Issues in routing protocol
PPTX
Gprs architecture ppt
PDF
Lecture 23 27. quality of services in ad hoc wireless networks
PPTX
Routing algorithm
PDF
GSM Air Interface
PPTX
WIRELESS TRANSMISSION
PPTX
Localization & calling
PPT
Adhoc and Sensor Networks - Chapter 03
PDF
Mobile computing (Wireless) Medium Access Control (MAC)
PPTX
GSM Radio interface
Cdma ppt for ECE
Mobile computing unit2,SDMA,FDMA,CDMA,TDMA Space Division Multi Access,Frequ...
Mobile Network Layer
Mac protocols of adhoc network
IT8602 Mobile Communication - Unit I Introduction
Lecture 19 22. transport protocol for ad-hoc
Security in mobile ad hoc networks
ASYNCHRONOUS TRANSFER MODE (ATM)
Mobile IP
Routing in Mobile Ad hoc Networks
Issues in routing protocol
Gprs architecture ppt
Lecture 23 27. quality of services in ad hoc wireless networks
Routing algorithm
GSM Air Interface
WIRELESS TRANSMISSION
Localization & calling
Adhoc and Sensor Networks - Chapter 03
Mobile computing (Wireless) Medium Access Control (MAC)
GSM Radio interface
Ad

Similar to IT6601 Mobile Computing Unit I (20)

PDF
unit-1 notes
PPT
Mobile Computing Unit 1 Introduction.ppt
PPTX
ilovepdf_mergebvhfhbxcbcgsdgsdvcxcvd.pptx
PPTX
IT6601 MOBILE COMPUTING UNIT1
PPTX
Mobile computing
PDF
1. Wireless Communication Basics for stu.pdf
DOCX
12.7.2018
PPTX
Mobile Computing UNIT 1 by surbhi saroha
PDF
CS8601-IQ.pdf
PDF
CS8601-IQ.pdf
PPTX
MOBILE COMMUNICATION
PDF
CS8601 1 MC NOTES.pdf
PPTX
1. Introduction to Mobile Computing-1.pptx
PPTX
Mobile Network Technologies - Unit 1 Guide
PPTX
MC PPT.pptx
PDF
IT6601 Mobile Computing
PDF
PPTX
module-1 part a.pptx
PPTX
LECTURE-2 (UNIT 1) adhoc sensor wireless network
PPT
Mobile and wireless computing
unit-1 notes
Mobile Computing Unit 1 Introduction.ppt
ilovepdf_mergebvhfhbxcbcgsdgsdvcxcvd.pptx
IT6601 MOBILE COMPUTING UNIT1
Mobile computing
1. Wireless Communication Basics for stu.pdf
12.7.2018
Mobile Computing UNIT 1 by surbhi saroha
CS8601-IQ.pdf
CS8601-IQ.pdf
MOBILE COMMUNICATION
CS8601 1 MC NOTES.pdf
1. Introduction to Mobile Computing-1.pptx
Mobile Network Technologies - Unit 1 Guide
MC PPT.pptx
IT6601 Mobile Computing
module-1 part a.pptx
LECTURE-2 (UNIT 1) adhoc sensor wireless network
Mobile and wireless computing
Ad

More from pkaviya (20)

PDF
IT2255 Web Essentials - Unit V Servlets and Database Connectivity
PDF
IT2255 Web Essentials - Unit IV Server-Side Processing and Scripting - PHP.pdf
PDF
IT2255 Web Essentials - Unit III Client-Side Processing and Scripting
PDF
IT2255 Web Essentials - Unit II Web Designing
PDF
IT2255 Web Essentials - Unit I Website Basics
PDF
BT2252 - ETBT - UNIT 3 - Enzyme Immobilization.pdf
PDF
OIT552 Cloud Computing Material
PDF
OIT552 Cloud Computing - Question Bank
PDF
CS8791 Cloud Computing - Question Bank
PDF
CS8592 Object Oriented Analysis & Design - UNIT V
PDF
CS8592 Object Oriented Analysis & Design - UNIT IV
PDF
CS8592 Object Oriented Analysis & Design - UNIT III
PDF
CS8592 Object Oriented Analysis & Design - UNIT II
PDF
CS8592 Object Oriented Analysis & Design - UNIT I
PDF
Cs8591 Computer Networks - UNIT V
PDF
CS8591 Computer Networks - Unit IV
PDF
CS8591 Computer Networks - Unit III
PDF
CS8591 Computer Networks - Unit II
PDF
CS8591 Computer Networks - Unit I
PDF
IT8602 Mobile Communication - Unit V
IT2255 Web Essentials - Unit V Servlets and Database Connectivity
IT2255 Web Essentials - Unit IV Server-Side Processing and Scripting - PHP.pdf
IT2255 Web Essentials - Unit III Client-Side Processing and Scripting
IT2255 Web Essentials - Unit II Web Designing
IT2255 Web Essentials - Unit I Website Basics
BT2252 - ETBT - UNIT 3 - Enzyme Immobilization.pdf
OIT552 Cloud Computing Material
OIT552 Cloud Computing - Question Bank
CS8791 Cloud Computing - Question Bank
CS8592 Object Oriented Analysis & Design - UNIT V
CS8592 Object Oriented Analysis & Design - UNIT IV
CS8592 Object Oriented Analysis & Design - UNIT III
CS8592 Object Oriented Analysis & Design - UNIT II
CS8592 Object Oriented Analysis & Design - UNIT I
Cs8591 Computer Networks - UNIT V
CS8591 Computer Networks - Unit IV
CS8591 Computer Networks - Unit III
CS8591 Computer Networks - Unit II
CS8591 Computer Networks - Unit I
IT8602 Mobile Communication - Unit V

Recently uploaded (20)

PPTX
Infosys Presentation by1.Riyan Bagwan 2.Samadhan Naiknavare 3.Gaurav Shinde 4...
DOCX
ASol_English-Language-Literature-Set-1-27-02-2023-converted.docx
PDF
July 2025 - Top 10 Read Articles in International Journal of Software Enginee...
PPTX
MCN 401 KTU-2019-PPE KITS-MODULE 2.pptx
PDF
TFEC-4-2020-Design-Guide-for-Timber-Roof-Trusses.pdf
PPTX
bas. eng. economics group 4 presentation 1.pptx
PPTX
M Tech Sem 1 Civil Engineering Environmental Sciences.pptx
PDF
Digital Logic Computer Design lecture notes
PDF
keyrequirementskkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk
PDF
PPT on Performance Review to get promotions
PPTX
Engineering Ethics, Safety and Environment [Autosaved] (1).pptx
PPT
CRASH COURSE IN ALTERNATIVE PLUMBING CLASS
PDF
PRIZ Academy - 9 Windows Thinking Where to Invest Today to Win Tomorrow.pdf
PPTX
OOP with Java - Java Introduction (Basics)
PDF
Mohammad Mahdi Farshadian CV - Prospective PhD Student 2026
PPTX
UNIT 4 Total Quality Management .pptx
PPTX
Sustainable Sites - Green Building Construction
PPTX
Foundation to blockchain - A guide to Blockchain Tech
PDF
SM_6th-Sem__Cse_Internet-of-Things.pdf IOT
PPTX
web development for engineering and engineering
Infosys Presentation by1.Riyan Bagwan 2.Samadhan Naiknavare 3.Gaurav Shinde 4...
ASol_English-Language-Literature-Set-1-27-02-2023-converted.docx
July 2025 - Top 10 Read Articles in International Journal of Software Enginee...
MCN 401 KTU-2019-PPE KITS-MODULE 2.pptx
TFEC-4-2020-Design-Guide-for-Timber-Roof-Trusses.pdf
bas. eng. economics group 4 presentation 1.pptx
M Tech Sem 1 Civil Engineering Environmental Sciences.pptx
Digital Logic Computer Design lecture notes
keyrequirementskkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk
PPT on Performance Review to get promotions
Engineering Ethics, Safety and Environment [Autosaved] (1).pptx
CRASH COURSE IN ALTERNATIVE PLUMBING CLASS
PRIZ Academy - 9 Windows Thinking Where to Invest Today to Win Tomorrow.pdf
OOP with Java - Java Introduction (Basics)
Mohammad Mahdi Farshadian CV - Prospective PhD Student 2026
UNIT 4 Total Quality Management .pptx
Sustainable Sites - Green Building Construction
Foundation to blockchain - A guide to Blockchain Tech
SM_6th-Sem__Cse_Internet-of-Things.pdf IOT
web development for engineering and engineering

IT6601 Mobile Computing Unit I

  • 1. IT6601 – MOBILE COMPUTING UNIT – I INTRODUCTION KAVIYA P Assistant Professor Kamaraj College of Engineering & Technology
  • 2. Mobile Computing • What is computing? • The capability to automatically carry out certain processing related to service invocations on a remote computer . • What is the mobility ? • The capability to change location while communicating to invoke computing service at some remote computers. • What is mobile computing? • Ability to compute remotely while on the move. It is possible to access information from anywhere and at anytime.
  • 3. • A simple definition could be: • Mobile Computing is using a computer (of one kind or another) while on the move • Another definition could be: • Mobile Computing is when a (work) process is moved from a normal fixed position to a more dynamic position. • A third definition could be: • Mobile Computing is when a work process is carried out somewhere where it was not previously possible. • Mobile Computing is an umbrella term used to describe technologies that enable people to access network services anyplace, anytime, and anywhere.
  • 4. Mobile Computing • Encompasses two separate and distinct concepts: • Mobile communication & computing • Computing denotes the capability to automatically carry out certain processing related to service invocations on a remote computer. • Communication provides the capability to change location while communication to invoke computing services at some remote computers • Advantage: Flexibility to the users.
  • 5. Mobile computing vs Wireless networking • Mobile computing is based on wireless networking and helps to invoke computing services on remote servers while on the move. • So Wireless networking is an important and necessary ingredient of mobile computing. • Mobile computing also requires the applications themselves – their design and development, the hardware at the client and server sides
  • 6. Classification of Wireless networks Wireless networks • Wireless networks can be classified into basic types • Infrastructure network -One is extension of wired networks. It uses fixed infrastructure such as base station to provide single hop wireless communication with wired network as shown in figure 2.1. • Two-hop cellular communication as shown in figure 3.
  • 8. Fig 3. Two-hop cellular communication
  • 9. Ad Hoc network: It does not use any fixed infrastructure and is based on multi-hop wireless communication as shown in figure 2.2
  • 10. Applications of Mobile Computing • Stock Information Collection/Control • Emergency services • For Estate Agents • In courts • In companies • Credit Card Verification • Taxi/Truck Dispatch • Electronic Mail/Paging
  • 11. • Vehicles • transmission of news, road condition, weather, music via DAB • personal communication using GSM • position via GPS • local ad-hoc network with vehicles close-by to prevent accidents, guidance system, redundancy • vehicle data (e.g., from busses, high-speed trains) can be transmitted in advance for maintenance • Medical • Nurses/Doctors in Medical offices are now using Wireless Tablet PCs/WLAN to collect and share patient information. • Sales • Sales representatives are using Tablet PCs with Smart phones for presentation, transmitting/access information among office, hotel, and customer location. • Emergencies • Early transmission of patient data to the hospital, current status, first diagnosis • Provide mobile infrastructure in dealing with Natural Disaster (earthquake, hurricane, fire), terrorist attacks, war, ...
  • 12. Characteristics of Mobile Computing • Ubiquity – The ability of a user to perform computation from anywhere and at anytime. (Eg: Business Notifications) • Location awareness – Many applications requires or value additions by location based services. (Eg: Traffic Control Applications – GPS) • Adaptation - Ability to adjust to bandwidth fluctuations without inconveniencing the user. Fluctuations can arise due to a number of factors such as handoff, obstacles, environmental noise, etc. • Broadcast - Efficient delivery of data can be made simultaneously to hundreds of mobile users. (Eg: Advertising information by a taxi service provider) • Personalization – Services in a mobile environment can be easily personalized according to a user’s profile.
  • 13. Structure of Mobile Computing Application • A mobile computing application is usually structured in terms of the functionalities implemented . • As shown in the figures 2.3 and 2.4 the three tiers are named presentation tier, application tier and data tier.
  • 15. • Presentation tier • The topmost level, concerns the user interface. • It facilitates the users to issue requests and to present the results meaningfully. • It includes web browsers and client programs. • This layer usually includes web browsers and customized client programs for dissemination of information and collection of data from the user. • Application tier • It is responsible for making logical decisions and performing calculations. • It also moves and processes data between the presentation and data layers. • It performs the processing of user input, obtaining information and then making decisions. • Implemented using Java, .NET services, cold fusion etc. • The implementation of this layer and functionality provided by this layer should be database independent. • Implemented on a fixed server.
  • 16. • Data tier • Responsible for data storage, access and manipulation. • Often it contains database. • The information is stored and retrieved from the database. • But, when only small amounts of data need to be stored, a file system can be used. • Implemented on a fixed server.
  • 17. Advantages & Disadvantages Advantages: • Location Flexibility • User Mobility • Device Portability • Saves Time • Enhanced Productivity • Entertainment Disadvantages: • Expensive • Power Consumption • Small Screen Display • Slow Internet Speed • Risky to carry • Security Concerns • Communication depends upon network
  • 19. MEDIA ACCESS CONTROL(MAC) • The MAC protocol is a sub-layer of the data link layer protocol and it directly invokes the physical layer protocol. • A channel-access scheme is also based on a multiple access protocol and control mechanism, also known as media access control (MAC). • This protocol deals with issues such as addressing, assigning multiplex channels to different users, and avoiding collisions.
  • 20. Responsibility and objective of MAC Protocol • Responsibility: Enforce discipline in the access of a shared channel when multiple nodes contend to access that channel. • Objective: Maximization of the utilization of the channel and minimization of average latency of transmission.
  • 21. Properties Required of MAC Protocols • The design of a MAC protocol depends upon the specific environment in which it is intended to operate and the specific characteristics of the application for which it is being designed. • A good MAC protocol needs to possess the following features: • It should implement some rules that help to enforce discipline when multiple nodes contend for a shared channel. • It should help maximize the utilization of the channel. • Channel allocation needs to be fair. No node should be discriminated against at any time and made to wait for an unduly long time for transmission. • It should be capable of supporting several types of traffic having different maximum and average bit rates. • It should be robust in the face of equipment failures and changing network conditions.
  • 22. Wireless MAC Protocols: Some Issues • It is difficult to implement a collision detection scheme in a wireless environment, since collisions are hard to be detected. • In infrastructure-less networks, the issue of hidden and exposed terminals make a MAC protocol extremely inefficient.
  • 23. The Hidden Terminal Problem • Wireless stations have transmission ranges and not all stations are within radio range of each other. • Simple CSMA will not work! • C transmits to B. • If A “senses” the channel, it will not hear C’s transmission and falsely conclude that A can begin a transmission to B. • Create a very difficult and important arbitration problem that a MAC protocol needs to resolve.
  • 24. Figure 4-26.(a)The hidden station problem. (b) The exposed station problem.
  • 25. The Exposed Station Problem • The inverse problem. • B wants to send to C and listens to the channel. • When B hears A’s transmission, B falsely assumes that it cannot send to C. • It leads to inefficient spectrum usage as well as unnecessary transmission delays.
  • 26. Taxonomy of MAC Protocols
  • 27. A Taxonomy of MAC Protocols
  • 29. Fixed Assignment Schemes • Frequency Division Multiple Access (FDMA) • Time Division Multiple Access (TDMA) • Code Division Multiple Access (CDMA)
  • 31. Frequency Division Multiple Access (FDMA) • The available bandwidth is divided into many narrower frequency bands called channels. • For full duplex communication to take place, each user is allocated with • Forward link – Communicating from it to BS. • Reverse link – Communication from BS to it. • Thus, each user making a call is allocated two unique frequency bands (channels) for transmitting and receiving signals during the call. • When the user is underway, no other user would be allocated the same frequency band to make a call. • Unused transmission time in a frequency band that occurs when the allocated caller pauses between transmissions, or when no user is allocated a band, goes idle and is wasted. • FDMA does not achieve high channel utilization.
  • 32. Time Division Multiple Access (TDMA)
  • 33. Time Division Multiple Access (TDMA) • TDMA is an access method in which multiple nodes are allotted different time slots to access the same physical channel. • The timeline is divided into fixed-sized time slots and these are divided among multiple nodes who can transmit. • Note that in this case, all sources use the same channel, but take turns in transmitting. • Time slots are allocated to users in a round robin manner. • Unused time slots go idle, leading to low channel utilization.
  • 34. Code Division Multiple Access (CDMA)
  • 35. Code Division Multiple Access (CDMA) • Multiple users are allotted different codes that consists of sequences of 0 and 1 to access the same channel. • In CDMA, multiple users use the same frequency at the same time and no time scheduling is applied. • The bandwidth of this medium is much larger than the space that would be allocated to each packet transmission during FDMA and the signals can be distinguished from each other by means of a special coding schemes that is used. • This is done with the help of a frequency spreading code known as the m-bit pseudo-noise (PN) code sequence. • Using m bits, 2^m-1 different codes can be obtained. • From these codes, each user will use only one code. • A code for a user should be orthogonal to the codes assigned to other nodes.
  • 38. Random Assignment Schemes • ALOHA • Slotted ALOHA • CSMA • CSMA/CD • CSMA/CA
  • 39. ALOHA • A simple protocol. • If a node has data to send, it begins to transmit. • Pure ALOHA does not check whether the channel is busy before transmitting. • If the frame is successfully reaches the destination, the next frame is sent. • If the frame fails to be received at the destination, it is sent again. • The simple ALOHA scheme works acceptably, when the chances of contention are small. (i.e., when a small number of senders send data infrequently) • The collisions can become unacceptably high if the number of contenders for transmission is high.
  • 40. Slotted ALOHA • An improvement over pure ALOHA. • The chances of collisions are attempted to be reduced by enforcing the following restrictions. • Time is divided into equal sized slots in which a packet can be sent. • The size of pocket is restricted. • A node wanting to send packet, can start to do so only at the beginning of a slot. • Employs beacon signals to mark the beginning of a slot, at which point the nodes having data to send can start to transmit. • Does not work well if the number of stations contending to send data is high. • In such case CSMA scheme works better.
  • 41. Carrier Sense Multiple Access (CSMA) • Carrier Sense Multiple Access • sense carrier • if idle, send • wait for ack • If there isn’t one, assume there was a collision, retransmit • Vulnerable period: one tprop
  • 42. Extension of CSMA • The extension of CSMA are the collision detection CSMA/CD and the collision avoidance CSMA/CA techniques. • Why CA and CD? • Difficult to detect collisions in a radio environment – why? • A transmitting station cannot effectively distinguish incoming weak signals from noise and the effects of its own transmission; need a full duplex radio to listen and transmit on same frequency (not true in FDD systems) • Hidden station problem: • Two mutually far away stations A and C want to send to B. • At A and C, channel appears idle • But collision occurs at B
  • 43. CSMA/CD • CSMA/CD multi-access control protocol. 1. Each station listens before it transmits. 2. If the channel is busy, it waits until the channel goes idle, and then it transmits. 3. If the channel is idle it transmits immediately. Continue sensing. 4. If collision is detected, transmit a brief jamming signal, then cease transmission, wait for a random time, and retransmit. • collision detection is not by waiting for an ACK
  • 44. CSMA/CA • Prevent collision at the moment they are most likely occur, when bus is released after a packet transmission. • During the time a node is transmitting on the channel, several nodes might be wanting to transmit and waiting for it to become free. • The moment the transmitting node completes its transmission and would all starts transmitting at the same time. • To overcome in the collision avoidance scheme, all nodes are forced to wait for a random time and then sense the medium again before starting their transmission. • If the medium is sensed to be busy, further random amount of time and so on. • Thus the chance of two nodes starting to transmit at the same time would be greatly reduced.
  • 46. Reservation Based Schemes • Basic form of the reservation scheme is RTS/CTS scheme. • A sender transmits an RTS (Ready to Send) packet to the receiver before the actual data transmission. • On receiving this the receiver sends CTS (Clear to Send) packet. • The actual data transfer commences only after that. • The other nodes sharing the medium sense the CTS packet, they refrain from transmitting until the transmission from the sending node is completes.
  • 47. Contention-based protocol • MACA(Multiple Access Collision Avoidance) Protocol • MACA solves the hidden/ exposed terminal problems • When a node wants to transmit a data packet, it first transmit a RTS (Request To Send) frame. • The receiver node, on receiving the RTS packet, if it is ready to receive the data packet, transmits a CTS (Clear to Send) packet. • Once the sender receives the CTS packet without any error, it starts transmitting the data packet. • If a packet transmitted by a node is lost, the node uses the binary exponential back-off (BEB) algorithm to back off a random interval of time before retrying. • The binary exponential back-off mechanism used in MACA might starves flows sometimes. The problem is solved by MACAW.
  • 48. MACA Protocol The MACA protocol.  A sending an RTS to B.  B responding with a CTS to A.
  • 49. MACA Examples • MACA avoids the problem of hidden terminals • A and C want to send to B • A sends RTS first • C waits after receiving CTS from B • MACA avoids the problem of exposed terminals • B wants to send to A, C to another terminal • now C does not have to wait for it cannot receive CTS from A