mobile web network

41
Mobile Web network Presenter: Chen Jen

Upload: chenjennan

Post on 18-Dec-2014

1.306 views

Category:

Technology


2 download

DESCRIPTION

 

TRANSCRIPT

Page 1: Mobile Web Network

Mobile Web network

Presenter: Chen Jen

Page 2: Mobile Web Network

Outline

Introduction Network servers Network architecture Reference

Page 3: Mobile Web Network

Introduction

Network elements User’s mobile terminal Application server Context manager Service directory Web services

Page 4: Mobile Web Network

Introduction

Network elements - continue Authorization Authentication Accounting Wireless gateway

Page 5: Mobile Web Network

Network servers

Network servers provide Security functions Authenticate users Application and database interact Dynamic content tailored

User request Their preferences Client terminal limitations

Page 6: Mobile Web Network

Network servers

Network server’s infrastructure Multi-processing to handle multiple

client requests Simultaneous backend database

queries Client session management Page caching Data streaming

Page 7: Mobile Web Network

Network servers

Session management is important Perform multiple related

interactions For example

Ecommerce is shopping cart Travel – specify source and

destination locations

Page 8: Mobile Web Network

Network servers

Network servers provide application development framework Application programming interfaces (API

s) Software development kits (SDKs)

For example – Sun’s iPlanet server J2EE platform (Java 2 Platform, Enterpris

e Edition)

Page 9: Mobile Web Network

Network servers

J2EE platform includes Servlets JSP (Java Server Pages) EJBs (Enterprise JavaBeans)

Servlets is following a user invocation JSP is exported dynamic page EJBs provide server-side services

Page 10: Mobile Web Network

Network servers

Servlets functions Process form input Access EJBs to control business logic Calling JSP to export page output

Page 11: Mobile Web Network

Network servers

JSP functions Call Java code Draw on an XSLT translation engine Associated XSL style sheet Apply to XML content

Page 12: Mobile Web Network

Network servers

EJBs services Database access Writing to log files Client session tracking

Two kinds of EJB components Entity beans Session beans

Page 13: Mobile Web Network

Network servers

Entity beans functions Share by multiple clients Persistent data in a database Support corresponding transactions

Page 14: Mobile Web Network

Network servers

Session beans functions Support a single client Relatively short-lived Invoke client application

For example Shopping cart

Page 15: Mobile Web Network

Network server J2EE application components

XHTML input form / output page

Servlet

JSP

Session bean

Entitybean

Entitybean

Database

PresentationTier

Business LogicTier

Mobileterminal

Page 16: Mobile Web Network

Network architecture

Introduction Mobile terminal Application server Context manager Service directory

Page 17: Mobile Web Network

Network architecture

Web services AAA server Wireless gateway

Page 18: Mobile Web Network

Network architecture –introduction

Mobile Web network = infrastructure-centric Most support functions are hosted in

network server Mobile terminal only display purposes

Network server is arbitrary

Page 19: Mobile Web Network

Mobile Web service network

Mobileterminal

WWAN

WLAN

Mobileterminal

Network

Applicationserver

Contextmanager

Service directory

Web services AAA server

Wireless gateway

Page 20: Mobile Web Network

Mobile terminal

Mobile terminals are thin-client browser devices

It also support application J2ME (Java 2 Platform, Micro-Edition)

Page 21: Mobile Web Network

Mobile terminal Network servers are advantage

Powerful processing capabilities Readily access multiple network

databases Powerful search Filter capabilities for content generation

Mobile terminal must support some functions For example - GPS

Page 22: Mobile Web Network

Application server

Application server hosts the front-end application Collecting user preferences Forwarding this information to the

Context Manager

Page 23: Mobile Web Network

Application server

Application server receipt process of requests First authenticate by sending queries

to the AAA server Information request is forwarded to

the Context Manager. Generate markup

Page 24: Mobile Web Network

Application server

Application server generates markup Invoking an XSLT processor Submitting the information

XML form Web service specific style sheet

Page 25: Mobile Web Network

Context manager

Context manager hosts the back-end application logic Query Web Services for the requested

information Receive the data Filter user preferences

Page 26: Mobile Web Network

Context manager

Context refers to elements User wishes to accomplish Absolute location Relative location Physical conditions of the

environment Movement relative to surroundings Proximity to other users

Page 27: Mobile Web Network

Context manager

Context refers to elements User personal profile and habits Context history Mobile terminal features

Page 28: Mobile Web Network

Ontology mediator for matching context terms

User A

Issues service query

User profiles

Context manager

Ontology mediator

Web information service

Servicecontext

Service taxonomyUser Profiletaxonomy

Page 29: Mobile Web Network

Push capabilities Be activated without user

intervention WAP Forum define push form

PI (Push Initiator) Push message

sent to a PPG (Push Proxy Gateway) Use the PAP (Push Access Protocol)

PPG support CCQ (Client Capabilities Query)

Page 30: Mobile Web Network

Content push services

Mobileterminal Wireless

gatewayContextmanager

PushOver-the-Air

ProtocolPush Access

Protocol

Push ProxyGateway

Push Initiator

Page 31: Mobile Web Network

Push capabilities Content types in PAP messages

include SI (Service Indication) SL (Service Loading)

SI contains Short text message URI providing a service address

SL message consists of a URI Automatically activating the service

Page 32: Mobile Web Network

Service directory

Service directory enable Registration of Web services Discovery of Web services

Context Manager accesses the Service Directory

Page 33: Mobile Web Network

Service directory Context attributes could provide

information about Categories of information Geographic vicinity where the service is

applicable Service interaction Any time listen or review information Effectiveness criteria for different user

type

Page 34: Mobile Web Network

Service directory Context attributes could provide infor

mation about Time-of-day impact Service cost Any mobile terminal requirements

OASIS defined UDDI (Universal Description, Discovery and Integration)

Page 35: Mobile Web Network

The core UDDI information elements

<businessEntity>Identity information

<businessService>Function description

<binding Template>Access point,e.g., URL

<tModel>Technical specification,e.g., WSDL

1...n

1...n

Reusable specifications

Page 36: Mobile Web Network

Web services

Web service provides content searching

Database servers provide access to the Web content

Data is dynamic Issue the SQL query to the database

server Collect the query result Forward content processing

Page 37: Mobile Web Network

CGI applications for database access

CGI (Common Gateway Interface) is dynamic content generator

CGI can be written in a variety of programming languages Perl Java

Page 38: Mobile Web Network

Java servlet and EJB application for database access Java superseded CGI programming Java framework

Java servlets EJBs (Enterprise JavaBeans) JDBC API (Java Database Connectivity)

Page 39: Mobile Web Network

AAA server

AAA functionality could be split Web service owner Mobile network operator

AAA server validate authentication and authorization

AAA server generates accounting to charge

Page 40: Mobile Web Network

Wireless gateway Wireless gateway interface between

Radio Infrastructure network

Gateway support establishment of a secure TLS tunnel between Mobile terminal Content server

Gateway support push functionality - PPG

Page 41: Mobile Web Network

Reference

Ariel Pashtan, Mobile Web Service. Page 208 ~ 219.