[go: up one dir, main page]

TWI472239B - Method and device for testing broadband network performance - Google Patents

Method and device for testing broadband network performance Download PDF

Info

Publication number
TWI472239B
TWI472239B TW102110209A TW102110209A TWI472239B TW I472239 B TWI472239 B TW I472239B TW 102110209 A TW102110209 A TW 102110209A TW 102110209 A TW102110209 A TW 102110209A TW I472239 B TWI472239 B TW I472239B
Authority
TW
Taiwan
Prior art keywords
broadband
test
router
network performance
packet traffic
Prior art date
Application number
TW102110209A
Other languages
Chinese (zh)
Other versions
TW201438486A (en
Inventor
Hsuan Yu Lin
Chi Hsuan Huang
Tsung Han Lee
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed filed Critical
Priority to TW102110209A priority Critical patent/TWI472239B/en
Priority to CN201310175308.5A priority patent/CN104065527A/en
Publication of TW201438486A publication Critical patent/TW201438486A/en
Application granted granted Critical
Publication of TWI472239B publication Critical patent/TWI472239B/en

Links

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Description

測試寬頻網路效能之方法及裝置Method and device for testing broadband network performance

本發明係關於一種測試網路效能之方法及裝置,特別是一種測試寬頻網路效能之方法及裝置。The present invention relates to a method and apparatus for testing network performance, and more particularly to a method and apparatus for testing the performance of a broadband network.

近年來寬頻網路逐漸普及,多種寬頻技術例如利用光纖的FTTx(Fiber To The x),或是利用銅質雙絞線的xDSL(x Digital Subscriber Line)支援各種寬頻服務,而根據資料顯示,我國寬頻網路之裝設率已超過80%。雖然寬頻技術有著長足的發展,硬體的佈建也逐漸普及,然而寬頻網路使用者實際使用之頻寬,仍受到寬頻業者所提供之網路品質以及用戶數等因素所影響,因而不同使用者在不同的時間,針對相同之寬頻服務會有著不同的使用經驗;因此對於一寬頻使用者而言,能夠了解其使用之寬頻服務之效能(例如實際之上傳速率及下載速率),而對寬頻業者所提供之服務,做出客觀的評價,將是相當重要。In recent years, broadband networks have become more and more popular. Various broadband technologies, such as FTTx (Fiber To The x) using optical fiber, or xDSL (x Digital Subscriber Line) using copper twisted pair, support various broadband services. The installation rate of broadband networks has exceeded 80%. Although broadband technology has made great progress and hardware deployment has gradually become popular, the bandwidth used by broadband network users is still affected by factors such as the network quality and number of users provided by broadband operators. At different times, there will be different experience for the same broadband service; therefore, for a broadband user, you can understand the performance of the broadband service (such as the actual upload rate and download rate), and the broadband It will be very important for the service provided by the industry to make an objective evaluation.

目前有許多的測試軟體,可針對不同的網路服務及協定,測試寬頻效能;例如由NLANR(National Laboratory for Applied Network Research)的DAST(Distributed Application Support Team)所開發的Iperf,係以TCP協定(Transmission Control Protocol)之封包流量,來估算網路效能;此外,如Wireshark Team所開發之網路封包分析軟體Wireshark,亦具有相同之功能。There are a number of test software that can test broadband performance for different network services and protocols; for example, Iperf developed by DLAN (Distributed Application Support Team) of NLANR (National Laboratory for Applied Network Research) is based on the TCP protocol ( Transmission Control Protocol) is used to estimate network performance. In addition, Wireshark, a network packet analysis software developed by Wireshark Team, has the same function.

雖然上述軟體均相當普及,但在寬頻效能的量測上仍 受到相當的限制,其原因在於該等軟體,僅安裝於個別之主機。目前業者所提供寬頻服務之頻寬均相當大,一般用戶(不論是企業用戶或是家庭用戶),會以不同之方式分享同一用戶門號、同一專線(leased line)之頻寬,例如企業用戶會建置內部區域網路(LAN,Local Area Network),又或是家庭用戶使用頻寬分享器;不論採取何種方法,在同一時間內,可能有多台主機同時分享同一專線之頻寬,而安裝於個別主機的寬頻測試軟體在執行測試時,為測得該寬頻服務之最佳效能,將儘可能的佔用可用之頻寬,但該軟體卻不一定能佔用到大部分的頻寬(需視分享同一專線頻寬之其他主機使用網路的狀況而定),因此執行寬頻測試軟體往往獲得不正確的測試結果,並且在測試執行時,影響同一專線的其他使用者。綜上所述,為得到正確之測試結果,在執行上述寬頻測試軟體時,必須確認沒有其他主機正在占用同一專線的頻寬(或占用率極低),因此此類測試方法在使用上仍相當受限,自動測試的目標亦難以達成。Although the above software is quite popular, it still measures the measurement of broadband efficiency. The reason for this limitation is that the software is installed only on individual hosts. At present, the bandwidth of broadband services provided by the industry is quite large. The average user (whether enterprise users or home users) will share the same user number and the bandwidth of the same dedicated line in different ways, such as enterprise users. The internal area network (LAN) will be built, or the home user will use the bandwidth sharer; no matter what method is adopted, there may be multiple hosts sharing the bandwidth of the same line at the same time. When the broadband test software installed on an individual host performs the test, the best performance of the broadband service is measured, and the available bandwidth is occupied as much as possible, but the software does not necessarily occupy most of the bandwidth ( Depending on the condition of other hosts sharing the same line bandwidth, the implementation of the broadband test software often results in incorrect test results and affects other users of the same line during test execution. In summary, in order to obtain the correct test results, when performing the above broadband test software, it must be confirmed that no other host is occupying the bandwidth of the same dedicated line (or the occupancy rate is extremely low), so such test methods are still quite satisfactory in use. Limited, the goal of automated testing is also difficult to achieve.

為解決上述問題,以達到正確、有效率、並且自動化測試寬頻網路效能之目的,本發明提供一種測試寬頻網路效能之方法,包含:定時監測寬頻數據機之封包流量,其中寬頻數據機係透過寬頻路由器(broadband router)之廣域網路埠(WAN port)連接至寬頻路由器,寬頻數據機之封包流量係透過流入或流出該廣域網路埠之封包流量計算;及當寬頻數據機之封包流量低於一臨界值,執行寬頻網路效能 測試。In order to solve the above problems, in order to achieve correct, efficient, and automated testing of broadband network performance, the present invention provides a method for testing broadband network performance, including: regularly monitoring packet traffic of a broadband data machine, wherein the broadband data system Connected to a broadband router through a wideband router (WAN port), the packet traffic of the broadband data system is calculated by the packet traffic flowing into or out of the wide area network; and when the packet traffic of the broadband data machine is lower than a threshold value to perform broadband network performance test.

本發明復提供一種具有寬頻網路效能測試功能之寬頻路由器,其包含:處理器;及儲存裝置;其中儲存裝置儲存寬頻網路效能測試程式,處理器執行寬頻網路效能測試程式,寬頻網路效能測試程式包含下列程序:定時監測寬頻數據機之封包流量,其中寬頻數據機係透過寬頻路由器之廣域網路埠連接至寬頻路由器,寬頻數據機之封包流量係透過流入或流出該廣域網路埠之封包流量計算;及當寬頻數據機之封包流量低於一臨界值,執行寬頻網路效能測試。The invention provides a broadband router with broadband network performance testing function, comprising: a processor; and a storage device; wherein the storage device stores a broadband network performance test program, the processor executes a broadband network performance test program, and the broadband network The performance test program includes the following procedures: regularly monitoring the packet traffic of the broadband data machine, wherein the broadband data system is connected to the broadband router through the wide area network of the broadband router, and the packet traffic of the broadband data system is transmitted through the packet flowing into or out of the wide area network. Flow calculation; and when the packet traffic of the broadband data machine is below a threshold, the broadband network performance test is performed.

在本發明所提供測試寬頻網路效能之方法中,寬頻數據機係連接至一寬頻路由器,由該寬頻路由器將寬頻資源(頻寬),分享至不同之主機,其中該寬頻路由器或為一有線路由器、或為一無線路由器、亦可能切換為單純無線頻寬分享器(access point)之操作模式。在此連接架構下,由流入或流出該寬頻路由器廣域網路埠之封包流量,即可監測該寬頻資源的使用狀況,在該封包流量遠低於該寬頻數據機頻寬(attainable rate)的狀況下,適合執行寬頻效能測試,其原因在於一方面可獲得較正確之測試結果,一方面不影響寬頻的使用者;此一定時之程序,可在一特定之時間執行,亦可每間隔一固定之時間區間,週期性地執行。In the method for testing the performance of a broadband network provided by the present invention, the broadband data system is connected to a broadband router, and the broadband resource (bandwidth) is shared by the broadband router to a different host, wherein the broadband router is a wired The router, or a wireless router, may also switch to a simple wireless access point access mode. Under the connection architecture, the packet traffic flowing into or out of the broadband router WAN can monitor the usage of the broadband resource, and the packet traffic is much lower than the attainable rate of the broadband data machine. It is suitable for performing broadband performance test. The reason is that on the one hand, the correct test result can be obtained, and on the other hand, the user of the broadband is not affected; the program at a certain time can be executed at a specific time, or can be fixed at intervals. Time interval, executed periodically.

由於某些寬頻數據機,本身即具有無線頻寬分享器之功能,此種寬頻數據機包含無線模組,可透過該無線模組與主機連線,使該主機直接分享寬頻資源,在此一架構下,寬頻資源的使用者除了透過寬頻路由器連接之主機外,尚 包含直接與該寬頻數據機連接之主機;為正確監測該寬頻資源的使用情況,該封包流量尚包含透過該無線模組所接收或傳輸之封包流量。Since some broadband data machines have the function of a wireless bandwidth sharing device, the broadband data machine includes a wireless module, which can be connected to the host through the wireless module, so that the host directly shares the broadband resource. Under the framework, users of broadband resources are not only connected to the host through a broadband router. The host includes a host directly connected to the broadband data machine; to properly monitor the usage of the broadband resource, the packet traffic further includes packet traffic received or transmitted through the wireless module.

如上所述,在該封包流量遠低於該寬頻數據機頻寬的狀況下,適合執行寬頻效能測試,該封包流量之臨界值可視實際需求設定之,例如一較低之臨界值,將帶來較正確之測試結果,而一較高之臨界值,將使得測試較頻繁而結果較不精準;一般而言該臨界值為該寬頻數據機頻寬之1%至15%。As described above, in the case where the packet flow rate is much lower than the bandwidth of the broadband data machine, it is suitable to perform a broadband performance test, and the threshold value of the packet flow rate can be set according to actual requirements, for example, a lower critical value, which will bring A more accurate test result, and a higher critical value, will make the test more frequent and the result less accurate; in general, the threshold is 1% to 15% of the bandwidth of the broadband data machine.

在本發所提供之方法中,可以多種測試來評估寬頻網路效能,其中可執行的測試包含但不限於:檔案傳輸協定(FTP)上傳速率測試、FTP下載速率測試、超文件傳輸協定(HTTP)上傳速率測試、HTTP下載速率測試、傳輸控制協定(TCP)封包流量測試、網頁開啟速率測試以及網路延遲測試(Packet Latency)等。In the method provided by the present invention, broadband testing can be evaluated in a variety of tests, including but not limited to: File Transfer Protocol (FTP) upload rate test, FTP download rate test, Hyper File Transfer Protocol (HTTP). ) upload rate test, HTTP download rate test, Transmission Control Protocol (TCP) packet flow test, web page open rate test, and Packet Latency.

目前大多數的寬頻服務,上傳與下載係配置於不同頻帶,且上傳與下載的頻寬並不對稱(下載頻寬遠大於上傳之頻寬),在此情況下,監測該寬頻資源的使用狀況,應區分為上傳頻寬的使用狀況及下載頻寬的使用狀況;當所欲執行的測試相關於該寬頻資源的上傳頻寬時,則以流出上述廣域網路埠之封包以及透過上述寬頻數據機無線模組接收之封包流量總和,評估該寬頻資源上傳頻寬的使用率,當該使用率低於一預定值時,則執行該測試。當所欲執行的測試相關於該寬頻資源的下載頻寬時,則以流入上述廣域網路埠之封包以及透過上述寬頻數據機無線模組傳輸之封 包流量總和,評估該寬頻資源下載頻寬的使用率,當該使用率低於一預定值時,則執行該測試。本發明亦不排除在執行任一測試前,須確認該寬頻資源之上傳頻寬使用率及下載頻寬使用率分別低於預設之臨界值。At present, most of the broadband services, upload and download are configured in different frequency bands, and the bandwidth of uploading and downloading is asymmetric (the download bandwidth is much larger than the uploaded bandwidth). In this case, the usage status of the broadband resource is monitored. Should be divided into the usage status of the upload bandwidth and the usage status of the download bandwidth; when the test to be performed is related to the upload bandwidth of the broadband resource, the packet flowing out of the wide area network and the broadband data machine through the above-mentioned broadband data machine The sum of the packet traffic received by the wireless module evaluates the usage rate of the bandwidth of the broadband resource. When the usage rate is lower than a predetermined value, the test is performed. When the test to be performed is related to the download bandwidth of the broadband resource, the packet is transmitted into the wide area network and transmitted through the wireless module of the broadband data machine. The sum of the packet traffic, the usage rate of the broadband resource download bandwidth is evaluated, and when the usage rate is lower than a predetermined value, the test is performed. The present invention also does not exclude that before performing any test, it is necessary to confirm that the bandwidth usage rate and the download bandwidth usage rate of the broadband resource are respectively lower than a preset threshold.

為便利使用者裝設具有寬頻網路效能測試功能之寬頻路由器,並且便利於更新該寬頻路由器,可透過網際網路(Internet)上之伺服器,設定該寬頻路由器之操作參數,該操作參數可選自下列群組:定時執行該寬頻網路效能測試之時間排程、受監測無線網路裝置之服務設定識別碼(SSID,Service Set Identification)、寬頻路由器之上傳與下載速率、寬頻網路效能測試時間區間之設定、封包流量臨界值、一檔案伺服器設定、及一網站網頁位址(URL)設定;而為使寬頻使用者可以透過網際網路查詢其所使用之寬頻服務之效能,該寬頻路由器可自動上傳寬頻網路效能測試結果至網際網路上之伺服器。In order to facilitate the user to install a broadband router with broadband network performance test function, and to facilitate updating the broadband router, the operating parameters of the broadband router can be set through a server on the Internet. Select from the following groups: time schedule for performing the broadband network performance test, service set identification (SSID) of the monitored wireless network device, upload and download rate of the broadband router, and broadband network performance Test time interval setting, packet traffic threshold, a file server setting, and a website web address (URL) setting; and to enable broadband users to query the performance of the broadband service they use through the Internet, Broadband routers automatically upload broadband network performance test results to servers on the Internet.

藉由本發明所提供測試寬頻網路效能之方法及裝置,結果正確及不影響寬頻使用者之寬頻網路效能測試,可被自動執行,以幫助寬頻使用者對寬頻業者所提供之服務,做出客觀評價。The method and device for testing the performance of the broadband network provided by the present invention, the result of which is correct and does not affect the broadband network performance test of the broadband user, can be automatically executed to help the broadband user to provide the service provided by the broadband provider. objective comment.

以下將配合圖示詳細敘述例示實施例。然而,這些實施例可以包含於不同的形式中,且不應被解釋為用以限制本發明。這些實施例之提供使得本發明之揭露完整與完全,熟知此技術之人將能經由該些實施例了解本發明之範 疇。The exemplary embodiments will be described in detail below with reference to the drawings. However, the embodiments may be embodied in different forms and should not be construed as limiting the invention. The disclosure of these embodiments is intended to be complete and complete, and those skilled in the art will be able to Domain.

本發明第一實施例測試寬頻網路效能之方法,其簡單流程如第一圖所示;本實施例之系統架構圖如第二圖所示,其中一寬頻業者透過一寬頻數據機201提供一寬頻服務,使寬頻用戶可以連接至網際網路(Internet)202,寬頻戶使用一寬頻路由器200將該寬頻資源分享給主機210及主機220,其中寬頻路由器200係透過有線或無線之方式連接主機210及主機220,寬頻路由器200透過廣域網路埠連接至寬頻數據機201。在第二圖的系統架構中,寬頻路由器的主要功能,係在開放式通訊系統互聯參考模型(OSI,Open System Interconnection Reference Model)中的第三層傳遞封包,寬頻路由器200尚具有網路位址轉換(NAT,Network Address Translation)的功能,可以賦予主機210及主機220一虛擬之本地網路位址;而寬頻數據機201的主要功能,是在本地網路與廣域網路間傳遞封包。在本發明另一實施態樣中,寬頻路由器200可切換至一單純之無線網路頻寬分享器之操作模式,亦可達到分享頻寬之功能。The method for testing the performance of the broadband network in the first embodiment of the present invention is as shown in the first figure. The system architecture diagram of the present embodiment is as shown in the second figure. One of the broadband operators provides a broadband data machine 201. The broadband service enables the broadband user to connect to the Internet 202. The broadband subscriber uses a broadband router 200 to share the broadband resource to the host 210 and the host 220. The broadband router 200 connects to the host 210 by wire or wirelessly. And the host 220, the broadband router 200 is connected to the broadband data machine 201 through the wide area network. In the system architecture of the second figure, the main function of the broadband router is the third layer delivery packet in the Open System Interconnection Reference Model (OSI), and the broadband router 200 still has the network address. The function of NAT (Network Address Translation) can give the host 210 and the host 220 a virtual local network address; and the main function of the broadband data machine 201 is to transfer packets between the local network and the wide area network. In another embodiment of the present invention, the broadband router 200 can switch to an operation mode of a simple wireless network bandwidth sharer, and can also achieve the function of sharing bandwidth.

在本實施例中,寬頻路由器200具有寬頻網路效能測試之功能;根據第二圖所示之架構圖,該寬頻資源(頻寬)的使用狀況,可由寬頻數據機201之封包流量所反應,由於寬頻數據機201與寬頻路由器200係透過寬頻路由器200之廣域網路埠連接,上述封包流量可被寬頻路由器200所監測;寬頻路由器200可以在固定時點執行監測,亦可週期性地執行監測,當監測結果顯示該寬頻資源的頻寬使用 率(上述封包流量)低於10%時,寬頻路由器200即執行一寬頻網路效能測試;寬頻路由器200可以針對不同之網路服務及不同之網路協定,執行多種不同之測試,以評估寬頻網路效能。In this embodiment, the broadband router 200 has the function of broadband network performance test; according to the architecture diagram shown in the second figure, the usage status of the broadband resource (frequency bandwidth) can be reflected by the packet traffic of the broadband data machine 201. Since the broadband data machine 201 and the broadband router 200 are connected through the wide area network of the broadband router 200, the packet traffic can be monitored by the broadband router 200; the broadband router 200 can perform monitoring at a fixed time point, and can also perform monitoring periodically. Monitoring results show the bandwidth usage of the broadband resource When the rate (the above packet traffic) is less than 10%, the broadband router 200 performs a broadband network performance test; the broadband router 200 can perform a variety of different tests for different network services and different network protocols to evaluate the broadband. Network performance.

本實施例之一態樣,係利用TCP封包流量測試,來評估一下載頻寬100 Mbps之一寬頻線路,當該寬頻資源的下載頻寬使用率低於10%時,寬頻路由器200係執行一傳輸控制協定(TCP)封包流量測試,其中寬頻路由器200係下載一個或多個大小為10M bytes之檔案,藉由寬頻路由器200所收到的TCP封包數量計算出TCP封包流量,此流量反映出該寬頻線路下載之頻寬。第三圖(a)、(b)、(c)、(d)、(e)、及(f)係分別下載一個、兩個、三個、四個、五個及十個上述檔案以進行TCP封包流量測試之結果,實驗結果顯示,不論下載一個或多個檔案,經由該寬頻線路下載檔案之最高速率大約為90 Mbps,亦即為該寬頻線路下載頻寬之90%;在本態樣中,Iperf及Wireshark兩軟體亦被執行,以驗證上述結果之正確性,而兩個測試軟體均顯示出近似的測試結果。In one aspect of the embodiment, the TCP packet flow test is used to evaluate a broadband line with a download bandwidth of 100 Mbps. When the download bandwidth usage rate of the broadband resource is less than 10%, the broadband router 200 performs one. Transmission Control Protocol (TCP) packet traffic test, in which the broadband router 200 downloads one or more files of size 10 Mbytes, and calculates the TCP packet traffic by the number of TCP packets received by the broadband router 200, and the traffic reflects the The bandwidth of the broadband line download. The third figure (a), (b), (c), (d), (e), and (f) download one, two, three, four, five, and ten of the above files respectively. As a result of the TCP packet flow test, the experimental results show that, regardless of downloading one or more files, the maximum rate of downloading files via the broadband line is about 90 Mbps, which is 90% of the bandwidth of the broadband line download; in this aspect The Iperf and Wireshark softwares were also implemented to verify the correctness of the above results, and both test software showed similar test results.

本實施例其他態樣,係利用檔案傳輸協定(FTP)上傳速率測試、FTP下載速率測試、超文件傳輸協定(HTTP)上傳速率測試、HTTP下載速率測試、以及網頁開啟速率測試,來評估一下傳頻寬為120 Mbps,上載頻寬為10 Mbps之一寬頻線路;第四圖(A)係為以FTP下載速率測試,長期評估該寬頻線路之結果;第四圖(B)係為以FTP上傳速率測試,長期評估該寬頻線路之結果;第五圖(A)係為以HTTP 下載速率測試,長期評估該寬頻線路之結果;第五圖(B)係為以HTTP上傳速率測試,長期評估該寬頻線路之結果;該等測試係透過上傳一大小為30Mb之檔案,或下載一大小為360Mb之檔案來計算該寬頻線路之效能。第六圖(A)與第六圖(B)則分別以開啟知名網站YAHOO及YOUTUBE首頁的速度,長期評估該寬頻線路之結果。In other aspects of the embodiment, the file transfer protocol (FTP) upload rate test, the FTP download rate test, the Hyper File Transfer Protocol (HTTP) upload rate test, the HTTP download rate test, and the web page open rate test are used to evaluate the pass. The bandwidth is 120 Mbps, and the upload bandwidth is one of 10 Mbps wideband lines; the fourth picture (A) is the FTP download rate test, and the result of the broadband line is evaluated for a long time; the fourth picture (B) is uploaded by FTP. Rate test, long-term evaluation of the results of the broadband line; fifth picture (A) is HTTP The download rate test, long-term evaluation of the results of the broadband line; the fifth picture (B) is the HTTP upload rate test, long-term evaluation of the results of the broadband line; the test is by uploading a file size of 30Mb, or download a A 360Mb file is used to calculate the performance of the broadband line. The sixth picture (A) and the sixth picture (B) respectively evaluate the results of the broadband line for a long time at the speed of opening the well-known websites YAHOO and YOUTUBE.

在本實施例中,上述測試結果係由寬頻路由器200自動上傳至一網際網路上之伺服器203,以供寬頻用戶參考。為便利使用者裝設寬頻路由器200,並且便利於更新寬頻路由器200之設定,一網際網路上之伺服器204可用以設定該寬頻路由器200之操作參數,舉例而言,何時執行該寬頻網路效能測試、週期性執行該寬頻網路效能測試之時間區間、寬頻路由器200之上傳與下載速率、執行測試之封包流量臨界值、下載檔案之檔案伺服器設定、或執行網頁開啟速率測試時的一網站網頁位址(URL)等設定,均可透過伺服器204而予以更新寬頻路由器;在本實施例一具體態樣中,在寬頻路由器200預先配置好的設定內,存有伺服器204的位置,當寬頻路由器200連接上網路之時或開始執行測試之時,會與伺服器204連結,獲取所需的參數。In this embodiment, the test result is automatically uploaded by the broadband router 200 to the server 203 on an internet network for reference by the broadband user. To facilitate the user to install the broadband router 200 and facilitate the updating of the settings of the broadband router 200, a server 204 on an internet network can be used to set the operating parameters of the broadband router 200, for example, when to perform the broadband network performance. Test, periodically execute the time interval of the broadband network performance test, the upload and download rate of the broadband router 200, the threshold value of the packet flow for executing the test, the file server setting for downloading the file, or a website for performing the web page open rate test The address of the web page (URL) can be updated by the server 204. In the specific embodiment of the embodiment, the location of the server 204 is stored in the pre-configured settings of the broadband router 200. When the broadband router 200 is connected to the network or when the test is started, it is connected with the server 204 to obtain the required parameters.

本實施例中之寬頻路由器200,除具備連線功能之網路模組外,至少包含一處理器及一儲存裝置,該儲存裝置可能為硬碟、快閃記憶體或其他類似裝置。本實施例所揭示測試寬頻網路效能之方法,係透過一程式碼實現,該程式碼儲存於該儲存裝置並由該處理器執行,上述該寬頻路由器200之操作參數,亦儲存於該儲存裝置,而更新的操作 參數,可透過伺服器204寫入寬頻路由器200。在本實施例另一具體態樣中,寬頻路由器200係透過一嵌入式開發平台(embedded develop platform)Openwrt所開發。The broadband router 200 in this embodiment includes at least one processor and a storage device in addition to the network module having the connection function. The storage device may be a hard disk, a flash memory or the like. The method for testing the performance of the broadband network disclosed in this embodiment is implemented by a code stored in the storage device and executed by the processor, and the operating parameters of the broadband router 200 are also stored in the storage device. And updated operations The parameters can be written to the broadband router 200 via the server 204. In another embodiment of the present embodiment, the broadband router 200 is developed by an embedded development platform Openwrt.

本發明第二實施例之系統架構圖如第七圖所示,包含寬頻路由器700、寬頻數據機701、網際網路702、網際網路上儲存測試結果之伺服器703、網際網路上設定路由器700操作參數之伺服器704、以及使用寬頻資源之主機710、720及730;各裝置之連接關係與第一實施例相同,除主機730係直接以無線方式與寬頻數據機701連接,並未透過寬頻路由器700;在本實施例中,寬頻數據機701包含一無線模組,使寬頻數據機701兼具有無線網路分享器之功能,因此主機730可直接與寬頻數據機701連接,而得以分享該寬頻資源。The system architecture diagram of the second embodiment of the present invention, as shown in the seventh figure, includes a broadband router 700, a broadband data machine 701, an internetwork 702, a server 703 for storing test results on the Internet, and an operation router 700 on the Internet. The server 704 of parameters and the hosts 710, 720 and 730 using broadband resources; the connection relationship of each device is the same as that of the first embodiment, except that the host 730 is directly connected to the broadband data machine 701 in a wireless manner, and does not pass through the broadband router. In this embodiment, the broadband data machine 701 includes a wireless module, so that the broadband data machine 701 has the function of a wireless network sharer, so that the host 730 can directly connect to the broadband data machine 701 to share the Broadband resources.

在本實施例中,寬頻路由器700具有第一實施例中寬頻路由器200之所有功能,但由於主機730係直接以無線方式與寬頻數據機701連接,主機730所佔用之寬頻資源,並沒有反應在寬頻路由器700廣域網路埠之封包流量;為能準確監測寬頻數據機701之封包流量,寬頻路由器700尚需監測透過寬頻數據機701無線模組傳送及接收之封包流量,在本實施例一態樣中,執行此無線監測功能之硬體,為位於該寬頻路由器700內之一獨立無線監測模組,包含天線、接受器;而在本實施例另一態樣中,執行此無線監測功能之硬體,並非該寬頻路由器700內之一獨立無線監測模組,該無線監測功能係與該寬頻路由器700之其他功能,共用相同之硬體;在一具體態樣中,該寬頻路由器700 包含一天線系統,用以與主機720建立實體連線,並同時監測主機730與無線寬頻數據機701間之封包流量。此外,關於上述無線監測功能,尚有一技術難題需克服,此技術問題在於實際的環境中,可能同時有多個無線信號,該寬頻路由器700需要決定建立無線連結之對象,才能開始監測無線封包流量;在本實施例中,解決此一問題的技術手段為透過伺服器704,將該無線寬頻數據機701上無線模組之服務設定識別碼(SSID)寫入該寬頻路由器700,使寬頻路由器700能建立正確之無線連結,達成監測無線封包流量之功能,根據此無線封包流量與流出及流入寬頻路由器700廣域網路埠封包流量之總和,寬頻路由器700可根據如第一圖所示之流程,決定是否執行並完成寬頻網路效能測試,以確保該測試之結果正確性,並且不影響寬頻使用者710、720及730。In this embodiment, the broadband router 700 has all the functions of the broadband router 200 in the first embodiment, but since the host 730 is directly connected to the broadband data machine 701 in a wireless manner, the broadband resource occupied by the host 730 does not respond. Broadband router 700 wide area network packet traffic; in order to accurately monitor the packet traffic of the broadband data machine 701, the broadband router 700 still needs to monitor the packet traffic transmitted and received through the broadband data system 701 wireless module, in this embodiment The hardware for performing the wireless monitoring function is an independent wireless monitoring module located in the broadband router 700, including an antenna and a receiver. In another aspect of the embodiment, the wireless monitoring function is performed. The wireless monitoring function is not the same as the other wireless monitoring module in the broadband router 700. The wireless monitoring function shares the same hardware as the other functions of the broadband router 700. In a specific aspect, the broadband router 700 An antenna system is included to establish a physical connection with the host 720 and simultaneously monitor packet traffic between the host 730 and the wireless broadband modem 701. In addition, regarding the above wireless monitoring function, there is still a technical problem to be overcome. The technical problem is that in the actual environment, there may be multiple wireless signals at the same time, and the broadband router 700 needs to determine the object of establishing a wireless connection before starting to monitor the wireless packet traffic. In this embodiment, the technical means for solving the problem is to write the service setting identification code (SSID) of the wireless module on the wireless broadband data machine 701 to the broadband router 700 through the server 704, so that the broadband router 700 is provided. The ability to establish a correct wireless connection and achieve the function of monitoring the wireless packet traffic, according to the sum of the wireless packet traffic and the outgoing and incoming broadband router 700 wide area network packet traffic, the broadband router 700 can be determined according to the process as shown in the first figure. Whether the broadband network performance test is performed and completed to ensure the correctness of the test and does not affect the broadband users 710, 720 and 730.

101、102、103、104、105‧‧‧步驟101, 102, 103, 104, 105 ‧ ‧ steps

200‧‧‧寬頻路由器200‧‧‧Broadband Router

201‧‧‧寬頻數據機201‧‧‧Broadband data machine

202‧‧‧網際網路202‧‧‧Internet

203、204‧‧‧伺服器203, 204‧‧‧ server

210、220‧‧‧主機210, 220‧‧‧ host

700‧‧‧寬頻路由器700‧‧‧Broadband Router

701‧‧‧寬頻數據機701‧‧‧Broadband data machine

702‧‧‧網際網路702‧‧‧Internet

703、704‧‧‧伺服器703, 704‧‧‧ server

710、720、730‧‧‧主機710, 720, 730‧‧‧ host

第一圖係本發明第一實施例測試寬頻網路效能之方法流程圖。The first figure is a flow chart of a method for testing the performance of a broadband network according to the first embodiment of the present invention.

第二圖係例示本發明第一實施例之系統架構圖,寬頻用戶透過本發明具有寬頻網路效能測試功能之寬頻路由器連接至寬頻數據機。The second figure illustrates the system architecture diagram of the first embodiment of the present invention. The broadband user is connected to the broadband data machine through the broadband router having the broadband network performance test function of the present invention.

第三圖係本發明第一實施例,以TCP封包流量評估寬頻網路效能之結果。The third figure is the result of evaluating the performance of the broadband network by the TCP packet traffic according to the first embodiment of the present invention.

第四圖(A)係以一FTP下載速率測試,長期評估一寬頻線路之結果。The fourth graph (A) is tested at an FTP download rate to evaluate the results of a broadband line over a long period of time.

第四圖(B)係以一FTP上傳速率測試,長期評估一寬頻線路之結果。The fourth picture (B) is tested at an FTP upload rate to evaluate the results of a broadband line over a long period of time.

第五圖(A)係以一HTTP下載速率測試,長期評估一寬頻線路之結果。The fifth graph (A) is tested at an HTTP download rate to evaluate the results of a wideband line over a long period of time.

第五圖(B)係以一HTTP上傳速率測試,長期評估一寬頻線路之結果。The fifth graph (B) is tested at an HTTP upload rate to evaluate the results of a broadband line over a long period of time.

第六圖(A)係以開啟知名網站YAHOO首頁之速率測試,長期評估一寬頻線路之結果。The sixth picture (A) is a long-term evaluation of the results of a broadband line by testing the rate of the well-known website YAHOO home page.

第六圖(B)係以開啟知名網站YOUTUBE首頁之速率測試,長期評估一寬頻線路之結果。The sixth picture (B) is a long-term evaluation of the results of a broadband line by testing the rate of the popular website YOUTUBE home page.

第七圖係例示本發明第二實施例之系統架構圖,寬頻用戶透過本發明具有寬頻網路效能測試功能之寬頻路由器連接至具有頻寬分享器功能之寬頻數據機。The seventh figure illustrates a system architecture diagram of a second embodiment of the present invention. The broadband user is connected to the broadband data machine having the bandwidth sharing function by the wideband router having the broadband network performance test function of the present invention.

101‧‧‧步驟101‧‧‧Steps

102‧‧‧步驟102‧‧‧Steps

103‧‧‧步驟103‧‧‧Steps

104‧‧‧步驟104‧‧‧Steps

105‧‧‧步驟105‧‧‧Steps

Claims (12)

一種測試寬頻網路效能之方法,包含:定時監測一寬頻數據機之封包流量,其中該寬頻數據機係透過一寬頻路由器(broadband router)之一廣域網路埠(WAN port)連接至該寬頻路由器,該寬頻數據機之封包流量係透過流入或流出該廣域網路埠之封包流量計算;及當該寬頻數據機之封包流量低於一臨界值,執行一寬頻網路效能測試,其中該臨界值可視測試寬頻網路效能之方法動態調節。 A method for testing the performance of a broadband network, comprising: periodically monitoring packet traffic of a broadband data machine, wherein the broadband data system is connected to the broadband router through a wide area network (WAN port) of a broadband router. The packet traffic of the broadband data machine is calculated by the packet traffic flowing into or out of the wide area network; and when the packet traffic of the broadband data machine is below a threshold, performing a broadband network performance test, wherein the threshold value visual test The method of broadband network performance is dynamically adjusted. 如申請專利範圍第1項所述測試寬頻網路效能之方法,其中該寬頻數據機包含一無線模組,該寬頻數據機之封包流量尚包含透過該無線模組所傳輸或接收之封包流量。 The method for testing the performance of a broadband network as described in claim 1, wherein the broadband data machine comprises a wireless module, and the packet traffic of the broadband data machine further includes packet traffic transmitted or received by the wireless module. 如申請專利範圍第1項或第2項所述測試寬頻網路效能之方法,其中該寬頻網路效能測試可為檔案傳輸協定(FTP)上傳速率測試、FTP下載速率測試、超文件傳輸協定(HTTP)上傳速率測試、HTTP下載速率測試、傳輸控制協定(TCP)封包流量測試、網頁開啟速率測試以及網路延遲測試(Packet Latency)。 The method for testing broadband network performance as described in claim 1 or 2, wherein the broadband network performance test can be a file transfer protocol (FTP) upload rate test, an FTP download rate test, a hyper-file transfer protocol ( HTTP) upload rate test, HTTP download rate test, Transmission Control Protocol (TCP) packet traffic test, web page open rate test, and Packet Latency. 如申請專利範圍第1項或第2項所述測試寬頻網路效能之方法,尚包含:透過網際網路上之一第一伺服器,設定該寬頻路由器之至少一操作參數,該至少一操作參數可選自下列群組:定時執行該寬頻網路效能測試之時間排程、一受監測無線 網路裝置之服務設定識別碼(SSID,Service Set Identification)、該寬頻路由器之上傳與下載速率、該寬頻網路效能測試時間區間之設定、該封包流量臨界值、一檔案伺服器設定、及一網站網頁位址(URL)設定。 The method for testing the performance of the broadband network as described in claim 1 or 2, further comprising: setting at least one operating parameter of the broadband router through a first server on the Internet, the at least one operating parameter Can be selected from the following groups: timed execution of the broadband network performance test time schedule, a monitored wireless The service set identification code (SSID) of the network device, the upload and download rate of the broadband router, the setting of the bandwidth network performance test time interval, the packet traffic threshold, a file server setting, and a Website page address (URL) settings. 如申請專利範圍第1項或第2項所述測試寬頻網路效能之方法,尚包含:上傳該寬頻網路效能測試結果至網際網路(Internet)上之一第二伺服器。 The method for testing the performance of the broadband network as described in claim 1 or 2 of the patent application includes: uploading the broadband network performance test result to a second server on the Internet. 如申請專利範圍第1項或第2項所述測試寬頻網路效能之方法,其中該寬頻路由器可切換為一無線頻寬分享器(access point)之操作模式。 The method for testing broadband network performance as described in claim 1 or 2, wherein the broadband router can be switched to an operation mode of a wireless bandwidth access point. 一種具有寬頻網路效能測試功能之寬頻路由器,其包含:一處理器;及一儲存裝置;其中該儲存裝置儲存一寬頻網路效能測試程式,該處理器執行該寬頻網路效能測試程式,該寬頻網路效能測試程式包含下列程序:定時監測一寬頻數據機之封包流量,其中該寬頻數據機係透過該寬頻路由器之一廣域網路埠連接至該寬頻路由器,該寬頻數據機之封包流量係透過流入或流出該廣域網路埠之封包流量計算;及當該寬頻數據機之封包流量低於一臨界值,執行一寬頻網路效能測試,其中該臨界值可視測試寬頻網路效能之方法動態調節。 A broadband router having a broadband network performance test function, comprising: a processor; and a storage device; wherein the storage device stores a broadband network performance test program, the processor executes the broadband network performance test program, The broadband network performance test program includes the following program: periodically monitoring the packet traffic of a broadband data machine, wherein the broadband data system is connected to the broadband router through a wide area network of the broadband router, and the packet traffic of the broadband data system is transmitted through The packet flow calculation into or out of the wide area network; and when the packet traffic of the broadband data machine is below a threshold, performing a broadband network performance test, wherein the threshold can be dynamically adjusted by the method of testing the performance of the broadband network. 如申請專利範圍第7項所述之寬頻路由器,其中該寬頻數據機包含一無線模組,該寬頻數據機之封包流量尚包含透過該無線模組所傳輸或接收之封包流量。 The broadband router of claim 7, wherein the broadband data machine comprises a wireless module, and the packet traffic of the broadband data machine further includes packet traffic transmitted or received by the wireless module. 如申請專利範圍第7項或第8項所述之寬頻路由器,其中該寬頻網路效能測試可為FTP上傳速率測試、FTP下載速率測試、HTTP上傳速率測試、HTTP下載速率測試、TCP封包流量測試、網頁開啟速率測試以及網路延遲測試(Packet Latency)。 For example, the broadband router described in claim 7 or 8, wherein the broadband network performance test can be an FTP upload rate test, an FTP download rate test, an HTTP upload rate test, an HTTP download rate test, and a TCP packet flow test. , web page open rate test and network latency test (Packet Latency). 如申請專利範圍第7項或第8項所述之寬頻路由器,其中透過網際網路上之一第一伺服器,可設定該寬頻路由器之至少一操作參數,該至少一操作參數選自下列群組:定時執行該寬頻網路效能測試之時間排程、一受監測無線網路裝置之服務設定識別碼(SSID,Service Set Identification)、該寬頻路由器之上傳與下載速率、該寬頻網路效能測試時間區間之設定、該封包流量臨界值、一檔案伺服器設定、及一網站網頁位址(URL)設定。 The broadband router of claim 7 or 8, wherein at least one operating parameter of the broadband router is set by a first server on the Internet, the at least one operating parameter being selected from the following group Timely execution of the time schedule of the broadband network performance test, Service Set Identification (SSID) of a monitored wireless network device, upload and download rate of the broadband router, and test time of the broadband network performance The setting of the interval, the threshold value of the packet flow, a file server setting, and a website web address (URL) setting. 如申請專利範圍第7項或第8項所述之寬頻路由器,其中該寬頻網路效能測試程式尚包含下列程序:上傳該寬頻網路效能測試結果至網際網路上之一第二伺服器。 For example, the broadband router described in claim 7 or 8, wherein the broadband network performance test program further includes the following procedure: uploading the broadband network performance test result to a second server on the Internet. 如申請專利範圍第7項或第8項所述之寬頻路由器,其中該寬頻路由器可切換為一無線頻寬分享器(access point)之操作模式。A broadband router as claimed in claim 7 or 8, wherein the broadband router is switchable to an operation mode of a wireless bandwidth access point.
TW102110209A 2013-03-22 2013-03-22 Method and device for testing broadband network performance TWI472239B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
TW102110209A TWI472239B (en) 2013-03-22 2013-03-22 Method and device for testing broadband network performance
CN201310175308.5A CN104065527A (en) 2013-03-22 2013-05-13 Method and device for testing broadband network performance

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW102110209A TWI472239B (en) 2013-03-22 2013-03-22 Method and device for testing broadband network performance

Publications (2)

Publication Number Publication Date
TW201438486A TW201438486A (en) 2014-10-01
TWI472239B true TWI472239B (en) 2015-02-01

Family

ID=51553069

Family Applications (1)

Application Number Title Priority Date Filing Date
TW102110209A TWI472239B (en) 2013-03-22 2013-03-22 Method and device for testing broadband network performance

Country Status (2)

Country Link
CN (1) CN104065527A (en)
TW (1) TWI472239B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI748161B (en) * 2019-02-11 2021-12-01 桓達科技股份有限公司 Method for wireless data transmission of area flow

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI580288B (en) * 2014-11-26 2017-04-21 Chunghwa Telecom Co Ltd Action online quality analysis system and method
TWI596960B (en) * 2015-01-29 2017-08-21 財團法人電信技術中心 Testing system and testing method for mobile network performance

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020165956A1 (en) * 2001-05-07 2002-11-07 Peter Phaal Traffic driven scheduling of active tests
US20080181123A1 (en) * 2007-01-31 2008-07-31 Alexander Lisheng Huang Methods and apparatus to manage network testing procedures

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100471139C (en) * 2006-05-25 2009-03-18 华为技术有限公司 System and method for network test

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020165956A1 (en) * 2001-05-07 2002-11-07 Peter Phaal Traffic driven scheduling of active tests
US20080181123A1 (en) * 2007-01-31 2008-07-31 Alexander Lisheng Huang Methods and apparatus to manage network testing procedures

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI748161B (en) * 2019-02-11 2021-12-01 桓達科技股份有限公司 Method for wireless data transmission of area flow

Also Published As

Publication number Publication date
TW201438486A (en) 2014-10-01
CN104065527A (en) 2014-09-24

Similar Documents

Publication Publication Date Title
Kakhki et al. Taking a long look at QUIC: an approach for rigorous evaluation of rapidly evolving transport protocols
US11831536B2 (en) Method and system for using a downloadable agent for a communication system, device, or link
Sundaresan et al. {BISmark}: A testbed for deploying measurements and applications in broadband access networks
Elkhatib et al. Can SPDY really make the web faster?
US10623280B2 (en) Diagnostic testing
US10136345B2 (en) Testing a mobile application
US20150363522A1 (en) Network switch simulation
KR101770050B1 (en) Method and apparatus for cloud services for enhancing broadband experience
US20150003249A1 (en) Cognitive Data Delivery Optimizing System
CN105227406A (en) A kind of method of testing of router combination property
CN115622931A (en) Adaptive software defined wide area network application specific probing
TWI472239B (en) Method and device for testing broadband network performance
Bischof et al. Up, down and around the stack: ISP characterization from network intensive applications
EP3593493A1 (en) Prediction of a performance indicator
Umeh et al. Throughput and delay analysis in a real time network
US10020999B2 (en) System and method for validating broadband service recommendation
Elkhatib et al. The effect of network and infrastructural variables on spdy's performance
JP6592387B2 (en) Network quality measuring system, measuring device, control device, network quality measuring method, and program
WO2017052560A1 (en) Method and apparatus for throughput testing on a communication channel
CN104503785B (en) Equipment optimization method and device based on network state
US20120284361A1 (en) Determination of the transmission capacity in data networks
JP2015026976A (en) Information processing system and information processing program
CN104349337B (en) Acquisition methods, device and the computational methods and device of cell networking speed
Tan et al. Abshoot: A reliable and efficient scheme for end-to-end available bandwidth measurement
Zhang et al. Performance evaluation of web-based cloud services in a browser-scripting approach

Legal Events

Date Code Title Description
MM4A Annulment or lapse of patent due to non-payment of fees