SlideShare uma empresa Scribd logo
1 de 21
ALTERNATIVE METRICS
In a fixed networks e.g. Bandwidth can also be a factor for the routing metric.
Due to the varying link quality and the fact that different transmissions can
interface other metrics can be more useful.
One other metric called least interference routing (LIR)
• LIR ( Least Interference Routing) :-
• LIR is very simple to implement only information from direct neighbors
• necessary.
• Takes possible interference into account.
• Calculate the cost of path based on the No. of stations that can receive a
• transmission.
1
• MMRCR:- (Max-Min Residual Capacity routing)
•
• Calculate the cost of path based on a probability
function of successful;
• transmissions and interference.
LRR (Least Resistance Routing)
• Calculate the cost of path based on interference,
jamming & other
• transmissions.
2
3
Sender S1 wants to send a packet to receiver R1,& S2 to R2.
Using the hop count as metric S1 could choose three different paths with three
hops which is also the minimum.
S1 to R1
Possible paths are (S1,N3,N4,R1)
(S1,N3,N2,R1)
(S1,N!,N2,R1)]
S2 to R2
Possible paths are ( S2,N5,N6,R2)
Taking Interference into account . To calculate the possible interference of a path
each node calculates its possible interference
Interference:-
The number of neighbors that can overhear a transmission .
Every node only needs local information to compute its interference
In this example the Interference of node N3 is 6 and for node N4 is 5 etc.
4
Calculating the costs of possible path between S1 and R1 results in the following
C1 = cost(S1,N3,N4,R1) = 16
C2=cost(S1,N3,N2,R1) = 15
C3 = cost(S1,N1,N2,R1) = 12
All three paths have the same number of hops but the last path has the lowest
cost due to interference.
S1 chooses (S1,N1,N2,R1)
S2 also computes the cost of different paths
C4=cost(S2,N5,N6,R2) = 16
C5=cost(S2,N7,N8,N9,R2)=15
S2 chooses the path (S2,N2,N8,N9,R2).
5
- Routing can take place several metrics into account at the same time and
weigh them.
Metrics could be the
Number of hops h
interference i
reliability r
error rate e
6
ACTIVITY-1 :
POGIL – Random Groups (7) – With the understanding of Routing, the students will
be made to discuss the concepts of IP Routing Protocols like,
OSPF (Open Shortest Path First)
IS-IS (Intermediate System-to-Intermediate System)
BGP (Border Gateway Protocol
Representative of the groups will summarize the points and share in class.
7
8
Protocol support for mobility
IPV4, DHCP, HTTP,SMTP,TCP/IP,FTP , etc..
Changes in IPv6 for Mobile IPv6
• A set of mobility options to include in mobility messages
• A new Home Address option for the Destination Options header
• A new Type 2 Routing header
• New Internet Control Message Protocol for IPv6 (ICMPv6) messages to discover
the set of home agents and to obtain the prefix of the home link
• Changes to router discovery messages and options and additional Neighbor
Discovery options
• Foreign Agents are no longer needed
File systems – Motivation
Goal
• efficient and transparent access to shared files within a mobile environment while
maintaining data consistency.
Problems
• limited resources of mobile computers (memory, CPU, ...)
• low bandwidth, variable bandwidth, temporary disconnection
• high heterogeneity of hardware and software components (no standard PC
architecture)
• wireless network resources and mobile computer are not very reliable
• standard file systems (e.g., NFS, network file system) are very inefficient, almost
unusable
Solutions
• replication of data (copying, cloning, caching)
• data collection in advance (hoarding, pre-fetching)
9
File systems - consistency problems
• THE big problem of distributed, loosely coupled systems
• are all views on data the same?
• how and when should changes be propagated to what users?
Weak Consistency
• many algorithms offering strong consistency (e.g., via atomic updates) cannot be
used in mobile environments
• invalidation of data located in caches through a server is very problematic if the
mobile computer is currently not connected to the network
• occasional inconsistencies have to be tolerated, but conflict resolution strategies
must be applied afterwards to reach
consistency again
• Conflict detection
• content independent: version numbering, time-stamps
• content dependent: dependency graphs
10
8.11
Database systems in mobile environments
• Request processing
– power conserving, location dependent, cost efficient
– example: find the fastest way to a hospital
• Replication management
– similar to file systems
• Location management
– tracking of mobile users to provide replicated or location
dependent data in time at the right place (minimize access
delays)
– example: with the help of the HLR (Home Location Register)
in GSM a mobile user can find a local towing service
• Transaction processing
– “mobile” transactions can not necessarily rely on the same
models as transactions over fixed networks (ACID: atomicity,
consistency, isolation, durability)
– therefore models for “weak” transaction
12
ACTIVITY-2 :
JIGSAW – Column wise groups (5) – Students will be motivated to make a discussion
on Features and Various Versions of NFS. Conclude points in each group and share
among the fellow-mates
8.13
World Wide Web and mobility
• Protocol (HTTP, Hypertext Transfer Protocol) and
language (HTML, Hypertext Markup Language) of the
Web have not been designed for mobile applications
and mobile devices, thus creating many problems!
• Typical transfer sizes
– HTTP request: 100-350 byte
– responses avg. <10 kbyte, header 160 byte, GIF 4.1kByte,
JPEG 12.8 kbyte, HTML 5.6 kbyte
– but also many large files that cannot be ignored
• The Web is no file system
– Web pages are not simple files to download
– static and dynamic content, interaction with servers via
forms, content transformation, push technologies etc.
– many hyperlinks, automatic loading and reloading,
redirecting
– a single click might have big consequences!
8.14
HTTP 1.0 and mobility I
• Characteristics
– stateless, client/server, request/response
– needs a connection oriented protocol (TCP), one connection
per request (some enhancements in HTTP 1.1)
– primitive caching and security
• Problems
– designed for large bandwidth (compared to wireless access)
and low delay
– large and redundant protocol headers (readable for
humans, stateless, therefore large headers in ASCII)
– uncompressed content transfer
– using TCP
• huge overhead per request (3-way-handshake) compared with
the content, e.g., of a GET request
• slow-start problematic as is without having to deal with the
wireless problem
– DNS lookup by client causes additional traffic and delays
8.15
HTTP 1.0 and mobility II
• Caching
– quite often disabled by information providers to be able to create user
profiles, usage statistics etc.
– dynamic objects cannot be cached
• numerous counters, time, date, personalization, ...
– mobility quite often inhibits caches
– security problems
• caches cannot work with authentication mechanisms that are contracts between client
and server and not the cache
– today: many user customized pages, dynamically generated on request via
CGI, ASP, ...
• POSTing (i.e., sending to a server)
– can typically not be buffered, very problematic if currently disconnected
• Many unsolved problems!
8.16
HTML and mobile devices
• HTML
– designed for computers with “high” performance, color
high-resolution display, mouse, hard disk
– typically, web pages optimized for design, not for
communication
• Mobile devices
– often only small, low-resolution displays, very limited input
interfaces (small touch-pads, soft-keyboards)
• Additional “features”
– animated GIF, Java AWT, Frames, ActiveX Controls,
Shockwave, movie clips, audio, ...
– many web pages assume true color, multimedia support,
high-resolution and many plug-ins
• Web pages ignore the heterogeneity of end-systems!
– e.g., without additional mechanisms, large high-resolution
pictures would be transferred to a mobile phone with a low-
resolution display causing high costs
8.17
Approaches toward a WWW for mobile devices
• Application gateways, enhanced servers
– simple clients, pre-calculations in the fixed network
– Compression, transcoding, filtering, content extraction
– automatic adaptation to network characteristics
• Examples
– picture scaling, color reduction, transformation of the document format (e.g., PS to
TXT)
– Present only parts of the image: detail studies, clipping, zooming
– headline extraction, automatic abstract generation
– HDML (handheld device markup language): simple language similar to HTML
requiring a special browser, developed by Unwired Planet
– HDTP (handheld device transport protocol): transport protocol for HDML,
developed by Unwired Planet
• Problems
– proprietary approaches, require special enhancements for browsers
– heterogeneous devices make approaches more complicated
8.18
mobile client
browser
integrated
enhancement
System support for WWW in a mobile
world I
• Enhanced browsers
– Pre-fetching, caching, off-line use
– e.g. Internet Explorer
web
server
8.19
System support for WWW in a mobile
world II
• Client Proxy
– Pre-fetching, caching, off-line use
– e.g., Caubweb, TeleWeb, Weblicator,
WebWhacker, WebEx, WebMirror,
...
mobile client
browser
client
proxy
web
server
8.20
System support for WWW in a mobile world III
• Client and network proxy
– combination of benefits plus
simplified protocols
– e.g., MobiScape, WebExpress
• Special network subsystem
– adaptive content transformation
for bad connections, pre-fetching,
caching
– e.g., Mowgli
• Additional many proprietary server
extensions possible
– “channels”, content negotiation, ...
mobile client
browser
web
server
mobile client
browser
client
proxy
web
server
network
proxy
client
proxy
network
proxy
• ACTIVITY-3 – ROLEPLAY – Students assuming
them as the protocols of WWW and its
mobility services and enact the
functionalities of them. (HTTP,FTP, SMTP)
21

Mais conteúdo relacionado

Mais procurados

Lecture 19 22. transport protocol for ad-hoc
Lecture 19 22. transport protocol for ad-hoc Lecture 19 22. transport protocol for ad-hoc
Lecture 19 22. transport protocol for ad-hoc
Chandra Meena
 
Mobile transportlayer
Mobile transportlayerMobile transportlayer
Mobile transportlayer
Rahul Hada
 
Flow & Error Control
Flow & Error ControlFlow & Error Control
Flow & Error Control
tameemyousaf
 
Multicasting and multicast routing protocols
Multicasting and multicast routing protocolsMulticasting and multicast routing protocols
Multicasting and multicast routing protocols
Abhishek Kesharwani
 

Mais procurados (20)

Lecture 19 22. transport protocol for ad-hoc
Lecture 19 22. transport protocol for ad-hoc Lecture 19 22. transport protocol for ad-hoc
Lecture 19 22. transport protocol for ad-hoc
 
Mobile transportlayer
Mobile transportlayerMobile transportlayer
Mobile transportlayer
 
Data dissemination
Data disseminationData dissemination
Data dissemination
 
19 Network Layer Protocols
19 Network Layer Protocols19 Network Layer Protocols
19 Network Layer Protocols
 
Routing protocols for ad hoc wireless networks
Routing protocols for ad hoc wireless networks Routing protocols for ad hoc wireless networks
Routing protocols for ad hoc wireless networks
 
Mobile Network Layer
Mobile Network LayerMobile Network Layer
Mobile Network Layer
 
Flow & Error Control
Flow & Error ControlFlow & Error Control
Flow & Error Control
 
Leaky bucket algorithm
Leaky bucket algorithmLeaky bucket algorithm
Leaky bucket algorithm
 
Computer networks unit ii
Computer networks    unit iiComputer networks    unit ii
Computer networks unit ii
 
Network layer
Network layerNetwork layer
Network layer
 
Chapter 11: Data Link Control
Chapter 11: Data Link ControlChapter 11: Data Link Control
Chapter 11: Data Link Control
 
Mobile computing : Indirect TCP
Mobile computing : Indirect TCPMobile computing : Indirect TCP
Mobile computing : Indirect TCP
 
Lecture 15
Lecture 15Lecture 15
Lecture 15
 
IPV4 Frame Format
IPV4 Frame FormatIPV4 Frame Format
IPV4 Frame Format
 
Cs8601 4
Cs8601 4Cs8601 4
Cs8601 4
 
Wireless networking_ASRao
Wireless networking_ASRaoWireless networking_ASRao
Wireless networking_ASRao
 
Qos Quality of services
Qos   Quality of services Qos   Quality of services
Qos Quality of services
 
Multicasting and multicast routing protocols
Multicasting and multicast routing protocolsMulticasting and multicast routing protocols
Multicasting and multicast routing protocols
 
Agent discovery& registration
Agent discovery& registrationAgent discovery& registration
Agent discovery& registration
 
transport layer
transport layertransport layer
transport layer
 

Semelhante a Alternative metrics

Web technologies: recap on TCP-IP
Web technologies: recap on TCP-IPWeb technologies: recap on TCP-IP
Web technologies: recap on TCP-IP
Piero Fraternali
 

Semelhante a Alternative metrics (20)

Sept 2017 internetworking
Sept 2017   internetworkingSept 2017   internetworking
Sept 2017 internetworking
 
WAP
WAPWAP
WAP
 
Link_NwkingforDevOps
Link_NwkingforDevOpsLink_NwkingforDevOps
Link_NwkingforDevOps
 
IT8602 Mobile Communication - Unit V
IT8602 Mobile Communication - Unit V IT8602 Mobile Communication - Unit V
IT8602 Mobile Communication - Unit V
 
E-Management, Archival and Retrieval of documents/Office Networking System
E-Management, Archival and Retrieval of documents/Office Networking SystemE-Management, Archival and Retrieval of documents/Office Networking System
E-Management, Archival and Retrieval of documents/Office Networking System
 
Network cost services
Network cost servicesNetwork cost services
Network cost services
 
Qo s rsvp......
Qo s rsvp......Qo s rsvp......
Qo s rsvp......
 
DS Unit-4-Communication .pdf
DS Unit-4-Communication .pdfDS Unit-4-Communication .pdf
DS Unit-4-Communication .pdf
 
Wiki2010 Unit 4
Wiki2010 Unit 4Wiki2010 Unit 4
Wiki2010 Unit 4
 
1.CN-PPT.ppt
1.CN-PPT.ppt1.CN-PPT.ppt
1.CN-PPT.ppt
 
CN Unit-1 PPT.pptx
CN Unit-1 PPT.pptxCN Unit-1 PPT.pptx
CN Unit-1 PPT.pptx
 
Web technologies: recap on TCP-IP
Web technologies: recap on TCP-IPWeb technologies: recap on TCP-IP
Web technologies: recap on TCP-IP
 
network basics
network basicsnetwork basics
network basics
 
Tv and video on the Internet
Tv and video on the InternetTv and video on the Internet
Tv and video on the Internet
 
A Platform for Data Intensive Services Enabled by Next Generation Dynamic Opt...
A Platform for Data Intensive Services Enabled by Next Generation Dynamic Opt...A Platform for Data Intensive Services Enabled by Next Generation Dynamic Opt...
A Platform for Data Intensive Services Enabled by Next Generation Dynamic Opt...
 
C/S archtecture including basic networking
C/S archtecture including basic networkingC/S archtecture including basic networking
C/S archtecture including basic networking
 
Intro RINA
Intro RINAIntro RINA
Intro RINA
 
Lecture3 - Computer Networks by the Professor.ppt
Lecture3 - Computer Networks by the Professor.pptLecture3 - Computer Networks by the Professor.ppt
Lecture3 - Computer Networks by the Professor.ppt
 
ODP Presentation LinuxCon NA 2014
ODP Presentation LinuxCon NA 2014ODP Presentation LinuxCon NA 2014
ODP Presentation LinuxCon NA 2014
 
internet network for o level
 internet network for o level  internet network for o level
internet network for o level
 

Mais de Parthipan Parthi (20)

Inheritance
Inheritance Inheritance
Inheritance
 
Switch statement mcq
Switch statement  mcqSwitch statement  mcq
Switch statement mcq
 
Oprerator overloading
Oprerator overloadingOprerator overloading
Oprerator overloading
 
802.11 mac
802.11 mac802.11 mac
802.11 mac
 
Ieee 802.11 wireless lan
Ieee 802.11 wireless lanIeee 802.11 wireless lan
Ieee 802.11 wireless lan
 
Computer network
Computer networkComputer network
Computer network
 
Ieee 802.11 wireless lan
Ieee 802.11 wireless lanIeee 802.11 wireless lan
Ieee 802.11 wireless lan
 
Session 6
Session 6Session 6
Session 6
 
Queuing analysis
Queuing analysisQueuing analysis
Queuing analysis
 
Ethernet
EthernetEthernet
Ethernet
 
Ieee 802.11 wireless lan
Ieee 802.11 wireless lanIeee 802.11 wireless lan
Ieee 802.11 wireless lan
 
Data structures1
Data structures1Data structures1
Data structures1
 
Data structures 4
Data structures 4Data structures 4
Data structures 4
 
Data structures2
Data structures2Data structures2
Data structures2
 
Data structures 3
Data structures 3Data structures 3
Data structures 3
 
Input output streams
Input output streamsInput output streams
Input output streams
 
Io stream
Io streamIo stream
Io stream
 
Dbms lab questions
Dbms lab questionsDbms lab questions
Dbms lab questions
 
REVERSIBLE DATA HIDING WITH GOOD PAYLOAD DISTORTIONPpt 3
REVERSIBLE DATA HIDING WITH GOOD PAYLOAD DISTORTIONPpt 3 REVERSIBLE DATA HIDING WITH GOOD PAYLOAD DISTORTIONPpt 3
REVERSIBLE DATA HIDING WITH GOOD PAYLOAD DISTORTIONPpt 3
 
New syllabus combined_civil_services
New syllabus combined_civil_servicesNew syllabus combined_civil_services
New syllabus combined_civil_services
 

Último

Salient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsSalient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functions
KarakKing
 

Último (20)

On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan Fellows
 
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptxCOMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
 
Google Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptxGoogle Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptx
 
Plant propagation: Sexual and Asexual propapagation.pptx
Plant propagation: Sexual and Asexual propapagation.pptxPlant propagation: Sexual and Asexual propapagation.pptx
Plant propagation: Sexual and Asexual propapagation.pptx
 
Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024
 
Fostering Friendships - Enhancing Social Bonds in the Classroom
Fostering Friendships - Enhancing Social Bonds  in the ClassroomFostering Friendships - Enhancing Social Bonds  in the Classroom
Fostering Friendships - Enhancing Social Bonds in the Classroom
 
How to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptxHow to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptx
 
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptxExploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
 
Single or Multiple melodic lines structure
Single or Multiple melodic lines structureSingle or Multiple melodic lines structure
Single or Multiple melodic lines structure
 
ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.
 
General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17
 
Interdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptxInterdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptx
 
Wellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptxWellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptx
 
SOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning PresentationSOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning Presentation
 
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptxHMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
 
How to Add New Custom Addons Path in Odoo 17
How to Add New Custom Addons Path in Odoo 17How to Add New Custom Addons Path in Odoo 17
How to Add New Custom Addons Path in Odoo 17
 
Salient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsSalient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functions
 
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docx
 

Alternative metrics

  • 1. ALTERNATIVE METRICS In a fixed networks e.g. Bandwidth can also be a factor for the routing metric. Due to the varying link quality and the fact that different transmissions can interface other metrics can be more useful. One other metric called least interference routing (LIR) • LIR ( Least Interference Routing) :- • LIR is very simple to implement only information from direct neighbors • necessary. • Takes possible interference into account. • Calculate the cost of path based on the No. of stations that can receive a • transmission. 1
  • 2. • MMRCR:- (Max-Min Residual Capacity routing) • • Calculate the cost of path based on a probability function of successful; • transmissions and interference. LRR (Least Resistance Routing) • Calculate the cost of path based on interference, jamming & other • transmissions. 2
  • 3. 3
  • 4. Sender S1 wants to send a packet to receiver R1,& S2 to R2. Using the hop count as metric S1 could choose three different paths with three hops which is also the minimum. S1 to R1 Possible paths are (S1,N3,N4,R1) (S1,N3,N2,R1) (S1,N!,N2,R1)] S2 to R2 Possible paths are ( S2,N5,N6,R2) Taking Interference into account . To calculate the possible interference of a path each node calculates its possible interference Interference:- The number of neighbors that can overhear a transmission . Every node only needs local information to compute its interference In this example the Interference of node N3 is 6 and for node N4 is 5 etc. 4
  • 5. Calculating the costs of possible path between S1 and R1 results in the following C1 = cost(S1,N3,N4,R1) = 16 C2=cost(S1,N3,N2,R1) = 15 C3 = cost(S1,N1,N2,R1) = 12 All three paths have the same number of hops but the last path has the lowest cost due to interference. S1 chooses (S1,N1,N2,R1) S2 also computes the cost of different paths C4=cost(S2,N5,N6,R2) = 16 C5=cost(S2,N7,N8,N9,R2)=15 S2 chooses the path (S2,N2,N8,N9,R2). 5
  • 6. - Routing can take place several metrics into account at the same time and weigh them. Metrics could be the Number of hops h interference i reliability r error rate e 6
  • 7. ACTIVITY-1 : POGIL – Random Groups (7) – With the understanding of Routing, the students will be made to discuss the concepts of IP Routing Protocols like, OSPF (Open Shortest Path First) IS-IS (Intermediate System-to-Intermediate System) BGP (Border Gateway Protocol Representative of the groups will summarize the points and share in class. 7
  • 8. 8 Protocol support for mobility IPV4, DHCP, HTTP,SMTP,TCP/IP,FTP , etc.. Changes in IPv6 for Mobile IPv6 • A set of mobility options to include in mobility messages • A new Home Address option for the Destination Options header • A new Type 2 Routing header • New Internet Control Message Protocol for IPv6 (ICMPv6) messages to discover the set of home agents and to obtain the prefix of the home link • Changes to router discovery messages and options and additional Neighbor Discovery options • Foreign Agents are no longer needed
  • 9. File systems – Motivation Goal • efficient and transparent access to shared files within a mobile environment while maintaining data consistency. Problems • limited resources of mobile computers (memory, CPU, ...) • low bandwidth, variable bandwidth, temporary disconnection • high heterogeneity of hardware and software components (no standard PC architecture) • wireless network resources and mobile computer are not very reliable • standard file systems (e.g., NFS, network file system) are very inefficient, almost unusable Solutions • replication of data (copying, cloning, caching) • data collection in advance (hoarding, pre-fetching) 9
  • 10. File systems - consistency problems • THE big problem of distributed, loosely coupled systems • are all views on data the same? • how and when should changes be propagated to what users? Weak Consistency • many algorithms offering strong consistency (e.g., via atomic updates) cannot be used in mobile environments • invalidation of data located in caches through a server is very problematic if the mobile computer is currently not connected to the network • occasional inconsistencies have to be tolerated, but conflict resolution strategies must be applied afterwards to reach consistency again • Conflict detection • content independent: version numbering, time-stamps • content dependent: dependency graphs 10
  • 11. 8.11 Database systems in mobile environments • Request processing – power conserving, location dependent, cost efficient – example: find the fastest way to a hospital • Replication management – similar to file systems • Location management – tracking of mobile users to provide replicated or location dependent data in time at the right place (minimize access delays) – example: with the help of the HLR (Home Location Register) in GSM a mobile user can find a local towing service • Transaction processing – “mobile” transactions can not necessarily rely on the same models as transactions over fixed networks (ACID: atomicity, consistency, isolation, durability) – therefore models for “weak” transaction
  • 12. 12 ACTIVITY-2 : JIGSAW – Column wise groups (5) – Students will be motivated to make a discussion on Features and Various Versions of NFS. Conclude points in each group and share among the fellow-mates
  • 13. 8.13 World Wide Web and mobility • Protocol (HTTP, Hypertext Transfer Protocol) and language (HTML, Hypertext Markup Language) of the Web have not been designed for mobile applications and mobile devices, thus creating many problems! • Typical transfer sizes – HTTP request: 100-350 byte – responses avg. <10 kbyte, header 160 byte, GIF 4.1kByte, JPEG 12.8 kbyte, HTML 5.6 kbyte – but also many large files that cannot be ignored • The Web is no file system – Web pages are not simple files to download – static and dynamic content, interaction with servers via forms, content transformation, push technologies etc. – many hyperlinks, automatic loading and reloading, redirecting – a single click might have big consequences!
  • 14. 8.14 HTTP 1.0 and mobility I • Characteristics – stateless, client/server, request/response – needs a connection oriented protocol (TCP), one connection per request (some enhancements in HTTP 1.1) – primitive caching and security • Problems – designed for large bandwidth (compared to wireless access) and low delay – large and redundant protocol headers (readable for humans, stateless, therefore large headers in ASCII) – uncompressed content transfer – using TCP • huge overhead per request (3-way-handshake) compared with the content, e.g., of a GET request • slow-start problematic as is without having to deal with the wireless problem – DNS lookup by client causes additional traffic and delays
  • 15. 8.15 HTTP 1.0 and mobility II • Caching – quite often disabled by information providers to be able to create user profiles, usage statistics etc. – dynamic objects cannot be cached • numerous counters, time, date, personalization, ... – mobility quite often inhibits caches – security problems • caches cannot work with authentication mechanisms that are contracts between client and server and not the cache – today: many user customized pages, dynamically generated on request via CGI, ASP, ... • POSTing (i.e., sending to a server) – can typically not be buffered, very problematic if currently disconnected • Many unsolved problems!
  • 16. 8.16 HTML and mobile devices • HTML – designed for computers with “high” performance, color high-resolution display, mouse, hard disk – typically, web pages optimized for design, not for communication • Mobile devices – often only small, low-resolution displays, very limited input interfaces (small touch-pads, soft-keyboards) • Additional “features” – animated GIF, Java AWT, Frames, ActiveX Controls, Shockwave, movie clips, audio, ... – many web pages assume true color, multimedia support, high-resolution and many plug-ins • Web pages ignore the heterogeneity of end-systems! – e.g., without additional mechanisms, large high-resolution pictures would be transferred to a mobile phone with a low- resolution display causing high costs
  • 17. 8.17 Approaches toward a WWW for mobile devices • Application gateways, enhanced servers – simple clients, pre-calculations in the fixed network – Compression, transcoding, filtering, content extraction – automatic adaptation to network characteristics • Examples – picture scaling, color reduction, transformation of the document format (e.g., PS to TXT) – Present only parts of the image: detail studies, clipping, zooming – headline extraction, automatic abstract generation – HDML (handheld device markup language): simple language similar to HTML requiring a special browser, developed by Unwired Planet – HDTP (handheld device transport protocol): transport protocol for HDML, developed by Unwired Planet • Problems – proprietary approaches, require special enhancements for browsers – heterogeneous devices make approaches more complicated
  • 18. 8.18 mobile client browser integrated enhancement System support for WWW in a mobile world I • Enhanced browsers – Pre-fetching, caching, off-line use – e.g. Internet Explorer web server
  • 19. 8.19 System support for WWW in a mobile world II • Client Proxy – Pre-fetching, caching, off-line use – e.g., Caubweb, TeleWeb, Weblicator, WebWhacker, WebEx, WebMirror, ... mobile client browser client proxy web server
  • 20. 8.20 System support for WWW in a mobile world III • Client and network proxy – combination of benefits plus simplified protocols – e.g., MobiScape, WebExpress • Special network subsystem – adaptive content transformation for bad connections, pre-fetching, caching – e.g., Mowgli • Additional many proprietary server extensions possible – “channels”, content negotiation, ... mobile client browser web server mobile client browser client proxy web server network proxy client proxy network proxy
  • 21. • ACTIVITY-3 – ROLEPLAY – Students assuming them as the protocols of WWW and its mobility services and enact the functionalities of them. (HTTP,FTP, SMTP) 21