基于Android系统的音频笑话分享平台 ——音频、漫画分享子系统及Webservice模块---毕业论文

上传人:wo7****35 文档编号:55274036 上传时间:2018-09-26 格式:DOCX 页数:59 大小:1.80MB
返回 下载 相关 举报
基于Android系统的音频笑话分享平台 ——音频、漫画分享子系统及Webservice模块---毕业论文_第1页
第1页 / 共59页
基于Android系统的音频笑话分享平台 ——音频、漫画分享子系统及Webservice模块---毕业论文_第2页
第2页 / 共59页
基于Android系统的音频笑话分享平台 ——音频、漫画分享子系统及Webservice模块---毕业论文_第3页
第3页 / 共59页
基于Android系统的音频笑话分享平台 ——音频、漫画分享子系统及Webservice模块---毕业论文_第4页
第4页 / 共59页
基于Android系统的音频笑话分享平台 ——音频、漫画分享子系统及Webservice模块---毕业论文_第5页
第5页 / 共59页
亲,该文档总共59页,到这儿已超出免费预览范围,如果喜欢就下载吧!
资源描述

《基于Android系统的音频笑话分享平台 ——音频、漫画分享子系统及Webservice模块---毕业论文》由会员分享,可在线阅读,更多相关《基于Android系统的音频笑话分享平台 ——音频、漫画分享子系统及Webservice模块---毕业论文(59页珍藏版)》请在金锄头文库上搜索。

1、本本 科科 毕毕 业业 论论 文文 文文 档档基于基于 AndroidAndroid 系统的音频笑话分享平系统的音频笑话分享平 台台音频、漫画分享子系统及音频、漫画分享子系统及 Webservice 模块模块Audio Jokes Share Platform Based on Android: :Audio Cartoon Sharing System and Webservice Module姓 名: 学 号:学 院:软件学院系:软件工程专 业:软件工程年 级:校内指导教师: 年年 月月摘摘 要要随 3G技术的普及,人们的娱乐方式也随之不断的发生变化,将传统娱乐方式融入移动平台的机制正变得

2、越来越受到关注。近年来,手机流媒体业务已成为各大无线运营商的新的增长点,用户数量逐年递增。基于移动流媒体服务的应用也越来越畅销。在以上背景下,课题组决定研究基于移动设备的的音频笑话分享平台。本课题主要实现了音频分享子系统和平台的Web服务。 子系统可分为服务端和客户端两个部分。客户端主要完成音频的录制,试听和上传功能,服务端由上传模块和解码模块构成。客户端采用MVC架构将界面Activity,控制Service及实例层相分离。在音频录制模块中使用Android系统MediaRecorder组件实现录制并利用Android AIDL技术将Activity和Service分进程运行。进程间通过远程

3、接口调用,使得界面和录音服务互不影响,从而获得更好的用户体验。试听功能主要利用Android系统的MediaPlayer组件实现播放。漫画模块,主要采用三缓冲设计从服务端获取漫画图片的同时实现流畅播放,通过Apache提供的HTTPClient组件实现音频文件的上传下载。服务器端主要基于Spring和Hibernate框架,管理服务对象和进行O/R Mapping。在接收到笑话音频文件后会自动进入同步机制等用户的笑话信息上传后一起记录到数据库中,在此过程中为了计算音频文件的播放时间对音频文件进行解码,由于系统录制主要支持的是AMR12.2 和WAV格式所以解码主要针对AMR格式和WAV格式。解

4、码模块根据各种格式不同的特点和计算公式计算得出该音频文件相应的播放时间。 在服务端,通过Axis发布Web服务向客户端暴露服务,实现客户端与服务端的低耦合,从而减少服务端的冗余代码减少工作量并且提高系统的可扩展性。 关键词关键词:Android; SOA; HTTPAbstractWith widely use of 3G technology. Profound changes take place in peoples way of entertainment. There is growing need in combining traditional amusement with mo

5、bile platform. Streaming media has become a new business growth point of wireless operators with increasing users year-on-year. Against this backdrop, our group decided to realize a Internet joke share platform. This dissertation accomplishes the joke sharing system and web service.The system contai

6、ns two parts, namely the client and server. Client takes the responsibility of audio recording, listening and uploading, while the server end is constitute of uploading module and decoding module. The client end separate interface activity, control service and instances with MVC architecture. In the

7、 audio recording module, MediaRecorder of Android system is used to record audios , while Android AIDL technology is utilized to run Activity and Services in different processes . They then call each other with remote interfaces without interference , rendering better experience to users. Audio list

8、ening function plays with Media Player in Android system. The uploading process makes use of HTTP Client component provided by Apache. The server end is based on Spring and Hibernate, managing service object and conducting O/R Mapping. After receiving joke audios a synchronous mechanism will be touc

9、hed off, recording users information together into the database. During the process, audio files are decoded to calculate their play time. Decoding will be adaptable only to AMR and WAV formats which are supported by the recording module. The decoding module calculates play time in accordance with d

10、ifferent features and formulations of different formats.Key words:Android; SOA; HTTP1目录目录第一章第一章 绪论绪论 1 11.1 引言11.2 论文组织结构2第二章第二章 系统相关技术概述系统相关技术概述 3 32.1 AXIS 32.2 Spring + Hibernate32.2.1 Spring42.2.2 Hibernate .42.3 Android 42.3.1 Android 应用程序框架 .42.3.2 Android 应用程序组件52.4 本章小结 .7第三章第三章 系统原理系统原理 8 8

11、3.1 后台管理框架83.2 Webservice 部分 .83.3 本章小结.10第四章总体设计第四章总体设计 12124.1 系统概述.124.1.1 开发背景 124.1.2 系统模块图 134.1.3 基于 SOA 的系统架构144.1.4 系统开发环境 154.1.5 系统运行环境.154.2 本章小结.16第五章第五章 系统详细设计系统详细设计 17175.1 服务端详细设计.175.5.1 Webservice 模块设计 175.5.2 上传模块.205.5.3 解码模块 245.2 客户端详细设计.275.2.1 音频录制功能的实现.305.2.2 试听功能的实现 325.2.

12、3 上传功能的实现 365.2.4 漫画模块 375.3 本章小结.39第六章第六章 系统配置与接口测试系统配置与接口测试 41416.1 系统配置 41Axis 的搭建41Spring 与 Hibernate 框架的整合 .426.2 系统运行结果 .44第七章第七章 总结与展望总结与展望 47477.1 论文总结.477.2 工作展望 47参考文献参考文献 4949致致 谢谢 51513ContentChapter 1 Preface11.1 Introduction.11.2 Paper Organization2Chapter 2 System-related Technical Ov

13、erview32.1 AXIS.32.2 Spring + Hibernate32.3.1 Spring42.3.2 Hibernate.42.3 Android.42.3.1 Android Application Framework52.4 Summary.7Chapter 3 The Theory of The System .83.1Server Management Framework83.2 Webservice Module83.3 Summary.10Chapter 4 Concept Design124.1 System Description.124.1.1 Backgro

14、und.124.1.2 Modules.134.1.3 Architecture of System Based on SOA.144.1.4 Development Environment.154.1.5 Runtime Environment.154.2 Summary.16Chapter 5 Detailed Design175.1 Server.175.5.1 Webservice Module Design175.5.2 Upload Module Design.205.5.3 Decode Module Design.245.2 Client.275.2.1 Recorder Mo

15、dule 305.2.2 Player Module.325.2.3 Uploader Module365.2.4 Cartoon Module375.3 Summory.39Chapter 6 Configuration And Testing416.1 Configuraiton41Axis41Spring And Hibernate416.2 System Running State42Chapter 7 Summory And Outlook477.1 Summory.477.2 Work Prospects.47References 49Acknowledgements51第一章绪论

16、1第一章第一章 绪论绪论1.11.1 引言引言随着移动通信与 Internet 之间越来越紧密的联系,整个世界正在快速地向移动信息社会演变1。此外全球 3G 用户数量的增加,无线网络的覆盖面不断加大,加之智能手机处理能力的迅猛发展。手机流媒体服务在手机中有着越来越广泛的应用。据统计全球移动用户已经超过 15 亿,其中互联网用户超过 7 亿,我国移动通信用户总数超过 3.6 亿,其中互联网用户超过 1亿。同时网络分享的概念已经深入人心,很多大型网站也纷纷推出分享服务,例如针对大学生的校内网,针对视频的优酷、土豆等。并且这些网站都已经推出自己的手机客户端来抢占手机用户市场。可以想到以智能手机为客户端,以网络流媒体为形式,以专项领域的资料分享为服务模式的流媒体服务将成为未来的主流。面向服务的体系架构 SOA,作为新一代的软件开发架构对软件设计模式产生了深远的影响。SOA 通过建立可组合的、可重复的服务体系来减少IT 业务冗余,通过松耦

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

当前位置:首页 > 学术论文 > 毕业论文

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