Docsity

Mobile Computing and Mobile IP: Syllabus and Key Concepts, Lecture notes of Computer Science

Toggle sidebar
bg1
PANIMALAR INSTITUTE OF TECHNOLOGY DEPARTMENT OF IT
1
III Year/VI SEM
IT6601 MOBILE COMPUTING
UNIT –I
INTRODUCTION
SYLLABUS: Mobile Computing –Mobile Computing vs. wireless Networking –Mobile
Computing Applications –Characteristics of Mobile computing –Structure of Mobile
Computing Application. MAC Protocols –Wireless MAC Issues –Fixed Assignment Schemes –
Random Assignment Schemes –Reservation Based Schemes.
COURSE OBJECTIVE: Understand the basic concepts of mobile computing.
PART –A
1. Define Mobile Computing.
Mobile Computing also called as Ubiquitous Computing or Nomadic Computing is described as
the ability to compute remotely while on the move. It makes possible for people to access
information from anywhere and at any time.
Mobile Computing = Mobility + Computing
2. What do you mean by the terms Mobility and Computing?
Mobility: Provides the capability to change location while communicating to invoke computing
services at some remote computers.
Computing: Capability to automatically carry out certain processing related to services
invocation on a remote computer.
3. Name the type of Mobility.
a) User Mobility
b) Device Portability
4. List out the advantages of Mobile Computing. May/June 2016
(i) Location Flexibility
(ii) User Mobility
(iii) Device Portability
(iv) Saves Time
(v) Enhanced Productivity
(vi) Entertainment
5. Mention the disadvantages of Mobile Computing.
(i) Expensive
(ii) Power Consumption
(iii) Small Screen Display
(iv) Slow Internet Speed
(v) Risky to carry
(vi) Security Concerns
(vii) Communication depends upon network
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14
pf15
pf16
pf17
pf18
pf19
pf1a
pf1b
pf1c
pf1d
pf1e
pf1f
pf20

Partial preview of the text

Download Mobile Computing and Mobile IP: Syllabus and Key Concepts and more Lecture notes Computer Science in PDF only on Docsity!

1

IT6601 MOBILE COMPUTING

UNIT – I

INTRODUCTION

SYLLABUS: Mobile Computing – Mobile Computing vs. wireless Networking – Mobile Computing Applications – Characteristics of Mobile computing – Structure of Mobile Computing Application. MAC Protocols – Wireless MAC Issues – Fixed Assignment Schemes – Random Assignment Schemes – Reservation Based Schemes. COURSE OBJECTIVE: Understand the basic concepts of mobile computing. PART – A

1. Define Mobile Computing. Mobile Computing also called as Ubiquitous Computing or Nomadic Computing is described as the ability to compute remotely while on the move. It makes possible for people to access information from anywhere and at any time. Mobile Computing = Mobility + Computing 2. What do you mean by the terms Mobility and Computing? Mobility: Provides the capability to change location while communicating to invoke computing services at some remote computers. Computing: Capability to automatically carry out certain processing related to services invocation on a remote computer. 3. Name the type of Mobility. a) User Mobility b) Device Portability 4. List out the advantages of Mobile Computing. May/June 2016 (i) Location Flexibility (ii) User Mobility (iii) Device Portability (iv) Saves Time (v) Enhanced Productivity (vi) Entertainment 5. Mention the disadvantages of Mobile Computing. (i) Expensive (ii) Power Consumption (iii) Small Screen Display (iv) Slow Internet Speed (v) Risky to carry (vi) Security Concerns (vii) Communication depends upon network

2

6. Compare Wired Networks and Mobile Networks. S.No Wired Networks Mobile Networks 1. Users cannot get any information at any place (does not support mobility) Users can get information at any place (Supports Mobility) 2. Bandwidth is high Bandwidth is low 3. Low bandwidth variability High bandwidth variability 4. Listen on wire Hidden Terminal problem 5. Productivity is low Productivity is high 6. High Power Machines Low Power machines 7. High Resource machines Low Resource machines 8. Need physical access Need proximity 9. Low delay Higher delay 10. Connected Operations Disconnected Operations 7. List out the differences between Mobile Computing and Wireless Networking. S.No Mobile Computing Wireless Networking 1. It is a technology that access data through wireless network It is a network that uses wireless data connections for connecting network nodes 2. It denotes accessing information and remote computational services while on the move It provides the basic communication infrastructure necessary for mobile computing 3. It refers to computing devices that are not restricted to a desktop. Eg: Smart Phone, PDA, Laptop etc., It is a method of transferring information between a computing devices such as PDA & data sources without a physical connection 4. It refers to a device performing computation that is not always connected to a central network It refers to the data communication without the use of a landline. Eg. Cellular Telephone, Two way radio, Satellite, Wireless Connection. 8. Name some of the Mobile Computing Devices.  Mobile Phones  Laptops  PDA  Notebook PCs 9. Point out the problems faced by devices in Wireless Transmission? 1. Lower Bandwidth 2. Bandwidth Fluctuations 3. Host mobility 4. Intermittent disconnections 5. High bit error rate 6. Poor link reliability 7. Higher delay 8. Power consumption

4

17. What are the Objectives of MAC Protocol?  Maximization of the channel utilization  Minimization of average latency of transmission 18. List out the properties required of MAC protocol. (i) It should implement some rules to enforce discipline wen multiple nodes compete for a shared channel. (ii) It should help maximize the channel utilization. (iii)Channel allocation needs to be fair. No node should be discriminated against at any time and made wait for an long time for transmission. (iv)It should be capable of supporting several types of traffic having different bit rates. (v) It should be robust in the face of equipment failure and changing network conditions. 19. What is meant by Hidden Node and Exposed Node?  Hidden Node: A hidden node is a node that does not hear the transmission that a node within its range is receiving and thus does not attempting to gain access.  Exposed Node: An exposed node is a node that hears multiple disjoint sections of a network and never gets an opportunity to compete for transmission since it is always deferring to someone. 20. Explain hidden and exposed terminal problem in infrastructure-less network. May/June 2016 Hidden Terminal Problem: The Hidden Terminal Problem arises when at least three nodes (A, B and C) communicating. B is in the radio range of A, and B is also with the radio range of C. The nodes A and C are not in the radio range of each other. If both A and C start to transmit to B at the same time, the data received at B would get garbled. This situation arises because A and C are “hidden” from each other, because they are outside each other’s transmission range. Note:- Hidden Terminal causes Collisions. Exposed Terminal Problem: Exposed Terminal Problem arises when all the three nodes are in the radio range of all nodes.

5 Now B is transmitting to A, C wants to send to another terminal (not A or B) outside the range. C senses the carrier and detects that the carrier is busy, so C postpones the transmission until it detects the medium is free. But A is outside the radio range of C. This problem arises because “C is exposed to B”. Note:- Exposed Terminal leads to inefficient spectrum usage and unnecessary transmission delays.

21. What are the classifications of MAC Protocols? Wireless MAC protocols are classified into A. Fixed-assignment schemes (Circuit-switched) B. Random-Assignment schemes(CL packet-switched) C. Reservation-based schemes(CO packet-switched) (i) Fixed Assignment a. FDMA b. TDMA c. CDMA (ii) Random Assignment a. ALOHA b. Slotted ALOHA c. CSMA d. CSMA/CD e. CSMA/CA (iii) Reservation Based a. RTS / CTS 22. Compare CSMA / CD and CSMA / CA. S.No CSMA / CD CSMA / CA 1. It takes effect after a collision It takes effect before a collision 2. It will not take steps to prevent transmission collision until it is taken place It will take actions not to take place any collision

7

UNIT – II

MOBILE INTERNET PROTOCOL AND TRANSPORT LAYER

SYLLABUS: Overview of Mobile IP – Features of Mobile IP – Key Mechanism in Mobile IP – route Optimization. Overview of TCP/IP – Architecture of TCP/IP- Adaptation of TCP Window

  • Improvement in TCP Performance. COURSE OBJECTIVE: Be familiar with the network protocol stack. 1. Define Mobile IP. Mobile IP is a standard protocol created by extending Internet Protocol (IP) to enable users to keep the same IP address while travelling from one network to a different network. Mobile IP = Mobility + Internet Protocol (IP) 2. Specify the goals of Mobile IP.  Allows mobile hosts to stay connected to the internet regardless of their location and without changing their IP address.  Enable packet transmission efficiently without any packet loss and disruptions in the presence of host and/or destination mobility. 3. What are the main requirements needed for mobile IP?  Compatibility  Transparency  Scalability and efficiency  Security 4. List out the various terminologies involved in Mobile IP. a) Mobile Node b) Home Network c) Home Address d) Foreign Agent e) Correspondent Node f) Care-of-Address g) Tunnel h) Foreign Network i) Home Agent 5. Define COA. It is an address that identifies the mobile node’s current location. The packets sent to the Mobile Node are delivered to COA. COA is associated with the mobile node’s Foreign Agent (FA). 6. Define Tunneling. Tunneling is the process of delivering the packet sent by the Home Agent(HA) to foreign agent(COA) and frm COA to the mobile node via tunnel. Tunneling has two primary functions:
    1. Encapsulation of data packet to reach the tunnel endpoint

8

  1. Decapsulation when the packet is delivered at that endpoint. 7. What is encapsulation in Mobile IP. Encapsulation refers to arranging a packet header and data and putting it into the data part of a new packet. Thus the encapsulated packet will contain the new destination address as “Address of COA” and the new source address as “Address of HA”. 8. What are the two types of COA?
  2. Foreign Agent COA: It is an IP address of Foreign Agent(FA).
  3. Co-located COA: Temporary IP address that is assigned to MN. 9. What is meant by Agent Discovery? Agent Discovery is a process by which a mobile node determines its Foreign Agent(FA) during call establishment. Two methods of Agent Discovery: (i) Agent Advertisement (ii) Agent Solicitation 10. What is meant by Agent Advertisement? Foreign agents and home agents advertise their presence periodically using special agent advertisement messages. An Agent Advertisement Message lists one or more COA and a flag indicating whether 11. What is meant by Agent Solicitation? Agent Solicitation is an Agent Discovery process which is used to search for a foreign agent. Agent Solicitation message is sent if a mobile node does not receive any COA. 12. What are the mechanisms used for forwarding the packet?  CN does not need to know anything about the MN’s current location and sends the packet as usual to the IP address of MN  The packet is not forwarded into the subnet as usual, but encapsulated and tunnelled to the COA  The foreign agent now decapsulates the packet, i.e., removes the additional header, and forwards the original packet with CN as source and MN as destination to the MN 13. What are the key mechanisms associated with Mobile IP?
  4. Discovering the Care-of-Address
  5. Registering the Care-of-Address
  6. Tunneling to the Care-of-Address 14. What do you mean by the term binding of mobile node? The association of the home address of a mobile node with a Care-Of-Address (COA) is called binding of mobile node.

10  It is used for sending requests from a web client (a browser) to a web server, returning web content (web pages) from the server back to the client.  FTP:  FTP stands for File Transfer Protocol  FTP takes care of file transmission between computers.

23. What is BOOTP? BOOTP stands for Boot Protocol. It used for booting (starting) computers from the network. 24. What are the various mechanisms used to improve traditional TCP performance? 1. Slow Start 2. Congestion Avoidance 3. Fast Retransmit / Fast Recovery 25. What are the various mechanisms used to improve TCP performance in Mobile Networks? 1. TCP in Single-hop Wireless Networks:  Indirect TCP (I-TCP)  Fast Retransmission  Snooping TCP (S-TCP)  Mobile TCP (M-TCP)  Freeze TCP (F-TCP) 2. TCP in Multi-hop Wireless Networks:  TCP-F (TCP Feedback) 26. List out indirect TCP advantages. May/June 2013  I-TCP does not require any changes in the TCP protocol as used by the hosts in the fixed network or other hosts in a wireless network that do not use this optimization. All current optimizations for TCP still work between the foreign agent and the correspondent host.  Due to the strict partitioning into two connections, transmission errors on the wireless link, i.e., lost packets cannot propagate into the fixed network 27. Define disadvantage of I-TCP.  The loss of the end-to-end semantics of TCP might cause problems if the foreign agent partitioning the TCP connection crashes.  The foreign agent must be a trusted entity because the TCP connections end at this point. If users apply end-to-end encryption. 28. What is meant by Snooping TCP?  The main function of the enhancement is to buffer data close to the mobile host to perform fast local retransmission in case of packet loss.  In this approach, the foreign agent buffers all packets with destination mobile host and additionally ‘snoops’ the packet flow in both directions to recognize acknowledgements

11

29. List out advantage of M-TCP.  It maintains the TCP end-to-end semantics. The SH does not send any ACK itself but forwards the ACKs from the MH.  If the MH is disconnected, it avoids useless retransmissions, slow starts or breaking connections by simply shrinking the sender’s window to 0 30. Define fast retransmit and fast recovery.  The mechanisms of fast recovery/fast retransmit a host can use after receiving duplicate acknowledgements, thus concluding a packet loss without congestion.  As soon as the mobile host registers at a new foreign agent using mobile IP, it starts sending duplicated 31. Define time out freezing. May/June 12 and May/June 2013 Nov/Dec 2014 The MAC layer can inform the TCP layer of an upcoming loss of connection or that the current interruption is not caused by congestion. TCP can now stop sending and ‘freezes’ the current state of its congestion window and further timers 32. Define Selective retransmission. Nov / Dec 2012  If a single packet is lost, the sender has to retransmit everything starting from the lost packet (go-back-n retransmission). This obviously wastes bandwidth, not just in the case of a mobile network, but for any network (particularly those with a high path capacity, i.e., bandwidth delay- product  The advantage of this approach is obvious: a sender retransmits only the lost packets 33. List out disadvantage of M-TCP.  As the SH does not act as proxy as in I-TCP, packet loss on the wireless link due to bit errors is propagated to the sender. M-TCP assumes low bit error rates, which is not always a valid assumption.  A modified TCP on the wireless link not only requires modifications to the MH protocol software but also new network elements like the bandwidth manager 34. What are the possible locations for care of address? Nov/Dec 2013 The COA defines the current location of the MN from an IP point of view. All IP packets sent to the MN are delivered to the COA, not directly to the IP address of the MN. Packet delivery toward the MN is done using a tunnel, as explained later. To be more precise, the COA marks the tunnel endpoint, i.e., the address where packets exit the tunnel There are two different possibilities for the location of the COA:  Foreign agent COA  Co-located COA 35. What are the possible locations of Tunnel end point of Mobile IP? May/June 2014 A tunnel establishes a virtual pipe for data packets between a tunnel entry and a tunnel endpoint. Packets entering a tunnel are forwarded inside the tunnel and leave the tunnel unchanged. Tunneling, i.e., sending a packet through a tunnel is achieved by using encapsulation. The possible locations of Tunnel end point are

13

  1. Explain indirect TCP. [U] Nov /Dec 2011&12, May/June 12, May /June 2013, Nov/Dec
  2. Short notes on Snooping and Mobile TCP. [R] Nov /Dec 2011&12, May/June 12, May /June 2013, Nov/Dec 2013, May/June2014, Nov/Dec 2014 11. Write short notes on (i) TCP Tahoe (ii) TCP Reno [R] 12. Discuss and compare the various mechanisms used to improve the TCP performance. [An] May/June 2016 COURSE OUTCOME: An ability to explain the need of Mobile Internet Protocol and Transport Layer Protocol. UNIT III MOBILE TELECOMMUNICATION SYSTEM SYLLABUS: Global System for Mobile Communication (GSM) – General Packet Radio Service (GPRS) – Universal Mobile Telecommunication System (UMTS) COURSE OBJECTIVE: Learn the basics of mobile telecommunication system. **PART-A
  3. Expand GSM, GPRS and UMTS.** GSM – Global System for Mobile Communication GPRS – General Packet Radio Services UMTS – Universal Mobile Telecommunication Systems 2. What is meant by GSM? Global System for Mobile Communication (GSM) is a wide area wireless communications system that uses digital radio transmission to provide voice, data and multimedia communication services. A GSM system coordinates the communication between a mobile telephones (Mobile Stations), base stations (Cell Sites) and switching systems. 3. What is the important characteristic of GSM? GSM provides data services in addition to voice services and it is compatible to 1G system. 4. What is the use of GSM in mobile telecommunication? Nov/Dec 2011& May/June 12 This system was soon named the Global System for Mobile communications (GSM), The primary goal of GSM was to provide a mobile phone system that allows users to roam and provides voice services compatible to ISDN and other PSTN systems 5. Specify the three different categories of services defined by GSM  Bearer services  Tele services  Supplementary services

14

6. What is the use of emergency number? Another service offered by GSM is the emergency number. This service is mandatory for all providers and free of charge. This connection also has the highest priority, possibly pre-empting other connections, and will automatically be set up with the closest emergency center. 7. List the important supplementary services offered by GSM.  User Identification  Call Forwarding (or Redirection)  Automatic call-back  Conferencing with up to 7 participants 8. What is meant by SMS and EMS?  A useful service for very simple message transfer is the short message service(SMS), which offers transmission of messages of up to 160 characters  The successor of SMS, the Enhanced Message Service (EMS), offers a larger message size (e.g., 760 characters, concatenating several SMs), formatted text, and the transmission of animated pictures 9. What are the sub systems available in GMS?  Radio subsystem  Network and switching subsystem  Operation subsystem 10. What is RSS? RSS stands for Radio Sub System. It comprises of all radio specific entities. 11. Name the entities of RSS. 1. Mobile Station (MS) 2. Base Station Subsystem (BSS) 3. Base Transceiver Station (BTS) 4. Base Station Controller (BSC) 12. Classify the functions of HLR and VLR. Home Location Registers(HLR) Visitor Location Registers(VLR) HLR is a mobile operator database that includes details specific to each subscriber such as phone number, subscriber’s IMSI, pre/postpaid, user’s current location, billing details, phone status – parameters. VLR is a temporary database that is updated whenever a new MS enters its area by roaming. The information is obtained from the corresponding HLR. i.e., VLR supports roaming functions for users outside the coverage area of their own HLR. Basic Parameters stored in the HLR:  Subscriber ID (IMSI and MSISDN)  Current Locationo f the user  Supplementary Services Subscriber to (Caller Tone, Missed Call Alert, Any The additional data stored in the VLR in telecom is listed below:

  1. Location Area Identity (LAI).
  2. Temporary Mobile Subscriber Identity (TMSI).

16

17. What is meant by GPRS? May/June 12 GPRS (General Packet Radio Services) is a packet-oriented mobile data service on the GSM of 3G and 2G cellular communication systems. It is a non-voice, high-speed and useful packet-switching technology for GSM networks. 18. List out the features of GPRS. 1. Speed 2. Immediacy 3. Packet Switched Resource Allocation (Spectrum Efficiency) 4. Flexible Channel Allocation 5. Traffic characteristics suitable for GPRS 6. Mobility 7. Localization 19. Explain in what ways is GPRS better than GSM? GSM uses a billing system based on the time of connection whereas GPRS uses a billing system based on the amount of transmitted data. 20. What are the goals of GPRS? 1. Open Architecture 2. Consistent IP services 3. Same infrastructure for different air interfaces 4. Integrated telephony and Internet infrastructure 5. Service innovation independent of infrastructure 21. What are the services offered by GPRS? GPRS offers end-to-end packet-switched data transfer services which can be categorized into the following two types:

  1. Point-To-Point Service (PTP): It is between two users and can either be connectionless or connection-oriented.
  2. Point-To-Multipoint Service (PTM): It is a data transfer service from one user to multiple users. 22. Point out the purpose of EIR in Mobile Computing. Equipment Identity Register (EIR) is a database that used to track handsets using the IMEI. It helps to block calls from stolen, unauthorized, or defective mobiles. 23. What is the use of VOIP? May/June 2013 Voice over Internet protocol, a technology for making telephone calls over the Internet in which speech sounds are converted into binary. 24. What is meant by roaming? In wireless telecommunications, roaming is a general term referring to the extension of connectivity service in a location that is different from the home location where the service was registered. Roaming ensures that the wireless device is kept connected to the network, without losing the connection

17

25. What is the function of GGSN? May/June 2014  The gateway GPRS support node (GGSN) is the interworking unit between the GPRS network and external packet data networks (PDN). This node contains routing information for GPRS users, performs address conversion, and tunnels data to a user via encapsulation.  The GGSN is connected to external networks (e.g., IP or X.25) via the Gi interface and transfers packets to the SGSN via an IP-based GPRS backbone network (Gn interface). 26. What is UMTS? The Universal Mobile Telecommunications System (UMTS) is a 3G mobile communication system that provides a range of broadband services to wireless and mobile communications. The UMTS was developed mainly for countries with GSM networks. 27. What are the main elements of UMTS? May/June 2016

  1. User Equipment / Mobile Station (MS): is the name by which a cell phone is referred to
  2. Radio Network Subsystem (RNS): Equivalent of Base Station Subsystem (BSS) in GSM. It provides and manages the wireless interface for the overall network.
  3. Core Network (CN): Equivalent of the Network Switching Subsystem (NSS) in GSM. **28. Draw Architecture of UMTS?
  4. List out UMTS Problems.**  Require more battery power  Can handoff UMTS to GSM but not GSM to UMTS  Initial poor coverage  More expensive than GSM PART-B
  5. Explain GSM architecture and its services with neat diagram. [U] Nov/Dec2011&12, May/June 12, May /June 2013, Nov/Dec 2013, May/June 2014, Nov/Dec2014, May/June 2016

19

  1. Mobility allows ad hoc networks created on the fly in any situation where there are multiple wireless devices.
  2. Flexible ad hoc can be temporarily setup at any time, in any place.
  3. Lower getting - started costs due to decentralized administration.
  4. The nodes in ad hoc network need not rely on any hardware and software. So, it can be connected and communicated quickly. 5. What are the key challenges in ad hoc networks?
  5. All network entities may be mobile ⇒ very dynamic topology
  6. Network functions must have high degree of adaptability (mobility, outage)
  7. No central entities ⇒ operation in completely distributed manner 6. What is meant by MANET? A mobile ad hoc network (MANET) is a continuously self-configuring, infrastructure-less network of mobile devices connected without wires. MANETs are established and maintained on the fly and work without the support of any form of fixed infrastructure such as base station or an access point. 7. Give the difference between cellular and ad-hoc networks. S.No Cellular Networks Ad-hoc Networks 1 Infrastructure Networks Infrastructure-less Networks 2 Fixed, pre-located cell sites and base stations No base station and rapid deployment 3 Static backbone network topology Highly dynamic network topologies 4 Relatively caring environment and stable connectivity Hostile environment and irregular connectivity 5 Detailed planning before base station can be installed Ad-hoc networks automatically forms and adapts to changes 6 High setup costs Cost-effective 7 Large setup time Less setup time 8. List out the characteristics of MANETs. May/June 2016
  1. Lack of fixed infrastructure
  2. Dynamic Topologies
  3. Bandwidth constrained, variable capacity links
  4. Energy Constrained Operation
  5. Increased Vulnerability
  6. Distributed peer-to-peer mode of operation
  7. Multi-hop Routing
  8. Autonomous Terminal
  9. Lightweight Terminals
  10. Shared Physical Medium 9. Analyze the operational constraints (challenges) associated with MANET.
  1. Low Processing Capabilities & low bandwidth

20

  1. Computational & Communication overhead
  2. Mobility-induced route changes
  3. Battery Constraints
  4. Packet losses due to transmission errors
  5. Security Threats
  6. Dynamic Topology 10. What are the advantages of MANETs?  They provide access to information and services regardless of geographic position.  Independence from central network administration  Self-configuring network, nodes are also act as routers. Less expensive as compared to wired network.  Scalable—accommodates the addition of more nodes.  Improved Flexibility.  Robust due to decentralize administration.  The network can be set up at any place and time. 11. What are the disadvantages of MANET?
  7. Limited Resource
  8. Limited Physical Security
  9. Vulnerable to attacks. Lack of authorization facilitates
  10. Variable network topology makes it hard to detect malicious nodes
  11. Security protocols for wired network cannot work for adhoc network
  12. Battery constraints
  13. Frequent route changes leads to computational overhead 12. List out some of the applications of MANETs. Some of the typical applications include:
  1. Communication among portable computers
  2. Environmental Monitoring
  3. Sensor Networks
  4. Military Sector
  5. Personal Area Network and Bluetooth
  6. Emergency Applications 13. Analyze and list out the various design issues associated with MANET.
  7. Network Size and Node Density
  8. Connectivity
  9. Network Topology
  10. User Traffic
  11. Operational Environment
  12. Energy Constraints 14. What is meant by routing in ad hoc networks? “Routing is the process of finding the best path between the source and the destination for forwarding packets in any store-and-forward network. Routing is the mechanism of forwarding