android平台环境下应用程序架构的设计与实现

上传人:w****i 文档编号:111720455 上传时间:2019-11-03 格式:PDF 页数:54 大小:720.99KB
返回 下载 相关 举报
android平台环境下应用程序架构的设计与实现_第1页
第1页 / 共54页
android平台环境下应用程序架构的设计与实现_第2页
第2页 / 共54页
android平台环境下应用程序架构的设计与实现_第3页
第3页 / 共54页
android平台环境下应用程序架构的设计与实现_第4页
第4页 / 共54页
android平台环境下应用程序架构的设计与实现_第5页
第5页 / 共54页
点击查看更多>>
资源描述

《android平台环境下应用程序架构的设计与实现》由会员分享,可在线阅读,更多相关《android平台环境下应用程序架构的设计与实现(54页珍藏版)》请在金锄头文库上搜索。

1、华中科技大学 硕士学位论文 Android平台环境下应用程序架构的设计与实现 姓名:罗震 申请学位级别:硕士 专业:工业工程 指导教师:黄金国 20090523 I 华中科技大学硕士学位论文 华中科技大学硕士学位论文 摘 要 摘 要 无线通信业和因特网的迅猛发展和融合直接导致了智能手机需求的大幅增长, 智 能手机去年在全球的销量将近 2 亿,并且发展势头日益猛烈,市场前景一片大好。随 着 3G 技术的发展,手机的功能越来越强大,消费者对智能手机的要求也越来越高, 这也直接导致了手机软件设计的质量和效率将变得越来越重要。 而智能手机软件复杂 度与开发周期的矛盾,手机系统资源有限与功能众多的矛盾,

2、网络下载与安全隐患的 矛盾,使传统软件开发模式成为智能手机软件开发的严重障碍。 为了提高手机软件开发的质量和效率, 本文提出了在底层平台与上层应用之间设 计一个中间架构层,建立一个较为稳定的软件开发框架的思想。本文首先对软件架构 理论进行了分析,在对架构设计的条理性原则和可靠性原则进行了充分权衡之后,将 该架构分为四层,从上到下依次是:应用层,安全层,业务层和适配层,各层相对独 立。 应用层负责手机应用的初始化、 关闭以及相关控件的工作; 安全层负责保护数据, 防止病毒木马等恶意攻击;业务层负责包装各类手机应用业务,并向上提供相关服务 给应用层调用;适配层则负责与协议栈的数据交互。 本文的试验

3、选用 Android 平台。Android 是 Google 开发的基于 Linux 平台的开 源手机平台,为我们提供了一系列的 API 和开发工具包,它包括操作系统、用户界面 和应用程序 移动电话工作所需的全部软件,而且不存在任何以往阻碍移动产业 创新的专有权障碍。 在本文的最后,应用这个架构,我们在 Android 平台上开发出 GTalk 这款即时聊 天软件,证实了该架构的可应用性。 关键词: 关键词:Android 平台 软件架构 分层模式 消息映射 业务代理对象 II 华中科技大学硕士学位论文 华中科技大学硕士学位论文 Abstract The rapid development o

4、f wireless communication and internet technology, as well as their fusion directly result in the rapid demand increase of smart phone. In the past year, the global sales volumes of smart phone reach nearly 200,000,000, and the trend of development is increasingly evident and the foreground of market

5、 is bright. With the development of 3G technology, the functions of smart phone become more and more strong, and customers desire to smart phone becomes more and more high, which directly result in the necessary that the quality and efficiency of software development on smart phones should get more

6、importance. However, the contradictions between software complexity and development cycle, between limitation of system source and the diversification of functions and between download from net and security cause the traditional mode to become a serious obstacle of software development on smart phon

7、es. In order to improve the development quality and efficiency of software on smart phone, this thesis proposes a way that designs a middle architecture between the upper application and the lower platform so as to form a comparatively stable framework of software development. This article first mak

8、e a analysis of the software architecture theories, then make a serious consideration in the principle of coherence and the reliability, based on which we divide the whole architecture into four layers, and they are application layer, security layer, business layer and adaptive layer in the order th

9、at from up to down, which are respectively independent to other layers. The application layer is responsible for the initialization, close of application and the task of related controllers. The security layer is responsible for protecting data so as to keep virus and trojan from attacking the syste

10、m. The business layer is responsible for the packaging of various application businesses, and provides the service for the application layer. The adaptive layer is responsible for the data interaction with protocol stack. In this thesis, the test chooses Android platform. Android is an open source c

11、ell phone platform based on Linux platform developed by Google, which provides us a series of API and development toolkits. It contains operating system, user interface and applicationsall the software the cell phone needs during operation, and theres no obstacle in exclusive rights that counteracts

12、 the innovation of mobile industry. III 华中科技大学硕士学位论文 华中科技大学硕士学位论文 In the end of this thesis, applying to architecture, an instant messaging software named Gtalk is developed, and the applicability of the framework is confirmed. Key Words: Android platform; software architecture; layered mode; messag

13、e mapping; business-broker object III 华中科技大学硕士学位论文 华中科技大学硕士学位论文 独创性声明 本人声明所呈交的学位论文是我个人在导师指导下进行的研究工作及取得的 研究成果。尽我所知,除文中已经标明引用的内容外,本论文不包含任何其他个人 或集体已经发表或撰写过的研究成果。对本文的研究做出贡献的个人和集体,均已 在文中以明确方式标明。本人完全意识到本声明的法律结果由本人承担。 学位论文作者签名: 日期: 年 月 日 学位论文版权使用授权书 本学位论文作者完全了解学校有关保留、使用学位论文的规定,即:学校有权 保留并向国家有关部门或机构送交论文的复印件和

14、电子版,允许论文被查阅和借 阅。本人授权华中科技大学可以将本学位论文的全部或部分内容编入有关数据库进 行检索,可以采用影印、缩印或扫描等复制手段保存和汇编本学位论文。 本论文属于 (请在以上方框内打“” ) 学位论文作者签名: 指导教师签名: 日期: 年 月 日 日期: 年 月 日 保密,在 年解密后适用本授权书。 不保密。 1 华中科技大学硕士学位论文 1 绪论 华中科技大学硕士学位论文 1 绪论 1.1 智能手机软件研发现状 1.1 智能手机软件研发现状 所谓智能手机,是指具有操作系统的手机 1。从内部来说,它支持应用程序 的轮转调度和多线程的切换。从外部来看,它能够支持第三方软件的安装和

15、应用。 从这个意义上来看,智能手机完全可以被称为一部小型电脑。 1.1.1 乐观的一面 1.1.1 乐观的一面 在移动市场激烈的争夺中, 手机的发展已然经过了模拟通讯时代、 数字通讯时代、 过渡时代、多媒体时代的演变,现在,已经进入 3G 时代 2,所谓的 4G 超宽频时代也 已经初见端倪。人们对智能手机提出越来越新的要求,智能手机的功能越来越多,现 在的移动设备在功能上与 PC 机的界限已经越来越模糊。实现智能移动已经不仅仅是 手机厂商们的梦,而是大势所趋,人心所向,谁也无法阻挡。手机的功能越来越强大, 消费群体越来越庞大,无线因特网也在呈现日新月异的发展,两者的结合正是珠联璧 合般的完美,

16、这正是智能手机产生的良好背景 3。 开源是智能手机发展的一个新趋势 4,目前,智能手机厂商和运营商都宣布 了自己的开源战略或产品。一年前,Google 推出了 Android 开源移动平台计划, 并于今年 9 月推出了安装 Android 操作系统的第一款手机 G1。开源意味着向全世 界公布源代码,人人都可以对系统进行修改,从而使系统变得更加完善。 IDC(Internet Data Center,互联网数据中心)每年都会对手机市场的发货量 进行报导 4。根据这几年的报导数据,我们可以看出,全球手机的发货量呈现飞速增 长的趋势, 而增长最为强劲的是智能手机, 它的发货量同比增长率每年都会超过 100%。 可以预见, 智能手机发展的势头必将有增无减, 这充分证明智能手机的研发前途无量。 1.1.2 面临的挑战 1.1.2 面临的挑战 任何事物都有两面性,主要表现在:智能手机销量的疯狂增长意味着必须提高开 发效率,缩短开发周期,而消费者对移动设备的功能需求越来越高,这意味着手机软 件的开发过程

展开阅读全文
相关资源
相关搜索

当前位置:首页 > 学术论文 > 其它学术论文

电脑版 |金锄头文库版权所有
经营许可证:蜀ICP备13022795号 | 川公网安备 51140202000112号