基于Android系统的安全短信客户端的设计

 2022-01-17 11:01

论文总字数:21662字

目 录

1 绪论 1

1.1背景及意义 1

1.1.1 Android平台运用广泛 1

1.1.2 短信运用快捷方便 1

1.1.3 短信的安全性需求高 1

1.2 国内外研究现状 2

1.2.1 Android系统现状 2

1.2.2 短信保护和短信加密系统现状 2

1.3 研究的主要内容 3

2 短信的开发 3

2.1 短信概述 3

2.2 短信的原理 3

2.3 短信设计的模块 4

3 Android系统 4

3.1 Android系统构架 4

3.2 Android数据存储 5

3.3 Android应用组件 5

3.3.1 Activities 5

3.3.2 Services 5

3.3.3 Content providers 6

3.3.4 Broadcast receivers 6

3.4 Android环境变量配置 6

4 加密算法的选取 7

4.1 密码技术 7

4.2 使用数字摘要 7

4.2.1 MD5加密算法的了解 8

4.2.2 MD5算法的原理 8

4.3 使用加密算法 9

4.3.1 选用3DES加密算法 9

4.3.2 3DES加密算法的原理 9

5 Android平台安全短信客户端的实现 10

5.1 主界面的设计 10

5.2 会话界面的设计 11

5.2.1会话列表 12

5.2.2 新建短信 12

5.2.3 对话短信界面 14

5.3 文件夹界面设计 15

5.4 群组界面的设计 16

5.4.1 数据库中创建表 16

5.4.2 群组功能的具体设计 16

5.5 短信的加密实现 17

5.5.1 给新建短信加数字摘要MD5 17

5.5.2 给新建短信加加密算法3DES 17

6 研究结果展示 18

6.1 环境搭建成功 18

6.2 会话模块 19

6.2.1 会话列表 19

6.2.2 新建信息 20

6.2.3 对话界面 21

6.3 文件夹模块 21

6.4 群组模块 22

6.5 加密短信演示 23

7 总结 24

参考文献 24

致谢 26

基于Android平台的安全短信客户端的设计

屠乔乔

,China

Abstract: In recent years, with Android as the operating system for smart phones and other mobile devices more and more. Android system occupied a dominant position in the smart device market. In the Android system, text message is becoming one of the main functions for its characteristics of short, convenience and easy to communicate with each other. While, because of lots of advantages of the text messaging, SMS security issues become increasingly serious. In this paper, SMS clients and their security Android platform have been studied to design a secure messaging client. Specific methods are following. Firstly, I will learn java and Android for the following research. Second, build java and Android environment to be operated easily. Third, I will learn the principles of messaging software to ensure the design of each module be carefully planned. The fourth is to get SMS running in the emulator and achieve its function. Five, I will identify potential safety problems during transmission through safety analysis and research on the Android platform messaging client on the basis of the completed SMS client, This is the innovation of this paper. I will accept digital abstract, and encryption algorithms to protect information and then to join the program. Finally, after running the software, the basic functions of SMS and text messages on the basis of the common realization of digital content summary to ensure the authenticity of the information. Secure SMS client is of great significance for the protection of messages through digital digest, digital signature and other means to achieve effective safety message transmission.

Keywords: Android; SMS; Digital Summary; Encryption Algorithm

1 绪论

1.1背景及意义

1.1.1 Android平台运用广泛

Android系统[1]是一种操作系统,基于Linux并且它的源码是对外公开的。Android系统主要应用于现阶段风靡的类似pad的易于随身携带的设备。现在的移动设备中有一半以上都使用了Android系统。

2005年,Android系统被收购,最开始是只针对手机而设计的Android系统。两年后,Android系统被第一次进行改进。紧接着,经过改进后的Android的源代码对外公开。自此,Android的应用便一发不可收拾,手机、pad等随处可见Android系统。

Android系统有很多优秀的地方,比如绝大多数人都可以使用其平台,其应用程序之间也可以互相访问,程序运行速度快等,都是其成为时下最风行的移动设备开发平台的原因。

1.1.2 短信运用快捷方便

时代发展飞速,人们之间的交流方式的发展由八九十年代的写信到现在的短信、微信、电子邮件和即时通讯[2]等的交流的进步显然是必然的。尤其是在如今的移动终端和手机的使用日益广泛,手机短信又以其发送方便快速、价格低廉的优点备受人们喜爱,并且短信的使用极其方便,上手快,不分年龄层都可以快速学会操作,这也是短信运用广泛的一个重要的原因。

据知情人士表示,中国移动“新短信”有望在今年十二月份之前运行,“新短信”的短信发送将会以流量收费。这一举措更加推动了短信使用的方便性,由此可见,短信不仅仅是这几年,未来也将大放光彩。

1.1.3 短信的安全性需求高

据统计,有超过七成的中国人使用手机,每一部手机都有其自带的短信功能,也就是说,有超过七成的中国人都会使用短信,短信的普及率极高。也正因为使用手机短信软件的人很多,短信的安全保密也显得特别的重要。

还有当我们手机不小心遗失时,手机里的信息容易被别人知晓,尤其是一些商业信息,银行卡密码等等信息的丢失,都是短信安全性的威胁。值得一提的是,近几年电子商务[3]崛起,并来势汹汹,这使得人们对短信的安全性要求更高。

在我们的工作生活中,有许多银行、保险等的登录、修改密码等都需要验证码,验证码丢失或者被修改将会造成很不好的后果。

目前,手机程序的发展重点的些许转移,使得手机上的短信技术还是十分不安全的。手机短信息是由明文通过短信息服务器传输,给修改信息和窃取信息带来便利;gsm加密体系[4]还很脆弱。此外,短信息使用的技术是保存后再进行发送的技术,这点也加大了短信内容的外泄的可能。

普通网民希望在安全的信息环境中保护自己的隐私,公司希望在安全的信息环境下及时做到短信发送(命令下达)以及公司机密的保密。公司与个人都希望信息能有较高的安全性保障自己的权益。也就是现今对安全短信的需求还是不低的,安全短信的研究是有必要的。

1.2 国内外研究现状

1.2.1 Android系统现状

自Google公司发现Android的潜力并正式接收Android操作系统之后,Android经历了从Android1.0到Android6.0的多次的演变。

Android发展至今已经即将推出最新版本Android N(Android7.0)。并且,据Android业内人士透露,最新的Android版本将会把Android的功能拓展到几乎是任何我们可以看到或听到的工作生活领域,将会成就Android的强大。

另一面,市面上Android系统的运用比例也是最大的,如图1-1所示。

图1-1 IDC公布近几年及未来几年中国智能手机系统的市场占比

剩余内容已隐藏,请支付后下载全文,论文总字数:21662字

相关图片展示:

您需要先支付 80元 才能查看全部内容!立即支付

该课题毕业论文、开题报告、外文翻译、程序设计、图纸设计等资料可联系客服协助查找;