【正文】
I 基于 Android 的移動(dòng)選課系統(tǒng) 的設(shè)計(jì) 摘 要 隨著互聯(lián)網(wǎng)的不斷發(fā)展以及高等教育與教學(xué)的改革,高校的選課方式已經(jīng)從傳統(tǒng)的紙質(zhì)方式轉(zhuǎn)向了網(wǎng)上選課方式。近年來,隨著智能手機(jī)等移動(dòng)設(shè)備的不斷普及,移動(dòng)選課將是 繼 互聯(lián)網(wǎng)選課 之后 的又一種選課模式。網(wǎng)上選課系統(tǒng)的軟件較多,但具體的移動(dòng)選課軟件相對較少。針對這個(gè)情況,本文討論在廣泛應(yīng)用的Android 平臺上設(shè)計(jì)與開發(fā)移動(dòng)選課系統(tǒng)。 本設(shè)計(jì) 作為 現(xiàn)有基于 Web 的網(wǎng)上選課系統(tǒng)的輔助手段和重要補(bǔ)充 ,旨在為廣大學(xué)生提供隨時(shí)隨地方便快捷的選課方式。通過初步對 Android 軟件開發(fā) 技術(shù) 和Java Servlet 編程技術(shù)的學(xué)習(xí)以及對現(xiàn)有選課系統(tǒng)的分析和研究,結(jié)合移動(dòng)互聯(lián)網(wǎng)的特點(diǎn),總結(jié)出移動(dòng)選課系統(tǒng)所應(yīng)具備的主要功能。 運(yùn)用 信息系統(tǒng)開發(fā)方法等技術(shù)手段對該系統(tǒng)進(jìn)行了整體的規(guī)劃 、 設(shè)計(jì)與實(shí)現(xiàn)。 該系統(tǒng)具有用戶登錄、選課、退選、查看選課信息等基本的功能。該系統(tǒng)分為 系統(tǒng)登錄、選課信息、選課、退選、已選課查詢等模塊。 在移動(dòng)選課系統(tǒng)的設(shè)計(jì)與實(shí)現(xiàn)過程中,采用了 C/S 架構(gòu)、Http 通信協(xié)議;服務(wù)器通過 JDBC 與 數(shù)據(jù)庫進(jìn)行交互,手機(jī)通過流的形式接收從Web 服務(wù)器傳來的數(shù)據(jù)。 關(guān)鍵詞: 移動(dòng)選課 , Android, Java Servlet, C/S 架構(gòu) II Design Of Mobile Elective Course System Based On Android ABSTRACT With the development of the inter and the college education’s revolution, universities’ course electing form has changed to inter course electing form from traditional one which uses paper materials. Nowadays, PDA phone and other mobile instruments have explored a very broad way in this society. Mobil elective course system is one another system which uses the inter to choose course. There are a few of soft wares appearing on the inter about course electing. However, there are little soft wares have the functions about Mobil elective course system. Under this situation, this system wrote this essay mainly talking about how to broadly use the Android system to design and explore Mobil elective course system. This essay as the supplementary ways based on some existing inter course electing systems is mainly to provide convenient and efficient ways for students’ course electing needs. After the basic study about the Android system exploration and the Java Servlet programming technology, this system bined the Mobil inter’s characters to get a summary which is about Mobil elective course system main functions. Through some system exploitation this system made a project about it. This system has some parts such as: system register, course elective information, course electing, course canceling, checking about the chosen courses, etc. During this designing process, this system used C/S and Http. The server uses JDBC date resource to municate. The phone use flow as the way to receive date from Web server. KEY WORDS: Mobile Elective Course, Android, Java Servlet, C/S III 目 錄 前 言 .................................................................................................. 1 第 1 章 緒論 ........................................................................................ 2 選課系統(tǒng)的現(xiàn)狀 ...................................................................... 2 Android 系統(tǒng)特點(diǎn) ................................................................... 2 基于 Android 的移動(dòng)選課系統(tǒng)概述 ...................................... 3 基于 Android 的移動(dòng)選課系統(tǒng)描述 ........................... 3 基于 Android 的移動(dòng)選課系統(tǒng)意義 ........................... 3 第 2 章 環(huán)境配置 ................................................................................ 4 軟件環(huán)境 ................................................................................ 4 Android 開發(fā)環(huán)境的搭建 ............................................. 4 SQL Server 數(shù)據(jù)庫配置 ................................................ 6 硬件環(huán)境 ................................................................................ 7 第 3 章 系統(tǒng)分析 ................................................................................ 9 系統(tǒng)設(shè)計(jì)的原則和目的 .......................................................... 9 需求分析 ................................................................................ 9 系統(tǒng)模塊 ...................................................................... 9 客戶端與服務(wù)器的連接方式 ......................................10 系統(tǒng)結(jié)構(gòu) .....................................................................10 第 4 章 系統(tǒng)設(shè)計(jì) ............................................................................... 11 該系統(tǒng)的整體結(jié)構(gòu) ................................................................ 11 數(shù)據(jù)庫設(shè)計(jì) ............................................................................ 11 數(shù)據(jù)庫結(jié)構(gòu)設(shè)計(jì) .......................................................... 11 數(shù)據(jù)庫各表的設(shè)計(jì) ......................................................12 服務(wù)器設(shè)計(jì) ............................................................................14 Java Servlet 程序 ..........................................................14 與數(shù)據(jù)庫交互的程序 ...................................................15 Android 客戶端設(shè)計(jì) ..............................................................15 Android 客戶端的頁面設(shè)計(jì) ........................................15 IV Android 客戶端各頁面之間的關(guān)系 ............................16 第 5 章 系統(tǒng)的實(shí)現(xiàn) ...........................................................................17 客戶端的實(shí)現(xiàn) ........................................................................17 系統(tǒng)主界面的實(shí)現(xiàn) ......................................................17 系統(tǒng)登錄模塊的實(shí)現(xiàn) ..................................................17 已選課程查詢模塊的實(shí)現(xiàn) ..........................................20 退選模塊的實(shí)現(xiàn) ..........................................................21 可選課程信息模塊的實(shí)現(xiàn) ..........................................21 選課模塊的實(shí)現(xiàn) ..........................................................22 服務(wù)器端的實(shí)現(xiàn) ....................................................................23 客戶端與服務(wù)器端的通訊 ....................................................25 第 6 章 測試 .......................................................................................27 測試的作用和意義 ................................................................27 測試方法 ...............................................................................27 測試內(nèi)容 ...............................................................................28 測試結(jié)果 ...............................................................................29 測試結(jié)論 ...............................................................................29 結(jié) 論 .............