【正文】
表 9 在線用戶信息表 字段名稱 類型 非空 描述 ID 自動編號 YES 編號 User_id 數(shù)字 YES 用戶編號 Login_IP 文本 YES 登陸的 IP Login_Time 日期 /時間 NO 最新登陸時間 Last_Time 日期 /時間 NO 過去登陸時間 5 局域網(wǎng)文件共享及檢索系統(tǒng)的具體實現(xiàn) 分模塊介紹各模塊的關(guān)鍵技術(shù)及程序?qū)崿F(xiàn)方法 本系統(tǒng)的程序主要是采用模塊化思想來 編寫 的。 ( 1) 系統(tǒng)配置模塊( ) 此模塊功能主要是定義整個系統(tǒng)的變量,系統(tǒng)所要用到的變量,其本上在這里定義。設(shè)置站點名稱 border=666666 39。 ( 2) 連接數(shù)據(jù)庫模塊( ) 此模 塊主要功能是建立與數(shù)據(jù)庫的連接。 ( 4) 本頁面應(yīng)用模塊( ) 此模塊建立一個整體的框架。 ( 5) 注冊頁面模塊( ) 此模塊是新用戶進入系統(tǒng)的主要功能模塊。 ( 7) 退出系統(tǒng)模塊( ) 通過該功能模塊,用戶可以退出系統(tǒng)。此外還有其后臺管理模塊,由六部分組成:管理登陸,群組管理,用戶管理,管理員管理,退出登陸。管理登陸文件 admin/,默認用戶名 /密碼是admin/admin。用戶群包括:初級,中級,高級,特殊。其中權(quán)限內(nèi)容有:文件數(shù)量,文件大小,文件總量,最大目錄數(shù),存儲目錄。 ( 4) 管理員管理 管理員管理其實是管理員注冊,可添加新的管理員。添加新的管理員只包括兩部分:管理員名稱和密碼。點擊 edit 便能進入編輯管理員頁面,在這個頁面上可以修改管理員的名稱和密碼;而點擊 del 則進入刪除管理員頁面,按“確定刪除”按鈕便可刪除本條記錄。 部分模塊的設(shè)計和編碼 用戶注冊模塊的設(shè)計和實現(xiàn) ( 1) 功能:用戶通過該界面輸入自己的基本信息,以便登陸系統(tǒng)。在輸入過程中,如果輸入有誤,系統(tǒng)會出現(xiàn)提示信息。 ( 3) 處理:輸入用戶資料,在 頁面由 HTML 構(gòu)造出用戶輸入表格。獲取數(shù)據(jù)。如果不符合規(guī)范就給出錯誤信息。連接數(shù)據(jù)庫,以用戶登陸名作為檢索條件,創(chuàng)建記錄集。 用戶登陸模塊設(shè)計與實現(xiàn) 登陸模塊需要涉及到登陸界面的安排設(shè)計,查詢數(shù)據(jù)庫的 password 表(密碼表),同時將有關(guān)數(shù)據(jù)記錄到 log 表(日志表),還需要有用戶錯誤操作的提示信息。 ( 2) 輸入:用戶名和密碼。檢索戶數(shù)查看用戶是否存在。 6 系統(tǒng)的測試與分析 測試環(huán)境 本系統(tǒng)測試環(huán)境: CPU PIII8000 ,內(nèi)存 SDRAM 128M, SQL SERVER 2020,WIN2020/XP,2020 下均測試通過 .建議用戶 CPU PIII,內(nèi)存 256M 及以上,數(shù)據(jù)庫版本 Access, WIN2020PRO/XP, 2020, WIN2020 SERVER 及以上軟硬件平臺使用。此時的測試主要是用到一些測試數(shù)據(jù),測試數(shù)據(jù)除采用正常數(shù)據(jù)外,還包括了一些異常數(shù)據(jù)和臨界數(shù)據(jù),用他們來考驗程序邏輯上的正確性。在本系統(tǒng)的測試中用了以下幾種數(shù)據(jù): ( 1) 用正常數(shù)據(jù)調(diào)試:在本系 統(tǒng)中凡是有數(shù)據(jù)提交的地方都輸入以確定無誤的正常數(shù)據(jù)進行調(diào)試,如用戶登錄窗口中輸入數(shù)據(jù)庫中存在的用戶信息等。例如:空字符串。 ( 3) 用錯誤數(shù)據(jù)調(diào)試:用錯誤的數(shù)據(jù)進行調(diào)試主要是測試系統(tǒng)對錯誤的處理能力,包括顯示出錯信息及容許修改錯誤的可能性。 程序功能測試 經(jīng)過代碼測試正 確的程序只是基本上驗證了程序邏輯上的正確性,但并不能驗證程序是否滿足程序設(shè)計中定義的功能,也不能驗證測試數(shù)據(jù)本身是否完備。程序功能測試是面向程序應(yīng)用環(huán)境,把看作一個“黑匣子” ,認為程序只是滿足應(yīng)用功能上的需要,就是行的。 ( 1) 模塊功能測試 本系統(tǒng)是由多個功能模塊組成,每一模塊由一個或幾個程序構(gòu)成。 ( 2) 確認測試 這一階段的測試主要是檢查系統(tǒng)的功能,性能是否與用戶的需一致,在此測試的工作主要由同學(xué)幫助完成,以確定該系統(tǒng)的功能是否能滿足一般用戶的需要,系統(tǒng)的性能是否穩(wěn)定等。所 以,作者就在程序中 session 對象中的變量進行了重新修改,問題得到了解決。 測試結(jié)果 系統(tǒng)在上述軟硬件環(huán)境下對此系統(tǒng)各個子模塊功能做出了測試,結(jié)果基本達到預(yù)期功能。 圖 9 用戶注冊界面 ( 2)用戶信息顯示,顯示登陸用戶信息,如圖 10 所示。 圖 11 目錄創(chuàng)建界面 ( 4)文件上傳,用戶選定上傳目錄并上傳文件進入該目錄,如圖 12 所示。 圖 13 目錄查詢界面 ( 6)后臺管理,管理員對不同用戶進行管理。 圖 14 后臺管理界面 結(jié) 論 到現(xiàn)在為止 ,系統(tǒng)能夠?qū)崿F(xiàn)根據(jù)用戶需求的設(shè)計的大部分功能 ,但在開發(fā)過程中所遇到很多的問題還是的出乎當(dāng)初開始設(shè)計時預(yù)料之外。該系統(tǒng)使用方便,進入空間直接,界面簡單明了,操作方便。 又要兼顧 Inter 的特點,為 用戶 設(shè)計出快捷、方便的 查詢 功能 。 ( 3)用戶對共享目錄的操作權(quán)限由目錄密碼來控制,不僅目錄要在被共享的狀態(tài)下,而且用戶要對目錄訪問有正確的密碼,這樣才能訪問目錄中的文件。它目前主要面向?qū)W生、電腦辦公人員。在程序設(shè)計后期擴展,系統(tǒng)中還可以增加“站內(nèi)論壇”模塊,進一步擴充系統(tǒng)的功能。 與傳統(tǒng)的存儲共享工具相比,文件共享文件及檢索系 統(tǒng)具有以下優(yōu)點: ( 1)用戶分組管理,對用戶的權(quán)限和使用功能進行區(qū)分。 ( 3)目錄加密,使用戶在互訪時,對不可信任的用戶進行訪問限制(即使在共享的狀態(tài)下,也要求驗證密碼)。 ( 5)操作便捷、大容量、異步的局域網(wǎng)文件共享工具。需要以后再深入的研究。 [2] 黃斯偉 . 動態(tài)網(wǎng)頁制作 [M]. 北京:人民郵電出版社 , 1999。 [4] 陳會 . ASP 網(wǎng)頁制作徹底研究 [M]. 北京:人民郵電出版社 , 2020。 [6] 李瑞旭 . ASP 實例教程 [M]. 北京:中國電力出版社 , 2020。 [8] 張海藩 , 牟永敏 . 面向?qū)ο蟪绦蛟O(shè)計實用教程 [M]. 北京:清華大學(xué)出版社 , 2020。在此向他們表示我最衷心的感謝! 感謝張仕斌老師在課題研究初期給予的幫助,在張仕斌老師的幫助下課題才得以很好的展開,有了一個很好的開端!感謝大學(xué)四年和我一同走過的朋友們,與他們一起學(xué)習(xí),生活,讓我擁有許多難忘時光。 在論文完成過程中,本人還得到了其他老師和許多同學(xué)的熱心幫助,本人向他們表示深深的謝意! 最后向在百忙之中評審本文的各位專家、老師表示衷心的感謝! 作者簡介 姓 名:薛長明 性別:男 出生年月: 1984/08/24 民族:漢 Email: 聲 明 本論文的工作是 2020 年 2 月至 2020 年 6 月在成都信息工程學(xué)院網(wǎng)絡(luò)工程系完成。除非另有說明,本文的工作是原始性工作。 ( 2)學(xué)??梢圆捎糜坝?、縮印或其他復(fù)制方式保存學(xué)位論文。 ( 4)學(xué)校可允許學(xué)位論文被查閱或借閱。 除非另有科研合同和其他法律文書的制約,本論文的科研成果屬于 成都信息工程學(xué)院。 the effort to be even formally polite nearly strangled him. Even then the inspector was not brisk. He dis mounted in a leisurely fashion, and strolled into the house, chatting about the weather. Father, red in the face, handed him over to Mary who took him along to mother39。d for an unconscionable time while he examined the baby in minutest detail. At last, however, he emerged, with an expressionless face. In the littleused sittingroom he sat down at the table and fussed for a while about getting a good point on his quill. At last he took a form from his pouch, and in a slow, deliberate hand wrote that he officially found the child to be a true female human being, free from any detectable form of deviation. He regarded that thoughtfully for some moments, as though not perfectly satisfied. He let his hand hesitate before he actually dated and signed it, then he sanded it carefully, and handed it to my enraged father, still with a faint air of uncertainty. He had, of course, no real doubt in his mind, or he would have c alled for another opinion。s existence could be admitted. I was form ally told that I had a new sister, and presently I was taken to see her where she lay in a crib beside my mother39。 she did appear to be as normal as a newborn baby ever looks. ... While we were taking turns to look at her somebody started to ring the stable bell in the customary way. Everyone on the farm stopped work, and very soon we were all assembled in the kitchen for prayers of thanksgiving. Two, or it may have been three, days after Petra was born I happened upon a piece of my family39。 bedroom where my mother still lay in bed. It was a matter of chance, and strategy, too. It was the latest place that I had found to stay hidden awhile after the midday meal until the coast was clear and I could slip away without being given an afternoon job。 she did not have a somewhat damping manner of listening only to correct. I edged over carefully on stoc kinged feet to the window , watched her tether the horse, pic k a white bundle out of the trap, and carry it into the house. She cannot have met anyone, for a few seconds later her steps passed the door, and the latch of the next room clicked. 39。 my mother39。 So soon! You don39。ve brought a tiny baby all that way !39。I know,39。s voice, accepting the reproof in my mother39。but I had to, Emily. I had to. I heard your baby had e early, so I — oh, there she is! Oh, she39。s a lovely baby.39。 Mine39。t she? Isn39。 There was a certain amount of mutual congratulation which did not interest me a lot. I didn39。 I am glad, my dear. Henry must be delighted.39。Of course he is,3