分类号
TP31
UDC
公开
密级
编号
硕士研究生学位论文
题 目基于SSH的长春四海兴唐汽车 4S管理系
统的设计与实现
学院(所、中心)
软 件 学 院
专 业 名 称
软 件 工 程
研究生姓名
学号 R201300773
导 师 姓 名
职称
2015 年 02 月
扉页:
论文独创性声明及使用授权
本论文是作者在导师指导下取得的研究成果。除了文中特别加以标注和致谢
的地方外,论文中不包含其他人已经发表或撰写过的研究成果,不存在剽窃或抄
袭行为。与作者一同工作的同志对本研究所做的任何贡献均已在论文中作了明确
的说明并表示了谢意。
现就论文的使用对云南大学授权如下:学校有权保留本论文(含电子版),
也可以采用影印、缩印或其他复制手段保存论文;学校有权公布论文的全部或部
分内容,可以将论文用于查阅或借阅服务;学校有权向有关机构送交学位论文用
于学术规范审查、社会监督或评奖;学校有权将学位论文的全部或部分内容录入
有关数据库用于检索服务。
(内部或保密的论文在解密后应遵循此规定)
研究生签名:
导师签名:
日 期:
摘 要
计算机是近现代经营管理的必须工具,而计算机的应用在中国是越来
越普遍,自改革开放以后,中国的计算机用户数量不断增加,应用的水平也
不断提高,特别是互联网、移动通信、数字媒体等领域的应用程序取得了相
当不错的成绩。自从Web技术出现到现在,网站的架构技术就已经成为了一
个高速发展的领域。Internet的出现促使企业拥有了一个商机无限大的网络
发展空间,许多传统的信息以及数据库系统悄无声息地被移植以互联网上,
电子商务以其超高效率、超低成本的优势,渐渐地成为新兴的经营模式和营
销理念,越来越多的企业习惯将自己的业务通过Internet的形式直接的提供
给自己的客户,一个基于Internet的遍及全球电子商务框架正在形成。我们
人工记录汽车销售产品的时代已经一去不复返了。随着社会经济的迅雷般的
发展,面对汽车销售业一天比一天更加严酷竞争的现实,加强销售管理、提
高员工工作效率和改善客户服务质量成了必须立刻解决的问题。而解决这些
问题的关键措施很有效的就是建立使用、先进、高效的汽车销售系统,引进
一种新的前所未有的经营机制,适应在新形势下企业的生存和发展。汽车销
售系统让传统的商务流程电子化、数字化、一个方面以电子流代替了实物流,
可以大大的减少人力、物力,极大的降低了成本;另一个方面突破了时间和
空间的限制性,使得交易活动可以在任何的时间、任何的地点进行。从而使
我们大大提高了效率 根据系统的综合考虑,4S店管理系统采用的开发工具
是基于SSH技术、Oracle 10g,和Web的网络架构技术设计实现了一整套汽车
销售管理网站系统。此汽车销售管理系统是一套相较于传统方式更方便更快
捷的运行系统。该系统具有网站的开放性和全球性的特点,可以为汽车企业
创造更多的贸易机会。系统详细论述了汽车销售系统的设计,为了更清楚、
准确的描述该系统,于是书写这篇论文从六个方面来论述。第一部分论文论
述为什么要设计此系统及系统的运行环境,在这部分首先从汽车行业的发展
需要入手,详细的介绍了系统开发的背景(即系统开发的目的、意义)和系
统的运行时的环境。论文第二部分论述了系统的体系分析,主要从程序的需
求分析、可行性分析、数据流程的三个方面进行论述,系统需求分析是这部
分的重点。因为只有认真了解用户的需求,加上细致的进行调查分析,才能
把用户“做什么”的要求转换成一个相对完全的、细致的软件整体模型并写
出规格说明,这样才能准确的表达出用户的要求。论文的第三部分是系统的
详细设计论述。这一部分会从系统设计概要、模块结构设计这两方面进行论
述。论文第四部分是对系统的数据库设计进行论述,主要从数据库的设计和
界面设计两方面来阐述。论文第五部分是系统的具体的设计实现。论文第六
部分介绍了系统的实施和功能、性能测试。主要从程序的设计上,系统运行
中的出现的错误及处理方面进行论述。在论文最后又写了结论,致谢与参考
文献。
关键词:汽车网站,SHH,MyEclipse,Oracle
Abstract
Computer is a must tool of modern management, and the application of
computer is more and more popular in China, since the reform and opening up, the
number of computer users in China is increasing, the level of application has been
improved, especially the Internet, mobile communications, digital media and other
fields. Since the emergence of Web technology, the site's architecture technology
has become a rapidly developing field. Internet makes enterprises have a big
business opportunities of network development space, many traditional information
and database system quietly were transplanted to the Internet, electronic commerce
with ultra high efficiency, ultra low cost advantages, gradually become emerging
business model and marketing concept, more and more enterprises are used will be
their business through the Internet in the form of direct provide to their customers, a
based on Internet throughout the framework for global electronic commerce is being
formed. The time when we have recorded the car sales is gone. With the
development of social economy, the face of the automobile sales industry is more
severe than the day of the reality, strengthen sales management, improve staff
efficiency and improve customer service quality has become a problem to be solved
immediately. The key measures to solve these problems is to establish the use,
advanced and efficient car sales system, the introduction of a new business
mechanism, to adapt to the survival and development of enterprises in the new
situation. Car sales system to make the traditional business process electronic, digital,
an aspect to the electronic flow instead of the real logistics, can greatly reduce the
human, material resources, greatly reduce the cost; the other side broke through the
time and space constraints, so that the transaction can be in any time, any place. So
that we can greatly improve the efficiency of the system according to the overall
consideration, the system uses the development tool is based on SSH technology,
10g Oracle, and Web network architecture technology design and implementation of
a set of car sales management website system. The car sales management system is a
set of more convenient and faster operating system than the traditional way. The
system has the characteristics of the opening and the global site, it can create more
business opportunities for the automobile enterprises. This paper discusses the
design of the automobile sales system in detail, in order to describe the system more
clearly and accurately, and to write this paper from six aspects. The first part of the
paper discusses why the design of the system and the operating environment, in this
part of the first from the development of the automotive industry needs to start with
a detailed introduction to the system development background (that is, the purpose
of the system development, meaning) and the system's running environment. The
second part of the paper discusses the system analysis, mainly from the program's
demand analysis, feasibility analysis, data flow of the three aspects, the system
needs analysis is the focus of this part. Because only a careful understanding of the
needs of users, coupled with careful analysis, to the user to do what needs to be
converted into a relatively complete, detailed software overall model and write
specifications, so as to accurately express the user's requirements. The third part of
the paper is the detailed design of the system. This part will be discussed from two
aspects of system design, module structure design. The fourth part of this paper is to
discuss the database design of the system, mainly from the database design and
interface design two aspects to elaborate. The fifth part of the paper is the design and
implementation of the system. The sixth part of the paper introduces the
implementation and function of the system, performance test. Mainly from the
design of the program, the system running in the wrong and the handling of the
discussion. At the end of the paper, the conclusion is written, and the references are
also made.
Key words:Car Web、 SHH、 MyEclipse、Oracle
云南大学硕士学位论文
基于 SSH 的长春四海兴唐汽车 4S 管理系统
目
录
第一章 引言
1.1 项目背景
汽车 4S网站主要是为各汽车 4S网站进行网络选择,信息发布,潜在客户分析
的企业网站。
随着人们生产力和生活水平的提高,汽车已经从高档奢侈品逐渐变为了大
众可以接受的消费品。各种类型和价位的车辆满足不同人群的消费需求,使得
汽车数量不断增多,更多的汽车4S店涌现出来。信息社会的发展促进了计算机
网络与通信的应用,使得众多4S店管理平台层出不穷,但是大多数都是基于单
一品牌和C/S框架的管理系统,不利于跨平台的应用和扩展。开发一套功能强大,
扩展性强的汽车4S店管理系统,可以提高工作效率,汽车市场的公平竞争和平
稳发展,为汽车产业的优质化服务做出有益参考。本文详尽描述了J2EE框架的
结构,采用MVC开发模式和软件工程的思想,实现了汽车4S店管理系统的开发,
展现了Java跨平台的优势和B/S管理系统的优点。同时,通过异步交互技术进行
数据的传送和页面的刷新,提高了系统的稳定性、便捷性和安全性。4S店管理
系统实现了车型信息、汽车销售信息、配件信息、售后服务信息、信息反馈、
客户信息网店信息的相关管理功能,并实现前台网站的可扩展化设计。同时,
本平台从系统架构、数据检索、页面跳转等多个方面对系统进行优化。本课题
考察了4S店的工作流程,解决了4S实体店在时间和空间上的局限性,促进汽车
的优化服务,方便各品牌4S店高效率的管理和维护信息,形成可重用、易扩展
的高品质软件。本课题结合设计实例,分析并总结了J2EE框架对于软件开发起
到的关键作用。本项目的目的是通过J2EE开发平台,结合当今4S店的实际情况,
实现了汽车4S店管理系统的开发。系统基于B/S的系统架构,克服了传统4S网店
数据冗余、操作不便的缺点,为4S店的发展和普及做出了积极贡献。第一,需
要对现有的4S店进行调研,对查找的资料进行分析和整理,了解4S店的基本服
第 1 页
云南大学硕士学位论文
基于 SSH 的长春四海兴唐汽车 4S 管理系统
务和业务流程。该应用平台应该包括4S店经理、普通管理员和客户三种角色。
所有的访问者都可以浏览相关的信息,比如车型信息,销售信息,服务查询等;
访问者注册并通过审核后可成为系统的客户,可以进行看车预约、试驾车预约
等相关功能。第二,在技术上,拟采用J2EE的轻量级架构,建立
Spring+Struts+Hibernate组件的形式,并利用Ajax实现页面的局部刷新。J2EE
框架具有开放性、Java虚拟机具有与平台无关性,而且安装相应的Java客户端
的虚拟机十分方便。Ajax的异步交互思想,更加人性化的实现数据的检索和传
递功能,使得负载均衡,不容易造成资源冲突,提高了系统的性能。第三,应
提高系统的规范性,系统代码的编写要规范、合理,各个模块的划分符合实际
的应用需求。在4S店管理系统中,采用JavaScript进行客户端校验,验证数字、
邮箱、时间、空值等信息,并利用XML技术在服务器端进行校验,提高B/S结构
管理系统的健壮性和稳定性。第四,在业务上,4S店管理系统拟实现车型报价、
促销优惠、保养咨询、售后服务、道路救援、驾车预约、客户挖掘等相关模块。
对各个子模块进行UML建模分析、并对数据库进行设计,从而有利于形成易维护、
可扩展的4S店系统。
1.2 信息发布平台
信息发布系统由服务器、网络、播放器、显示设备组成。将服务器的信息通
过网络(广域网/局域网/专用网都适用,包括无线网络)发送给播放器,再由播
放器组合音视频、图片、文字等信息(包括播放位臵和播放内容等),输送给液
晶电视机等显示设备可以接受的音视频输入形成音视频文件的播放,这样就形成
了一套可通过网络将所有服务器信息发送到终端的链路。 信息发布系统为客户
提供直观、生动的信息,既能为客户提供快捷、丰富的实时公众信息(天气预报、
交通信息、新闻等),充分吸引客户的注意力,同时也能显示公告信息(4S店形
象宣传、服务/产品广告、企业的内部信息等),创造最大的广告效益。 信息发
布系统主要包括三个部分:中心控制系统、终端显示系统和网络平台。 中心管理
系统:软件安装于管理与控制服务器上,具有资源管理、播放设臵、终端管理及用
户的管理等主要功能模块,可对播放内容进行编辑、审核、发布、监控等,对所
有播放机进行统一管理和控制。 终端显示系统:包括媒体播放机、视音频传输
器、视音频中继器、显示终端,主要通过媒体播放机接收传送过来的多媒体信息
(视频、图片、文字等),通过VGA将画面内容展示在LCD、LED等显示终端上。 网
络平台:是中心控制系统和终端显示系统的信息传递桥梁,可以利用工程中已有
的网络系统,无需另外搭建专用网络。 根据复杂程度,信息发布系统一般分为
单机型、广播型、分播型、交互型、复合型。从复杂角度来说,单机型最为简单,
第 2 页