ip網(wǎng)絡(luò)ftp服務(wù)性能監(jiān)測(cè)工具設(shè)計(jì)與實(shí)現(xiàn).rar
ip網(wǎng)絡(luò)ftp服務(wù)性能監(jiān)測(cè)工具設(shè)計(jì)與實(shí)現(xiàn),ip網(wǎng)絡(luò)ftp服務(wù)性能監(jiān)測(cè)工具設(shè)計(jì)與實(shí)現(xiàn)1.2萬(wàn)字 36頁(yè)包括開(kāi)題報(bào)告和任務(wù)書(shū),程序代碼摘要在當(dāng)今信息社會(huì),以國(guó)際互聯(lián)網(wǎng)(internet)為主要特征的信息基礎(chǔ)設(shè)施正在改變?nèi)藗兊纳罘绞?資源共享已經(jīng)成為人們生活的迫切需要。文件傳輸是信息共享的一個(gè)重要內(nèi)容,ftp(file transfer protocol文件傳輸協(xié)...
該文檔為壓縮文件,包含的文件列表如下:
內(nèi)容介紹
原文檔由會(huì)員 915 發(fā)布
IP網(wǎng)絡(luò)FTP服務(wù)性能監(jiān)測(cè)工具設(shè)計(jì)與實(shí)現(xiàn)
1.2萬(wàn)字 36頁(yè)
包括開(kāi)題報(bào)告和任務(wù)書(shū),程序代碼
摘 要
在當(dāng)今信息社會(huì),以國(guó)際互聯(lián)網(wǎng)(Internet)為主要特征的信息基礎(chǔ)設(shè)施正在改變?nèi)藗兊纳罘绞?資源共享已經(jīng)成為人們生活的迫切需要。文件傳輸是信息共享的一個(gè)重要內(nèi)容,F(xiàn)TP(File Transfer Protocol文件傳輸協(xié)議)自然而然成為網(wǎng)絡(luò)間交互的重要協(xié)議。與大多數(shù)Internet服務(wù)一樣,F(xiàn)TP也是一個(gè)客戶(hù)機(jī)/服務(wù)器系統(tǒng)。用戶(hù)通過(guò)一個(gè)支持FTP協(xié)議的客戶(hù)機(jī)程序,連接到在遠(yuǎn)程主機(jī)上的FTP服務(wù)器程序。用戶(hù)通過(guò)客戶(hù)機(jī)程序向服務(wù)器程序發(fā)出命令,服務(wù)器程序執(zhí)行用戶(hù)所發(fā)出的命令,并將執(zhí)行的結(jié)果返回到客戶(hù)機(jī)。
隨著 Internet/Intranet 技術(shù)的迅速發(fā)展,許多公司、企業(yè)和網(wǎng)站建立了不少基于 FTP的應(yīng)用系統(tǒng)。一般地,在設(shè)計(jì)開(kāi)發(fā) FTP 應(yīng)用系統(tǒng)的時(shí)候,很難模擬出大量用戶(hù)同時(shí)訪問(wèn)系統(tǒng)的實(shí)際情況,使得系統(tǒng)投入使用以后,當(dāng)遇到訪問(wèn)高峰時(shí),容易發(fā)生服務(wù)器響應(yīng)速度變慢甚至服務(wù)中斷。為了避免這種情況,需要一種能夠真實(shí)模擬多用戶(hù)訪問(wèn) FTP服務(wù)器的工具程序,當(dāng)服務(wù)器程序在設(shè)計(jì)開(kāi)發(fā)階段時(shí),使用這一工具對(duì) 程序進(jìn)行性能測(cè)試,及時(shí)發(fā)現(xiàn) FTP應(yīng)用程序的服務(wù)瓶頸,以便采取相應(yīng)的措施。
論文分別從程序的設(shè)計(jì)思想和關(guān)鍵技術(shù)著手,闡述了該FTP測(cè)試工具的設(shè)計(jì)過(guò)程并提供出測(cè)試數(shù)據(jù)。
關(guān)鍵字:FTP協(xié)議,客戶(hù)端,性能測(cè)試
Design and Tmplementation of the FTP performance
monitors tool
Abstract
In information society, the main characteristic of information infrastructure is changing people's life style,sharing of resouurces already becomes the urgent requirement for people’s life.The file transfer is an important content of information sharing,ftp naturally becomes important protocol in network interactive.as same as other majority Internet Serves,ftp is also a client/server system.The user connects to the long-distance ftp server programme through the client programme which supports the ftp agreement.The user sends out the order through the client programme to the server programme,server programme execute the order which user sends out,and the result will be returned to the client.
Along with the Internet/Intranet technology developping rapidly,many companies, the enterprise and the website have established many application system based on the ftp.Generally, in the design time of developping the ftp application system,it is very difficult to simulatethe actual situation of the massive users to visit the system simultaneously .When meets the visit peak after system used,it is easy to slow down the server speed of response even interrupt the service.In order to avoid this situation, it needs one tool procedure to really be able to simulate multiuser visits the ftp server.When server procedure in design phase,uses this tool to carry on the performance test for the procedure, discovers the service bottleneck of the ftp application programme promptly, and takes the corresponding measure.
This thesis from design thought and the essential technology of the procedure, elaborates the designing of this ftp testing tool and provids the test data.
Key words: FTP,client,performance test
目 錄
1 緒 論 1
1.1 課題研究背景及目的 1
1.2 研究現(xiàn)狀和發(fā)展趨勢(shì) 1
1.3 FTP簡(jiǎn)介 3
1.4 影響FTP性能的因素 4
1.4.1 網(wǎng)絡(luò)問(wèn)題 4
1.4.2 傳輸問(wèn)題 4
1.4.3 影響FTP性能的其他因素 5
1.5 研究?jī)?nèi)容 6
1.5.1 FTP工作原理概述 6
1.5.2 性能測(cè)試技術(shù)的實(shí)現(xiàn) 6
2 相關(guān)技術(shù) 7
2.1 FTP協(xié)議及工作原理 7
2.1.1 控制連接 8
2.1.2 數(shù)據(jù)連接 8
2.2 性能測(cè)試技術(shù) 9
2.3 系統(tǒng)環(huán)境模型 11
3 程序設(shè)計(jì)與實(shí)現(xiàn) 12
3.1 性能測(cè)試 12
3.2 C/S體系結(jié)構(gòu) 13
3.3 FTP客戶(hù)端的設(shè)計(jì) 14
3.3.1 Socket編程的使用 14
3.3.2 服務(wù)器的連接(見(jiàn)附錄) 15
3.4 響應(yīng)時(shí)間的計(jì)算 15
3.5 多線程的實(shí)現(xiàn) 16
4 工具的測(cè)試 19
4.1 軟件測(cè)試 19
4.2 測(cè)試對(duì)象 19
4.3 測(cè)試目的 19
4.4 測(cè)試環(huán)境 19
4.5 測(cè)試過(guò)程 19
4.6 測(cè)試數(shù)據(jù) 20
致 謝 21
參考文獻(xiàn) 22
參考文獻(xiàn)
[1]沙茨.操作系統(tǒng)概念[M].北京:高等教育出版社
[2]庫(kù)羅斯,羅斯.計(jì)算機(jī)網(wǎng)絡(luò)[M].北京:高等教育出版社
[3]Parsons.計(jì)算機(jī)文化[M].北京:電子工業(yè)出版社
[4]Paul Barford,Mark Crovella.A Performance EvaLuation of Hyper Text Tranfer Protocals[J]. Computer Science Department
附錄
public class FTPClient
{
public string date;
public string time;
public long size;
public string name;
public bool dir;
public string remotePath;
public string localPath;
public FTPDirection direction;
public string user;
public string password;
......
1.2萬(wàn)字 36頁(yè)
包括開(kāi)題報(bào)告和任務(wù)書(shū),程序代碼
摘 要
在當(dāng)今信息社會(huì),以國(guó)際互聯(lián)網(wǎng)(Internet)為主要特征的信息基礎(chǔ)設(shè)施正在改變?nèi)藗兊纳罘绞?資源共享已經(jīng)成為人們生活的迫切需要。文件傳輸是信息共享的一個(gè)重要內(nèi)容,F(xiàn)TP(File Transfer Protocol文件傳輸協(xié)議)自然而然成為網(wǎng)絡(luò)間交互的重要協(xié)議。與大多數(shù)Internet服務(wù)一樣,F(xiàn)TP也是一個(gè)客戶(hù)機(jī)/服務(wù)器系統(tǒng)。用戶(hù)通過(guò)一個(gè)支持FTP協(xié)議的客戶(hù)機(jī)程序,連接到在遠(yuǎn)程主機(jī)上的FTP服務(wù)器程序。用戶(hù)通過(guò)客戶(hù)機(jī)程序向服務(wù)器程序發(fā)出命令,服務(wù)器程序執(zhí)行用戶(hù)所發(fā)出的命令,并將執(zhí)行的結(jié)果返回到客戶(hù)機(jī)。
隨著 Internet/Intranet 技術(shù)的迅速發(fā)展,許多公司、企業(yè)和網(wǎng)站建立了不少基于 FTP的應(yīng)用系統(tǒng)。一般地,在設(shè)計(jì)開(kāi)發(fā) FTP 應(yīng)用系統(tǒng)的時(shí)候,很難模擬出大量用戶(hù)同時(shí)訪問(wèn)系統(tǒng)的實(shí)際情況,使得系統(tǒng)投入使用以后,當(dāng)遇到訪問(wèn)高峰時(shí),容易發(fā)生服務(wù)器響應(yīng)速度變慢甚至服務(wù)中斷。為了避免這種情況,需要一種能夠真實(shí)模擬多用戶(hù)訪問(wèn) FTP服務(wù)器的工具程序,當(dāng)服務(wù)器程序在設(shè)計(jì)開(kāi)發(fā)階段時(shí),使用這一工具對(duì) 程序進(jìn)行性能測(cè)試,及時(shí)發(fā)現(xiàn) FTP應(yīng)用程序的服務(wù)瓶頸,以便采取相應(yīng)的措施。
論文分別從程序的設(shè)計(jì)思想和關(guān)鍵技術(shù)著手,闡述了該FTP測(cè)試工具的設(shè)計(jì)過(guò)程并提供出測(cè)試數(shù)據(jù)。
關(guān)鍵字:FTP協(xié)議,客戶(hù)端,性能測(cè)試
Design and Tmplementation of the FTP performance
monitors tool
Abstract
In information society, the main characteristic of information infrastructure is changing people's life style,sharing of resouurces already becomes the urgent requirement for people’s life.The file transfer is an important content of information sharing,ftp naturally becomes important protocol in network interactive.as same as other majority Internet Serves,ftp is also a client/server system.The user connects to the long-distance ftp server programme through the client programme which supports the ftp agreement.The user sends out the order through the client programme to the server programme,server programme execute the order which user sends out,and the result will be returned to the client.
Along with the Internet/Intranet technology developping rapidly,many companies, the enterprise and the website have established many application system based on the ftp.Generally, in the design time of developping the ftp application system,it is very difficult to simulatethe actual situation of the massive users to visit the system simultaneously .When meets the visit peak after system used,it is easy to slow down the server speed of response even interrupt the service.In order to avoid this situation, it needs one tool procedure to really be able to simulate multiuser visits the ftp server.When server procedure in design phase,uses this tool to carry on the performance test for the procedure, discovers the service bottleneck of the ftp application programme promptly, and takes the corresponding measure.
This thesis from design thought and the essential technology of the procedure, elaborates the designing of this ftp testing tool and provids the test data.
Key words: FTP,client,performance test
目 錄
1 緒 論 1
1.1 課題研究背景及目的 1
1.2 研究現(xiàn)狀和發(fā)展趨勢(shì) 1
1.3 FTP簡(jiǎn)介 3
1.4 影響FTP性能的因素 4
1.4.1 網(wǎng)絡(luò)問(wèn)題 4
1.4.2 傳輸問(wèn)題 4
1.4.3 影響FTP性能的其他因素 5
1.5 研究?jī)?nèi)容 6
1.5.1 FTP工作原理概述 6
1.5.2 性能測(cè)試技術(shù)的實(shí)現(xiàn) 6
2 相關(guān)技術(shù) 7
2.1 FTP協(xié)議及工作原理 7
2.1.1 控制連接 8
2.1.2 數(shù)據(jù)連接 8
2.2 性能測(cè)試技術(shù) 9
2.3 系統(tǒng)環(huán)境模型 11
3 程序設(shè)計(jì)與實(shí)現(xiàn) 12
3.1 性能測(cè)試 12
3.2 C/S體系結(jié)構(gòu) 13
3.3 FTP客戶(hù)端的設(shè)計(jì) 14
3.3.1 Socket編程的使用 14
3.3.2 服務(wù)器的連接(見(jiàn)附錄) 15
3.4 響應(yīng)時(shí)間的計(jì)算 15
3.5 多線程的實(shí)現(xiàn) 16
4 工具的測(cè)試 19
4.1 軟件測(cè)試 19
4.2 測(cè)試對(duì)象 19
4.3 測(cè)試目的 19
4.4 測(cè)試環(huán)境 19
4.5 測(cè)試過(guò)程 19
4.6 測(cè)試數(shù)據(jù) 20
致 謝 21
參考文獻(xiàn) 22
參考文獻(xiàn)
[1]沙茨.操作系統(tǒng)概念[M].北京:高等教育出版社
[2]庫(kù)羅斯,羅斯.計(jì)算機(jī)網(wǎng)絡(luò)[M].北京:高等教育出版社
[3]Parsons.計(jì)算機(jī)文化[M].北京:電子工業(yè)出版社
[4]Paul Barford,Mark Crovella.A Performance EvaLuation of Hyper Text Tranfer Protocals[J]. Computer Science Department
附錄
public class FTPClient
{
public string date;
public string time;
public long size;
public string name;
public bool dir;
public string remotePath;
public string localPath;
public FTPDirection direction;
public string user;
public string password;
......