Mobile Middleware Course Mobile PlatformsSasu Tarkoma.ppt
《Mobile Middleware Course Mobile PlatformsSasu Tarkoma.ppt》由会员分享,可在线阅读,更多相关《Mobile Middleware Course Mobile PlatformsSasu Tarkoma.ppt(49页珍藏版)》请在麦多课文档分享上搜索。
1、Mobile Middleware Course Mobile Platforms Sasu Tarkoma,Contents,Overview Platforms Research Systems Summary,Mobile Platforms,Collections of central services and libraries with both reactive and proactive functions APIs typically logically centralized Distributed between elements of the environment M
2、ulti-tier client-server Peer-to-peer Hybrids The platform running on the mobile terminal and the characteristics of the device determine how service is rendered for the end user Server side scalability can be achieved by using traditional solutions: clusters, caching, geographical distribution, load
3、 balancing, data centers,Challenges,Fragmentation is a major problem Different types of fragmentation device-level fragmentation standard fragmentation implementation fragmentation Security is also a problem Sandboxed environments and privileged operations require certification Certification is diff
4、icult for developers Current trend is towards application stores and more lightweight certification processes,Examples,WAE Java ME Symbian MAEMO / MeeGo Android Pervasive Computing Middleware Spice Fuego,WAE,Wireless Application Environment (WAE) A suite of protocols and specifications for optimizin
5、g data transfer for wireless communication WAP stack Focus on binary transmission Protocols WSP (Wireless Session Protocol) HTTP replacement, “compressed” WTP (Wireless Transaction Protocol) Request/response, more efficient than TCP WTLS (Wireless Transport Layer Security) Based on TLS, may not be e
6、nd-to-end with a gateway WDP (Wireless Datagram Protocol) UDP replacement,Client,Web Browser,Server,HTTP Server,CGI,Gateway,Encoders Decoders,encoded request,encoded response,request,response,Protocol Gateways,wireless,Web Access,Data transformation WAP gateway performs data transformation between W
7、ML (or XHTML) and HTML Data compression Technique are used for dealing with images and other graphics Adaptability User profile and device characteristics are stored in the WAP gateway Security Secure Enterprise Proxy (SEP) using 128-bit encryption in WAP 1.2 Service discovery and mobility support W
8、APs “walled garden” WAP gateways are provided by ISP such as AOL,Comparison,Transport Layer (WDP,UDP),Bearers: SMS,CDMA,Security Layer (WTSL),Transaction Layer (WTP),Session Layer (WSP),WAE,Other,WAE: current status,WAP Forum now in OMA (Open Mobile Alliance) WAP 2.0, is a re-engineering of WAP usin
9、g a cut-down version of XHTML with end-to-end HTTP Gateway and custom protocol suite is optional. WAP used by many handsets 1.2 version introduced WAP Push (typically using an SMS message) Typically versatile networking stacks with also IPv6 support,Java Micro Edition (Java ME),Java for consumer ele
10、ctronics and embedded devices A virtual machine and a set of APIs Configurations and profiles Configurations two-low level APIs and optimized VMs CDC, CLDC Profiles API specification on top of a configuration for complete runtime CLDC: MIDP CDC: Foundation, Personal Basis, Personal Profiles defined
11、using Java Community Process (JCP),Java Editions,Java Card, which allows small Java-based applications to be executed on smart cards Java ME (Micro Edition, formerly J2ME), which specifies several different profiles,collections of librariesfor devices that are sufficiently limited that it is not fea
12、sible to support the full Java platform on them. Java SE (Standard Edition), which is the platform for general purpose desktop PCs. Java EE (Enterprise Edition), which includes the Java SE and a number of additional APIs for multi-tier client-server enterprise applications.,Servers & enterprise comp
13、uters,Servers & personal computers,High-end PDAs TV set-top boxes Embedded devices,Mobile phones& entry-level PDAs,Smart cards,Optional Packages,Java 2 Platform, Enterprise Edition (J2EE),JVM,Optional Packages,Java 2 Platform, Standard Edition (J2SE),JVM,Optional Packages,Personal Profile,Personal B
14、asis Profile,Foundation Profile,JVM,CDC,Optional Packages,MIDP,CLDC,KVM,Java Card,Card VM,Java Platform, Micro edition (Java ME),Profile (Device-family specific classes,Vendor-specific Classes (OEM),Optional Packages,Applications,Configuration,Native Operating System,Device/Hardware,MIDlet lifecycle
15、,MIDlets follow a specific lifecycle Paused Active Destroyed. While creating the MIDlet, the runtime system calls the constructor of the MIDlet class MIDlets constructor cannot access the Display. When the application receives focus startApp() is executed. Application then should set the desired dis
16、play by calling Display.getDisplay(this).setCurrent() method. When the application loses the focus, the method pauseApp() is called. When paused, the display is not active and it is not shown to the user. While paused, all timers and threads are still running. The application can call setCurrent() t
17、o indicate the screen that should be presented when returning from the Paused state. The method destroyApp() is called when the application is being destroyed.,Destroyed,New,Finished,Active,Paused,startApp(),pauseApp(),destroyApp(),destroyApp(),destroyApp(),In case of exception,Important JSRs,75 Fil
18、e Connection and PIM 82 Bluetooth 120 Wireless Messaging API (WMA) 135 Mobile Media API (MMAPI) Audio, video, multimedia 172 Web Services 177 Security and Trust Services 179 Location API 180 SIP API 184 Mobile 3D Graphics 185 Java Technology for the Wireless Industry (JTWI) General 205 Wireless Mess
19、aging 2.0 (WMA) 211 Content Handler API 226 SVG 1.0 229 Payment API 234 Advanced Multimedia Supplements (AMMS) MMAPI extensions 238 Mobile Internationalization API 239 Java Bindings for the OpenGL ES API 248 Mobile Service Architecture General 256 Mobile Sensor API 287 SVG 2.0,MSA 248 for CLDC,http:
20、/ 3.0,MIDP 3 specified in JSR 271 will specify the 3rd generation mobile APIs. AMS (Application Management System) Multitasking Provisioning and OTA Shared libraries Security and access control Service framework Inter-MIDlet communication User Interface improvements A key design goal of MIDP3 will b
21、e backward compatibility with MIDP2 content,CDC Technology,Connected Device Configuration (CDC); JSR 36, JSR 218 Foundation Profile, (FP); JSR 46, JSR 218 Personal Basis Profile, (PBP); JSR 129, JSR 217 Personal Profile, (PP); JSR 62, JSR 216 J2ME RMI Optional Package, (RMI OP); JSR 66 JDBC Optional
22、 Package for CDC/Foundation Profile API; JSR 169 Java TV API; JSR 927 Java Secure Socket Extension for Connected Device Configuration (JSSE),Symbian,OS for handheld devices with limited resources User interface framework APIs (C+) Tools Operating System Pre-emptive, multitasking, multithreading, mem
23、ory protection Event-based, active objects Memory conservation, reliability, CPU optimizations,Software Components,Kernel Manages and controls access to hw Hw-supported privileges, kernel mode Application Program with a user interface Runs in user mode in its own process Server Program without a use
24、r interface Manages resources, provides interface to clients File server, window server, comms, Engine Application part that manipulates data, typically separate DLL,Key layers,The Symbian OS System Model contains the following layers: UI Framework Layer. Application Services Layer. Java ME. OS Serv
- 1.请仔细阅读文档,确保文档完整性,对于不预览、不比对内容而直接下载带来的问题本站不予受理。
- 2.下载的文档,不会出现我们的网址水印。
- 3、该文档所得收入(下载+内容+预览)归上传者、原创作者;如果您是本文档原作者,请点此认领!既往收益都归您。
下载文档到电脑,查找使用更方便
2000 积分 0人已下载
下载 | 加入VIP,交流精品资源 |
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- MOBILEMIDDLEWARECOURSEMOBILEPLATFORMSSASUTARKOMAPPT

链接地址:http://www.mydoc123.com/p-373001.html