mobile web network
DESCRIPTION
TRANSCRIPT
Mobile Web network
Presenter: Chen Jen
Outline
Introduction Network servers Network architecture Reference
Introduction
Network elements User’s mobile terminal Application server Context manager Service directory Web services
Introduction
Network elements - continue Authorization Authentication Accounting Wireless gateway
Network servers
Network servers provide Security functions Authenticate users Application and database interact Dynamic content tailored
User request Their preferences Client terminal limitations
Network servers
Network server’s infrastructure Multi-processing to handle multiple
client requests Simultaneous backend database
queries Client session management Page caching Data streaming
Network servers
Session management is important Perform multiple related
interactions For example
Ecommerce is shopping cart Travel – specify source and
destination locations
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)
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
Network servers
Servlets functions Process form input Access EJBs to control business logic Calling JSP to export page output
Network servers
JSP functions Call Java code Draw on an XSLT translation engine Associated XSL style sheet Apply to XML content
Network servers
EJBs services Database access Writing to log files Client session tracking
Two kinds of EJB components Entity beans Session beans
Network servers
Entity beans functions Share by multiple clients Persistent data in a database Support corresponding transactions
Network servers
Session beans functions Support a single client Relatively short-lived Invoke client application
For example Shopping cart
Network server J2EE application components
XHTML input form / output page
Servlet
JSP
Session bean
Entitybean
Entitybean
Database
PresentationTier
Business LogicTier
Mobileterminal
Network architecture
Introduction Mobile terminal Application server Context manager Service directory
Network architecture
Web services AAA server Wireless gateway
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
Mobile Web service network
Mobileterminal
WWAN
WLAN
Mobileterminal
Network
Applicationserver
Contextmanager
Service directory
Web services AAA server
Wireless gateway
Mobile terminal
Mobile terminals are thin-client browser devices
It also support application J2ME (Java 2 Platform, Micro-Edition)
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
Application server
Application server hosts the front-end application Collecting user preferences Forwarding this information to the
Context Manager
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
Application server
Application server generates markup Invoking an XSLT processor Submitting the information
XML form Web service specific style sheet
Context manager
Context manager hosts the back-end application logic Query Web Services for the requested
information Receive the data Filter user preferences
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
Context manager
Context refers to elements User personal profile and habits Context history Mobile terminal features
Ontology mediator for matching context terms
User A
Issues service query
User profiles
Context manager
Ontology mediator
Web information service
Servicecontext
Service taxonomyUser Profiletaxonomy
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)
Content push services
Mobileterminal Wireless
gatewayContextmanager
PushOver-the-Air
ProtocolPush Access
Protocol
Push ProxyGateway
Push Initiator
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
Service directory
Service directory enable Registration of Web services Discovery of Web services
Context Manager accesses the Service Directory
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
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)
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
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
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
Java servlet and EJB application for database access Java superseded CGI programming Java framework
Java servlets EJBs (Enterprise JavaBeans) JDBC API (Java Database Connectivity)
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
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
Reference
Ariel Pashtan, Mobile Web Service. Page 208 ~ 219.