安卓系统与IOS系统比较—英文文献翻译(适用于毕业论文外文翻译+中英文对照_第1页
安卓系统与IOS系统比较—英文文献翻译(适用于毕业论文外文翻译+中英文对照_第2页
安卓系统与IOS系统比较—英文文献翻译(适用于毕业论文外文翻译+中英文对照_第3页
安卓系统与IOS系统比较—英文文献翻译(适用于毕业论文外文翻译+中英文对照_第4页
安卓系统与IOS系统比较—英文文献翻译(适用于毕业论文外文翻译+中英文对照_第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, , ChinaAbstractWith the release of Android 2.2 Froyo and iPhon

2、e 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 some anal

3、yses 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 clearer in

4、to 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 kept g

5、oing 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 smart ph

6、one 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 performance a

7、gainst 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 Android is

8、 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. Objec

9、tive 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 and clo

10、sed 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, Application Fram

11、ework 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 hardware

12、 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 integra

13、ted 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 limit

14、ation 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: 1. S

15、upport 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 can be

16、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, sockets c

17、alling 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-Audio an

18、d 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 classification.

19、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 enterta

20、inment 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 liste

21、n 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 saved

22、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 size Jav

23、aScript 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 AccessJ

24、avaScript 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 attribute

25、s 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 subclass

26、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. This

27、 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. Attribu

28、te 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 V8 wi

29、llmodify 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 resource. W

30、hen 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 memory

31、 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 interr

32、uption 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 media,

33、 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 PC as a

34、 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 4 use

35、r 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 clear

36、er 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 with iPh

37、one. 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 to mak

38、e 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 code.

39、 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 money

40、 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 differences

41、 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. You

42、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 marke

43、t 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. This is

44、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 leads

45、 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 prett

46、y 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 upon

47、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 into GS

48、M 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 possible to

49、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. Considering sec

50、urity 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 privileged co

51、ntrol (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 Cyano

52、genMod, 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, when

53、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 manage t

54、he 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 strict

55、. 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 commit

56、 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 produce it

57、s 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 integrat

58、ion 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 built into

59、 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 make

温馨提示

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

评论

0/150

提交评论