分析和比较开放和封闭的移动平台毕业论文文献翻译_第1页
分析和比较开放和封闭的移动平台毕业论文文献翻译_第2页
分析和比较开放和封闭的移动平台毕业论文文献翻译_第3页
分析和比较开放和封闭的移动平台毕业论文文献翻译_第4页
分析和比较开放和封闭的移动平台毕业论文文献翻译_第5页
已阅读5页,还剩11页未读 继续免费阅读

下载本文档

版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领

文档简介

1、esep 2011: 9-10 december 2011, singaporean analysis and comparison of open and closed mobileplatformsandroid vs. iphoneyinglu zoua, hao wu b, jianxin huang a,ba information engineering college,7 jianxue road, jinshui district, zhengzhou, 450001, chinaabstractwith the release of android 2.2 froyo and

2、 iphone 4, the war between open and closed mobile platforms tends to befiercer. being the representatives of the two parties, froyo and ios 4 are quite different at system framework, newfeature, application market and integration model. according to the company spirits of google and apple, we do som

3、e analyses and comparisons of the above points, explain the differences of android and iphone from the shallower to the deeper, then conclude the characteristics of open and closed mobile platforms, aiming at providing an objective reference for researchers of mobile platforms, helping them see clea

4、rer into mobile industry. as a result,both froyo and ios 4 have their advantages and disadvantages, still they are far from being perfect, theres room forfurther improvement.keywords: android;iphone;froyo;ios 4;smart phone;mobile platform1. introductionin recent years, the popularity of smart phone

5、kept going up. more and more smart phones are sold anda lot of people are embracing them. smart phones brought great convenience to users, as well created opportunities for smart phone researchers. thats to say, the wide spread of smart phones benefited both sides. at the same time, developing of sm

6、art phone os becomes one of the smartest industry. to be a smart phone os, the system should: 1. provide services like a pc. 2. work with a gpu for better visual effects. 3. allow the user to surf on internet freely. and apparently, therere also some weaknesses:1.limited battery. 2. poor cpu perform

7、ance against pc cpu. 3. small storage. 4. the use of ram may leads to loss of data when the phone runs out of batterynow the 2 giants of smart phone os are android and iphone os. on one side, android is based on linux kernel and dalvik virtual machine, and it is open sourced. the upper layer of andr

8、oid is java based,allowing developers to develop android applications with google sdk and sell their software in android market. on the other side, iphone os, which bases on unix kernel and darwin model but is closed sourced,evolves from mac os x and is the default os of iphone, ipod touch and ipad.

9、 objective c based software can run in iphone os, and just like android, you can develop your own iphone applications and upload them onto apples app store for sale 1 2 3 4.by comparing the latest android and iphone os, android 2.2 froyo and ios 4, we can take a glimpse at the main feature of open a

10、nd closed smart phone oss. while the 2 oss are designed in rather different mentality and functionality, its a little early to tell which one is better.2. smart phone os2.1. androidthe system architecture of android consists of 5 layers, which are linux kernel, android runtime, libraries, applicatio

11、n framework and applications, from bottom to top.android provides core services like security, memory management, process management, network stack and drivers, basing on linux 2.6. being the abstract layer between software and hardware, the layer of linux kernel hides the implementing details of ha

12、rdware and provides integrated services for upper layer.dalvik virtual machine and java core libraries are included in the layer of android runtime, providing most functions in java core libraries.the layer of libraries contains a class of c/c+ libraries for android components. those libraries are i

13、ntegrated by the layer of application framework and then provided to developers.the layer of application framework provides all kinds of modules for program initialization to simplify the use of components, allowing developers do whatever they want and provide services for other softwares, under the

14、 limitation of security, of course.mainstream applications are located in the layer of application, including e-mail, sms, calendar, google map, web browser and contacts. users interact directly with this layer 1 2.the latest version of android, android 2.2 froyo, puts on some new features. they are

15、: 1. support flash 10.1, enables user to watch flash on the phone. 2. v8 javascript engine in web browser leads to faster internet data transportation. 3. big advance in network sharing. you can use the phone as a 3g nic,or convert 3g signal to wi-fi. 4. automatically software update. 5. softwares c

16、an be setup in sd card to extend file storages.2.2. iphoneiphone os is consist of 4 abstract layers: core os, core service, media and cocoa touch respectively.layers of core os and core service are designed in c language to handle core system services, enabling developers to perform file access, soc

17、kets calling and data handling. cfnetwork and sqlite are also parts of these 2 layers.the layer of media, according to its name, this layer is used to control video and audio, as well handle 2d and 3d images. the open gl-es quratz part of the layer is coded with c language, while the part of core-au

18、dio and core-animation is objective c based.the layer of cocoa touch builds a basic framework for all kinds of programs in iphone. most programs run in cocoa touch layer, and its surely objective c based 3 4.the latest iphone os is ios 4. it includes the following new features: 1.software classifica

19、tion. thisfeature enables user to place sorted softwares into different documents, making it clearer to manage. 2. email integration. one account is for all e-mails from different providers. 3. ibook, originally from ipad, is built in ios. 4. a brand new apple game center makes iphone a tremendous e

20、ntertainment platform.2.3. android vs. iphonebeing the top 2 smart phone oss, were sure that both android and iphone have their own advantages and disadvantages. now lets take a look at each of them, and see what unique feature they have.android 2.2 froyo fully support multitask, which means you can

21、 listen to music while writing blog. and ios 4, officially announced to be multitasked, is in fact a play of concept. only a few of softwares which are authorized by apple can run simultaneously, whose principle is much easier that multitask:when an application is switched out, its current state is

22、saved and then the system just closes it. and when its switched in, were back to the previous snapshot 5 6 7.during the publication of android 2.2 froyo, google announced it has the most fluent web browser,because the use of v8 javascript engine. v8 is a brand new engine, designed for running big si

23、ze javascript application. in some kind of tests, v8 is much faster than jscript from internet explorer, spidermonkey from firefox and javascriptcore from safari. it all owe to 3 key parts of v8, theyre fast attribute access, dynamic code generation, effective trash cleaning. 2.3.1. fast attribute a

24、ccessjavascript is a kind of dynamic language, which means attributes can be added or deleted at runtime, and theyre frequently changed. most javascript engines use a dictionary style structure to store the attributes of an object, so it requires a whole dictionary search to find the position of att

25、ributes in memory.its quite inefficient and its slower than java and smalltalk.to solve this problem, v8 discarded dynamic search and realized it in a different way: create hidden classes for objects dynamically. in javascript, every time when were adding a new attribute to an object,we create a sub

26、class with the new attribute from a hidden class as the super class. its a recursive course and the above performance happens only once when we first do this. later we just use the previous hidden subclass when were in the same situation. so theres no need to repeat operation and create a dictionary

27、. this leads to the save of time and energy, as well make it easier for the implementation of class optimization and inner cache . dynamic code generationwhen javascript is running for the very first time, v8 translate it directly into local machine code, rather than explain it to bytecode. a

28、ttribute access is done by inner cache, which is often translated into instructions by v8 at runtime.when it comes to the code where certain object is accessed, v8 tries to find the current hidden class. meanwhile, v8 assumes that all objects in the snippet are described by the same hidden class, so

29、 v8 willmodify corresponding inner cache to make the direct use of the hidden class more convenient. if thisassumption is correct, the access of attributes can be all done in only 1 instruction. even if the predictionfails, inner cache is modified again by v8, which wont take too much time and resou

30、rce. when one hidden class is shared by a lot of objects, the access speed can be close to most dynamic language access speed. inner cache and hidden class, mixed with dynamic code and class optimization, improve the efficiency of javascript at a large scale . effective trash cleaningv8 does

31、memory recycles automatically. to guarantee the speed of object distribution, as well cut the time of trash cleaning and clear fragment up, v8 will interrupt the running application when performing trash cleaning. mostly, only a small part of object stack is involved in trash cleaning cycle, so the

32、interruption caused little. all location of objects and pointers are logged by v8, so the system wont take object for pointer and memory overflow is avoided 4.besides the most fluent web browser, google collaborated with adobe and android 2.2 froyo fully supports flash. thats to say, not only flash

33、media, but all flash web pages can display perfectly on android. to the contrary, apple turned down adobe and take html5 as iphones web protocol, making it unable to show some flash based animation.android 2.2 froyo also leads the way in network sharing. smart phone with froyo can be connected toa p

34、c as a 3g nic, and can also conveniently convert 3g signal to wi-fi. ios 4 can do the first too, butfailed to convert 3g to wi-fi.video conference is both supported by froyo and ios 4, but the conditions are different. you can see afroyo user via camera as long as you get a camera also. however, ios

35、 4 user can only do video talk toanother ios 4 user, which is a big limitation.while android is ascendant in network interaction, apple is unique in its friendship and entertainment.the added feature of software classification enables user to place sorted softwares into differentdocuments, making it

36、 clearer to manage. whats more, therere hundreds of thousands applications inapp store, meaning that iphone can have up to hundreds of thousands functions. this is a ratherremarkable feature that apple publicizes.and the most convincing point given by apple, is that android looks exactly familiar wi

37、th iphone. although its just a subjective sense, the born of iphone really brought big revolution to the phone industry, and the name apple itself is a world famous brand 7 8.3. open and closed platforms3.1. sdkthe most important part of every developing platform is sdk, enable 3rd party developers

38、to make software for the platform. usually, libraries, debug tools and emulators are included in sdk. different platforms distribute their sdks differently. some sdk is complete free and open, while others are strictly limited.developers of open platforms can get and modify part or all of the source

39、 code. google and linux are leaders of open platforms; they publicized the whole source code of android and linux. the good point is that, platform owners can save a great amount of time and energy developing and maintaining the platform, because 3rd party developers will do this for them. with less

40、 money spent on development and maintenance, a relatively low price can attract more and more phone users.contrarily, closed platforms lock their source code in the safety and forbid 3rd party accesses. apple and microsoft are the representatives of them, they are both closed sourced, but some diffe

41、rences do exists. 3rd party iphone applications are restricted within narrow limits, for that apple will look through every application which is uploaded onto app store, and a lot of applications are turned down.microsoft dont check windows applications at all, it all depends on the users themselves

42、. you installed the mareware, you suffer the loss.3.2. application marketmarket is the medium between developers and users, hence its very important. some predicted that there will be more and more application markets while some dont think so. in current markets, both do exist. some specify only one

43、 market for their products, while others sell their softwares in various markets.softwares from nokia, microsoft and linux mobile are sold in every market. developers of these platforms can release their own application in whatever markets, so markets have to compete with each other for a living. th

44、is is good for users. however, the lack of universal management may lead to mess and chaos, softwares that have the same functionality exist in different markets, which confuses users a lot.correspondingly, sole markets claim that most applications should be sold in them. this kind of monopolization

45、 leads to no competitor. app store and android market are deputy of sole markets. normally, iphone applications can only be found in app store, and apple will check every one of them by itself. good news is that every application in app store is officially tested, its safe; bad news is that a lot of

46、 pretty good softwares are rejected for various reasons. and a big unofficial mechanism is built by hackers, that is jailbreak and sim unlock.jailbreak is a process that allows ipad, iphone and ipod touch users to gain root access and unlock the operating system thus removing any limitations imposed

47、 upon them by apple. once jailbroken, iphone users are able to download many extensions and themes previously unavailable through the app store via installers such as cydia. a jailbroken ipad, iphone or ipod touch is still able to use the app store and itunes 9.and a sim lock is a capability built i

48、nto gsm phones by mobile phone manufacturers. networkproviders use this capability to restrict the use of these phones to specific countries and network providers.generally, phones can be locked to accept only sim cards based on the international mobile subscriber identity. sim unlock make it possib

49、le to use a mobile phone without considering countries and networks specified by mobile phone manufacturers.however in android, google doesnt test every application at all, so although theres an official market for android applications, you can still release your product anywhere you want. consideri

50、ng security problems, google banned the use of some components. like jailbreak and sim unlock in iphone, root in android gives users 100% control of their devices, along with some security risks. root is a process that allows users of cellphones running the android operating system to attain privile

51、ged control (known as root access) within androids linux subsystem, similar to jailbreaking on apple devices running the ios operating system, overcoming limitations that the carriers and manufacturers put on such phones. rooting makes it possible to use custom versions of the android system such as

52、 cyanogenmod, supporting features unavailable in stock roms. it also allows for newer versions of android not supplied by the original device manufacturer. in contrast to ios jailbreaking, rooting is not needed to run applications not distributed by the official android market. it is needed however,

53、 when trying to access paid android applications from countries which are not part of the paid applications market.3.3. integrationsome companies focus only on their core industry, i.e. develop an operating system and provide an environment for 3rd party development. others not only do these, but ma

54、nage the process of developing a software to publicizing it. depending on the integration of platforms, we sort them to 4 kinds: full integration platform, market integration platform, device integration platform and no integration platform.the publicizing model of full integration platform is very

55、strict. its management ranges from device manufacturing to application release, whose representative is apple. apples factory produces iphone, apples app store sells application, apples itunes is the channel of apples resources. the whole process is under apples control.market integration platforms

56、commit themselves to developing and selling softwares. google is one of them. unlike apple, google dont have a factory to manufacture its own handsets, but only developed android and set up android market for android applications. however, companies like google definitely have the capability to prod

57、uce its own devices. google is in good relationship with htc, who is the oem of t-mobile, o2 and orange, etc.device integration platforms produce their own handsets, but dont set up application markets. forexample, rim makes blackberry, but theres no official application market for blackberry. no in

58、tegration platforms do few things. microsoft neither makes mobile phones, nor sets up a market.what they do is only developing the operating system: windows phone 7.4. conclusionrepresentatives of open and closed platforms, android 2.2 froyo and ios 4 are both loved and hated.great browsers are buil

59、t into them, and their producers are both world famous revolutionary. android leans to internet experience, which comes down in one continuous line with google. but currently, various versions of android fill the market, and most companies in open handset alliance tend to customize their own android systems. these facts

温馨提示

  • 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
  • 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
  • 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
  • 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
  • 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
  • 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
  • 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

评论

0/150

提交评论