【正文】
acing to the development of portable puter or even more perfect aspect. As a result of the lowprice and highquality of the handset, it has bee the best choice that the people obtain each kind of information service in life.In our country, along with urbanized fast development, city bus system also rapidly expands, and even bees more plex. So, finding city bus route bees more difficult. Presently, the plex city bus system causes the condition which the users often are confused, which brings many inconvenient to people, but handset city bus inquiry system is also based on this background. Firstly, the author investigates the city bus system, provides “the Algorithm based on the stand priority and the next linking matrix” and “the Algorithm based on upward and downward matrix”. Secondly, these Algorithms are transplanted to the handset by J2ME, which can provide the inquiry for city bus at any time and any where by the aid of to the wireless Inter. Finally, through testing and analyzing, it confirms this system is some feasibility and practical value.Key words: City Bus Inquiry。 City Bus Exchanging Algorithm。 Wireless Inter目 錄論文總頁數(shù):27 頁1 引言 ............................................................................................................................................1 課題背景 ............................................................................................................................1 國內(nèi)外研究現(xiàn)狀 ................................................................................................................1 本課題研究的意義 ............................................................................................................2 本軟件的開發(fā)方法 ............................................................................................................2 本文的主要工作 ................................................................................................................3 研究的主要內(nèi)容 ........................................................................................................3 各章節(jié)的安排 ............................................................................................................32 手機公交查詢的需求分析和開發(fā)工具介紹 ............................................................................3 用戶的原始需求 ................................................................................................................3 手機公交查詢系統(tǒng)功能模塊及流程圖 ............................................................................4 開發(fā)工具介紹 ....................................................................................................................53 手機公交查詢系統(tǒng)的設(shè)計 ........................................................................................................5 手機公交查詢系統(tǒng)算法的設(shè)計 ........................................................................................5 直達的算法設(shè)計 ........................................................................................................5 一次換乘的算法設(shè)計 ................................................................................................6 二次換乘的算法設(shè)計 ................................................................................................7 手機公交查詢數(shù)據(jù)庫的設(shè)計 ............................................................................................7 數(shù)據(jù)庫的邏輯設(shè)計 ....................................................................................................7 數(shù)據(jù)庫的物理設(shè)計 ....................................................................................................84 手機公交查詢系統(tǒng)功能詳細實現(xiàn) ..........................................................................................10 服務(wù)器端的實現(xiàn) ..............................................................................................................10 基類(Base Class)的實現(xiàn) ....................................................................................11 輔助類(Help Class )的實現(xiàn) ................................................................................12 業(yè)務(wù)邏輯類(Logic Class)的實現(xiàn) .......................................................................13 服務(wù)器對外接口(Servlet)的實現(xiàn) ......................................................................16 WEB 端的實現(xiàn) ................................................................................................................16 WAP 端的實現(xiàn) ................................................................................................................18 手機客戶端的實現(xiàn) ..........................................................................................................20 客戶端界面的實現(xiàn) ..................................................................................................20 客戶端工作原理 ......................................................................................................20 手機網(wǎng)絡(luò)設(shè)置 ..........................................................................................................225 手機公交查詢系統(tǒng)測試與分析 ..............................................................................................22 測試環(huán)境 ..........................................................................................................................22 運行與測試 ......................................................................................................................22 測試結(jié)果 ..........................................................................................................................24結(jié) 論 ..........................................................................................................................................24參考文獻 ..........................................................................................................................................25致 謝 ..........................................................................................................................................26聲 明 .................................................................................................