摘 要
随着移动通信与Internet的飞速发展及相互融合,GPRS使无线网络高速接入到Internet成为现实,移动用户从而可以享受到Internet提供的服务。这样,移动终端不再仅是通讯网络的终端,还将成为互联网的终端。本文首先给出了系统研究背景,对当前手机操作系统发展做了简单的介绍。 Android是基于Linux内核的软件平台和操作系统,以其特有的开放性在智能手机、平板电脑等领域广泛应用。近几年电子商务得到了迅速的发展,通过Internet进行交易己成为一种潮流。两者的结合,便产生了具有巨大发展潜力的移动电子商务。
本系统主要是探索Android与网上团购的结合,利用JSP设计后台管理,Android SDK设计客户端。以手机团购系统为例,实现用户浏览,搜索,购买团购商品等功能。由于选择Mysql作为数据库,故部署了服务器作为客户端与数据库通信的桥梁。后台管理系统采用SSH框架技术控制逻辑及数据库操作,并且将CSS应用在JSP页面实现页面美化。实现对数据库中商品进行增,删,改,查的功能,并对客户订单进行管理。该系统较平常购物系统有更好的移动性与跨平台性。通过测试,已能够在Android手机上运行使用其各项购物流程。
关键词:团购网站;Android;移动 ;B/S
Abstract
With the rapid development of mobile communication and Internet and mutual fusion, GPRS high-speed wireless network access to the Internet to become a reality, mobile users can enjoy services provided by Internet. In this way, the mobile terminal is not only the communication terminal, also will become the Internet terminal. This paper gives the system the research background, the current development of mobile phone operating system to do a simple introduction. Android is the kernel of Linux software platform and operating system based on open, with its unique in the intelligent mobile phone, tablet computer, is widely used in the field of. In recent years, e-commerce is developing rapidly, through the Internet trading has become a trend. The combination of the two, will produce the mobile e-commerce has a huge potential for development.
This system mainly is the combination of exploration of Android and online group purchase, using JSP to design the backstage management, Android SDK client design. The mobile phone group purchase system as an example, achieve the users to browse, search, purchase group purchase goods and other functions. Due to the choice of Mysql as a database, the deployment of the server as a bridge of communication between client and database. The backstage management system management system using SSH framework technology to control logic and database operation, and the CSS applications in landscaping pages JSP pages. The realization of the database of goods increase, delete, change, check the function, and management of customer orders. The system is usually shopping system has better mobility and cross platform. Through the test, it has been able to use the shopping process running on the Android mobile phone.
Key words: group purchase website; Android; mobile B/S;
目 录
本 科 生 毕 业 论 文(设计) II
题目:基于android团购网站的设计与实现 II
摘 要 III
Abstract IV
第一章 概述 1
1.1 研究背景 1
1.2 研究目的及意义 1
1.3 Android现状分析 2
1.4 开发软件介绍 2
1.4.1 JSP技术 2
1.4.2 Android平台 3
1.4.3 Tomcat 5
1.4.4 MySQL数据库 5
第二章 系统需求分析 6
2.1可行性分析 6
2.1.1经济上的可行性 6
2.1.2技术上的可行性 6
2.1.3操作上的可行性 6
2.2系统用户用例图 7
2.3功能需求分析 8
2.4 运行环境要求 8
第三章 系统总体设计 9
3.1系统功能结构图 9
3.3数据流程分析 10
第四章 数据库设计 12
4.1数据库概念结构设计 12
4.2 数据库E-R图 13
4.3 数据库逻辑结构设计 14
第五章 系统功能实现 17
5.1 手机客户端实现 17
5.1.1 用户注册模块的实现 17
5.1.2用户登录模块的实现 18
5.1.3 购物车模块的实现 19
5. 2 服务器端管理模块实现 21
5.2.1 管理员登录模块的实现 21
5.2.2 团购商品信息模块的实现 23
第六章 系统测试 26
6.1 测试的任务及目标 26
6.2测试方案 26
6.2.1模块测试 27
6.2.2集成测试 27
6.2.3验收测试 27
6.2.4平行运行 28
结 论 29
致 谢 30
参考文献 31
第一章 概述
1.1 研究背景
随着移动通信的发展以及互联网向移动终端的普及,网络和用户对移动终端的要求越来越高,而Symbian,Windows Mobile,PalmOS等手机平台过于封闭,不能很好的满足用户的需求,因此市场迫切需要一个开放性很强的平台。经过多年的发展,第三代数字通信(3G)技术获得了广泛的接受,它为移动终端用户带来了更快的数据传输速率。随着3G网络的使用,移动终端不再仅是通讯网络的终端,还将成为互联网的终端。因此,移动终端的应用软件和需要的服务将会有很大的发展空间。Google为此于2007年11月推出了一个专为移动设备设计的软件平台——Android。Android是一套真正意义上的开放性的移动设备综合平台,它包括操作系统、中间件和一些关键的平台应用。Android是由Linux+Java构成的开源软件,允许所有厂商和个人在其基础上进行开发。Android平台的开放性等特点既能促进技术(包括平台自身)的创新,又有助于降低开发成本,还可以使运营商能非常方便地制定自己的特色化的团购产品。因此,移动手机团购网站具有很大的市场发展潜力。