軟件下載管理系統(tǒng)畢業(yè)設(shè)計(jì)論文.doc_第1頁
軟件下載管理系統(tǒng)畢業(yè)設(shè)計(jì)論文.doc_第2頁
軟件下載管理系統(tǒng)畢業(yè)設(shè)計(jì)論文.doc_第3頁
軟件下載管理系統(tǒng)畢業(yè)設(shè)計(jì)論文.doc_第4頁
軟件下載管理系統(tǒng)畢業(yè)設(shè)計(jì)論文.doc_第5頁
已閱讀5頁,還剩65頁未讀, 繼續(xù)免費(fèi)閱讀

下載本文檔

版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請(qǐng)進(jìn)行舉報(bào)或認(rèn)領(lǐng)

文檔簡(jiǎn)介

畢業(yè)論文 題 目: 軟件下載管理系統(tǒng)軟件下載管理系統(tǒng) 學(xué) 生: 指導(dǎo)老師: 專 業(yè): 學(xué) 號(hào): 軟件下載管理系統(tǒng)軟件下載管理系統(tǒng) 摘 要 利用網(wǎng)絡(luò)和數(shù)據(jù)庫技術(shù),結(jié)合目前硬件價(jià)格普遍下跌與寬帶網(wǎng)大力建設(shè)的有利優(yōu)勢(shì), 為個(gè)人站點(diǎn)的發(fā)展提供了廣闊的空間,應(yīng)用 active server page 技術(shù)和采用 access 數(shù)據(jù)庫 系統(tǒng)組件,我們開發(fā)了基于 b/s 模式多用戶軟件下載管理系統(tǒng)這一程序。它運(yùn)用方便、操 作簡(jiǎn)單,效率很高。主要提供了軟件下載及管理平臺(tái),在系統(tǒng)中,將管理用戶分為了兩大 類,一類為系統(tǒng)管理員,主要用于對(duì)下載軟件信息的管理,如軟件類別的維護(hù)、軟件下載的 軟件、注冊(cè)用戶的管理;另一類為注冊(cè)用戶,在本系統(tǒng)中,所有軟件的下載,都必須是授 權(quán)的,即下載軟件必須在本站登錄,這樣以便提高系統(tǒng)的穩(wěn)定性與可靠性。借助 b/s 模式, 可以方便的下載站點(diǎn)的各種信息,并可根據(jù)自身的需要選擇軟件下載,為軟件的交流提供 了一個(gè)平臺(tái),取得了較好的社會(huì)效益。 關(guān)鍵字 軟件下載 asp 技術(shù) access 信息系統(tǒng) 目 錄 軟件下載管理系統(tǒng)軟件下載管理系統(tǒng)2 1.可行性分析報(bào)告可行性分析報(bào)告.5 1.1 項(xiàng)目開發(fā)背景5 1.2 技術(shù)可行性研究6 2.系統(tǒng)設(shè)計(jì)系統(tǒng)設(shè)計(jì).8 2.2 設(shè)計(jì)思想8 3.需求分析需求分析.9 3.1 功能需求9 3.2 性能需求9 4.總體設(shè)計(jì)總體設(shè)計(jì).10 4.1 系統(tǒng)功能設(shè)計(jì)10 4.2 系統(tǒng)流程圖13 4.3 數(shù)據(jù)流程圖14 4.4 數(shù)據(jù)庫設(shè)計(jì)14 5.詳細(xì)設(shè)計(jì)詳細(xì)設(shè)計(jì).17 5.1 頁面子系統(tǒng)模塊17 因篇幅,更多請(qǐng)參見源程序因篇幅,更多請(qǐng)參見源程序.28 6.系統(tǒng)測(cè)試系統(tǒng)測(cè)試.28 6.1 測(cè)試目的28 6.2 測(cè)試目標(biāo)28 6.3 測(cè)試方法28 6.4 測(cè)試步驟29 6.5 系統(tǒng)的測(cè)試29 7.總結(jié)總結(jié).29 8.致謝辭致謝辭.30 9.參考文獻(xiàn)參考文獻(xiàn).30 10.附錄附錄.30 10.1 后臺(tái)服務(wù)器配置30 1.可行性分析報(bào)告 1.1 項(xiàng)目開發(fā)背景 現(xiàn)如今,internet 飛速發(fā)展,它越來越成為人們生活中的一部分,人們親切 地把它叫做信息高速公路。隨著計(jì)算機(jī)技術(shù)及通信技術(shù)的普及,人們有越來越 多的機(jī)會(huì),訪問 internet,并從 internet 中獲取資源,internet 緊密的與人們的生活 聯(lián)系起來。 internet,中文譯為國(guó)際互聯(lián)網(wǎng),它是一個(gè)全球性的計(jì)算機(jī)網(wǎng)絡(luò)。簡(jiǎn)單點(diǎn)說, 就是由很多個(gè)不同結(jié)構(gòu)的局域網(wǎng)通過一個(gè)統(tǒng)一的協(xié)議構(gòu)成的一個(gè)跨越國(guó)界的世 界范圍的大型網(wǎng)絡(luò)。 internet 特點(diǎn): (1)使用 tcp/ip 協(xié)議; (2)由數(shù)以萬計(jì)的局域網(wǎng)、廣域網(wǎng)組成; (3)采用報(bào)文分組交換傳送信息; (4)全球范圍的網(wǎng)絡(luò)。 internet 的前身“arpanet”于 1969 年成立,最初只連接了 4 臺(tái)計(jì)算機(jī)。 1983 年,arpa 和美國(guó)國(guó)防部通信局研制成功了用于異構(gòu)網(wǎng)絡(luò)的 tcp/ip 協(xié)議; 1986 年,美國(guó)國(guó)家科學(xué)基金會(huì)利用 arpanet 發(fā)展出來的 tcp/ip 通信協(xié)議,在 5 個(gè)科研教育服務(wù)超級(jí)電腦中心的基礎(chǔ)上建立了 nsfnet 廣域網(wǎng)。目前,nsfnet 已成為 internet 的重要骨干網(wǎng)之一。 時(shí)光進(jìn)入二十世紀(jì)九十年代,在美國(guó)政府的大力支持和市場(chǎng)需求急劇膨脹 的作用下,internet 進(jìn)入了商業(yè)化的時(shí)代,截止目前為止,全球互聯(lián)網(wǎng)用戶達(dá)到 一億兩千萬以上,聯(lián)上互聯(lián)網(wǎng)的主機(jī)超過 1000 萬臺(tái),每天通過 internet 傳送的 電子郵件超過一億次,僅此一項(xiàng),就節(jié)約了大量的時(shí)間和資源,更不用說天文 數(shù)字般的信息瀏覽所帶來的直接或間接利益了。 我國(guó)的改革開放也使得我國(guó)發(fā)展的步伐緊跟世界的發(fā)展潮流。目前,我國(guó) 上網(wǎng)的計(jì)算機(jī)數(shù)為 146 萬臺(tái),上網(wǎng)人數(shù)超過 400 萬人,國(guó)際線路總?cè)萘恳呀?jīng)達(dá) 到 241m。 基于 b/s 模式的信息管理系統(tǒng)是現(xiàn)階段研究開發(fā)的一個(gè)熱點(diǎn)。它是建立在 國(guó)際互聯(lián)網(wǎng)上的應(yīng)用系統(tǒng),客戶端的配置可以極為簡(jiǎn)單,使使用者不受地域的 局限。在本系統(tǒng)中,將利用 b/s 模式,構(gòu)建一個(gè)開放的軟件交流即下載平臺(tái), 為廣大網(wǎng)民提供軟件下載的便宜。 1.2 技術(shù)可行性研究 目前,網(wǎng)絡(luò)應(yīng)用軟件運(yùn)行的模式主要有二類:client/server 模式, browser/web 模式。前者主要的缺點(diǎn)是維護(hù)、升級(jí)較麻煩,后者是近幾年伴隨 internet 迅速發(fā)展起來的一種技術(shù),它與客戶/服務(wù)器方式類似,客戶端是一個(gè) 標(biāo)準(zhǔn)的瀏覽器,服務(wù)器端是 web server ,而 web server 與數(shù)據(jù)庫和應(yīng)用服務(wù) 器的緊密結(jié)合,使得這種模式的應(yīng)用范圍不斷擴(kuò)大,它已不僅僅用于網(wǎng)上查詢, 有很多部門的業(yè)務(wù)系統(tǒng)、企業(yè)的 mis 系統(tǒng)紛紛采用這種模式,它的主要優(yōu)點(diǎn)是 便于擴(kuò)充應(yīng)用、升級(jí)維護(hù)簡(jiǎn)便。 1.2.1 什么是 access?為何要選擇 access 作為 microsoft 的 office 套件產(chǎn)品之一,access 已經(jīng)賣出了近 700 萬份,成為世 界上最流行的桌面數(shù)據(jù)庫系統(tǒng)。access 與許多優(yōu)秀的關(guān)系數(shù)據(jù)庫一樣,可以讓 你很容易地連接相關(guān)的信息而且還對(duì)其他的數(shù)據(jù)庫系統(tǒng)有所補(bǔ)充。它能操作其 它來源的資料,包括許多流行的 pc 數(shù)據(jù)庫程序(如 dbase,paradox,microsoft foxpro)和服務(wù)器、小型積極大型機(jī)上的許多 sql 數(shù)據(jù)庫。access 還完全支持 microsoft 的 ole 技術(shù)。 access 還提供 windows 操作系統(tǒng)的高級(jí)應(yīng)用程序開發(fā)系統(tǒng)。access 與其它 數(shù)據(jù)庫開發(fā)系統(tǒng)之間相當(dāng)顯著的區(qū)別就是:您不用寫一行代碼,就可以在很短 的時(shí)間里開發(fā)出一個(gè)功能強(qiáng)大而且相當(dāng)專業(yè)的數(shù)據(jù)庫應(yīng)用程序,并且這一愉快 的過程是完全可視的!如果您能給它加上簡(jiǎn)短的 vba 代碼,那么您的程序決 不比專業(yè)程序員潛心開發(fā)的程序差。 access 功能強(qiáng)大,使用方便,是開發(fā)桌面數(shù)據(jù)庫的最優(yōu)秀的工具之一。 access 本身具有強(qiáng)大的向?qū)C(jī)制,能提供大量的數(shù)據(jù)庫常用操作。但如果 你能適當(dāng)?shù)募由仙倭康拇a,那么你的程序?qū)⑹菍I(yè)級(jí)的。這一切都靠 vba。 1.2.2 什么是 asp asp 的含義從字面上說,asp 包含三方面含義: active:asp 使用了 microsoft 的 activex 技術(shù)。activex(com)技術(shù)是現(xiàn) 在 microsoft 軟件的重要基礎(chǔ)。它采用封裝對(duì)象,程序調(diào)用對(duì)象的技術(shù),簡(jiǎn) 化編程,加強(qiáng)程序間合作。asp 本身封裝了一些基本組件和常用組件,有 很多公司也開發(fā)了很多實(shí)用組件。只要你可以在服務(wù)器上安裝這些組件, 通過訪問組件,你就可以快速、簡(jiǎn)易地建立自己的 web 應(yīng)用。 server:asp 運(yùn)行在服務(wù)器端。這樣就不必?fù)?dān)心瀏覽器是否支持 asp 所使 用的編程語言。asp 的編程語言可以是 vbscript 和 jscript。vbscript 是 vb 的一個(gè)簡(jiǎn)集,會(huì) vb 的人可以很方便的快速上 手。然而 netscape 瀏覽器不支持客戶端的 vbscript,所以最好不要在客 戶端使用 vbscript。而在服務(wù)器端,則無需考慮瀏覽器的支持問題。 netscape 瀏覽器也可以正常顯示 asp 頁面。 pages:asp 返回標(biāo)準(zhǔn)的 html 頁面,可以正常地在常用的瀏覽器中顯示。 瀏覽者查看頁面源文件時(shí),看到的是 asp 生成的 html 代碼,而不是 asp 程序代碼。這樣就可以防止別人抄襲程序。 由此我們可以看出,asp 是在 iis 下開發(fā) web 應(yīng)用的一種簡(jiǎn)單、方便的編 程工具。在了解了 vbscript 的基本語法后,只需要清楚各個(gè)組件的用途、 屬性、方法,就可以輕松編寫出自己的 asp 系統(tǒng)。 以下羅列了 active server pages 所獨(dú)具的一些特點(diǎn): 使用 vbscript 、jscript 等簡(jiǎn)單易懂的腳本語言,結(jié)合 html 代碼,即 可快速地完成網(wǎng)站的應(yīng)用程序。 無須 compile 編譯,容易編寫,可在服務(wù)器端直接執(zhí)行。 使用普通的文本編輯器,如 windows 的記事本,即可進(jìn)行編輯設(shè)計(jì)。 與瀏覽器無關(guān) (browser independence), 用戶端只要使用可執(zhí)行 html 碼 的瀏覽器,即可瀏覽 active server pages 所設(shè)計(jì)的網(wǎng)頁內(nèi)容。 active server pages 所使用的腳本語言 (vbscript 、jscript)均在 web 服務(wù)器端 執(zhí)行,用戶端的瀏覽器不需要能夠執(zhí)行這些腳本語言。 active server pages 能與任何 activex scripting 語言相容。除了可使用 vbscript 或 jscript 語言來設(shè)計(jì)外,還通過 plug-in 的方式,使用由第三方 所提供的其他腳本語言,譬如 rexx 、perl 、tcl 等。腳本引擎是處理腳 本程序的 com(component object model) 物件。 active server pages 的源程序,不會(huì)被傳到客戶瀏覽器,因而可以避免所寫 的源程序被他人剽竊,也提高了程序的安全性。 可使用服務(wù)器端的腳本來產(chǎn)生客戶端的腳本。 物件導(dǎo)向( object-oriented ) 。 activex server components(activex 服務(wù)器元件 ) 具有無限可擴(kuò)充性???以使用 visual basic 、java 、visual c+ 、cobol 等編程語言來編寫你 所需要的 activex server component 。 基于上述考慮,用 browser/web 模式來設(shè)計(jì)系統(tǒng)比較合適,服務(wù)器端我們采 用 access 數(shù)據(jù)庫系統(tǒng)和 asp 組件來構(gòu)成考試的應(yīng)用服務(wù)系統(tǒng);客戶端采用瀏 覽器來完成考試全過程,同時(shí)可進(jìn)行遠(yuǎn)程系統(tǒng)維護(hù)和管理。 2.系統(tǒng)設(shè)計(jì) 2.1 目標(biāo)設(shè)計(jì) 軟件下載管理系統(tǒng)的主要功能要求如下: 2.1.1 登錄系統(tǒng)的主要功能要求 歡迎頁面 系統(tǒng)安全登錄頁面 管理員或注冊(cè)用戶功能選擇頁面 2.1.2 軟件下載管理系統(tǒng)軟件管理的主要實(shí)現(xiàn)功能要求 建立軟件分類信息 已有軟件分類信息變更 上傳軟件 上傳軟件管理 注冊(cè)用戶管理 2.1.3 注冊(cè)用戶管理的主要功能要求 查看個(gè)人注冊(cè)信息 修改系統(tǒng)登錄密碼 注銷系統(tǒng) 2.1.5 系統(tǒng)主界面功能要求 分類瀏覽軟件信息 搜索下載軟件 用戶登錄頁面 下載指定軟件 2.2 設(shè)計(jì)思想 軟件下載管理系統(tǒng)充分利用了 brower/server 結(jié)構(gòu)的特點(diǎn),實(shí)現(xiàn)了管理員的 異地管理及注冊(cè)用戶的異地登錄,無需安裝客戶端軟件,用記只需擁有一臺(tái)連 網(wǎng)的電腦,即可登錄系統(tǒng),訪問軟件下載資源。 對(duì)于本軟件下載管理系統(tǒng),其功能目標(biāo)主要是軟件的上傳下載,軟件信息 的新增與維護(hù)。由于系統(tǒng)數(shù)據(jù)收集的實(shí)時(shí)性要求并不高,因此采用 browser/server 結(jié)構(gòu)來進(jìn)行設(shè)計(jì)是合理可行的。圖 2.2.1 是本系統(tǒng)的網(wǎng)絡(luò)應(yīng)用原 理示意圖。 3.需求分析 3.1 功能需求 3.1.1 系統(tǒng)需要經(jīng)過有效的身份驗(yàn)證才可以登錄 3.1.2 將登錄本系統(tǒng)的身份分為二種:管理員和注冊(cè)用戶,只有被授權(quán)的用戶 才可以使用本系統(tǒng)資源 3.1.3 系統(tǒng)根據(jù)用戶身份不同,使用的系統(tǒng)資源也不同 管理員:建立軟件分類信息、已有軟件分類信息變更、上傳軟件、上傳軟 件管理、注冊(cè)用戶管理 注冊(cè)用戶:查看個(gè)人注冊(cè)信息、修改系統(tǒng)登錄密碼 3.2 性能需求 系統(tǒng)對(duì)運(yùn)行環(huán)境的要求: 3.2.1 硬件環(huán)境 服務(wù)器端 隨著計(jì)算機(jī)硬件的高速發(fā)展,現(xiàn)在普通的機(jī)子已經(jīng)可以做為一個(gè)服務(wù)器端 使用。 cpu:c 2.0 或更高 硬盤:40g 或更多 內(nèi)存:128m 或更高(建議使用 256m) 用戶端 internet 上的用戶 internet 下載系統(tǒng) 系統(tǒng)服務(wù)器 系統(tǒng)后臺(tái)數(shù)據(jù)庫 cpu:c2.0 或更高 硬盤:20g 或更多 內(nèi)存:64m(建議使用 128m) 3.2.2 軟件環(huán)境 服務(wù)器端 操作系統(tǒng) access 網(wǎng)絡(luò)協(xié)議 tcp/ip web 服務(wù)器 internet information server 5.0 / personal web server 數(shù)據(jù)庫 access 瀏覽器 ie5.0 用戶端 操作系統(tǒng) windows 98/windows 2000/windows xp 網(wǎng)絡(luò)協(xié)議 tcp/ip 瀏覽器 ie 5.0 4.總體設(shè)計(jì) 4.1 系統(tǒng)功能設(shè)計(jì) 根據(jù)系統(tǒng)功能的要求,軟件下載管理系統(tǒng)分為三個(gè)模塊。即軟件下載管理 系統(tǒng)、注冊(cè)用戶系統(tǒng)、前臺(tái)信息瀏覽系統(tǒng)??梢詫⑾到y(tǒng)分解成為三個(gè)功能模塊 來分別設(shè)計(jì),功能模塊間的關(guān)系如圖 3.1.1 所示。 圖 3.1.1 對(duì)于軟件下載管理系統(tǒng),根據(jù)系統(tǒng)功能分析,可以具體細(xì)化為軟件類別信 息維護(hù)(類別信息的增加、類別信息的修改、類別信息的刪除)、軟件信息的維 http 地 址 登錄頁面 軟件下載管理系統(tǒng) 注冊(cè)用戶系統(tǒng) 信息瀏覽系統(tǒng) 護(hù)(軟件信息的增加、軟件信息的修改、軟件信息的刪除)、無用文件的清除、 注用用戶的管理(查看注冊(cè)用戶信息、修改注冊(cè)用戶信息、刪除注冊(cè)用戶信息、 不常訪問系統(tǒng)的用戶的清理)。 對(duì)于注冊(cè)用戶系統(tǒng),根據(jù)系統(tǒng)功能分析,用戶注冊(cè)、用戶信息修改、用戶 密碼修改等. 對(duì)于信息瀏覽系統(tǒng),根據(jù)系統(tǒng)功能分析,分類瀏覽軟件信息、查看高下載 軟件信息、搜索特定軟件、軟件下載頁面(實(shí)現(xiàn)下載軟件)。 整個(gè)系統(tǒng)的頁面邏輯結(jié)構(gòu)示意圖如圖 3.1.2 所示。 下載管理系統(tǒng) 修改密碼頁面 類別添加頁面 類別管理頁面 下載管理系統(tǒng)注冊(cè)用戶系統(tǒng) http 地址 登錄頁面 (login.asp) 管理員功能選擇頁面 信息瀏覽系統(tǒng) 信息瀏覽系統(tǒng) 分類瀏覽頁面 熱門下載頁面 軟件下載頁面 用戶注冊(cè)頁面 用戶登錄頁面 軟件添加頁面 軟件編輯頁面 用戶系統(tǒng) 查看個(gè)人信息頁面 修改個(gè)人信息頁面 修改登錄密碼頁面 退出系統(tǒng)頁面 注冊(cè)用戶瀏覽頁面 注冊(cè)用戶刪除頁面 注冊(cè)用戶清理頁面 軟件刪除頁面 4.2 系統(tǒng)流程圖 本軟件下載管理系統(tǒng)的系統(tǒng)流程圖如圖 3.2.1 所示。 圖 3.1.2 管理者信息 下載管理系統(tǒng) 軟件信息庫 注冊(cè)用戶管理系統(tǒng) 用戶 信息 登錄模塊 系統(tǒng)管理員 注冊(cè)用戶 信息瀏覽系統(tǒng) 4.3 數(shù)據(jù)流程圖 關(guān)于本系統(tǒng)的數(shù)據(jù)流程圖如圖 4.3.1 所示。 4.4 數(shù)據(jù)庫設(shè)計(jì) 4.4.1 數(shù)據(jù)庫的需求分析 根據(jù)系統(tǒng)功能設(shè)計(jì)的要求以及功能模塊的劃分,對(duì)于軟件下載系統(tǒng),可以 列出以下數(shù)據(jù)項(xiàng)和數(shù)據(jù)結(jié)構(gòu): 管理員表:管理員 id、用戶名、密碼等內(nèi)容。 軟件大類: 軟件大類 id、類別名稱等內(nèi)容。 軟件小類: 軟件小類 id、類別名稱等內(nèi)容。 圖 4.2.1 類別信息文件 軟件信息管理 軟件信息文件 系統(tǒng)管理員 類別 管理 類別 類別信息 軟件信息 圖 4.3.1 注冊(cè)用戶 用戶信息文件 用戶 注冊(cè) 注冊(cè)信息 注冊(cè)用戶管理 軟件信息:軟件 id,標(biāo)題,下載地址,說明等內(nèi)容。 用戶表: 用戶 id、用戶名,密碼等內(nèi)容 4.4.2 數(shù)據(jù)庫的邏輯設(shè)計(jì) 根據(jù)數(shù)據(jù)庫需求分析,可以得到如下數(shù)據(jù)庫表邏輯表信息 管理員表:管理員 id、用戶名、密碼等內(nèi)容。 它不需要任何外部數(shù)據(jù)支持。 軟件大類: 軟件大類 id、類別名稱等內(nèi)容。 它不需要任何外部數(shù)據(jù)支持。 軟件小類: 軟件小類 id、類別名稱等內(nèi)容。 它不需要任何外部數(shù)據(jù)支持。 軟件信息:軟件 id,標(biāo)題,下載地址,說明等內(nèi)容。 所需的外部數(shù)據(jù)支持: 大類名稱:指向一大類信息。 小類名稱:指向一小類信息。 用戶表: 用戶 id、用戶名,密碼等內(nèi)容 它不需要任何外部數(shù)據(jù)支持。 4.4.3 數(shù)據(jù)庫的結(jié)構(gòu)創(chuàng)建 根據(jù)數(shù)據(jù)庫需求的分析,建立如下數(shù)據(jù)表。 名稱:管理員(admin) 標(biāo)識(shí):admin 管理員信息表如表 所示: 表 名稱字段名稱數(shù)據(jù)類型主鍵 編號(hào)id數(shù)值是 姓名name文本 登錄密碼password文本 最后登錄 iplastloginip文本 最后登錄日 期 lastlogintime日期時(shí)間 最后退出時(shí) 間 lastlogouttime日期時(shí)間 登錄次數(shù)logintimes數(shù)值 名稱:下載大類(bigclass_down) 標(biāo)識(shí):bigclass_down 下載大類信息表如表 所示: 表 名稱字段名稱數(shù)據(jù)類型主鍵 編號(hào)bigclass_id數(shù)值是 類別名bigclass_name文本 名稱:下載小類(smallclass_down) 標(biāo)識(shí):smallclass_down 下載小類信息表如表 所示: 表 名稱字段名稱數(shù)據(jù)類型主鍵 編號(hào)smallclass_id數(shù)值是 類別名smallclass_name文本 名稱:軟件下載信息(download) 標(biāo)識(shí):download 下載信息表如表 所示: 表 名稱 字段名稱數(shù)據(jù)類型主鍵 編號(hào)id數(shù)值是 標(biāo)題title文本 說明content文本 大類名稱bigclassname文本 小類名稱smallclassname文本 系統(tǒng)system文本 語言language文本 軟件類型softclass文本 圖片地址photourl文本 下載地址downloadurl文本 文件大小filesize數(shù)值 點(diǎn)擊數(shù)hits數(shù)值 增加日期adddate日期 名稱:注冊(cè)用戶信息表(user) 標(biāo)識(shí):user 注冊(cè)用戶信息表如表 所示: 表 名稱字段名稱數(shù)據(jù)類型主鍵 編號(hào)id數(shù)值是 姓名username文本 密碼password文本 性別sex文本 聯(lián)系電話tel文本 emailemail文本 最后登錄日期lastlogintime日期時(shí)間 5.詳細(xì)設(shè)計(jì) 5.1 頁面子系統(tǒng)模塊 5.1.1 歡迎頁面 5.1.2 管理員登錄 管理員登錄 ipo 圖 輸入:管理員帳號(hào),密碼 處理:判斷工作證號(hào)和密碼是否有效。填入工作證號(hào)和密碼后點(diǎn)擊提交按 鈕,系統(tǒng)將自動(dòng)從數(shù)據(jù)庫中的管理員信息表中判斷是否存在相同的管理員和密 碼,如果有則進(jìn)入系統(tǒng),如果不存在或密碼錯(cuò)誤,則提示帳號(hào)或密碼有錯(cuò)誤的 信息。 輸出:登錄成功,進(jìn)入系統(tǒng)管理頁面。 管理員登錄頁面 主要登錄代碼如下: % dim sql,rs dim username,password,checkcode username=replace(trim(request(“username“),“,“) password=replace(trim(request(“password“),“,“) checkcode=replace(trim(request(“checkcode“),“,“) if username=“ then founderr=true errmsg=errmsg if i pursue you i will not catch you, and if i catch you-through your own slowness and clumsiness-i will not kill you, and if i kill you i will not eat you.“ nicholas had begun to back away, and at the last; words, realizing that they were a signal, he turned and began to run, splashing through the shallow water. ignacio ran after him, much helped by his longer legs, his hair flying behind his dark young face, his square teeth-each white as a bone and as big as nicholass thumbnail-showing like spectators who lined the railings of his lips. “dont run, nicholas,“ dr. island said with the voice of a wave. “it only makes him angry that you run.“ nicholas did not answer, but cut to his left, up the beach and among the trunks of the palms, sprinting all the way because he had no way of knowing ignacio was not right behind him, about to grab him by the neck. when he stopped it was in the thick jungle, among the boles of the hardwoods, where he leaned,.; out of breath, the thumping of his own heart the only . sound in an atmosphere silent and unwaked as earths long, prehuman day. for a time he listened for any sound ignacio might make searching for him; there was none. he drew a deep breath then and said, “well, thats over,“ expecting dr. island to answer from somewhere; there was only the green hush. the light was still bright and strong and nearly, shadowless, but some interior sense told him the day, was nearly over, and he noticed that such faint shades as he could see stretched long, horizontal distortions of their objects. he felt no hunger, but he had fasted be- fore and knew on which side of hunger he stood; he was not as strong as he had been only a day past, and by this time next day he would probably be unable to outrun ignacio. he should, he now realized, have eaten the monkey he had killed; but his stomach revolted at the thought of the raw flesh, and he did not know how he might build a fire, although ignacio seemed to have done so the night before. raw fish, even if he were able to catch a fish, would be as bad, or worse, than raw monkey; he remembered his effort to open a coconut-he had failed, but it was surely not impossible. his mind was hazy as to what a coconut might contain, but there had to be an edible core, because they were eaten in books. he decided to make a wide sweep through the jungle that would bring him back to the beach well away from ignacio; he had several times seen coconuts lying in the sand under the trees. he moved quietly, still a little afraid, trying to think of ways to open the coconut when he found it. he imagined himself standing before a large and raggedly faceted stone, holding the coconut in both hands. he raised it and smashed it down, but when it struck it was no longer a coconut but mayas head; he heard her nose cartilage break with a distinct, rubbery snap. her eyes, as blue as the sky above madhya pradesh, the sparkling blue sky of the egg, looked up at him, but he could no longer look into them, they retreated from his own, and it came to him quite suddenly that lucifer, in falling, must have fallen up, into the fires and the coldness of space, never again to see the warm blues and browns and greens of earth: 1 was watching satan fall as lightning from heaven. he had heard that on tape somewhere, but he could not remember where. he had read that on earth lightning did not come down from the clouds, but leaped up from the planetary surface toward them, never to return. “nicholas.“ he listened, but did not hear his name again. faintly water was babbling; had dr. island used that sound to speak to him? he walked toward it and found a little rill that threaded a way among the trees, and followed it. in a hundred steps it grew broader, slowed, and ended in a long blind pool under a dome of leaves. . diane was sitting on moss on the side opposite him; she looked up as she saw him, and smiled. “hello,“ he said. “hello, nicholas. i thought i heard you. i wasnt mistaken after all, was i?“ “i didnt think i said anything.“ he tested the dark water with his foot and found that it was very cold. “you gave a little gasp, i fancy. i heard it, and i said to myself, thats nicholas, and i called you. then i thought i might be wrong, or that it might be ignacio.“ “ignacio was chasing me. maybe he still is, but h think hes probably given up by now.“ the girl nodded, looking into the dark waters of they pool, but did not seem to have heard him. he began to work his way around to her, climbing across the snakelike roots of the crowding trees. “why does ignacio want to kill me, diane?“ “sometimes he wants to kill me, too,“ the girl said. “but why?“ “i think hes a bit frightened of us. have you ever talked to him, nicholas?“ “today i did a little. he told me a story about a pet fish he used to have.“ “ignacio grew up all alone; did he tell you that? on= earth. on a plantation in brazil, way up the amazon -dr. island told me.“ “i thought it was crowded on earth.“ “the cities are crowded, and the countryside closes to the cities. but there are places where its emptie than it used to be. where ignacio was, there would have been red indian hunters two or three hundred years ago; when he was there, there wasnt anyone, just the machines. now he doesnt want to be looked at, doesnt want anyone around him.“ nicholas said slowly, “dr. island said lots of people wouldnt be sick if only there werent other people around all the time. remember that?“ a “only there. are other people around all the time; thats how the world is.“ “not in brazil, maybe,“ nicholas said. he was trying to remember something about brazil, but the only thing he could think of was a parrot singing in a straw hat from the comview cartoons; and then a turtle and a hedgehog that turned into armadillos for the love of god, montressor. he said, “why didnt he stay there?“ “did i tell you about the bird, nicholas?“ she had been not listening again. “what bird?“ “i have a bird. inside.“ she patted the flat stomach below her small breasts, and for a moment, nicholas thought she had really found food. “she sits in here. she has tangled a nest in my entrails, where she sits and tears at my breath with her beak. i look healthy to you, dont i? but inside im hollow and rotten and turning brown, dirt and old feathers, oozing away. her beak will break through soon.“ “okay.“ nicholas turned to go. “ive been drinking water here, trying to drown her. i think ive swallowed so much i couldnt stand up now if i tried, but she isnt even wet, and do you know something, nicholas? ive found out im not really me, im her.“ turning back nicholas asked, “when was the last time you had anything to eat?“ “i dont know. two, three days ago. ignacio gave me something.“ “im going to try to open a coconut. if i can ill bring you back some.“ when he reached the beach, nicholas turned and walked slowly back in the direction of the dead fire, this time along the rim of dampened sand between the sea and the palms. he was thinking about machines. there were hundreds of thousands, perhaps millions, of machines out beyond the belt, but few or none of the sophisticated servant robots of earth-those were luxuries. would ignacio, in brazil (whatever that was like), have had such luxuries? nicholas thought not; those robots were almost like people, and living with them would be like living with people. nicholas wished that he could speak brazilian. there had been the therapy robots at st. johns; nicholas had not liked them, and he did not think ignacio would have liked them either. if he had liked his therapy robot he probably would not have had to be sent here. he thought of the chipped and rusted old machine that had cleaned the corridors-maya had called it corradora, but no one else ever called it any- f thing but hey! it could not (or at least did not) speak, 1 and nicholas doubted that it had emotions, except possibly a sort of love of cleanness that did not extend to its own person. “you will understand,“ someone was saying inside his head, “that motives of all sorts can be divided into two sorts.“ a doctor? a therapy robot? it did not matter. “extrinsic and intrinsic. an extrinsic motive has always some further end in view, and that end we call an intrinsic motive. thus when we have reduced motivation to intrinsic motivation we have reduced it to its simplest parts. take that machine over there.“ what machine? “freud would have said that it was fixated at the latter anal stage, perhaps due to the care its builders exercised in seeing that the dirt it collects is not released again. because of its fixation it is, as you see, obsessed with cleanliness and order; compulsive sweeping and scrubbing palliate its anxieties. it is a strength of freuds theory, and not a weakness, that it serves to explain many of the activities of machines as well as the acts of persons.“ hello there, corradora. and hello, ignacio. my head, moving from side to side, must remind you of a radar scanner. my steps are measured, slow, and precise. 1 emit a scarcely audible humming as 1 walk, and my eyes are fixed, as 1 swing my head, not on you, ignacio, but on the waves at the edge of sight, where they curve up into the sky. 1 stop ten meters short of you, and 1 stand. you go 1 follow, ten meters behind. what do 1 want? nothing. yes, 1 will pick up the sticks, and 1 will follow-five meters behind. “break them, and put them on the fire. not all of them, just a few.“ yes. “ignacio keeps the fire here burning all the time. sometimes he takes the coals of fire from it to start others, but here, under the big palm log, he has a fire always. the rain does not strike it here. always the fire. do you know how he made it the first time? reply to him!“ “ “ no. “no, patrdo!“ “ no, patrao.“ “ignacio stole it from the gods, from poseidon. now poseidon is dead, lying at the bottom of the water. which is the top. would you like to see him?“ “if you wish it, patrdo.“ “it will soon be dark, and that is the time to fish; do you have a spear?“

溫馨提示

  • 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請(qǐng)下載最新的WinRAR軟件解壓。
  • 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請(qǐng)聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
  • 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會(huì)有圖紙預(yù)覽,若沒有圖紙預(yù)覽就沒有圖紙。
  • 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
  • 5. 人人文庫網(wǎng)僅提供信息存儲(chǔ)空間,僅對(duì)用戶上傳內(nèi)容的表現(xiàn)方式做保護(hù)處理,對(duì)用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對(duì)任何下載內(nèi)容負(fù)責(zé)。
  • 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請(qǐng)與我們聯(lián)系,我們立即糾正。
  • 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時(shí)也不承擔(dān)用戶因使用這些下載資源對(duì)自己和他人造成任何形式的傷害或損失。

最新文檔

評(píng)論

0/150

提交評(píng)論