摘要随着生活水平的不断提高,汽车已经成为不可或缺的代步工具,逐渐成为了人出行交通工具中的第一选择,这一发展趋势也促使城市中的出租车行业得到了蓬勃发展。但是有时候在出行的时候地处偏僻或正值上下班的高峰期,身边不一定随时都有待客出租车,这时就需要呼叫调度附近的出租车,但是城市中出租车数量庞大,人工处理工作量太大,无法实现高效调度。目前,随着智能手机的不断普及,可以利用功能丰富的手机APP来进行智能调度。82803
本次所设计系统利用调度中心作为中转来对乘客方(客户端模块)和出租车驾驶员方(服务端模块)进行调度,系统所完成功能主要包括:客户端上的注册登陆、客户端发送约车请求、服务端上的注册登录、服务端接收约车请求、调度中心的数据库作用、调度中心的信息中转作用等。
文中首先介绍了该系统的开发背景和需求分析,其次介绍了开发时运用到的相关技术与系统架构,然后主要研究了该系统的实现过程和代码编写等环节,最后对编写完成的系统进行测试,验证系统设计效果。本系统使用C语言在Vim+Gcc+Gdb环境下进行开发,客户端与调度中心、服务端与调度中心之间的信息传输过程基于socket建立通信通道,然后在TCP通信协议下实现信息交流。
Abstract With the continuous improvement of living standards, the automobile has become an indispensable means of transport, and gradually become the first choice travel traffic tools, this trend also contributed to the boom of urban taxi industry。 However, when it is a remote place or rush hour, people can’t find taxi immediately。 At this time, one need to call a taxi by dispatching system。 Because of large number of taxis in the city, manual processing workload is too large, it is unable to realize efficient scheduling。 At present, with the popularity of smart phones, mobile phone APP can be used to carry out intelligent scheduling。
The designed system uses the dispatch center as a relay between the passenger side (the client module) and taxi driver side (the server module) to schedule。 System function mainly includes: register and login of client module, transmitting ordering request of client module, register and login of sever module, receiving ordering request of sever module, database role of dispatch center, information transfer of dispatch center。
Firstly, this paper introduces the development background and demand analysis of the system。 Secondly, this paper describes related technology and system architecture。 Then mainly studies the realization and coding process and so on。 Finally, carries on the test to verify the effectiveness of the system。 The system uses C language to develop in Vim+Gcc+Gdb environment, the process of the information transfer between the client and the dispatch center, server and the dispatch center uses socket to establish communication channels, then achieve the exchange of information under TCP protocol。
Key words: Automobile dispatching; call the car; software compiling; information exchange
目录
第一章 绪论 1
1。1背景选题 1
1。2 发展现状 2
1。3系统开发环境 2
1。4全文内容安排 2
1。5本章小结 3
第二章 需求分析 4
2。1系统可行性分析 4
2。2系统需求分析 Vim+Gcc+Gdb出租车调度系统设计+源代码:http://www.youerw.com/jisuanji/lunwen_97308.html