Mobile Programming Dr Khaled Mahmud Laurentian University International Global Experience Program Summer 2016 Mobile Computing Architecture Agenda Internet Ubiquitous network Mobile computing architecture ID: 804446
Download The PPT/PDF document "CS1: Wireless Communication and" is the property of its rightful owner. Permission is granted to download and print the materials on this web site for personal, non-commercial use only, and to display it on your personal computer provided you do not modify the materials and that you retain all copyright notices contained in the materials. By downloading content from our website, you accept the terms of this agreement.
Slide1
CS1:Wireless Communication and Mobile Programming
Dr. Khaled MahmudLaurentian University International Global Experience ProgramSummer 2016
Mobile Computing Architecture
Slide2AgendaInternet- Ubiquitous networkMobile
computing architecturePresentationApplication DataMobile computing design considerationContentContextPlatformSecurity(c) Khaled Mahmud2
Slide3ReferenceChapter 2 [TEL]Web references
(c) Khaled Mahmud3
Slide4Hierarchy of NetworksCore DistributionAccess
(c) Khaled Mahmud4Source: Cisco
Slide5Next Generation Network (NGN)(c) Khaled Mahmud
5Source: Huawei
Slide6The InternetThe network of networks: The biggest network of allUbiquitous (almost there)IP-based network
Ready to carry any content/service (voice, video, data)(c) Khaled Mahmud6Source: Cisco
Slide73-Tier Architecture of Mobile Computing:Network-centric Approach
Presentation TierApplication TierData Tier(c) Khaled Mahmud7
User Interface
Tier-1:
Presentation Tier
Access Network
Proxies/
Adaptation Middleware
Tier-2:
Application Tier
Tier-3: Data Tier
Process Management Middleware
Business Logic
Database Management Middleware
Data Store
Slide8Components of 3-Tier(c) Khaled Mahmud
8Presentation Tier
Application Tier
Data Tier
Database
XML Data Store
Aggregation service
Data and web feed
Legacy applications
Equipment
Appliances
Other applications and web services
iPlanet
web server
Java server pages
SOAP
XML
Apache
.NET Tier
Google’s cloud computing –based tier
Internet Information Server
XSLT
HTML
WML/HDML
Active Server Page
JavaScript
Internet Explorer
Android browsers
Opera mobile
WAP browser
J2ME
Voice
HTTP
RTSP
HTTPS
IBM
WebSpehere
Servlets
Oracle
WebLogic
JBOSS
Jakarta
SAP Net Weaver
Enterprise Java Beans
ZOPE
Glass Fish
CGI (C, Perl, Python)
Zend
PHP
Jetty
Roxen
Pike
Oracle and its applications
MS Commerce Server
MS Exchange
COM
.NET & Transaction server
RMI
IIOP
SOAP
RPC
XML
COM
JDBC
SQL
XML
XML
adapters
Slide9Presentation TierRelated to User InterfaceAudio, visual, other mechanical (e.g. touch screen, gyro, vibration, pen)
Runs on client deviceIncludes browsers, customized client programsCan involve various agent softwareFunctions range from simple HTTP-based service access to complex data access and management(c) Khaled Mahmud9
Slide10Application Tier‘Middle Tier’Runs
Business LogicProcess user inputObtain dataMake decisionPerforms transcodingTechnologies include CGI, Java, JSP, .NET, PHPUsually (should be) independent of Presentation or Data Tier(c) Khaled Mahmud10
Slide11Application Tier (cont…)Mobile computing environment specific functionsDecisions on rendering
Network managementSecurityDatastore accessMost of these functions are implemented in middlewares(c) Khaled Mahmud11
Slide12Categories of MiddlewareMessage-oriented middlewareTransaction Processing middleware
Database middlewareCommunication middlewareDistributed objects and componentsTranscoding middleware(c) Khaled Mahmud12
Slide13Web ServicesStandard means of information exchangeBetween different software application
Running on variety of platformsIdentified by URIUses XML/JSON to define public interfacesBasic architecture includeService requesterService providerDiscovery agency Interaction flow: PublishFindBind(c) Khaled Mahmud13
Slide14Data TierDatastore or databaseCan be permanent or temporary
Can be Text-basedHierarchicalRelationalXML/JSON formatA legacy system can be considered as data source or a documentThrough proper adapter (middleware)(c) Khaled Mahmud14
Slide15Database MiddlewareDatabase should be independent of Application Tier (business logic)Database middleware helps to create that isolation
Database middleware runs between application program and databaseDatabase middleware are also called connectorsODBC, JDBCConnectors enable program to access various data sources from various database vendors(c) Khaled Mahmud15
Slide16OMA Data Synchronization and Device Management (SyncML)
Developed under the project calledOpen Mobile Alliance Data Synchronization and Device ManagementFormerly called SyncMLVendor independent data synchronization solutionThe protocol supportsHTTP 1.1Browser and Content (previously called WAP browsing): XHTML Mobile ProfileOBEX (used in Bluetooth)SMTP/POP3/IMAPSupported byMotorolaSamsungNokia/Siemensand others(c) Khaled Mahmud16Source: https://en.wikipedia.org/wiki/Open_Mobile_Alliance
Slide17Design Consideration of Mobile ComputingMobile computing development needs to beContext-sensitiveBut context independent
(c) Khaled Mahmud17
Slide18Context-based Service AdaptationService needs to be adapted according to the contextContent can be adaptedBehavior can be adapted
ApproachesContent with context awarenessContent switch on contextContent transcoding(c) Khaled Mahmud18
Slide19What is Context in Mobile Computing?Definition by feature: Contextual Information
UserPreferences, Goals, State of Mind, etc.TaskDifficulty, Criticality, etc.EnvironmentTemperature, location and settings, nearby services& people, etc. TimeTime of day, day of week, etc.(c) Khaled Mahmud19Source: Ed Sykes, et. al.
Slide20Contextual Information(c) Khaled Mahmud
20
Slide21Context-aware SystemContext-aware system can handle context-related informationExtract Interpret
Use Adapts functionality to match the current contextChallenge for machinesContext captureContext representationFiltering and interpretation of contextual data(c) Khaled Mahmud21
Slide22Context ManagementInvolvesContext sensing
Context representationContext interpretation(c) Khaled Mahmud22
Slide23Context RepresentationW3C approachComposite Capabilities/Preference Profile (CC/PP)Resource Description Framework (RDF)
Semantic Web(c) Khaled Mahmud23
Slide24Client Context ManagementInvolvesPolicy Manager
Security ManagerAdaptability Manager(c) Khaled Mahmud24
Slide25Security ManagerProvides secure connection between client device and origin serverMain security issues
ConfidentialityIntegrityAvailabilityNon-repudiationTrust(c) Khaled Mahmud25
Slide26AdaptabilityNeeds to considerPhysical capability of the deviceLogical capabilities of the device
Available network bandwidthPayloadMay require transcoding(c) Khaled Mahmud26
Slide27Content TranscodingSpatial TranscodingTemporal TranscodingColor TranscodingCode Transcoding
Object or Semantic Transcoding(c) Khaled Mahmud27