毕业论文-商业网站客服聊天软件的设计与实现.doc_第1页
毕业论文-商业网站客服聊天软件的设计与实现.doc_第2页
毕业论文-商业网站客服聊天软件的设计与实现.doc_第3页
毕业论文-商业网站客服聊天软件的设计与实现.doc_第4页
毕业论文-商业网站客服聊天软件的设计与实现.doc_第5页
免费预览已结束,剩余72页可下载查看

下载本文档

版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领

文档简介

international college, zhejiang university of technology zhu jiaqidesign and implementation of commercial chatting software for client servicea thesisin computer sciencepresented tothe faculty of thecollege of international zhejiang university of technologyin fulfillmentof the requirements for the degreebachelor of science in computer sciencebyzhu jiaqijune, 2010on my honor as a university student, on this assignment i have neither given nor received unauthorized aid as defined by the honor guidelines for papers in zjut courses._zhu jiaqiapproved _ (technical advisor)approved _ (ie advisor)摘要实时信息客服聊天软件(im)可以不用考虑使用者的地点,以及它们之间的距离。作为一种最常用的网络软件,im被看做是一种时尚的聊天工具,它可以衍生出社会成员之间的新型社交关系。至今,im是一种在人类历史长河中最具影响的应用之一。如今,商用企业与非盈利组织已经发行了成千上万种im实时信息交流软件。同时,一种新型的商业模式-电子商务已经被越来越多的人所关注与接受,这种模式是基于高端网络技术的。然而,对于通常的商用实时信息的市场对于竞争者仍然有市场。本论文研究并实现了一种新型的im客服软件,通过网络socket通道,在客户端和服务器端进行高效实时通讯,并从软件工程的设计规范出发,研究客户的需求,设计模块与功能,最终评估了im的使用效率和可扩展性。关键词 实时信息交流软件,客服软件, 电子商务abstractinstant messaging (im) makes communication ignore distance and available between strangers despite of the location. as the most frequently used network software, im is considered as the signal of modern communication that brings a new relationship in society. until now, im is the most impressive change for lives in human history. nowadays, there is hundreds of im software published by commercial organizations or non-profitable groups. at the same time, a new business form called e-commerce has been more and more noticeable and promising that based on advanced online technology. however, the market for a regular commercial instant messaging still left opportunity for following competitors. this thesis introduces a new im and evaluates the effectiveness of designed im. from software engineering point of view, the system has been designed and analyzed carefully, and tested in the end. keywords: instant messaging; chatting software; electronic commerce目录摘要i英文摘要ii第一章 绪论1第二章 选题背景2第三章 系统需求分析53.1 用户组需求分析53.1.1 系统管理员53.1.2 客服管理员53.1.3 客户63.2 系统服务分析63.2.1 后台服务63.2.2 前台服务73.2.3 数据库73.2.4 交互界面73.3 功能描述83.3.1 服务终端83.3.2 客户终端83.3.4 网站管理后台83.3.5 数据库存储功能8第四章 系统设计94.1 采用的技术/标准94.1.1 php高级编程语言94.1.2 mysql 数据库94.1.3 ajax异步通讯技术94.1.4 html网页编程标准104.2 系统设计图例104.3 数据库设计104.3.1 数据关系图例114.3.2 数据库选择114.3.3 表格列表114.3.4 表格设计124.3.5 数据库数据要求14第五章 系统实现175.1 用例图175.2 页面关系流图185.3 系统模块实现205.3.1 高优先级准备205.3.2 装载页面与运行205.3.3 管理员登录与权限控制335.3.4 管理员后台管理实现355.3.5 客服登录与实现505.3.6 客服交互见面的实现525.3.7 客户交互界面的实现555.3.8 浮动窗口实现59总结636.1 未解决的问题636.2 今后的工作636.3 将来的工作展望64文献67致谢69附录7070table contentabstract in chineseiabstractiichapter 1 introduction1chapter 2 background information2chapter 3 requirements53.1 user group analysis53.1.1 administrator53.1.2 service staff53.1.3 client63.2 system analysis63.2.1 backstage63.2.2 front service73.2.3 database73.2.4 chat interface73.3 function description83.3.1 service terminal83.3.2 client terminal83.3.4 website backstage83.3.5 database8chapter 4 system design94.1 technique/standard used94.1.1 php advanced language94.1.2 mysql database94.1.3 ajax94.1.4 html104.2 system design diagram104.3 database design104.3.1 entity relationship diagram114.3.2 database choose114.3.3 table list114.3.4 table design124.3.5 database data requirement14chapter 5 implement175.1 user case diagram175.2 relationship of pages185.3 system implement205.3.1 prior preparation205.3.2 install page and proceed implement205.3.3 admin login and authenticate proceeding implementation335.3.4 admin backstage management implement355.3.5 service staff login interface implement505.3.6 service staff chat interface implement525.3.7 client chat interface implement555.3.8 float window implement59conclusion636.1 unresolved problem636.2 future work636.3 outlook64reference67acknowledge69appendix70chapter 1 introduction commercial instant messaging is designed to achieve work that normally, it is not considered as the realm of im or lack of available conditions to reach the safety and legal requirements. although, “many people have exposure to interactive text primarily through teenage users who presumably exchange gossip and rumors, talk about their personal lives, and use im to do all the things teenagers do.”1, that “workplace expectations are likely to be either that interactive text is a waste of time, or possibly even socially undesirable.”2, the development of im software and the newer workplace environment began to accept this new technology as a useful tool in communication. in addition, there are two key factors identified as quality for acceptation in large number of users by markus: “first, users must choose to absorb certain costs associated with use”; “second, there must be initial variation in users abilities to contribute to and benefit from use of interactive communication systems”.3 therefore, these teenagers who are seemed as future rulers of the world, being interested in im or use im as part of life, will be the potential client of im in workplace. the latest news shows that research teams is looking for a suitable and available communication tools to overcome the inconvenience brought by mistrust and gap, particularly, when the project needs quick respond and frequently communication. it is hard to say commercial instant messaging is their best choice or the peak of revolution of work. however, this software can make promotion for development of communication in workplace possible and facilitate this type of research.in this article, it will focus on the issue faced by modern officers, project designed to solve these problems, requirement for client, software implement and further research on commercial instant messaging. chapter 2 background informationinstant messaging was created in july of 1996 by 4 young israeli avid-computer users. yair goldfinger (26,chief technology officer), arik vardi (27,chief executive officer), sefi vigiser (25,president), and amnon amir (24), started a company called mirabilis in order to introduce a new way of communication over the internet.these guys realized that millions of people were connecting to the internet to use the world wide web, but these users were not interconnected. they created a technology which would enable internet users to locate each other online on the internet, and to create peer-to-peer communication channels easily. they called their technology icq, (i seek you) and released it in november of 1996. (see figure 2.1)figure 2.1within 6 months, by word of mouse, 850,000 users had been registered by mirabilis. by june of 1997, mirabilis was able to handle 100,000 concurrent users and had become the largest internet communications network.microsoft had also created its own instant messaging client and service, msn messenger, and another internet heavyweight, yahoo! created one as well.because im services evolved from proprietary systems created by companies to make a profit, their systems remain unable to interoperate because of the desire to control the im market. aol and icq, even though they are owned by the same company, are not interoperable.not long after icq established the popularity of im, aol decided to enter the fray. within a very short time, aol instant messenger (aim) supplanted icq as the leading im utility. (see figure 2.2)figure 2.2other companies have taken a different approach rather than wait for an agreed-upon standard. jabber is one company that has created a client program capable of communicating with various im systems.in china, the most popular of im is qq published by tencent company in february, 1999. over 160,000,000 users have registered and around 2,000,000 users online at the same time. with its attracting model and convenient manipulation, the young people started qq firstly when then open their personal computer and more and more employees are joining this game. (see figure 2.3)figure 2.3sametimes im component is a successful “walk-up-and-use” application, requiring little documentation and no training. users achieve a commercially significant level of performance within three months, as shown by savings in the use of other communication channels. 4however, qq and other instant messaging software still stopped before being a formal commercial tool and though users have good impression on it, traditional instant messaging do not have role in more official place. it is no wander that any text transmitting via unsafe network by non-encrypted approach will be challenged by modern threats such as network tapping, illegal tampering or malicious intercepting so that the text can not contain valuable information. besides, a record from instant messaging can not be strong evidence whatever how it seemed promising and convincing on the court. for example, a default client who broke the contract and violate the spirit of commence will not be found guilt by providing text from instant messaging between client and producer. these defects make instant messaging dwell on the entertainment gate to official palace and make users believe instant messaging will develop various models and visual effects rather climbing into a higher level.chapter 3 requirements3.1 user group analysis3.1.1 administratoran administrator is the original person who founded the system and construct the website for providing certain service and has right to modify or maintain the system. in commercial instant messaging, an admin can install system on server, modify exist data and add/delete service staff via its own backstage page by entering correct password. as the fundamental officer, an admin has the highest permission in system.the boss or chairman on board may not be a proper candidate of administrator because of request of professional knowledge of computer science and network. normally, technical director is the admin considered his or her ability of manipulating computer. 3.1.2 service staffthere is no doubt that service staffs are the direct service providers faced client. every service staff has a unique id in commercial instant messaging system and they are divided into belonged service group such as technical service, product consulting or problem reporting. a service staff can log on by entering correct id and password to open the chat interface. when one of client activates selected service staff, a chat interface will be displayed to provide chat environment. during chat, service staff can transmit files or picture to client. unlike the administrator, service staff can not enter backstage page to modify its information which can only be changed by admin.good service staff should be familiar with information of company and have high professionalism. differ from usual service staff, online service staff do not have request of clothes may be have, but client can not see. the speed of typing becomes an important vocational skill to avoid wasting time so that client will not be impatient under time-consuming waiting. 3.1.3 clienteach visitor who read webpage will be considered as a client and be accepted when visitor activated a service staff to start. by clicking one of service staffs in different groups, client will be displayed a chat interface which is similar with service staffs one so that client can communicate with selected service staff. any off-line service staff cannot be activated.3.2 system analysis3.2.1 backstageto manage commercial instant messaging, there will be a backstage for admin to modify information. traditionally, a backstage page or any other management page is controlled by admin and is installed on server that be ensured to avoid any type of threats. the log window needs visitor enter correct id and password to continue. if admin enter backstage page successfully, backstage page will show several columns that contain system information which will influence the whole instant messaging system for changing: basic setting, service staff management and service staff group management.in the basic setting column, there is website path, admin cookie time, switch instant messaging status, title, time format, type of connection to database and time for keeping records. if admin change any content of columns, these changes will be activated after admin clicking “save change” button.in the service staff management column, there is a list of exist service staffs with their belonging service group, status, title and necessary information. admin can change these data. for further modification, admin can click service staffs name to change his or her username, password and front name. each change will be activated after clicking “save change” button. to add a new service staff, admin needs click “add user” button and follows instruction to complete proceed.in the service staff group management column, there is a list of exist service staff groups with their name and status. admin can change these data. to add a new service staff group, admin needs to enter new service staff group name in blank and click “create group” button. each change will be activated after clicking “save change” button.3.2.2 front servicea front service is a float window appeared with visitors action on the page. the front service needs to be conspicuous and independent from the content of webpage. also, the front service needs to show all service staffs with belonging service staff groups. all on-line service staff name will be lighted and be permitted to activate, otherwise the off-line service staff can not be activated. after clicking selected service staff, a chat interface should be shown.3.2.3 databasethe database is the key system that plays a medium role in instant messaging. for backstage, it provides management data and records changes; for service staff, it keeps log information and records text between staff and client. for budget, it is recommended to use mysql database system for backstage databases.3.2.4 chat interfacechat interface is the communication environment that provides platform for client and staffs. it should contain a zone for display text from both sides and a blank zone for entering text. besides, chat interface should show the number of talking clients. client chat interface and service staff chat interface have little difference: client chat interface can not save records, while service staff chat interface can save text records for consideration.3.3 function description3.3.1 service terminalbefore a service staff enters his chat interface, he is required to check his id and password. under this interface, the service staff is able to chat with client who requires for his or her service. during the chat, service staffs have ability to send or receive text, picture, small amount of animation and folders. 3.3.2 client terminalthis interface seems similar to service chat interface because of their similar functions provided. however, there are more limitations on client chat interface considered service chat staffs maximum capacity for handling with different clients at one time. to ensure the performance of service terminal, client can not send large folders or pictures, avoiding heavy load on service terminal. besides, there is no need for client to save information about any service staff, so client chat interface will not provide saving function and he or she has not a corresponding backstage for further modification.3.3.4 website backstagethis backstage is used for managing information about staff and owner. at this page, the administrator can manage service group, service staff and system setting.3.3.5 databaseall information about service staffs, owner and clients will be saved in database that installed on the server. chapter 4 system design4.1 technique/standard used4.1.1 php advanced languagephp is a widely used, general-purpose scripting language that was originally designed for web development to produce dynamic web pages. php language syntax combined c, java, perl and its own rules. it has quicker speed when precede dynamic web pages comparing with cgi and perl because php program is embedded into html file so that it has higher executing efficiency. the latest version is 5.3.2 published on march 4th, 20 mysql databasemysql is a relational database management system (rdbms) that runs as a server providing multi-user access to a number of databases. mysql is programmed by c and c+. it supports various operation systems such as freebsd, mac os or solaris. comparing to other large database system, mysql is cheaper and quicker. because of its open source feature, many small companies and people choose it for keeping data. the latest version is 5.1 released on nov 27th, 200 ajaxajax (shorthand for asynchronous javascript and xml) is a group of interrelated web development techniques used on the client-side to create interactive web applications. with ajax, web applications can retrieve data from the server asynchronously in the background without interfering with the display and behavior of the existing page. 4.1.4 htmlhtml, which stands for hypertext markup language, is the predominant markup language for web pages. the purpose of designing html is to connect files or images in two computers. html is an easy and general language that allows makers construct connection between files and images. another advantage of using html is his independence so that any vi

温馨提示

  • 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
  • 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
  • 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
  • 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
  • 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
  • 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
  • 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

最新文档

评论

0/150

提交评论