摘 要
城市公共交通(簡(jiǎn)稱(chēng)“公交”)是與出行人員生產(chǎn)生活息息相關(guān)的重要基礎(chǔ)設(shè)施。提供良好的公交服務(wù)是建設(shè)和諧社會(huì)的基本要求。以信息化為基礎(chǔ),促進(jìn)乘客、車(chē)輛、站點(diǎn)設(shè)施以及交通環(huán)境等要素之間的良性互動(dòng),推動(dòng)公交系統(tǒng)建設(shè)。鑒于中國(guó)目前的經(jīng)濟(jì)發(fā)展?fàn)顩r,中國(guó)人出行還是以公交車(chē)為主,每個(gè)城市的公交系統(tǒng)都比較龐大發(fā)達(dá)。因此開(kāi)發(fā)一個(gè)城市公交路線查詢(xún)系統(tǒng)就顯得十分必要,也更加適應(yīng)現(xiàn)代社會(huì)的需求。
本課題設(shè)計(jì)主要針對(duì)公交路線查詢(xún)而開(kāi)發(fā)設(shè)計(jì)的,采用B/S構(gòu)架,利用Visual Studio.NET2003開(kāi)發(fā)工具結(jié)合C#編程語(yǔ)言來(lái)完成了功能和界面設(shè)計(jì),實(shí)現(xiàn)了公交路線的查詢(xún)功能(包括按線路查詢(xún)、按站點(diǎn)查詢(xún)、按起點(diǎn)終點(diǎn)站查詢(xún),提供起點(diǎn)到終點(diǎn)的最短公交路線查詢(xún),換乘查詢(xún),也支持模糊查詢(xún)。),并使用了.NET中一些web控件編寫(xiě)數(shù)據(jù)庫(kù)連接、更新的代碼,從而實(shí)現(xiàn)了公交路線信息的管理功能(包括對(duì)路線信息的添加、刪除、修改)。
本文共分為五大章,分別是:引言、理論基礎(chǔ)、系統(tǒng)需求分析、系統(tǒng)設(shè)計(jì)和系統(tǒng)實(shí)施及測(cè)試。
關(guān)鍵詞:公交查詢(xún);站點(diǎn)查詢(xún);線路查詢(xún);最短路徑;換乘;模糊查詢(xún);
The Design and Realization of CPT Bus Lines Query System
Abstract
City public traffic (CPT for short) is an important infrastructure closely interconnected with production and our daily life.Providing good CPT service is a basic requirement for constructing a harmonious society. Informatization as the basis, promoting the interaction between the passenger, vehicle, station infrastructure and trffic circumstance. and promoting the construction of CPT system.Whereas chinese actual economy developing complexion, people mainly take a bus going out, the CPT system of every cities is so enormous and developed.So developing a CPT bus line query system is greatly necessary, and more meeting the modern society's need.
In allusion to the CPT bus line query, the course design is developed and designed. It use B/S mode, and use development tool Visual Studio.NET2003 and programming language C# to completed the function and the design of interface, and realized the query of the CPT bus lines (including query by line, query by stop, query by start stop and end stop, and provide the shortest route querying from start stop to end stop, chang line query, and also support blur query.), and used some Web widgets to compile database connection and updating code, so as to realize the CPT bus lines information management(including add, delete, update the bus lines information).
The thesis has five chapters in all, they are introduction, rationale, system requirement analysis, system design, system actualizing and testing.
Key words: CPT query; stop query; bus line query; the shortest route; chang bus line; blur query;