• No results found

Design and Implementation of Mobile Social Networking Platform Based on Android System

N/A
N/A
Protected

Academic year: 2021

Share "Design and Implementation of Mobile Social Networking Platform Based on Android System"

Copied!
17
0
0

Loading.... (view fulltext now)

Full text

(1)

学校编码:10384 分类号 密级 学号:X2012230675 UDC

程 硕 士 学 位 论 文

基于

Android 系统的移动社交平台的

设计与实现

Design and Implementation of Mobile Social Networking

Platform Based on Android System

王豪杰

指 导 教 师: 张 仲 楠 副 教 授

专 业 名 称: 软 件 工 程

论文提交日期: 2 0 1 4 年 4 月

论文答辩日期: 2 0 1 4 年 月

学位授予日期: 年 月

导 教 师:

答辩委员会主席:

2014 年 4 月

厦门大学博硕士论文摘要库

(2)

厦门大学学位论文原创性声明

本人呈交的学位论文是本人在导师指导下

,独立完成的研究成

果。本人在论文写作中参考其他个人或集体已经发表的研究成果,均

在文中以适当方式明确标明,并符合法律规范和《厦门大学研究生学

术活动规范(试行)

》。

另外,该学位论文为( )课题(组)

的研究成果,获得(

)课题(组)经费或实验室的

资助,在(

)实验室完成。

(请在以上括号内填写课

题或课题组负责人或实验室名称,未有此项声明内容的,可以不作特

别声明。)

声明人(签名):

年 月 日

厦门大学博硕士论文摘要库

(3)

厦门大学学位论文著作权使用声明

本人同意厦门大学根据《中华人民共和国学位条例暂行实施办

法》等规定保留和使用此学位论文,并向主管部门或其指定机构送交

学位论文(包括纸质版和电子版),允许学位论文进入厦门大学图书

馆及其数据库被查阅、借阅。本人同意厦门大学将学位论文加入全国

博士、硕士学位论文共建单位数据库进行检索,将学位论文的标题和

摘要汇编出版,采用影印、缩印或者其它方式合理复制学位论文。

本学位论文属于:

( )1.经厦门大学保密委员会审查核定的保密学位论文,

年 月 日解密,解密后适用上述授权。

( )2.不保密,适用上述授权。

(请在以上相应括号内打

“√”或填上相应内容。保密学位论文应

是已经厦门大学保密委员会审定过的学位论文,未经厦门大学保密委

员会审定的学位论文均为公开学位论文。此声明栏不填写的,默认为

公开学位论文,均适用上述授权。)

声明人(签名):

年 月 日

厦门大学博硕士论文摘要库

(4)
(5)

摘要 I

社交网络曾一度改变人们的沟通方式和信息传播渠道,给白领阶层的休闲、 娱带提供了一个很好的平台。但随着3G 网络的普及,移动互联网开始具有了广 泛且实际的市场意义。各行各业都开始寻求移动端上的发展,把原本在PC 上的 业务放到移动端来处理,从而消除时间和地域的限制,突破互联网的局限,随时 随地的进行信息传输和业务处理。社交网络也面临同样的问题,人们不会再花费 大把的时间坐在电脑前,而更愿意使用随时随地都可以使用的手机。 本论文正是充分考虑了当今社会人们交际圈子、交际方式的变化和3G 网络 所带来的移动互联网络的发展以及它所带来的人们生活方式的变化等因素,基于 当前最为流行、应用最为普遍的Android 系统,为当今社会群体越来越大的白领 阶层,设计并实现了一个移动社交平台。该平台运用 Android 原生态 SDK 进行 开发,涉及百度社会化分享、百度推送、友盟统计、微信等第三方插件,后台用 Mysql 数据库。 本论文主要完成了移动社交平台系统的需求分析、系统设计、系统实现、和 系统测试等几项工作,采用了软件工程的标准流程。本系统已经在百度移动应用、 360 应用等多个移动应用市场上线运行,目前平台运行稳定,用户反映良好。该 系统的开发给不但推动了移动社交网络的发展,同时给白领阶层提供了一个良好 的休闲与娱乐的平台。 关键词:社交平台;移动互联;Android 系统

厦门大学博硕士论文摘要库

(6)
(7)

Abstract

III

Abstract

Social network once change people's communication and information transmission channel, bring white-collar recreational, entertainment provides a good platform. But, with the popularity of 3G network, mobile Internet began to have a extensive and practical significance. All walks of life is to seek the development on the mobile end, originally in the PC business in the mobile terminal to deal with, so as to eliminate the time and geographical constraints, break through the limitations of the Internet, and transmit information and process business anytime, anywhere. Social network is also facing the same problem, people won't spend a lot of time sitting in front of a computer, and are more willing to use mobile phones can be used anytime and anywhere.

The dissertation is fully considered by changes of people's social circle and communication way in today's society, and the development of mobile Internet brought by 3G network, and the changes of people's lifestyle. Based on the current most popular android system, the platform is a mobile social networking platform designed for today's society more and more white-collar. The platform use the Android native SDK for development, involving third-party plug-ins such as social sharing, Baidu push, union statistics, micro letter, and use the Mysql database.

This dissertation mainly completed the mobile social networking platform system requirements analysis, system design, system implementation, and system test and so on several work, adopted the standard process of software engineering. This system has been running in markets of Baidu mobile applications and 360 application. The platform is running stable at present, and users reflect is very good. The development of the system to not only promoted the development of the mobile social network, at the same time to the white-collar provides a good leisure and entertainment platform.

Key Words:Social platform; Mobile Internet; Android system

(8)
(9)

目录 V

目录

第一章

绪论 ... 1

1.1 课题背景与意义 ... 1 1.2 研究现状和问题 ... 1 1.3 论文研究内容 ... 2 1.4 论文组织结构 ... 2

第二章

相关技术介绍 ... 4

2.1 Android 系统 ... 4 2.2 Eclipse 开发平台 ... 4 2.3 Mysql 数据库 ... 5 2.4 百度社会化分享与云推送 ... 5 2.5 本章小结 ... 6

第三章

系统需求分析 ... 7

3.1 系统可行性分析 ... 7 3.1.1 技术可行性 ... 7 3.1.2 经济可行性 ... 7 3.1.3 操作可行性 ... 7 3.2 功能需求分析 ... 8 3.2.1 首页功能 ... 8 3.2.2 会员功能 ... 10 3.2.3 活动功能 ... 11 3.2.4 社区功能 ... 14 3.2.5 个人功能 ... 16 3.2.6 后台管理功能 ... 18 3.3 非功能性需求分析 ... 20 3.4 本章小结 ... 20

第四章

系统设计 ... 21

厦门大学博硕士论文摘要库

(10)

目录 VI 4.1 设计目标和原则 ... 21 4.2 系统总体架构 ... 21 4.3 系统网络结构 ... 22 4.4 功能模块设计 ... 23 4.4.1 首页模块 ... 24 4.4.2 会员模块 ... 25 4.4.3 活动模块 ... 26 4.4.4 社区模块 ... 27 4.4.5 个人模块 ... 29 4.4.6 后台管理模块 ... 30 4.5 数据库设计 ... 34 4.5.1 数据库概念设计 ... 34 4.5.2 数据库逻辑设计 ... 38 4.6 本章小结 ... 41

第五章

系统实现 ... 42

5.1 系统开发环境 ... 42 5.2 功能模块实现 ... 42 5.2.1 首页模块 ... 42 5.2.2 会员模块 ... 44 5.2.3 活动模块 ... 46 5.2.4 社区模块 ... 48 5.2.5 个人模块 ... 51 5.2.6 后台管理模块 ... 55 5.3 本章小结 ... 59

第六章

系统测试 ... 60

6.1 系统测试目标 ... 60 6.1.1 兼容性测试目标 ... 60 6.1.2 功能性测试目标 ... 60 6.1.3 性能测试目标 ... 61

厦门大学博硕士论文摘要库

(11)

目录 VII 6.2 系统测试环境 ... 61 6.3 功能测试用例和结果 ... 62 6.4 性能测试 ... 65 6.5 本章小结 ... 65

第七章

总结与展望 ... 66

7.1 总结... 66 7.2 展望... 66

参考文献

... 67

致谢

... 68

厦门大学博硕士论文摘要库

(12)
(13)

Contents

IX

Contents

Chapter 1 Introduction ... 1

1.1 Project Background and Significance ... 1

1.2 Research Situation and Problem ... 1

1.3 The Contents of Dissertation ... 2

1.4 The Chapters Arrangement of Dissertation ... 2

Chapter 2 Introduction to System Related Technologies ... 4

2.1 Android System ... 4

2.2 Eclipse Development Platform ... 4

2.3 Mysql Database ... 5

2.4 Baidu Social Share and Cloud Push ... 5

2.5 Summary ... 6

Chapter 3 System Requirements Analysis ... 7

3.1 System Feasibility Analysis ... 7

3.1.1 Technical Feasibility ... 7

3.1.2 Economic Feasibility ... 7

3.1.3 Operation Feasibility ... 7

3.2 Analysis of Functional Requirements ... 8

3.2.1 Home ... 8 3.2.2 Members ... 10 3.2.3 Active ... 11 3.2.4 Community ... 14 3.2.5 Personal ... 16 3.2.6 Background Management ... 18

3.3 Analysis of Non-functional Requirements ... 20

3.4 Summary ... 20

Chapter 4 System Design ... 21

(14)

Contents

X

4.1 Design Goals and Principles ... 21

4.2 System Overall Architecture ... 21

4.3 System Network Structure ... 22

4.4 Function Module Design ... 23

4.4.1 Home ... 24 4.4.2 Members ... 25 4.4.3 Active ... 26 4.4.4 Community ... 27 4.4.5 Personal ... 29 4.4.6 Background Management ... 30 4.5 Database Design ... 34

4.4.1 Database Conceptual Design ... 34

4.4.2 Database Logical Design ... 38

4.6 Summary ... 41

Chapter 5 System Implementation ... 42

5.1 System Environment Structures ... 42

5.2 Function Module Implementation ... 42

5.2.1 Home ... 42 5.2.2 Members ... 44 5.2.3 Active ... 46 5.2.4 Community ... 48 5.2.5 Personal ... 51 5.2.6 Background Management ... 55 5.3 Summary ... 59

Chapter 6 System Test ... 60

6.1 System Test Target ... 60

6.1.1 Compatibility Test Objectives ... 60

6.1.2 Functional Test Objectives ... 60

6.1.3 Performance Test Objectives ... 61

(15)

Contents

XI

6.2 System Test Environment ... 61

6.3 Functional Test Cases and Results ... 62

6.4 Performance Test ... 65

6.5 Summary ... 65

Chapter 7 Conclusions and Prospect ... 66

7.1 Conclusions ... 66

7.2 Prospect ... 66

References ... 67

Acknowledgements ... 68

(16)
(17)

Degree papers are in the “Xiamen University Electronic Theses and Dissertations Database”.

Fulltexts are available in the following ways:

1. If your library is a CALIS member libraries, please log on

http://etd.calis.edu.cn/ and submit requests online, or consult the interlibrary loan department in your library.

2. For users of non-CALIS member libraries, please mail to [email protected]

for delivery details.

References

Related documents

The projected gains over the years 2000 to 2040 in life and active life expectancies, and expected years of dependency at age 65for males and females, for alternatives I, II, and

Re- cently, the Commission on Sustainable Agriculture and Climate Change synthesized a vast array of literature on agriculture, food systems, food and nutritional se- curity,

expressed specifically in the endothelial cells 42 , resulting in a green fluorescent vasculature, we could observe the cancer cell location relative to the blood

A majority of responding arts organizations that own their own facility didn’t have a plan or didn’t know if one existed, and those facilities that were owned by another

ROHM shall n ot be in an y way responsible or liabl e for fa ilure, malfunction or acci dent arising from the use of a ny ROHM’s Products against warning, caution or

- Mammographic appearance of malignant masses, densities and architectural distortion due to in situ and invasive ductal carcinoma including subtypes and invasive lobular

If you are going to add RFID to your existing 4” x 6” MSL or Exterior Container Label, the human readable and barcode data on your existing MSL does not change. However, the