基于Pyhon、Android技术的技能共享学习应用设计

 2022-01-30 04:01

论文总字数:35983字

摘 要

近几年,共享经济快速发展,在很多领域改变了我们的生活。通过互联网,将闲置的资源整合配置,能够创造新的社会价值,这对当下中国的发展有重要意义。本文中应用的实现是利用将拥有技能的人的空闲时间,为有需要的人提供服务,可以说是一种新型的共享经济模式。

本应用通过java,python语言开发了一个服务展示及交易的平台,帮助学校拥有一技之长的同学进行才艺与智力的价值输出。通过市场及需求调研后,进行整个移动互联网应用功能设计,整个平台主要由客户端,管理员界面,服务器,数据库四个部分组成。通过mysql搭建数据库为客户端提供数据源;使用tornado框架做后台业务,提供连接服务器和客户端的api接口;基于需求设计客户端和管理员的页面并用android控件及html和css进行实现,整个过程中使用Retrofit框架进行restfulapi风格的数据网络通信,架构方面通过组件化设计降低耦合性,通过使用MVP的架构模式提高可维护性;同时集成支付,聊天,数据统计,图片存储等多种第三方服务来满足业务的需求。

通过仿真及真机测试,应用能够满足市场需求,上线后通过用户反馈分析在进行不断的优化和改进,目前已经成为一款相对性能稳定的应用,拥有2000余位用户,5万余元交易额,正在进行南京其他高校推广。

关键词:移动互联,共享经济,安卓,python,tornado

SKILLS-SHARE APPLICATION BASED ON ANDROID AND PYTHON

Abstract

In the recent years, the rapid development of sharing economy has changed our life in many areas. The integration and reallocation of idle resource can be achieved through the Internet to create value for the world. It is important to the development China. By using the spare time of skilled people to provide service for people in need, the implementation of the APP in this paper works. It can be regarded as a new sharing economy mode.

This paper develops a platform with Java and Python language, which is for the showing and trading of service,to help students who have skills output their value of talent and intelligence. Through the research of market and demand , we carry out the entire mobile Internet applications design. the platform consists of four parts ,a client, the administrator interface ,servers, and databases。Data is provided to the client by the data base established by MySQL; API interface is provided by background business developed by Tornado to connect the servers and clients; The page of client and administrator interface are designed according to the need and implemented by Android controls and html,css styles.In the process, the app uses Retrofit framework to advance the restfulapi style data network ,component design to reduce the coupling of communications architecture and improve maintainability by using MVP architecture model.At the same time, several third-part service like payment, chatting, data statistics and image storing are assembled to meet the business need.

After simulation and test, the APP can meet the need of the market. Since the APP was put on line, it has been optimized and improved continuously by analyzing user feedback, which made it an APP with steady function.Now,It has more than 2000 users, 50000 yuan turnover, and other colleges and universities in Nanjing are spreading soon.

KEY WORDS:Mobile Internet, share-economy, Android, Python, Tornado

目录

摘要 2

目录 4

第1章 绪论 6

1.1 课题背景及任务 6

1.2 论文的主要内容及各章节的安排 7

第2章 相关技术简介 7

2.1安卓系统和Android Studio 7

2.1.1安卓系统 7

2.1.2 Android Studio 8

2.2Python及Tornado服务器框架 8

2.2.1 Python语言 8

2.2.2 Tornado框架 8

2.3Mysql及RESTful API 9

2.3.1Mysql 9

2.3.2RESTful API 9

第3章 系统方案设计 10

3.1 需求分析 10

3.2 系统方案架构 12

3.3客户端方案设计 13

3.3.1客户端功能模块 13

3.3.2客户端工程结构 15

3.4管理员系统设计 17

3.5服务端系统设计 18

3.5.1数据库设计 19

3.5.2API接口设计 25

第4章 系统实现与测试 27

4.1客户端实现 27

4.1.1MVP架构模式 27

4.1.2UI界面实现 28

4.1.3网络通信 32

4.1.4事件通知机制的设计与实现 34

4.1.5第三方服务实现 35

4.2服务端实现 37

4.2.1单服务器业务实现 39

4.2.2组合服务器业务实现 41

4.3系统测试 45

4.3.1单元测试 46

4.3.2真机测试 46

第5章 运营数据分析 50

5.1用户数据分析 50

5.2交易数据分析 51

第6章 结语 52

6.1项目总结 52

6.2后续工作 52

附录一 53

致 谢 57

参考文献 58

  1. 绪论

课题背景及任务

移动互联网的发展促进资源信息化,通过互联网这个信息化工具,结合共享经济的思维模式,使得闲置资源能够共享,已经在出行,住宿等领域出现众多互联网创新企业。本项目在互联网 和移动互联网信息化的背景下进行展开。

目前随着人们经济水平不断提高,对精神文化消费的需求日益增强,很多人希望业余时间培养一些兴趣爱好,获得更有品质的生活;同时专业的老师相对紧缺,但每个社区都有很多拥有一技之长的达人,可以利用他们的业余时间进行兴趣教学。技能共享属于共享经济范畴。共享经济指通过共享,达到闲置资源被充分利用的经济模式[1]。目前这种经济模式已经深刻改变了大众的生活方式.通过连接社区的技能达人,有需求的用户,空闲的场地,整合资源进行兴趣教学,打造一种新的教学模式,充实人们的业余生活。最终达到帮助每一个人个性化成长的目的。

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

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

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