1246650 A7 B7 五、發明説明(1 ) 發明之領域: 本發明提供一種評估使用網路狀態之方法及記錄媒體,尤 才曰一種利用真實用戶評估透過網路存取網路資源各種狀態之 方法及記錄媒體。 ~ 背景說明: 隨著網際網路的蓬勃發|,上網的用戶人數也愈來愈多, 因此某些網站架設者會想要瞭解當用戶於瀏覽網路時所需要 的回應時間、當用戶於存取網路時所需要的下載時間、或是 當同時有許多用戶一起存取網路時對網路所產生的應力測 試。 然而,在目前常用的方法中,一般都在各網路服務提供業 者(ISP)處裝設伺服器,模擬用戶的使用方式,對受測網 站提出查詢或下載的需求;接下來,測量網站的回應時間或 軟體程式的下載時間,接著再將這些資料傳回給統籌伺服 器。伺服器便會將收集而來的資料以統計的方法加以分析, 並且依照不同地區的上網使用人數比例加權計算。 然而,在這種方法中,結果會產生極大的誤差,因此導致 分析結果不準確。此外,由於必須在各個網路服務提供業者 處架設伺服器,如此需耗費大量成本,且真正的用戶端連結 到網路服務提供業者中的路程並無法真正測得,也許因為= -家網賴務提供業者的用戶特別乡,好端至網路服務提 供業者間的塞車情況特別嚴重,這是利用此種方法無法測量 出來的。此外,這種方法也無法做出應力測試(str= test),即有許多用戶欲在同一個時間存取同一個網站或下 -4- 1246650 A71246650 A7 B7 V. INSTRUCTIONS (1) Field of the Invention: The present invention provides a method for evaluating the state of using a network and a recording medium, and in particular, a method for using real users to evaluate various states of network resources accessed through a network and Record media. ~ Background Note: With the booming Internet | the number of users accessing the Internet is increasing, so some website erectors will want to know the response time when users browse the Internet, when the user The download time required to access the network, or the stress test generated by the network when many users access the network at the same time. However, in the currently used methods, a server is generally installed at each network service provider (ISP) to simulate the use mode of the user, and the request for the website to be tested or downloaded is required; Respond to the time or download time of the software program, and then pass the data back to the coordinating server. The server will analyze the collected data in a statistical way and weight it according to the proportion of Internet users in different regions. However, in this method, the result is extremely large, which leads to inaccurate analysis results. In addition, since it is necessary to set up a server at each network service provider, it takes a lot of cost, and the real user connection to the network service provider can not be measured, perhaps because of the The service provider's users are particularly towns, and the traffic jam between the Internet service providers is particularly serious, which cannot be measured by this method. In addition, this method can not make stress test (str = test), that is, there are many users who want to access the same website or under the same time -4- 1246650 A7
載軟體時, 法得知。 發明概述: 網站真正的回應與下載時間為何 這個結果並無 戶評估透過 以提供可反 因此本發明之主要目的係提供—種利用真實用 網路存取網路資源各種狀態之方法及記錄媒體, 應真實生活狀況,且精確的網頁效能監控方法。 圖式之簡單說明: 圖1為本發明評估存取網路方法的步驟流程圖。 圖2為本發明評估存取網路方法的架構方塊圖。 圖3為本發明評估存取網路方法的實施程序圖。 圖式之符號說明: 10 網路介面:註冊或登入? 12 送電子郵件給用戶 14 至註冊表單,填入資料 16 資料是否有效? 18 於資料庫中建立帳戶 20 註冊確認 22 檢查密碼 24 顯示網頁與資料 26 登出 28 清除部分變數 30 要求或修改資料 32 存取資料庫(讀取) 34 將資料製表 -5- 本紙張尺度適用中國國家標準(CNS) A4規格(210X 297公釐) 1246650 A7 B7 五、發明説明(3 ) 36 確認動作 37 存取資料庫(寫入) 38 記憶體 < 39 CPU 40 資料介面 42 MSP監控作業程式 44 網路介面 46 監控代理程式(測試程式) 48 網路介面 50 記憶體 52 CPU 54 記憶體 56 資料庫 58 網路介面 60 CPU 62 PAT 64 DUI 66 AMI 68 TIM 70 ROS 72 監控服務提供者(總伺服器) 74 志願者端 76 志願者管理電腦 78 代理管理系統:志願者管理系統 -6- 本紙張尺度適用中國國家標準(CNS) A4規格(210X297公釐) 1246650 A7 B7 五 、發明説明( 4 80 82 84 86 88 90 92 94 96 98 100 102 104 106 108 110 112 114 116 118 120 122 124 用戶端(志願者端) 監控代理程式幕後運作 網路介面··要求工作 _ 監控服務總伺服器 網路介面:接收要求並記錄要求來自的IP位址 控系統 網路介面:將工作傳回 用戶端(志願者端) 網路介面:接收工作 監控代理程式幕後運作,監控及監測 網路介面:按照工作去向伺服器要求資料 用戶被測端/伺服器 網路介面:接收要求 取得資料或存取資料庫或執行應用程式等 網路介面:吻合要求並傳回資料 用戶端(志願者端) 網路介面:接收資料 監控代理程式幕後運作,測得回應時間、下載時 間等資料 ^ 網路介面:將資料傳回總伺服器 監控服務總伺服器 網路介面:接收上傳資料 監控系統資料的運作及分析 網頁介面:及時製作報表及圖表給用戶上網太 本紙張尺度適用中國國家標準(CNS) A4規格(210X 297公釐) 1246650 五、發明説明(5 發明之詳細說明·· 本發明&供-種方法及記錄媒豸,用纟評估用戶透過網際 網路存取網路資源的各種狀態。首先,於總健器上架設網 站’用來統#管理本㈣評估系統:接著,利戶中找出複 數個志願執行監測者(後文中皆稱為「志願者」),這些士 願者的選擇可依照用戶所在地區、用戶所使用的網際網H 務提供業者等因素作為考量。 j願者必難網站上登錄朗資料,訂制試存取網路 效此私式,接下來,志願者將下載的測試存取網路效能程式 安裝在志願者本身的電腦中。只要在測試存取網路效能程式 安裝完成後,只要志願者的電腦一開機,便會自動執行,: 以http或ftp等的任何通訊協定與總伺服器進行通訊;<’並 且,測試存取網路效能程式會定期(如15分鐘一次)的與 總伺服器聯繫,偵測總伺服器上是否有新的工作要求;如果 有新的工作要求,便將其下載至志願者的電腦上;或者測試 存取網路效能程式可定期(15分鐘—次)以下載總词服^ 上的工作要求,不論是否有更新。 接下來,測試存取網路效能程式便會執行自總伺服器上下 載的工作,這些工作可能是定期(如15分锫 ★、二 刀輕一次)向網站 發出讀取或查詢需求,並將測試得到的回應時間加以記錄下 來,或是向網站發出下載需求,並將測試得到的下載時間加 以記錄下來,或者,總伺服器若想對所有士 1 %心願者做應力測 ^ ’便可將工作設定為讓所有志願者的電腦同時對網站飼服 器發出需求,且測試存取網路效能程式將其鈐 、、’σ衣纟己錄下來, -8- 本紙張尺度適用中國國家標準(CNS) Α4規格(210 X 297公釐) '—' --—___ 1246650 A7 B7 五、發明説明(6 ) 以瞭解網站飼服器能承受多大的應力。此外,將來仍可發展 利用此方法偵測資料精確值乂測試傳回的資料是否完全正 確)、路徑測試、一般測試、内部元件測試等等,亦皆應屬 於本發明之範疇之内。 測4存取網路效能程式將上述的測量資料儲存於志願者電 細的硬碟上、建立一個新的特定名稱檔案,並將那些測量資 料儲存於其中;而測試存取網路效能程式會定期偵測硬碟中 疋否存在有這個檔案,如果有,便會經由網路將此檔案上傳 土〜祠服备’並於上傳完成後,測試存取網路效能程式便會 將此植案刪除。然而,由於測試存取網路效能程式設計為一 種佔用志願者電腦儲存容量及記憶體空間極小的程式,且測 4存取網路效能程式在志願者電腦上會於幕後執行作業,不 會々像到志願者使用電腦的所有動作;因此,當測試存取網 路效旎私式將測量資料經由網際網路上傳至總伺服器時,如 果志願者在此期間關閉電腦或中斷連線,此上傳動作便會中 斷,當電腦再次開機連線時,測試存取網路效能程式會重新 偵測是否仍有未上傳或沒有上傳完成的檔案(即該特定名稱 樓案)’如果有,便經由網際網路將其上傳至總伺服器。 在不同志願者的測量資料皆上傳至總伺服器後,總伺服器 便能開始作些簡單的分析工作,分析條件可為志願者的所在 地區、志願者所使用的網路服務提供者、網路傳輸工具、pc 規格、或者志願者上網的時段。當志願者欲瞭解此分析結果 時,志願者可登入總伺服器,對總伺服器提供其想瞭解的條 件,總伺服器便會利用這些條件及時至做出報表或圖形,顯 -9- 本紙張尺度適用中國國家標準(CNS) A4規格(210 X 297公董) l246650 A7When the software is loaded, the law knows. SUMMARY OF THE INVENTION: The true response and download time of the website. This result is not evaluated by the user. The main purpose of the present invention is to provide a method and recording medium for utilizing the real network to access various states of the network resource. A real-life, accurate web performance monitoring method. BRIEF DESCRIPTION OF THE DRAWINGS Figure 1 is a flow chart showing the steps of the method for evaluating an access network of the present invention. 2 is a block diagram of an architecture of a method for evaluating an access network according to the present invention. 3 is a diagram showing an implementation procedure of a method for evaluating an access network according to the present invention. Symbolic description of the schema: 10 Network interface: Register or login? 12 Send an email to the user 14 Go to the registration form and fill in the information 16 Is the data valid? 18 Create an account in the database 20 Registration confirmation 22 Check password 24 Display web page and data 26 Logout 28 Clear some variables 30 Request or modify data 32 Access database (read) 34 Tabulate data - Paper scale Applicable to China National Standard (CNS) A4 specification (210X 297 mm) 1246650 A7 B7 V. Invention description (3) 36 Confirmation action 37 Access database (write) 38 Memory < 39 CPU 40 Data interface 42 MSP monitoring Operating Program 44 Network Interface 46 Monitoring Agent (Test Program) 48 Network Interface 50 Memory 52 CPU 54 Memory 56 Library 58 Network Interface 60 CPU 62 PAT 64 DUI 66 AMI 68 TIM 70 ROS 72 Monitoring Service Provider (Total Server) 74 Volunteer 76 Volunteer Management Computer 78 Agent Management System: Volunteer Management System-6- This paper scale applies to China National Standard (CNS) A4 Specification (210X297 mm) 1246650 A7 B7 V. Invention Description ( 4 80 82 84 86 88 90 92 94 96 98 100 102 104 106 108 110 112 114 116 118 120 122 124 Client (Volunteer) Monitoring Agent After-the-scenes operation network interface · Requirements work _ Monitoring service total server network interface: Receive requirements and record the IP address control system network interface from the request: Transfer the work back to the client (volunteer) network interface : Receive work monitoring agent behind-the-scenes operation, monitor and monitor the network interface: according to the work to request the data user to be tested / server network interface: receive the request to obtain data or access the database or execute the application network Interface: match requirements and return data client (volunteer) Network interface: Receive data monitoring agent behind-the-scenes operation, measure response time, download time, etc. ^ Network interface: Send data back to total server monitoring service Total server network interface: Receive operation and analysis web interface of uploading data monitoring system data: timely produce reports and charts for users to access the Internet. The paper size is applicable to China National Standard (CNS) A4 specification (210X 297 mm) 1246650 V. [Description of the Invention] [Detailed Description of the Invention] The present invention & method and recording medium, Evaluate the various states of the user's access to network resources through the Internet. First, set up a website on the total health device to manage the (four) evaluation system: Then, find a number of volunteer executive monitors in the household (later) These are referred to as “volunteers”. The choice of these volunteers can be considered according to the user's location, the Internet service provider used by the user, and other factors. j, I hope that it is difficult to log in to the website and customize the trial access network. In this case, the volunteers will install the downloaded test access network performance program on the volunteer's own computer. As long as the test access network performance program is installed, as long as the volunteer's computer is turned on, it will be executed automatically: Communicate with the total server by any communication protocol such as http or ftp; <'and test The network performance program will contact the total server periodically (such as once every 15 minutes) to detect whether there is a new job requirement on the total server; if there is a new job requirement, download it to the volunteer's computer. Or test the access network performance program periodically (15 minutes - times) to download the job requirements on the total word service ^, whether or not there is an update. Next, the test access network performance program will perform the work downloaded from the total server, which may be to read or query the website periodically (such as 15 minutes and 2 times). The response time of the test is recorded, or the download request is sent to the website, and the download time of the test is recorded. Alternatively, if the total server wants to stress the 1% of the volunteers, it will be The work is set so that all volunteers' computers can simultaneously send out the demand for the website feeding device, and the test access network performance program will record it, and 'σ衣纟 has been recorded, -8- This paper scale applies to Chinese national standards ( CNS) Α4 size (210 X 297 mm) '-' ---___ 1246650 A7 B7 V. Description of invention (6) to understand how much stress the website feeder can withstand. In addition, it will still be possible to develop this method to detect the exact value of the data, whether the data returned by the test is completely correct, the path test, the general test, the internal component test, etc., and all of them fall within the scope of the present invention. The test 4 access network performance program stores the above measurement data on the hard disk of the volunteer, creates a new specific name file, and stores those measurement data therein; and the test access network performance program will Regularly detect whether there is such a file in the hard disk. If there is any, the file will be uploaded to the Internet via the Internet. After the upload is completed, the test access network performance program will detect the file. delete. However, since the test access network performance program is designed to be a program that takes up the storage capacity of the volunteer computer and the memory space is extremely small, and the test 4 access network performance program will execute the job behind the scenes on the volunteer computer, it will not 々 Like all actions that go to the volunteers to use the computer; therefore, when the test access network effectively uploads the measurement data to the total server via the Internet, if the volunteer closes the computer or disconnects during this time, this The upload action will be interrupted. When the computer is connected again, the test access network performance program will re-detect whether there are still files that have not been uploaded or not uploaded (ie, the specific name of the building). The Internet uploads it to the total server. After the measurement data of different volunteers are uploaded to the total server, the total server can start some simple analysis work. The analysis conditions can be the volunteer's local area, the network service provider used by the volunteers, and the network. Road transmission tools, pc specifications, or volunteers accessing the Internet. When volunteers want to know the results of this analysis, volunteers can log in to the total server to provide the total server with the conditions they want to know. The total server will use these conditions to make a report or graph in time. The paper scale applies to the Chinese National Standard (CNS) A4 specification (210 X 297 dongdong) l246650 A7
示分析好的資料。 請參閱目1,Η 1為本發明評估存取網路方法的步驟流程 圖。首先,志願者在第一次進入總伺服器前需先加以註:^ 或總伺服器自動從該志願執行監測者電腦上取得該志願執行 監測者的資料,使總伺服器辨識這位志願者的基本資料;= 是需要瞭解上網狀況的分析結果,則登入其ID及密碼。= 此首先出現網路介面··註冊或登入? 1〇 ,如果是志願者第二 次f王冊,則接下來總伺服器便會送出電子郵件給用戶(即志 願者)12,請志願者填寫註冊表單14,加以確認其身份資料 16,如果資料有效,便於總伺服器的資料庫中建立其帳戶 18最後症冊便確認完成20 ;如果註冊的資料無效,則纟♦伺 服器會要求志願者重新填寫註冊表單直到資料有效為止^若 在出現網路介面:註冊或登入? 1〇為志願者登入其個人資 料’則總伺服器會檢查其密碼是否正確22,如果錯誤,則回 到原網路介面:註冊或登入? 10;如果密碼正確,則會將志 願者所設定條件的網頁及資料顯示出來24,此時若志願者登 出總伺服器26,則總伺服器便會將所有變數資料加以清除 28,並回到原網路介面10 ;如果志願者繼續進一步要求^料 3〇,則總祠服器會讀取資料庫32,將資料取出並加以製表 34 ’若是志願者想要修改資料30,則總伺服器會要求志願者 再次確認修改動作36,此時若志願者後悔,不修改資料,便 會回到要求或修改資料處30,若確定要修改資料,則總伺服 益此時會寫入資料庫中,並利用修改過的條件資料加以製 表。 -10- 本紙張尺度適用中國國家標準(CNS) A4規格(210 X 297公釐]一"" ------- 1246650 A7 B7 五、發明説明(8 請參閱圖2,圖2為本發明評估存取網路方法的架構方塊 圖。總伺服器(即監控服務提供者)72包含有記憶體38、 CPU 39、資料介面40、MSP監控作業程式42以及網路介两 44。志願者端74包含有監控代理程式(即測試程式)46、網 路介面48、記憶體50及cpu 52。總伺服器72的網路介面 44會與志願者端74的網路介面,以j^tp或ftp等的任何通訊 協定加以溝通。 請參閱圖3,圖3為本發明評估存取網路方法的實施程序 圖。首先,在第一階段中,志願者端8〇在從總伺服器處下 載監控代理程式(即測試程式),並加以安裝後,測試程式 會在志願者電腦開機並連線的狀態下自動在幕後運作82,不 會影響志願者電腦的操作,接著,志願者電腦的網路介面會 向總伺服器發出要求工作84。在第二階段中,總伺服器86 的網路介面會接收要求,並將要求來自的ιρ位址記錄下來 88 ’並監控其狀態90,接著其網路介面會將工作傳回其I p 92,只要IP不是虚擬的,即使志願者的電腦使用動態Ip也 沒又關係。在第三階段中,志願者端94的網路介面會接收 來自總伺服器86的工作96,且測試程式會繼續在幕後運作 並監控監測工作的狀態9 8,且網路介面會按照工作内容向 總伺服器要求資料或下載資料1 00。在第四階段中,受測客 戶伺服器(也就是志願者想要知道其伺服器上網連線狀態的 用戶受測端)102的網路介面便會接收來自志願者電腦94的 要求104’接著如要求取出資料、存取資料庫、或執行應用 私式爭等10 6 ’網路介面接下來便會查看是否吻合要求所要 -11 - 本紙張尺度適用中國國家標準(CNS) A4規格(210 X 297公釐) 1246650 A7Show good information. Please refer to item 1, Η 1 for the flow chart of the method for evaluating the access network of the present invention. First, the volunteer must first note before entering the total server for the first time: ^ or the total server automatically obtains the information of the volunteer execution monitor from the volunteer execution monitor computer, so that the total server recognizes the volunteer. Basic information; = is the analysis of the need to understand the status of the Internet, then log in their ID and password. = This first appears on the web interface · Register or login? 1〇, if it is the second time for the volunteers, then the total server will send an email to the user (ie volunteer)12, and the volunteers will fill out the registration form 14 to confirm their identity data16. The data is valid, and it is convenient for the total server to establish its account in the database. The final document is confirmed. 20 If the registered data is invalid, then the server will ask the volunteer to re-fill the registration form until the data is valid. Web interface: Register or login? 1〇For the volunteer to log in to his personal information, the total server will check if the password is correct. 22. If it is wrong, go back to the original web interface: Register or login? 10; If the password is correct, the webpage and information of the conditions set by the volunteer will be displayed. 24 If the volunteer logs out of the total server 26, the total server will clear all the variable data 28 and return it. Go to the original network interface 10; if the volunteers continue to request further information, the total server will read the database 32, take the data out and tabulate 34 'If the volunteer wants to modify the data 30, then the total The server will ask the volunteer to confirm the modification action 36 again. If the volunteer regrets and does not modify the data, he will return to the request or modify the data office 30. If it is determined that the data needs to be modified, the total servo benefit will be written at this time. In the library, and using the modified condition data to tabulate. -10- This paper scale applies to Chinese National Standard (CNS) A4 specification (210 X 297 mm] one "" ------- 1246650 A7 B7 V. Invention description (8 See Figure 2, Figure 2 An architectural block diagram of the method for evaluating an access network of the present invention. The total server (i.e., monitoring service provider) 72 includes a memory 38, a CPU 39, a data interface 40, an MSP monitoring operating program 42 and a network interface 44. The volunteer side 74 includes a monitoring agent (ie, a test program) 46, a network interface 48, a memory 50, and a cpu 52. The network interface 44 of the total server 72 and the network interface of the volunteer terminal 74, Any communication protocol such as ^tp or ftp is communicated. Please refer to FIG. 3, which is a flowchart of the implementation of the method for evaluating the access network according to the present invention. First, in the first phase, the volunteer terminal 8 is in the slave total servo. After downloading the monitoring agent (the test program) and installing it, the test program will automatically operate behind the scenes 82 when the volunteer computer is turned on and connected, without affecting the operation of the volunteer computer. Then, the volunteers The computer's web interface will send a request to the total server. 84. In the second phase, the network interface of the total server 86 receives the request, and records the address from the ι ρ address and monitors its status 90, and then its network interface returns the work to its I p 92, as long as the IP is not virtual, even if the volunteer's computer uses the dynamic Ip, it does not matter. In the third stage, the network interface of the volunteer 94 receives the work 96 from the total server 86, and tests The program will continue to operate behind the scenes and monitor the status of the monitoring work. The network interface will request data from the total server or download the data according to the work content. In the fourth stage, the tested client server (that is, volunteer) The network interface of the user's test terminal 102 who wants to know the status of the server's Internet connection will receive the request from the volunteer computer 94 104' and then request to retrieve the data, access the database, or execute the application privately. Wait for 10 6 'network interface to see if it meets the requirements -11 - This paper scale applies to China National Standard (CNS) A4 specification (210 X 297 mm) 1246650 A7
1246650 A7 --一 B7 五、發明説明(1〇 ) 門並建互另一特定名稱樓案(稱為第二特定名稱樓案), 且將其記錄於其中。除此之外,當測試存取網路效能程式將 特疋名稱檔案上傳至總伺服器時由於關機或斷線的原因導敦 連線失敗,輔助程式會將其記錄於第二特定名稱檔案中,並 將第二特定名稱檔案定期(例如5分鐘一次)上傳至總伺服 為以作為日後彡平估志願者是否績用的依據。 相較於習知方法受限於架設測試點需要很多的設備與人力 進行安裝,費時花錢又費力,本發明可巧妙的避開這些障 礙,可以低廉的價格擴充偵測測試點;且本發明由於可架設 較多測試點,因此傳回的資料比數較多,結果極為準確,= 差較小。另外,本發明也可進行多重狀況測試,依照志願者 不同的需求,製造不同的真實生活狀況來進行測量,用 戶全都來自某一個城市,或者用戶都在某個時段上網存取資 料等。除此之外,本發明可測得真正的用戶端透過網路服務 提供業者上網的真實狀況,體驗與瞭解用戶端再上網時的感 覺,將測試系統直接設在用戶端,傳回的資料可正確的代表 用戶使用祠服器的情形。 以上所述僅為本發明之較佳實施例,凡本發明申請專利範圍 所做之均等變化與修飾,皆應屬本發明之涵蓋範圍。 -13-1246650 A7 -- A B7 V. INSTRUCTIONS (1〇 ) The door is built with another specific name (called the second specific name) and recorded in it. In addition, when the test access network performance program uploads the special name file to the total server, the auxiliary program will record it in the second specific name file due to the shutdown or disconnection. And uploading the second specific name file to the total servo on a regular basis (for example, once every 5 minutes) as a basis for evaluating the performance of the volunteers in the future. Compared with the conventional method, it is limited to erecting the test point, which requires a lot of equipment and manpower to install, which is time-consuming and laborious, and the invention can cleverly avoid these obstacles, and can expand the detection test point at a low price; and the invention Since more test points can be set up, the number of returned data is larger, and the result is extremely accurate, and the difference is small. In addition, the present invention can also perform multiple status tests, and according to different needs of volunteers, manufacture different real life conditions for measurement, all of which are from a certain city, or users access the Internet at a certain time. In addition, the present invention can measure the true state of the real user through the Internet service provider, experience and understand the feeling of the user when the Internet is online, and set the test system directly on the user end, and the returned information can be The correct representation of the user's use of the server. The above are only the preferred embodiments of the present invention, and all changes and modifications made to the scope of the present invention should fall within the scope of the present invention. -13-